From david at kwinter.ca Sat May 1 00:23:35 2004 From: david at kwinter.ca (David Kwinter) Date: Fri, 30 Apr 2004 22:23:35 -0600 Subject: Programming contest [Rev Physics masters] In-Reply-To: <409315BB.2070401@hyperactivesw.com> Message-ID: <503A0BD7-9B27-11D8-8699-000393881C54@kwinter.ca> So who's our physics master? I have experience backtesting & optimizing systems once I've programmed them - but defining the environment following their specs looks extremely challenging. I'm quite sure that how you manage a brute force backtest of the race track problem can produce best results when designed just right. That said I would've been lost on the first 90% of the problem. So who here could've nailed down the 2003 problem? http://www.dtek.chalmers.se/groups/icfpcontest/Rotmos/problem.pdf On Friday, April 30, 2004, at 09:12 PM, J. Landman Gay wrote: > On 4/30/04 9:07 PM, David Kwinter wrote: > >> So long as the tasks don't involve compatibility issues, or are >> judged solely on speed, Revolution could do well. I'd help a team for >> sure, sounds like fun. > > There are descriptions of previous contests in the History section of > the web site if you want an idea of what to expect. All entries are > submitted as text files. Here is last year's contest: > > http://www.dtek.chalmers.se/groups/icfpcontest/task.html > > This required you to drive a simulated car around some simulated test > tracks. The submission itself is a text dump of the commands given to > the car. They then ran the trace through their own simulator, which > reads the contents of the submitted entry. They do want to see the > code, but they don't care what language it is in and the quality of > the code does not affect who wins; the success of the code does. > > This year's contest will be similar in that the entry will consist of > a text file that solves whatever task they post. In last year's > contest speed did count, but only because the goal was to make the car > move as fast as possible. The speed would be due to the quality of the > commands rather than the state of any particular computer. > > There's more stuff in the History section. MIT started the contest > some years ago. It looks like they've done a nice job eliminating > things that are computer and language dependent, and focusing on the > programming rather than the execution. > > >> On Friday, April 30, 2004, at 07:44 PM, J. Landman Gay wrote: >>> This sounds like something one of us (or a group of us) here might >>> want to do: >>> >>> http://www.cis.upenn.edu/proj/plclub/contest/ >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From j.derrien at ool.fr Sat May 1 01:50:56 2004 From: j.derrien at ool.fr (j.derrien) Date: Sat, 01 May 2004 08:50:56 +0300 Subject: How do I extract the sounds from a HyperCard stack and put it intoa Revolution stack? Message-ID: <40933AC0.F1EF75C2@ool.fr> Hi Deena, There are applications such as "Ultra Recorder" that enable you to extract sounds from HyperCard Stacks and convert them into the format you like (.au, for instance) You can then import them into your Rev stack through the 'Import as control" submenu. Regards, Jean-Luc Derrien j.derrien at ool.fr http://members.aol.com/EJC3/ From dsc at swcp.com Sat May 1 02:09:38 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 1 May 2004 00:09:38 -0600 Subject: Programming contest [Rev Physics masters] In-Reply-To: <503A0BD7-9B27-11D8-8699-000393881C54@kwinter.ca> Message-ID: <20A443EE-9B36-11D8-BD12-000A9567A3E6@swcp.com> On Friday, April 30, 2004, at 10:23 PM, David Kwinter wrote: > So who's our physics master? I have experience backtesting & > optimizing systems once I've programmed them - but defining the > environment following their specs looks extremely challenging. I'm not sure how much this is a physics problem. The simulator is spec'd out exactly and that takes care in doing the low level coding. Some physics might be handy in getting close to a solution. However, this looks like a search problem to me. Well, at first glance. It is a nice problem in that it can be broken up into pieces and the pieces might be done in alternate ways. Dar Scott From nnoydb at excite.com Sat May 1 02:15:48 2004 From: nnoydb at excite.com (Kevin) Date: Sat, 1 May 2004 02:15:48 -0400 (EDT) Subject: libURLDownloadToFile Error information? Message-ID: <20040501061548.ADC323DB1@xprdmailfe8.nwk.excite.com> I am using libURLDownloadToFile to download several file(s) from a FTP server. However, I cannot seem to find a finction to retreive any error information. I have tried libURLErrorData but I only set "false" which isn't much help. Any ideas? K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From psahores at easynet.fr Sat May 1 04:27:59 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Sat, 1 May 2004 10:27:59 +0200 Subject: RevDocs 2.12 Available in HTML In-Reply-To: <002401c42ee7$8409bbd0$0201a8c0@bob> References: <002401c42ee7$8409bbd0$0201a8c0@bob> Message-ID: <7424B7E3-9B49-11D8-8F1E-000A95C61E96@easynet.fr> Thanks Robert :-) Best, Pierre Le 30 avr. 04, ? 21:13, Robert J Warren a ?crit : > Dear Runrev Colleagues, > > If you would like to examine the said revdocs.htm, it is available for > download at http://www.howsoft.com/runrev/ From psahores at easynet.fr Sat May 1 05:36:43 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Sat, 1 May 2004 11:36:43 +0200 Subject: Post command In-Reply-To: <20040501004152.6960.qmail@web40911.mail.yahoo.com> References: <20040501004152.6960.qmail@web40911.mail.yahoo.com> Message-ID: <0E80EE48-9B53-11D8-8F1E-000A95C61E96@easynet.fr> Hi Alain, Le 1 mai 04, ? 02:41, Alain Farmer a ?crit : > Hello, > > I need help, folks. > > I have been creating a MetaCard stack that submits to > a server-side PHP program. The payload of the post cmd > is of type "text/xml" and, specifically, it is the XML > that an XML-RPC program expects. > > The above submit works fine, and the server-side > program returns what it is supposed to, b-u-t ... and > here's the problem ... when the content is lengthy, my > client-side stack does NOT wait long enough for the > whole reply, and breaks-off the HTTP connection too > soon. > > What do I need to do to make my MC client WAIT for the > server-side program to complete the transmission of > its reply? Should I be using the urlStatus function? I use this kind of "POST" method handler without problem all the time to access server-sided Rev or MC apps trough Apache and a PHP sockets listener/port translator. The first below line is important : >> set httpheaders to "Content-type: application/x-www-form-urlencoded" >> & return Try to see if you can pick somthing usable from the example code below... >> on adddatas >> if (fld "citation" of card 1 of stack "ccitalis" is not "*" \ >> and fld "citation" of card 1 of stack "ccitalis" is not "" \ >> and fld "citation" of card 1 of stack "ccitalis" is not "Saisir >> ici la nouvelle citation..." \ >> and fld "citation" of card 1 of stack "ccitalis" is not "Saisir >> ici les extraits de citation (mots-cl?s et/ou expressions litt?rales >> - utiliser" && quote & "+" & quote && "comme item de concat?nation) >> entrant dans la s?lection de recherche...") \ >> and (fld "auteur__" of card 1 of stack "ccitalis" is not "*" \ >> and fld "auteur__" of card 1 of stack "ccitalis" is not "" \ >> and fld "auteur__" is not "Saisir ici le nom de l'auteur..." \ >> and fld "auteur__" of card 1 of stack "ccitalis" is not "Saisir >> ici les noms d'auteurs (utiliser" && quote & "+" & quote && "comme >> item de concat?nation) entrant dans la s?lection de recherche...") \ >> and (fld "concept_" of card 1 of stack "ccitalis" is not "*" \ >> and fld "concept_" of card 1 of stack "ccitalis" is not "" \ >> and fld "concept_" of card 1 of stack "ccitalis" is not "Saisir >> ici le concept de r?f?rence..." \ >> and fld "concept_" of card 1 of stack "ccitalis" is not "Saisir >> ici le concept entrant dans la s?lection de recherche...") then >> put "ci001=FE8&END=" into retour >> set httpheaders to "Content-type: >> application/x-www-form-urlencoded" & return >> post retour to url (fld "csrecents" of cd 2 of stack "ccitalis") >> if it is "" then >> answer "La connexion avec le serveur distant est rompue." & >> return & return & \ >> "V?rifiez votre configuration d'acc?s ? l'internet" >> exit adddatas >> end if >> if lineoffset(word 1 to -1 of fld "slogin" of cd 2 of stack >> "ccitalis" & "?" & word 1 to -1 of fld "smdp" of cd 2 of stack >> "ccitalis" & "?",macoscharset(it)) is not "0" then >> put "|TI1=" & fld "citation" & \ >> "|TI2=" & fld "auteur__" & \ >> "|TI3=" & fld "titre___" & \ >> "|TI4=" & fld "date____" & \ >> "|TI5=" & fld "concept_" & \ >> "|TI6=" & fld "comment_" & \ >> "|IDC=" & encef(word 1 to -1 of fld "slogin" of cd 2 of >> stack "ccitalis") & \ >> "|VAL=" & encef(word 1 to -1 of fld "smdp" of cd 2 of stack >> "ccitalis") into larequete >> put isocharset(larequete) into larequete >> replace "&" with "?" in larequete >> replace "|" with "&" in larequete >> put "ci001=FN1" & urlencode(larequete) & "&END=" into retour >> set httpheaders to "Content-type: >> application/x-www-form-urlencoded" & return >> post retour to url (fld "csrecents" of cd 2 of stack "ccitalis") >> if it is "" then >> answer "La connexion avec le serveur distant est rompue." & >> return & return & \ >> "V?rifiez votre configuration d'acc?s ? l'internet" & >> return & "avant de poursuivre." & return & return & \ >> "(succ?s des tests de 0% en 0 secondes)" >> exit adddatas >> else answer it >> else answer "Vous devez vous authentifier comme utilisateur" & >> return & "habilit? ? la saisie avant de pouvoir proposer de nouvelles >> citations !" >> else answer "Saisissez, au minimum, une citation un auteur et un >> concept, SVP !" >> end adddatas If the server side of your app is a MC/Rev Stack or Script, it's important to add the below line of code to the "on preopenstack" or "on startup" handlers : >> set the socketTimeoutInterval to "10" Such kind of requests runs without troubble. In about testing the limits of the method (MC/Rev client app, Apache + PHP + MC app server + PostgreSQL back-end), it's able to let the client receive up to 16 Mo of datas peer query trough a 10 Mbits LAN... Hope this will help, Kind Regards, Pierre > .... > > Btw, this XMLRPC stack will be shared with the > community and will, therefore, help a *LOT* of people; > notably the Rev and Pan wikis, not to mention a school > commission, a network of consultants, the lab I work > for, etc. > > So please help me if you can, > > Alain F > > > > > __________________________________ > Do you Yahoo!? > Win a $20,000 Career Makeover at Yahoo! HotJobs > http://hotjobs.sweepstakes.yahoo.com/careermakeover > _______________________________________________ > metacard mailing list > metacard at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/metacard > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From bvg at mac.com Sat May 1 06:21:32 2004 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 1 May 2004 12:21:32 +0200 Subject: libURLDownloadToFile Error information? In-Reply-To: <20040501061548.ADC323DB1@xprdmailfe8.nwk.excite.com> Message-ID: <518BE831-9B59-11D8-A177-003065AD94A4@mac.com> try the "libUrlsetlogfield" command. If you can't figure out what the problem is, then maybe you are timing out. In that case you should set the "socketTimeoutInterval" to a higher value (maybe 10000?). On Samstag, Mai 1, 2004, at 08:15 Europe/Zurich, Kevin wrote: > > > I am using libURLDownloadToFile to download several file(s) from a FTP > server. However, I cannot seem to find a finction to retreive any > error information. I have tried libURLErrorData but I only set > "false" which isn't much help. Any ideas? > > > K > > > -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- > Disclaimer: > > Any resemblance between the above views and those of my > employer, my terminal, or the view out my window are purely > coincidental. > Any resemblance between the above and my own views is > non-deterministic. > > The question of the existence of views in the absence of anyone to > hold > them > is left as an exercise for the reader. The question of the existence of > the reader > is left as an exercise for the second god coefficient. > (A discussion of non-orthogonal, non-integral polytheism is beyond the > scope of this article.) > > > > _______________________________________________ > Join Excite! - http://www.excite.com > The most personalized portal on the Web! > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jhurley at infostations.com Sat May 1 07:51:24 2004 From: jhurley at infostations.com (Jim Hurley) Date: Sat, 1 May 2004 04:51:24 -0700 Subject: Bezier curves In-Reply-To: <20040501093459.BADD5930075@mail.runrev.com> References: <20040501093459.BADD5930075@mail.runrev.com> Message-ID: Greetings all, An earlier thread on Bezier Curves peaked my interest; in particular, how do you program the multi-point bezier curve? Alejandro Tejada showed us how to draw the basic bezier unit, a bezier line with two end points each with its own tangent control. It turns out that the multi-point bezier line can be made up of a combination of these basic units. Since only nearest neighbors interact on a bezier line, all that is needed is to allow nearest neighbors of these basic units to talk to one another--gossip over the fence. Draw the basic shape in RR using the polygon tool. The plug-in then uses that graphic as a template for the bezier curve, replacing the polygon points with bezier handles and the intervening straight line with a bezier line. It allows for both corner points and continuous tangent points. And, because it interests me, I have included a little bit about the underlying mathematics in a substack. If you have need of bezier lines you will find this plug-in at: http://home.infostations.net/jhurley/ and look for Bezier Line under Utilities. Jim From jspencer78 at mac.com Sat May 1 11:22:03 2004 From: jspencer78 at mac.com (James Spencer) Date: Sat, 1 May 2004 10:22:03 -0500 Subject: Programming contest [Rev Physics masters] In-Reply-To: <20A443EE-9B36-11D8-BD12-000A9567A3E6@swcp.com> References: <20A443EE-9B36-11D8-BD12-000A9567A3E6@swcp.com> Message-ID: <4CA23FD8-9B83-11D8-80C8-003065C49F86@mac.com> On May 1, 2004, at 1:09 AM, Dar Scott wrote: > > On Friday, April 30, 2004, at 10:23 PM, David Kwinter wrote: > >> So who's our physics master? I have experience backtesting & >> optimizing systems once I've programmed them - but defining the >> environment following their specs looks extremely challenging. > > I'm not sure how much this is a physics problem. The simulator is > spec'd out exactly and that takes care in doing the low level coding. > Some physics might be handy in getting close to a solution. However, > this looks like a search problem to me. Well, at first glance. > > It is a nice problem in that it can be broken up into pieces and the > pieces might be done in alternate ways. > You are right: last year's problem was a pure computer programming problem. There was no physics involved at all as the contest organizers defined the physics of the problem completely and the math that was to be used to solve the physics. I think you can expect the same this year. The few past problems I've looked at did not require any knowledge of anything other than how to program. The consistent theme seems to be that algorithm is paramount with processing time being secondary but not insignificant. (When you have only 72 hours to write your program and submit your results, a brute force solution isn't likely to be successful as you won't find an optimum solution in that time, certainly without a supercomputer.) Spence James P. Spencer Rochester, MN jspencer78 at charter.net "Badges?? We don't need no stinkin badges!" From nhytro-python at web.de Sat May 1 13:44:31 2004 From: nhytro-python at web.de (nhytro-python at web.de) Date: Sat, 01 May 2004 19:44:31 +0200 Subject: XMPP library? Message-ID: <1230370988@web.de> Hi all, Does anyone know of a a XMPP libraray for RUNREV?(http://www.ietf.org/html.charters/xmpp-charter.html) Thanks _______________________________________________________________________ ... and the winner is... WEB.DE FreeMail! - Deutschlands beste E-Mail ist zum 39. Mal Testsieger (PC Praxis 03/04) http://f.web.de/?mc=021191 From rcozens at pon.net Sat May 1 14:28:32 2004 From: rcozens at pon.net (Rob Cozens) Date: Sat, 1 May 2004 11:28:32 -0700 Subject: Any COMPLETE database solutions for Rev? (& thanks to all of u) Message-ID: >Serendipity Library includes a sample client front end JK: I'd have sent this follow up privately; but don't have your eAddress any longer. The Library package actually includes five sample stacks, and the reference stack is also an exemplar database front end. For the record, the Library package currently shipping is: 1. Serendipity_Library.rev, the library stack itself 2. Serendipity_Reference.rev, front end to the library documentation stack 3. SDB_Server.rev, a template to be used to create an SDB database server standalone for any platform 4. SDB_Tools.rev, a developer's plugIn stack supporting database & front end stack creation, data dictionary maintenance, and file utilities. 5. SDB_Front_End_Formats.rev, a stack of front end templates used by SDB Tools' New Front End Stack and New Front End Card menuItems 6. STAMPsdbClient.rev, a template to be used to create a test SDB database client standalone for any platform 7. SDB_Utilities.rev, a template to be used to create an SDB Utilities standalone for any platform 8. English_Reference_Text.sdb, an exemplar SDB database of library documentation accessed by Serendipity_Reference.rev 9. SDB_License_Terms.txt, to be distributed with applications that use Serendipity_Library.rev but don't include Serendipity_Reference.rev. 10. A folder, SDB_Message_Files, containing Library message translation files in Dutch, English, French, German, and Spanish. 11. ClickCalendar.rev, a stack containing a group of controls & handlers, plus scripting examples & documantation for capturing & displaying dates using an annual and/or single-month calendar. 12. ClickClock.rev, a stack containing an animated gif and associated handlers, examples, and documentation for capturing & displaying time using an analog clock. 13. libIPC.rev, the Revolution IPC Group's Transcript library of interprocess communications handlers. 14. SDB_Data.sdb, the default Client/Server test database. 15. Network_Setup.txt, instructions for connecting two or more computers for IPC. The present version includes instructions for Apple computers only, and only for TCP/IP. 16. Builds, a folder containing Distribution Builder configuration stacks for SDB Utilities, SDB Server, and SDB Test Client. 17. HC_Address_Front_End.rev, a stack demonstrating SDB's "HyperCard" user interface 18. SDB_Address_Front_End.rev, a stack demonstrating SDB's "SDB" user interface 19. Sample_Report.rev, a report format stack used by Sample_Reporter.rev. 20. Sample_Reporter.rev, a stack demonstrating the use of Serendipity Library's printReportFromStack. libSTAMP.rev, a modified prerelease version of the Revolution IPC Group's original library, is also distributed with this update. When the next version of libIPC is released, this file will no longer be necessary. -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From david at opn-technologies.com Sat May 1 15:10:40 2004 From: david at opn-technologies.com (David Bovill) Date: Sat, 01 May 2004 20:10:40 +0100 Subject: XMPP library? In-Reply-To: <1230370988@web.de> References: <1230370988@web.de> Message-ID: <4093F630.4050006@opn-technologies.com> Sort of :) Have a working Jabber client, which should not differ too much from the newer specs? Will be upgrading this, but been a bit disstracted with doing the same for IRC folk. Aim to release first code May 29 - will be open. In the ean time happy to answer any questions, david From david at kwinter.ca Sat May 1 15:39:01 2004 From: david at kwinter.ca (David Kwinter) Date: Sat, 1 May 2004 13:39:01 -0600 Subject: Programming contest [Rev Physics masters] In-Reply-To: <4CA23FD8-9B83-11D8-80C8-003065C49F86@mac.com> Message-ID: <3278DDC4-9BA7-11D8-A042-000393881C54@kwinter.ca> I only skimmed last year's problem, but when I saw the friction and air resistance constant I thought they could really go overboard if they wanted, but you're right it appears not. They define their time step variable adjustments very clearly. So less talk and more action. I'm going to make a simulator for the car. On Saturday, May 1, 2004, at 09:22 AM, James Spencer wrote: > > On May 1, 2004, at 1:09 AM, Dar Scott wrote: > >> >> On Friday, April 30, 2004, at 10:23 PM, David Kwinter wrote: >> >>> So who's our physics master? I have experience backtesting & >>> optimizing systems once I've programmed them - but defining the >>> environment following their specs looks extremely challenging. >> >> I'm not sure how much this is a physics problem. The simulator is >> spec'd out exactly and that takes care in doing the low level coding. >> Some physics might be handy in getting close to a solution. >> However, this looks like a search problem to me. Well, at first >> glance. >> >> It is a nice problem in that it can be broken up into pieces and the >> pieces might be done in alternate ways. >> > > You are right: last year's problem was a pure computer programming > problem. There was no physics involved at all as the contest > organizers defined the physics of the problem completely and the math > that was to be used to solve the physics. I think you can expect the > same this year. The few past problems I've looked at did not require > any knowledge of anything other than how to program. The consistent > theme seems to be that algorithm is paramount with processing time > being secondary but not insignificant. (When you have only 72 hours > to write your program and submit your results, a brute force solution > isn't likely to be successful as you won't find an optimum solution in > that time, certainly without a supercomputer.) > > Spence > > James P. Spencer > Rochester, MN > > jspencer78 at charter.net > > "Badges?? We don't need no stinkin badges!" > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Sat May 1 15:53:46 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 1 May 2004 13:53:46 -0600 Subject: Programming contest [Rev Physics masters] In-Reply-To: <3278DDC4-9BA7-11D8-A042-000393881C54@kwinter.ca> Message-ID: <41C62B22-9BA9-11D8-9A11-000A9567A3E6@swcp.com> On Saturday, May 1, 2004, at 01:39 PM, David Kwinter wrote: > So less talk and more action. I'm going to make a simulator for the > car. But the way I read it, this year's contest will start June 4 and will be a 72 hour blitz. It might be that working on last year's will help, but it might be better to get caught up on your chores. Uh, to put it a better way, for me, should I move in this direction, the best thing to do is getting caught up on chores. (Hmmm. I have encouraged some Transcript enhancements that would round out its FP capabilities. Since this contest is sponsored by functional programming folks, maybe those might help. Maybe not.) Dar Scott From psahores at easynet.fr Sat May 1 17:03:43 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Sat, 1 May 2004 23:03:43 +0200 Subject: EnhancedQT 0.5.4 - i can't have it started In-Reply-To: References: Message-ID: <07986CE9-9BB3-11D8-8F1E-000A95C61E96@easynet.fr> Trevor, In trying to test your great EnhancedQT 0.5.4 QT extension, i got good results in running the "WorkingWithImages.rev" stack but when i try to initialize the external from within a new stack, the "qtInitialize" lacks and i get a script editor's error message window up, saying that the "qtInitialize" handler wasn't found. In comparing my code and your "WorkingWithImages.rev"'s one, i can just see that the "pN" parameter is to "" in my case and to "1" in yours. Is this "pN" parameter the "success" return value of the qtInitialize proc. Else, where and how do i have to set up it (i didn't find any place for this in the "WorkingWithImages.rev" stack). I'm running OSX 10.3.3 + Rev 2.12 + QT 6.5.1 Pro + PWB G4 12" 1Ghz 768 Mo RAM. My stack's code : > on openstack > put QTVersion() into aaa > qtInitialize > startapp > end openstack > > on closeStack > startapp > qtTerminate > end closeStack The pN param : > on mouseUp pN > if (pN = 1) then > ... Thanks for your help, Bests, Pierre Le 6 avr. 04, ? 16:57, Trevor DeVore a ?crit : > Version 0.5.4 of the EnhancedQT external is now available. New > features: > > * OS 9 compatible > * qtQTVRGetHotSpotComment - get the comment associated with a Hot Spot. > * qtGetMovieDimensions - get dimensions of a QT compatible file > without opening it in a player object. > > The CodeWarrior 9 project files have been added to the source code. > > > > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From jperryl at ecs.fullerton.edu Sat May 1 23:03:37 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sat, 1 May 2004 20:03:37 -0700 (PDT) Subject: Help! / Moron Alert In-Reply-To: <40931DD9.4070009@hyperactivesw.com> Message-ID: Thank you, Jacque... I must have been REALLY tired last night... All I know is that I thought I had saved my (thesis) project without the message box (I thought I did try the button idea but who knows?) and left Rev open... this morning, there was my project, together with the message box :-D > Don't worry, you still don't get the prize for dumbest thing ever done. Man, that's hard to believe! Judy From monte at sweattechnologies.com Sat May 1 23:04:51 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 2 May 2004 12:34:51 +0930 Subject: XMPP library? In-Reply-To: <4093F630.4050006@opn-technologies.com> Message-ID: >Sort of :) > >Have a working Jabber client, which should not differ too much from the >newer specs? Will be upgrading this, but been a bit disstracted with >doing the same for IRC folk. Aim to release first code May 29 - will be >open. In the ean time happy to answer any questions, Great to hear that David. Will it be in a reusable library stack form or a combined client interface and scripts? Cheers Monte From capellan2000 at yahoo.com Sun May 2 00:26:26 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 1 May 2004 21:26:26 -0700 (PDT) Subject: Bezier curves In-Reply-To: <20040501160024.0E836930080@mail.runrev.com> Message-ID: <20040502042626.88269.qmail@web40504.mail.yahoo.com> on Sat, 1 May 2004 Jim Hurley wrote: [snip] > If you have need of bezier lines you will find this > plug-in at: > > http://home.infostations.net/jhurley/ > > and look for Bezier Line under Utilities. Excellent!!! Thanks a lot for sharing this work, Jim. It could be enlightening that you explain to the list how did work the code of this grouped object. The size of the uncompressed stack is huge!... Why? Does this works in MetaCard too or contains Rev specific code? Could I link from my website to your page? Thanks in advance! al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover From webmaster at dreamscapesoftware.com Sun May 2 03:29:39 2004 From: webmaster at dreamscapesoftware.com (Webmaster - Dreamscape Software) Date: Sun, 2 May 2004 09:29:39 +0200 Subject: Resumable Downloads Message-ID: <005e01c43017$3e0ce4f0$e7c5d80a@WorkPC> Is it possible to resume broken downloads that are done with the load command? Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress 1.2 http://www.dreamscapesoftware.com From jhurley at infostations.com Sun May 2 16:55:38 2004 From: jhurley at infostations.com (Jim Hurley) Date: Sun, 2 May 2004 13:55:38 -0700 Subject: Bezier curves In-Reply-To: <20040502160024.B1A8E93009E@mail.runrev.com> References: <20040502160024.B1A8E93009E@mail.runrev.com> Message-ID: > >Message: 9 >Date: Sat, 1 May 2004 21:26:26 -0700 (PDT) >From: Alejandro Tejada >Subject: Re: Bezier curves >To: use-revolution at lists.runrev.com >Message-ID: <20040502042626.88269.qmail at web40504.mail.yahoo.com> >Content-Type: text/plain; charset=us-ascii > >on Sat, 1 May 2004 >Jim Hurley wrote: > >[snip] >> If you have need of bezier lines you will find this >> plug-in at: >> >> http://home.infostations.net/jhurley/ >> >> and look for Bezier Line under Utilities. > >Excellent!!! >Thanks a lot for sharing this work, Jim. > >It could be enlightening that you explain >to the list how did work the code of this grouped >object. Al, I didn't protect the stack. But I can't say that the code is self explanatory. I'm terrible at commenting my scripts. It is mostly a matter of sending messages to the adjacent line and tangent controls as well as to the bezier line. The tangent controls set the values of r2 and r3 as custom properties of the bezier graphic line. There are a lot a little details I ran into in getting this to work properly, particularly in forcing the slopes of the two adjacent tangent controls to be equal (when operating in the continuous tangent mode). In the dragging of the entire bezer line, it is necessary to get the loc of all the groups and the displacement between the current mouse loc and the group locs. In this way all the groups move together with the mouse. The code for drawing the bezier line is stored in the line itself and is pretty straight forward; it is similar to yours: on DrawBezierLine --The four control vectors are r1, r2, r3, and r4. They are custom properties of the bezier grc. put the r1 of me into pt1 put the r2 of me into pt2 put the r3 of me into pt3 put the r4 of me into pt4 repeat with i = 0 to 50 -- 0 to 50 is probably sufficient put i/50 into t put 1-t into s repeat with j = 1 to 2 put round(s*s*s*item j of pt1 + 3*s*s*t*item j of pt2 + \ 3*s*t*t*item j of pt3 + t*t*t*item j of pt4) into item j of thePt end repeat put thePt & return after tPoints end repeat --"The owner of me" is the group that the bezier line belongs to. --There are as many bezier line segments as there are line controls, each line in its own group set the points of grc "BezierLine" of the owner of me to tPoints end DrawBezierLine >The size of the uncompressed stack is huge!... Why? Yes, that bothered me as well. But most of the size is in the help substack. As you will see in that substack, you can reduce the size of the potential plug-in by deleting or decoupling the help stack. In this way, the size of the bezier plug-in itself is reduced to 116K. I think you may enjoy the discussion of the math in that stack. > >Does this works in MetaCard too or contains Rev >specific code? Could I link from my website to your >page? I can't say if it would work in MC. Probably. I don't think there is any RR specific code. Yes, by all means link us up. > >Thanks in advance! > >al From david at opn-technologies.com Sun May 2 19:02:22 2004 From: david at opn-technologies.com (David Bovill) Date: Mon, 03 May 2004 00:02:22 +0100 Subject: XMPP library? In-Reply-To: References: Message-ID: <40957DFE.9080902@opn-technologies.com> Monte Goulding wrote: >>Sort of :) >> >>Have a working Jabber client, which should not differ too much from the >>newer specs? Will be upgrading this, but been a bit disstracted with >>doing the same for IRC folk. Aim to release first code May 29 - will be >>open. In the ean time happy to answer any questions, >> >> > >Great to hear that David. > >Will it be in a reusable library stack form or a combined client interface >and scripts? > Seperating code from GUI, so that you can pipe messages in to any field you care to. From moe2 at shaw.ca Mon May 3 00:24:40 2004 From: moe2 at shaw.ca (moe2 at shaw.ca) Date: Mon, 03 May 2004 04:24:40 -0000 Subject: index of Transcript Language Reference Manual In-Reply-To: Message-ID: surely one of you experts on this wonderful site would copy, paste & send the INDEX from the RR CD ... so that an old man does not have to retype it! if this is and infrindgement of the RR copywrite or whatever then i withdraw my request ... however i doubt that RR will mind me reoganizing the index for my own use. i got used to the way HC presented the hyperTalk and i think i will learn Transcript faster please help moe > >hi > >can someone email me a text file of the INDEX from the >Transcript Language Reference Manual > >i have purchase a hardcopy of the manuals to learn RR. >i would like to sort the index into commands, functions, >keywords etc (which i will easily do in >HC) so that i can more easily find what i am looking for >... without having to type the 14 pages :-( >for example i am trying to find out how to send an email within a >standalone, and just looking at commands would be much simpler > > thank you in advance for your help > > moe From kray at sonsothunder.com Mon May 3 01:37:06 2004 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 3 May 2004 00:37:06 -0500 Subject: index of Transcript Language Reference Manual In-Reply-To: Message-ID: <019601c430d0$aefe51d0$6601a8c0@precision340> Moe, No need to do this; since the Rev IDE is built in Revolution, simply run Rev, click on the Documentation button, go to the Transcript Language Dictionary, make sure it shows "All Terms" (should be the default) and then enter this in the message box and hit return: ask file "Save docs as:";if it <> "" then put fld "List" of stack "revDocs" into url ("file:" & it) Then you have the entire list on disk in a file of your choosing. HTH, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > moe2 at shaw.ca > Sent: Thursday, April 01, 2004 11:27 PM > To: use-revolution at lists.runrev.com > Subject: re: index of Transcript Language Reference Manual > > > > surely one of you experts on this wonderful site would copy, > paste & send the INDEX from the RR CD ... so that an old man > does not have to retype it! > > if this is and infrindgement of the RR copywrite or whatever > then i withdraw my request ... however i doubt that RR will > mind me reoganizing the index for my own use. i got used to > the way HC presented the hyperTalk and i think i will learn > Transcript faster > > please help > > moe > > > > > >hi > > > >can someone email me a text file of the INDEX from the Transcript > >Language Reference Manual > > > >i have purchase a hardcopy of the manuals to learn RR. > >i would like to sort the index into commands, functions, > keywords etc > >(which i will easily do in > >HC) so that i can more easily find what i am looking for > >... without having to type the 14 pages :-( > >for example i am trying to find out how to send an email within a > >standalone, and just looking at commands would be much simpler > > > > thank you in advance for your help > > > > moe > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From moe2 at shaw.ca Mon May 3 02:07:17 2004 From: moe2 at shaw.ca (moe2 at shaw.ca) Date: Mon, 03 May 2004 06:07:17 -0000 Subject: index of Transcript Language Reference Manual In-Reply-To: <019601c430d0$aefe51d0$6601a8c0@precision340> Message-ID: hello Ken thank you for your suggestion ... however i have only purchased the manuals ... the two phone books :-) it is my intention to read the manuals through the summer, and purchase the software in the fall ... to code during the winter when the weather keeps me inside more is it possible that you could send me a text file of those 14 pages, just the INDEX ... i am hoping that someone from RR would read this and say if this were not legal moe > Moe, > > No need to do this; since the Rev IDE is built in Revolution, simply run > Rev, click on the Documentation button, go to the Transcript Language > Dictionary, make sure it shows "All Terms" (should be the default) and then > enter this in the message box and hit return: > > ask file "Save docs as:";if it <> "" then put fld "List" of stack > "revDocs" into url ("file:" & it) > > Then you have the entire list on disk in a file of your choosing. > > HTH, > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of >> moe2 at shaw.ca >> Sent: Thursday, April 01, 2004 11:27 PM >> To: use-revolution at lists.runrev.com >> Subject: re: index of Transcript Language Reference Manual >> >> >> >> surely one of you experts on this wonderful site would copy, >> paste & send the INDEX from the RR CD ... so that an old man >> does not have to retype it! >> >> if this is and infrindgement of the RR copywrite or whatever >> then i withdraw my request ... however i doubt that RR will >> mind me reoganizing the index for my own use. i got used to >> the way HC presented the hyperTalk and i think i will learn >> Transcript faster >> >> please help >> >> moe >> >> >>> >>> hi >>> >>> can someone email me a text file of the INDEX from the Transcript >>> Language Reference Manual >>> >>> i have purchase a hardcopy of the manuals to learn RR. >>> i would like to sort the index into commands, functions, >> keywords etc >>> (which i will easily do in >>> HC) so that i can more easily find what i am looking for >>> ... without having to type the 14 pages :-( >>> for example i am trying to find out how to send an email within a >>> standalone, and just looking at commands would be much simpler >>> >>> thank you in advance for your help >>> >>> moe >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Mon May 3 02:38:12 2004 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 3 May 2004 01:38:12 -0500 Subject: index of Transcript Language Reference Manual In-Reply-To: Message-ID: <01a101c430d9$38492250$6601a8c0@precision340> Understood; there shouldn't be any legality issues if you've already bought the manuals. I've sent you the export in a private email. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > moe2 at shaw.ca > Sent: Friday, April 02, 2004 1:09 AM > To: How to use Revolution > Subject: Re: index of Transcript Language Reference Manual > > > > hello Ken > > thank you for your suggestion ... however i have only > purchased the manuals ... the two phone books :-) > > it is my intention to read the manuals through the summer, > and purchase the software in the fall ... to code during the > winter when the weather keeps me inside more > > is it possible that you could send me a text file of those 14 > pages, just the INDEX ... i am hoping that someone from RR > would read this and say if this were not legal > > moe > > > > Moe, > > > > No need to do this; since the Rev IDE is built in > Revolution, simply > > run Rev, click on the Documentation button, go to the Transcript > > Language Dictionary, make sure it shows "All Terms" (should be the > > default) and then enter this in the message box and hit return: > > > > ask file "Save docs as:";if it <> "" then put fld "List" of stack > > "revDocs" into url ("file:" & it) > > > > Then you have the entire list on disk in a file of your choosing. > > > > HTH, > > > > Ken Ray > > Sons of Thunder Software > > Email: kray at sonsothunder.com > > Web Site: http://www.sonsothunder.com/ > > > > > >> -----Original Message----- > >> From: use-revolution-bounces at lists.runrev.com > >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > >> moe2 at shaw.ca > >> Sent: Thursday, April 01, 2004 11:27 PM > >> To: use-revolution at lists.runrev.com > >> Subject: re: index of Transcript Language Reference Manual > >> > >> > >> > >> surely one of you experts on this wonderful site would > copy, paste & > >> send the INDEX from the RR CD ... so that an old man does > not have to > >> retype it! > >> > >> if this is and infrindgement of the RR copywrite or > whatever then i > >> withdraw my request ... however i doubt that RR will mind me > >> reoganizing the index for my own use. i got used to the way HC > >> presented the hyperTalk and i think i will learn Transcript faster > >> > >> please help > >> > >> moe > >> > >> > >>> > >>> hi > >>> > >>> can someone email me a text file of the INDEX from the Transcript > >>> Language Reference Manual > >>> > >>> i have purchase a hardcopy of the manuals to learn RR. > >>> i would like to sort the index into commands, functions, > >> keywords etc > >>> (which i will easily do in > >>> HC) so that i can more easily find what i am looking for > ... without > >>> having to type the 14 pages :-( for example i am trying > to find out > >>> how to send an email within a standalone, and just looking at > >>> commands would be much simpler > >>> > >>> thank you in advance for your help > >>> > >>> moe > >> > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From nhytro-python at web.de Mon May 3 04:13:26 2004 From: nhytro-python at web.de (nhytro-python at web.de) Date: Mon, 03 May 2004 10:13:26 +0200 Subject: XMPP Lib Message-ID: <1232807975@web.de> Hi David! Thanks for the reply. I did ?nt want to re-invent the wheel, thats why I asked if there wer existing libs. for Runrev. What sort of liscence would it be? Could it be linked with commercial applications? I could mail you privately if this forum is not appropriate. Thanks Sharriff >Sort of :) > >Have a working Jabber client, which should not differ too much from the >newer specs? Will be upgrading this, but been a bit disstracted with >doing the same for IRC folk. Aim to release first code May 29 - will be >open. In the ean time happy to answer any questions, > >david _______________________________________________________________________ ... and the winner is... WEB.DE FreeMail! - Deutschlands beste E-Mail ist zum 39. Mal Testsieger (PC Praxis 03/04) http://f.web.de/?mc=021191 From david at opn-technologies.com Mon May 3 05:38:44 2004 From: david at opn-technologies.com (David Bovill) Date: Mon, 03 May 2004 10:38:44 +0100 Subject: XMPP Lib In-Reply-To: <1232807975@web.de> References: <1232807975@web.de> Message-ID: <40961324.8020109@opn-technologies.com> nhytro-python at web.de wrote: >Hi David! Thanks for the reply. I did ?nt want to re-invent the wheel, thats why I asked if there wer existing libs. for Runrev. What sort of liscence would it be? Could it be linked with commercial applications? I could mail you privately if this forum is not appropriate. > > I have a SourceForge project which I started nearly 2 years ago - I will be using that. The licence on that project states that the code is LGPL, as at the time i figured that it would allow the libraires developed to link to closed code. There is also some pressure to use a more stongly influenced public domain style licence. As I understand it the important thing is to establish the right copyright policy with regard to submissions, so that the community can debate such issues and make global changes to the licence as required. The project is conceived of and structured as a partnership. Anyone submitting to the project is a partner or owner member. Happy to talk about how this all works in more detail off-list, david From nnoydb at excite.com Mon May 3 09:20:28 2004 From: nnoydb at excite.com (Kevin) Date: Mon, 3 May 2004 09:20:28 -0400 (EDT) Subject: libURLDownloadToFile Error information? Message-ID: <20040503132028.768133D0E@xprdmailfe10.nwk.excite.com> Thanks, I will gibe that a try and see if it gives more information. -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Sat 05/01, =?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?= < bvg at mac.com > wrote: From: =?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?= [mailto: bvg at mac.com] To: nnoydb at excite.com, use-revolution at lists.runrev.com Date: Sat, 1 May 2004 12:21:32 +0200 Subject: Re: libURLDownloadToFile Error information? try the "libUrlsetlogfield" command. If you can't figure out what the
problem is, then maybe you are timing out. In that case you should set
the "socketTimeoutInterval" to a higher value (maybe 10000?).

On Samstag, Mai 1, 2004, at 08:15 Europe/Zurich, Kevin wrote:

>
>
> I am using libURLDownloadToFile to download several file(s) from a FTP
> server. However, I cannot seem to find a finction to retreive any
> error information. I have tried libURLErrorData but I only set
> "false" which isn't much help. Any ideas?
>
>
> K
>
>
> -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
> Disclaimer:
>
> Any resemblance between the above views and those of my
> employer, my terminal, or the view out my window are purely
> coincidental.
> Any resemblance between the above and my own views is
> non-deterministic.
>
> The question of the existence of views in the absence of anyone to
> hold
> them
> is left as an exercise for the reader. The question of the existence of
> the reader
> is left as an exercise for the second god coefficient.
> (A discussion of non-orthogonal, non-integral polytheism is beyond the
> scope of this article.)
>
>
>
> _______________________________________________
> Join Excite! - http://www.excite.com
> The most personalized portal on the Web!
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From nnoydb at excite.com Mon May 3 09:28:31 2004 From: nnoydb at excite.com (Kevin) Date: Mon, 3 May 2004 09:28:31 -0400 (EDT) Subject: Animated GIF frame tranistions speed (different than browser( Message-ID: <20040503132831.E68653D08@xprdmailfe10.nwk.excite.com> Hello, I am using animated GIFs in my applications to show that the application is busy. The interesting thing is that the animated gifs are 5 to 6 times faster in Revolution than and any other viewer/application (frame to frame tranisition speed). Is there a way to control the speed at which the frames are displayed? Why is the frame tranisition speed different than Mozilla, Internet Explorer or Safari? K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From rcozens at pon.net Mon May 3 10:00:24 2004 From: rcozens at pon.net (Rob Cozens) Date: Mon, 3 May 2004 07:00:24 -0700 Subject: Ghost Text Exorcised Message-ID: Hi Everyone: On April 15th I posted: >> Mystery: When the instruction card is printed along with the report card(s), it prints as expected; however its text is also superimposed over the text of the data card as well. << Well the mystery is solved, and the guilty party is moi. Perhaps someone can benefit from my mistake: Always, always, always compact, compact, & compact a HyperCard stack before opening & saving it in Revolution. Ah what a foole I am! Not only did I fail to compact the two stacks; but I actually opened one of the two in HC and deleted one card & four fields on another card before opening the stack in Revolution. Now there is a recipe for certain disaster: I don't want to think about how much time I've spent ghost hunting and scripting & testing workarounds to problems that were endemic to the stacks themselves. Special thanks to Robert Brenstein for looking deeply into the code, suggesting improvements & alternatives, and acted as the sounding board I needed to root out my ghost. Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From klaus at major-k.de Mon May 3 10:16:30 2004 From: klaus at major-k.de (Klaus Major) Date: Mon, 3 May 2004 16:16:30 +0200 Subject: Animated GIF frame tranistions speed (different than browser( In-Reply-To: <20040503132831.E68653D08@xprdmailfe10.nwk.excite.com> References: <20040503132831.E68653D08@xprdmailfe10.nwk.excite.com> Message-ID: <795D0135-9D0C-11D8-892B-000A27B49A96@major-k.de> Hi Kevin, > Hello, I am using animated GIFs in my applications to show that the > application is busy. > The interesting thing is that the animated gifs are 5 to 6 times > faster in Revolution than > and any other viewer/application (frame to frame tranisition speed). > Is there a way to > control the speed at which the frames are displayed? Yes, check the docs for "framecount", "repeatcount", "currentframe" and "palindromeframes"... You can also donwload a little example-stack of mine from the contrubutor page on the RR website. Look for "The taming of the animated Gif 1.0" ;-) Here is the direct link: http://www.runrev.com/downloads/usercontributions/ anim_gif_control.rev.zip > Why is the frame tranisition speed different than Mozilla, Internet > Explorer or Safari? I have no idea :-) > K Regards Klaus Major klaus at major-k.de www.major-k.de From kevin at runrev.com Mon May 3 10:26:55 2004 From: kevin at runrev.com (Kevin Miller) Date: Mon, 03 May 2004 15:26:55 +0100 Subject: Missing email Message-ID: Hi, As I mentioned before recently my mail database crashed a little while back with the loss of a number of emails. Most of you resent items that were outstanding and I recovered most of the rest from a backup. However I'm fairly sure there were a few fairly important items that I saw and subsequently lost, that haven't had replies. So, if you're waiting for a response from me on something, please resend your message. Sorry for any inconvenience. Thanks, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools From scott at tactilemedia.com Mon May 3 10:33:12 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 03 May 2004 07:33:12 -0700 Subject: Animated GIF frame tranistions speed (different than browser( In-Reply-To: <20040503132831.E68653D08@xprdmailfe10.nwk.excite.com> Message-ID: Recently, "Kevin" wrote: > I am using animated GIFs in my applications to show that the application is > busy. The interesting thing is that the animated gifs are 5 to 6 times faster > in Revolution than and any other viewer/application (frame to frame > tranisition speed). Is there a way to control the speed at which the frames > are displayed? Why is the frame tranisition speed different than Mozilla, > Internet Explorer or Safari? If you have an app that can edit animated GIFs, open it there and see if the frame is rate is 0 (or thereabouts). You can resave it to the timing you want. Otherwise, set the repeatCount of the GIF in Rev to 0 and use your own timing to control the GIF, incrementing the currentFrame using whatever speed is desired. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From nnoydb at excite.com Mon May 3 10:58:02 2004 From: nnoydb at excite.com (Kevin) Date: Mon, 3 May 2004 10:58:02 -0400 (EDT) Subject: Animated GIF frame tranistions speed (different than browser( Message-ID: <20040503145802.673543E2D@xprdmailfe11.nwk.excite.com> I actually used you stack to figure out how to include animated Gifs. The funny thing is your animated gifs step from frame to frame at a much slower rate. I am using many of the same techniques I will reread the examples to ensure I understood them correctly. K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Mon 05/03, Klaus Major < klaus at major-k.de > wrote: From: Klaus Major [mailto: klaus at major-k.de] To: nnoydb at excite.com, use-revolution at lists.runrev.com Date: Mon, 3 May 2004 16:16:30 +0200 Subject: Re: Animated GIF frame tranistions speed (different than browser( Hi Kevin,

> Hello, I am using animated GIFs in my applications to show that the
> application is busy.
> The interesting thing is that the animated gifs are 5 to 6 times
> faster in Revolution than
> and any other viewer/application (frame to frame tranisition speed).
> Is there a way to
> control the speed at which the frames are displayed?

Yes, check the docs for "framecount", "repeatcount", "currentframe" and
"palindromeframes"...

You can also donwload a little example-stack of mine from the
contrubutor page on the RR website.
Look for "The taming of the animated Gif 1.0" ;-)

Here is the direct link:

http://www.runrev.com/downloads/usercontributions/
anim_gif_control.rev.zip

> Why is the frame tranisition speed different than Mozilla, Internet
> Explorer or Safari?

I have no idea :-)

> K

Regards

Klaus Major
klaus at major-k.de
www.major-k.de

_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From nnoydb at excite.com Mon May 3 10:59:39 2004 From: nnoydb at excite.com (Kevin) Date: Mon, 3 May 2004 10:59:39 -0400 (EDT) Subject: Animated GIF frame tranistions speed (different than browser( Message-ID: <20040503145939.8F29C3E28@xprdmailfe11.nwk.excite.com> I am currently working on that I was hopeful that the RR folks would already have a method to overide the fram reate. K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Mon 05/03, Scott Rossi < scott at tactilemedia.com > wrote: From: Scott Rossi [mailto: scott at tactilemedia.com] To: use-revolution at lists.runrev.com Date: Mon, 03 May 2004 07:33:12 -0700 Subject: Re: Animated GIF frame tranistions speed (different than browser( Recently, "Kevin" wrote:

> I am using animated GIFs in my applications to show that the application is
> busy. The interesting thing is that the animated gifs are 5 to 6 times faster
> in Revolution than and any other viewer/application (frame to frame
> tranisition speed). Is there a way to control the speed at which the frames
> are displayed? Why is the frame tranisition speed different than Mozilla,
> Internet Explorer or Safari?

If you have an app that can edit animated GIFs, open it there and see if the
frame is rate is 0 (or thereabouts). You can resave it to the timing you
want. Otherwise, set the repeatCount of the GIF in Rev to 0 and use your
own timing to control the GIF, incrementing the currentFrame using whatever
speed is desired.

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
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From squance at elkvalley.net Mon May 3 15:04:46 2004 From: squance at elkvalley.net (David Squance) Date: Mon, 3 May 2004 13:04:46 -0600 Subject: Card cloning In-Reply-To: <4082F13D.3050007@hrz.uni-kassel.de> Message-ID: I'm having trouble with cloning a card from within a script again. It works fine from the message box, but nothing happens when the script hits "clone this card". When I had this problem awhile ago, creating a new card and pasting the controls on to it solved the problem, but not this time. I even created a new substack, since there was only the one card, but no luck. This whole project was an import from HC, originally, and I had assumed that the problem started there. Anyone know if RR2.2 is any better on this? I've stuck with 2.1.2 for the time being. (OS 10.3.3) Dave From revlists at canelasoftware.com Mon May 3 16:11:15 2004 From: revlists at canelasoftware.com (Mark Talluto) Date: Mon, 3 May 2004 13:11:15 -0700 Subject: Card cloning In-Reply-To: References: Message-ID: <07B8C83F-9D3E-11D8-9800-000393C3F5BC@canelasoftware.com> On May 3, 2004, at 12:04 PM, David Squance wrote: > I'm having trouble with cloning a card from within a script again. It > works fine from the message box, but nothing happens when the script > hits > "clone this card". When I had this problem awhile ago, creating a new > card > and pasting the controls on to it solved the problem, but not this > time. I > even created a new substack, since there was only the one card, but no > luck. This whole project was an import from HC, originally, and I had > assumed that the problem started there. Anyone know if RR2.2 is any > better > on this? I've stuck with 2.1.2 for the time being. (OS 10.3.3) > Dave > Are there any groups on the card you are trying to clone? Try the following in your script: lock messages clone card "card-to-be-cloned" unlock messages There is a known bug that should be fixed by 2.3. -- Best regards, Mark Talluto http://www.canelasoftware.com From nnoydb at excite.com Mon May 3 16:41:53 2004 From: nnoydb at excite.com (Kevin) Date: Mon, 3 May 2004 16:41:53 -0400 (EDT) Subject: HOWTO Build status bar simular to MAC MAIL Message-ID: <20040503204153.C3DB13CE9@xprdmailfe4.nwk.excite.com> How would I do about building a status bar simular to the one in MAC Mail? What side effects would this have on the Windows and Liux UI guide since it is normall on the bottom? K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From squance at elkvalley.net Mon May 3 17:18:54 2004 From: squance at elkvalley.net (David Squance) Date: Mon, 3 May 2004 15:18:54 -0600 Subject: Card cloning In-Reply-To: <07B8C83F-9D3E-11D8-9800-000393C3F5BC@canelasoftware.com> References: Message-ID: >On May 3, 2004, at 12:04 PM, David Squance wrote: > >> I'm having trouble with cloning a card from within a script again. It >> works fine from the message box, but nothing happens when the script >> hits >> "clone this card". When I had this problem awhile ago, creating a new >> card >> and pasting the controls on to it solved the problem, but not this >> time. I >> even created a new substack, since there was only the one card, but no >> luck. This whole project was an import from HC, originally, and I had >> assumed that the problem started there. Anyone know if RR2.2 is any >> better >> on this? I've stuck with 2.1.2 for the time being. (OS 10.3.3) >> Dave >> > >Are there any groups on the card you are trying to clone? > >Try the following in your script: > >lock messages >clone card "card-to-be-cloned" >unlock messages > >There is a known bug that should be fixed by 2.3. Thanks for the suggestion, Mark, but it didn't work. There used to be a group, but that disappeared in the process of creating a new stack and pasting the controls from the old one while trying to solve the problem. Dave From marym84058 at yahoo.com Mon May 3 18:40:51 2004 From: marym84058 at yahoo.com (Mary McEwen) Date: Mon, 3 May 2004 15:40:51 -0700 (PDT) Subject: Math expression display Message-ID: <20040503224051.69626.qmail@web14203.mail.yahoo.com> Is there a library in existence for revolution that 'pretty prints' mathematical expressions in the standard way that you would see them printed in a book, rather than the 'one line' computer format? For example you would see the expression: ((x^2 + 2x + 1) /(x + 1))^3 printed as a rational polynomial raised to a power, with the numerator above the denominator, and the exponent above and to the right of the numerator, outside of the quotient parens. I have searched the archives and found very little other than a Feb 14 2002 post about a SmoothTalk Library, whose link is no longer current. Thanks, Mary McEwen --------------------------------- Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs From tsj at unimelb.edu.au Mon May 3 19:57:40 2004 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue, 4 May 2004 09:57:40 +1000 Subject: =?windows-1252?q?SC_=96_programs=28=29_eqivalent=3F?= In-Reply-To: <20040429125539.9DCC49300D1@mail.runrev.com> Message-ID: SuperCard has a programs() function that returns a list of the current user processes. Rev doesn't appear to have anything similar built in ? is there any practical method for getting this information? I only need to do this on the Mac in the first instance but a cross platform solution would be fabulous. 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 soapdog at mac.com Mon May 3 23:44:11 2004 From: soapdog at mac.com (Andre Garzia) Date: Tue, 4 May 2004 00:44:11 -0300 Subject: =?windows-1252?q?Re=3A_SC_=96_programs=28=29_eqivalent=3F?= In-Reply-To: References: Message-ID: <4E630B54-9D7D-11D8-A53A-0003936D012E@mac.com> On May 3, 2004, at 8:57 PM, Terry Judd wrote: > SuperCard has a programs() function that returns a list of the current > user processes. Rev doesn't appear to have anything similar built in ? > is there any practical method for getting this information? I only > need to do this on the Mac in the first instance but a cross platform > solution would be fabulous. > > Any ideas? if you're on unix-flavour systems like MacOS X, bsd, linux, you can use the shell function with "ps -auxc" this will list every process running along with many info. if you're the one launching the process (from Rev) you can use openProcesses to retrieve the processes... don't know how to do it on classic... cheers andre > > 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 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From soapdog at mac.com Mon May 3 23:45:58 2004 From: soapdog at mac.com (Andre Garzia) Date: Tue, 4 May 2004 00:45:58 -0300 Subject: Math expression display In-Reply-To: <20040503224051.69626.qmail@web14203.mail.yahoo.com> References: <20040503224051.69626.qmail@web14203.mail.yahoo.com> Message-ID: <8E243BE4-9D7D-11D8-A53A-0003936D012E@mac.com> On May 3, 2004, at 7:40 PM, Mary McEwen wrote: > Is there a library in existence for revolution that 'pretty prints' > mathematical expressions in the standard way that you would see them > printed in a book, rather than the 'one line' computer format? For > example you would see the expression: > > ((x^2 + 2x + 1) /(x + 1))^3 printed as a rational polynomial raised > to a power, with the numerator above the denominator, and the exponent > above and to the right of the numerator, outside of the quotient > parens. > > I have searched the archives and found very little other than a Feb 14 > 2002 post about a SmoothTalk Library, whose link is no longer current. could we create 'translators' to build TeX/LaTeX files and launch unix scripts to render them all as PS or PDF.... it's a hack but it could work Cheers andre > > Thanks, > Mary McEwen -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From b.xavier at internet.lu Tue May 4 02:03:43 2004 From: b.xavier at internet.lu (MisterX) Date: Tue, 4 May 2004 08:03:43 +0200 Subject: SC - programs() eqivalent? In-Reply-To: <4E630B54-9D7D-11D8-A53A-0003936D012E@mac.com> Message-ID: Terry, For windows you need a pslist.exe shell available either in the moft resource kit or http://www.sysinternals.com/ntw2k/freeware/pstools.shtml There should be a windows scripting host (wsh) command but I dont know it. Shouldn't be hard to google out though... cheers > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Andre > Garzia > Sent: Tuesday, May 04, 2004 05:44 > To: How to use Revolution > Subject: Re: SC ? programs() eqivalent? > > > > On May 3, 2004, at 8:57 PM, Terry Judd wrote: > > > SuperCard has a programs() function that returns a list of the current > > user processes. Rev doesn't appear to have anything similar built in ? > > is there any practical method for getting this information? I only > > need to do this on the Mac in the first instance but a cross platform > > solution would be fabulous. > > > > Any ideas? > > if you're on unix-flavour systems like MacOS X, bsd, linux, you can use > the shell function with "ps -auxc" this will list every process running > along with many info. > > if you're the one launching the process (from Rev) you can use > openProcesses to retrieve the processes... > > don't know how to do it on classic... > > cheers > andre > > > > > > > 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 > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > -- > Andre Alves Garzia ? 2004 ? BRAZIL > http://studio.soapdog.org > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Tue May 4 06:27:59 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 04 May 2004 05:27:59 -0500 Subject: New Tutorial... Message-ID: <4097702F.2070801@chipp.com> I've just posted a tutorial which covers the following: How to build icons for MacOSX standalones (RunRev 2.2 and higher) How to build icons for WinXP standalones (RunRev 2.2 and higher) How to create a fancy .dmg installer for MacOSX (RunRev 2.2 and higher) This tutorial can be found at: http://www.altuit.com/webs/altuit2/StandaloneBuilderTutorial There's also a PDF available at the site as well. best, Chipp From malte.brill at t-online.de Tue May 4 07:16:36 2004 From: malte.brill at t-online.de (Malte Brill) Date: Tue, 04 May 2004 13:16:36 +0200 Subject: Many thanks for the CGI Tutorial. SQL Tutorial anyone? In-Reply-To: <20040229170019.60E7E9300D0@mail.runrev.com> Message-ID: Hi, first of all I want to say thank you for the brilliant CGI Tutorial. I just startet looking at it and find it very useful. I like to donate a few Euros if it is welcome. Has anyone set up a "Working with Databases and Rev" Tutorial? I would love to see such a tutorial. Has any of the Gurus set one up or could do so? Best, Malte From msandberg at sigma4.com Tue May 4 08:27:09 2004 From: msandberg at sigma4.com (Martin Sandberg) Date: Tue, 4 May 2004 06:27:09 -0600 Subject: Hypercard Icons In-Reply-To: <20040503160016.9D0459300A1@mail.runrev.com> References: <20040503160016.9D0459300A1@mail.runrev.com> Message-ID: <5CBB8314-9DC6-11D8-8584-000A959F507C@sigma4.com> The Revolution Encyclopedia says the following: * Icons and cursors are imported as images. All imported icons are placed in a group called "HC Icons", which is not placed on any card. If you plan to replace all of the icons with color substitutes, you can delete this group entirely when you no longer need the icons for reference. Imported cursors are placed in a group called "HC cursors". When I imported, all my buttons lost their icons and I don't see either of the above groups. Is this something that only works with the purchased version, I'm still using the trial version. I'm just about to buy it though - remarkably easy port from Hypercard! Martin Sandberg Happy Mac, Web & 4D developer From graham.samuel at blueyonder.co.uk Tue May 4 09:44:08 2004 From: graham.samuel at blueyonder.co.uk (Graham Samuel) Date: Tue, 04 May 2004 14:44:08 +0100 Subject: Applescriptable RR app? Message-ID: <6.1.0.6.2.20040504143740.01ce1ea0@pop3.blueyonder.co.uk> Sorry folks if this is clearly in the docs somewhere (doesn't come up in search): I have at present no clear understanding of AppleScript, but what little I do know includes the idea that an application can make itself AppleScript-able (interacting to some extent with other apps operating in the same machine or environment using AppleScript via an AppleScript Dictionary object or construct. Before I start on the long and (I fear) painful path of understanding AppleScript, can someone tell me if it's possible to make an AppleScript-able application with RunRev, i.e. an app containing an externally accessible Dictionary? TIA Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From rcozens at pon.net Tue May 4 10:37:28 2004 From: rcozens at pon.net (Rob Cozens) Date: Tue, 4 May 2004 07:37:28 -0700 Subject: Standalone Colors Message-ID: Hi Everyone: Why would the same subStack print in a different background color when compiled for Mac OS 9? Both the mainStack and the subStack have the background color set to white. When I print the subStack in the Development environment, the background is white. When I print the subStack from a Mac PPC standalone, the background is grey. In addition, control border colors in the standalone are not the colors displayed when the Rev Dev UI opens the mainStack. Why is this? RR 2.1.2 Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From jtenny at willamette.edu Tue May 4 10:40:46 2004 From: jtenny at willamette.edu (John Tenny) Date: Tue, 4 May 2004 07:40:46 -0700 Subject: New Tutorial... In-Reply-To: <4097702F.2070801@chipp.com> References: <4097702F.2070801@chipp.com> Message-ID: <07985838-9DD9-11D8-A125-000A95A4EDD2@willamette.edu> Chipp- Now THIS is a tutorial! The use of screen shots makes it so much faster to understand and easier to use. If the Rev docs were like this it would greatly reduce the frustration and foul language. Couldn't there be a repository where revlist folks could recreate small part of the docs with accompanying graphics to gradually build a useful set of documentation/how-to? I would think it in Rev's best interest to facilitate this. As the submitted revised docs come into some Rev sponsored spot, they would be evaluated for accuracy, then put into the online version of the docs piece by piece. Chipp - were you using Snapz to get the screen shots? Thanks again and again and again. John On May 4, 2004, at 3:27 AM, Chipp Walters wrote: > I've just posted a tutorial which covers the following: > > How to build icons for MacOSX standalones (RunRev 2.2 and higher) > How to build icons for WinXP standalones (RunRev 2.2 and higher) > How to create a fancy .dmg installer for MacOSX (RunRev 2.2 and higher) > > This tutorial can be found at: > http://www.altuit.com/webs/altuit2/StandaloneBuilderTutorial > > There's also a PDF available at the site as well. > Peace, John John L. Tenny, Ph.D. Flowing Thought Educational Solutions eCOVE: The Observation Toolkit Software www.flowing-thought.com jtenny at flowing-thought.com ----------------- From kray at sonsothunder.com Tue May 4 11:02:35 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 4 May 2004 10:02:35 -0500 Subject: Applescriptable RR app? In-Reply-To: <6.1.0.6.2.20040504143740.01ce1ea0@pop3.blueyonder.co.uk> Message-ID: <011001c431e8$d8bd8810$6601a8c0@precision340> Yes you can, Graham. The app you build with RR will automatically come with a dictionary that includes support for "do script" and "evaluate", but you can add your own commands, etc. by adding in an 'aete' resource (in OS 9, I'm not sure how to do it in OS X) that will send specific apple events to your app which you can trap in an "on appleEvent" handler. If someone can tell me how to do it in OS X, I'll wrap up a set of instructions on how to do this... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Graham Samuel > Sent: Tuesday, May 04, 2004 8:44 AM > To: use-revolution-request-lists.runrev.com > Subject: Applescriptable RR app? > > > Sorry folks if this is clearly in the docs somewhere (doesn't > come up in > search): I have at present no clear understanding of > AppleScript, but what > little I do know includes the idea that an application can > make itself > AppleScript-able (interacting to some extent with other apps > operating in > the same machine or environment using AppleScript via an AppleScript > Dictionary object or construct. Before I start on the long > and (I fear) > painful path of understanding AppleScript, can someone tell > me if it's > possible to make an AppleScript-able application with RunRev, > i.e. an app > containing an externally accessible Dictionary? > > TIA > > Graham > > --------------------------------------------------- > Graham Samuel / The Living Fossil Co. / UK & France > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From webmaster at dreamscapesoftware.com Tue May 4 12:06:28 2004 From: webmaster at dreamscapesoftware.com (Webmaster - Dreamscape Software) Date: Tue, 4 May 2004 18:06:28 +0200 Subject: Resuming Downloads Message-ID: <008501c431f1$cc1fc510$4ac4d80a@WorkPC> Not sure if anyone received this message. I've been having problems with my mail server. Is there any way to resume broken downloads in Revolution? Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress 1.2 http://www.dreamscapesoftware.com From jhurley at infostations.com Tue May 4 13:48:59 2004 From: jhurley at infostations.com (Jim Hurley) Date: Tue, 4 May 2004 10:48:59 -0700 Subject: Math expression display In-Reply-To: <20040504160118.C5C86930068@mail.runrev.com> References: <20040504160118.C5C86930068@mail.runrev.com> Message-ID: > > >------------------------------ > >Message: 4 >Date: Mon, 3 May 2004 15:40:51 -0700 (PDT) >From: Mary McEwen >Subject: Math expression display >To: use-revolution at lists.runrev.com >Message-ID: <20040503224051.69626.qmail at web14203.mail.yahoo.com> >Content-Type: text/plain; charset=us-ascii > >Is there a library in existence for revolution that 'pretty prints' >mathematical expressions in the standard way that you would see them >printed in a book, rather than the 'one line' computer format? For >example you would see the expression: > >((x^2 + 2x + 1) /(x + 1))^3 printed as a rational polynomial >raised to a power, with the numerator above the denominator, and the >exponent above and to the right of the numerator, outside of the >quotient parens. > >I have searched the archives and found very little other than a Feb >14 2002 post about a SmoothTalk Library, whose link is no longer >current. > >Thanks, >Mary McEwen Mary, It may be some time before an equation editor is available in RR. Until that time there is a work-around if you're not too fussy. RR can do super and sub scripts--see the "text" menu. You can write x^2 + 2x + 1 f(x) = ------------ (x + 1)^3 Where you would instead use the "Text" menu to do the superscripting. And the dotted line would be replaced with solid line drawn using the line tool in RR. It is certainly quite readable. (You would have to worry about the user's fonts however. The spacing would depend on the font.) If you have a lot of surds, you might want to check out the "Typing superscript and subscripts" stack on my web site. You could type the equation as you see it above, and it would be parsed to give you the appropriate result--except, of course, for the solid line to replace the dotted line. Jim http://home.infostations.net/jhurley/ From graham.samuel at blueyonder.co.uk Tue May 4 14:16:54 2004 From: graham.samuel at blueyonder.co.uk (Graham Samuel) Date: Tue, 04 May 2004 19:16:54 +0100 Subject: New Tutorial... Message-ID: <6.1.0.6.2.20040504191520.01cf0270@pop3.blueyonder.co.uk> On Tue, 04 May 2004 05:27:59 -0500, Chipp Walters wrote: >I've just posted a tutorial which covers the following: > >How to build icons for MacOSX standalones (RunRev 2.2 and higher) >How to build icons for WinXP standalones (RunRev 2.2 and higher) >How to create a fancy .dmg installer for MacOSX (RunRev 2.2 and higher) > >This tutorial can be found at: >http://www.altuit.com/webs/altuit2/StandaloneBuilderTutorial > >There's also a PDF available at the site as well. Thanks Chipp, this is great! Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From graham.samuel at blueyonder.co.uk Tue May 4 14:23:38 2004 From: graham.samuel at blueyonder.co.uk (Graham Samuel) Date: Tue, 04 May 2004 19:23:38 +0100 Subject: Applescriptable RR app? Message-ID: <6.1.0.6.2.20040504191732.01cf1708@pop3.blueyonder.co.uk> On Tue, 4 May 2004 10:02:35 -0500, "Ken Ray" wrote: >Yes you can, Graham. The app you build with RR will automatically come with >a dictionary that includes support for "do script" and "evaluate", but you >can add your own commands, etc. by adding in an 'aete' resource (in OS 9, >I'm not sure how to do it in OS X) that will send specific apple events to >your app which you can trap in an "on appleEvent" handler. > >If someone can tell me how to do it in OS X, I'll wrap up a set of >instructions on how to do this... OK - thanks very much Ken. I'm not scared of AppleEvent handlers (done that), but I see that I need to so a lot of work to tutor myself in AppleScript. I've been lurking on the official AS mailing list for some time now, but it doesn't seem to me to have the friendly feel of this list. The language seems xTalk "kind of", but the underlying model of the objects and how they fit together doesn't look very intuitive to me... well, let's hope Mr O'Reilly will give me the help I need. I do see that AS capability is going to be very useful in several contexts... Back to work. Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From bill at bluewatermaritime.com Tue May 4 15:33:16 2004 From: bill at bluewatermaritime.com (Bill) Date: Tue, 04 May 2004 15:33:16 -0400 Subject: Working with databases tuturial In-Reply-To: <20040504160118.C5C86930068@mail.runrev.com> Message-ID: I would also love to see this as using mysql as the external database with Rev as the front end would be great. On 5/4/04 12:01 PM, "use-revolution-request at lists.runrev.com" wrote: > Has anyone set up a "Working with Databases and Rev" Tutorial? I would love > to see such a tutorial. Has any of the Gurus set one up or could do so? From chipp at chipp.com Tue May 4 16:02:02 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 04 May 2004 15:02:02 -0500 Subject: Many thanks for the CGI Tutorial. SQL Tutorial anyone? In-Reply-To: References: Message-ID: <4097F6BA.80109@chipp.com> Thanks Malte, In fact, my colleague Chris Bohnert is currently working with MySQL on the Mac, and will be developing install instructions in the near future. Stay tuned. best, Chipp Malte Brill wrote: > Hi, > > first of all I want to say thank you for the brilliant CGI Tutorial. I just > startet looking at it and find it very useful. I like to donate a few Euros > if it is welcome. > Has anyone set up a "Working with Databases and Rev" Tutorial? I would love > to see such a tutorial. Has any of the Gurus set one up or could do so? > > Best, > > Malte > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Tue May 4 16:28:06 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 04 May 2004 15:28:06 -0500 Subject: Hypercard Icons In-Reply-To: <5CBB8314-9DC6-11D8-8584-000A959F507C@sigma4.com> References: <20040503160016.9D0459300A1@mail.runrev.com> <5CBB8314-9DC6-11D8-8584-000A959F507C@sigma4.com> Message-ID: <4097FCD6.50205@hyperactivesw.com> On 5/4/04 7:27 AM, Martin Sandberg wrote: > The Revolution Encyclopedia says the following: > > > * Icons and cursors are imported as images. All imported icons are > placed in a group called "HC Icons", which is not placed on any card. If > you plan to replace all of the icons with color substitutes, you can > delete this group entirely when you no longer need the icons for > reference. Imported cursors are placed in a group called "HC cursors". > > > When I imported, all my buttons lost their icons and I don't see either > of the above groups. Is this something that only works with the > purchased version, I'm still using the trial version. I'm just about to > buy it though - remarkably easy port from Hypercard! It works with any version, but note that Rev will only import icons that are stored in the stack's resource fork. If your stack uses HC icons that come from the Home stack, they don't get converted. What you need to do is first, in HyperCard, move those icons into the stack itself. You can do this by: Select the button tool Double-click the button Click the "Icon" button Select an icon Click the "Edit..." button When the editing dialog appears, just close it. You don't have to actually edit anything to move the icon into the stack, just opening the Edit dialog will do it. Repeat this for each icon you want to include. Then -- and this is important -- compact the stack twice in a row. The same thing applies to cursors. The HC cursors won't be moved unless they live in the stack. However, Rev offers a hand cursor of its own, so most of the time you don't need to worry about cursors. Any custom cursors you have added will already be in the stack's resource fork. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From chipp at chipp.com Tue May 4 16:57:03 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 04 May 2004 15:57:03 -0500 Subject: Many thanks for the CGI Tutorial. SQL Tutorial anyone? In-Reply-To: <4097F6BA.80109@chipp.com> References: <4097F6BA.80109@chipp.com> Message-ID: <4098039F.8090204@chipp.com> OOPS! I think the thank-you was for Jacque, not me...sorry to steal your thunder Jacque! Chipp Walters wrote: > Thanks Malte, > > In fact, my colleague Chris Bohnert is currently working with MySQL on > the Mac, and will be developing install instructions in the near future. > Stay tuned. > > best, > > Chipp > > Malte Brill wrote: > >> Hi, >> >> first of all I want to say thank you for the brilliant CGI Tutorial. I >> just >> startet looking at it and find it very useful. I like to donate a few >> Euros >> if it is welcome. Has anyone set up a "Working with Databases and Rev" >> Tutorial? I would love >> to see such a tutorial. Has any of the Gurus set one up or could do so? >> >> Best, >> >> Malte >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From bill at bluewatermaritime.com Tue May 4 17:25:12 2004 From: bill at bluewatermaritime.com (Bill) Date: Tue, 04 May 2004 17:25:12 -0400 Subject: TUTURIAL FOR MYSQL CONNECTIONS In-Reply-To: <20040502160024.B1A8E93009E@mail.runrev.com> Message-ID: I found so me good info on using RevDB at this link: http://groups.yahoo.co.jp/group/Runtime_Revolution_Users_Japan/messages/1602 ?viscount=-15&expand=1 It looks like quit a bit of information and examples of accessing mysql and setting up the links to send data from a RunRev form to mysql but it is mostly in Japanese. From jacque at hyperactivesw.com Tue May 4 17:42:04 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 04 May 2004 16:42:04 -0500 Subject: Many thanks for the CGI Tutorial. SQL Tutorial anyone? In-Reply-To: <4098039F.8090204@chipp.com> References: <4097F6BA.80109@chipp.com> <4098039F.8090204@chipp.com> Message-ID: <40980E2C.6070203@hyperactivesw.com> On 5/4/04 3:57 PM, Chipp Walters wrote: > OOPS! I think the thank-you was for Jacque, not me...sorry to steal your > thunder Jacque! Oh, you couldn't steal my thunder. Ken is the only one with thunder around here. You could steal my hyperactivity if you like, but I know at least a few people who would bless you for that. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue May 4 17:50:00 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 04 May 2004 16:50:00 -0500 Subject: Many thanks for the CGI Tutorial. SQL Tutorial anyone? In-Reply-To: References: Message-ID: <40981008.30609@hyperactivesw.com> On 5/4/04 6:16 AM, Malte Brill wrote: > Hi, > > first of all I want to say thank you for the brilliant CGI Tutorial. I just > startet looking at it and find it very useful. I like to donate a few Euros > if it is welcome. Thanks, that's so kind. Your enthusiasm is more than enough payment. I have always contributed my tutorials for free in the past and I want to give back to the community some of what it has given to me. So just enjoy it, and I hope it is useful to lots of people. There is no obligation to pay. But for those who feel strongly compelled, my Paypal account is the same as the email address in my signature. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Tue May 4 17:53:15 2004 From: klaus at major-k.de (Klaus Major) Date: Tue, 4 May 2004 23:53:15 +0200 Subject: TUTURIAL FOR MYSQL CONNECTIONS In-Reply-To: References: Message-ID: <7204C776-9E15-11D8-B558-000A27B49A96@major-k.de> Hi Bill, > I found so me good info on using RevDB at this link: > > http://groups.yahoo.co.jp/group/Runtime_Revolution_Users_Japan/ > messages/1602 > ?viscount=-15&expand=1 > > It looks like quit a bit of information and examples of accessing > mysql and > setting up the links to send data from a RunRev form to mysql but it is > mostly in Japanese. Cool URL, but definitively NOT for us regular gaijins :-) Sayonara Klaus Major klaus at major-k.de www.major-k.de From hershrev at realtorsgroup.us Tue May 4 18:34:54 2004 From: hershrev at realtorsgroup.us (hershrev) Date: Tue, 4 May 2004 18:34:54 -0400 Subject: Many thanks for the CGI Tutorial. SQL Tutorial anyone? In-Reply-To: <40980E2C.6070203@hyperactivesw.com> Message-ID: <43A4FDE0-9E1B-11D8-AEEE-0030654C1E62@realtorsgroup.us> On Tuesday, May 4, 2004, at 05:42 PM, J. Landman Gay wrote: > On 5/4/04 3:57 PM, Chipp Walters wrote: > >> OOPS! I think the thank-you was for Jacque, not me...sorry to steal >> your thunder Jacque! > > Oh, you couldn't steal my thunder. Ken is the only one with thunder > around here. You could steal my hyperactivity if you like, LOL. > but I know at least a few people who would bless you for that. ;) > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jperryl at ecs.fullerton.edu Tue May 4 19:50:42 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 4 May 2004 16:50:42 -0700 (PDT) Subject: Stupid Programming Question In-Reply-To: <4097FCD6.50205@hyperactivesw.com> Message-ID: I know I did this in HC once a few years ago, but I've lost the stack and don't have access to my Danny Goodman: I've got 16 or so images that I want shown at, say, 5 tick intervals. Images are named "c1.jpg", "c2.jpg", etc. I know (or at least think I know) that I want to do something with repeat for... but don't know what. repeat with x = 1 to the number of controls show control x end repeat Looks promising but I'm just not a programmer and can't make it work. I know I can do it manually involving 32 lines of script but even the dunce programmer-wannabe in me suspects this isn't the way to go about it. Suggestions gratefully received, Judy From rcozens at pon.net Tue May 4 19:53:24 2004 From: rcozens at pon.net (Rob Cozens) Date: Tue, 4 May 2004 16:53:24 -0700 Subject: Math expression display In-Reply-To: References: <20040504160118.C5C86930068@mail.runrev.com> Message-ID: >RR can do super and sub scripts--see the "text" menu. ...or check the Revolution Dictionary re the textShift property. -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Tue May 4 20:12:21 2004 From: rcozens at pon.net (Rob Cozens) Date: Tue, 4 May 2004 17:12:21 -0700 Subject: Stupid Programming Question In-Reply-To: References: Message-ID: >I've got 16 or so images that I want shown at, say, 5 tick intervals. > >Images are named "c1.jpg", "c2.jpg", etc. Hi Judy, The most straightforward approach: repeat with x = 1 to the number of images show image x wait 5 ticks hide image x end repeat For those who eschew "wait": on showAnImage constant waitingPeriod=5 -- play with interval here local imageNumber=0 lock screen if imageNumber > 0 then hide image imageNumber -- maybe you want the last image to remain visible? add 1 to imageNumber if imageNumber <= the number of images then show image imageNumber send showAnImage to me in waitingPeriod ticks end if unlock screen end showAnImage -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From SimPLsol at aol.com Tue May 4 20:17:18 2004 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Tue, 4 May 2004 20:17:18 EDT Subject: Stupid Programming Question Message-ID: <113.32456abe.2dc98c8e@aol.com> Judy, There are many ways to do this. Perhaps this is the easiest: repeat with x = 1 to the number of controls show control ("c"&x&".jpg") wait 5 ticks end repeat Paul Looney From jperryl at ecs.fullerton.edu Tue May 4 20:34:06 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 4 May 2004 17:34:06 -0700 (PDT) Subject: Stupid Programming Question In-Reply-To: <113.32456abe.2dc98c8e@aol.com> Message-ID: Hi Paul, Thanks! Will try. I did try a variant on this but apparently screwed up with the concatenation part of it and no parens. Gratefully yours, Judy On Tue, 4 May 2004 SimPLsol at aol.com wrote: > Judy, > There are many ways to do this. Perhaps this is the easiest: > > repeat with x = 1 to the number of controls > show control ("c"&x&".jpg") > wait 5 ticks > end repeat From 3mcgrath at adelphia.net Tue May 4 20:35:00 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Tue, 4 May 2004 20:35:00 -0400 Subject: Applescriptable RR app? In-Reply-To: <6.1.0.6.2.20040504191732.01cf1708@pop3.blueyonder.co.uk> References: <6.1.0.6.2.20040504191732.01cf1708@pop3.blueyonder.co.uk> Message-ID: <0AB0EB62-9E2C-11D8-AFC8-000A95DA60FA@adelphia.net> Graham, If you go to the Apple website they have a lot of useful example scripts to 'tear' apart and also last time I checked they had a downloadable applescript guide/glossary. I found it very useful. Just go to the Applescript section and look around. Although AS appears xtalk like it really is not (in my opinion). AS also is not as friendly as REV/HC/SC are not just the AS list. But it is very useful and you can do a lot with it. Link: http://developer.apple.com/documentation/AppleScript/AppleScript.html#/ /apple_ref/doc/uid/TP30000419 should work Tom On May 4, 2004, at 2:23 PM, Graham Samuel wrote: > On Tue, 4 May 2004 10:02:35 -0500, "Ken Ray" > wrote: > >> Yes you can, Graham. The app you build with RR will automatically >> come with >> a dictionary that includes support for "do script" and "evaluate", >> but you >> can add your own commands, etc. by adding in an 'aete' resource (in >> OS 9, >> I'm not sure how to do it in OS X) that will send specific apple >> events to >> your app which you can trap in an "on appleEvent" handler. >> >> If someone can tell me how to do it in OS X, I'll wrap up a set of >> instructions on how to do this... > > OK - thanks very much Ken. I'm not scared of AppleEvent handlers (done > that), but I see that I need to so a lot of work to tutor myself in > AppleScript. I've been lurking on the official AS mailing list for > some time now, but it doesn't seem to me to have the friendly feel of > this list. The language seems xTalk "kind of", but the underlying > model of the objects and how they fit together doesn't look very > intuitive to me... well, let's hope Mr O'Reilly will give me the help > I need. I do see that AS capability is going to be very useful in > several contexts... > > Back to work. > > Graham > > --------------------------------------------------- > Graham Samuel / The Living Fossil Co. / UK & France > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From jperryl at ecs.fullerton.edu Tue May 4 20:35:58 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 4 May 2004 17:35:58 -0700 (PDT) Subject: Stupid Programming Question In-Reply-To: Message-ID: Thanks, Rob. But if I have other images that are part of the general landscape and given group background behavior, will they be part of the incrementational show? "Wait" is my friend... Judy On Tue, 4 May 2004, Rob Cozens wrote: > >I've got 16 or so images that I want shown at, say, 5 tick intervals. > > > >Images are named "c1.jpg", "c2.jpg", etc. > > Hi Judy, > > The most straightforward approach: > > repeat with x = 1 to the number of images > show image x > wait 5 ticks > hide image x > end repeat > > For those who eschew "wait": > > on showAnImage > constant waitingPeriod=5 -- play with interval here > local imageNumber=0 > lock screen > if imageNumber > 0 then hide image imageNumber -- maybe you want > the last image to remain visible? > add 1 to imageNumber > if imageNumber <= the number of images then > show image imageNumber > send showAnImage to me in waitingPeriod ticks > end if > unlock screen > end showAnImage From 3mcgrath at adelphia.net Tue May 4 20:38:11 2004 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Tue, 4 May 2004 20:38:11 -0400 Subject: Many thanks for the CGI Tutorial. SQL Tutorial anyone? In-Reply-To: <40980E2C.6070203@hyperactivesw.com> References: <4097F6BA.80109@chipp.com> <4098039F.8090204@chipp.com> <40980E2C.6070203@hyperactivesw.com> Message-ID: <7CC9AB9A-9E2C-11D8-AFC8-000A95DA60FA@adelphia.net> Hey, Jac, A few people around me would also love it if I lost some of my ADHD. But then what fun would life with Tom be like? Tom On May 4, 2004, at 5:42 PM, J. Landman Gay wrote: > On 5/4/04 3:57 PM, Chipp Walters wrote: > >> OOPS! I think the thank-you was for Jacque, not me...sorry to steal >> your thunder Jacque! > > Oh, you couldn't steal my thunder. Ken is the only one with thunder > around here. You could steal my hyperactivity if you like, but I know > at least a few people who would bless you for that. ;) > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From scott at tactilemedia.com Tue May 4 21:03:47 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 04 May 2004 18:03:47 -0700 Subject: Stupid Programming Question In-Reply-To: Message-ID: Recently, "Rob Cozens" wrote: > The most straightforward approach: > > repeat with x = 1 to the number of images > show image x > wait 5 ticks > hide image x > end repeat > > For those who eschew "wait": We use: wait 5 ticks with messages Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From randall at thinkthink.com Tue May 4 23:24:35 2004 From: randall at thinkthink.com (Randall Reetz) Date: Tue, 4 May 2004 20:24:35 -0700 Subject: Self adjusting code? Message-ID: My first post to this list... I am a SuperCard user (for 14 years). I am of course interested in Revolution's multi-platform output. However... in reading some of your tutorials, I came across a blurb outlining a restriction on making run-time changes to Revolution projects (stacks). I am interested in evolving code... projects that react to, optimize and adjust to their environment... who uses them and their intent, and available media, data and communications streams. How does one do this with Revolution? I can imagine a solution involving two concurrent projects... one running... the other treated as data file... adjusted by the first... then, periodically, the first duplicates the second (now there are three), launches the second which once launched, quits and deletes the first, then, gets down to the business of writing changes to it's inactive clone. Wow, that seems complex... but I can't quite imagine how else to do run-time self-adjusting code. How have you people solved this problem. Randall Reetz randall at thinkthink.com From bvlahos at mac.com Tue May 4 23:41:10 2004 From: bvlahos at mac.com (Bill Vlahos) Date: Tue, 4 May 2004 20:41:10 -0700 Subject: Self adjusting code? In-Reply-To: References: Message-ID: <0CB5E47E-9E46-11D8-91E5-0003936A2C42@mac.com> Randall, Welcome to this list and to Revolution. What I think you are referring to is that Revolution "standalones" cannot be modified. The is a restriction that the Mac OS does not have but other OSs do so Revolution imposes this restriction on all platforms. The standalones are the executables. Fortunately, this is easily worked around. All you have to do is create a standalone which opens your stack. The stack is completely modifiable just like HyperCard and SuperCard by issuing save commands. This works the same on all platforms and the stacks themselves are completely portable across all platforms. You can do what you suggest in your original email but it doesn't need to be that complicated. Bill Vlahos On May 4, 2004, at 8:24 PM, Randall Reetz wrote: > My first post to this list... > > I am a SuperCard user (for 14 years). I am of course interested in > Revolution's multi-platform output. However... in reading some of > your tutorials, I came across a blurb outlining a restriction on > making run-time changes to Revolution projects (stacks). I am > interested in evolving code... projects that react to, optimize and > adjust to their environment... who uses them and their intent, and > available media, data and communications streams. How does one do > this with Revolution? I can imagine a solution involving two > concurrent projects... one running... the other treated as data > file... adjusted by the first... then, periodically, the first > duplicates the second (now there are three), launches the second which > once launched, quits and deletes the first, then, gets down to the > business of writing changes to it's inactive clone. Wow, that seems > complex... but I can't quite imagine how else to do run-time > self-adjusting code. How have you people solved this problem. > > > Randall Reetz > > randall at thinkthink.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From bvlahos at mac.com Tue May 4 23:51:25 2004 From: bvlahos at mac.com (Bill Vlahos) Date: Tue, 4 May 2004 20:51:25 -0700 Subject: HOWTO Build status bar simular to MAC MAIL In-Reply-To: <20040503204153.C3DB13CE9@xprdmailfe4.nwk.excite.com> References: <20040503204153.C3DB13CE9@xprdmailfe4.nwk.excite.com> Message-ID: <7B09302D-9E47-11D8-91E5-0003936A2C42@mac.com> I'm not sure I know what you mean. If you are talking about the area just under the icons which displays the number of messages and size (and also updates while checking for email), then that is very simple. Just make it a field and put information in it. The status bar would be the same on all the platforms unless you wanted to put it in different places on those platforms. To do that you could query which platform you are on and them set the location where you want it on preopen stack. Bill Vlahos On May 3, 2004, at 1:41 PM, Kevin wrote: > > > How would I do about building a status bar simular to the one in MAC > Mail? What side effects would this have on the Windows and Liux UI > guide since it is normall on the bottom? > > > K From soapdog at mac.com Tue May 4 23:56:49 2004 From: soapdog at mac.com (Andre Garzia) Date: Wed, 5 May 2004 00:56:49 -0300 Subject: Applescriptable RR app? In-Reply-To: <011001c431e8$d8bd8810$6601a8c0@precision340> References: <011001c431e8$d8bd8810$6601a8c0@precision340> Message-ID: <3C39239A-9E48-11D8-A695-0003936D012E@mac.com> On May 4, 2004, at 12:02 PM, Ken Ray wrote: > Yes you can, Graham. The app you build with RR will automatically come > with > a dictionary that includes support for "do script" and "evaluate", but > you > can add your own commands, etc. by adding in an 'aete' resource (in OS > 9, > I'm not sure how to do it in OS X) that will send specific apple > events to > your app which you can trap in an "on appleEvent" handler. > > If someone can tell me how to do it in OS X, I'll wrap up a set of > instructions on how to do this... Ken, I did similar task in RB3.2... I'll assemble something, if it works I'll put here... cheers andre > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From FlexibleLearning at aol.com Wed May 5 00:23:20 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Wed, 5 May 2004 00:23:20 EDT Subject: Resuming Downloads Message-ID: <12e.40b2bb02.2dc9c638@aol.com> >Not sure if anyone received this message. I've been having problems with >my mail server. Is there any way to resume broken downloads in Revolution? Can't see why not, Derek, but I've not done it myself and there is no built-in routine that I am aware. Downloaded data is typically stored in RAM cache, then either run from cache or saved to disk. If you include a "write to file" using append method or "put the data after url myURL" as the data is received, then a resumed session could test if the data is in the file and ignore the data stream until the test is false. /H From themacguy at macosx.com Wed May 5 01:03:12 2004 From: themacguy at macosx.com (Barry Levine) Date: Tue, 4 May 2004 23:03:12 -0600 Subject: Default folder question for OSX Message-ID: <822B4AE9-9E51-11D8-88EC-000A95763ABC@macosx.com> I'm developing an app that will read the contents of a specific file upon openStack assuming that the file is present. Lets call this the "defaultFile". I am not setting the defaultFolder so my stack (as I am developing/testing) does, indeed, find the file and read its contents as scripted. According to the electronic docs, the folder that holds the ".app" bundle will be the default folder when I build my app. This indicates that I shouldn't have to change the defaultFolder from "stock". I'm developing and will build in v2.2. Will there be any unexpected behavior in this version relative to this issue? This also brings up a second question: If I want to place that "defaultFile" inside the package so it can't be lost, how would I have to set my defaultFolder. Let's assume the path to the app bundle is: MyDisk/myFolder/myApp Any suggestions would be appreciated. Thanks, Barry From jperryl at ecs.fullerton.edu Wed May 5 01:06:34 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 4 May 2004 22:06:34 -0700 (PDT) Subject: Stupid Programming Question In-Reply-To: Message-ID: Thanks, Scott. I'll see if my limited programming intelligence will allow me to implement this. But, again, for those of my limited programming intelligence, what if I don't want to allow the viewer/user to send any messages? Judy On Tue, 4 May 2004, Scott Rossi wrote: > wait 5 ticks with messages From ambassador at fourthworld.com Wed May 5 01:26:07 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 04 May 2004 22:26:07 -0700 Subject: Self adjusting code? In-Reply-To: References: Message-ID: <40987AEF.1000508@fourthworld.com> Randall Reetz wrote: > My first post to this list... > > I am a SuperCard user (for 14 years). I am of course interested in > Revolution's multi-platform output. However... in reading some of your > tutorials, I came across a blurb outlining a restriction on making > run-time changes to Revolution projects (stacks). I am interested in > evolving code... projects that react to, optimize and adjust to their > environment... who uses them and their intent, and available media, data > and communications streams. How does one do this with Revolution? Hello Randall - Good to see you here. As Bill pointed out, Rev standalones can't modify themselves because no OS allows an executable file to modify itself at runtime except Mac Classic, where Rev enforces the same rule for consistency. However, it's easy enough to simply move code into stack files that are external to the application. Such components can easily modify themselves just as SC projects can. But there are other options that may be worth considering. Maureen Caudill has written some good books and articles on neural networks and genetic algorithms, and both are largely based on changes to data rather than code per se. While the algorithms she discusses in her articles in AI magazine and elsewhere are largely language-specific, many of the underlying principles can be well emulated using constructs available in Rev. Perhaps chief among these are the getProp and setProp tokens. These are very powerful tools to manage custom properties in complex ways by trapping the setting or getting of a property to invoke any number of actions. This allows tremendous flexibility with very natural syntax. For example, you could say: set the mediaPath of this stack to tMyPath ...and have this definition in the stack script (or a backscript or a library or anywhere else in the message path): setProp mediaPath pPath put pPath into fld "mediaPath" set the filename of player 1 to pPath set the hilite of btn "Loaded" to true start player 1 end mediaPath That's a very simple example but illustrates the power of setProp for invoking multiple actions from a single property setting. Another construct worth noting is that custom properties can be stored in any number of custom property sets, and can be addressed with array notation using either strings, numbers, or variables: put 2 into tMyVar get the userInfo[tMyVar] of stack "Prefs" By having multiple property sets you could construct (among other things) parallel sets of properties whose values get invoked under different circumstances for obtaining different data. For example, if you had three properties for each user, you could assign a different customPropertySet for each user with the same property names in each: set the customPropertySet of stack "UserInfo" to "Joe" put the userName of stack "UserInfo" into tJoesName put the userPassword of stack "UserInfo" into tJoesPassword put the userLocation of stack "UserInfo" into tJoesLocation -- set the customPropertySet of stack "UserInfo" to "Steve" put the userName of stack "UserInfo" into tStevesName put the userPassword of stack "UserInfo" into tStevesPassword put the userLocation of stack "UserInfo" into tStevesLocation For more ideas on using custom properties and property sets for hierarchical data storage, see: There is much to learn in using Rev, but coming from a strong SC background as you are you'll find most of the syntax and algorithms you're familiar with can be implemented in Rev with little or no modification. But as you learn more about Rev you'll find many new options like those outlined above which may open new doors for you. But whether adapting an SC script for use in Rev or learning new techniques, this list is definitely the place to be. Welcome aboard. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Wed May 5 01:57:57 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 04 May 2004 22:57:57 -0700 Subject: Default folder question for OSX In-Reply-To: <822B4AE9-9E51-11D8-88EC-000A95763ABC@macosx.com> References: <822B4AE9-9E51-11D8-88EC-000A95763ABC@macosx.com> Message-ID: <40988265.1060407@fourthworld.com> Barry Levine wrote: > I'm developing an app that will read the contents of a specific file > upon openStack assuming that the file is present. Lets call this the > "defaultFile". I am not setting the defaultFolder so my stack (as I am > developing/testing) does, indeed, find the file and read its contents as > scripted. According to the electronic docs, the folder that holds the > ".app" bundle will be the default folder when I build my app. This > indicates that I shouldn't have to change the defaultFolder from > "stock". I'm developing and will build in v2.2. Will there be any > unexpected behavior in this version relative to this issue? > > This also brings up a second question: If I want to place that > "defaultFile" inside the package so it can't be lost, how would I have > to set my defaultFolder. Let's assume the path to the app bundle is: > > MyDisk/myFolder/myApp > > Any suggestions would be appreciated. There are two views on this, and the differences between then are largely subjective and I believe both have merit, so I'll provide some background on these issues, briefly outline both groups of solutions, and offer my personal favorite for handling these things. At the heart of the issue is that the defaultFolder and relative paths like those in the stackFiles property and in the fileName properties of images and players behave differently in OS X than on all other platforms, and there is a difference in the defaultFolder on all platforms depending on whether a stack is running in development mode or as a standalone. defaultFolder ------------- The defaultFolder is initialized to the folder containing the application. In development this is the folder containing the Rev application, and for a standalone this is the folder containing your standalone application. This is true in all OSes, including OS X where the application folder is the one containing the *.app bundle. So as you can guess things can get tricky looking for files based on the defaultFolder, since it is initialized differently depending on whether you're stack is running in the Rev IDE or as a standalone. Also, note that the defaultFolder can be changed in script, as would be necessary to obtain a list of files in another folder for example. While it's considered good practice to save and restore the value of the defaultFolder for such operations, if you use code from other libraries you may not have complete assurance such save-and-restore is being done. relativePaths ------------- This issue is compounded by the different way relative paths are handled in the fileName property of image and player objects. In such cases a path is relative to the location of the stack file containing the reference, so this is consistent regardless of whether it is a standalone or a stackfile -- except on OS X. On OS X such paths are relative to the actual executable file buried with in *.app bundle, not the *.app bundle itself as with the defaultFolder (look inside an OS X bundle and see the path *.app/Contents/MacOS/executableFile). Options for resolving these issues ---------------------------------- Some feel that bundles are a wonderful invention from Apple, in that it allows you to hide components within the bundle so the user never has to deal with them. Others feel that having folders that appear to be executable files (the bundle) is potentially confusing, and makes things like having a Plugins folder complex for those apps that use such things. For myself, I tend to document what gets installed with my apps and prefer not to write two different sets of docs, one for OS X only and another for Classic and all other supported OSes. Also, an increasing number of the apps I produce have some form of user-extensible components (plugins), so I prefer to keep the folder structure consistent across platforms to simplify working with and documenting such options. I generally prefer solutions which minimize differences between runtime and development, and have gotten into the habit of using this handy function for obtaining the path to my stackFile regardless of whether it's a standalone or in the IDE, and regardless of whether as a standalone it's running on OS X or any other OS: function AppPath local tPath -- put the filename of this stack into tPath set the itemdel to "/" If (IsOSX()) then get offset(".app/Contents/MacOS/", tPath) if it > 0 then -- engine v2.4.3 or later delete char it to len(tPath) of tPath end if end if delete last item of tPath return tPath &"/" end AppPath function IsOSX set the itemdel to "." if (the platform is "MacOS") \ AND (item 1 of the systemVersion >= 10) then return true else return false end IsOSX I use this to build paths I need for other files, such as to a Plugins folder: put AppPath()&"Plugins/" into tPluginsPath But like I said, there's more than one way to skin this cat. Hopefully some of those with other solutions will chime in here with their favorites. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From malte.brill at t-online.de Wed May 5 03:06:48 2004 From: malte.brill at t-online.de (Malte Brill) Date: Wed, 05 May 2004 09:06:48 +0200 Subject: mySQL Tutorial In-Reply-To: <20040505034016.F120A9300C9@mail.runrev.com> Message-ID: Hi List, first of all thanks for the feedback. :-) I found this link. http://www.entropy.ch/software/MacOSx/mysql/ It explains how to set up mySQL on OsX. Best, Malte From scott at tactilemedia.com Wed May 5 03:58:36 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 05 May 2004 00:58:36 -0700 Subject: Stupid Programming Question In-Reply-To: Message-ID: Recently, "Judy Perry" wrote: >> wait 5 ticks with messages > But, again, for those of my limited programming intelligence, what if I > don't want to allow the viewer/user to send any messages? Then you'll have to disable their email. :-) But if you're talking about Rev, the reason you'd include "with messages" is to allow other stuff to happen, like being able to interrupt your image display sequence. Let's say you wanted to give the user an "out" where they could simply show all the images and be done with it. Using "wait" by itself prevents Rev from doing anything until the script is done executing. But adding "with messages" allows other messages to be sent while the wait is taking place. Using, for example, another button script, you could interrupt the display script and quickly display all the remaining images. In your case, using "wait" by itself is probably fine. I was simply responding to Rob's comment about avoiding the wait command. In the past, I was also one of the proponents against using "wait" at all, but somewhere along the line, "with messages" was added which made for a whole new world of waiting. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From rjb at rz.uni-potsdam.de Wed May 5 05:44:59 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed, 5 May 2004 11:44:59 +0200 Subject: Self adjusting code? In-Reply-To: References: Message-ID: >My first post to this list... > >I am a SuperCard user (for 14 years). I am of course interested in >Revolution's multi-platform output. However... in reading some of >your tutorials, I came across a blurb outlining a restriction on >making run-time changes to Revolution projects (stacks). I am >interested in evolving code... projects that react to, optimize and >adjust to their environment... who uses them and their intent, and >available media, data and communications streams. How does one do >this with Revolution? I can imagine a solution involving two >concurrent projects... one running... the other treated as data >file... adjusted by the first... then, periodically, the first >duplicates the second (now there are three), launches the second >which once launched, quits and deletes the first, then, gets down to >the business of writing changes to it's inactive clone. Wow, that >seems complex... but I can't quite imagine how else to do run-time >self-adjusting code. How have you people solved this problem. > > >Randall Reetz > >randall at thinkthink.com Welcome :) What you envision is possible but you really need to plan things well ahead. There are two basic restrictions that come in your way. 1. Standalone applications can't modify self. You can modify the code on the fly but the changes can't be saved into the same file. However, this is not a show stopper for you since your standalone can contain only the persistent code and all other codes can reside in stack files that can be modified at runtime. 2. When running as a standalone, you are not allowed to compile more than 10 lines of code (see the scriptLimits in Rev's docs). This applies to both replacement of handlers as well as execution through 'do'. I see this as a serious issue for you since it will likely make the workabout from #1 useless. To work around script limits, you would need to break your code in really small chunks, which does not sound plausible for this task. A better solution would be to negotiate with RunRev a special license that increases the script limits. If you have enough funds, you can get the embedded product that allows you to work around this. But this is quite a costly option. No problems, of course, if you are developing this for your own usage and can do all execution under licensed IDEs (I mean that the projects execute only when running in licensed IDE's -- I am using plural in case multiple computers are involved). Considering the relatively low price of Rev Express, this may be an acceptable approach. Robert Brenstein From wmb at internettrainer.com Wed May 5 06:43:42 2004 From: wmb at internettrainer.com (Wolfgang M.Bereuter) Date: Wed, 5 May 2004 12:43:42 +0200 Subject: New Tutorial... In-Reply-To: <07985838-9DD9-11D8-A125-000A95A4EDD2@willamette.edu> References: <4097702F.2070801@chipp.com> <07985838-9DD9-11D8-A125-000A95A4EDD2@willamette.edu> Message-ID: <13B519D4-9E81-11D8-AD34-003065430226@internettrainer.com> On 04.05.2004, at 16:40, John Tenny wrote: > Now THIS is a tutorial! The use of screen shots makes it so much > faster to understand and easier to use. > > If the Rev docs were like this it would greatly reduce the frustration > and foul language. agree since about 3 years;) regards Wolfgang M. Bereuter Trainingsmaps? -- nur klicken m?ssen Sie k?nnen..! INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418 Fax: ++43/1/ 479 2539 From jimlyons at earthlink.net Wed May 5 08:01:35 2004 From: jimlyons at earthlink.net (Jim Lyons) Date: Wed, 5 May 2004 08:01:35 -0400 Subject: Applescriptable RR app? Message-ID: Graham, The most valuable thing I discovered when starting to get into AS (after all these years!) was this PDF primer, AppleScript for Absolute Starters, by Bert Altenburg: http://www.applescriptsourcebook.com/tips/AS4AS.html It has a few other helpful links for learning and asking. HTH. Jim Lyons From dburgun at dsl.pipex.com Wed May 5 08:31:57 2004 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 5 May 2004 13:31:57 +0100 Subject: Self adjusting code? In-Reply-To: <0CB5E47E-9E46-11D8-91E5-0003936A2C42@mac.com> References: <0CB5E47E-9E46-11D8-91E5-0003936A2C42@mac.com> Message-ID: Hi, If you (or anyone else) needs help on this, I have just setup just such a project. There are a few "gotchas" it's good to know about before you start designing/coding. Let me know All the Best Dave >Randall, > >Welcome to this list and to Revolution. > >What I think you are referring to is that Revolution "standalones" >cannot be modified. The is a restriction that the Mac OS does not >have but other OSs do so Revolution imposes this restriction on all >platforms. The standalones are the executables. > >Fortunately, this is easily worked around. All you have to do is >create a standalone which opens your stack. The stack is completely >modifiable just like HyperCard and SuperCard by issuing save >commands. This works the same on all platforms and the stacks >themselves are completely portable across all platforms. > >You can do what you suggest in your original email but it doesn't >need to be that complicated. > >Bill Vlahos > >On May 4, 2004, at 8:24 PM, Randall Reetz wrote: > >>My first post to this list... >> >>I am a SuperCard user (for 14 years). I am of course interested in >>Revolution's multi-platform output. However... in reading some of >>your tutorials, I came across a blurb outlining a restriction on >>making run-time changes to Revolution projects (stacks). I am >>interested in evolving code... projects that react to, optimize and >>adjust to their environment... who uses them and their intent, and >>available media, data and communications streams. How does one do >>this with Revolution? I can imagine a solution involving two >>concurrent projects... one running... the other treated as data >>file... adjusted by the first... then, periodically, the first >>duplicates the second (now there are three), launches the second >>which once launched, quits and deletes the first, then, gets down >>to the business of writing changes to it's inactive clone. Wow, >>that seems complex... but I can't quite imagine how else to do >>run-time self-adjusting code. How have you people solved this >>problem. >> >> >>Randall Reetz >> >>randall at thinkthink.com >> >>_______________________________________________ >>use-revolution mailing list >>use-revolution at lists.runrev.com >>http://lists.runrev.com/mailman/listinfo/use-revolution > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From malte.brill at t-online.de Wed May 5 08:34:03 2004 From: malte.brill at t-online.de (Malte Brill) Date: Wed, 05 May 2004 14:34:03 +0200 Subject: Many thanks for the CGI Tutorial. SQL Tutorial anyone? In-Reply-To: <20040504160119.58AFA9300AB@mail.runrev.com> Message-ID: thank you for the posts that followed this thread. You saved my day with your sense of humour. :-) >OOPS! I think the thank-you was for Jacque, not me...sorry to steal your >thunder Jacque! Chipp, I guess you got enough Voltage on your own. :-) In any case your tutorial is very enlight(e)ning. Very well done. Best, Malte From jperryl at ecs.fullerton.edu Wed May 5 12:53:32 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 5 May 2004 09:53:32 -0700 (PDT) Subject: Stupid Programming Question In-Reply-To: Message-ID: Scott, Thank you for clarifying it. I can see how there is a usage for both wait and wait with messages. Obviously, I don't think I want waiting with messages for this case but can envision instances in which I might. Judy On Wed, 5 May 2004, Scott Rossi wrote: > But if you're talking about Rev, the reason you'd include "with messages" is > to allow other stuff to happen, like being able to interrupt your image > display sequence. Let's say you wanted to give the user an "out" where they > could simply show all the images and be done with it. Using "wait" by > itself prevents Rev from doing anything until the script is done executing. > But adding "with messages" allows other messages to be sent while the wait > is taking place. Using, for example, another button script, you could > interrupt the display script and quickly display all the remaining images. From erikhans08 at yahoo.com Wed May 5 14:51:13 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Wed, 5 May 2004 11:51:13 -0700 (PDT) Subject: Stupid Programming Question -- thanks for the fine explanation In-Reply-To: Message-ID: <20040505185113.60649.qmail@web61101.mail.yahoo.com> --- Scott Rossi wrote: > But if you're talking about Rev, the reason > you'd include "with messages" is > to allow other stuff to happen, like being able > to interrupt your image > display sequence. Let's say you wanted to give > the user an "out" where they > could simply show all the images and be done > with it. Using "wait" by > itself prevents Rev from doing anything until > the script is done executing. > But adding "with messages" allows other > messages to be sent while the wait > is taking place. Using, for example, another > button script, you could > interrupt the display script and quickly > display all the remaining images. > > In your case, using "wait" by itself is > probably fine. I was simply > responding to Rob's comment about avoiding the > wait command. In the past, I > was also one of the proponents against using > "wait" at all, but somewhere > along the line, "with messages" was added which > made for a whole new world > of waiting. -- thanks for the fine explanation ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover From rcozens at pon.net Wed May 5 16:53:09 2004 From: rcozens at pon.net (Rob Cozens) Date: Wed, 5 May 2004 13:53:09 -0700 Subject: Stupid Programming Question In-Reply-To: References: Message-ID: Judy, Did Paul's post solve your problem building image references on-the-fly? -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From chipp at chipp.com Wed May 5 20:10:40 2004 From: chipp at chipp.com (Chipp Walters) Date: Wed, 05 May 2004 19:10:40 -0500 Subject: Download Synergy Client for OSX... Message-ID: <40998280.2050704@chipp.com> A couple of weeks ago, I posted a link to a neat little program which let's you share a keyboard and mouse between a PC and an OSX Mac. For those of you who attempted to do this, you probably ran into some difficulties installing and running the command-line client app. I recently built a GUI for this app, with instructions. It bascially manages the settings and saves them for different setups. Here's how I typically use Synergy: I install the Synergy Server app on my PC. I can turn it on/off easily. Now, I have PC's at both work and home. But, I have only a single iBookG4 laptop. I've installed the new SynergyOSX client on it. When I go to work, I open it up, launch the SynergyOSX client and instantly I'm able to use the Keyboard and Mouse connected to my desktop computer with my Mac laptop. No wires or hardware required (it connects via the LAN, which in my case is wireless). Anyway, I think it's pretty cool. You can try it yourself at: http://www.altuit.com/webs/altuit2/SynergyOSX/default.htm Also, because it's open source, the source code is there too. Some cool ways of shelling out different commands to OSX. best, Chipp From jhurley at infostations.com Thu May 6 07:11:08 2004 From: jhurley at infostations.com (Jim Hurley) Date: Thu, 6 May 2004 04:11:08 -0700 Subject: Bezier curves In-Reply-To: <20040503160016.9D0459300A1@mail.runrev.com> References: <20040503160016.9D0459300A1@mail.runrev.com> Message-ID: > >Message: 9 >Date: Sat, 1 May 2004 21:26:26 -0700 (PDT) >From: Alejandro Tejada >Subject: Re: Bezier curves >To: use-revolution at lists.runrev.com >Message-ID: <20040502042626.88269.qmail at web40504.mail.yahoo.com> >Content-Type: text/plain; charset=us-ascii > > > >[snip] > > >The size of the uncompressed stack is huge!... Why? Alejandro, I remain puzzled about the file size. A single bezier line--two end points only--is about 50 K! A bezier line with 10 segments is 500 K. I wish there were some way in RR to determine the contribution to the file size from each component, each control. As a work-around, to reduce the size, I have added a button to the bezier plug-in which converts any bezier curve to a simple line graphic. It takes each of the bezier line groups and concatenates their graphic points to form a single graphic line and deletes all the controls and their scripts. The size of a stack with a single bezier line drops from 50 K to 4 K. This is something one could do after the bezier controls have done their job and you are satisfied with the shape. I have posted a compact version of the plug-in; it is 80 K. Jim http://home.infostations.net/jhurley/ From rgould8 at aol.com Thu May 6 11:21:27 2004 From: rgould8 at aol.com (rgould8 at aol.com) Date: Thu, 06 May 2004 11:21:27 -0400 Subject: Getting environment settings on Mac Message-ID: <51176083.77ABA6E8.0018446D@aol.com> Can anyone tell me if there's a reliable way to get any of the following system variables on a Mac via Revolution? MHz speed of the processor Amount of available memory (heapspace command docs say it's not really a true value) Amount of free hard-drive space Whether or not an Ethernet card is available (that's true for just about all Macs isn't it?) From rgould8 at aol.com Thu May 6 11:33:54 2004 From: rgould8 at aol.com (rgould8 at aol.com) Date: Thu, 06 May 2004 11:33:54 -0400 Subject: Create alias from CDROM to desktop? Message-ID: <0FB9908B.21CAD719.0018446D@aol.com> I've got a CD-ROM that has a Revolution app running on it, and I want that Revolution app to create an alias, pointint to itself to the user's desktop. I know that I can use the defaultFolder to find the path to the app, and I know I can use "the specialFolderPath" to find the path to the desktop. Can anyone tell me how I could pass these parameters to Applescript to perform the alias creation? Will I run into issues with the difference in how Applescript vs. Rev handles the "/Volumes/" string, or how the CD-ROM path is formed? From scott at tactilemedia.com Thu May 6 11:41:34 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 06 May 2004 08:41:34 -0700 Subject: Create alias from CDROM to desktop? In-Reply-To: <0FB9908B.21CAD719.0018446D@aol.com> Message-ID: Recently, "rgould8 at aol.com" wrote: > I've got a CD-ROM that has a Revolution app running on it, and I want that > Revolution app to create an alias, pointint to itself to the user's desktop. > I know that I can use the defaultFolder to find the path to the app, and I > know I can use "the specialFolderPath" to find the path to the desktop. Can > anyone tell me how I could pass these parameters to Applescript to perform the > alias creation? Will I run into issues with the difference in how Applescript > vs. Rev handles the "/Volumes/" string, or how the CD-ROM path is formed? Is there a reason you can't use the create alias command in Rev? Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From wouter.abraham at pi.be Thu May 6 12:38:35 2004 From: wouter.abraham at pi.be (Wouter) Date: Thu, 6 May 2004 18:38:35 +0200 Subject: Getting environment settings on Mac In-Reply-To: <20040506160121.EF7789300B4@mail.runrev.com> References: <20040506160121.EF7789300B4@mail.runrev.com> Message-ID: On 06 May 2004, at 18:01, use-revolution-request at lists.runrev.com wrote: > Message: 6 > Date: Thu, 06 May 2004 11:21:27 -0400 > From: rgould8 at aol.com > Subject: Getting environment settings on Mac > To: use-revolution at lists.runrev.com > Message-ID: <51176083.77ABA6E8.0018446D at aol.com> > Content-Type: text/plain; charset=iso-8859-1 > > Can anyone tell me if there's a reliable way to get any of the > following system variables on a Mac via Revolution? > > MHz speed of the processor > Amount of available memory (heapspace command docs say it's not really > a true value) > Amount of free hard-drive space > Whether or not an Ethernet card is available (that's true for just > about all Macs isn't it?) > Hi, On Mac OSX you can use the shell command like: get shell("system_profiler -detailLevel -1") For more options see the man pages. HTH Greetings, WA From kray at sonsothunder.com Thu May 6 13:39:22 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 6 May 2004 12:39:22 -0500 Subject: Create alias from CDROM to desktop? In-Reply-To: Message-ID: <00b701c43391$1609c4f0$6601a8c0@precision340> > > I've got a CD-ROM that has a Revolution app running on it, > and I want > > that Revolution app to create an alias, pointint to itself to the > > user's desktop. I know that I can use the defaultFolder to find the > > path to the app, and I know I can use "the > specialFolderPath" to find > > the path to the desktop. Can anyone tell me how I could pass these > > parameters to Applescript to perform the alias creation? > Will I run > > into issues with the difference in how Applescript vs. Rev > handles the > > "/Volumes/" string, or how the CD-ROM path is formed? > > Is there a reason you can't use the create alias command in Rev? Yes, unfortunately there's a bug in Bugzilla (#1059) about the inability to make aliases to apps in OS X because they are "folders", and 'create alias' only works with files. You can use the revMacFromUNIXPath functions to convert the '/'-delimited paths to ":"-delimited ones that Applescript likes. You can then do this: put "tell app" && q("Finder") & cr & \ "set tFile to" && q(tPathToApp) & cr & \ "make new alias file at" && pAliasPath && "to tFile" & cr & \ "set the name of (the result) to" && q(tAliasName) & cr & \ "end tell" into tScript do tScript as AppleScript Oh, q() is my function that wraps quotes around things: function q pWhat return quote & pWhat & quote end q HTH, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jbv.silences at Club-Internet.fr Thu May 6 14:29:03 2004 From: jbv.silences at Club-Internet.fr (jbv) Date: Thu, 06 May 2004 20:29:03 +0200 Subject: Rev cgi install + potential problem with cgi tutorial Message-ID: <409A83E2.6155FD36@Club-Internet.fr> Hi folks, You probably remember my posts from last week about the problems I was facing while trying to install Rev cgi on a Linux server. I'm happy to say that these problems have been solved, and I thought some of you could be interested in knowing what was wrong. Actually the main reason why Rev cgi wasn't running properly (not running at all in fact) was because the server configuration had been carefully set to prevent any executable to launch from the cgi-bin folder. The local Linux expert who halped me on this issue told me that a few rules should be followed, for instance : - it looks like a BAD IDEA to install the cgi engine and the scripts in the same folder (it might open a serious SECURITY HOLE in Apache), and any well-configured server doesn't allow that; - it is a good idea to set privileges of the scripts files (and of the directories in which they are installed) so that only the cgi engine (that is supposed to run them) can run them; - if your cgi scripts are supposed to create / delete folders & files, it is a good idea to allow these operations in a special directory, and to set privileges so that only your engine and your scripts could do it. We actually spent a couple of hours setting and testing everything, and now everything runs fine. I don't think I'm overreacting on this topic (although I don't want to scare anyone) but I have the strong feeling that if you want to use Rev cgi for some serious / professional project (and not only some home experiments), you should be wise to take all these security issues into consideration, and ask for advice from a Linux specialist. For that reason, I think that the installation part of the cgi tutorial should be re-written, and should include more detailed advices about the installation procedure. Best, JB From psahores at easynet.fr Thu May 6 15:39:15 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Thu, 6 May 2004 21:39:15 +0200 Subject: Rev cgi install + potential problem with cgi tutorial In-Reply-To: <409A83E2.6155FD36@Club-Internet.fr> References: <409A83E2.6155FD36@Club-Internet.fr> Message-ID: <0EF560F0-9F95-11D8-BD8A-000A95C61E96@easynet.fr> Le 6 mai 04, ? 20:29, jbv a ?crit : > Hi folks, > > You probably remember my posts from last week about > the problems I was facing while trying to install Rev cgi > on a Linux server. > > I'm happy to say that these problems have been solved, > and I thought some of you could be interested in knowing > what was wrong. > Actually the main reason why Rev cgi wasn't running > properly (not running at all in fact) was because the server > configuration had been carefully set to prevent any executable > to launch from the cgi-bin folder. > > The local Linux expert who halped me on this issue told me > that a few rules should be followed, for instance : > - it looks like a BAD IDEA to install the cgi engine and the scripts > in the same folder (it might open a serious SECURITY HOLE in > Apache), and any well-configured server doesn't allow that; > - it is a good idea to set privileges of the scripts files (and of the > directories in which they are installed) so that only the cgi > engine (that is supposed to run them) can run them; > - if your cgi scripts are supposed to create / delete folders & files, > it is a good idea to allow these operations in a special directory, > and to set privileges so that only your engine and your scripts > could do it. > > We actually spent a couple of hours setting and testing everything, > and now everything runs fine. > > I don't think I'm overreacting on this topic (although I don't want > to scare anyone) but I have the strong feeling that if you want to > use Rev cgi for some serious / professional project (and not only > some home experiments), you should be wise to take all these security > issues into consideration, and ask for advice from a Linux specialist. > > For that reason, I think that the installation part of the cgi tutorial > should be re-written, and should include more detailed advices about > the installation procedure. > > Best, > JB > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From brentj84062 at earthlink.net Tue May 4 19:57:05 2004 From: brentj84062 at earthlink.net (Brent Anderson) Date: Tue, 4 May 2004 17:57:05 -0600 Subject: Screen Resolution Message-ID: Hello. Is there any way that you can change the monitor resolution when you run a stack (For example, you run the stack in a 1280X1024 resolution and when it runs the preOpenStack handler, it sets the monitor resolution to 800X600) Thanks, Brent Anderson From jacque at hyperactivesw.com Thu May 6 18:19:23 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 06 May 2004 17:19:23 -0500 Subject: Rev cgi install + potential problem with cgi tutorial In-Reply-To: <409A83E2.6155FD36@Club-Internet.fr> References: <409A83E2.6155FD36@Club-Internet.fr> Message-ID: <409AB9EB.9020708@hyperactivesw.com> On 5/6/04 1:29 PM, jbv wrote: > Hi folks, > > You probably remember my posts from last week about > the problems I was facing while trying to install Rev cgi > on a Linux server. > > I'm happy to say that these problems have been solved, > and I thought some of you could be interested in knowing > what was wrong. I'm glad you got it figured out, and thanks for posting. > Actually the main reason why Rev cgi wasn't running > properly (not running at all in fact) was because the server > configuration had been carefully set to prevent any executable > to launch from the cgi-bin folder. I see. I haven't run into that in any of the ISPs I've used, but it is good to note. I'll update the tutorial to mention this. > > The local Linux expert who halped me on this issue told me > that a few rules should be followed, for instance : > - it looks like a BAD IDEA to install the cgi engine and the scripts > in the same folder (it might open a serious SECURITY HOLE in > Apache), and any well-configured server doesn't allow that; This usually comes from admins who don't understand the Rev engine. Did he mention what security holes might occur? I have been told that the Rev engine is fairly unique in that there isn't any way to hack into it, so there aren't any security holes regardless of what folder it is installed into. I understand that this is "famous last words," but I have been unable, for example, to run a script from a local source that accesses the engine on my server. I won't say there is no way to abuse it, but Scott Raney (the author of the engine) didn't think there was. That being said, you can of course write a script that is insecure itself. There is a risk if your scripts indescriminately execute any parameters that are sent (which the tutorial mentions.) Avoid using "do" to execute parameters without testing them first to make sure they are valid and/or safe. If a script is executing any params it receives without checking them first, then it doesn't really matter where the engine is installed, since the problem is with the script itself. > - it is a good idea to set privileges of the scripts files (and of the > directories in which they are installed) so that only the cgi > engine (that is supposed to run them) can run them; If the scripts are in the cgi folder, then permissions should already be correct. However, I'd still like to update the tutorial to cover this -- what permissions did you set on the scripts, and where were they installed? > - if your cgi scripts are supposed to create / delete folders & files, > it is a good idea to allow these operations in a special directory, > and to set privileges so that only your engine and your scripts > could do it. This is covered in the tutorial, though maybe not as clearly as it should be. The tutorial mentions that typically you can't create files within the cgi folder, and that another folder should be used for that purpose. It suggests a sub-directory with different permissions, or a folder outside the cgi folder somewhere. > > We actually spent a couple of hours setting and testing everything, > and now everything runs fine. > > I don't think I'm overreacting on this topic (although I don't want > to scare anyone) but I have the strong feeling that if you want to > use Rev cgi for some serious / professional project (and not only > some home experiments), you should be wise to take all these security > issues into consideration, and ask for advice from a Linux specialist. I understand your concerns, and they are entirely valid. The difference is that the Rev engine is internally secure and won't allow much abuse. I am having trouble thinking of a way that anyone could remotely hack into it (though I'd very much like to know if anyone does find one.) So while your Linux advisor was right to be concerned, much of what he told you doesn't apply to Revolution cgis. However, the point that your cgi folder did not allow executables to be installed inside should be addressed by the tutorial (I never thought of that, since the three ISPs I've used all allowed it.) The simple solution is to just install the engine wherever the ISP requires, make sure the paths to the engine are correct in the scripts, and leave the scripts in the cgi folder. The problem with this, though, is that so many ISPs have never heard of Rev that many of them are unwilling to install it. So if your ISP does allow executables in the cgi folder, it is much simpler to just put it there yourself. The alternative often involves a very long explanation to the ISP about what Rev is, why it is safe, how it can't be abused, etc. > > For that reason, I think that the installation part of the cgi tutorial > should be re-written, and should include more detailed advices about > the installation procedure. Agreed, I'll make some changes over the weekend. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Thu May 6 18:47:37 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 06 May 2004 15:47:37 -0700 Subject: Rev cgi install + potential problem with cgi tutorial In-Reply-To: <409AB9EB.9020708@hyperactivesw.com> References: <409A83E2.6155FD36@Club-Internet.fr> <409AB9EB.9020708@hyperactivesw.com> Message-ID: <409AC089.5010401@fourthworld.com> J. Landman Gay wrote: > I understand your concerns, and they are entirely valid. The difference > is that the Rev engine is internally secure and won't allow much abuse. > I am having trouble thinking of a way that anyone could remotely hack > into it (though I'd very much like to know if anyone does find one.) One could do dumb things like put in a "do" statement that executes incomming CGI params. But that would be dumb. Moreover, if the Linux admin does his job right the worst that could happens is that you'll hose your own account setup but everything else on the machine would be fine. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From davis.phil at comcast.net Thu May 6 19:06:14 2004 From: davis.phil at comcast.net (Phil Davis) Date: Thu, 6 May 2004 16:06:14 -0700 Subject: Screen Resolution References: Message-ID: <003101c433be$bba2ada0$9d7ba8c0@RON7XP> An alternative to doing this (if needed) might be to detect the screenRect and then scale your screen objects to the way they would appear on an 800 x 600 screen. It's doable as long as you store width, height, loc, textSize, etc. for each object as percentages of the width & height of your optimum screen size (e.g. 800 x 600). Then you can scale the objects to their correct relative sizes and locs on any screen. Phil Davis ----- Original Message ----- From: "Brent Anderson" To: Sent: Tuesday, May 04, 2004 4:57 PM Subject: Screen Resolution > Hello. > > Is there any way that you can change the monitor resolution when you > run a stack (For example, you run the stack in a 1280X1024 resolution > and when it runs the preOpenStack handler, it sets the monitor > resolution to 800X600) > > Thanks, > Brent Anderson > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From hershrev at realtorsgroup.us Thu May 6 19:30:49 2004 From: hershrev at realtorsgroup.us (hershrev) Date: Thu, 6 May 2004 19:30:49 -0400 Subject: lost stack Message-ID: <680D838D-9FB5-11D8-AEEE-0030654C1E62@realtorsgroup.us> Hello, every body I just finished a subStack after a couple of hours, I saved it and .... there is no stack, it just disappeared . Any way to retrieve it ? Thanks, hershrev. From jperryl at ecs.fullerton.edu Thu May 6 19:38:46 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 6 May 2004 16:38:46 -0700 (PDT) Subject: Stupid Programming Question In-Reply-To: <113.32456abe.2dc98c8e@aol.com> Message-ID: Hmmm... Okay, this didn't work. I get: executing at 4:36:11 PM Type Chunk: no such object Object Stacks Line hide control ("c"&x&".jpg") Hint c17.jpg Now it's true that there is no c17.jpg (AFAIK). Yup. Just checked the app browser and no such animal. Any guesses? Judy On Tue, 4 May 2004 SimPLsol at aol.com wrote: > Judy, > There are many ways to do this. Perhaps this is the easiest: > > repeat with x = 1 to the number of controls > show control ("c"&x&".jpg") > wait 5 ticks > end repeat > From scott at tactilemedia.com Thu May 6 21:20:14 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 06 May 2004 18:20:14 -0700 Subject: Stupid Programming Question In-Reply-To: Message-ID: Recently, "Judy Perry" wrote: >> repeat with x = 1 to the number of controls >> show control ("c"&x&".jpg") >> wait 5 ticks >> end repeat > executing at 4:36:11 PM > Type Chunk: no such object > Object Stacks > Line hide control ("c"&x&".jpg") > Hint c17.jpg > > Now it's true that there is no c17.jpg (AFAIK). Yup. Just checked the > app browser and no such animal. > > Any guesses? First of all, the error you cite references the word "hide" so the script that caused the error is not really the one above. I'm guessing maybe you tried to do the opposite, hide the images, instead of showing them? Otherwise, if your goal is to show *images* only, change the word "control" to "image". Using "controls" counts the total number of controls on the card (fields, buttons, scrollbars, images, etc) and will be out of sync with the number of images only. repeat with x = 1 to the number of images show image ("c"&x&".jpg") wait 5 ticks end repeat Let us know if this is not what you're after. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From jacque at hyperactivesw.com Thu May 6 21:54:08 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 06 May 2004 20:54:08 -0500 Subject: Rev cgi install + potential problem with cgi tutorial In-Reply-To: <409AC089.5010401@fourthworld.com> References: <409A83E2.6155FD36@Club-Internet.fr> <409AB9EB.9020708@hyperactivesw.com> <409AC089.5010401@fourthworld.com> Message-ID: <409AEC40.1060500@hyperactivesw.com> On 5/6/04 5:47 PM, Richard Gaskin wrote: > J. Landman Gay wrote: > >> I understand your concerns, and they are entirely valid. The >> difference is that the Rev engine is internally secure and won't allow >> much abuse. I am having trouble thinking of a way that anyone could >> remotely hack into it (though I'd very much like to know if anyone >> does find one.) > > > One could do dumb things like put in a "do" statement that executes > incomming CGI params. But that would be dumb. > > Moreover, if the Linux admin does his job right the worst that could > happens is that you'll hose your own account setup but everything else > on the machine would be fine. > Right. The tutorial warns against using "do" and "send" this way. But it seems to me that this kind of script could run and get you into trouble no matter where the engine or the scripts were located, or what their permissions were (provided they had the minimum permissions to run at all.) I can't think of any way to abuse or hack the engine remotely. But I really do want to know if putting the Rev engine in the cgi folder causes a "hole" in Apache. I can't think how it would, but I'm no Linux guru either. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jperryl at ecs.fullerton.edu Fri May 7 00:07:30 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 6 May 2004 21:07:30 -0700 (PDT) Subject: Stupid Programming Question In-Reply-To: Message-ID: Scott, Thanks for the suggestion... the script in question does both -- hides on preOpenCard (as it's shown on openCard) then shows on openCard. I am troubled by the fact that it seems to reference an image which does not exist (Hint: c17.jpg -- no such animal as there are only 1 - 16 cx.jpg). What I did was take Paul's script (the show below) and used hide in preOpenCard and show in openCard. Thanks for suggesting that I swap out "controls" with "images" -- this is what I had tried before Paul pointed out my concatenation error and omitted parenthesis. Will try again... Judy On Thu, 6 May 2004, Scott Rossi wrote: > Recently, "Judy Perry" wrote: > > >> repeat with x = 1 to the number of controls > >> show control ("c"&x&".jpg") > >> wait 5 ticks > >> end repeat > Otherwise, if your goal is to show *images* only, change the word "control" > to "image". Using "controls" counts the total number of controls on the > card (fields, buttons, scrollbars, images, etc) and will be out of sync with > the number of images only. > > repeat with x = 1 to the number of images > show image ("c"&x&".jpg") > wait 5 ticks > end repeat From alex at mindlube.com Fri May 7 01:11:00 2004 From: alex at mindlube.com (Alex Rice) Date: Thu, 6 May 2004 23:11:00 -0600 Subject: lurking with v2.2 Message-ID: Hi all, 2.2 seems like a good'un! Monte, the Distro Builder in 2.2 is *well done*. Just used it for the first time & I have to say the GUI is very "usable" and the builder seems pretty darn quick too. I am not programming in Runrev at my new job, so I will be kinda scarce from here on forward. Sorry if my bugzilla responses/feedback have been missed. Just no time now. In addition to a handful of half-finished little proggies in Runrev, I've also taken an interest in 3D modeling w/ Blender (blender3d.org), and programming with Torque Game Engine (see garagegames.com). The latter two have nothing to do with Runrev unfortunately. Also, I've started a job as IT Help Desk manager for Genzyme Genetics, a great company that has their IT dept stationed in Santa Fe, NM. But doing a lot less programming obviously. Finally, if anyone would be interested in beta-testing a little disk-space tool called "Fat File Finder", let me know off list. It's not quite ready for beta, but getting close. -- Alex Rice | Mindlube Software | http://mindlube.com From katir at hindu.org Fri May 7 01:25:46 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Thu, 6 May 2004 19:25:46 -1000 Subject: OT: CSS--Kill extra vertical space in block elements Message-ID: I build widgets with Revolution that output HTML for different contexts. No better told for that for sure! Forgive me for going way off topic here, but no better pool of minds to draw from than the Rev family ;-) I just couldn't help myself... I'm just getting into CSS, it's great.. and I have one challenge I can't solve. It is the universal default that block elements apply extra padding top and bottom... i.e. extra vertical white space. Coming from a print world

Learn about Tropical Fruits

A paragraph about tropical fruits

Another paragraph about papayas

Should all have no extra space between them unless the designer specifically declares it with a a space before or after value applied to the paragraph formatting. And of course there is some minimal auto leading set as a percentage of the M height of the current font size. I always cringed in web development when elements forced a gaping horizontal "hole" across the page... in effect, it appears as the insertion of an unwanted blank line.... and was hoping with CSS there would be some way to overcome the extra vertical white space added to all block elements... Of course, one can do stuff like this:

A paragraph about tropical fruits

Another paragraph about papayas

but then you lose separate style control over the two lines... email me off list if you know of a solution or a place to go on the web to find it... I have Dan Schafer's great book, HTML Utopia: Designing without Tables using CSS... but I can't get any combination of properties to "kill" the block elements' extra vertical default padding. The "height" property is too inflexible... because the content is dynamic and a single height value won't work if e.g. the text suddenly goes to three lines instead of two. I was hoping line-height=1 would work, and act like a print document layout program would=-provide the vertical white space required by the font height and no more. But, no go. I'm guessing browsers have some kind of super high value for block element "auto-leading" that was established in the early days of the web and the question is how to defeat that? TIA Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From malte.brill at t-online.de Fri May 7 03:02:47 2004 From: malte.brill at t-online.de (Malte Brill) Date: Fri, 07 May 2004 09:02:47 +0200 Subject: Another CGI question. Keeping an array over more than one Webpage. In-Reply-To: <20040506160121.EF7789300B4@mail.runrev.com> Message-ID: Hi, now that I?ve set everything up on my machine here I?m eager to play around with the CGI stuff. Would it be possible to keep the values stored in an array over more than one Webpage and manipulate that array on Page 1, Page 2, etc? Do I need to use cookies for that? Best, Malte From FlexibleLearning at aol.com Fri May 7 03:14:04 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Fri, 7 May 2004 03:14:04 EDT Subject: The Scripter's Scrapbook Message-ID: <166.2f19695b.2dcc913c@aol.com> This is a request for brief feedback. Well over 500 copies of The Scripter's Scrapbook have been downloaded since the program's re-launch in March of this year... 65% for use with MetaCard/Revolution 35% for use as a StandAlone - 17% Mac Classic OS9 - 49% Mac OSX - 34% Windows Your positive and/or negative feedback about any aspect of the program would be very helpful at this time. A simple checkbox form is available at www.FlexibleLearning.com/ssbkFeedback.htm Were you a 'one time user'? Do you use it all the time? We would like to hear from you! Thank you. * New user download: Get a plugin and/or standalone version at www.FlexibleLearning.com/ssbk.htm * Existing user upgrade: Use the link in the "About" screen, or select "Checking for updates" in the HELP menu. /Hugh From jbv.silences at Club-Internet.fr Fri May 7 04:18:17 2004 From: jbv.silences at Club-Internet.fr (jbv) Date: Fri, 07 May 2004 10:18:17 +0200 Subject: Rev cgi install + potential problem with cgi tutorial References: <409A83E2.6155FD36@Club-Internet.fr> <409AC089.5010401@fourthworld.com> <409AEC40.1060500@hyperactivesw.com> Message-ID: <409B4648.BDAF2AFD@Club-Internet.fr> Hi again, > > > > One could do dumb things like put in a "do" statement that executes > > incomming CGI params. But that would be dumb. > > > > Moreover, if the Linux admin does his job right the worst that could > > happens is that you'll hose your own account setup but everything else > > on the machine would be fine. > > > > Right. The tutorial warns against using "do" and "send" this way. But it > seems to me that this kind of script could run and get you into trouble > no matter where the engine or the scripts were located, or what their > permissions were (provided they had the minimum permissions to run at all.) > > I can't think of any way to abuse or hack the engine remotely. But I > really do want to know if putting the Rev engine in the cgi folder > causes a "hole" in Apache. I can't think how it would, but I'm no Linux > guru either. > Although I don't remember every little detail of the installation we did, I'll try to elaborate on a couple of issues... One should take 2 things into consideration : - the risk of having a hacker take the control of the Rev engine and harm your server is very slim (almost non existent actually), unless your domain name is ebay or paypal... - OTOH the risk for a hacker to be able to hijack your server and use it to harm other servers is increased by installing an executable and its scripts in the SAME folder, like the cgi-bin. According to what I've been told, that's how it can cause a security hole in Apache, and for most server admins it's always a big NO-NO. If you are only running your own experiments on your own server, you might decide to take the risk. But when you install Rev cgi on the server of one of your clients for a commercial project (which is what I'm doing now), you really don't want to take that risk. As for our installation : - the Rev engine has been installed in /usr/local/bin/ with several privileges and group settings, so that the installation can only be modified via a ssh client, and not with a ftp client - the scripts are in the cgi-bin, and can be uploaded via ftp - when the engine needs to create / delete files & folders, it can be done only in a special directory in the html account, and the privileges have been set so that creating & deleting files & folders can be done via script only. Again I don't want to scare anyone. The online cgi tutorial is great and we can all thank Jacqueline for writing it. Furthermore Rev cgi is a great tool, and I've used it myself for some critical webapps, like locating in realtime on a map cars in the desert via GPS data. But security should be kept in mind when installing it on a server. The Linux expert who helped me said that most skilled ISPs would pull their hair when reading the installation chapter of the tutorial. That's why I have the feeling that including security issues in that chapter might help any of us when trying to convince our ISP to install Rev cgi on a server... Best, JB From wouter.abraham at pi.be Fri May 7 04:54:41 2004 From: wouter.abraham at pi.be (Wouter) Date: Fri, 7 May 2004 10:54:41 +0200 Subject: Plugins, fonts Message-ID: <2D9E242E-A004-11D8-9BB1-003065CC999E@pi.be> Oops typo, can must be can't, sorry... >> >> Please review the credit for your contributions that I added in B4 and >> let me know if you feel it's appropriate (Help->Licensing, Version >> History tab). Also, please consider updating the Read Me to include a >> descriptions of this new "active plugin" feature. >> That' s what I was looking for, version history, but unfortunately I still can't find it. > May be an "embedded version history" in the script of the Home stack > or somewhere near > would be a nice addition to make sure there always is a guide to what > has changed since the previous version. > >> Richard Gaskin >> Fourth World Media Corporation >> > > Nevertheless nice work. > Greetings, > WA From signe.sanne at roman.uib.no Fri May 7 05:12:19 2004 From: signe.sanne at roman.uib.no (Signe Marie Sanne) Date: Fri, 07 May 2004 11:12:19 +0200 Subject: Create alias from CDROM to desktop? In-Reply-To: <00b701c43391$1609c4f0$6601a8c0@precision340> References: Message-ID: <5.2.0.8.2.20040507110509.027a43f8@alf.uib.no> At 12:39 06.05.2004 -0500, you wrote: > > > I've got a CD-ROM that has a Revolution app running on it, > > and I want > > > that Revolution app to create an alias, pointint to itself to the > > > user's desktop. I know that I can use the defaultFolder to find the > > > path to the app, and I know I can use "the > > specialFolderPath" to find > > > the path to the desktop. Can anyone tell me how I could pass these > > > parameters to Applescript to perform the alias creation? > > Will I run > > > into issues with the difference in how Applescript vs. Rev > > handles the > > > "/Volumes/" string, or how the CD-ROM path is formed? > > > > Is there a reason you can't use the create alias command in Rev? > >Yes, unfortunately there's a bug in Bugzilla (#1059) about the inability to >make aliases to apps in OS X because they are "folders", and 'create alias' >only works with files. I do not know about OS X, but on Windows it works (sorry for the text size, copied from MC): put specialfolderpath("desktop") into skrbord set itemdel to "/" if the platform = "win32" then put item 1 of skrbord into hd --Creates a folder "/DysEngMP/" on C : put hd & "/DysEngMP/" into mappe if there is no folder mappe then create folder mappe ---Creates alias on desktop: put skrbord &"/DysEngMP.lnk" into snarvei create alias(snarvei) to file mappe --"file" is used even for a folder Regards Signe Marie Sanne 1. amanuensis Signe Marie Sanne e-mail: signe.sanne at roman.uib.no Romansk Institutt tel: +47 55 58 21 27 ?isteins gt. 1 5007 Bergen http://www.hf.uib.no/hfolk/mlab/hjem/default.html Norway From frank at backtalk.com Fri May 7 05:28:49 2004 From: frank at backtalk.com (Frank Leahy) Date: Fri, 7 May 2004 10:28:49 +0100 Subject: Screen Resolution In-Reply-To: <20040507091151.422659300E2@mail.runrev.com> References: <20040507091151.422659300E2@mail.runrev.com> Message-ID: On May 7, 2004, at 10:11 AM, use-revolution-request at lists.runrev.com wrote: > From: Brent Anderson > Subject: Screen Resolution > To: use-revolution at lists.runrev.com > Message-ID: > Content-Type: text/plain; charset=US-ASCII; format=flowed > > Hello. > > Is there any way that you can change the monitor resolution when you > run a stack (For example, you run the stack in a 1280X1024 resolution > and when it runs the preOpenStack handler, it sets the monitor > resolution to 800X600) > > Thanks, > Brent Anderson > Don't do it. I *hate* programs that mess with my screen resolution. I've got a 17" screen and I don't want to see *anything* at 800 x 600! Also there are a lot of LCDs (laptops, flat-panels, etc.) that don't support many resolutions well or at all, and you could leave the screen in a state that makes it illegible or unusable. -- Frank From jbv.silences at Club-Internet.fr Fri May 7 09:06:56 2004 From: jbv.silences at Club-Internet.fr (jbv) Date: Fri, 07 May 2004 15:06:56 +0200 Subject: Another CGI question. Keeping an array over more than one Webpage. References: Message-ID: <409B89F0.AE1B0D05@Club-Internet.fr> Malte, > Hi, > > now that I?ve set everything up on my machine here I?m eager to play around > with the CGI stuff. Would it be possible to keep the values stored in an > array over more than one Webpage and manipulate that array on Page 1, Page > 2, etc? Do I need to use cookies for that? > you can use temp files on your server, or hidden flds on your successive webpages with the post cmd. JB From psahores at easynet.fr Fri May 7 09:46:18 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Fri, 7 May 2004 15:46:18 +0200 Subject: Another CGI question. Keeping an array over more than one Webpage. In-Reply-To: <409B89F0.AE1B0D05@Club-Internet.fr> References: <409B89F0.AE1B0D05@Club-Internet.fr> Message-ID: Le 7 mai 04, ? 15:06, jbv a ?crit : > > > Malte, > >> Hi, >> >> now that I?ve set everything up on my machine here I?m eager to play >> around >> with the CGI stuff. Would it be possible to keep the values stored in >> an >> array over more than one Webpage and manipulate that array on Page 1, >> Page >> 2, etc? Do I need to use cookies for that? >> > > you can use temp files on your server, or hidden flds on your > successive webpages with the post cmd. > > JB Hello, The second way you describe, JB, (the use of "..." tags in the posted Form) is the first i would recommand if the cgi/app need to interact with lots of clients in concurrent access mode. If needed, this way lets us crypt - encode/decode - the hidden tags contents from the server-side cgi/app, if we wants to preserve those datas from beeing viewed, on the client side, by reading the form source code. About using globals on the server-side : be carefull to separe them in 3 different classes of globals (with no care about their contents and structure - arrays, not arrays). The first category of globals have to handle the cgi/app environment vars (forms headers and masks, lists of users access authorisations, etc...) to be loaded when the cgi/app starts, the second category of globals will contains the main incoming posted requests values - as "postedtag1=value1&postedtag2=value2, etc... - you can decode in as many as you need "subvars" to handle the main global of thoses posted requests values, the third category of globals will have to handle the datas to be replyied over the web or lan to the final client-side user. In handling the code trough this method, we are able to prevent any possible difficulties about the concurrent access requests. About using temp files : because a read/write proc is always slower than getting/setting a global var, i avoid, for my own to use temp files. Best, Pierre > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From jbv.silences at Club-Internet.fr Fri May 7 10:55:15 2004 From: jbv.silences at Club-Internet.fr (jbv) Date: Fri, 07 May 2004 16:55:15 +0200 Subject: Another CGI question. Keeping an array over more than oneWebpage. References: Message-ID: <409BA34E.ABE2E0AD@Club-Internet.fr> Pierre, > > About using temp files : because a read/write proc is always slower > than getting/setting a global var, i avoid, for my own to use temp > files. > I see your point, but if the end user is not supposed to see the data, temp files are the only solution (because end users can always display the source code of the web page). JB From rcozens at pon.net Fri May 7 11:04:51 2004 From: rcozens at pon.net (Rob Cozens) Date: Fri, 7 May 2004 08:04:51 -0700 Subject: Stupid Programming Question Message-ID: Judy, I presume you have the image name building issue solved now; but as an afterthought I offer a solution that does not rely on concatenation, handles 0 to n images, and allows for more meaningful image names: Place a list of image names in a field, property, or variable, in the order in which they are to appear. repeat for each line imageName in [field/property/variable] show image imageName wait 5 ticks end repeat -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From janschenkel at yahoo.com Fri May 7 11:17:37 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 7 May 2004 08:17:37 -0700 (PDT) Subject: Another CGI question. Keeping an array over more than one Webpage. In-Reply-To: Message-ID: <20040507151737.65566.qmail@web60502.mail.yahoo.com> --- Malte Brill wrote: > Hi, > > now that I?ve set everything up on my machine here > I?m eager to play around > with the CGI stuff. Would it be possible to keep the > values stored in an > array over more than one Webpage and manipulate that > array on Page 1, Page > 2, etc? Do I need to use cookies for that? > > Best, > > Malte > Hi Malte, At the risk of getting slammed by the anti-cookie lobby : you could always store session variables in cookies. You can serialise your array and encrypt that data as well if you want to, and these cookies can be automatically deleted when the user quits his browser, or you can have them expire at a certain time, etc. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover From RGould8 at aol.com Fri May 7 12:29:41 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Fri, 7 May 2004 12:29:41 EDT Subject: Rev app as wrapper to talking oddcast heads Message-ID: <12a.40c5a775.2dcd1375@aol.com> Now that's an interesting title for an email, eh? Well, my boss has asked me if it's technically possible to create a crossplatform Revolution "wrapper" around the talking-heads that are generated from the _www.oddcast.com_ (http://www.oddcast.com) servers. Those talking heads are actually Flash files, and I know that Flash files can be displayed in Revolution via Quicktime. However, Quicktime sometimes has a problem with Flash files that contain interactivity. In our case, we want to "publish" a talking head speaking a sentence or two to a web-server, but have the Revolution app on the client-side pull from that URL to play the talking-head in a custom window. Anyone know if this would be possible? From jhurley at infostations.com Fri May 7 12:39:51 2004 From: jhurley at infostations.com (Jim Hurley) Date: Fri, 7 May 2004 09:39:51 -0700 Subject: Run Rev hangs while loading plug-ins Message-ID: >> >>Message: 13 >>Date: Mon, 22 Mar 2004 13:14:17 +1000 >>From: Sarah Reichelt >>Subject: Re: Run Rev hangs while loading plug-ins >>To: How to use Revolution >>Message-ID: <0142DB99-7BAF-11D8-9857-0003937A97B8 at genesearch.com.au> >>Content-Type: text/plain; charset=US-ASCII; format=flowed >> >>I've had this happen (Mac OS X) and I never discovered why. Although it >>seems to hang while loading plugins, emptying the plugins folder >>doesn't help. The only solution I found was to re-install. It hasn't >>happened often but I now always keep the installation disk image, just >>in case :-) >> >>Sarah >> >>On 22 Mar 2004, at 5:19 am, Jim Hurley wrote: >> >> > Has anyone else experienced this? >> > >> > My copy of RR 2.1.2 (Mac OS 9) seem to wear out after a while--pardon >> > the anthropomorphism. >> > >> > After a period of time, when opening RR, it hangs while loading the >> > plug-ins. Is there a work- around when this happens? >> > >> > My only recourse has been to always keep a clean backup and trash the >> > non-functional copy. >> > >> > Jim >> > >Sarah, > >I did a little more experimenting with this. I replaced the plugins >folder with one from a working version of RR. No dice. > >I next replace the components folder and all was well. > > Next time I'll try individual items within the components folder to >see which one is at fault. > >Jim Sarah, Maybe you and I are the only ones with this problem, i.e. RR hangs on "Loadiing Plug-ins" It just happened to me again and this time I just replaced the "Saves" folder in the "Components" folder and that restored the functionality. I had just been having a problem with saving a stack and had to force quite. For what its worth, Jim From klaus at major-k.de Fri May 7 12:46:10 2004 From: klaus at major-k.de (Klaus Major) Date: Fri, 7 May 2004 18:46:10 +0200 Subject: Rev app as wrapper to talking oddcast heads In-Reply-To: <12a.40c5a775.2dcd1375@aol.com> References: <12a.40c5a775.2dcd1375@aol.com> Message-ID: <0B838A60-A046-11D8-B2D7-000A27B49A96@major-k.de> Hi Rob, > Now that's an interesting title for an email, eh? > Well, my boss has asked me if it's technically possible to create a > crossplatform Revolution "wrapper" around the talking-heads that are > generated from > the _www.oddcast.com_ (http://www.oddcast.com) servers. > Those talking heads are actually Flash files, and I know that Flash > files > can be displayed in Revolution via Quicktime. However, Quicktime > sometimes has > a problem with Flash files that contain interactivity. > In our case, we want to "publish" a talking head speaking a sentence > or two > to a web-server, but have the Revolution app on the client-side pull > from that > URL to play the talking-head in a custom window. > Anyone know if this would be possible? should be, since you can set the filename of a player to a url like "http://www..." and QT takes care of the download... With the wonderful QT external supplied by Trevor DeVore (thanks a thousand times, Trevor!!! :-) you can even monitor the progress of the download, if necessary, which is not possible otherwise... But the problem with Flash not being 100% compatible with QT (or vice versa) still remains... Hope that helps... Regards Klaus Major klaus at major-k.de www.major-k.de From jbv.silences at Club-Internet.fr Fri May 7 13:03:45 2004 From: jbv.silences at Club-Internet.fr (jbv) Date: Fri, 07 May 2004 19:03:45 +0200 Subject: Another CGI question. Keeping an array over more than oneWebpage. References: <20040507151737.65566.qmail@web60502.mail.yahoo.com> Message-ID: <409BC169.482C87F1@Club-Internet.fr> Jan, > > At the risk of getting slammed by the anti-cookie > lobby : you could always store session variables in > cookies. > You can serialise your array and encrypt that data as > well if you want to, and these cookies can be > automatically deleted when the user quits his browser, > or you can have them expire at a certain time, etc. > Although I might be one of the most virulent anti-cookie activists (I NEVER used cookies in the numerous websites I've developped), I won't slam you... ;-) Nevertheless, I keep thinking that using cookies is a blatant demonstration of lazyness for a programer (nothing personal of course) and that there are more elegant solutions. Furthermore, I know many end users who are virulent anti- cookies as well, who disable systematically the cookie option of their browser, and who get really irritated when a webpage refuses to display because they turned off the cookie option and who swear god they'll never visit that website again... JB From lafourcade.romain at numericable.fr Fri May 7 13:11:35 2004 From: lafourcade.romain at numericable.fr (Romain Lafourcade) Date: Fri, 07 May 2004 19:11:35 +0200 Subject: OT: CSS In-Reply-To: <20040507091151.A31259300DB@mail.runrev.com> Message-ID: le 07.05.2004 11:11, use-revolution-request at lists.runrev.com ? use-revolution-request at lists.runrev.com a ?crit?: > I build widgets with Revolution that output HTML for different > contexts. No better told for that for sure! > > Forgive me for going way off topic here, but no better pool of minds to > draw from than the Rev family ;-) I just couldn't help myself... > > I'm just getting into CSS, it's great.. and I have one challenge I > can't solve. > > It is the universal default that block elements apply extra padding top > and bottom... i.e. extra vertical white space. > > Coming from a print world > >

Learn about Tropical Fruits

>

A paragraph about tropical fruits

>

Another paragraph about papayas

> > Should all have no extra space between them unless the designer > specifically declares it with a a space before or after value applied > to the paragraph formatting. And of course there is some minimal auto > leading set as a percentage of the M height of the current font size. > > I always cringed in web development when elements forced a gaping > horizontal "hole" across the page... in effect, it appears as the > insertion of an unwanted blank line.... and was hoping with CSS there > would be some way to overcome the extra vertical white space added to > all block elements... > > Of course, one can do stuff like this: > >

A paragraph about tropical fruits
>

Another paragraph about papayas

> > but then you lose separate style control over the two lines... email me > off list if you know of a solution or a place to go on the web to find > it... I have Dan Schafer's great book, HTML Utopia: Designing without > Tables using CSS... but I can't get any combination of properties to > "kill" the block elements' extra vertical default padding. The "height" > property is too inflexible... because the content is dynamic and a > single height value won't work if e.g. the text suddenly goes to three > lines instead of two. I was hoping line-height=1 would work, and act > like a print document layout program would=-provide the vertical white > space required by the font height and no more. But, no go. > > I'm guessing browsers have some kind of super high value for block > element "auto-leading" that was established in the early days of the > web and the question is how to defeat that? That's where CSS proves to be REALLY cool ! Put this in the header of your HTML document : < Document sans titre

Learn about Tropical Fruits

A paragraph about tropical fruits

Another paragraph about papayas

You may as well specify relative sized margins... +------------------------------------------------------------------+ | |+ | 00 00000 00000 00 00 00 || | 0000 00 00 00 00 000 000 00000 || | 00 00 000 00 000 0000 0000 00000 00 000 00000 00 || | 00 00 0 00 00 0 00 00 0000 00 00 00 000 00 00 00 00 || | 00 000 00 000 00 00 00 00 00 00 00 00 0000000 00 || | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 || | 00 00000 00000 00 00 00000 00 00 00 00000 0000 || | || | ---------------------------------------------------------------- || | || | Email -> 100mo at 100mo.net + URL -> http://www.100mo.net || | || +------------------------------------------------------------------+| +------------------------------------------------------------------+ From jperryl at ecs.fullerton.edu Fri May 7 14:00:03 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 7 May 2004 11:00:03 -0700 (PDT) Subject: Stupid Programming Question In-Reply-To: Message-ID: Rob, > I presume you have the image name building issue solved now; --Nope. Fortunately, I saved my amateurish solution of one line of script for each image spelled out by hand... But I haven't had a chance yet to test the most recent suggestion to change "controls" to "images" (perhaps the problem is that it is looking for a control named c17.jpg?) > but as > an afterthought I offer a solution that does not rely on > concatenation, handles 0 to n images, and allows for more meaningful > image names: > > Place a list of image names in a field, property, or variable, in the > order in which they are to appear. > > repeat for each line imageName in [field/property/variable] > show image imageName > wait 5 ticks > end repeat --I had thought of this... now this still requires 16 lines of text as opposed to code. Concatenation would be the more elegant solution if I can get it to actually be a solution ;-) Thanks for the suggestion. I'll try it after trying the previous one! Judy From ambassador at fourthworld.com Fri May 7 14:01:06 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 07 May 2004 11:01:06 -0700 Subject: Another CGI question. Keeping an array over more than oneWebpage. In-Reply-To: <409BC169.482C87F1@Club-Internet.fr> References: <20040507151737.65566.qmail@web60502.mail.yahoo.com> <409BC169.482C87F1@Club-Internet.fr> Message-ID: <409BCEE2.6080601@fourthworld.com> jbv wrote: > Although I might be one of the most virulent anti-cookie > activists (I NEVER used cookies in the numerous websites > I've developped), I won't slam you... ;-) > Nevertheless, I keep thinking that using cookies is a blatant > demonstration of lazyness for a programer (nothing personal > of course) and that there are more elegant solutions. > Furthermore, I know many end users who are virulent anti- > cookies as well, who disable systematically the cookie option > of their browser, and who get really irritated when a webpage > refuses to display because they turned off the cookie option and > who swear god they'll never visit that website again... I'm no fan of cookie abuse, and I looooooove that Mozilla let's me approve them individually (I always nix the ones from evil ad companies that track you all over the Web). But how else does one maintain state information, esp. between sessions? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From RGould8 at aol.com Fri May 7 14:12:21 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Fri, 7 May 2004 14:12:21 EDT Subject: Way to make app undetectable? Message-ID: <14.28eb9bd7.2dcd2b85@aol.com> Is there a way to make a Revolution application run from the startup folder on Mac and Windows, and then be undetectable to the user thereafter? (i.e. Not having the icon show up in the taskbar or dock, and not showing the menubar for the app when it's running) I realize that you'd probably never be able to hide the Rev app from control-alt-delete, but that's ok. From SimPLsol at aol.com Fri May 7 14:16:39 2004 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Fri, 7 May 2004 14:16:39 EDT Subject: Stupid Programming Question Message-ID: <139.2ea19e6a.2dcd2c87@aol.com> Judy, Another option, which requires even less code - if it fits your needs, is to put the images into a folder and use a repeat loop to view them, something like this: repeat with i = 1 to the number of items in imageFolder go to item i of imageFolder end repeat This would solve the problem of trying to determine beforehand how many images there were; 16 vs 17, etc. You could combine this with Rob's suggestion; at runtime make a list of the items in the folder, then sort the list, and view item i of the list Paul Looney From jbv.silences at Club-Internet.fr Fri May 7 14:20:49 2004 From: jbv.silences at Club-Internet.fr (jbv) Date: Fri, 07 May 2004 20:20:49 +0200 Subject: Another CGI question. Keeping an array over more thanoneWebpage. References: <20040507151737.65566.qmail@web60502.mail.yahoo.com> <409BCEE2.6080601@fourthworld.com> Message-ID: <409BD376.F4253BCA@Club-Internet.fr> > > I'm no fan of cookie abuse, and I looooooove that Mozilla let's me > approve them individually (I always nix the ones from evil ad companies > that track you all over the Web). > > But how else does one maintain state information, esp. between sessions? > simply by asking users to identify clearly at the beginning of each session (and by managing the session from the server). I know what some ppl might say : identification is more time consuming (and therefore more disturbing) than using cookies, but from the end user point of view it's really different : identification means that he agrees on it, mostly because it is needed for the content of the session, while he doesn't always know what's going on with cookies... JB From pixelbird at interisland.net Fri May 7 14:39:43 2004 From: pixelbird at interisland.net (Ken Norris) Date: Fri, 7 May 2004 11:39:43 -0700 Subject: Screen Resolution In-Reply-To: <20040507160025.6DE529300F8@mail.runrev.com> References: <20040507160025.6DE529300F8@mail.runrev.com> Message-ID: On May 7, 2004, at 9:00 AM, use-revolution-request at lists.runrev.com wrote: > Date: Fri, 7 May 2004 10:28:49 +0100 > From: Frank Leahy > Subject: Re: Screen Resolution > > On May 7, 2004, at 10:11 AM, use-revolution-request at lists.runrev.com > wrote: > >> From: Brent Anderson >> Subject: Screen Resolution >> To: use-revolution at lists.runrev.com >> Message-ID: >> Content-Type: text/plain; charset=US-ASCII; format=flowed >> >> Hello. >> >> Is there any way that you can change the monitor resolution when you >> run a stack (For example, you run the stack in a 1280X1024 resolution >> and when it runs the preOpenStack handler, it sets the monitor >> resolution to 800X600) > > Don't do it. I *hate* programs that mess with my screen resolution. > I've got a 17" screen and I don't want to see *anything* at 800 x 600! > Also there are a lot of LCDs (laptops, flat-panels, etc.) that don't > support many resolutions well or at all, and you could leave the screen > in a state that makes it illegible or unusable. ========== I know where you're coming from. It's extremely rude and pretentious to change someone else's monitor resolution, even if you change it back when closing (IMO _never_ change it without putting it back where it was, in any case). However, especially when dealing with web pages, you need to keep in mind that many, if not most, student;s home computers are second machines running at lower resolutions. My old 1400 PowerBook, which I use on the internet a lot for emails and lazy surfing, etc., maxes out at 800x600. Having said that, we should probably offer geometry choices. If a project is built and locked in at 800x600, which would make for small windows on a monitor set at, say 1280x1024, the user might need to bump it up so it's readable. Therefore we should offer the user choices of _program_ resolution, not mess with their monitor's resolution. Granted, that's a bunch of extra scripting and tweaking (I believe geometry should be hard-coded for professionalism), but I don't think anyone should _ever_ (i.e., the only exception being for the scripter's personal stuff) change someone else's monitor resolution without offering them choices. I often make fullscreen standalone apps for disabled users. These are designed to provide closed environments within which the user has customized controls. The method I use is brute-force, but solid: On my 17 inch monitor, I'm personally most comfortable at 1024x768. Everything looks "normal" to me at that resolution, so that is where I create. When I'm done, I redesign the program at additional 800x600 and 1280x1024 resolutions for the stack files. Because the main window of these apps are fullscreen, these are actually separate UI stacks, and I always use data and image files for most everything, preferences, etc., so it doesn't matter which set of stack files is being used. The image controls, for example, automatically resize the images to match their size, which have been manually proportioned for each resolution stack. Here's my method for that: On startup, the Memory Error dialog contains the engine and the memory check (per Richard Gaskin's suggestion) first thing. If there is a memory problem, it will (hopefully) display the warning (always at its original created res size), and abort continuing to load. It uses a "send " to wait out that process. If it's OK, it doesn't display the warning. Then it checks monitor resolution. If it lies within the available resolutions, it loads a list of appropriate windows (substack files) the first of which is the splash. However, if it is not among the available resolutions, it displays a "Monitor Configuration Out Of Range" dialog warning that says it cannot load at the monitor's current resolution and offers to change it, or to pick a resolution for displaying the app (i.e., smaller which is available). If the user decides to change the display, it logs the current display configuration for returning it to the original on closing, then changes it. If the user picks a smaller resolution for the app, it will load the stacks designed for that resolution. Then the splash stack for the designated resolution opens, usually with some kind of progress thing while it loads up all the globals, including all references and preferences, menus, and other configurations. Now the all the app's stuff is fully loaded at the current monitor's resolution, or less if the user decided to go with choosing that option. I realize, because of the fullscreen stuff, that this isn't necessarily appropriate for every app, but I think the procedure is otherwise fairly generic. HTH, Ken N From pixelbird at interisland.net Fri May 7 15:00:58 2004 From: pixelbird at interisland.net (Ken Norris) Date: Fri, 7 May 2004 12:00:58 -0700 Subject: use-revolution Digest, Vol 8, Issue 10 In-Reply-To: <20040507160025.6DE529300F8@mail.runrev.com> References: <20040507160025.6DE529300F8@mail.runrev.com> Message-ID: Hi Rob and Judy, > Date: Fri, 7 May 2004 08:04:51 -0700 > From: Rob Cozens > Subject: Re: Stupid Programming Question > > Judy, > > I presume you have the image name building issue solved now; but as > an afterthought I offer a solution that does not rely on > concatenation, handles 0 to n images, and allows for more meaningful > image names: > > Place a list of image names in a field, property, or variable, in the > order in which they are to appear. > > repeat for each line imageName in [field/property/variable] > show image imageName > wait 5 ticks > end repeat =========== I use separate files for the images. Somewhere in the startup it looks in the images folder, builds a list with filepaths, and configures an index scrolling list field. It basically uses only one card which contains the UI (which has the index field for manual access , the slide show picker and timer controls, manual navigation controls, print controls, file editing, etc.), and a single image holder control. What's cool is that you are free to edit the image file folder (add, delete, etc.) at will. When you do so from within the program, be sure it automatically reconfigures the list and list field (using the same routine at startup). HTH, Ken N. From capellan2000 at yahoo.com Fri May 7 15:10:42 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Fri, 7 May 2004 12:10:42 -0700 (PDT) Subject: Another CGI question. Keeping an array over more than one Webpage In-Reply-To: <20040507160025.AA3299300FA@mail.runrev.com> Message-ID: <20040507191042.61943.qmail@web40506.mail.yahoo.com> on Fri, 07 May 2004 jbv respond to Pierre: > Pierre wrote: > About using temp files : because a read/write proc > is always slower > > than getting/setting a global var, i avoid, for my > own to use temp > > files. > > > > I see your point, but if the end user is not > supposed to see the > data, temp files are the only solution (because end > users can > always display the source code of the web page). Not always, according to some JB. There is a product named "WebLock Pro" http://www.weblockpro.com that encrypt webpages. It's interesting, because the creator of this technology could disable the printscreen key, so the user could not take a screen- shot of the pages protected. I've read that it's easy to override this protection scheme, but the instruction to do so are not clear. By the way, talking about protection of data, Does exist a way to get the contents or the scripts of stacks opened directly in the engine, downloaded from the web? Someone told me that it's possible to make a dump of the memory and take the data from the resulting file. It's really possible to get a stack from a dumped memory file? Thanks in advance. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover From kray at sonsothunder.com Fri May 7 15:09:28 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 7 May 2004 14:09:28 -0500 Subject: Create alias from CDROM to desktop? In-Reply-To: <5.2.0.8.2.20040507110509.027a43f8@alf.uib.no> Message-ID: <00a901c43466$d54d2d90$6601a8c0@precision340> > > > Is there a reason you can't use the create alias command in Rev? > > > >Yes, unfortunately there's a bug in Bugzilla (#1059) about the > >inability to make aliases to apps in OS X because they are > "folders", > >and 'create alias' only works with files. > > I do not know about OS X, but on Windows it works ... Very interesting! An undocumented feature! Although 'create alias' should really be extended to use "folder" instead of "file" in this instance, and it should be made to work in OS X, but very good to know. Thanks! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jacque at hyperactivesw.com Fri May 7 15:27:34 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 07 May 2004 14:27:34 -0500 Subject: Stupid Programming Question In-Reply-To: References: Message-ID: <409BE326.3060102@hyperactivesw.com> On 5/7/04 1:00 PM, Judy Perry wrote: > Rob, > > >>I presume you have the image name building issue solved now; > > > --Nope. Fortunately, I saved my amateurish solution of one line of script > for each image spelled out by hand... But I haven't had a chance yet to > test the most recent suggestion to change "controls" to "images" (perhaps > the problem is that it is looking for a control named c17.jpg?) That's it exactly. Basically, a "control" is anything on the tool palette -- a button, a field, a player, a graphic, a scrollbar, an image, etc. If you repeat for the number of controls, you'll get numbering from one to however many things are on the card. If you repeat for only the number of images, the repeat will limit itself to that type of control only. If your card has 16 images, then you'll get numbering from 1 to 16 and the repeat loop will exit. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From nnoydb at excite.com Fri May 7 15:33:32 2004 From: nnoydb at excite.com (Kevin) Date: Fri, 7 May 2004 15:33:32 -0400 (EDT) Subject: Get image ID? Message-ID: <20040507193332.1C0A0299F1@xprdmailfe22.nwk.excite.com> Okay I would like to alter the icon used by a button at runtime. I tried this: put the icon of button "Go" into currentID put the id of image "stop" into stopID this generates a error how my I get the reasource id of a image named "stop" to place into the "icon" property of a button. Kevin -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From ambassador at fourthworld.com Fri May 7 16:05:21 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 07 May 2004 13:05:21 -0700 Subject: Another CGI question. Keeping an array over more thanoneWebpage. In-Reply-To: <409BD376.F4253BCA@Club-Internet.fr> References: <20040507151737.65566.qmail@web60502.mail.yahoo.com> <409BCEE2.6080601@fourthworld.com> <409BD376.F4253BCA@Club-Internet.fr> Message-ID: <409BEC01.8010602@fourthworld.com> jbv wrote: >>But how else does one maintain state information, esp. between sessions? > > simply by asking users to identify clearly at the beginning of each session Personally, I would prefer an option. I hate re-entering the same info everytime I visit a site with customized features. The only cookies I really distrust are those evil ad-trackers; cookies placed for my convenience are welcome on my machine. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From RobertEppich at epsi.bc.ca Fri May 7 16:42:20 2004 From: RobertEppich at epsi.bc.ca (Robert Eppich) Date: Fri, 7 May 2004 13:42:20 -0700 Subject: Script Debug Mode Off, no openStack, etc. sent. Message-ID: <092C7C54-A067-11D8-8D6A-000A95C4B8E4@epsi.bc.ca> Hello all, Using Revolution 2.2 with Mac OS X 10.3.3 I have discovered that no openStack, preopenStack, or startup messages are sent when the script debug mode is turned off and you launch Revolution 2.2 by dragging and dropping a stack onto Rev 2.2. This did not happen in Rev 2.1.2. Can anyone replicate this behavior? Thanks Robert Eppich From klaus at major-k.de Fri May 7 16:52:23 2004 From: klaus at major-k.de (Klaus Major) Date: Fri, 7 May 2004 22:52:23 +0200 Subject: Get image ID? In-Reply-To: <20040507193332.1C0A0299F1@xprdmailfe22.nwk.excite.com> References: <20040507193332.1C0A0299F1@xprdmailfe22.nwk.excite.com> Message-ID: <70CF73A4-A068-11D8-B2D7-000A27B49A96@major-k.de> Hi Kevin, > > > Okay I would like to alter the icon used by a button at runtime. > > I tried this: > > put the icon of button "Go" into currentID > put the id of image "stop" into stopID > > this generates a error how my I get the reasource id of a image named > "stop" to place into the "icon" property of a button. do you mean: ... set the icon of btn "Go" to (the id of img "stop") ... ? > Kevin Regards Klaus Major klaus at major-k.de www.major-k.de From martin at materiaprima.fsnet.co.uk Fri May 7 17:05:40 2004 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Fri, 07 May 2004 22:05:40 +0100 Subject: Get image ID? In-Reply-To: <20040507193332.1C0A0299F1@xprdmailfe22.nwk.excite.com> Message-ID: >Okay I would like to alter the icon used by a button at runtime. > >I tried this: > >put the icon of button "Go" into currentID >put the id of image "stop" into stopID > >this generates a error how my I get the reasource id of a image named >"stop" to place into the "icon" property of a button. > >Kevin Not knowing what the error is I hazard a wild guess that perhaps the image "stop" is elsewhere than on the current card ? In that case : put the id of image "stop" of card "othercard" into stopID might work, or you may have to include the name of the stack it's in if it isn't the same one. hth Martin Baxter From rcozens at pon.net Fri May 7 17:16:57 2004 From: rcozens at pon.net (Rob Cozens) Date: Fri, 7 May 2004 14:16:57 -0700 Subject: Stupid Programming Question In-Reply-To: References: Message-ID: >--Nope. Fortunately, I saved my amateurish solution of one line of script >for each image spelled out by hand... But I haven't had a chance yet to >test the most recent suggestion to change "controls" to "images" (perhaps >the problem is that it is looking for a control named c17.jpg?) Judy, I believe this is because there are more images on the card than just the 16 jpgs, correct? If so, how about: repeat with x = 1 to 16 show image ("c"&x&".jpg") wait 5 ticks end repeat -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From psahores at easynet.fr Fri May 7 17:57:35 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Fri, 7 May 2004 23:57:35 +0200 Subject: Another CGI question. Keeping an array over more than oneWebpage. In-Reply-To: <409BA34E.ABE2E0AD@Club-Internet.fr> References: <409BA34E.ABE2E0AD@Club-Internet.fr> Message-ID: <8C2CB0A4-A071-11D8-A041-000A95C61E96@easynet.fr> 'Evening JB, True in this case even if i prefer, for my own, the "hidden tags+encrypted indexes" way ;) Best Regards, Pierre > > Pierre, > >> >> About using temp files : because a read/write proc is always slower >> than getting/setting a global var, i avoid, for my own to use temp >> files. >> > > I see your point, but if the end user is not supposed to see the > data, temp files are the only solution (because end users can > always display the source code of the web page). > > JB > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jbv.silences at Club-Internet.fr Fri May 7 18:07:17 2004 From: jbv.silences at Club-Internet.fr (jbv) Date: Sat, 08 May 2004 00:07:17 +0200 Subject: Another CGI question. Keeping an array over more thanoneWebpage. References: <8C2CB0A4-A071-11D8-A041-000A95C61E96@easynet.fr> Message-ID: <409C0894.E75B1A32@Club-Internet.fr> Pierre, Yes you're right : passing encrypted data through "hidden" tags looks like a very elegant trade-off solution... JB > 'Evening JB, > > True in this case even if i prefer, for my own, the "hidden > tags+encrypted indexes" way ;) > > Best Regards, > > Pierre > > > > > Pierre, > > > >> > >> About using temp files : because a read/write proc is always slower > >> than getting/setting a global var, i avoid, for my own to use temp > >> files. > >> > > > > I see your point, but if the end user is not supposed to see the > > data, temp files are the only solution (because end users can > > always display the source code of the web page). > > > > JB > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From psahores at easynet.fr Fri May 7 18:39:58 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Sat, 8 May 2004 00:39:58 +0200 Subject: Another CGI question. Keeping an array over more than one Webpage In-Reply-To: <20040507191042.61943.qmail@web40506.mail.yahoo.com> References: <20040507191042.61943.qmail@web40506.mail.yahoo.com> Message-ID: <77EF4064-A077-11D8-A041-000A95C61E96@easynet.fr> Le 7 mai 04, ? 21:10, Alejandro Tejada a ?crit : > on Fri, 07 May 2004 > jbv respond to Pierre: > >> Pierre wrote: >> About using temp files : because a read/write proc >> is always slower >>> than getting/setting a global var, i avoid, for my >> own to use temp >>> files. >>> >> >> I see your point, but if the end user is not >> supposed to see the >> data, temp files are the only solution (because end >> users can >> always display the source code of the web page). > > Not always, according to some JB. > There is a product named "WebLock Pro" > > http://www.weblockpro.com > > that encrypt webpages. It's interesting, because > the creator of this technology could disable the > printscreen key, so the user could not take a screen- > shot of the pages protected. I've read that it's > easy to override this protection scheme, but the > instruction to do so are not clear. 'Evening, > > By the way, talking about protection of data, > Does exist a way to get the contents or > the scripts of stacks opened directly in the engine, > downloaded from the web? > > Someone told me that it's possible to make a dump of > the memory and take the data from the resulting file. > > It's really possible to get a stack from a dumped > memory file? Even if it's, in theory, possible, suppose, just as an example, in between many other possibles ways : 1.- your main stack is password protected ; 2.- this stack contains substacks protected by randomly set passwords ; 3.- the mainstack herits from the substacks stack's and/or card's scripts by activating them as front and back scripts... No sure it will be a piece of cake to rebuild all the stuff needed to get the stack cracked and runable at the same time... I remember an hypercard stack i did so uncrackable, uncopyable, etc... that i could never restart it until i took together an old unprotected issue of it and the source code of the protected stack to build a new one... In about protecting code and apps, the key features are in the design, lots more than in the technical tasks... Best Regards; Pierre > > Thanks in advance. > > al > > ===== > Visit my site: > http://www.geocities.com/capellan2000/ > Search the mail list: > http://mindlube.com/cgi-bin/search-use-rev.cgi > > > > > __________________________________ > Do you Yahoo!? > Win a $20,000 Career Makeover at Yahoo! HotJobs > http://hotjobs.sweepstakes.yahoo.com/careermakeover > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From revlists at canelasoftware.com Fri May 7 19:15:55 2004 From: revlists at canelasoftware.com (Mark Talluto) Date: Fri, 7 May 2004 16:15:55 -0700 Subject: Screen Resolution In-Reply-To: References: <20040507160025.6DE529300F8@mail.runrev.com> Message-ID: <7D924212-A07C-11D8-8417-003065B78238@canelasoftware.com> On May 7, 2004, at 11:39 AM, Ken Norris wrote: >> Don't do it. I *hate* programs that mess with my screen resolution. >> I've got a 17" screen and I don't want to see *anything* at 800 x 600! >> Also there are a lot of LCDs (laptops, flat-panels, etc.) that don't >> support many resolutions well or at all, and you could leave the >> screen >> in a state that makes it illegible or unusable. I am not sure I remember the exact reason for this topic. I think someone wanted to do it for a game. This is a very common practice for game developers. In particular, first person shooters do this a lot. You can really push the frame rates up with lower resolutions screens. Being a gamer myself, I am not at all bothered by the action as long as the resolution goes back to normal after the game is quit. If indeed this feature request was for a game, then it is quite valid. Applications users on the other would not tolerate this. This would be do to users wanting to use the maximum resolution for work that their eyes can handle. Speed of execution is not an issue in this situation. I have yet to find a need for an application to adjust my resolution for me. I can do that just fine from the OS. -- Best regards, Mark Talluto http://www.canelasoftware.com From kray at sonsothunder.com Fri May 7 22:05:28 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 7 May 2004 21:05:28 -0500 Subject: Way to make app undetectable? In-Reply-To: <14.28eb9bd7.2dcd2b85@aol.com> Message-ID: <00ed01c434a0$f2ce8910$6601a8c0@precision340> Yes, Take a look at the tip at: http://www.sonsothunder.com/devres/revolution/revolution.htm?_proc003 for Mac OS X... For Windows, I believe you only need to make sure the stack is saved invisibly and then make the standalone and it won't appear in the taskbar. HTH, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > RGould8 at aol.com > Sent: Friday, May 07, 2004 1:12 PM > To: use-revolution at lists.runrev.com > Subject: Way to make app undetectable? > > > Is there a way to make a Revolution application run from the > startup folder > on Mac and Windows, and then be undetectable to the user > thereafter? (i.e. > Not having the icon show up in the taskbar or dock, and not > showing the menubar > for the app when it's running) > I realize that you'd probably never be able to hide the Rev app from > control-alt-delete, but that's ok. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From tvogelaar at de-mare.nl Sat May 8 00:10:15 2004 From: tvogelaar at de-mare.nl (Terry Vogelaar (de Mare)) Date: Sat, 8 May 2004 06:10:15 +0200 Subject: Another CGI question. Keeping an array over more than one Webpage. In-Reply-To: <409B89F0.AE1B0D05@Club-Internet.fr> Message-ID: <9BCE85DA-A0A5-11D8-9043-0030656FD666@de-mare.nl> jbv heeft op vrijdag, 7 mei 2004 om 15:06 (Europe/Amsterdam) het volgende geschreven: > Malte, > >> Hi, >> now that I?ve set everything up on my machine here I?m eager to play >> around >> with the CGI stuff. Would it be possible to keep the values stored in >> an >> array over more than one Webpage and manipulate that array on Page 1, >> Page >> 2, etc? Do I need to use cookies for that? > > you can use temp files on your server, or hidden flds on your > successive webpages with the post cmd. > > JB Remember that the engine quits as soon as the file is processed. So while you read the results, the engine is not running anymore. When you save data to an array, it has to be a custom property as an array and you have to save the stack to keep the data. That data will remain there available for all users until it is erased or overwritten. I also don't see any use for temp files on the server. Nice for hit counters and guest books, although these files are not really temporary. As soon as the site is viewed by two or more users simultaneously, these temp files will mix up data for each viewer. Hidden inputs are indeed a good solution. That means that each transit to another file is a form submission. Also cookies are good. Terry From curry at pair.com Sat May 8 00:58:42 2004 From: curry at pair.com (curry) Date: Fri, 7 May 2004 23:58:42 -0500 Subject: Screen Resolution In-Reply-To: <20040507211938.7BF9F930116@mail.runrev.com> References: <20040507211938.7BF9F930116@mail.runrev.com> Message-ID: I've seen this conversation replay for years on different lists. OK, maybe we should have a bot that scans mailing lists and if the term "screen resolution" comes up, e-mails "Aaaahh! No! Life as we know it will cease to exist!" Seriously, like most stuff, it depends. Indeed, it could be problematic if used with total abandon. On the other hand, it is common and even the norm for some types of games, although more for PC than for Mac. So, there are two sides here, and it could be just as illogical to ignore the context and have a blanket anti-switching agenda as it is to ignore user and interface considerations and abuse the feature. If the feature is abused then nature will probably take its course and users will make their discomfort known and the developer will have to adjust. I am not using switching for any current work but if I did, no need to feel guilty; I think the solution for how to do it humanely is extremely simple. Just default to no switching and let the user choose to turn it on, through options and also perhaps by asking them whether they want to do it the first time they run the game. Then the user makes the choice with their own preference and responsibility. You offer an extra option for the user's enjoyment if they want it and the peace of mind not to use it if they don't. Some users would hate it and some would love it. So let them decide and maybe they will all love your software. Curry From pixelbird at interisland.net Sat May 8 01:30:47 2004 From: pixelbird at interisland.net (Ken Norris) Date: Fri, 7 May 2004 22:30:47 -0700 Subject: Stupid Programming Question In-Reply-To: <20040507211938.5EB73930115@mail.runrev.com> References: <20040507211938.5EB73930115@mail.runrev.com> Message-ID: Date: Fri, 7 May 2004 12:00:58 -0700 From: Ken Norris Subject: Re: use-revolution Digest, Vol 8, Issue 10 To: use-revolution at lists.runrev.com Message-ID: Content-Type: text/plain; charset=US-ASCII; format=flowed OOPS! Sorry, I got in a hurry and failed to replace the subject line. Here it is again: Hi Rob and Judy, > Date: Fri, 7 May 2004 08:04:51 -0700 > From: Rob Cozens > Subject: Re: Stupid Programming Question > > Judy, > > I presume you have the image name building issue solved now; but as > an afterthought I offer a solution that does not rely on > concatenation, handles 0 to n images, and allows for more meaningful > image names: > > Place a list of image names in a field, property, or variable, in the > order in which they are to appear. > > repeat for each line imageName in [field/property/variable] > show image imageName > wait 5 ticks > end repeat =========== I use separate files for the images. Somewhere in the startup it looks in the images folder, builds a list with filepaths, and configures an index scrolling list field. It basically uses only one card which contains the UI (which has the index field for manual access , the slide show picker and timer controls, manual navigation controls, print controls, file editing, etc.), and a single image holder control. What's cool is that you are free to edit the image file folder (add, delete, etc.) at will. When you do so from within the program, be sure it automatically reconfigures the list and list field (using the same routine at startup). HTH, Ken N. From nnoydb at excite.com Sat May 8 03:01:04 2004 From: nnoydb at excite.com (Kevin) Date: Sat, 8 May 2004 03:01:04 -0400 (EDT) Subject: Tutorial explanation object lib for creating a multiplatform splitter? Message-ID: <20040508070104.564DEAFA8F@xprdmailfe5.nwk.excite.com> I have searched the archives but have not found any information on creating a multi-platform splitter (or any splitter for that matter). Might anyone know where I can find such a example or tutorial? K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From janschenkel at yahoo.com Sat May 8 03:58:48 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat, 8 May 2004 00:58:48 -0700 (PDT) Subject: Tutorial explanation object lib for creating a multiplatform splitter? In-Reply-To: <20040508070104.564DEAFA8F@xprdmailfe5.nwk.excite.com> Message-ID: <20040508075848.47634.qmail@web60503.mail.yahoo.com> --- Kevin wrote: > > > I have searched the archives but have not found any > information on creating a multi-platform splitter > (or any splitter for that matter). Might anyone > know where I can find such a example or tutorial? > > K > Hi Kevin, At the risk of sounding stupid : what exactly is your definition of a splitter ? Maybe you didn't find anything in the archives because people on here call it something else. My first guess would be that you want something like in Apple's Software Update : an area between the top list and the bottom 'Information' field that displays information regarding the selected update. If that's what you're looking for, you can disect the script of the splitter in the 'Custom Properties' panel of the Revolution IDE 'Properties' palette. If you're looking for something else, don't hesitate to poke me. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover From malte.brill at t-online.de Sat May 8 05:07:03 2004 From: malte.brill at t-online.de (Malte Brill) Date: Sat, 08 May 2004 11:07:03 +0200 Subject: Another CGI question. Keeping an array over more than one Webpage. In-Reply-To: <20040507211938.B83F1930117@mail.runrev.com> Message-ID: Hi all, thanks for responding. Terry Vogelaar wrote: >Remember that the engine quits as soon as the file is processed. So >while you read the results, the engine is not running anymore. When you >save data to an array, it has to be a custom property as an array and >you have to save the stack to keep the data. That data will remain >there available for all users until it is erased or overwritten. That?s what I suspected. And explains why I failed with my experiments. Jan Schenkel wrote: >At the risk of getting slammed by the anti-cookie >lobby : you could always store session variables in >cookies. >You can serialise your array and encrypt that data as >well if you want to, and these cookies can be >automatically deleted when the user quits his browser, >or you can have them expire at a certain time, etc. That is what I?m dreaming being able to do. But I must admit it is a bit over my head at the moment. I?m trying to set up 4 Webpages. fruit.html meat.html perishable_food.html vegetables.html Each Html file has a set of forms. A desrciption of an item, a field to type a numerical value in. The CGI should be able to add the values submitted by the user as long as his session takes and allow to add other items. If the user hits a "Now what?s for dinner" button the CGI should return something like this: You got 3 bananas, 1 peach, 1 broccoli, 5 potatoes, 1 egg, 1 cup of cream and a steak. You can do a steak with broccoli and au gratin potatoes. You can also have a fruit salad for dessert if you are willing to spend about 1.5 hours in the kitchen. or if there is no food: You got no food at all. Go shopping you lazy bag. (Guess what I?ve been toled until now...) JBV wrote: > Nevertheless, I keep thinking that using cookies is a blatant > demonstration of lazyness for a programer (nothing personal > of course) Or they don?t know any better yet. ;-) >and that there are more elegant solutions. I?m eager to learn these. But what is the most important for me is to find out what I could be able doing using Rev as CGI. > Furthermore, I know many end users who are virulent anti- > cookies as well, who disable systematically the cookie option > of their browser, and who get really irritated when a webpage > refuses to display because they turned off the cookie option and > who swear god they'll never visit that website again... That?s a serious concern. I am aware that users can turn off cookies. I know quite a few Users that disable cookies. But they would be willing to accept cookies if they are really neccesary. For my experiments it is not a serious concern, as it is only a brainteaser for me. Richard Gaskin wrote: >I'm no fan of cookie abuse, and I looooooove that Mozilla let's me >approve them individually (I always nix the ones from evil ad companies >that track you all over the Web). I hope many Users think that way. I guess if one promisses not to bomb the user with popup adds they might be willing to accept cookies. >But how else does one maintain state information, esp. between sessions? I would also love to know that. jbv wrote: > you can use temp files on your server, or hidden flds on your > successive webpages with the post cmd. Pierre Sahore wrote: >The second way you describe, JB, (the use of "..." >tags in the posted Form) is the first i would recommand if the cgi/app >need to interact with lots of clients in concurrent access mode. If >needed, this way lets us crypt - encode/decode - the hidden tags >contents from the server-side cgi/app, if we wants to preserve those >datas from beeing viewed, on the client side, by reading the form >source code. So I would need to post the whole data I need on all 4 Webpages in hidden Tags? Would I need to call 2 CGIs to avoid refresh errors? The first to set all values to zero and the second to add values from there? All HTML is returned by the CGI created on the fly, no static HTML files? Please excuse my dumb questions. I guess I?m thinking too static (webpages are build in a texteditor...) here. Best, Malte From jbv.silences at Club-Internet.fr Sat May 8 05:15:59 2004 From: jbv.silences at Club-Internet.fr (jbv) Date: Sat, 08 May 2004 11:15:59 +0200 Subject: Another CGI question. Keeping an array over more than oneWebpage. References: Message-ID: <409CA549.7D8ACAEC@Club-Internet.fr> Malte, > All HTML is > returned by the CGI created on the fly, no static HTML files? Please excuse > my dumb questions. I guess I?m thinking too static (webpages are build in a > texteditor...) here. Yes, just stop thinking in terms of static HTML files, and the power and beauty of cgi will become obvious... JB From webmaster at dreamscapesoftware.com Sat May 8 05:20:40 2004 From: webmaster at dreamscapesoftware.com (Webmaster - Dreamscape Software) Date: Sat, 8 May 2004 11:20:40 +0200 Subject: preOpenStack Message-ID: <003d01c434dd$bec477a0$cde3d80a@WorkPC> I have a "preOpenStack" handler setup in my main stack. Everytime I open my substacks, the "preOpenStack" message is sent not only to the substack, but to the mainstack as well. Is this right? How do I prevent this? Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress 1.2 http://www.dreamscapesoftware.com From jbv.silences at Club-Internet.fr Sat May 8 05:27:09 2004 From: jbv.silences at Club-Internet.fr (jbv) Date: Sat, 08 May 2004 11:27:09 +0200 Subject: preOpenStack References: <003d01c434dd$bec477a0$cde3d80a@WorkPC> Message-ID: <409CA7E6.51E69152@Club-Internet.fr> > I have a "preOpenStack" handler setup in my main stack. Everytime I open my > substacks, the "preOpenStack" message is sent not only to the substack, but > to the mainstack as well. > > Is this right? How do I prevent this? > Make a test on the name of the stack : on preOpenStack if the name of this stack contains "mySubStack" then do something end if end preOpenStack this is perhaps not the more elegant solution, but it works. JB From dcragg at lacscentre.co.uk Sat May 8 05:37:35 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sat, 8 May 2004 10:37:35 +0100 Subject: preOpenStack In-Reply-To: <003d01c434dd$bec477a0$cde3d80a@WorkPC> References: <003d01c434dd$bec477a0$cde3d80a@WorkPC> Message-ID: At 11:20 am +0200 8/5/04, Webmaster - Dreamscape Software wrote: >I have a "preOpenStack" handler setup in my main stack. Everytime I open my >substacks, the "preOpenStack" message is sent not only to the substack, but >to the mainstack as well. > >Is this right? How do I prevent this? It's right. A mainstack is in the message path of its substacks. There are two common approaches to handling this. The simple way is to put an empty (do nothing) preOpenStack handler in the stack script of your substack. on preOpenStack end preOpenStack Or you can check for "the owner of the target" in the mainstack's preOpenStack handler. Something like this: on preOpenStack if the owner of the target is me then ## do your stuff here end if end preOpenStack Cheers Dave From rooster at drizzle.com Sat May 8 07:15:32 2004 From: rooster at drizzle.com (iMP) Date: Sat, 8 May 2004 04:15:32 -0700 Subject: Want to test a standalone for me on a hardware PC? In-Reply-To: <20040507091151.422659300E2@mail.runrev.com> References: <20040507091151.422659300E2@mail.runrev.com> Message-ID: Hi: I have a standalone that uses revGoURL. On Mac, all is fine. However, when I test it with VirtualPC / Win2000 Pro, there is some strange behavior: when the target web page is already minimized in the Task Bar, or displaying in Explorer, the revGoURL command doesn't work; if the target page is not showing in the Task Bar or displaing in Explorer, the revGoURL command behaves as expected. I don't own any Wintel hardware. Is anyone willing to test my standalone on a real hardware PC running Windows? Thanks, guy From tvogelaar at de-mare.nl Sat May 8 07:16:10 2004 From: tvogelaar at de-mare.nl (Terry Vogelaar (de Mare)) Date: Sat, 8 May 2004 13:16:10 +0200 Subject: Another CGI question. Keeping an array over more than one Webpage. In-Reply-To: Message-ID: <1BC5214A-A0E1-11D8-86B7-0030656FD666@de-mare.nl> Malte Brill heeft op zaterdag, 8 mei 2004 om 11:07 (Europe/Amsterdam) het volgende geschreven: > I?m trying to set up 4 Webpages. > > fruit.html > meat.html > perishable_food.html > vegetables.html > > Each Html file has a set of forms. A desrciption of an item, a field > to type > a numerical value in. The CGI should be able to add the values > submitted by > the user as long as his session takes and allow to add other items. If > the > user hits a "Now what?s for dinner" button the CGI should return > something > like this: > > You got 3 bananas, 1 peach, 1 broccoli, 5 potatoes, 1 egg, 1 cup of > cream > and a steak. You can do a steak with broccoli and au gratin potatoes. > You > can also have a fruit salad for dessert if you are willing to spend > about > 1.5 hours in the kitchen. > > or if there is no food: > > You got no food at all. Go shopping you lazy bag. [...] > So I would need to post the whole data I need on all 4 Webpages in > hidden > Tags? Would I need to call 2 CGIs to avoid refresh errors? The first > to set > all values to zero and the second to add values from there? All HTML is > returned by the CGI created on the fly, no static HTML files? Please > excuse > my dumb questions. I guess I?m thinking too static (webpages are build > in a > texteditor...) here. I don't quite understand what your objective is. A virtual grocery store? Or a recipe suggestion utility? Of course you could let the CGI generate only the resulting page, but also the form itself. If the collection of ingredients varies, than you could make a stack in which each card contains a type of food. It can have several fields among which are the name and the category of the ingredient. Then you can let a script simply see which cards have the 'fruit' category and you'll let the script use the field data on these cards in a table. Modifying the stack can be done with a download-edit-upload cycle or you can make a content management system; ie modifying the stack online using a form. The users can form a separate stack in which you could put data like username, password, permission to modify the stack or not, basket / fridge content, etc. Also, it might be more efficient to use a single form instead of multiple. I'll show you how:
< INPUT type="hidden" name="Password" value="best customer"> < INPUT type="text" name="quantity" value="1">
This way, the submit button has a name and a value which you can evaluate by a CGI script. That way, you can see if the user wants to add a (number of) apples, mangos or peaches. Terry From ambassador at fourthworld.com Sat May 8 07:23:10 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 08 May 2004 04:23:10 -0700 Subject: preOpenStack In-Reply-To: References: <003d01c434dd$bec477a0$cde3d80a@WorkPC> Message-ID: <409CC31E.908@fourthworld.com> Dave Cragg wrote: > At 11:20 am +0200 8/5/04, Webmaster - Dreamscape Software wrote: > >> I have a "preOpenStack" handler setup in my main stack. Everytime I >> open my >> substacks, the "preOpenStack" message is sent not only to the >> substack, but >> to the mainstack as well. >> >> Is this right? How do I prevent this? > > > It's right. A mainstack is in the message path of its substacks. > > There are two common approaches to handling this. > > The simple way is to put an empty (do nothing) preOpenStack handler in > the stack script of your substack. > > on preOpenStack > end preOpenStack > > Or you can check for "the owner of the target" in the mainstack's > preOpenStack handler. Something like this: > > on preOpenStack > if the owner of the target is me then > ## do your stuff here > end if > end preOpenStack And a third option: If the mainStack has only one card, put the preOpenStack handler in the card script, leaving the stack script for common handlers. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rcozens at pon.net Sat May 8 10:10:05 2004 From: rcozens at pon.net (Rob Cozens) Date: Sat, 8 May 2004 07:10:05 -0700 Subject: preOpenStack In-Reply-To: <409CA7E6.51E69152@Club-Internet.fr> References: <003d01c434dd$bec477a0$cde3d80a@WorkPC> <409CA7E6.51E69152@Club-Internet.fr> Message-ID: > > I have a "preOpenStack" handler setup in my main stack. >Everytime I open my >> substacks, the "preOpenStack" message is sent not only to the substack, but >> to the mainstack as well. >> > > Is this right? How do I prevent this? From your description of the problem, I presume the subStack script contains no preOpenStack handler of its own; so when it preOpens the preOpenStack message goes up the message path to the mainStack. As JB suggested, you can modify the mainStack script to ensure it is the target of the message. Another means of dealing with this is to place an "empty" preOpenStack handler: on preOpenStack end preOpenStack in the subStack script. This traps the preOpenStack message sent to the subStack so it is not passed on up the message path. Note that if the subStack script contains no openStack, closeStack, closeStackRequest, etc. handlers, those messages will also be sent up the message path to the mainStack. -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From brentj84062 at earthlink.net Sat May 8 11:49:46 2004 From: brentj84062 at earthlink.net (Brent Anderson) Date: Sat, 8 May 2004 09:49:46 -0600 Subject: On the whole screen resolution topic Message-ID: <54B8C36E-A107-11D8-B96D-003065A72500@earthlink.net> Hello. I don't think I included enough details. The project it would be for is going to be a game that, if it weren't made for full screen, would be really terrible. It pretty much requires having the screen resolution changed. It would be changed back to the users previous setting when they quit. Thanks, Brent Anderson From pixelbird at interisland.net Sat May 8 15:38:23 2004 From: pixelbird at interisland.net (Ken Norris) Date: Sat, 8 May 2004 12:38:23 -0700 Subject: Subject: Re: Screen Resolution In-Reply-To: <20040508155319.99D499300CF@mail.runrev.com> References: <20040508155319.99D499300CF@mail.runrev.com> Message-ID: <44E73B71-A127-11D8-AEF1-000A27945590@interisland.net> On May 8, 2004, at 8:53 AM, use-revolution-request at lists.runrev.com wrote: > On May 7, 2004, at 11:39 AM, Ken Norris wrote: > >>> Don't do it. I *hate* programs that mess with my screen resolution. >>> I've got a 17" screen and I don't want to see *anything* at 800 x >>> 600! >>> Also there are a lot of LCDs (laptops, flat-panels, etc.) that don't >>> support many resolutions well or at all, and you could leave the >>> screen >>> in a state that makes it illegible or unusable. > > I am not sure I remember the exact reason for this topic ============ If you look back, you'll see that was a quote. I didn't write it. Most of the game programs I have have some kind of setup venue where the user can decide on resolution. Ken N. From pixelbird at interisland.net Sat May 8 15:42:29 2004 From: pixelbird at interisland.net (Ken Norris) Date: Sat, 8 May 2004 12:42:29 -0700 Subject: Screen Resolution In-Reply-To: <20040508155319.99D499300CF@mail.runrev.com> References: <20040508155319.99D499300CF@mail.runrev.com> Message-ID: Hi Curry, On May 8, 2004, at 8:53 AM, use-revolution-request at lists.runrev.com wrote: > Then the > user makes the choice with their own preference and responsibility. > You offer an extra option for the user's enjoyment if they want it > and the peace of mind not to use it if they don't. Some users would > hate it and some would love it. So let them decide and maybe they > will all love your software. =========== Exactly!! Spot on as they say in the UK. Ken N. From pixelbird at interisland.net Sat May 8 16:33:18 2004 From: pixelbird at interisland.net (Ken Norris) Date: Sat, 8 May 2004 13:33:18 -0700 Subject: On the whole screen resolution topic In-Reply-To: <20040508155319.99D499300CF@mail.runrev.com> References: <20040508155319.99D499300CF@mail.runrev.com> Message-ID: Hello Brent, On May 8, 2004, at 8:53 AM, use-revolution-request at lists.runrev.com wrote: > Date: Sat, 8 May 2004 09:49:46 -0600 > From: Brent Anderson > Subject: On the whole screen resolution topic > > Hello. > > I don't think I included enough details. The project it would be for is > going to be a game that, if it weren't made for full screen, would be > really terrible. It pretty much requires having the screen resolution > changed. It would be changed back to the users previous setting when > they quit. ============ Sooo glad to hear from you. I was unable to find the original message for some reason. I think it would be a wise thing to include a dialog at startup if you actually change the user's monitor's resolution. The more recent games I've seen automatically query the user's current monitor setup and adjust the game's geometry to accommodate it rather than the other way 'round. But that depends on the demands of the game as well. As already mentioned, some will need to operate at lesser resolution to get good frame rates, especially with standard video cards. I have a complex WWII flight sim (came with my flight stick) on a PC with wonderfully rendered terrain that just flat won't run at all with anything less than 500mHz and a fast 64mb video card. I had to trek off to the mainland to a Future Shop to get a new video card just to run that game. The game didn't mention that in the requirements. At first, I thought the flight stick was broken. It would have been nice if they had a startup warning to tell me it's requirements were out-of-range for my machine and offer some solutions and/or settings options. IMO, there is something very backward going on in society today: Increasingly crappy manners, because it doesn't seem to be taught to our children anymore, and which directly reflects how we respect each other. I'll always support software venues that treat user's and their gear with common respect, and, further, if anyone catches _me_ saying or doing anything otherwise (whether in my software offerings or personal behavior), I'd appreciate a note letting me know so I can work on the problem. Ken N. From erikhans08 at yahoo.com Sat May 8 18:40:50 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Sat, 8 May 2004 15:40:50 -0700 (PDT) Subject: Screen Resolution In-Reply-To: Message-ID: <20040508224050.37806.qmail@web61106.mail.yahoo.com> --- curry wrote: > if "screen resolution" comes up... > "Aaaahh! No! Life as we know it > will cease to exist!" well, some have been following this closely! > Seriously,... Just default to no switching > and let the user > choose to turn it on, through options and also > perhaps by asking them > whether they want to do it the first time they > run the game. Ken's idea of showing the mhz (baud?) and mb (video card) requirements of the app and mhz and mb size of the hardware makes sense. how would you query your computer for these? Thanks, Erik Hansen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover From capellan2000 at yahoo.com Sat May 8 20:01:19 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 8 May 2004 17:01:19 -0700 (PDT) Subject: Creating bulletin boards, chat rooms and mail messages with RR/MC and CGI In-Reply-To: <20040508155319.CB1449300D0@mail.runrev.com> Message-ID: <20040509000119.91738.qmail@web40512.mail.yahoo.com> Creating bulletin boards, chat rooms and mail messages with RR/MC and CGI Have anyone in this mail list implemented bulletin board systems, chat rooms and personal mail messages using server cgi and Revolution? I think it's possible to create these collaborative tools with RR/MC and server cgi's, but i'm not aware of every detail that such systems must cover to be reliable and expandible. For example, the bulletin board could be an html text file that is loaded in a field. In this case every user will simply appends html text to the text file. A chat system appends this html text in real time and sends this html file to every user connected, or it's the software client whom request the file. I believe that some java based chat systems works that way. The web browser refresh the text fields a fixed amount of times, no matter if anyone had not posted new messages. This is some kind of loop... Right? A personal mail system is something a little more complicated, i guess. But maybe, it's just a matter of making the user client to see ONLY the html messages that they send or receive. Maybe all these messages must be inside a personal folder in the server. Did i oversimplify the requirements to create these collabaration tools? Any insights are welcome. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover From capellan2000 at yahoo.com Sat May 8 20:25:17 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 8 May 2004 17:25:17 -0700 (PDT) Subject: Data Protection (was: Another CGI question. Keeping an array over more than one Webpage In-Reply-To: <20040508155319.CB1449300D0@mail.runrev.com> Message-ID: <20040509002517.53699.qmail@web40506.mail.yahoo.com> on Sat, 8 May 2004 00:39:58 +0200 Pierre Sahores wrote in response to Alejandro Tejada: > > By the way, talking about protection of data, > > Does exist a way to get the contents or > > the scripts of stacks opened directly in the > > engine, downloaded from the web? > > Someone told me that it's possible to make a dump > > of the memory and take the data from the resulting > > file. It's really possible to get a stack from a > > dumped memory file? > Even if it's, in theory, possible, suppose, just as > an example, in > between many other possibles ways : > > 1.- your main stack is password protected ; > 2.- this stack contains substacks protected by > randomly set passwords ; > 3.- the mainstack herits from the substacks stack's > and/or card's > scripts by activating them as front and back > scripts... > > No sure it will be a piece of cake to rebuild all > the stuff needed to > get the stack cracked and runable at the same > time... Pierre, you work in the Linux platform, where these kind of memory dump tools are common. Could you make a small test with a password protected stack and another unprotected, in the next weekend? Read the information in this page: http://www.nii.co.in/vuln/crypt.html > I remember an hypercard stack i did so uncrackable, > uncopyable, etc... > that i could never restart it until i took together > an old unprotected > issue of it and the source code of the protected > stack to build a new one... This is very interesting. Do you remember the approach that you take to create this kind of protection? > In about protecting code and apps, the key > features are in the > design, lots more than in the technical tasks... Agreed, but when we are working with other people's data, safekeeping it's a 24 hour requisite. Thanks a lot for your insights! al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover From capellan2000 at yahoo.com Sat May 8 22:46:06 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 8 May 2004 19:46:06 -0700 (PDT) Subject: Bezier curves In-Reply-To: <20040508155319.CB1449300D0@mail.runrev.com> Message-ID: <20040509024606.16542.qmail@web40512.mail.yahoo.com> Jim Hurley wrote: > A single bezier line--two end > points only--is about 50 K! > A bezier line with 10 segments is 500 K. That's exactly what i suspect! Could you implement the bezier code as a backscript? In this way, every object could refer to this backscript code, not their own script of many lines. > As a work-around, to reduce the size, I have added a > button to the bezier plug-in which converts any > bezier curve to a simple line graphic. > It takes each of the bezier line groups and > concatenates their graphic points to form a single > graphic line and deletes all the controls and their > scripts. This is great!!! Could you store all the locations of startpoint endpoint, first control point and second control point within a custom property of the polygon graphics? In this way you could restore these points if the user needs to edit the line as a bezier graphic. SVG, PDF and Adobe Ilustrator file formats have defined these characteristics of their vector graphics. What could be better? SVG, PDF or Adobe Ilustrator notation format for this custom property? > The size of a stack with a single bezier line drops > from 50 K to 4 K. This is something one could do > after the bezier controls have done their job and > you are satisfied with the shape. In the stack "Graphic_Tools_v01beta", i reuse a bezier curve to modify the shape of a polygon graphic. This is the tool with a shape like this: > You could use this tool only in a polygon graphic, by clicking in two different points of the graphic. 1- click on a point of the graphic, not any point, but one of the marker points. Then appears an empty blue circle in the first point of this polygon graphic and a dot over the marker point that you clicked. 2- click on a second marker point of the same graphic Now appear a second dot an a line that joins the first and second points. 3- move the dots (controls points for the bezier curve) to reshape the line. When the line has the shape that you want, double click in one of the dots, and the points of the bezier curve replace all the points between the two marker points. Notice, the auxiliar bezier curve returns to his place in the upper left corner. A single line is reused unlimited times! It will be excelent if you could use a similar approach with this bezier curves stack. Look for yourself in this file: http://www.geocities.com/capellan2000/Graphic_Tools_v01beta.zip > I have posted a compact version of the plug-in; it > is 80 K. Thanks again for this working example! KeepUp the good work! al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover From curry at pair.com Sun May 9 00:51:00 2004 From: curry at pair.com (curry) Date: Sat, 8 May 2004 23:51:00 -0500 Subject: Screen Resolution In-Reply-To: <20040508155319.CB1449300D0@mail.runrev.com> References: <20040508155319.CB1449300D0@mail.runrev.com> Message-ID: Getting past the ethics of switching and onto the practical aspects, I haven't tried it recently so I'm out of touch/out of date with the proper tools for it, but I noticed that last month there was a bit of discussion about it and a few suggestions were made. You can find those if you go to the page: http://lists.runrev.com/pipermail/use-revolution/2004-April/thread.html ...and then find "Screen" on the page--first message about 45 percent of the way down the page I would estimate. I would like to know what turns up and what works out for future reference, so if anyone follows up on these or tries others, it would be great if they posted something about it here. (Richard, how did your friend come out with this? Did he find good solutions for both platforms?) Curry From alex at mindlube.com Sun May 9 04:03:25 2004 From: alex at mindlube.com (Alex Rice) Date: Sun, 9 May 2004 02:03:25 -0600 Subject: Runrev bugs out on some HFS metadata (Mac OS)? Message-ID: <5915D768-A18F-11D8-AF44-000A27AE2A86@mindlube.com> Has anyone seen a situation where "the long files" listing is wildly inaccurate when reporting the size of the Resource Forks of files? Looking at 1 particular file from 3 different utilities: Resedit 2.1.3---- TEXT : R*ch 1868 bytes in resource fork 354 bytes in data fork OS X Finder---- 2,222 bytes (which happens to equal 1868 + 354 reported by ResEdit) Runrev "the long files"--- empty creator code! 354 bytes data fork 25710144 resource fork!! I ran Disk Utility and checked the volume, but the problem is still happening. Also copied the file over to another HFS+ volume, and still Runrev reports this strange size. So there is something about this file that's confusing Runrev. Now I went to copy the file to a new folder to put in a Stuffit file and send to Runrev support, but now the copy of the file shows the normal sized resource fork. This is just bizarre -- Alex Rice | Mindlube Software | http://mindlube.com From webmaster at dreamscapesoftware.com Sun May 9 06:21:57 2004 From: webmaster at dreamscapesoftware.com (Webmaster - Dreamscape Software) Date: Sun, 9 May 2004 12:21:57 +0200 Subject: modal stack Message-ID: <001d01c435af$78a64cd0$76e8d80a@WorkPC> When I try to do the following command... on doRestoreImage modal "jcRestoreImage" end doRestoreImage ...it only functions about 50% of the time. At first, destroyStack and destroyWindow were set to false. So I set them to true and the problem still exists. I tried the script watcher and it would just step through the commands like nothing happened. Any ideas? Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress 1.2 http://www.dreamscapesoftware.com From webmaster at dreamscapesoftware.com Sun May 9 06:57:46 2004 From: webmaster at dreamscapesoftware.com (Webmaster - Dreamscape Software) Date: Sun, 9 May 2004 12:57:46 +0200 Subject: mouseControl Message-ID: <000201c435b5$cbb4c130$7288d80a@WorkPC> I have a group with 32x32 fields. I want to be able to click 1 of the fields, and move the mouse around (while the mouse button is still down) and have the group test what field the mouse is currently over. I can get the mouseControl function to do this, but only if the mouse is not down, and I need this to work while the mouse is down. Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress 1.2 http://www.dreamscapesoftware.com From webmaster at dreamscapesoftware.com Sun May 9 07:20:05 2004 From: webmaster at dreamscapesoftware.com (Webmaster - Dreamscape Software) Date: Sun, 9 May 2004 13:20:05 +0200 Subject: imageData Message-ID: <001201c435b7$97d17370$7288d80a@WorkPC> I'm a little confused about imageData. How would I create an image, using imageData, with whatever colors I wanted for each pixel? Ex: If the new image was 5 pixels by 5 pixels, with each pixel being some color that the user chooses, how do I handle imageData to build the final image? Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress 1.2 http://www.dreamscapesoftware.com From klaus at major-k.de Sun May 9 07:28:16 2004 From: klaus at major-k.de (Klaus Major) Date: Sun, 9 May 2004 13:28:16 +0200 Subject: mouseControl In-Reply-To: <000201c435b5$cbb4c130$7288d80a@WorkPC> References: <000201c435b5$cbb4c130$7288d80a@WorkPC> Message-ID: Hi Webmaster - Dreamscape Software, (may i call you Derek? ;-) > I have a group with 32x32 fields. I want to be able to click 1 of the > fields, and move the mouse around (while the mouse button is still > down) and > have the group test what field the mouse is currently over. > > I can get the mouseControl function to do this, but only if the mouse > is not > down, and I need this to work while the mouse is down. This is a case for drag'n'drop :-) Group your fields and add this script to the group: on mousedown set the dragdata["text"] to the number of the target ## or short name or... end mousedown on dragmove put the target ## into fld xyz ## or short name of the target or... end dragmove Tested and works :-) You get the picture... > Derek Bump > Dreamscape Software Regards Klaus Major klaus at major-k.de www.major-k.de From webmaster at dreamscapesoftware.com Sun May 9 07:45:59 2004 From: webmaster at dreamscapesoftware.com (Webmaster - Dreamscape Software) Date: Sun, 9 May 2004 13:45:59 +0200 Subject: mouseControl References: <000201c435b5$cbb4c130$7288d80a@WorkPC> Message-ID: <003301c435bb$35ad68d0$7288d80a@WorkPC> > Hi Webmaster - Dreamscape Software, > (may i call you Derek? ;-) Yes, You may. > on mousedown > set the dragdata["text"] to the number of the target > ## or short name or... > end mousedown > > on dragmove > put the target ## into fld xyz > ## or short name of the target or... > end dragmove This works great. Is there any way to override the cursor though. It turns into a "non-dropable" cursor (due to drag & drop). I want it to look like a pencil or something. Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress 1.2 http://www.dreamscapesoftware.com From klaus at major-k.de Sun May 9 07:50:55 2004 From: klaus at major-k.de (Klaus Major) Date: Sun, 9 May 2004 13:50:55 +0200 Subject: mouseControl In-Reply-To: <003301c435bb$35ad68d0$7288d80a@WorkPC> References: <000201c435b5$cbb4c130$7288d80a@WorkPC> <003301c435bb$35ad68d0$7288d80a@WorkPC> Message-ID: <20FCA6AB-A1AF-11D8-A2AA-000A27B49A96@major-k.de> Hi Derek, >> Hi Webmaster - Dreamscape Software, >> (may i call you Derek? ;-) > > Yes, You may. :-) >> on mousedown >> set the dragdata["text"] to the number of the target >> ## or short name or... >> end mousedown >> >> on dragmove >> put the target ## into fld xyz >> ## or short name of the target or... >> end dragmove > > This works great. Is there any way to override the cursor though. It > turns > into a "non-dropable" cursor (due to drag & drop). I want it to look > like a > pencil or something. Hm, have not tried it yet... Maybe set the cursor on mousedown? Any hints from the list? > Derek Bump > Dreamscape Software Regards Klaus Major klaus at major-k.de www.major-k.de From webmaster at dreamscapesoftware.com Sun May 9 08:15:02 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Sun, 9 May 2004 14:15:02 +0200 Subject: mouseControl References: <000201c435b5$cbb4c130$7288d80a@WorkPC><003301c435bb$35ad68d0$7288d80a@WorkPC> <20FCA6AB-A1AF-11D8-A2AA-000A27B49A96@major-k.de> Message-ID: <004001c435bf$447a06d0$7288d80a@WorkPC> I did try this, and it works, but a bit sluggish... function getPixel repeat with x=1 to (the number of fields in group "iconEditorArea") if the mouseLoc is within (the rect of fld x of group "iconEditorArea") then return x end if end repeat end getPixel And this function is within a field that I placed over the top of the group "iconEditorArea". Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress 1.2 http://www.dreamscapesoftware.com From rcozens at pon.net Sun May 9 09:59:13 2004 From: rcozens at pon.net (Rob Cozens) Date: Sun, 9 May 2004 06:59:13 -0700 Subject: modal stack In-Reply-To: <001d01c435af$78a64cd0$76e8d80a@WorkPC> References: <001d01c435af$78a64cd0$76e8d80a@WorkPC> Message-ID: >When I try to do the following command... > >on doRestoreImage > modal "jcRestoreImage" >end doRestoreImage > >...it only functions about 50% of the time Hi Derek, In the examples in the Transcript Dictionary, "modal" is always followed by "stack" Have you tried 'modal stack "jcRestoreImage"'? Is jcRestoreImage a separate mainStack or a subStack? -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Sun May 9 10:44:54 2004 From: rcozens at pon.net (Rob Cozens) Date: Sun, 9 May 2004 07:44:54 -0700 Subject: imageData In-Reply-To: <001201c435b7$97d17370$7288d80a@WorkPC> References: <001201c435b7$97d17370$7288d80a@WorkPC> Message-ID: >I'm a little confused about imageData. How would I create an image, using >imageData, with whatever colors I wanted for each pixel? > >Ex: If the new image was 5 pixels by 5 pixels, with each pixel being some >color that the user chooses, how do I handle imageData to build the final >image? Derek, Per the Dictionary, "Each pixel is represented by four bytes of image data, with pixels numbered from the top left corner of the image, left to right, top to bottom. The first byte consists of zeroes, and the last three bytes encode the amount of red, green, and blue respectively. ...you can obtain the numeric value of any of the color channels for a given pixel using the charToNum function. For example, the numeric value of the red channel for the tenth pixel is given by the expression, charToNum(char((4*9)+2) of the imageData of image." Based on the above (untested): on changeImageColor imageName,pixelColors get the imageData of image imageName put length(it) div 4 into pixelCount if the number of lines of pixelColors <> pixelCount then \ return "Color list lines & pixel count mismatch." repeat with x = 1 to pixelCount put (x-1)*4 into pixelStart put line x of pixelColors into newColors put numToChar(item 1 of newColors) into char(pixelStart+2) of it put numToChar(item 2 of newColors) into char(pixelStart+3) of it put numToChar(item 3 of newColors) into char(pixelStart+4) of it end repeat set the imageData of image imageName to it return empty -- no error end changImageColor Note this assumes you pass a list of the new colors in RGB format, one line per pixel. You might incorporate a different logic scheme, perhaps setting the new color based on the value of the original color. Hope this helps. -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From jcwall at jaguar1.usouthal.edu Sun May 9 12:16:18 2004 From: jcwall at jaguar1.usouthal.edu (jcwall at jaguar1.usouthal.edu) Date: Sun, 09 May 2004 20:16:18 +0400 Subject: Delete audioClip Message-ID: <57f9fb57df66.57df6657f9fb@jaguar1.usouthal.edu> I have a stack which contains an audioClip that I want to delete. I can locate it with the application browser but I am having a problem deleting it. I have checked the docs, at least in what appeared to be to me the obvious places, but still no luck. As an aside, I discovered the need to do this when my the size of my svelt 5 card stack increased dramatically when I added a small, voice only .aif file. Would this suggest that importing as a player would be a better route to take? Any advice would be appreciated. TIA Jim Wall From mpetrides at earthlink.net Sun May 9 12:30:59 2004 From: mpetrides at earthlink.net (Marian Petrides) Date: Sun, 9 May 2004 12:30:59 -0400 Subject: Delete audioClip In-Reply-To: <57f9fb57df66.57df6657f9fb@jaguar1.usouthal.edu> References: <57f9fb57df66.57df6657f9fb@jaguar1.usouthal.edu> Message-ID: <415D1A5C-A1D6-11D8-B18B-0003936D5826@earthlink.net> To delete the clip, right-click (ctrl-click) on it in the Application Browser and choose delete from the resultant dropdown menu. Would using a .WAV file help keep the size down? FWIW, I personally still prefer to import all graphics and sounds into my stacks because then there is no chance that the sound (or image) will get separated from its stack. Marian On May 9, 2004, at 12:16 PM, jcwall at jaguar1.usouthal.edu wrote: > I have a stack which contains an audioClip that I want to delete. I > can locate it with the application browser but I am having a > problem deleting it. I have checked the docs, at least in what > appeared to be to me the obvious places, but still no luck. > > As an aside, I discovered the need to do this when my the size of > my svelt 5 card stack increased dramatically when I added a small, > voice only .aif file. Would this suggest that importing as a player > would be a better route to take? Any advice would be appreciated. > > TIA > > Jim Wall > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From webmaster at dreamscapesoftware.com Sun May 9 12:57:17 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Sun, 9 May 2004 18:57:17 +0200 Subject: modal stack References: <001d01c435af$78a64cd0$76e8d80a@WorkPC> Message-ID: <000901c435e6$b2ac6810$1eacd80a@WorkPC> > In the examples in the Transcript Dictionary, "modal" is always > followed by "stack" > > Have you tried 'modal stack "jcRestoreImage"'? > > Is jcRestoreImage a separate mainStack or a subStack? Ah, maybe that's it. jcRestoreImage is a subStack. Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress 1.2 http://www.dreamscapesoftware.com From herz at ucsd.edu Sun May 9 13:40:31 2004 From: herz at ucsd.edu (Richard K. Herz) Date: Sun, 9 May 2004 10:40:31 -0700 Subject: Creating bulletin boards, chat rooms... References: <20040509160006.81EB493006E@mail.runrev.com> Message-ID: <002a01c435ec$ba2f9110$6501a8c0@RKHpc2> My second version of a Rev chat/message board uses multiple socket connections to a single Rev engine/server stack instance. It was developed starting with Tuviah's SimpleChat, the very first (at the very bottom) contribution on Rev's web site "user contributions" page. The first client connecting, when it finds it can't establish a socket, sends a cgi post to the server which starts the Rev engine/server stack which then starts accepting sockets. The server stack shuts down when there is no activity. On a dedicated server, you could leave it running. When a client first connects, the Rev server stack sends it a portion of the log file. When a client sends a message, the server stack appends it the the log file, broadcasts it to all connected clients, and also broadcasts a separate status message with the number of current connections for display at the client stacks. My first version worked well but my web host shut it down. It relied solely on individual cgi posts for all communications (hey, I'm an amateur at this) and my web host said all the Rev engine instances starting up was too big a load on the shared web server. Rich Herz From webmaster at dreamscapesoftware.com Sun May 9 13:57:15 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Sun, 9 May 2004 19:57:15 +0200 Subject: imageData References: <001201c435b7$97d17370$7288d80a@WorkPC> Message-ID: <001d01c435ef$14f20e00$1eacd80a@WorkPC> > Note this assumes you pass a list of the new colors in RGB format, > one line per pixel. You might incorporate a different logic scheme, > perhaps setting the new color based on the value of the original > color. > > Hope this helps. That helped a great deal. After I implimented it, I realized that I had to renumber my block of fields. Once I renumbered them, the conversion came out great. I can now use this to work out the maskData problems I've been having. Thank you. Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress 1.2 http://www.dreamscapesoftware.com From rcozens at pon.net Sun May 9 14:01:34 2004 From: rcozens at pon.net (Rob Cozens) Date: Sun, 9 May 2004 11:01:34 -0700 Subject: modal stack In-Reply-To: <000901c435e6$b2ac6810$1eacd80a@WorkPC> References: <001d01c435af$78a64cd0$76e8d80a@WorkPC> <000901c435e6$b2ac6810$1eacd80a@WorkPC> Message-ID: >jcRestoreImage is a subStack If it's a substack of the stack issuing the modal command, it should open every time. If it's a substack of another stack, its mainStack must also be open when the modal command is issued.. -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Sun May 9 14:05:16 2004 From: rcozens at pon.net (Rob Cozens) Date: Sun, 9 May 2004 11:05:16 -0700 Subject: imageData In-Reply-To: <001d01c435ef$14f20e00$1eacd80a@WorkPC> References: <001201c435b7$97d17370$7288d80a@WorkPC> <001d01c435ef$14f20e00$1eacd80a@WorkPC> Message-ID: >Once I renumbered them, the conversion came >out great. I can now use this to work out the maskData problems I've been >having. Thank you. My pleasure, Derek. ...and I learned something in the process myself. :{`) -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From dsc at swcp.com Sun May 9 14:18:38 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 9 May 2004 12:18:38 -0600 Subject: imageData In-Reply-To: <001201c435b7$97d17370$7288d80a@WorkPC> Message-ID: <4B082BDF-A1E5-11D8-BF1F-000A9567A3E6@swcp.com> On Sunday, May 9, 2004, at 05:20 AM, Webmaster - Dreamscape Software wrote: > I'm a little confused about imageData. How would I create an image, > using > imageData, with whatever colors I wanted for each pixel? The image is a sequence of pixel values in row and column order. The pixels of the topmost row are first. Within each row, the pixels are left-to-right. The sequence is binary, that is, your value string should be interpreted as a sequence of bytes. Each four bytes or characters represent a pixel. The first byte of the pixel data is zero. The next three bytes represent the RGB value, one byte for each color component. Each color component is represented by a number from 0 to 255. Extract it with charToNum() and build it with numToChar(). (Note: Because some images have image-wide color settings such as gamma, two images with the same pixel value might not display the same, but see setting method below.) At this time, using 'put ... into ...' for each pixel or color component to build imageData values can be slow. Try to use 'put ... after ...'. That is, do this when you can build your imageData from front to back. (There is an enhancement request in for a feature that will help.) If you change the size or shape of the image, you must handle that when you set the imageData. Here is one way: set the text of me to empty set the height of me to pHeight set the width of me to pWidth set the imageData of me to pImageData Using crop might also work. Dar Scott From psahores at easynet.fr Sun May 9 14:27:00 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Sun, 9 May 2004 20:27:00 +0200 Subject: Data Protection (was: Another CGI question. Keeping an array over more than one Webpage In-Reply-To: <20040509002517.53699.qmail@web40506.mail.yahoo.com> References: <20040509002517.53699.qmail@web40506.mail.yahoo.com> Message-ID: <7632DA7E-A1E6-11D8-B1C9-000A95C61E96@easynet.fr> Hello Alejandro and All, Le 9 mai 04, ? 02:25, Alejandro Tejada a ?crit : > on Sat, 8 May 2004 00:39:58 +0200 > Pierre Sahores wrote in response to Alejandro Tejada: > >>> By the way, talking about protection of data, >>> Does exist a way to get the contents or >>> the scripts of stacks opened directly in the >>> engine, downloaded from the web? >>> Someone told me that it's possible to make a dump >>> of the memory and take the data from the resulting >>> file. It's really possible to get a stack from a >>> dumped memory file? > >> Even if it's, in theory, possible, suppose, just as >> an example, in >> between many other possibles ways : >> >> 1.- your main stack is password protected ; >> 2.- this stack contains substacks protected by >> randomly set passwords ; >> 3.- the mainstack herits from the substacks stack's >> and/or card's >> scripts by activating them as front and back >> scripts... >> >> No sure it will be a piece of cake to rebuild all >> the stuff needed to >> get the stack cracked and runable at the same >> time... > > Pierre, you work in the Linux platform, where these > kind of memory dump tools are common. 100% true ! It's why is it's always a very bad idea to use only one scheme to protect a program against unauthorised use, copy, duplication, etc... > > Could you make a small test with a password protected > stack and another unprotected, in the next weekend? Unneeded, as long as we are ok with the fact that we need to use a multiple encryptation states and protocols method to set-up a real difficult to crack protection scheme. Even the DES or RSA ways with nothing more would be like travelling over the seas in a Zepplin just token out from its museum... This kind of fly would, probably, in many cases, become very dangerous and not only under the windows platform ;) > > Read the information in this page: > > http://www.nii.co.in/vuln/crypt.html > >> I remember an hypercard stack i did so uncrackable, >> uncopyable, etc... >> that i could never restart it until i took together >> an old unprotected >> issue of it and the source code of the protected >> stack to build a new one... > > This is very interesting. Do you remember the approach > that you take to create this kind of protection? Mainly, the method had to do with splitting the app in two parts (a splash screen stack, the main stacks of the app) where the splash screen was popping up, on startup, to ask for a password to the user. The password input was compared to to reference' one inside an XFCN res stored in one of the main stacks of the app, trough an XFCN encryptation/decryptation proc res able to start only if a third res was present in the MacOS 8 system's library. One of the main part of the "game" consisted in having this discrete system's res installed when the authorised user launched the app, for the first time, on a new box. Each time the user was launching the app, he had to enter the password and if the input didn't launch the verification proc or match the right password reference, the app was just quitting before any main stacks of the app comes up in ram (not started at all)... To the end, there was some more procs in about the protection of the main stacks too ;) >> In about protecting code and apps, the key >> features are in the >> design, lots more than in the technical tasks... > > Agreed, but when we are working with other people's > data, safekeeping it's a 24 hour requisite. > > Thanks a lot for your insights! > You welcome, Best, Pierre BTW : just a little off topic... Do you have any web docs entry points to share about streaming QT/MP4 contents in a "one to many" sheme, runnable in IPV4, without having to send a different stream to each conected user, something like binding the IPV6 broadcast address witch could work in IPV4 mode ?... IPV6 is so great, as dream ;) Thanks a lot :) > al > > ===== > Visit my site: > http://www.geocities.com/capellan2000/ > Search the mail list: > http://mindlube.com/cgi-bin/search-use-rev.cgi > > > > > __________________________________ > Do you Yahoo!? > Win a $20,000 Career Makeover at Yahoo! HotJobs > http://hotjobs.sweepstakes.yahoo.com/careermakeover > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Sun May 9 14:29:46 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 09 May 2004 11:29:46 -0700 Subject: Screen Resolution In-Reply-To: References: <20040508155319.CB1449300D0@mail.runrev.com> Message-ID: <409E789A.1080503@fourthworld.com> curry wrote: > Getting past the ethics of switching and onto the practical aspects, I > haven't tried it recently so I'm out of touch/out of date with the > proper tools for it, but I noticed that last month there was a bit of > discussion about it and a few suggestions were made. You can find those > if you go to the page: > > http://lists.runrev.com/pipermail/use-revolution/2004-April/thread.html > > ...and then find "Screen" on the page--first message about 45 percent of > the way down the page I would estimate. > > I would like to know what turns up and what works out for future > reference, so if anyone follows up on these or tries others, it would be > great if they posted something about it here. > > (Richard, how did your friend come out with this? Did he find good > solutions for both platforms?) I told him what the posters here said: That he was rude for wanting his game to behave like all others. ;) No, seriously, I have been catching up on other things while looking for a more immediately-implementable solution. I'll write him today to let him know about the API call (thanks for remindinding me). If you have a Mac and want to see what's being ported to Rev, it's an amazing piece of work: As I understand it, he wrote designed the game, modeled, textured, and rendered all those hundreds of screens and QT movies, put together a very rich sound design which includes a great score for the background music -- all by himself, five CDs' worth. Some of the puzzles are easier than Myst, some are harder, all intriguing. The game is on the order of Riven (the Myst sequel) in terms of quality, scope, and game-play style. It's a truly remarkable achievement, so huge and well done it makes most everyone I know look like slackers. :) -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From hershrev at realtorsgroup.us Sun May 9 15:02:17 2004 From: hershrev at realtorsgroup.us (hershrev) Date: Sun, 9 May 2004 15:02:17 -0400 Subject: How to ..Kiosk Application Message-ID: <644FFB5C-A1EB-11D8-AEEE-0030654C1E62@realtorsgroup.us> Hello every body , I'd need some elaboration on how to build a Kiosk solution. (for a touch screen. There was a discussion perviously on this topic but just the start.) The solution I'm targeting for is a take out (restaurant). A bit of detail , the owner must be able to add categories and menu items or delete. The screen should have 3 columns, 1, categories i.e. main dish, side dish , beverages, deserts and so on. The 2nd column should display all detail menus of the selected category of column 1, meaning , while category main dish is selected it should display chicken, beef, duck and so on in column 2 and while touching lets say the side dish it should display all side dishes. In column 3 in a list field it should display the item and the price of the selected item line by line as a list. Now the question how do I build the screen to change the view as above create new items etc.? How do structure the layouts the buttons how do I build them and how do I save them and how do I attach the SQL to them in a way it should be possible for a owner to do it without help? Thanks very much , every bit info helps. hershrev From ambassador at fourthworld.com Sun May 9 15:03:31 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 09 May 2004 12:03:31 -0700 Subject: Data Protection In-Reply-To: <7632DA7E-A1E6-11D8-B1C9-000A95C61E96@easynet.fr> References: <20040509002517.53699.qmail@web40506.mail.yahoo.com> <7632DA7E-A1E6-11D8-B1C9-000A95C61E96@easynet.fr> Message-ID: <409E8083.1060907@fourthworld.com> Pierre Sahores wrote: > BTW : just a little off topic... Do you have any web docs entry points > to share about streaming QT/MP4 contents in a "one to many" sheme, > runnable in IPV4, without having to send a different stream to each > conected user, something like binding the IPV6 broadcast address witch > could work in IPV4 mode ?... IPV6 is so great, as dream ;) It's a rare day when I can lend a hand to Pierre on Internet stuff, but maybe this will help: In some limited testing here I've had surprisingly good results playing SMIL documents in player objects. What impresses me most is that you can use media stored on any normal Web server: when playing a media file from a Web server directly QT insists on downloading the file before running it, but the same file wrapped in a SMIL document triggers a streaming behavior from QT, such that the media starts playing as soon as even a small amount of it has been buffered. QT's handling of media referenced within SMIL documents appears to be much more efficient than even using the quick-start option. So conceivably, if the goal is to send different media to different clients, one could write a Perl or Rev CGI to generate the SMIL on the fly, referencing different media as needed. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From psahores at easynet.fr Sun May 9 17:32:39 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Sun, 9 May 2004 23:32:39 +0200 Subject: Data Protection In-Reply-To: <409E8083.1060907@fourthworld.com> References: <20040509002517.53699.qmail@web40506.mail.yahoo.com> <7632DA7E-A1E6-11D8-B1C9-000A95C61E96@easynet.fr> <409E8083.1060907@fourthworld.com> Message-ID: <654B3825-A200-11D8-86B7-000A95C61E96@easynet.fr> Thanks Richard ! Because the off-topic subject, the detailled response comes off-list ;) Best, Pierre Le 9 mai 04, ? 21:03, Richard Gaskin a ?crit : > Pierre Sahores wrote: >> BTW : just a little off topic... Do you have any web docs entry >> points to share about streaming QT/MP4 contents in a "one to many" >> sheme, runnable in IPV4, without having to send a different stream to >> each conected user, something like binding the IPV6 broadcast address >> witch could work in IPV4 mode ?... IPV6 is so great, as dream ;) > > It's a rare day when I can lend a hand to Pierre on Internet stuff, > but maybe this will help: > > In some limited testing here I've had surprisingly good results > playing SMIL documents in player objects. What impresses me most is > that you can use media stored on any normal Web server: when playing > a media file from a Web server directly QT insists on downloading the > file before running it, but the same file wrapped in a SMIL document > triggers a streaming behavior from QT, such that the media starts > playing as soon as even a small amount of it has been buffered. QT's > handling of media referenced within SMIL documents appears to be much > more efficient than even using the quick-start option. > > So conceivably, if the goal is to send different media to different > clients, one could write a Perl or Rev CGI to generate the SMIL on the > fly, referencing different media as needed. > > -- > 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 > http://lists.runrev.com/mailman/listinfo/use-revolution > From jcwall at jaguar1.usouthal.edu Mon May 10 00:26:23 2004 From: jcwall at jaguar1.usouthal.edu (jcwall at jaguar1.usouthal.edu) Date: Mon, 10 May 2004 08:26:23 +0400 Subject: Delete audioClip Message-ID: <5874b158465b.58465b5874b1@jaguar1.usouthal.edu> Marian: Many thanks for the information. I guess I have been using a single button mouse almost exclusively and right click is not something I would normally consider. I agree with the concept of including sound files in the stack and I will look at comparing wav to aif files. Jim Wall From webmaster at dreamscapesoftware.com Mon May 10 00:54:23 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Mon, 10 May 2004 06:54:23 +0200 Subject: Saving a Movie Message-ID: <001101c4364a$e014dd00$7d97d80a@WorkPC> Is there any way to save a movie within Rev? Ex: I've entered a web site into the player, and now it's downloaded. Can I save the player's movie to the desktop? Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress 1.2 http://www.dreamscapesoftware.com From jan.decroos at groepvanroey.be Mon May 10 03:17:37 2004 From: jan.decroos at groepvanroey.be (Jan Decroos) Date: Mon, 10 May 2004 09:17:37 +0200 Subject: Runrev bugs out on some HFS metadata (Mac OS)? In-Reply-To: <20040509160007.9FEDD9300BE@mail.runrev.com> References: <20040509160007.9FEDD9300BE@mail.runrev.com> Message-ID: Alex Rice writes: >Has anyone seen a situation where "the long files" listing is wildly >inaccurate when reporting the size of the Resource Forks of files? > >Looking at 1 particular file from 3 different utilities: > >Resedit 2.1.3---- >TEXT : R*ch >1868 bytes in resource fork >354 bytes in data fork > >OS X Finder---- >2,222 bytes (which happens to equal 1868 + 354 reported by ResEdit) > >Runrev "the long files"--- >empty creator code! >354 bytes data fork >25710144 resource fork!! > >I ran Disk Utility and checked the volume, but the problem is still >happening. > >Also copied the file over to another HFS+ volume, and still Runrev >reports this strange size. So there is something about this file >that's confusing Runrev. > >Now I went to copy the file to a new folder to put in a Stuffit file >and send to Runrev support, but now the copy of the file shows the >normal sized resource fork. > >This is just bizarre > We 've seen wrong results (wrong type and creator) in "the long files" when the first item of a folder is a folder. But maybe there are more items wrong in that case. see http://www.runrev.com/revolution/developers/bugdatabase/show_bug.cgi?id=1103 Regards, Jan From richmond at mail.maclaunch.com Mon May 10 06:43:41 2004 From: richmond at mail.maclaunch.com (Mathewson) Date: Mon, 10 May 2004 06:43:41 -0400 Subject: keyDown, keyUp ... nothing doing Message-ID: I have a problem with numbers! I made a sophisticated little program that would tell me whether I had pressed a numeric key or not (silly really) and it did not work!!!!! 2 text boxes; one called "fTYPE" and the other called "fOUT"....... focus set on "fTYPE" on keyDown put empty into fld "fOUT" if theKey is not a number then put "non number" into fld "fOUT" else pass keyDown end keyDown and even when I hit a '2' it pops 'non number' into "fOUT" (USB keyboard on a G4 Mac) headaches in all directions........... Help gratefully received............Richmond __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html _______________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- Make the most out of Apple's innovative technologies http://developer.apple.com/wwdc/applelinks.html From klaus at major-k.de Mon May 10 06:58:11 2004 From: klaus at major-k.de (Klaus Major) Date: Mon, 10 May 2004 12:58:11 +0200 Subject: keyDown, keyUp ... nothing doing In-Reply-To: References: Message-ID: Hi Richmond, > I have a problem with numbers! > > I made a sophisticated little program that would tell me > whether I had pressed a numeric key or not (silly really) > and it did not work!!!!! > > 2 text boxes; one called "fTYPE" and the other called > "fOUT"....... > > focus set on "fTYPE" > > on keyDown > put empty into fld "fOUT" > if theKey is not a number then put "non number" into fld > "fOUT" > else pass keyDown > end keyDown > > and even when I hit a '2' it pops 'non number' into "fOUT" > (USB keyboard on a G4 Mac) > headaches in all directions........... > > Help gratefully received............Richmond just add the parameter "thekey" :-) on keyDown thekey ##!!! put empty into fld "fOUT" if theKey is not a number then put "non number" into fld "fOUT" else pass keyDown end if end keyDown Hope that helps... Regards Klaus Major klaus at major-k.de www.major-k.de From richmond at mail.maclaunch.com Mon May 10 07:32:57 2004 From: richmond at mail.maclaunch.com (Mathewson) Date: Mon, 10 May 2004 07:32:57 -0400 Subject: 3 button mice & the MAC Message-ID: As a 11-year MAC user I had got used to the idea of a 1-button mouse: however as a 4 year carpal-tunnel syndrom sufferer I am always on the lookout to avoid more "w***er's cramp". Runtime Revolution suddenly becomes considerably more productive on adopting a 3-button mouse: you can go straight to the script editor without having to muck about with the properties palette first! OK, OK, I know I am reinventing the wheel: but to all Mac users out there I would urge getting a 3-button mouse: as a Scots cheap-jack (and labouring under the disability of a very low income) I have a logitech mouse that cost me ?8 (about $12 US) that does all it needs to do. Love, Richmond __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html _______________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- Make the most out of Apple's innovative technologies http://developer.apple.com/wwdc/applelinks.html From mpetrides at earthlink.net Mon May 10 08:21:57 2004 From: mpetrides at earthlink.net (Marian Petrides) Date: Mon, 10 May 2004 08:21:57 -0400 Subject: Delete audioClip In-Reply-To: <5874b158465b.58465b5874b1@jaguar1.usouthal.edu> References: <5874b158465b.58465b5874b1@jaguar1.usouthal.edu> Message-ID: >>>>right click is not something I would normally consider. Glad I could help--took me a while to figure it out myself since I'm primarily a Mac person. Guess I stumbled upon it sometime when I had a multi-button mouse plugged into the Mac. M On May 10, 2004, at 12:26 AM, jcwall at jaguar1.usouthal.edu wrote: > Marian: > > Many thanks for the information. I guess I have been using a > single button mouse almost exclusively and right click is not > something I would normally consider. > > I agree with the concept of including sound files in the stack and I > will look at comparing wav to aif files. > > Jim Wall > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From bornstein at designeq.com Mon May 10 08:58:00 2004 From: bornstein at designeq.com (Howard Bornstein) Date: Mon, 10 May 2004 08:58:00 -0400 Subject: Saving a Movie In-Reply-To: <001101c4364a$e014dd00$7d97d80a@WorkPC> References: <001101c4364a$e014dd00$7d97d80a@WorkPC> Message-ID: On May 10, 2004, at 12:54 AM, Derek Bump wrote: > Is there any way to save a movie within Rev? Ex: I've entered a web > site > into the player, and now it's downloaded. Can I save the player's > movie to > the desktop? If the URL is for the movie itself, you can save the movie in Transcript like this: put URL theaddress into URL thedestination where theaddress is the web URL for the movie and thedestination is a folder path on your hard disk. Regards, Howard Bornstein ----------------------- D E S I G N E Q www.designeq.com From johnrule at rcsprogramming.com Mon May 10 10:23:49 2004 From: johnrule at rcsprogramming.com (John Rule) Date: Mon, 10 May 2004 07:23:49 -0700 Subject: Setting Transparency References: <20040510125723.DC8A59300C4@mail.runrev.com> Message-ID: <005b01c4369a$6a26aec0$7501000a@minipcxp> I was playing around with setting the transparency color of a gif with some success, but the problem is...the transparency is not always being saved with the stack. So when I re-open the stack, the transparency color is usually (sometimes it works) set to another color (i.e. it's not transparent anymore), and if the gif had any other transparent area, it is not transparent (some other color). You can also test this by simply flipping to another card and back... (My programming example was the 'Easy Transparency' stack) Any ideas? JR From mpetrides at earthlink.net Mon May 10 12:14:51 2004 From: mpetrides at earthlink.net (Marian Petrides) Date: Mon, 10 May 2004 12:14:51 -0400 Subject: Setting Transparency In-Reply-To: <005b01c4369a$6a26aec0$7501000a@minipcxp> References: <20040510125723.DC8A59300C4@mail.runrev.com> <005b01c4369a$6a26aec0$7501000a@minipcxp> Message-ID: <2A8254B2-A29D-11D8-9C6D-000A959D005E@earthlink.net> Not helpful with the precise topic at hand (transparency via Transcript coding), but when I need to do transparency for images in a stack, I do it in Photoshop then save as PNG file and import into Rev. Dunno if this will help you as a work-around but on the off chance it does... M On May 10, 2004, at 10:23 AM, John Rule wrote: > > I was playing around with setting the transparency color of a gif with > some > success, but the problem is...the transparency is not always being > saved > with the stack. So when I re-open the stack, the transparency color is > usually (sometimes it works) set to another color (i.e. it's not > transparent > anymore), and if the gif had any other transparent area, it is not > transparent (some other color). You can also test this by simply > flipping to > another card and back... > > (My programming example was the 'Easy Transparency' stack) > > Any ideas? > > JR > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jhurley at infostations.com Mon May 10 12:17:00 2004 From: jhurley at infostations.com (Jim Hurley) Date: Mon, 10 May 2004 09:17:00 -0700 Subject: Bezier curves In-Reply-To: <20040509160007.61E539300BB@mail.runrev.com> References: <20040509160007.61E539300BB@mail.runrev.com> Message-ID: > >Message: 7 >Date: Sat, 8 May 2004 19:46:06 -0700 (PDT) >From: Alejandro Tejada >Subject: Re: Bezier curves >To: use-revolution at lists.runrev.com >Message-ID: <20040509024606.16542.qmail at web40512.mail.yahoo.com> >Content-Type: text/plain; charset=us-ascii > >Jim Hurley wrote: > >> A single bezier line--two end >> points only--is about 50 K! >> A bezier line with 10 segments is 500 K. > >That's exactly what i suspect! > >Could you implement the bezier code as a backscript? > >In this way, every object could refer to this >backscript code, not their own >script of many lines. > >> As a work-around, to reduce the size, I have added a > >> button to the bezier plug-in which converts any >> bezier curve to a simple line graphic. >> It takes each of the bezier line groups and >> concatenates their graphic points to form a single >> graphic line and deletes all the controls and their >> scripts. > >This is great!!! > >Could you store all the locations of startpoint >endpoint, first control point and second control point >within a custom property of the polygon graphics? > >In this way you could restore these points if the user >needs to edit the line as a bezier graphic. > >SVG, PDF and Adobe Ilustrator file formats have >defined these characteristics of their vector >graphics. > >What could be better? > >SVG, PDF or Adobe Ilustrator >notation format for this custom property? Al, A lot of the file-size problems were resolved when I remembered Chipp Walter's revAltCleanStack utility. I had worked on my bezier stack, off and on, for a couple of weeks. Chipp points out that, as you work on a stack, there is an accumulation of IDE information stored in a custom RR property called cREVGeneral . Clearing that info reduced my original stack from 636 K to 184 K, a savings of 71% !!!!!!! This clearing is taken care of by RR when one builds a stand alone. (I had thought it was also done with each save, but, apparently, not so.) But if one is building a utility, or a personal stack for use within the RR IDE, one is unaware of this buildup. I think it would be worthwhile for RR to re-introduce the "compact stack" menu item from HC, but this time use it to clear cREVGeneral. (I have added Chipp's utility to my plug-in folder.) Clearing cREVGeneral has reduced the compact version of my bezier plug-in to 28 K. I think your suggestion of using a back script is surely the right way to go. One might store all the scripts used in common in the first bezier group, and then pass the owner of the various controls to these back scripts as a parameter. As I have said before, the thing I miss most from SuperCard was the ability to cut and paste graphics generated in Super Card into Free Hand (or Illustrator.) I think RR is working on this. (snip) > > >Look for yourself in this file: > >http://www.geocities.com/capellan2000/Graphic_Tools_v01beta.zip I couldn't get this stack to work for me. I kept getting error messages--object not found. Maybe it is a Meta Card thing. Or, more likely, the way I am using it. Pity. This is an intriguing stack!!! Jim From nnoydb at excite.com Mon May 10 13:55:03 2004 From: nnoydb at excite.com (Kevin) Date: Mon, 10 May 2004 13:55:03 -0400 (EDT) Subject: answer file (multiple)? Message-ID: <20040510175503.CC28A109EC7@xprdmailfe1.nwk.excite.com> Is there a property I can set so that "answer file" will allow the user to select multiple files? If not is there another common dialog for this? K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From nnoydb at excite.com Mon May 10 13:58:09 2004 From: nnoydb at excite.com (Kevin) Date: Mon, 10 May 2004 13:58:09 -0400 (EDT) Subject: Tutorial explanation object lib for creating a multiplatform splitter? Message-ID: <20040510175809.C4A4D109EE5@xprdmailfe1.nwk.excite.com> My definition follows a more "windows" slighted definition. When one uses the file explorer the right border of the folder listed tree control is a splitter it splits and allows resizeing of the folder listing. K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Sat 05/08, Jan Schenkel < janschenkel at yahoo.com > wrote: From: Jan Schenkel [mailto: janschenkel at yahoo.com] To: nnoydb at excite.com, use-revolution at lists.runrev.com Date: Sat, 8 May 2004 00:58:48 -0700 (PDT) Subject: Re: Tutorial explanation object lib for creating a multiplatform splitter? --- Kevin wrote:
>
>
> I have searched the archives but have not found any
> information on creating a multi-platform splitter
> (or any splitter for that matter). Might anyone
> know where I can find such a example or tutorial?
>
> K
>

Hi Kevin,

At the risk of sounding stupid : what exactly is your
definition of a splitter ? Maybe you didn't find
anything in the archives because people on here call
it something else.
My first guess would be that you want something like
in Apple's Software Update : an area between the top
list and the bottom 'Information' field that displays
information regarding the selected update.
If that's what you're looking for, you can disect the
script of the splitter in the 'Custom Properties'
panel of the Revolution IDE 'Properties' palette.
If you're looking for something else, don't hesitate
to poke me.

Hope this helped,

Jan Schenkel.

=====
"As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld)




__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From graham.samuel at wanadoo.fr Mon May 10 14:22:59 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Mon, 10 May 2004 19:22:59 +0100 Subject: Can I alter the frame rate of an animated GIF by script? Message-ID: <6.1.0.6.2.20040510191757.01cf64d8@pop3.blueyonder.co.uk> Folks, I'm struggling with animated GIFs again - they can behave strangely in earlier versions of Windows (like ME); and even with Windos XP, sometimes starting one animation (showing in a button with the GIF as an icon) can stop an animation already running in another button... anyway I'm trying all sorts of workarounds to these problems, and it occurs to me that I could reduce the number of animated GIFs in my app (which might be a cause of these difficulties) if I could change the frame rate of an animated GIF on the fly. So far I haven't found anything in the documentation about this: can anyone say if it's possible and if so, how to do it? TIA Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From nnoydb at excite.com Mon May 10 14:36:58 2004 From: nnoydb at excite.com (Kevin) Date: Mon, 10 May 2004 14:36:58 -0400 (EDT) Subject: Can I alter the frame rate of an animated GIF by script? Message-ID: <20040510183658.38616109EAE@xprdmailfe1.nwk.excite.com> I to looked into this and found no script that could alter the frame rate. K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Mon 05/10, Graham Samuel < graham.samuel at wanadoo.fr > wrote: From: Graham Samuel [mailto: graham.samuel at wanadoo.fr] To: use-revolution at lists.runrev.com Date: Mon, 10 May 2004 19:22:59 +0100 Subject: Can I alter the frame rate of an animated GIF by script? Folks, I'm struggling with animated GIFs again - they can behave strangely
in earlier versions of Windows (like ME); and even with Windos XP,
sometimes starting one animation (showing in a button with the GIF as an
icon) can stop an animation already running in another button... anyway I'm
trying all sorts of workarounds to these problems, and it occurs to me that
I could reduce the number of animated GIFs in my app (which might be a
cause of these difficulties) if I could change the frame rate of an
animated GIF on the fly. So far I haven't found anything in the
documentation about this: can anyone say if it's possible and if so, how to
do it?

TIA

Graham

---------------------------------------------------
Graham Samuel / The Living Fossil Co. / UK & France


_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From rcozens at pon.net Mon May 10 14:52:37 2004 From: rcozens at pon.net (Rob Cozens) Date: Mon, 10 May 2004 11:52:37 -0700 Subject: Can I alter the frame rate of an animated GIF by script? In-Reply-To: <20040510183658.38616109EAE@xprdmailfe1.nwk.excite.com> References: <20040510183658.38616109EAE@xprdmailfe1.nwk.excite.com> Message-ID: >I to looked into this and found no script that could alter the frame rate. Graham, Kevin, et al: That being the case, would something along the lines of: set the currentFrame of image "My Animation.gif" to 1 show image "My Animation.gif" repeat with x 2 to the frameCount of image "My Animation.gif" wait [your selected interval] set the currentFrame of image "My Animation.gif" to x end repeat do what you want? -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From scott at tactilemedia.com Mon May 10 15:19:25 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 10 May 2004 12:19:25 -0700 Subject: Can I alter the frame rate of an animated GIF by script? In-Reply-To: <6.1.0.6.2.20040510191757.01cf64d8@pop3.blueyonder.co.uk> Message-ID: Recently, "Graham Samuel" wrote: > I could reduce the number of animated GIFs in my app (which might be a > cause of these difficulties) if I could change the frame rate of an > animated GIF on the fly. So far I haven't found anything in the > documentation about this: can anyone say if it's possible and if so, how to > do it? You can't change the frameRate but you don't need to rely on it either. Set the repeatCount of your GIF to 0 and increment the currentFrame via script. [example card script] on playGIF get the currentFrame of img myGIF if it < the frameCount of img myGIF then put it+1 into F else put 1 into F set the currentFrame of img myGIF to F send "playGIF" to me in 100 milliseconds #10 FPS end playGIF See the list archives for more on this technique. A scripted solution gives you much greater control over GIF playback than the built-in timing in animated GIFs. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From heather at runrev.com Mon May 10 15:32:44 2004 From: heather at runrev.com (Heather Nagey) Date: Mon, 10 May 2004 20:32:44 +0100 Subject: New chapters available for Software at the Speed of Thought Message-ID: Dear list members, I'm happy to tell you we now have available two all new chapters from Dan Shafers excellent book series, Revolution: Software at the Speed of Thought. These are available to download as pdf files, cost a mere $5 each, and cover Revolution as a CGI tool and defining and using custom properties. Dan has generously decided to release these chapters from the second book as and when they become ready, so watch this space for a succession of new topics hot off the press! You can obtain the new chapters from our online store, here: Beware Of Linewrap! This url being rather long has a tendency to split down the middle. Well, whatcha waiting for? $5! you couldn't get a cuppa coffee in Starbucks for that... Well maybe just one, but wouldn't it go well with a nice chapter to read while sipping... Cheers Heather -- ** For a faster response to all licensing, support, and technical issues, please now send mail to support at runrev.com ** Heather Nagey ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools Tel +44 (0) 131 7184333 Fax +44 (0) 845 4588487 ~~~ Check our web site for new Revolution editions & special offers ~~~ From mpetrides at earthlink.net Mon May 10 15:51:04 2004 From: mpetrides at earthlink.net (Marian Petrides) Date: Mon, 10 May 2004 15:51:04 -0400 Subject: New chapters available for Software at the Speed of Thought In-Reply-To: References: Message-ID: <5F017E18-A2BB-11D8-9F91-000A959D005E@earthlink.net> Even though I will have to wait until the next full book is finished since I purchased the 3 volume set, it is nonetheless exciting to hear that not one but two chapters are finished! Keep up the good work, Dan. M On May 10, 2004, at 3:32 PM, Heather Nagey wrote: > Dear list members, > > I'm happy to tell you we now have available two all new chapters from > Dan > Shafers excellent book series, Revolution: Software at the Speed of > Thought. > > These are available to download as pdf files, cost a mere $5 each, and > cover > Revolution as a CGI tool and defining and using custom properties. > > Dan has generously decided to release these chapters from the second > book as > and when they become ready, so watch this space for a succession of new > topics hot off the press! > > You can obtain the new chapters from our online store, here: > > Screen=CTGY&Store_Code=RROS > &Category_Code=RM> > > Beware Of Linewrap! This url being rather long has a tendency to split > down > the middle. > > Well, whatcha waiting for? $5! you couldn't get a cuppa coffee in > Starbucks > for that... Well maybe just one, but wouldn't it go well with a nice > chapter > to read while sipping... > > Cheers > > Heather > > -- > > ** For a faster response to all licensing, support, and technical > issues, > please now send mail to support at runrev.com ** > > Heather Nagey ~ heather at runrev.com ~ http://www.runrev.com/ > Runtime Revolution - User-Centric Development Tools > Tel +44 (0) 131 7184333 Fax +44 (0) 845 4588487 > ~~~ Check our web site for new Revolution editions & special offers ~~~ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From capellan2000 at yahoo.com Mon May 10 15:59:53 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Mon, 10 May 2004 12:59:53 -0700 (PDT) Subject: Creating bulletin boards, chat rooms... In-Reply-To: <20040510125723.DC8A59300C4@mail.runrev.com> Message-ID: <20040510195953.43389.qmail@web40509.mail.yahoo.com> on Sun, 9 May 2004 Richard K. Herz wrote: > My second version of a Rev chat/message board uses > multiple socket > connections to a single Rev engine/server stack > instance. Very interesting!!! How many simultaneous users could it handle? 50 users? 100 users? It's in a dedicated server? It's in Linux or BSD? > The first client > connecting, when it finds it can't establish a > socket, sends a cgi post to > the server which starts the Rev engine/server stack > which then starts > accepting sockets. The server stack shuts down when > there is no activity. > When a client first connects, the Rev server stack > sends it a portion of the > log file. When a client sends a message, the server > stack appends it the > the log file, broadcasts it to all connected > clients, and also broadcasts a > separate status message with the number of current > connections for display > at the client stacks. Do you plan to expand his functionality? > My first version worked well but my web host shut it > down. It relied solely > on individual cgi posts for all communications (hey, > I'm an amateur at this) > and my web host said all the Rev engine instances > starting up was too big a > load on the shared web server. Do you have plans to make it available to other developers at some point? I'm curious to know what's the limit of simultaneous connection that some types of servers can handle. Thanks a lot for your response! al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover From capellan2000 at yahoo.com Mon May 10 16:41:33 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Mon, 10 May 2004 13:41:33 -0700 (PDT) Subject: Data Protection In-Reply-To: <20040510125723.DC8A59300C4@mail.runrev.com> Message-ID: <20040510204133.38723.qmail@web40514.mail.yahoo.com> on Sun, 9 May 2004 Pierre Sahores wrote in response to Alejandro Tejada: > > Pierre, you work in the Linux platform, where > > these kind of memory dump tools are common. > 100% true ! It's why is it's always a very bad idea > to use only one > scheme to protect a program against unauthorised > use, copy, > duplication, etc... I've tried unsuccefully to make a stack to run only in a single machine. When opened, it checks the hard disk serial number and the MAC address of the machine where it was installed and compare it with same data from the machine where it's running. These handlers are from the Ken's Ray website. I have put this handler in a preopenstack that must answer "Stack not authorized to run in this machine!" with "OK, Quit now". But, i'm not getting the answer dialog when opening the stack... Any help to make this simple protection scheme workable is welcome. > > Could you make a small test with a password > > protected > > stack and another unprotected, in the next > > weekend? > Unneeded, as long as we are ok with the fact that we > need to use a > multiple encryptation states and protocols method to > set-up a real > difficult to crack protection scheme. Even the DES > or RSA ways with > nothing more would be like travelling over the seas > in a Zepplin just > token out from its museum... This kind of fly would, > probably, in many > cases, become very dangerous and not only under the > windows platform ;) So, DES and RSA alone are not safe anymore? With so many brains working toward a goal this is comprensible. Does exist an internet site that keeps records of the time taken to take down different hardware or software protection schemes? I remember that an Israeli institute was accused of breaking and distributing the code of a competitor. It was something related to cable or satellite signals. > Mainly, the method had to do with splitting the app > in two parts [snip] Interesting explanation! Have you implemented something more secure than this scheme? Thanks again for your insights! > Do you have any web > docs entry points > to share about streaming QT/MP4 contents in a "one > to many" sheme, > runnable in IPV4, without having to send a different > stream to each > conected user, something like binding the IPV6 > broadcast address witch > could work in IPV4 mode ?... IPV6 is so great, as > dream ;) In the internet, there is an interesting project named : PeerCast. http://www.peercast.org/ Until now, i've used only Real Audio to stream music. Later this year, i'll experiment with Flash movies. Keep Up your good work, Pierre. :-) al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover From nnoydb at excite.com Mon May 10 16:58:02 2004 From: nnoydb at excite.com (Kevin) Date: Mon, 10 May 2004 16:58:02 -0400 (EDT) Subject: Can I alter the frame rate of an animated GIF by script? Message-ID: <20040510205802.EEC88109ED9@xprdmailfe1.nwk.excite.com> I have already written several "TASKS" to control the frame rate of the gif. However, if I have a significant number of animated gifs writing a function/handler for each it a bit cumbersome. Especially wher the gif fspec already has it. K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Mon 05/10, Scott Rossi < scott at tactilemedia.com > wrote: From: Scott Rossi [mailto: scott at tactilemedia.com] To: use-revolution at lists.runrev.com Date: Mon, 10 May 2004 12:19:25 -0700 Subject: Re: Can I alter the frame rate of an animated GIF by script? Recently, "Graham Samuel" wrote:

> I could reduce the number of animated GIFs in my app (which might be a
> cause of these difficulties) if I could change the frame rate of an
> animated GIF on the fly. So far I haven't found anything in the
> documentation about this: can anyone say if it's possible and if so, how to
> do it?

You can't change the frameRate but you don't need to rely on it either. Set
the repeatCount of your GIF to 0 and increment the currentFrame via script.

[example card script]
on playGIF
get the currentFrame of img myGIF
if it < the frameCount of img myGIF then
put it+1 into F
else put 1 into F
set the currentFrame of img myGIF to F
send "playGIF" to me in 100 milliseconds #10 FPS
end playGIF

See the list archives for more on this technique. A scripted solution gives
you much greater control over GIF playback than the built-in timing in
animated GIFs.

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
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From malte.brill at t-online.de Mon May 10 17:05:21 2004 From: malte.brill at t-online.de (Malte Brill) Date: Mon, 10 May 2004 23:05:21 +0200 Subject: Can I alter the frame rate of an animated GIF by script? In-Reply-To: <20040510160024.679189300C7@mail.runrev.com> Message-ID: Hi, Graham Samuel wrote: >Folks, I'm struggling with animated GIFs again - they can behave strangely >in earlier versions of Windows (like ME); and even with Windos XP, >sometimes starting one animation (showing in a button with the GIF as an >icon) can stop an animation already running in another button... anyway I'm >trying all sorts of workarounds to these problems, Is the .gif on another card? I have experienced problems when the -gif was not on the same card. >and it occurs to me that >I could reduce the number of animated GIFs in my app (which might be a >cause of these difficulties) if I could change the frame rate of an >animated GIF on the fly. So far I haven't found anything in the >documentation about this: can anyone say if it's possible and if so, how to >do it? I have been playing with creating .png animations. You could use a button with different .png (or gif if you wish) images. Set the icon of the button with a handler that calls itself in a period of time (send animateMe to me in ... milliseconds.) I use .png instead of gifs, because they display smoother than gifs (there might be a pixely border around the gif. this technique allows very flexible animations. It?s more work than using an animated gif, but much more flexible... Best, Malte From janschenkel at yahoo.com Mon May 10 17:30:04 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 10 May 2004 14:30:04 -0700 (PDT) Subject: Tutorial explanation object lib for creating a multiplatform splitter? In-Reply-To: <20040510175809.C4A4D109EE5@xprdmailfe1.nwk.excite.com> Message-ID: <20040510213004.46162.qmail@web60508.mail.yahoo.com> --- Kevin wrote: > > > My definition follows a more "windows" slighted > definition. When one uses the file explorer the > right border of the folder listed tree control is a > splitter it splits and allows resizeing of the > folder listing. > > K > Hi Kevin, It looks like we're actually talking about the same thing -- the only difference being the example I gave was horizontal, and yours is vertical. So when you look at the code in the horizontal splitter, all you need to take into account is that it's in the other direction. In its most basic form, here's the code for a vertical splitter button between two fields. -- local sTrackingFlag, sMinLeft, sMaxRight on mouseDown -- flip the tracking switch put true into sTrackingFlag -- and save the boundaries put the width of me DIV 2 into tMargin put the left of field "LeftField" + 16 + tMargin \ into sMinLeft put the right of field "RightField" - 16 - tMargin \ into sMaxRight -- and calculate my margin end mouseDown on mouseMove x,y if sTrackingFlag is true then -- first move this button within boundaries put min(sMaxRight,max(sMinLeft,x)) into tX put the location of me into tLocation put tX into item 1 of tLocation set the location of me to tLocation -- then update the field on the left hand side put the rect of field "LeftField" into tRect put the left of me into item 3 of tRect set the rect of field "LeftField" to tRect -- then update the field on the right hand side put the rect of field "RightField" into tRect put the right of me into item 1 of tRect set the rect of field "RightField" to tRect end if end mouseMove on mouseUp put false into sTrackingFlag end mouseUp on mouseRelease put false into sTrackingFlag end mouseRelease -- Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover From nnoydb at excite.com Mon May 10 17:48:41 2004 From: nnoydb at excite.com (Kevin) Date: Mon, 10 May 2004 17:48:41 -0400 (EDT) Subject: Tutorial explanation object lib for creating a multiplatform splitter? Message-ID: <20040510214841.4B4BD109EDD@xprdmailfe1.nwk.excite.com> This object is in the Object Library? -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Mon 05/10, Jan Schenkel < janschenkel at yahoo.com > wrote: From: Jan Schenkel [mailto: janschenkel at yahoo.com] To: use-revolution at lists.runrev.com Date: Mon, 10 May 2004 14:30:04 -0700 (PDT) Subject: Re: Tutorial explanation object lib for creating a multiplatform splitter? --- Kevin wrote:
>
>
> My definition follows a more "windows" slighted
> definition. When one uses the file explorer the
> right border of the folder listed tree control is a
> splitter it splits and allows resizeing of the
> folder listing.
>
> K
>

Hi Kevin,

It looks like we're actually talking about the same
thing -- the only difference being the example I gave
was horizontal, and yours is vertical.
So when you look at the code in the horizontal
splitter, all you need to take into account is that
it's in the other direction.
In its most basic form, here's the code for a vertical
splitter button between two fields.

--

local sTrackingFlag, sMinLeft, sMaxRight

on mouseDown
-- flip the tracking switch
put true into sTrackingFlag
-- and save the boundaries
put the width of me DIV 2 into tMargin
put the left of field "LeftField" + 16 + tMargin \
into sMinLeft
put the right of field "RightField" - 16 - tMargin \
into sMaxRight
-- and calculate my margin
end mouseDown

on mouseMove x,y
if sTrackingFlag is true then
-- first move this button within boundaries
put min(sMaxRight,max(sMinLeft,x)) into tX
put the location of me into tLocation
put tX into item 1 of tLocation
set the location of me to tLocation
-- then update the field on the left hand side
put the rect of field "LeftField" into tRect
put the left of me into item 3 of tRect
set the rect of field "LeftField" to tRect
-- then update the field on the right hand side
put the rect of field "RightField" into tRect
put the right of me into item 1 of tRect
set the rect of field "RightField" to tRect
end if
end mouseMove

on mouseUp
put false into sTrackingFlag
end mouseUp

on mouseRelease
put false into sTrackingFlag
end mouseRelease

--

Hope this helped,

Jan Schenkel.

=====
"As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld)




__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From jacque at hyperactivesw.com Mon May 10 18:13:16 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 10 May 2004 17:13:16 -0500 Subject: Tutorial explanation object lib for creating a multiplatform splitter? In-Reply-To: <20040510175809.C4A4D109EE5@xprdmailfe1.nwk.excite.com> References: <20040510175809.C4A4D109EE5@xprdmailfe1.nwk.excite.com> Message-ID: <409FFE7C.9080104@hyperactivesw.com> On 5/10/04 12:58 PM, Kevin wrote: > > My definition follows a more "windows" slighted definition. When one > uses the file explorer the right border of the folder listed tree > control is a splitter it splits and allows resizeing of the folder > listing. There's no pre-made control that does this but they are trivial to write. You can either place a narrow button where you want the splitter to go, or you can just track the mouse position without using a control. When the mouse goes down, get the rect of the field on the left and the field on the right. Set the right edge of the left-hand field to the mouseH and the left edge of the right-hand field to the same mouseH. That's it. For example (this assumes a narrow, transparent button between the fields): -- note: untested, but should basically work on mouseDown -- script of the narrow button doSplitter end mouseDown on mouseUp stopSplitter end mouseUp on mouseRelease stopSplitter end mouseRelease on doSplitter put item 1 of the loc of me into theH get the rect of fld theLeftFld put theH into item 3 of it set the rect of fld theLeftFld to it get the rect of fld theRightFld put theH into item 1 of it set the rect of fld theRightFld to it set the loc of me to it,item 2 of the loc of me send "doSplitter" to me in 100 milliseconds -- adjust as needed end doSplitter on stopSplitter repeat for each line L in the pendingMessages if L contains "doSplitter" then cancel (item 2 of L) end repeat end stopSplitter If you don't want to use the transparent button, then just check the x position of the mouse on mouseMove and calculate whether you should start the splitter or not. (That's usually how I do it, it avoids an extra control.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brentj84062 at earthlink.net Mon May 10 18:45:38 2004 From: brentj84062 at earthlink.net (Brent Anderson) Date: Mon, 10 May 2004 16:45:38 -0600 Subject: No subject Message-ID: Thanks, Brent Anderson From brentj84062 at earthlink.net Mon May 10 18:54:27 2004 From: brentj84062 at earthlink.net (Brent Anderson) Date: Mon, 10 May 2004 16:54:27 -0600 Subject: Creating bulletin boards, chat rooms, and mail messages wiht RR/MC and CGI Message-ID: Hello. I haven't exactly tried out the BB's or mail with this, but I am experimenting with a way to do chatting. It would require a dedicated server for more than two people, but is fine for this project that I'm working on (why screen resolution is such an issue...). You would have one field with the screen names, and one with the addresses (note: this would only work on a mac network til I can work out a few things). Then, when a new message was sent out, it would be sent to the server, placed into the servers session field, and then would go down the list of addresses and forward that message to everybody in the addresses list. There's my bit on that. Thanks, Brent Anderson From capellan2000 at yahoo.com Mon May 10 19:13:46 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Mon, 10 May 2004 16:13:46 -0700 (PDT) Subject: Bezier curves In-Reply-To: <20040510221229.8D3EE9300E4@mail.runrev.com> Message-ID: <20040510231346.26665.qmail@web40501.mail.yahoo.com> on Mon, 10 May 2004 Jim Hurley wrote: > I think your suggestion of using a back script is > surely the right > way to go. One might store all the scripts used in > common in the > first bezier group, and then pass the owner of the > various controls > to these back scripts as a parameter. I really miss to have more time for testing these ideas further! :-(( > As I have said before, the thing I miss most from > SuperCard was the > ability to cut and paste graphics generated in Super > Card into Free > Hand (or Illustrator.) I think RR is working on > this. We have the SVG export stack made by Richard Gaskin. > >Look for yourself in this file: > >http://www.geocities.com/capellan2000/Graphic_Tools_v01beta.zip > > I couldn't get this stack to work for me. I kept > getting error > messages--object not found. Maybe it is a Meta Card > thing. Or, more > likely, the way I am using it. > > Pity. This is an intriguing stack!!! Thanks for reporting this problem. Could you send me a screenshot of the error message? I'll strip all the other code of the stack and send you a smaller version. Thanks again for your report! Keep Up your good work! al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover From mwieder at ahsoftware.net Mon May 10 19:21:36 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 10 May 2004 16:21:36 -0700 Subject: Tutorial explanation object lib for creating a multiplatform splitter? In-Reply-To: <409FFE7C.9080104@hyperactivesw.com> References: <20040510175809.C4A4D109EE5@xprdmailfe1.nwk.excite.com> <409FFE7C.9080104@hyperactivesw.com> Message-ID: <2225068456.20040510162136@ahsoftware.net> Kevin- Or take a look at Chipp Walters' Geometry Manager tutorial where he goes step-by-step through the process of building a splitter control. -- -Mark Wieder mwieder at ahsoftware.net From herz at ucsd.edu Mon May 10 19:29:06 2004 From: herz at ucsd.edu (Richard K. Herz) Date: Mon, 10 May 2004 16:29:06 -0700 Subject: Creating bulletin boards, chat rooms... References: <20040510221229.3F3A49300EA@mail.runrev.com> Message-ID: <002b01c436e6$96910180$58bfef84@maerkhpc1> Alejandro Tejada asked: > How many simultaneous users could it handle? > 50 users? 100 users? Don't know. I've only had a half-dozen people chatting at the same time. Seems this may be something Pierre Sahores or others on the list could addresss. > It's in a dedicated server? It's in Linux or BSD? Shared Linux server at a hosting company. > Do you have plans to make it available > to other developers at some point? Possibly. Right now it's not a lot more than Tuviah's SimpleChat example which is posted at the bottom of http://www.runrev.com/resources/usercontributions.shtml . My biggest change is that, when the server stack is not running and not accepting sockets, the client stack posts to a Rev CGI script at the server which starts using the server stack and tells it to accept sockets. If you have a couple Win XP computers, download the English version at www.reactorlab.net and chat with yourself, since this "version 2" was just posted a couple days ago and no one has it. (I might take it down soon - if I do ask off list - because communication doesn't work in the standalone on Win 98 for some reason even though it works on 98 in dev mode). Rich Herz From capellan2000 at yahoo.com Mon May 10 19:30:06 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Mon, 10 May 2004 16:30:06 -0700 (PDT) Subject: Can I alter the frame rate of an animated GIF by script? In-Reply-To: <20040510221229.8D3EE9300E4@mail.runrev.com> Message-ID: <20040510233006.29247.qmail@web40501.mail.yahoo.com> on Mon, 10 May 2004 Graham Samuel wrote: > Folks, I'm struggling with animated GIFs again - > they can behave strangely in earlier versions of > Windows (like ME); and even with Windos XP, > sometimes starting one animation (showing in a > button with the GIF as an icon) can stop an > animation already running in another button... Hi Graham, Look at this approach to show animation in your stack: Abraham Wouter created a professional example of a filmstrip player. You could write him for a copy. I think that the name of the file that he sent me is "MetamoviePlayer". Notice, Graham, this is one of the best way to have animated png or vector graphics in your stack! The animated png format is mng, but it's still a work in progress. Scott Rossi created this walking animation example, some time ago: Good luck and keep us informed of your advances in this area. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover From jperryl at ecs.fullerton.edu Mon May 10 19:40:29 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 10 May 2004 16:40:29 -0700 (PDT) Subject: Look'N'Feel in XP? In-Reply-To: <002b01c436e6$96910180$58bfef84@maerkhpc1> Message-ID: Hi, I am creating a handout for masters candidates in Reading to use to create a simple Rev stack. They would be doing it on a PC, which I don't own, so I'm doing it in Virtual PC with XP installed to create screenshots for the handout. When I try to change the look'n'feel to anything other than XP, it doesn't. Is this normal behavior? It's not really critically important as this won't be a part of the hands-on exercise, but as I made it a point to demonstrate the ability to them in the tour stack I am wondering how to answer the question should it come up during the hands-on session. Thanks! Judy From doug at webcrossing.com Mon May 10 19:46:01 2004 From: doug at webcrossing.com (Doug Lerner) Date: Tue, 11 May 2004 08:46:01 +0900 Subject: Creating bulletin boards, chat rooms, and mail messages wihtRR/MC and CGI In-Reply-To: Message-ID: My suggestion is to just use Web Crossing - http://webcrossing.com. Yes, I speak as someone who works for Web Crossing, so I am not an unbiased observer. But there are incredibly low-cost Web Crossing solutions that make it worthwhile to consider, rather than reinventing the wheel. Plus WebX (Web Crossing) works great with Revolution, and is just as cross-platform. I even have an alpha version of an IM/Whiteboard working with a Revolution client and Web Crossing server as the backend. You can read about that project at http://webxedu.com/WebXClient/. The nice thing is you start with the following completely free, all built-in to Web Crossing - including a native, object-oriented database and integrated user directory: * web server * ftp server * SMTP/POP3/IMAP server * themes * scalable chat/live events server built in! * news server * xml-rpc support * server-side scripting * distributed and mirrored serving for large-scaling and then you can add in whatever bulletin board, blog, polls, classrooms, wiki, neuron (multimedia shared databases), etc., that you want to the system. It's perfect for Revolution-based clients. doug On 5/11/04 7:54 AM, "Brent Anderson" wrote: > Hello. > > I haven't exactly tried out the BB's or mail with this, but I am > experimenting with a way to do chatting. It would require a dedicated > server for more than two people, but is fine for this project that I'm > working on (why screen resolution is such an issue...). You would have > one field with the screen names, and one with the addresses (note: this > would only work on a mac network til I can work out a few things). > Then, when a new message was sent out, it would be sent to the server, > placed into the servers session field, and then would go down the list > of addresses and forward that message to everybody in the addresses > list. > > There's my bit on that. > > > Thanks, > Brent Anderson > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > This email has been screened by Engate Spam Sentinel From nnoydb at excite.com Mon May 10 20:10:54 2004 From: nnoydb at excite.com (Kevin) Date: Mon, 10 May 2004 20:10:54 -0400 (EDT) Subject: "go" without focus Message-ID: <20040511001054.12D4CBFA0@xprdmailfe13.nwk.excite.com> I wish to display a "Log" stack if it is not visiable/message it received. However, I do not want it to steal focus. What parameters do I use with go to "goto" a stack without it altering focus? K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From byront at mac.com Mon May 10 20:17:24 2004 From: byront at mac.com (Byron Turner) Date: Mon, 10 May 2004 17:17:24 -0700 Subject: standalone puzzler Message-ID: <93DE8EB4-A2E0-11D8-BA4A-000A95A088D2@mac.com> I have a project that I'm trying to build. Every time, I get the same message, "There was an error while saving the standalone". When I click on debug, it takes me to card id 1002 of stack "revErrorDisplay". I get the same message on 2 different machines, regardless of where I try to build, but it only happens with this particular stack. I have successfully built 6 other projects in the past 2 weeks. Yet this stack can be built on someone else's computer. I'm using MacOS X 10.3.3 but it has failed on earlier versions as well. I've recently reinstalled the OS and repaired permissions. Any ideas here? This thing is supposed to be manufactured and shipped to a conference that begins in 15 days. Byron Turner From monte at sweattechnologies.com Mon May 10 20:35:20 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 11 May 2004 10:05:20 +0930 Subject: standalone puzzler In-Reply-To: <93DE8EB4-A2E0-11D8-BA4A-000A95A088D2@mac.com> Message-ID: Hi Byron > >I have a project that I'm trying to build. Every time, I get the same >message, "There was an error while saving the standalone". When I >click on debug, it takes me to card id 1002 of stack "revErrorDisplay". > I get the same message on 2 different machines, regardless of where I >try to build, but it only happens with this particular stack. I have >successfully built 6 other projects in the past 2 weeks. Yet this >stack can be built on someone else's computer. I'm using MacOS X >10.3.3 but it has failed on earlier versions as well. I've recently >reinstalled the OS and repaired permissions. Any ideas here? This >thing is supposed to be manufactured and shipped to a conference that >begins in 15 days. There are a couple of issus I've fixed since the release of 2.2 that could be causing this. They are both related to the search for inclusions feature so could if you are trying to build with that on then try the manual inclusion selection method. If not then please send me the stack off list so I can find the issue. FYI the issues found have been related to trying to search the scripts of a password protected stack and objects with numbers for names. Cheers Monte From shaosean at unitz.ca Mon May 10 23:57:51 2004 From: shaosean at unitz.ca (shaosean at unitz.ca) Date: Mon, 10 May 2004 23:57:51 -0400 Subject: Creating bulletin boards, chat rooms... In-Reply-To: <002b01c436e6$96910180$58bfef84@maerkhpc1> References: <20040510221229.3F3A49300EA@mail.runrev.com> <002b01c436e6$96910180$58bfef84@maerkhpc1> Message-ID: i've been slowly working away on a multi-user bbs system using rev.. the first few test versions worked, but there was still a lot of work to do on it, and lately i have been working more on it.. it's all built in modules, so pieces can be easily updated, switched out, etc without having to redownload the whole program.. when there's something more stable and usuable, i'll post.. -Sean From tvogelaar at de-mare.nl Tue May 11 02:09:10 2004 From: tvogelaar at de-mare.nl (Terry Vogelaar (de Mare)) Date: Tue, 11 May 2004 08:09:10 +0200 Subject: Virtual PC Message-ID: Hi there, I tried to startup a standalone for Windows made by RunRev 2.2 on Virtual PC 5.0/Win98 running on MacOSX 10.2.8, but it didn't start. The cursor changed a few seconds and became an arrow again. The standalone made by RunRev 2.0.3 ran without a problem. Any others experiencing the same? Any solutions? Terry From iansummerfield at icmlondon.co.uk Tue May 11 03:50:37 2004 From: iansummerfield at icmlondon.co.uk (Ian Summerfield) Date: Tue, 11 May 2004 08:50:37 +0100 Subject: How to be faceless - OS X Message-ID: Hello, I see in the Revolution spec that it can build faceless applications. Maybe my understanding of what a faceless application is needs correction though! I'm hoping it's the ability to build a standalone program for Mac OS X that will not appear in the doc, have no menus, and possibly run as a daemon. Is this possible? Regards. Ian Summerfield International Ccreative Management London -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and may contain legally privileged information. It is intended solely for use of the individual(s) or entity to whom it is addressed. Should you receive this message in error, please notify the sender by replying to this mail or calling +44 20 7636 6565. If you are not the intended recipient, any disclosure, distribution, reproduction, printing or reliance on the contents of this information is strictly prohibited and may be illegal. Any views expressed by an individual within this EMail do not necessarily reflect the views of ICM. From psahores at easynet.fr Tue May 11 05:15:41 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Tue, 11 May 2004 11:15:41 +0200 Subject: Rev's P2P QT playback app draft (was: Data Protection) In-Reply-To: <409E8083.1060907@fourthworld.com> References: <20040509002517.53699.qmail@web40506.mail.yahoo.com> <7632DA7E-A1E6-11D8-B1C9-000A95C61E96@easynet.fr> <409E8083.1060907@fourthworld.com> Message-ID: Hello again, Richard, It's always a bad idea too fast to reply to Richard's mails ! After reading it twice... > but the same file wrapped in a SMIL document triggers a streaming > behavior from QT, such that the media starts playing as soon as even a > small amount of it has been buffered. Nothing tested from the below draft, at this point... We can expect that the SMIL tags are acting, in HTTP (GET) mode, exactly as the QTSS indications in RTSP (POST) mode... So, a very height potential input , Friend ! Thanks to point our attention on this ;D 1.- If the QT player plays each amount of the movie sequence as soon as the next SMIL tag is downloaded, it could be, for us, a way to serve the clients in a "streaming-alike QOS" mode but without using any QTSS nor Helix server (nor their fat indicators to serve, along the movie datas), as soon as we use the right way to replace the Apple's QT player by a Rev's one... 2.- In replacing the Apple's QT player by a Rev app, there are, probably, ways for us to setup, on a P2P basis, a movies playback networked solution, where each connected Rev's QT player will, mainly, act as a server for the next one, and where, in a "one to many alike" mode, for each different movie to be served, only the first request will be outputed from the provider's main HTTP movies host. 3.- In using the Rev's players callbacks features along the movies are playing on each client, it will be a way to let them send, as POSTs, declarative messages to the main HTTP movies host : the IP addresses of the clients able to relay the served movies, with, for each, the local currentTime value of the cached movie, so the mainserver can relay/forward each new client "time lined"request in the most adaptative way to one of the next connected Rev's P2P QT playback app... Lost to test before having this kind of set-up available in production mode but, for sure, an interesting project, because your starting point mail, because Rev and because we enjoy that all so much ;) Thanks again so much, Richard. Kind Regards, Pierre Le 9 mai 04, ? 21:03, Richard Gaskin a ?crit : > Pierre Sahores wrote: >> BTW : just a little off topic... Do you have any web docs entry >> points to share about streaming QT/MP4 contents in a "one to many" >> sheme, runnable in IPV4, without having to send a different stream to >> each conected user, something like binding the IPV6 broadcast address >> witch could work in IPV4 mode ?... IPV6 is so great, as dream ;) > > It's a rare day when I can lend a hand to Pierre on Internet stuff, > but maybe this will help: This help lots, yet, after reading your input more carefully ! > > In some limited testing here I've had surprisingly good results > playing SMIL documents in player objects. What impresses me most is > that you can use media stored on any normal Web server: when playing > a media file from a Web server directly QT insists on downloading the > file before running it, but the same file wrapped in a SMIL document > triggers a streaming behavior from QT, such that the media starts > playing as soon as even a small amount of it has been buffered. QT's > handling of media referenced within SMIL documents appears to be much > more efficient than even using the quick-start option. > > So conceivably, if the goal is to send different media to different > clients, one could write a Perl or Rev CGI to generate the SMIL on the > fly, referencing different media as needed. > > -- > 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 > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From janschenkel at yahoo.com Tue May 11 05:15:37 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 11 May 2004 02:15:37 -0700 (PDT) Subject: Tutorial explanation object lib for creating a multiplatform splitter? In-Reply-To: <20040510214841.4B4BD109EDD@xprdmailfe1.nwk.excite.com> Message-ID: <20040511091537.88344.qmail@web60503.mail.yahoo.com> --- Kevin wrote: > > This object is in the Object Library? > As far as I know, there is no such object in the object library. But I did test the script I gave you with two fields and a button, and it worked just fine. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover From carambola at aliceposta.it Tue May 11 05:34:28 2004 From: carambola at aliceposta.it (paolo) Date: Tue, 11 May 2004 11:34:28 +0200 Subject: specialFolderPath("documents") In-Reply-To: Message-ID: <665D2050-A32E-11D8-8B9A-000393680A94@aliceposta.it> How can I get the FolderPath of folder "documents" on MAC OS X ? Why there is not a - specialFolderPath("documents") - for MAC OS X? ciao Paolo From klaus at major-k.de Tue May 11 05:43:34 2004 From: klaus at major-k.de (Klaus Major) Date: Tue, 11 May 2004 11:43:34 +0200 Subject: specialFolderPath("documents") In-Reply-To: <665D2050-A32E-11D8-8B9A-000393680A94@aliceposta.it> References: <665D2050-A32E-11D8-8B9A-000393680A94@aliceposta.it> Message-ID: Buongiorno Paolo, > How can I get the FolderPath of folder "documents" on MAC OS X ? There are a lot more usable but undocumented "codes" for other specialfolders, see the website of Ken Ray: www.sonsothunder.com -> Developer resources -> Revolution This one will work for you: put specialfolderpath("docs") ## just too easy, isn't it ;-) > Why there is not a - specialFolderPath("documents") - for MAC OS X? There is, but abbreviated :-) > ciao Paolo Arrivederci... Regards Klaus Major klaus at major-k.de www.major-k.de From iansummerfield at icmlondon.co.uk Tue May 11 05:49:53 2004 From: iansummerfield at icmlondon.co.uk (Ian Summerfield) Date: Tue, 11 May 2004 10:49:53 +0100 Subject: specialFolderPath("documents") In-Reply-To: References: Message-ID: <8D69262C-A330-11D8-8982-0003938D4A68@icmlondon.co.uk> The folder is always called "Documents" so this should work: on mouseup put the specialFolderPath of Desktop into documentsPath set itemDelimiter to "/" put "Documents" into last item of documentsPath set itemDelimiter to comma put documentsPath end mouseup On 11 May 2004, at 10:34, How to use Revolution wrote: > How can I get the FolderPath of folder "documents" on MAC OS X ? > > Why there is not a - specialFolderPath("documents") - for MAC OS X? > > ciao Paolo > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and may contain legally privileged information. It is intended solely for use of the individual(s) or entity to whom it is addressed. Should you receive this message in error, please notify the sender by replying to this mail or calling +44 20 7636 6565. If you are not the intended recipient, any disclosure, distribution, reproduction, printing or reliance on the contents of this information is strictly prohibited and may be illegal. Any views expressed by an individual within this EMail do not necessarily reflect the views of ICM. From janschenkel at yahoo.com Tue May 11 06:02:29 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 11 May 2004 03:02:29 -0700 (PDT) Subject: specialFolderPath("documents") In-Reply-To: <665D2050-A32E-11D8-8B9A-000393680A94@aliceposta.it> Message-ID: <20040511100229.47566.qmail@web60502.mail.yahoo.com> --- paolo wrote: > How can I get the FolderPath of folder "documents" > on MAC OS X ? > > Why there is not a - specialFolderPath("documents") > - for MAC OS X? > > ciao Paolo > Hi Paolo, >From the Transxcript Dictionary entry : -- For Mac OS and OS X systems, you can also specify a four-character special folder constant as the folderIdentifier. You can find a list of these constants on the Apple web site at . -- Clicking on the link brings you to the apple developer publication ; a little clicking gave me the following constants enumeration : enum { kUsersFolderType = 'usrs', kCurrentUserFolderType = 'cusr', kCurrentUserRemoteFolderLocation = 'rusf', kCurrentUserRemoteFolderType = 'rusr', kSharedUserDataFolderType = 'sdat', kVolumeSettingsFolderType = 'vsfd' }; Which leads me to believe that in order to get the current user's "Home" folder, you need to use : specialFolderPath("cusr") Incidentally, you can retrieve the same infomation on MacOSX and other Unix systems, by means of the $HOME environment variable : see the topic "How to get the location of the user's home directory" The "Documents" folder inside the user's home folder is only there for Windows switchers and to help the user keep structure ; you could say that on MacOSX, the home folder _is_ the documents folder. That's wasn't too hard, was it ? Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover From malte.brill at t-online.de Tue May 11 07:45:39 2004 From: malte.brill at t-online.de (Malte Brill) Date: Tue, 11 May 2004 13:45:39 +0200 Subject: # "go" without focus In-Reply-To: <20040510221229.CE6849300EC@mail.runrev.com> Message-ID: Hi Kevin, >However, I do not want it to steal focus. try something like this put the focusedObject into theObject go stack "yourOtherStack" do "focus on" && theObject Best, Malte From graham.samuel at wanadoo.fr Tue May 11 03:38:30 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Tue, 11 May 2004 08:38:30 +0100 Subject: This list: formattting issue Message-ID: <6.1.0.6.2.20040511083254.01cf5610@pop3.blueyonder.co.uk> On Mon, 10 May 2004 16:58:02 -0400 (EDT) "Kevin" wrote: [a useful input to my animated-GIF question - thanks to all who replied, but it's not the subject of this particular email] I notice that every time Kevin (and **only** Kevin) includes a quotation in a message to the list (at least when I see it in the Digest) it comes out like uninterpreted HTML - a text string with tags but no returns. I hope the following will show what I'm seeing(I'm sure it will if you're using Eudora on Windows anyway): Recently, "Graham Samuel" wrote:

> I could reduce the number of animated GIFs in my app (which might be a
> cause of these difficulties) if I could change the frame rate of an
> animated GIF on the fly. So far I haven't found anything in the
> documentation about this: can anyone say if it's possible and if so, how to
> do it?

You can't change the frameRate but you don't need to rely on it either. Set
the repeatCount of your GIF to 0 and increment the currentFrame via script.

[example card script]
on playGIF
get the currentFrame of img myGIF
if it < the frameCount of img myGIF then
put it+1 into F
else put 1 into F
set the currentFrame of img myGIF to F
send "playGIF" to me in 100 milliseconds #10 FPS
end playGIF

See the list archives for more on this technique. A scripted solution gives
you much greater control over GIF playback than the built-in timing in
animated GIFs.

Does anyone know why this happens and how one can get round it? I find this text more or less unreadable? TIA Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From carambola at aliceposta.it Tue May 11 08:18:37 2004 From: carambola at aliceposta.it (paolo) Date: Tue, 11 May 2004 14:18:37 +0200 Subject: specialFolderPath("documents") In-Reply-To: <20040511100229.47566.qmail@web60502.mail.yahoo.com> Message-ID: <548E9528-A345-11D8-8B9A-000393680A94@aliceposta.it> Thank to everybody for answering my question. It looks like the easiest way to get the path of the documents folder is put specialfolderpath("docs") As Klaus Major wrote .... "There is, but abbreviated :-)" Still, I do not understand way there is some "undocumented "codes" on Rev" Thank you again. Ciao Paolo From Doran_Dermot at emc.com Tue May 11 11:01:02 2004 From: Doran_Dermot at emc.com (Doran_Dermot at emc.com) Date: Tue, 11 May 2004 16:01:02 +0100 Subject: Has anybody found RunRev under Windows 2000 to be a bit flaky? Message-ID: <97B6410BE753D411894E00D0B77E6F7F018DC806@neam2mx1.isus.emc.com> Hello All, I'm running an evaluation copy of RunRev 2.2 under Windows 2000. Apart from being very impressed by the package I've also noticed some flaky behaviour. 1. I've had the application spontaneously fail during edit sessions. A logfile was going to be generated but I can't find it. One particular example of this involved copying text from an external application into the script editor. 2. Indentation in the script editor is sometimes impossible to get right! 3. Switching from browse to edit doesn't always allow me to run test the application correctly. Instead I have to generate the stand-alone application and test that. The small application that I had written was copying in to the Windows clipboard and only did so when I ran the stand-alone application. 4. I've found that once I had set the stack property "resizable" on and off a few times it was no longer possible to resize the mainstack using the mouse. 5. Changing text format properties for a group of labels did not seem to work! Only the first label changed visually. The properties of all the other labels changed in the inspector panel but did not change on the gui. I'm not sure if some of these problems are caused by my particular Windows 2000 configuration. I'm hoping that somebody can give me enough information in order to determine whether or not I should be looking at my own setup and not RunRev! Strangely enough the OS X version that I'm evaluating appears (so far) to behave much, much better! Any comments suggestions to any of the above would be very welcome! Kind Regards, Dermot Doran EMC2 GTS Solutions Level 2 Office: +31-20-7768439 Mobile: +31-6-55815258 From revlist at cableone.net Tue May 11 11:28:00 2004 From: revlist at cableone.net (Chris Sheffield) Date: Tue, 11 May 2004 09:28:00 -0600 Subject: Virtual PC In-Reply-To: Message-ID: <000001c4376c$8be01290$65fea8c0@chris1> Your standalone doesn't happen to be on the root of your drive does it? For example, C:\mystandalone.exe. If so, Rev standalones for some reason choke on this. Try placing your app inside another folder and running it again. If you need to click something on the root of a drive, create a shortcut to your app and put it next to the folder containing your app. If this is not the case, just ignore this message. :-) Chris Sheffield Read Naturally -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Terry Vogelaar (de Mare) Sent: Tuesday, May 11, 2004 12:09 AM To: use-revolution at lists.runrev.com Subject: Virtual PC Hi there, I tried to startup a standalone for Windows made by RunRev 2.2 on Virtual PC 5.0/Win98 running on MacOSX 10.2.8, but it didn't start. The cursor changed a few seconds and became an arrow again. The standalone made by RunRev 2.0.3 ran without a problem. Any others experiencing the same? Any solutions? Terry _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.681 / Virus Database: 443 - Release Date: 5/10/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.682 / Virus Database: 444 - Release Date: 5/11/2004 From asg618 at mac.com Tue May 11 11:33:59 2004 From: asg618 at mac.com (Alan Golub) Date: Tue, 11 May 2004 11:33:59 -0400 Subject: revJournal for sale (dirt cheap!) In-Reply-To: <97B6410BE753D411894E00D0B77E6F7F018DC806@neam2mx1.isus.emc.com> References: <97B6410BE753D411894E00D0B77E6F7F018DC806@neam2mx1.isus.emc.com> Message-ID: <9F7CD154-A360-11D8-AF50-000393BBDD30@mac.com> Hi Folks With regret, I am no longer able to continue maintaining revJournal.com. As is obvious to anyone who visits the site regularly, after a strong start, I simply haven't been able to give the project the attention is deserves. Several guest writers, most notably Richard Gaskin, Sarah Reichelt, Dan Shafer, and Bj?rnke von Gierke, have admirably taken up the slack to provide a great deal of awesome, regular content. I thank them all, and anyone I inadvertently failed to mention. It's been a great run. The domain registration expires on 6/1/2004, hence this open call to anyone interested in taking over the domain and maintenance of the site. Hosting has been provided by logjamming.com, which has done an awesome job with absolute minimal down time. I'm offering to turn over the entire project to any interested taker who agrees to continue to develop it in the spirit in which it was created: as a free resource for the entire rev community. The new publisher will be responsible for re-registering the domain name, and providing a host. I will remain available to ensure a smooth transition in terms of the tools/methods used to develop the site. So, it's all up for grabs for the ambitious taker -- the only costs will be domain registration and web hosting. Any takers? Alan S. Golub, Esq. Dwyer Golub & Isabel, A Professional Corporation 16 Furler Street P.O. Box 437 Totowa, NJ 07511-0437 Phone: (973) 785-4100, Ext. 103 Fax: (973) 785-4477 Web: www.dgilaw.com From carambola at aliceposta.it Tue May 11 11:53:08 2004 From: carambola at aliceposta.it (paolo) Date: Tue, 11 May 2004 17:53:08 +0200 Subject: finder language from MACOSX In-Reply-To: <9F7CD154-A360-11D8-AF50-000393BBDD30@mac.com> Message-ID: <4C4DEE7B-A363-11D8-BAF8-000393680A94@aliceposta.it> Do you know how can I get the language selected by the user on system preferences on MAC OS X ? Ciao Paolo From b.xavier at internet.lu Tue May 11 12:45:27 2004 From: b.xavier at internet.lu (MisterX) Date: Tue, 11 May 2004 18:45:27 +0200 Subject: Has anybody found RunRev under Windows 2000 to be a bit flaky? In-Reply-To: <97B6410BE753D411894E00D0B77E6F7F018DC806@neam2mx1.isus.emc.com> Message-ID: > Hello All, Hello Dermot Welcome to RR > I'm running an evaluation copy of RunRev 2.2 under Windows 2000. > Apart from > being very impressed by the package I've also noticed some flaky > behaviour. flaky is fuzzy, software quality is fuzzy, RR is of great quality but it has its flukes just like MS office and surely not as many!!! > 1. I've had the application spontaneously fail during edit sessions. A > logfile was going to be generated but I can't find it. One particular > example of this involved copying text from an external > application into the script editor. the log file is located here ../Revolution/components/save/sessionlog.txt The obvious flakiness is that it is automatically erased if you reopen RR. So dont forget to retrieve it (a simple DOS batch or AS applet to copy it and then launch RR would be a solution until the developper finds the file appending function ;) There's no date stamps in the file either so rename it with the last modif date to remember before moving the file! I'll post a log keeping agent stack very soon meanwhile... > 2. Indentation in the script editor is sometimes impossible to > get right! I dont like it either but i hope they soon repair the plug-in event mechanism so I can run my own! > 3. Switching from browse to edit doesn't always allow me to run test the > application correctly. Instead I have to generate the stand-alone > application and test that. The small application that I had written was > copying in to the Windows clipboard and only did so when I ran the > stand-alone application. Your stack, not RR. I use daily a clipboard agent and have no problems! > 4. I've found that once I had set the stack property "resizable" > on and off > a few times it was no longer possible to resize the mainstack using the > mouse. uh? make sure you can repeat these reality bending experiences ;) > 5. Changing text format properties for a group of labels did not seem to > work! Only the first label changed visually. The properties of all the > other labels changed in the inspector panel but did not change on the gui. Properties of objects and of text inside may be set separately (inheritance broken bug I guess ;) set the text[font|size|color] of fld x to "arial|9|red" > I'm not sure if some of these problems are caused by my particular Windows > 2000 configuration. I'm hoping that somebody can give me enough > information > in order to determine whether or not I should be looking at my > own setup and not RunRev! I run RR on 2000, 2003 no probs (sort of ;) but it runs fine. Some compromises may be required as a trade of for the coolest IDE out there! > Strangely enough the OS X version that I'm evaluating appears (so far) to > behave much, much better! Now Im jealous! > Any comments suggestions to any of the above would be very welcome! voila! > Kind Regards, > > Dermot Doran > EMC2 GTS Solutions Level 2 > Office: +31-20-7768439 > Mobile: +31-6-55815258 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From graham.samuel at wanadoo.fr Tue May 11 13:07:20 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Tue, 11 May 2004 19:07:20 +0200 Subject: Can I alter the frame rate of an animated GIF by script? Message-ID: <6.1.0.6.2.20040511190116.01d06ca8@pop3.blueyonder.co.uk> On Mon, 10 May 2004 16:30:06 -0700 (PDT), Alejandro Tejada wrote: >Look at this approach to show animation in >your stack: > > > > > > > >Abraham Wouter created a professional example of >a filmstrip player. You could write him for a copy. >I think that the name of the file that he sent me is >"MetamoviePlayer". > >Notice, Graham, this is one of the best way to have >animated png or vector graphics in your stack! > >The animated png format is mng, but it's still a >work in progress. > >Scott Rossi created this walking animation example, >some time ago: > > > >Good luck and keep us informed of your advances >in this area. Thanks Al, I'm looking at this. Couldn't download your .gz example (the link is wrong) but I did find your script. I think I see the idea, and anyway I will study it very carefully. The stuff I'm doing is very filmstrip-like, in that I just want to show a succession of simple frames at different speeds, and sometimes backwards. I then sync the animation with a sound (I have a different sound for each speed - there is no way as far as I know to play sounds at different speeds except via QuickTime which I am not able to use). This part seems easy (it's always worked), so I have high hopes of this method. I'll let the list know how I get on with this and other suggestions which have been made in the last few hours. It seems a strange route to have taken - from QuickTime to Animated GIF to DIY animation, but if it works I'm all for it! Thanks again Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From nnoydb at excite.com Tue May 11 15:46:32 2004 From: nnoydb at excite.com (Kevin) Date: Tue, 11 May 2004 15:46:32 -0400 (EDT) Subject: # Message-ID: <20040511194632.05C54B720@xprdmailfe19.nwk.excite.com> I will give it a try. -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Tue 05/11, Malte Brill < malte.brill at t-online.de > wrote: From: Malte Brill [mailto: malte.brill at t-online.de] To: use-revolution at lists.runrev.com Date: Tue, 11 May 2004 13:45:39 +0200 Subject: Re: # "go" without focus Hi Kevin,

>However, I do not want it to steal focus.

try something like this

put the focusedObject into theObject
go stack "yourOtherStack"
do "focus on" && theObject

Best,

Malte

_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From nnoydb at excite.com Tue May 11 15:49:05 2004 From: nnoydb at excite.com (Kevin) Date: Tue, 11 May 2004 15:49:05 -0400 (EDT) Subject: Tutorial explanation object lib for creating a multiplatform splitter? Message-ID: <20040511194905.8F31BB744@xprdmailfe19.nwk.excite.com> Thanks! Kevin -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Tue 05/11, Jan Schenkel < janschenkel at yahoo.com > wrote: From: Jan Schenkel [mailto: janschenkel at yahoo.com] To: nnoydb at excite.com, use-revolution at lists.runrev.com Date: Tue, 11 May 2004 02:15:37 -0700 (PDT) Subject: Re: Tutorial explanation object lib for creating a multiplatform splitter? --- Kevin wrote:
>
> This object is in the Object Library?
>

As far as I know, there is no such object in the
object library. But I did test the script I gave you
with two fields and a button, and it worked just fine.

Jan Schenkel.

=====
"As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld)




__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From jacque at hyperactivesw.com Tue May 11 16:14:50 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 11 May 2004 15:14:50 -0500 Subject: Look'N'Feel in XP? In-Reply-To: References: Message-ID: <40A1343A.7040902@hyperactivesw.com> On 5/10/04 6:40 PM, Judy Perry wrote: > When I try to change the look'n'feel to anything other than XP, it > doesn't. Is this normal behavior? Sort of, in OS X. It's a bug. Once you change it, you can't change it back. Tuv knows about it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Tue May 11 16:23:41 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 11 May 2004 15:23:41 -0500 Subject: How to be faceless - OS X In-Reply-To: Message-ID: <002b01c43795$e1a072a0$6601a8c0@precision340> Ian, You can do most of this by setting your app to be "background only". See my tip at: http://www.sonsothunder.com/devres/revolution/revolution.htm?_proc003 It will appear in the list of processes in the Process Watcher, but won't have a Dock icon or be able to be option-Tabbed to. HTH, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Ian Summerfield > Sent: Tuesday, May 11, 2004 2:51 AM > To: use-revolution at lists.runrev.com > Subject: How to be faceless - OS X > > > Hello, > > I see in the Revolution spec that it can build faceless > applications. > Maybe my understanding of what a faceless application is needs > correction though! I'm hoping it's the ability to build a standalone > program for Mac OS X that will not appear in the doc, have no menus, > and possibly run as a daemon. Is this possible? > > Regards. > > Ian Summerfield > International Ccreative Management > London > > -------------------------------------------------------------- > ------------------------------------------------------ > This email and any files transmitted with it are > confidential and may contain legally privileged information. > It is intended solely for use of the individual(s) or entity > to whom it is addressed. > > Should you receive this message in error, please notify the > sender by replying to this mail or calling +44 20 7636 6565. > > If you are not the intended recipient, any disclosure, > distribution, reproduction, printing or reliance on the > contents of this information is strictly prohibited and may > be illegal. > > Any views expressed by an individual within this EMail do not > necessarily reflect the views of ICM. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Tue May 11 16:06:04 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 11 May 2004 15:06:04 -0500 Subject: finder language from MACOSX In-Reply-To: <4C4DEE7B-A363-11D8-BAF8-000393680A94@aliceposta.it> Message-ID: <002401c43793$6c5eaa40$6601a8c0@precision340> Well, there's a free OSAX that you can ue with AppleScript called "SystemLanguage": http://microcosmsoftware.com/systemlanguage/ HTH, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of paolo > Sent: Tuesday, May 11, 2004 10:53 AM > To: How to use Revolution > Subject: finder language from MACOSX > > > > Do you know how can I get the language selected by the user > on system > preferences on MAC OS X ? > > Ciao Paolo > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Tue May 11 16:30:18 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 11 May 2004 15:30:18 -0500 Subject: This list: formattting issue In-Reply-To: <6.1.0.6.2.20040511083254.01cf5610@pop3.blueyonder.co.uk> References: <6.1.0.6.2.20040511083254.01cf5610@pop3.blueyonder.co.uk> Message-ID: <40A137DA.5040306@hyperactivesw.com> On 5/11/04 2:38 AM, Graham Samuel wrote: > I notice that every time Kevin (and **only** Kevin) includes a quotation > in a message to the list (at least when I see it in the Digest) it comes > out like uninterpreted HTML - a text string with tags but no returns. Sounds like Kevin is sending messages in HTML format rather than plain text, and the list software is not interpreting it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jperryl at ecs.fullerton.edu Tue May 11 16:43:47 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 11 May 2004 13:43:47 -0700 (PDT) Subject: Look'N'Feel in XP? In-Reply-To: <40A1343A.7040902@hyperactivesw.com> Message-ID: So, it only happens in XP under OS X? Do I understand this correctly? Thanks, Judy On Tue, 11 May 2004, J. Landman Gay wrote: > On 5/10/04 6:40 PM, Judy Perry wrote: > > > When I try to change the look'n'feel to anything other than XP, it > > doesn't. Is this normal behavior? > > Sort of, in OS X. It's a bug. Once you change it, you can't change it > back. Tuv knows about it. From nnoydb at excite.com Tue May 11 17:00:12 2004 From: nnoydb at excite.com (Kevin) Date: Tue, 11 May 2004 17:00:12 -0400 (EDT) Subject: This list: formattting issue Message-ID: <20040511210012.2426DB72F@xprdmailfe19.nwk.excite.com> Try this! Kevin -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Tue 05/11, J. Landman Gay wrote: From: J. Landman Gay [mailto: jacque at hyperactivesw.com] To: use-revolution at lists.runrev.com Date: Tue, 11 May 2004 15:30:18 -0500 Subject: Re: This list: formattting issue On 5/11/04 2:38 AM, Graham Samuel wrote:> I notice that every time Kevin (and **only** Kevin) includes a quotation > in a message to the list (at least when I see it in the Digest) it comes > out like uninterpreted HTML - a text string with tags but no returns.Sounds like Kevin is sending messages in HTML format rather than plain text, and the list software is not interpreting it.-- Jacqueline Landman Gay | jacque at hyperactivesw.comHyperActive Software | http://www.hyperactivesw.com_______________________________________________use-revolution mailing listuse-revolution at lists.runrev.comhttp://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From jacque at hyperactivesw.com Tue May 11 17:06:02 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 11 May 2004 16:06:02 -0500 Subject: Look'N'Feel in XP? In-Reply-To: References: Message-ID: <40A1403A.1080306@hyperactivesw.com> On 5/11/04 3:43 PM, Judy Perry wrote: > So, it only happens in XP under OS X? Do I understand this correctly? I'm not sure, but I think so. I was experimenting in OS X when I found the problem. Maybe someone else can try it on another OS and report their results. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gizmotron at earthlink.net Tue May 11 17:58:21 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Tue, 11 May 2004 14:58:21 -0700 Subject: This list: formattting issue; this In-Reply-To: <40A137DA.5040306@hyperactivesw.com> Message-ID: <515FFDB1-A396-11D8-B23C-000A95859272@earthlink.net> On Tuesday, May 11, 2004, at 01:30 PM, J. Landman Gay wrote: > Sounds like Kevin is sending messages in HTML format rather than plain > text, and the list software is not interpreting it.

Well That's interesting.

From tsj at unimelb.edu.au Tue May 11 18:11:18 2004 From: tsj at unimelb.edu.au (Terry Judd) Date: Wed, 12 May 2004 08:11:18 +1000 Subject: Another list formattting issue In-Reply-To: <20040511115001.825DE930101@mail.runrev.com> References: <20040511115001.825DE930101@mail.runrev.com> Message-ID: <20D66D69-A398-11D8-B968-0003930D06A0@unimelb.edu.au> Lately, the frequency of digests has decreased (a good thing) resulting in an increase in the number of messages they contain. Browsing for an individual message within these digests can be a little difficult and would be simplified if each message was 'tagged' with a number - corresponding to the number given to each message in the digest's header. Is this possible? Cheers, Terry... Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Facutly of Medicine, Dentistry & Health Sciences The University of Melbourne From jacque at hyperactivesw.com Tue May 11 19:45:25 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 11 May 2004 18:45:25 -0500 Subject: This list: formattting issue; this In-Reply-To: <515FFDB1-A396-11D8-B23C-000A95859272@earthlink.net> References: <515FFDB1-A396-11D8-B23C-000A95859272@earthlink.net> Message-ID: <40A16595.9060704@hyperactivesw.com> On 5/11/04 4:58 PM, Mark Brownell wrote: > > On Tuesday, May 11, 2004, at 01:30 PM, J. Landman Gay wrote: > >> Sounds like Kevin is sending messages in HTML format rather than plain >> text, and the list software is not interpreting it. > > > >

Well That's mark in mtml>interesting mtml>.

>
> > It isn't entirely clear to me, but it looks like this post has the incidental side-effect of setting a doorbell to speak. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From nnoydb at excite.com Tue May 11 19:48:40 2004 From: nnoydb at excite.com (K) Date: Tue, 11 May 2004 19:48:40 -0400 (EDT) Subject: Confused? "visable" and "go" Message-ID: <20040511234840.00EFABF4D@xprdmailfe13.nwk.excite.com> Okay, I just realized somthing I do not understand. I have a sub-stack called Logger it is loaded (or at least shown in the Application Browser). When I "get" it's visible property it is true. Now this stack has no desktop presentation so I assumed (incorrectly as I now know) that this property would be false (since it is not shown). How else would one find out if a particular stack is shown (has a desktop presentation)? K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From rcozens at pon.net Tue May 11 19:54:46 2004 From: rcozens at pon.net (Rob Cozens) Date: Tue, 11 May 2004 16:54:46 -0700 Subject: Confused? "visable" and "go" In-Reply-To: <20040511234840.00EFABF4D@xprdmailfe13.nwk.excite.com> References: <20040511234840.00EFABF4D@xprdmailfe13.nwk.excite.com> Message-ID: >How else would one find out if a particular stack is shown (has a >desktop presentation)? if there is a window [stackName] then -- -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From curry at pair.com Tue May 11 22:15:08 2004 From: curry at pair.com (curry) Date: Tue, 11 May 2004 21:15:08 -0500 Subject: Web links in software In-Reply-To: <20040511160102.39C019300FF@mail.runrev.com> References: <20040511160102.39C019300FF@mail.runrev.com> Message-ID: Does anyone know whether permission is needed from a web page owner to put a URL link to that page in a software application? (Similar to the way a link is placed on the internet?) My application will include some reference info on topics, with links to some web sites that are mostly non-profit organizations or informative pages about the topics. This is getting a bit OT I'm sure but I'm going to do the app in Rev and wondered if anyone had used links like this before or knew about it. Thanks, Curry From chipp at chipp.com Tue May 11 22:58:37 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 11 May 2004 21:58:37 -0500 Subject: altColorizeScript Library Message-ID: <40A192DD.4080802@chipp.com> I just uploaded version 0.5 of my altColorizeScript Library. This is a handy library which can colorize text in fields based on rules for: HTML, XML and CSS. You can even roll your own colorization rules. I use it for some of my text handling stacks. It can be found at the bottom of the Downloads page at my RunRev site: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm best, Chipp Walters From katir at hindu.org Wed May 12 00:57:46 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Tue, 11 May 2004 18:57:46 -1000 Subject: Rev cgi install + potential problem with cgi tutorial In-Reply-To: <409A83E2.6155FD36@Club-Internet.fr> References: <409A83E2.6155FD36@Club-Internet.fr> Message-ID: jbv: Last time we tried to install Revolution on a Linux server we could not get it to work, even with correct permissions, due to missing libraries... we *were* able to drop an old copy of MC into the cgi-bin and chmod 755, and it worked as expected. What version of Rev did you install? Are the missing libraries now included in the latest Linux distribution? Or did you do something yourself as a work around for missing libraries? We're moving to a managed dedicated server-box soon, probably with Rack Space, and I'll need to install Revolution there under Red Hat. Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org On May 6, 2004, at 8:29 AM, jbv wrote: > You probably remember my posts from last week about > the problems I was facing while trying to install Rev cgi > on a Linux server. > > I'm happy to say that these problems have been solved, > and I thought some of you could be interested in knowing > what was wrong. From r.hartley at bio.gla.ac.uk Wed May 12 04:23:58 2004 From: r.hartley at bio.gla.ac.uk (Robert Hartley) Date: Wed, 12 May 2004 09:23:58 +0100 Subject: line wrap Message-ID: <6.0.3.0.0.20040512092305.026e5930@udcf.gla.ac.uk> Dear Heather and list. The book had a line wrapped url. to prevent this I use tinyurl. www.tinyurl.com cheers bob Dr. Robert Hartley, Spinal Cord Group, Institute of Biomedical & Life Sciences, West Medical Building, University of Glasgow, Glasgow. G12 8QQ r.hartley at bio.gla.ac.uk http://www.gla.ac.uk/~rh82p/ Phone +44 141 330 4367 From ambassador at fourthworld.com Wed May 12 04:46:54 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 12 May 2004 01:46:54 -0700 Subject: line wrap In-Reply-To: <6.0.3.0.0.20040512092305.026e5930@udcf.gla.ac.uk> References: <6.0.3.0.0.20040512092305.026e5930@udcf.gla.ac.uk> Message-ID: <40A1E47E.8040305@fourthworld.com> Robert Hartley wrote: > Dear Heather and list. > > The book had a line wrapped url. to prevent this I use tinyurl. > www.tinyurl.com Whatever happened to the good old days when email clients were expected to treat any URL between "<" and ">" as a single reference? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From thierry.arbellot at wanadoo.fr Wed May 12 05:08:03 2004 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Wed, 12 May 2004 11:08:03 +0200 Subject: finder language from MACOSX In-Reply-To: <4C4DEE7B-A363-11D8-BAF8-000393680A94@aliceposta.it> Message-ID: Hi Paolo, You can use the following command: put replaceText(shell("defaults read NSGlobalDomain AppleLanguages"),"(\s|\(|\))","") into theLanguagesList the theLanguagesList variable will contain the list of the chosen languages by the user as there are in the system preferences. By example on my system: "en,fr,ko" Note that a language could be in a short format - en - or long format - English Hope it helps. Thierry. On Tuesday, May 11, 2004, at 17:53 Europe/Paris, paolo wrote: > > Do you know how can I get the language selected by the user on system > preferences on MAC OS X ? > > Ciao Paolo > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From capellan2000 at yahoo.com Wed May 12 05:57:52 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Wed, 12 May 2004 02:57:52 -0700 (PDT) Subject: [ANN] New version of Graphic Tools In-Reply-To: <20040511160102.39C019300FF@mail.runrev.com> Message-ID: <20040512095752.76887.qmail@web40514.mail.yahoo.com> Hi Developers, Download the more recent version of the stack: Graphic Tools v01cBeta. A draft for a vector graphic editor made in RR/MC. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Movies - Buy advance tickets for 'Shrek 2' http://movies.yahoo.com/showtimes/movie?mid=1808405861 From tuviah at runrev.com Wed May 12 06:32:15 2004 From: tuviah at runrev.com (tuviah snyder) Date: Wed, 12 May 2004 06:32:15 -0400 Subject: Look'N'Feel in XP? References: <20040512095707.C2EF993011F@mail.runrev.com> Message-ID: <004c01c4380c$652bd170$0300a8c0@USER> >Sort of, in OS X. It's a bug. Once you change it, you can't change it >back. This was fixed by 2.2 final. Was never reported, bugzilla number? The only thing I am aware of is that the UI needs to be adjusted so that you can switch back to the appearance manager look and feel on Windows. But you can do this by typing set the lookandfeel to "appearance manager" in the message box. Tuviah From FlexibleLearning at aol.com Wed May 12 07:21:10 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Wed, 12 May 2004 07:21:10 EDT Subject: Confused? "visable" and "go" Message-ID: <12a.412d8524.2dd362a6@aol.com> >Okay, I just realized somthing I do not understand. I have a sub-stack >called Logger it is loaded (or at least shown in the Application Browser). > When I "get" it's visible property it is true. Now this stack has no >desktop presentation so I assumed (incorrectly as I now know) that this >property would be false (since it is not shown). How else would one find >out if a particular stack is shown (has a desktop presentation)? > > > >K 'Closed' and 'visible' are, as you have discovered, not mutually exclusive. Use the mode property to determine if a stack is closed... if the mode of stack "Logger" = 0 then /H From nnoydb at excite.com Wed May 12 08:04:48 2004 From: nnoydb at excite.com (K) Date: Wed, 12 May 2004 08:04:48 -0400 (EDT) Subject: Confused? Message-ID: <20040512120448.BC9EB3E67@xprdmailfe12.nwk.excite.com> Thanks! That was very helpful and solved a usability issue. Kevin -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Wed 05/12, wrote: From: [mailto: FlexibleLearning at aol.com] To: use-revolution at lists.runrev.com Date: Wed, 12 May 2004 07:21:10 EDT Subject: Re: Confused? "visable" and "go" >Okay, I just realized somthing I do not understand. I have a sub-stack>called Logger it is loaded (or at least shown in the Application Browser).> When I "get" it's visible property it is true. Now this stack has no>desktop presentation so I assumed (incorrectly as I now know) that this>property would be false (since it is not shown). How else would one find>out if a particular stack is shown (has a desktop presentation)? >>>>K'Closed' and 'visible' are, as you have discovered, not mutually exclusive. Use the mode property to determine if a stack is closed...if the mode of stack "Logger" = 0 then/H_______________________________________________use-revolution mailing listuse-revolution at lists.runrev.comhttp://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From heather at runrev.com Wed May 12 06:23:07 2004 From: heather at runrev.com (Heather Nagey) Date: Wed, 12 May 2004 11:23:07 +0100 Subject: Another list formattting issue In-Reply-To: <20040512095707.C2EF993011F@mail.runrev.com> Message-ID: > Message: 13 > Date: Wed, 12 May 2004 08:11:18 +1000 > From: Terry Judd > Subject: Another list formattting issue > To: use-revolution at lists.runrev.com > Message-ID: <20D66D69-A398-11D8-B968-0003930D06A0 at unimelb.edu.au> > Content-Type: text/plain; charset=US-ASCII; format=flowed > > Lately, the frequency of digests has decreased (a good thing) resulting > in an increase in the number of messages they contain. Browsing for an > individual message within these digests can be a little difficult and > would be simplified if each message was 'tagged' with a number - > corresponding to the number given to each message in the digest's > header. > > Is this possible? I don't see an option to do this with our current list management software, sorry, Regards, Heather > > Cheers, > > Terry... -- ** For a faster response to all licensing, support, and technical issues, please now send mail to support at runrev.com ** Heather Nagey ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools Tel +44 (0) 131 7184333 Fax +44 (0) 845 4588487 ~~~ Check our web site for new Revolution editions & special offers ~~~ From jan.decroos at groepvanroey.be Wed May 12 08:34:47 2004 From: jan.decroos at groepvanroey.be (Jan Decroos) Date: Wed, 12 May 2004 14:34:47 +0200 Subject: finally keyword changed since 1.5 ? Message-ID: Hi, When we have next btn script (we have *NO* field "XYZT"), as an example: ********** on mouseUp try put 5 into field "XYZT" catch lMess StopWithMessage "put : Cannot find field " finally answer "Finally" end try exit to top end mouseUp on StopWithMessage pMess answer error pMess exit to top end StopWithMessage ************ IN Rev 1.5, the second answer ("Finally") is executed. In Rev 2.1 and 2.2, it is not. The doc's tell the finally section is *always* executed (as in 1.5) : "The finally section is always executed even if the try control structure contains an exit or pass statement, so it can be used for final cleanup actions such as deleting variables." The doc's do not mention any changes in this keyword since 1.5. OK, we can : - put all commands in the finally section into the catch section too, or, - remove the exit to top from the StopWithMessage handler, or - .... but this shouldn't be done following the doc's. Is this a bug (Tuviah, Scott) ? Or *was* it a bug in 1.5 ? Regards, Jan From rjb at rz.uni-potsdam.de Wed May 12 08:39:18 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed, 12 May 2004 14:39:18 +0200 Subject: Creating bulletin boards, chat rooms... In-Reply-To: References: <20040510221229.3F3A49300EA@mail.runrev.com> <002b01c436e6$96910180$58bfef84@maerkhpc1> Message-ID: >i've been slowly working away on a multi-user bbs system using rev.. the >first few test versions worked, but there was still a lot of work to do >on it, and lately i have been working more on it.. it's all built in >modules, so pieces can be easily updated, switched out, etc without >having to redownload the whole program.. when there's something more >stable and usuable, i'll post.. > >-Sean I wonder whether the bbs you talk about could be used as a forum. I need to implement (later this year) forum option for university courses. I mean an online system that allows students to leave notes to be read by others (restricted to people taking a given course). This will need to be intgerated with the content-management system (MC-based) used to maintain course information and soon also the downloadable materials. Robert From nnoydb at excite.com Wed May 12 09:15:17 2004 From: nnoydb at excite.com (K) Date: Wed, 12 May 2004 09:15:17 -0400 (EDT) Subject: answer file (multiple file selection) Message-ID: <20040512131517.7DB123EB2@xprdmailfe12.nwk.excite.com> Is there a common dialog (answer file) for requesting multiple files from a user? K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From xbury.cs at clearstream.com Wed May 12 09:37:14 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed, 12 May 2004 15:37:14 +0200 Subject: answer file (multiple file selection) Message-ID: K, Try: set the systemfileselector to false Oops, it crashed RR... What the farg... At least you can customize it if you can make it work... No wonder there is no prefs for this great MC feature! I've been rewriting it but with so little time already taken with BUGZILLAS to enter... >;( On 12.05.2004 15:15:17 use-revolution-bounces wrote: >Is there a common dialog (answer file) for requesting multiple files from a >user? > >K > > >-==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- >Disclaimer: > >Any resemblance between the above views and those of my >employer, my terminal, or the view out my window are purely >coincidental. >Any resemblance between the above and my own views is non-deterministic. > >The question of the existence of views in the absence of anyone to hold >them >is left as an exercise for the reader. The question of the existence of >the reader >is left as an exercise for the second god coefficient. >(A discussion of non-orthogonal, non-integral polytheism is beyond the >scope of this article.) > > > >_______________________________________________ >Join Excite! - http://www.excite.com >The most personalized portal on the Web! >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >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 janschenkel at yahoo.com Wed May 12 09:49:09 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 12 May 2004 06:49:09 -0700 (PDT) Subject: answer file (multiple file selection) In-Reply-To: <20040512131517.7DB123EB2@xprdmailfe12.nwk.excite.com> Message-ID: <20040512134909.90437.qmail@web60508.mail.yahoo.com> --- K wrote: > > Is there a common dialog (answer file) for > requesting multiple files from a user? > > K > Hi Kevin, The current answer file won't allow you to do that ; if you can't find a bugzilla request for such an enhancement, make sure to file it and mention it here so people can vote for it. In the meantime, your best option is to : - set the systemFileSelector to false - modify the stack "file selector" from the revLibraty stack to suit your needs - in particular, allow multiple selection of files, and change the script of the 'Save'/'Open' button to pass multiple filepaths Not a happy-fun task, but it can be done if you're the adventurous type. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Movies - Buy advance tickets for 'Shrek 2' http://movies.yahoo.com/showtimes/movie?mid=1808405861 From klaus at major-k.de Wed May 12 09:53:59 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 12 May 2004 15:53:59 +0200 Subject: finally keyword changed since 1.5 ? In-Reply-To: References: Message-ID: Dag Jan, > Hi, > > When we have next btn script (we have *NO* field "XYZT"), as an > example: > ********** > on mouseUp > try > put 5 into field "XYZT" > catch lMess > StopWithMessage "put : Cannot find field " > finally > answer "Finally" > end try > exit to top > end mouseUp > > on StopWithMessage pMess > answer error pMess > exit to top this line will exit ANY handler immediately! So there is no "finally" processed... ;-) From the docs: exit to top Halts the current handler and all pending handlers. Use the exit to top control structure to stop executing the current handler and suppress pending messages. > end StopWithMessage > *********** > ... > OK, we can : > - put all commands in the finally section into the catch section too, > or, > - remove the exit to top from the StopWithMessage handler, or > - .... > but this shouldn't be done following the doc's. > > Is this a bug (Tuviah, Scott) ? Although i am not Tuviah or Scott, i don't think this is a bug ;-) Hope that helps... > Or *was* it a bug in 1.5 ? > > Regards, > Jan Regards Klaus Major klaus at major-k.de www.major-k.de From nnoydb at excite.com Wed May 12 09:55:39 2004 From: nnoydb at excite.com (K) Date: Wed, 12 May 2004 09:55:39 -0400 (EDT) Subject: Images Win32 Platform Message-ID: <20040512135539.80E723E33@xprdmailfe12.nwk.excite.com> Why would all my images be gray squares when I build a stand alone? K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From carambola at aliceposta.it Wed May 12 10:02:23 2004 From: carambola at aliceposta.it (paolo) Date: Wed, 12 May 2004 16:02:23 +0200 Subject: finder language from MACOSX In-Reply-To: Message-ID: This is great! It works .... and this is a very important feature to develop multilingual projects. Thanks for your help. If you want have a look at my project if is available at : http://www.apple.com/downloads/macosx/home_learning/icartoon.html CIao Paolo ________________________________________________________________________ ________ Mercoled?, 12 Mag 2004, alle 11:08 Europe/Rome, Thierry Arbellot ha scritto: > Hi Paolo, > > You can use the following command: > > put replaceText(shell("defaults read NSGlobalDomain > AppleLanguages"),"(\s|\(|\))","") into theLanguagesList > > the theLanguagesList variable will contain the list of the chosen > languages by the user as there are in the system preferences. > By example on my system: "en,fr,ko" > > Note that a language could be in a short format - en - or long format > - English > > Hope it helps. > > Thierry. > > On Tuesday, May 11, 2004, at 17:53 Europe/Paris, paolo wrote: > >> >> Do you know how can I get the language selected by the user on >> system preferences on MAC OS X ? >> >> Ciao Paolo >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From nnoydb at excite.com Wed May 12 09:58:54 2004 From: nnoydb at excite.com (K) Date: Wed, 12 May 2004 09:58:54 -0400 (EDT) Subject: Images Win32 Platform Message-ID: <20040512135854.C35FB3E58@xprdmailfe12.nwk.excite.com> Note despite the subject line whis is occuring on all my platforms. K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Wed 05/12, K wrote: From: K [mailto: nnoydb at excite.com] To: use-revolution at runrev.com Date: Wed, 12 May 2004 09:55:39 -0400 (EDT) Subject: Images Win32 Platform Why would all my images be gray squares when I build a stand alone? K-==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-Disclaimer:Any resemblance between the above views and those of myemployer, my terminal, or the view out my window are purelycoincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to holdthemis left as an exercise for the reader. The question of the existence ofthe reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond thescope of this article.)_______________________________________________Join Excite! - http://www.excite.comThe most personalized portal on the Web!_______________________________________________use-revolution mailing listuse-revolution at lists.runrev.comhttp://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From bornstein at designeq.com Wed May 12 10:01:27 2004 From: bornstein at designeq.com (Howard Bornstein) Date: Wed, 12 May 2004 10:01:27 -0400 Subject: Web links in software In-Reply-To: References: <20040511160102.39C019300FF@mail.runrev.com> Message-ID: On May 11, 2004, at 10:15 PM, curry wrote: > Does anyone know whether permission is needed from a web page owner to > put a URL link to that page in a software application? (Similar to the > way a link is placed on the internet?) Considering that Google and other search engines link to web pages all the time w/o permission, and that in print material, references to other books are done without "permission" I don't believe this will be a problem. Referencing another work does not require permission. Displaying the link *content* in your own web page (or software) is another issue. Remember how Dilbert ended up using a real-time generated URL reference so people wouldn't be able to simply reference the daily strip and show it in their own web pages? Regards, Howard Bornstein ----------------------- D E S I G N E Q www.designeq.com From jhurley at infostations.com Wed May 12 10:01:58 2004 From: jhurley at infostations.com (Jim Hurley) Date: Wed, 12 May 2004 07:01:58 -0700 Subject: New version of Graphic Tools In-Reply-To: <20040512095707.C2EF993011F@mail.runrev.com> References: <20040512095707.C2EF993011F@mail.runrev.com> Message-ID: > > >Message: 23 >Date: Wed, 12 May 2004 02:57:52 -0700 (PDT) >From: Alejandro Tejada >Subject: [ANN] New version of Graphic Tools >To: use-revolution at lists.runrev.com >Message-ID: <20040512095752.76887.qmail at web40514.mail.yahoo.com> >Content-Type: text/plain; charset=us-ascii > >Hi Developers, > >Download the more recent version of the stack: >Graphic Tools v01cBeta. A draft for a vector graphic >editor made in RR/MC. > > > >al > >===== >Visit my site: >http://www.geocities.com/capellan2000/ >Search the mail list: >http://mindlube.com/cgi-bin/search-use-rev.cgi Al, Well done, Al ! We now have Illustrator in Run Rev. I have just scratched the surface of your stack, but it appears to have all the essentials. Jim From janschenkel at yahoo.com Wed May 12 10:06:33 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 12 May 2004 07:06:33 -0700 (PDT) Subject: Images Win32 Platform In-Reply-To: <20040512135854.C35FB3E58@xprdmailfe12.nwk.excite.com> Message-ID: <20040512140633.56909.qmail@web60504.mail.yahoo.com> --- K wrote: > > Why would all my images be gray squares when I build > a stand alone? > Note despite the subject line whis is occuring on > all my platforms. > > K > Hi Kevin, Are you using images from the Standard Images set or the MetaCard Compatible Icons ? If so, you need to include these at build time, so best check the standalone settings. If you are using referenced images, the path name must be correct ; if you're using relative paths, make sure they're at the same relative paths. If neither of the above answers help, please specify a bit more what kind of images you're talking about. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Movies - Buy advance tickets for 'Shrek 2' http://movies.yahoo.com/showtimes/movie?mid=1808405861 From xbury.cs at clearstream.com Wed May 12 10:13:01 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed, 12 May 2004 16:13:01 +0200 Subject: Images Win32 Platform Message-ID: K It's just a sign to say that the images are not in the stack or the ID of teh image has changed... Changing an image from one group to another will change the image's id... And you get a lost image grey pattern... Or compiling an application without included the image libraries... Im nearly finished on a GUI Image manager to counter this funky problem... But unless anyone is willing to sponsor me, Im not in a hurry! ;) On 12.05.2004 15:58:54 use-revolution-bounces wrote: >Note despite the subject line whis is occuring on all my platforms. > >K > >-==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- >Disclaimer: > >Any resemblance between the above views and those of my >employer, my terminal, or the view out my window are purely >coincidental. >Any resemblance between the above and my own views is non-deterministic. > >The question of the existence of views in the absence of anyone to hold >them >is left as an exercise for the reader. The question of the existence of >the reader >is left as an exercise for the second god coefficient. >(A discussion of non-orthogonal, non-integral polytheism is beyond the >scope of this article.) > > > >--- On Wed 05/12, K wrote: >From: K [mailto: nnoydb at excite.com] >To: use-revolution at runrev.com >Date: Wed, 12 May 2004 09:55:39 -0400 (EDT) >Subject: Images Win32 Platform > >Why would all my images be gray squares when I build a stand alone? >K-==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-Disclaimer:Any resemblance between >the above views and those of myemployer, my terminal, or the view out my window >are purelycoincidental. Any resemblance between the above and my own views is >non-deterministic. The question of the existence of views in the absence of >anyone to holdthemis left as an exercise for the reader. The question of the >existence ofthe reader is left as an exercise for the second god coefficient. >(A discussion of non-orthogonal, non-integral polytheism is beyond thescope of >this article.)_______________________________________________Join Excite! - >http://www.excite.comThe most personalized portal on the >Web!_______________________________________________use-revolution mailing >listuse-revolution at lists.runrev.comhttp://lists.runrev.com/mailman/listinfo/use- >revolution > >_______________________________________________ >Join Excite! - http://www.excite.com >The most personalized portal on the Web! >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >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 nnoydb at excite.com Wed May 12 10:21:38 2004 From: nnoydb at excite.com (K) Date: Wed, 12 May 2004 10:21:38 -0400 (EDT) Subject: Images Win32 Platform Message-ID: <20040512142138.716813E46@xprdmailfe12.nwk.excite.com> When you refer to same releative path you mean my png files must be in the same releative path in the standalone directory as they were when I create the image object correct? K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) --- On Wed 05/12, Jan Schenkel wrote: From: Jan Schenkel [mailto: janschenkel at yahoo.com] To: use-revolution at lists.runrev.com Date: Wed, 12 May 2004 07:06:33 -0700 (PDT) Subject: RE: Images Win32 Platform --- K wrote:> > Why would all my images be gray squares when I build> a stand alone?> Note despite the subject line whis is occuring on> all my platforms.> > K> Hi Kevin,Are you using images from the Standard Images set orthe MetaCard Compatible Icons ? If so, you need toinclude these at build time, so best check thestandalone settings.If you are using referenced images, the path name mustbe correct ; if you're using relative paths, make surethey're at the same relative paths.If neither of the above answers help, please specify abit more what kind of images you're talking about.Jan Schenkel.====="As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________Do you Yahoo!?Yahoo! Movies - Buy advance tickets for 'Shrek 2'http://movies.yahoo.com/showtimes/movie?mid=1808405861 _______________________________________________use-revolution mailing listuse-revolution at lists.runrev.comhttp://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From klaus at major-k.de Wed May 12 10:21:59 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 12 May 2004 16:21:59 +0200 Subject: finder language from MACOSX In-Reply-To: References: Message-ID: Buongiorno Paolo, > This is great! It works .... and this is a very important feature to > develop multilingual projects. > > Thanks for your help. > > If you want have a look at my project if is available at : > http://www.apple.com/downloads/macosx/home_learning/icartoon.html This is really cool!!! :-) You are probably not willing to share the "export to movie" routines? That's what i am looking for in one of my projects... ;-) Or at least some hints? Shell commands? AppleScript? Blackmail? Hypnosis? Voodoo? Very curious :-) > CIao Paolo Regards Klaus Major klaus at major-k.de www.major-k.de From klaus at major-k.de Wed May 12 10:43:27 2004 From: klaus at major-k.de (Klaus Major) Date: Wed, 12 May 2004 16:43:27 +0200 Subject: Images Win32 Platform In-Reply-To: <20040512142138.716813E46@xprdmailfe12.nwk.excite.com> References: <20040512142138.716813E46@xprdmailfe12.nwk.excite.com> Message-ID: Hi K, > When you refer to same releative path you mean my png files must be > in the same releative path in the standalone directory as they were > when > I create the image object correct? As long as the filename of your image(s) show something like "C:/myfolder/myimage.png" it won't work! That are absolute paths... "relative" means relative to the current "directory". Did you try my little tool-palette "2lz2"? It is cool and FREE! ;-) With support of Drag'nDrop and "Einstein" ;-), it will make it easier to work with absolute/relative paths... You can use absolute paths (provided with d'n'd) during development and then change them to relative paths with a mouseclick, before building a standalone... Old, but good hint: Prepare/create your folder-structure for your stacks and media before you start editing your stacks. Then the first thing to do before you start editing your stacks is to set the "directory". Drop a line (offlist, if you like) if you need further info about absolute/relative paths. It's easy, once you understand how they work ;-) > K Regards Klaus Major klaus at major-k.de www.major-k.de From ambassador at fourthworld.com Wed May 12 11:20:19 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 12 May 2004 08:20:19 -0700 Subject: Web links in software In-Reply-To: References: <20040511160102.39C019300FF@mail.runrev.com> Message-ID: <40A240B3.7070103@fourthworld.com> On May 11, 2004, at 10:15 PM, curry wrote: > > Does anyone know whether permission is needed from a web page owner to > put a URL link to that page in a software application? (Similar to the > way a link is placed on the internet?) It's often called "deep linking", and the acceptability of it varies from site to site. Some site managers feel it deprives them of advertising income. Most sites who have a problem with deep linking will note that in their "terms of use" page. Google for "deep linking" for more detailed background. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From yvescoppe at skynet.be Wed May 12 12:08:06 2004 From: yvescoppe at skynet.be (Yves COPPE) Date: Wed, 12 May 2004 18:08:06 +0200 Subject: icons in a stack Message-ID: <8E3FF4A3-A42E-11D8-95EB-003065E14B04@skynet.be> Hi list, Working on Mac OS X with Rev 2.2 : I have a main stack with many substacks One of the substacks contains my images in .png. I use those img for icons for my buttons (ID xxxx) Those image are imported as control. When I run my app with the runtime, no problems When I build a standalone, all the btns have lost their icons although my subsstack "reserves of images" is in the app. pkg how to proceed please ? Thank you for the help. Greetings. Yves COPPE yvescoppe at skynet.be From dsc at swcp.com Wed May 12 13:20:35 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 12 May 2004 11:20:35 -0600 Subject: finally keyword changed since 1.5 ? In-Reply-To: Message-ID: On Wednesday, May 12, 2004, at 06:34 AM, Jan Decroos wrote: > IN Rev 1.5, the second answer ("Finally") is executed. > In Rev 2.1 and 2.2, it is not. This is weird Jan. I have seen this. However, I just tried your script on 2.2 and it worked! My solution has been to use nested 'try'. Remove the 'finally' from the inner one and put it into the outer one. Use a dummy 'catch' in the outer. (It would be nice if 'catch' was optional.) Or you can use the catch to catch errors in the inner 'catch'. What I was seeing before was this. Only one of the 'catch' script or the 'finally' script would be executed. There are two doors out of that 'try'. This applies to any error in the 'catch', too. Whoops. I just put an error in the 'catch' and I got the problem; the 'finally' section is not executed. BTW, I have heard of some bug concerning two 'answer' in a row. Put in a delay to make sure that is not the problem. Since your code does work for me, that means I cannot count on only one of 'catch' or 'finally' working. Also, I have seen cases in which the 'catch' is bypassed altogether, but I have not been able to reduced those to a simple example. Dar Scott (The use of "revbuddy" in the subject of off-list mail to me might increase the chance of its delivery in 2004.) From kray at sonsothunder.com Wed May 12 13:27:20 2004 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 12 May 2004 12:27:20 -0500 Subject: finder language from MACOSX In-Reply-To: Message-ID: <016501c43846$674ea510$6601a8c0@precision340> Cool, Paolo! Neat stuff! Oh, btw, the field in your about box is unlocked and shows up with a blinking insertion point... just FYI... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of paolo > Sent: Wednesday, May 12, 2004 9:02 AM > To: How to use Revolution > Subject: Re: finder language from MACOSX > > > This is great! It works .... and this is a very important > feature to > develop multilingual projects. > > Thanks for your help. > > If you want have a look at my project if is available at : > > http://www.apple.com/downloads/macosx/home_learning/icartoon.html > > CIao Paolo > > ______________________________________________________________ > __________ > ________ > > > Mercoled?, 12 Mag 2004, alle 11:08 Europe/Rome, Thierry Arbellot ha > scritto: > > > Hi Paolo, > > > > You can use the following command: > > > > put replaceText(shell("defaults read NSGlobalDomain > > AppleLanguages"),"(\s|\(|\))","") into theLanguagesList > > > > the theLanguagesList variable will contain the list of the chosen > > languages by the user as there are in the system preferences. > > By example on my system: "en,fr,ko" > > > > Note that a language could be in a short format - en - or > long format > > - English > > > > Hope it helps. > > > > Thierry. > > > > On Tuesday, May 11, 2004, at 17:53 Europe/Paris, paolo wrote: > > > >> > >> Do you know how can I get the language selected by the user on > >> system preferences on MAC OS X ? > >> > >> Ciao Paolo > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Wed May 12 13:38:45 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 12 May 2004 11:38:45 -0600 Subject: finally keyword changed since 1.5 ? In-Reply-To: Message-ID: <3805A3D2-A43B-11D8-8529-000A9567A3E6@swcp.com> On Wednesday, May 12, 2004, at 07:53 AM, Klaus Major wrote: > this line will exit ANY handler immediately! > So there is no "finally" processed... ;-) > > > From the docs: > > exit to top > > Halts the current handler and all pending handlers. > Use the exit to top control structure to stop executing the current > handler and > suppress pending messages. ... >> Is this a bug (Tuviah, Scott) ? > Although i am not Tuviah or Scott, i don't think this is a bug ;-) I'm not either. (Well, I'm not "the" Scott.) I think the behavior of 'exit to top' in a 'try' is a separate issue to what happens to a non-normal exit to a catch section in general. Consider this: on mouseUp try exit to top catch e finally answer "Finally" end try end mouseUp On my system, Rev 2.2, OS X 10.2.8, I get to the 'finally'. It might not work that way on Jan's. I think we have a difference of opinion on what should happen here. I think the 'finally' should be executed. I understand your position to be that it should not be. Whatever it is, it should be documented. Dar Scott From dsc at swcp.com Wed May 12 13:47:01 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 12 May 2004 11:47:01 -0600 Subject: finally keyword changed since 1.5 ? In-Reply-To: Message-ID: <5FC887A2-A43C-11D8-8529-000A9567A3E6@swcp.com> On Wednesday, May 12, 2004, at 07:53 AM, Klaus Major wrote: > From the docs: > > exit to top > > Halts the current handler and all pending handlers. > Use the exit to top control structure to stop executing the current > handler and > suppress pending messages. BTW, this is a little confusing. I'm not sure what "halts ... pending handlers" means, since Revolution is not multithreaded. I assume it means that 'exit to top' is not a 'return'; execution does not continue in the caller. The last part might even be considered to be wrong. I read "suppress pending messages" to mean that the pending message queue is cleared. It is not. This is not really related to the issue, I think. Just an aside on this doc entry. Dar Scott (Use "revbuddy" in subject in off-list mail this year.) From jtenny at willamette.edu Wed May 12 13:51:40 2004 From: jtenny at willamette.edu (John Tenny) Date: Wed, 12 May 2004 10:51:40 -0700 Subject: PrePaid/PostDelivery Message-ID: <05BDEE46-A43D-11D8-9D6F-000A95A4EDD2@willamette.edu> Why does this leave a bad taste in my mouth? >>> As a Member-level subscriber to RevolutionPros.com (which means the >>> system thinks you paid $97 for your membership here so if it's >>> wrong, you need to notify me), you are entitled to receive all three >>> volumes of my book in PDF form when they are complete. >>> >>> This does NOT include receiving the individual chapters free as they >>> are released before the book is published. That benefit is reserved >>> for Leader-level members only. So unfortunately you'll have to wait >>> until RunRev and I finish all of the chapters in Volume 2 before you >>> will receive the book in PDF form. >>> >>> Of course, you can always upgrade to Leader-level status (for an >>> additional $100) and get all the chapters as they are released at no >>> additional cost. :-) >>> >>> Thanks for your participation in this publishing effort. Maybe because I remember a publishing schedule when I prepaid the fee that has somehow faded away while another 'opportunity' emerged? Maybe because I can't see any disadvantage to the publishers whether they send me the information that I have already paid for a piece at a time or waiting even longer than initially indicated for the full product? No shipping, no printing costs - just move the names to the other list. As I remember the leadership level offer, it was early access to draft versions of the chapters, not the finished chapters one at a time. That was a change in the advertised and entered agreement. That's not fair, and I resent it. All I know is that I would never treat pre-paying, early supporters this way and expect any further support or encouragement. John From ambassador at fourthworld.com Wed May 12 14:27:18 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 12 May 2004 11:27:18 -0700 Subject: [OT] Scriptable DMG tool? Message-ID: <40A26C86.9080003@fourthworld.com> I build a lot of DMGs, but Apple's Disk Utility isn't scriptable so I have no way to automate that end of my build process. Any of you know of a scriptable alternative to Disk Utility for making DMGs? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From mpetrides at earthlink.net Wed May 12 15:09:58 2004 From: mpetrides at earthlink.net (Marian Petrides) Date: Wed, 12 May 2004 15:09:58 -0400 Subject: PrePaid/PostDelivery In-Reply-To: <05BDEE46-A43D-11D8-9D6F-000A95A4EDD2@willamette.edu> References: <05BDEE46-A43D-11D8-9D6F-000A95A4EDD2@willamette.edu> Message-ID: I guess the whole thing wouldn't bother me quite as much if we were actually getting what we paid for in something resembling the timeframe that was originally promised. But we aren't... Back in November, Dan was saying "We're hoping we can get the next book done in time for MacWorld Expo (January in San Francisco). No guarantees. But that's the hope. Volume 3 should follow that in 60-90 days if all goes well. Stay tuned." Well, we are now at the end of that entire time period and all that has been completed are two chapters. In early March, this was set back to a chapter a week with volume 2 completion sometime in early June: "My current plan -- and I caution once again that I am not in complete control of the process so this is not a commitment -- is to release at least a chapter per week. That would put Vol. 2 into production as a PDF some time in early June and Volume 3 some time in September." June is but 3 weeks away, so I somehow doubt Vol 2 will be ready by then and probably not even by September. As the dates for delivery of book 2 and 3 slip farther and farther into the future, I think Dan needs to consider his obligations to ALL of his subscribers or--more properly put--pre-paid customers. One can't release chapters that are not yet written but one can: a) try to get back on a reasonable timetable and b) make those chapters which ARE available, available to all pre-paid customers once finalized. As John so aptly pointed out, what is the downside to making the FINALIZED (not draft) chapters available to all pre-paid customers (aka "subscribers")? >>> I can't see any disadvantage to the publishers whether they send me the information that I have already paid for a piece at a time or waiting even longer than initially indicated for the full product? No shipping, no printing costs - just move the names to the other list. Marian PS Oh and while we are on the topic of items paid for and not delivered, has anyone gotten a single issue of Revolutionary Tribune which is supposed to be included in the member-level subscription? I don't recall having received even one issue. Frankly, this concerns me far less than getting the books in a timely fashion, but it does speak to the issue of promises made and not kept. On May 12, 2004, at 1:51 PM, John Tenny wrote: > Why does this leave a bad taste in my mouth? >>>> As a Member-level subscriber to RevolutionPros.com (which means the >>>> system thinks you paid $97 for your membership here so if it's >>>> wrong, you need to notify me), you are entitled to receive all >>>> three volumes of my book in PDF form when they are complete. >>>> >>>> This does NOT include receiving the individual chapters free as >>>> they are released before the book is published. That benefit is >>>> reserved for Leader-level members only. So unfortunately you'll >>>> have to wait until RunRev and I finish all of the chapters in >>>> Volume 2 before you will receive the book in PDF form. >>>> >>>> Of course, you can always upgrade to Leader-level status (for an >>>> additional $100) and get all the chapters as they are released at >>>> no additional cost. :-) >>>> >>>> Thanks for your participation in this publishing effort. > > Maybe because I remember a publishing schedule when I prepaid the fee > that has somehow faded away while another 'opportunity' emerged? > > Maybe because I can't see any disadvantage to the publishers whether > they send me the information that I have already paid for a piece at a > time or waiting even longer than initially indicated for the full > product? No shipping, no printing costs - just move the names to the > other list. > > As I remember the leadership level offer, it was early access to draft > versions of the chapters, not the finished chapters one at a time. > That was a change in the advertised and entered agreement. That's not > fair, and I resent it. All I know is that I would never treat > pre-paying, early supporters this way and expect any further support > or encouragement. > > John > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From psahores at easynet.fr Wed May 12 16:11:40 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Wed, 12 May 2004 22:11:40 +0200 Subject: [OT] Scriptable DMG tool? In-Reply-To: <40A26C86.9080003@fourthworld.com> References: <40A26C86.9080003@fourthworld.com> Message-ID: <9488140C-A450-11D8-BB1F-000A95C61E96@easynet.fr> Hello Richard, I'm not using this kind of tools and my reply will, perhaps, perhaps not, be a little off topic ;) Best, Pierre Le 12 mai 04, ? 20:27, Richard Gaskin a ?crit : > I build a lot of DMGs, but Apple's Disk Utility isn't scriptable so I > have no way to automate that end of my build process. > > Any of you know of a scriptable alternative to Disk Utility for making > DMGs? > > -- > 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 > http://lists.runrev.com/mailman/listinfo/use-revolution > From bfr at nwlink.com Wed May 12 16:20:50 2004 From: bfr at nwlink.com (Bruce Robertson) Date: Wed, 12 May 2004 13:20:50 -0700 Subject: [OT] Scriptable DMG tool? In-Reply-To: <40A26C86.9080003@fourthworld.com> Message-ID: > I build a lot of DMGs, but Apple's Disk Utility isn't scriptable so I > have no way to automate that end of my build process. > > Any of you know of a scriptable alternative to Disk Utility for making DMGs? >From MacScripter http://bbs.applescript.net/viewtopic.php?t=8186&highlight=disk+image Use do shell script and hdiutil Sample script posted on MacScripter for creating an encrypted disk image: set desktop_path to ((path to desktop) as string) set file_name to "encrypted.dmg" set volume_name to "Encypted Disk" set volume_size to "5m" --megabytes do shell script "hdiutil create " & (quoted form of POSIX path of (desktop_path & file_name)) & ? " -encryption -volname " & (quoted form of volume_name) & ? " -size " & volume_size & " -fs HFS+ -attach" From graham.samuel at wanadoo.fr Wed May 12 13:49:29 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Wed, 12 May 2004 19:49:29 +0200 Subject: This list: formattting issue Message-ID: <6.1.0.6.2.20040512194614.01ce2ec0@pop3.blueyonder.co.uk> On Tue, 11 May 2004 17:00:12 -0400 (EDT), "Kevin" wrote: >Try this! > >Kevin >[...] >On 5/11/04 2:38 AM, Graham Samuel wrote:> I notice that every time Kevin >(and **only** Kevin) includes a quotation > in a message to the list (at >least when I see it in the Digest) it comes > out like uninterpreted HTML >- a text string with tags but no returns.Sounds like Kevin is sending >messages in HTML format rather than plain text, and the list software is >not interpreting it.-- Jacqueline Landman >Gay | jacque at hyperactivesw.comHyperActive >Software | >http://www.hyperactivesw.com_______________________________________________use-revolution >mailing >listuse-revolution at lists.runrev.comhttp://lists.runrev.com/mailman/listinfo/use-revolution Better, but not right - the html tags have disappeared, but there are no returns. There are some 'greater than' signs - I'm not sure if these represent returns or just standard email 'this is a quotation' marks. Odd. Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From graham.samuel at wanadoo.fr Wed May 12 18:51:33 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Thu, 13 May 2004 00:51:33 +0200 Subject: Can I alter the frame rate of an animated GIF by script? Message-ID: <6.1.0.6.2.20040512235625.01d85b88@pop.wanadoo.fr> Still trying out non-animated GIF animations (haven't tried PNG yet). I've followed various listers suggestions by changing the icon of a button to show successive frames of an animation, using the construct send "showNextFrame" to me in 150 milliseconds to loop around a collection of 30 frames (the handler showNextFrame being in the button itself). This works very well, except I'm getting some strange speed anomalies. Doubtless these are my fault, but can anyone say how accurate this type of timing is likely to be? I expected the interval to be longer than I requested at times (if the machine was sufficiently busy) but so far I'm seeing apparently much **shorter** iterations appearing after low hundreds of frames have been shown, averaging well under 100ms. Like I said, it's probably me, but has anyone else seen this kind of thing? I'm running on Windows XP. TIA Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From curry at pair.com Wed May 12 19:00:15 2004 From: curry at pair.com (curry) Date: Wed, 12 May 2004 18:00:15 -0500 Subject: Web links in software In-Reply-To: <20040512151942.EE8C2930148@mail.runrev.com> References: <20040512151942.EE8C2930148@mail.runrev.com> Message-ID: Richard Gaskin wrote: > Google for "deep linking" for more detailed background. Thank you so much! I had no idea where to start for finding out this one. Curry From ambassador at fourthworld.com Wed May 12 19:32:31 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 12 May 2004 16:32:31 -0700 Subject: Web links in software In-Reply-To: References: <20040512151942.EE8C2930148@mail.runrev.com> Message-ID: <40A2B40F.2030102@fourthworld.com> curry wrote: > Richard Gaskin wrote: > >> Google for "deep linking" for more detailed background. > > > Thank you so much! I had no idea where to start for finding out this one. You're welcome. It's come up a lot with some stuff in development here, but reading the links sometimes brings up more questions than answers. Thankfully an increasing number of sites include a Terms of Service page with contact info for anything not granted there. For example, on Google's own Terms of Service page at : The Google Services are made available for your personal, non-commercial use only. You may not use the Google Services to sell a product or service, or to increase traffic to your Web site for commercial reasons, such as advertising sales. You may not take the results from a Google search and reformat and display them, or mirror the Google home page or results pages on your Web site. You may not "meta-search" Google. If you want to make commercial use of the Google Services, you must enter into an agreement with Google to do so in advance. Please contact us for more information. Like so many TOSes, the safe rule for deep-linking seems to be "When in doubt, ask." Hmmm....reminds me that I don't have a TOS at my own site.... -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From alarm at icdc.com Wed May 12 20:25:37 2004 From: alarm at icdc.com (Adrian L'Armand) Date: Wed, 12 May 2004 20:25:37 -0400 Subject: Volume 1 with CD Message-ID: When I bought Volume 1 it was announced and advertised with a CD.That was what I was told and what I should have got. There was no CD. However I have not seen anybody else complain. Perhaps I was the only one. When I complained I was told "the book contained a misprint". However it was not just the book's "misprint" but it was advertised with a CD and that was what I bought. Adrian -- From jhurley at infostations.com Wed May 12 20:34:51 2004 From: jhurley at infostations.com (Jim Hurley) Date: Wed, 12 May 2004 17:34:51 -0700 Subject: Asynchronous control of many objects Message-ID: I have a question about asynchronous movement of a large number of graphic objects. For example, consider a window with 50 graphic objects, perhaps 50 small spheres--balls. I want to have all these objects moving asynchronously. The stack in which this comes up can be seen by running the following in the message box: go url "http://home.infostations.net/jhurley/MultipleBalls.rev" My problem is that I use the *identical handler* in *each* of the 50 balls. That seems inefficient. Is there a way to control a large number of objects asynchronously without duplicating the handler in each of the objects? Just wondering, Jim From dsc at swcp.com Wed May 12 20:54:41 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 12 May 2004 18:54:41 -0600 Subject: Asynchronous control of many objects In-Reply-To: Message-ID: <1E22478A-A478-11D8-B80E-000A9567A3E6@swcp.com> On Wednesday, May 12, 2004, at 06:34 PM, Jim Hurley wrote: > My problem is that I use the *identical handler* in *each* of the 50 > balls. That seems inefficient. Is there a way to control a large > number of objects asynchronously without duplicating the handler in > each of the objects? I didn't look at your stack, so I might be way off. The answer is probably yes. You can make sure the handlers for controlling these are in the message path of the balls. for example, they can be in the script of the owning group or in the script of the card. Use 'the target' to know what ball any message was sent to. Use custom properties instead of local variables. In "message machinery" (my term for 'send' cycles), you can also include ball specific info in the parameters. Dar Scott From alrice at swcp.com Wed May 12 21:01:35 2004 From: alrice at swcp.com (Alex Rice) Date: Wed, 12 May 2004 19:01:35 -0600 Subject: [OT] Scriptable DMG tool? In-Reply-To: <40A26C86.9080003@fourthworld.com> References: <40A26C86.9080003@fourthworld.com> Message-ID: <14C27B68-A479-11D8-BE23-000A27AE2A86@swcp.com> DropDMG is what I prefer. It appears to be fully applescript-able, although I haven't tried scripting. On May 12, 2004, at 12:27 PM, Richard Gaskin wrote: > I build a lot of DMGs, but Apple's Disk Utility isn't scriptable so I > have no way to automate that end of my build process. > > Any of you know of a scriptable alternative to Disk Utility for making > DMGs? > > -- > 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 > http://lists.runrev.com/mailman/listinfo/use-revolution From Roger.E.Eller at sealedair.com Wed May 12 22:15:41 2004 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Wed, 12 May 2004 22:15:41 -0400 Subject: Import snapshot fails in standalone Message-ID: I use the splash-screen loader method for my standalones. The standalone opens a .rev stack. Using "import snapshot" in a mouseUp handler gives the user a cross-hair cursor to select the area to be captured. As a standalone, no image is captured. In the IDE, the capture works just fine. When I build the standalone, I include ALL libraries. What is wrong here? This is reproducible in Rev 2.1.2 and Rev 2.2 (I haven't tried other versions). Thanks. Roger Eller From sdmeyer at mac.com Wed May 12 23:45:39 2004 From: sdmeyer at mac.com (Steve Meyer) Date: Wed, 12 May 2004 21:45:39 -0600 Subject: ShowList port to Transcript Message-ID: <0018A6CB-A490-11D8-B113-000A95CFD918@mac.com> While porting a HyperCard stack (with accelerating success!) I ran into a hurdle with an xfcn supplied with PowerTools. I suspect Transcript supplies the functionality, but haven't been able to find it. Showlist accepts as one of the parameters a return delimited list and shows them in a dialog box. (Other parameters are the prompt, buttons, and some other options.) The result of the command is the selection when the OK button is clicked. I create the list earlier in the handler from card data since it can change between handler calls. I've looked in the Transcript dialog and palette commands, but haven't found anything comparable. In a nutshell, I want to display a dialog or palette with a scrolling list and select an item for the script to continue with. At a minimum it must have a prompt, list, and OK and Cancel buttons. TIA Steve Meyer (Early user, first post) (I did check back a few months in the archives. Sorry if this has been discussed recently or is obvious to a casual observer.) From scott at tactilemedia.com Thu May 13 01:24:02 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 12 May 2004 22:24:02 -0700 Subject: Asynchronous control of many objects In-Reply-To: Message-ID: Recently, "Jim Hurley" wrote: > I have a question about asynchronous movement of a large number of > graphic objects. > > For example, consider a window with 50 graphic objects, perhaps 50 > small spheres--balls. > > I want to have all these objects moving asynchronously. The stack in > which this comes up can be seen by running the following in the > message box: > > go url "http://home.infostations.net/jhurley/MultipleBalls.rev" > > My problem is that I use the *identical handler* in *each* of the 50 > balls. That seems inefficient. Is there a way to control a large > number of objects asynchronously without duplicating the handler in > each of the objects? There are many ways. Here's one (type the following in your message box): go url "http://www.tactilemedia.com/download/overkill.rev" See the card script for details. Snowglobe anyone? ----- FWIW, in my experience, I've found that: 1) Enabling each object to track its own position via its own code requires much heavier processor use than using one master script to move everything simultaneously. I've locked up several Windows systems doing what you describe above, crashing Rev. YMMV. 2) Interestingly, locking the screen between each call to position multiple objects can also place a high demand on the processor; removing the lock screen is surprisingly less demanding and, if your objects are small enough, you won't notice much delay if any between the move of the first and last objects. 3) Look at balancing the frequency of the message used to move the objects versus the actual distance moved. Sometimes you can employ longer interval between moves with a longer distance moved to cut down on processor use, but too long a distance may produce jittery, unacceptable results. Depending on the size/type of objects, you may not be happy with performance beyond about 30 to 40 objects or so. The above demo does indeed use 50 objects and seems to perform acceptably on Mac OSX, but also appears to near max out the processor. Watch out for this on Windows (on my systems, Macs seem to be more forgiving). Again, YMMV. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From capellan2000 at yahoo.com Thu May 13 02:02:43 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Wed, 12 May 2004 23:02:43 -0700 (PDT) Subject: [ANN] New version of Eps Import In-Reply-To: <20040511160102.39C019300FF@mail.runrev.com> Message-ID: <20040513060243.11934.qmail@web40513.mail.yahoo.com> Hi Developers, Download the more recent version of the stack: Eps Import v04n. New in this version: 1- new interface. 2- 3 diferent handlers for bezier math: one using matrices, one by Don Lancaster, the Postscript guru (www.tinaja.com) and the handler used from the beginning, made by Alejandro Tejada. Any help to optimize these handlers is welcome! 3- import layers as cards. Useful for simple flip card animation. 4- experimental feature: import text from ilustrator files ( two types of import ). Fixes: 1- The code to draw lines of type "y" and "v" were inverted. Now this is corrected. Please check the "Read Me" field and import the files included. Feel free to add your own enhancements and post them back to the list, for inclusion in a next version. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Movies - Buy advance tickets for 'Shrek 2' http://movies.yahoo.com/showtimes/movie?mid=1808405861 From engleerica at yahoo.com Thu May 13 02:08:24 2004 From: engleerica at yahoo.com (Eric Engle) Date: Wed, 12 May 2004 23:08:24 -0700 (PDT) Subject: scriptable painting? In-Reply-To: <20040513052314.E702893013A@mail.runrev.com> Message-ID: <20040513060824.58676.qmail@web60507.mail.yahoo.com> In hypercard one can choose brush tool -- or something similar click at 100,100 drag to 200,200 and so one can script painting In metacard this was no longer possible, as far as I know. Is scriptable painting possible in revolution? Also another feature I liked about hypercard was the use of the "play" command to play music. i cannot read music but it was still nice. Are there any plans to incorporate "play flute c#" or some such into revolution? These two features are two more reasons I love hypercard. __________________________________ Do you Yahoo!? Yahoo! Movies - Buy advance tickets for 'Shrek 2' http://movies.yahoo.com/showtimes/movie?mid=1808405861 From FlexibleLearning at aol.com Thu May 13 05:28:50 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Thu, 13 May 2004 05:28:50 EDT Subject: The Scripter's Scrapbook: Using on different machines Message-ID: <7d.4de60374.2dd499d2@aol.com> Several people have now asked if they can use the same Scrapbook on multiple computers, when on the move or between different workstations. The answer is yes, you can, by transfering the ssbk.rev file between your laptop, PC or Mac. Obviously you need Revolution, MetaCard or a standalone player on each machine and to run it. Similarly, multiple Scrapbooks... In the most recent version you can 'Save as...' and 'Open...' to access multiple Scrapbooks if you wish. Used in conjunction with multiple computers, you have a quick and painless means of keeping yourself in sync. You can check if you have the current version by selecting 'About...' under the Help menu and clicking the link. One tip received is to use a shortcut or alias to your Scrapbook in the Rev plugIn folder in order to have the flexibility of running the Scrapbook as a separate file or as a plugin. Seemed a tip worth passing on. As always, your feedback (good, bad or indifferent) is appreciated... http://www.flexibleLearning.com/ssbkFeedback.htm /H From jhurley at infostations.com Thu May 13 09:42:46 2004 From: jhurley at infostations.com (Jim Hurley) Date: Thu, 13 May 2004 06:42:46 -0700 Subject: Asynchronous control of many objects In-Reply-To: <20040513052314.E702893013A@mail.runrev.com> References: <20040513052314.E702893013A@mail.runrev.com> Message-ID: Message: 21 Date: Wed, 12 May 2004 22:24:02 -0700 From: Scott Rossi Subject: Re: Asynchronous control of many objects To: How to use Revolution Message-ID: Content-Type: text/plain; charset="US-ASCII" Recently, "Jim Hurley" wrote: > I have a question about asynchronous movement of a large number of > graphic objects. > > For example, consider a window with 50 graphic objects, perhaps 50 > small spheres--balls. > > I want to have all these objects moving asynchronously. The stack in > which this comes up can be seen by running the following in the > message box: > > go url "http://home.infostations.net/jhurley/MultipleBalls.rev" > > My problem is that I use the *identical handler* in *each* of the 50 > balls. That seems inefficient. Is there a way to control a large > number of objects asynchronously without duplicating the handler in > each of the objects? >There are many ways. Here's one (type the following in your message box): > > go url "http://www.tactilemedia.com/download/overkill.rev" > >See the card script for details. > >Snowglobe anyone? > >----- > >FWIW, in my experience, I've found that: > >1) Enabling each object to track its own position via its own code requires >much heavier processor use than using one master script to move everything >simultaneously. I've locked up several Windows systems doing what you >describe above, crashing Rev. YMMV. > >2) Interestingly, locking the screen between each call to position multiple >objects can also place a high demand on the processor; removing the lock >screen is surprisingly less demanding and, if your objects are small enough, >you won't notice much delay if any between the move of the first and last >objects. > >3) Look at balancing the frequency of the message used to move the objects >versus the actual distance moved. Sometimes you can employ longer interval >between moves with a longer distance moved to cut down on processor use, but >too long a distance may produce jittery, unacceptable results. > >Depending on the size/type of objects, you may not be happy with performance >beyond about 30 to 40 objects or so. The above demo does indeed use 50 >objects and seems to perform acceptably on Mac OSX, but also appears to near >max out the processor. Watch out for this on Windows (on my systems, Macs >seem to be more forgiving). Again, YMMV. > >Regards, > >Scott Rossi >Creative Director >Tactile Media, Development & Design Scott, Thank you for the example and the analysis. It was a revelation! I had no idea that it was possible to sequentially move so many objects without it appearing that they were moving in sequence. It was for that reason that I gave each object its own code. That was probably naive since the processor must, in some sense, act sequentially on the objects. I tried locking and unlocking the screen at the beginning and end of the repeat loop without noticeable effect. After the speed constraints of HC, I continue to be amazed at how quick RR is. Jim From jan.decroos at groepvanroey.be Thu May 13 10:03:22 2004 From: jan.decroos at groepvanroey.be (Jan Decroos) Date: Thu, 13 May 2004 16:03:22 +0200 Subject: finally keyword changed since 1.5 ? In-Reply-To: References: Message-ID: <4BD0E6A1-A4E6-11D8-94B8-0003939B5D56@groepvanroey.be> Dar Scott wrote: > I think the behavior of 'exit to top' in a 'try' is a separate issue to > what happens to a non-normal exit to a catch section in general. > > Consider this: > > on mouseUp > try > exit to top > catch e > finally > answer "Finally" > end try > end mouseUp > > On my system, Rev 2.2, OS X 10.2.8, I get to the 'finally'. It might > not work that way on Jan's. > In this example, I don't get to the finally section. Rev 2.1.2 and Rev 2.2 on Mac OS X 10.3.3. > I think we have a difference of opinion on what should happen here. I > think the 'finally' should be executed. I understand your position to > be that it should not be. > No no : I think it should *always* execute the finally section just the way is was in Rev 1.5 and as the documentation tells (finally). (In a lot of handlers and functions we save the HCAddressing before the try control structure, change it to false, and set it back in the finally section. We set the HCAddressing now back in both parts (catch and finally)). > Whatever it is, it should be documented. > Agreed, in Rev's documentation as well as in the 'What New' file when this was changed... -> Bugzilla #1600 Regards, Jan. From david at opn-technologies.com Thu May 13 10:06:14 2004 From: david at opn-technologies.com (David Bovill) Date: Thu, 13 May 2004 15:06:14 +0100 Subject: External Tutorial: Game of Life Message-ID: <40A380D6.1080703@opn-technologies.com> I want to find this demo for Linux of drawing directly into a window from an exteranl? Anyone know where I can find information? From capellan2000 at yahoo.com Thu May 13 10:35:56 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Thu, 13 May 2004 07:35:56 -0700 (PDT) Subject: CGI engines for Linux In-Reply-To: <20040513052314.E702893013A@mail.runrev.com> Message-ID: <20040513143556.35204.qmail@web40514.mail.yahoo.com> CGI engines for Linux Hi Developers, I've been installing the REV and MC engines for cgi in a Linux server. They do not work because they require additional libraries that are not installed. I remember that participants in this list had mentioned that early releases of these engines do not require these additional files in the Linux server. Could someone compress and send me a copy of these engines to this mail: capellan2000 at tricom.net Or better yet, sent me a link to download? Thanks in advance. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Movies - Buy advance tickets for 'Shrek 2' http://movies.yahoo.com/showtimes/movie?mid=1808405861 From webmaster at dreamscapesoftware.com Thu May 13 11:30:26 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Thu, 13 May 2004 17:30:26 +0200 Subject: ShowList port to Transcript References: <0018A6CB-A490-11D8-B113-000A95CFD918@mac.com> Message-ID: <004401c438ff$3e2ed8d0$b4fbd80a@WorkPC> > In a nutshell, I want to display a dialog or palette with a scrolling > list and select an item for the script to continue with. At a minimum > it must have a prompt, list, and OK and Cancel buttons. The beauty of Revolution is that any stack you make can become a dialog box. Try this... In your port, create a substack called "showList" and design how you want the dialog box to look. Save the substack and in the script you can use the following command to display it like a dialog box... modal stack "showList" It's that easy. This allows you to make dialog boxes that are custom tailored to your specifications. Enjoy! Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress 1.2 http://www.dreamscapesoftware.com From psahores at easynet.fr Thu May 13 12:01:47 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Thu, 13 May 2004 18:01:47 +0200 Subject: CGI engines for Linux In-Reply-To: <20040513143556.35204.qmail@web40514.mail.yahoo.com> References: <20040513143556.35204.qmail@web40514.mail.yahoo.com> Message-ID: Hi Alejandro, Do you mean Linux x86 ? I don't have any, here. I can send you one, tomorrow, from the office. But if you can find a standard MC 2.5 issue on a friendly mirror, this will be the same as the one i will send (MC 2.5 works, in its standard issue, as well in graphical mode trough its X11 IDE, than in console mode where you can use it as CGI engine or to run sockets-driven backgrounder deamons). Best, Pierre Le 13 mai 04, ? 16:35, Alejandro Tejada a ?crit : > CGI engines for Linux > > Hi Developers, > > I've been installing the REV and MC engines for > cgi in a Linux server. They do not work because > they require additional libraries that are not > installed. > > I remember that participants in this list had > mentioned that early releases of these engines > do not require these additional files in the > Linux server. > > Could someone compress and send me a copy of > these engines to this mail: capellan2000 at tricom.net > Or better yet, sent me a link to download? > > Thanks in advance. > > al > > ===== > Visit my site: > http://www.geocities.com/capellan2000/ > Search the mail list: > http://mindlube.com/cgi-bin/search-use-rev.cgi > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Movies - Buy advance tickets for 'Shrek 2' > http://movies.yahoo.com/showtimes/movie?mid=1808405861 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From bfr at nwlink.com Thu May 13 12:31:39 2004 From: bfr at nwlink.com (Bruce Robertson) Date: Thu, 13 May 2004 09:31:39 -0700 Subject: Volume 1 with CD In-Reply-To: Message-ID: > When I bought Volume 1 it was announced and advertised with a CD.That was > what I was told and what I should have got. There was no CD. > However I have not seen anybody else complain. Others have complained, including me. Only to be told uh, well, there is no CD and no, we don't know nothin bout example files. From mpetrides at earthlink.net Thu May 13 12:37:49 2004 From: mpetrides at earthlink.net (Marian Petrides) Date: Thu, 13 May 2004 12:37:49 -0400 Subject: Volume 1 with CD In-Reply-To: References: Message-ID: I'm not sure what was supposed to be on the CD but there IS a source file for the To Do List program on the Revolution Pros website - in the discussion area in the Dan's Code folder: http://discussions.revolutionpros.com/webx?50 at 227.sciYajZJa2C.1@.ee7527d HTH M On May 13, 2004, at 12:31 PM, Bruce Robertson wrote: >> When I bought Volume 1 it was announced and advertised with a CD.That >> was >> what I was told and what I should have got. There was no CD. >> However I have not seen anybody else complain. > > Others have complained, including me. Only to be told uh, well, there > is no > CD and no, we don't know nothin bout example files. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From graham.samuel at wanadoo.fr Thu May 13 12:45:00 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Thu, 13 May 2004 18:45:00 +0200 Subject: Message timing problem (was: Re: Can I alter the frame rate of an animated GIF by script?) Message-ID: <6.1.0.6.2.20040513162637.01db0ef0@pop.wanadoo.fr> I reported that doing an animation using messages of the form send "showNextFrame" to me in 150 milliseconds seemed to result in faster execution than I had asked for (it is quite easy to see this happening on the screen). I've now looked at the pendingMessages during one of these overspeed episodes of the animation and I find that the messages are scheduled between 3 and 20 milliseconds apart! I dimly see that I may somehow have activated more than one instance of my showNextFrame handler in some strange way - this is the only way I can imagine the pendingMessages getting closer together than 0.15 seconds; but I still badly need suggestions of what I can have done wrong, and if I have called the handler more frequently than my required interval, how I could program the handler to reject these additional calls. TIA Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From RGould8 at aol.com Thu May 13 13:00:44 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Thu, 13 May 2004 13:00:44 EDT Subject: Making Rev apps hidden in Panther Message-ID: <1de.1fe5d438.2dd503bc@aol.com> I've tried the below instructions for making a Mac app invisible. For me, unfortunately, it's not working. Could it be due to Panther? _http://www.sonsothunder.com/devres/revolution/revolution.htm?_proc003_ (http://www.sonsothunder.com/devres/revolution/revolution.htm?_proc003) which states: ----------------------------------------------------------------- To hide an application process in OS X, open the Info.plist file in the Contents folder of the application package. Add this to the section (it doesn't seem to matter where): NSBGOnly 1 Doing this will remove the process from the Dock, and from any menus that list active (visible) processes. To show it again, you can either put in a 0 instead of a 1 for the , or you can remove the whole thing. ----------------------------------------------------------------- I'm on OS 10.3.3, using Rev 2.2, and implementing this change to the Info.plist file in the Contens folder of my Rev app has no effect. My app still shows up in the Dock. Does it work for anyone else? From johnrule at rcsprogramming.com Thu May 13 13:03:02 2004 From: johnrule at rcsprogramming.com (John Rule) Date: Thu, 13 May 2004 10:03:02 -0700 Subject: How to refer to a 'calling' function References: <20040513160038.722DB93015C@mail.runrev.com> Message-ID: <000501c4390c$279c6c10$7501000a@minipcxp> I would like to return a value to a function after waiting for a response from a socket that already has a handler for reading from the socket. When the data comes in, I would like to return this value to the 'original' function that started everything. What is happening is the reference to the original function is no longer valid when I want to 'return' the value. I looked at the 'target' function, but that is not working...is there any way to refernece functions for directly returning values (some kind of internal reference)? How about a 'return in' like a 'send in'...then I could set a global. Thanks, JR From dsc at swcp.com Thu May 13 13:10:15 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 13 May 2004 11:10:15 -0600 Subject: finally keyword changed since 1.5 ? In-Reply-To: <4BD0E6A1-A4E6-11D8-94B8-0003939B5D56@groepvanroey.be> Message-ID: <66CCB0F7-A500-11D8-9D55-000A9567A3E6@swcp.com> On Thursday, May 13, 2004, at 08:03 AM, Jan Decroos wrote: >> I think we have a difference of opinion on what should happen here. I >> think the 'finally' should be executed. I understand your position to >> be that it should not be. >> > > > No no : I think it should *always* execute the finally section just > the way is was in Rev 1.5 and as the documentation tells (finally). Whoops. I meant Klaus' position. We might be seeing an irresistible force encountering an immovable object. The 'finally' says that execution cannot leave the try without executing the finally. The 'exit to top' says exit immediately. In my opinion, the 'finally' is stronger. It is more important that this is consistent. We have similar systems and yet we see different behavior. If Klaus' interpretation does become the correct one, we can do this: try ... throw "exit to top" ... catch e if e is "exit to top" then throw e ... finally ... end try This assumes the error-in-catch bug is resolved. That is, I think these should be equivalent: try a catch e b finally c end try -- vs try try a catch e b end try catch e finally c end try Dar From revdan at danshafer.com Thu May 13 13:14:13 2004 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 13 May 2004 10:14:13 -0700 Subject: Volume 1 with CD In-Reply-To: References: Message-ID: I don't know who told you this, but they were just wrong. As you know, this was RunRev's first attempt at book publishing. There was a steep learning curve, complicated by the fact that RR lost its main publishing-knowledgeable staffer (Ro Nagey) in the post-MacWorldSF changes that had to be made for economic reasons. So there have been some slips and delays. Part of the original deal as I understood it was that RR would prepare the CD since they were responsible for the printed book while I was responsible for the eBook, which, of course, has all the examples in it automagically. Recently, Kevin and I have been discussing this issue a lot, along with other members of the RunRev team. I have agreed to compile all the sample apps into one place so that people who bought the printed book can download them in one compressed file. I hope to have this done and ready for download next week. While it's clearly too late to *include* a CD with the book, the original idea for the CD was to include a version of Rev plus the stuff in my book. Since we now have only the samples and book code to include, a CD would be overkill in any event. Stay tuned. This will get fixed. On May 13, 2004, at 9:31 AM, Bruce Robertson wrote: >> When I bought Volume 1 it was announced and advertised with a CD.That >> was >> what I was told and what I should have got. There was no CD. >> However I have not seen anybody else complain. > > Others have complained, including me. Only to be told uh, well, there > is no > CD and no, we don't know nothin bout example files. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of "Revolution: Software at the Speed of Thought" http://www.revolutionpros.com for more info Available at Runtime Revolution Store (http://www.runrev.com/RevPress) From dsc at swcp.com Thu May 13 13:24:18 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 13 May 2004 11:24:18 -0600 Subject: How to refer to a 'calling' function In-Reply-To: <000501c4390c$279c6c10$7501000a@minipcxp> Message-ID: <5D90B016-A502-11D8-9D55-000A9567A3E6@swcp.com> On Thursday, May 13, 2004, at 11:03 AM, John Rule wrote: > I would like to return a value to a function after waiting for a > response > from a socket that already has a handler for reading from the socket. > When > the data comes in, I would like to return this value to the 'original' > function that started everything. What is happening is the reference > to the > original function is no longer valid when I want to 'return' the > value. I > looked at the 'target' function, but that is not working...is there > any way > to refernece functions for directly returning values (some kind of > internal > reference)? The model I use is that used by socket commands that use messages. The result is sent back to the calling object using either a specified message handler name or a fixed one. You need to set up for the callback at the initial call. The caller can pass the name of the function, if it is not fixed. It can also pass the long id of the caller, like this: getCurrentLoad stationNumber, the long id of me -- in this example the handler name is fixed I like to combine the name of the function and the long id into a single value and pass just that. Like this: put makeCallback("processTemp", the long id of me) into cb getMotorTemperature pumpNumber, cb There is an unsupported function exectionContexts() you can use, but I don't think its use is recommended. It would be nice if there was a function to get the caller. I believe libURL uses a compromise that should work most of the time. I think at the initial request call, it save staves the target; the caller is likely to be in the path of the target. If you want some sort of blocking, there are methods, but I have not been happy with them in complex systems. Dar Scott From kray at sonsothunder.com Thu May 13 13:30:29 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 13 May 2004 12:30:29 -0500 Subject: Making Rev apps hidden in Panther In-Reply-To: <1de.1fe5d438.2dd503bc@aol.com> Message-ID: <02df01c43910$016eb8f0$6601a8c0@precision340> Unfortunately that seems to be the case... one MORE thing that doesn't work in Panther! Sheesh... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > RGould8 at aol.com > Sent: Thursday, May 13, 2004 12:01 PM > To: use-revolution at lists.runrev.com > Subject: Re: Making Rev apps hidden in Panther > > > I've tried the below instructions for making a Mac app > invisible. For me, > unfortunately, it's not working. Could it be due to Panther? > > _http://www.sonsothunder.com/devres/revolution/revolution.htm? > _proc003_ > (http://www.sonsothunder.com/devres/revolution/revolution.htm? _proc003) which states: ----------------------------------------------------------------- To hide an application process in OS X, open the Info.plist file in the Contents folder of the application package. Add this to the section (it doesn't seem to matter where): NSBGOnly 1 Doing this will remove the process from the Dock, and from any menus that list active (visible) processes. To show it again, you can either put in a 0 instead of a 1 for the , or you can remove the whole thing. ----------------------------------------------------------------- I'm on OS 10.3.3, using Rev 2.2, and implementing this change to the Info.plist file in the Contens folder of my Rev app has no effect. My app still shows up in the Dock. Does it work for anyone else? _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Thu May 13 13:38:06 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 13 May 2004 11:38:06 -0600 Subject: Message timing problem (was: Re: Can I alter the frame rate of an animated GIF by script?) In-Reply-To: <6.1.0.6.2.20040513162637.01db0ef0@pop.wanadoo.fr> Message-ID: <4AFBB746-A504-11D8-9D55-000A9567A3E6@swcp.com> On Thursday, May 13, 2004, at 10:45 AM, Graham Samuel wrote: > I dimly see that I may somehow have activated more than one instance > of my showNextFrame handler in some strange way - this is the only way > I can imagine the pendingMessages getting closer together than 0.15 > seconds; but I still badly need suggestions of what I can have done > wrong, and if I have called the handler more frequently than my > required interval, how I could program the handler to reject these > additional calls. This is usually the problem. One brute force method is to see if there is the same message in pendingMessages() before the send. Sarah likes this one. Another is to use a script local variable for the message id. I use empty to mean none. Thus, if it is not empty, then there is a message pending. However, it might be good to look at why this is happening. It might be that you are not reliably shutting down the mechanism. If you have a little time, you might want to go through the primer on "message mechanics" at my site: http://www.swcp.com/dsc/revstacks.html Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services (Put "revbuddy" in the subject of off-list mail.) **************************************** From RGould8 at aol.com Thu May 13 14:29:23 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Thu, 13 May 2004 14:29:23 EDT Subject: Making Rev apps hidden in Panther Message-ID: <130.2efc6797.2dd51883@aol.com> As a backup plan, I tried the free "Dockless" tool (versiontracker.com), and told it to make my Revolution stack invisible to the dock. This works, unfortunately it also makes my Rev app so that I can't click-and-drag it anymore. Weird. Anyone know of any other ways of making a Rev stack act like a process (making it invisible to the dock, and hiding the menubar) In a message dated 5/13/2004 1:32:37 PM Eastern Daylight Time, kray at sonsothunder.com writes: Unfortunately that seems to be the case... one MORE thing that doesn't work in Panther! Sheesh... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > RGould8 at aol.com > Sent: Thursday, May 13, 2004 12:01 PM > To: use-revolution at lists.runrev.com > Subject: Re: Making Rev apps hidden in Panther > > > I've tried the below instructions for making a Mac app > invisible. For me, > unfortunately, it's not working. Could it be due to Panther? > > _http://www.sonsothunder.com/devres/revolution/revolution.htm? > _proc003_ > (http://www.sonsothunder.com/devres/revolution/revolution.htm? _proc003) which states: ----------------------------------------------------------------- To hide an application process in OS X, open the Info.plist file in the Contents folder of the application package. Add tis to the section (it doesn't seem to matter where): NSBGOnly 1 Doing this will remove the process from the Dock, and from any menus that list active (visible) processes. To show it again, you can either put in a 0 instead of a 1 for the , or you can remove the whole thing. ----------------------------------------------------------------- I'm on OS 10.3.3, using Rev 2.2, and implementing this change to the Info.plist file in the Contens folder of my Rev app has no effect. My app still shows up in the Dock. Does it work for anyone else? _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From revlists at canelasoftware.com Thu May 13 14:33:07 2004 From: revlists at canelasoftware.com (Mark Talluto) Date: Thu, 13 May 2004 11:33:07 -0700 Subject: CGI engines for Linux In-Reply-To: References: <20040513143556.35204.qmail@web40514.mail.yahoo.com> Message-ID: I have a mirror of most of the MC engines at: -Mark Talluto On May 13, 2004, at 9:01 AM, Pierre Sahores wrote: > Hi Alejandro, > > Do you mean Linux x86 ? I don't have any, here. I can send you one, > tomorrow, from the office. But if you can find a standard MC 2.5 issue > on a friendly mirror, this will be the same as the one i will send (MC > 2.5 works, in its standard issue, as well in graphical mode trough its > X11 IDE, than in console mode where you can use it as CGI engine or > to run sockets-driven backgrounder deamons). > > Best, Pierre > > Le 13 mai 04, ? 16:35, Alejandro Tejada a ?crit : > >> CGI engines for Linux >> >> Hi Developers, >> >> I've been installing the REV and MC engines for >> cgi in a Linux server. They do not work because >> they require additional libraries that are not >> installed. >> >> I remember that participants in this list had >> mentioned that early releases of these engines >> do not require these additional files in the >> Linux server. >> >> Could someone compress and send me a copy of >> these engines to this mail: capellan2000 at tricom.net >> Or better yet, sent me a link to download? >> >> Thanks in advance. >> >> al >> >> ===== >> Visit my site: >> http://www.geocities.com/capellan2000/ >> Search the mail list: >> http://mindlube.com/cgi-bin/search-use-rev.cgi >> >> >> >> >> __________________________________ >> Do you Yahoo!? >> Yahoo! Movies - Buy advance tickets for 'Shrek 2' >> http://movies.yahoo.com/showtimes/movie?mid=1808405861 >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Thu May 13 14:58:42 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 May 2004 13:58:42 -0500 Subject: ShowList port to Transcript In-Reply-To: <0018A6CB-A490-11D8-B113-000A95CFD918@mac.com> References: <0018A6CB-A490-11D8-B113-000A95CFD918@mac.com> Message-ID: <40A3C562.6050005@hyperactivesw.com> On 5/12/04 10:45 PM, Steve Meyer wrote: > Showlist accepts as one of the parameters a return delimited list and > shows them in a dialog box. (Other parameters are the prompt, buttons, > and some other options.) The result of the command is the selection when > the OK button is clicked. I create the list earlier in the handler from > card data since it can change between handler calls. > > I've looked in the Transcript dialog and palette commands, but haven't > found anything comparable. This is something you can easily build as a sub-stack. However, Dan Friedman has already done it, and you can download his example from the RR contributors section of the web site: Scroll down till you find "AskList 1.0". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu May 13 15:00:47 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 May 2004 14:00:47 -0500 Subject: scriptable painting? In-Reply-To: <20040513060824.58676.qmail@web60507.mail.yahoo.com> References: <20040513060824.58676.qmail@web60507.mail.yahoo.com> Message-ID: <40A3C5DF.6030801@hyperactivesw.com> On 5/13/04 1:08 AM, Eric Engle wrote: > In hypercard one can > > choose brush tool -- or something similar > click at 100,100 > drag to 200,200 > > and so one can script painting > > In metacard this was no longer possible, as far as I know. > > Is scriptable painting possible in revolution? It's all supported. Did it not work for you? > Also another feature I liked about hypercard was the use of the "play" command > to play music. i cannot read music but it was still nice. Are there any plans > to incorporate "play flute c#" or some such into revolution? This still isn't possible natively, though there is Shakobox (but you already knew that, I think.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu May 13 15:02:14 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 May 2004 14:02:14 -0500 Subject: CGI engines for Linux In-Reply-To: <20040513143556.35204.qmail@web40514.mail.yahoo.com> References: <20040513143556.35204.qmail@web40514.mail.yahoo.com> Message-ID: <40A3C636.4090405@hyperactivesw.com> On 5/13/04 9:35 AM, Alejandro Tejada wrote: > CGI engines for Linux > > Hi Developers, > > I've been installing the REV and MC engines for > cgi in a Linux server. They do not work because > they require additional libraries that are not > installed. > > I remember that participants in this list had > mentioned that early releases of these engines > do not require these additional files in the > Linux server. I'm not sure that's true -- when I first started using CGIs in MetaCard (version 2.1 or something,) all the Linux X11 libraries were required. I hit the same snag, and had to get my ISP to install them. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jhurley at infostations.com Thu May 13 15:10:37 2004 From: jhurley at infostations.com (Jim Hurley) Date: Thu, 13 May 2004 12:10:37 -0700 Subject: scriptable painting? In-Reply-To: <20040513160038.722DB93015C@mail.runrev.com> References: <20040513160038.722DB93015C@mail.runrev.com> Message-ID: >------------------------- > >Message: 2 >Date: Wed, 12 May 2004 23:08:24 -0700 (PDT) >From: Eric Engle >Subject: scriptable painting? >To: use-revolution at lists.runrev.com >Message-ID: <20040513060824.58676.qmail at web60507.mail.yahoo.com> >Content-Type: text/plain; charset=us-ascii > >In hypercard one can > >choose brush tool -- or something similar >click at 100,100 >drag to 200,200 > >and so one can script painting > >In metacard this was no longer possible, as far as I know. > >Is scriptable painting possible in revolution? > >Also another feature I liked about hypercard was the use of the "play" command >to play music. i cannot read music but it was still nice. Are there any plans >to incorporate "play flute c#" or some such into revolution? > >These two features are two more reasons I love hypercard. Eric, One tool you might try for scriptable painting is Turtle Graphics. See http://home.infostations.net/jhurley/ You might want to exchange the brush or line tools for the pencil. They are slower but have more options on size and shape. Jim From dsc at swcp.com Thu May 13 15:23:29 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 13 May 2004 13:23:29 -0600 Subject: Making Rev apps hidden in Panther In-Reply-To: <130.2efc6797.2dd51883@aol.com> Message-ID: <039F85F0-A513-11D8-9D55-000A9567A3E6@swcp.com> On Thursday, May 13, 2004, at 12:29 PM, RGould8 at aol.com wrote: > As a backup plan, I tried the free "Dockless" tool > (versiontracker.com), and > told it to make my Revolution stack invisible to the dock. This works, > unfortunately it also makes my Rev app so that I can't click-and-drag > it anymore. > Weird. Anyone know of any other ways of making a Rev stack act like > a > process (making it invisible to the dock, and hiding the menubar) If you don't need a window, you could try the command-line version. Dar Scott From RGould8 at aol.com Thu May 13 16:07:32 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Thu, 13 May 2004 16:07:32 EDT Subject: Making Rev apps hidden in Panther Message-ID: <11.294eefb4.2dd52f84@aol.com> In a message dated 5/13/2004 3:23:59 PM Eastern Daylight Time, dsc at swcp.com writes: If you don't need a window, you could try the command-line version. Dar Scott Unfortunately in my case, I do need a window - - - it snifs data coming in from a certain port, and when it receives it, the Revolution app pops up. (With a custom shaped border). Is the command-line version for non-graphical apps only? From gizmotron at earthlink.net Thu May 13 16:46:49 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 13 May 2004 13:46:49 -0700 Subject: revPrintText, revPrintField & standalones in Mac X, rev 2.2 In-Reply-To: <004c01c4380c$652bd170$0300a8c0@USER> Message-ID: Hi, I have a couple of standalone apps that won't print. Sometimes they print to a pdf but the text color is white on a white colored field, sometimes the field is empty in the pdf. i-book 900mz; Mac X 10.2.4; Rev 2.2 I'm using select manually and selecting the print library in the setup window to create the standalone. Has anyone seen this issue? I looked at bugzilla and saw nothing. Mark From monte at sweattechnologies.com Thu May 13 16:59:04 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 14 May 2004 06:29:04 +0930 Subject: revPrintText, revPrintField & standalones in Mac X, rev 2.2 In-Reply-To: Message-ID: >Hi, > >I have a couple of standalone apps that won't print. Sometimes they >print to a pdf but the text color is white on a white colored field, >sometimes the field is empty in the pdf. > >i-book 900mz; Mac X 10.2.4; Rev 2.2 > >I'm using select manually and selecting the print library in the setup >window to create the standalone. Has anyone seen this issue? I looked >at bugzilla and saw nothing. > >Mark > This is the first report I've heard of it. It sounds like you have the library included properly although if you want to check this you could add something like this to your app: on openStack answer the backScripts end openStack Either way please put it on bugzilla as it could be a print library issue also... Cheers Monte From sanke at hrz.uni-kassel.de Thu May 13 17:03:38 2004 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Thu, 13 May 2004 23:03:38 +0200 Subject: ShowList port to Transcript Message-ID: <40A3E2AA.5060703@hrz.uni-kassel.de> On Thu, May 13; Derek Bump webmaster at dreamscapesoftware.com wrote: > The beauty of Revolution is that any stack you make can become a > dialog box. > Try this... > > In your port, create a substack called "showList" and design how you want > the dialog box to look. Save the substack and in the script you can > use the > following command to display it like a dialog box... > > modal stack "showList" > > It's that easy. This allows you to make dialog boxes that are custom > tailored to your specifications. Enjoy! > > > Derek Bump > Dreamscape Software This is indeed what the "modal" command is for. And you even need not make your stack a substack. -- Wilhelm Sanke From dsc at swcp.com Thu May 13 16:36:42 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 13 May 2004 14:36:42 -0600 Subject: Making Rev apps hidden in Panther In-Reply-To: <11.294eefb4.2dd52f84@aol.com> Message-ID: <3E63A513-A51D-11D8-9D55-000A9567A3E6@swcp.com> On Thursday, May 13, 2004, at 02:07 PM, RGould8 at aol.com wrote: > Is the command-line version for non-graphical > apps only? I think so; I don't think I have tried to open a stack from within it. There might be some settings that can be made within the app bundle. Hmmm. When I use the services menu on most apps, I don't see the server app show up in the doc. Maybe that is a clue to a way. Dar Scott From cteno4 at earthlink.net Thu May 13 20:28:31 2004 From: cteno4 at earthlink.net (cteno4) Date: Thu, 13 May 2004 20:28:31 -0400 Subject: How to ..Kiosk Application Message-ID: <20040514002346.1421F93007A@mail.runrev.com> hershrev, well youve asked for a tall order here (pun intended). this sounds like a pretty complex little project you have got. its hard for the list to give a lot of advice on this grand scale of project design. some ideas: your buttons in your colums can all be created on the fly or as a preset grid of buttons that you just set the labels on and hide and show as needed. labels can be set from a predetermined lists. you can then have the owner modify the list with the new items from another screen with a touch keyboard an a create new category buttons to create each type. after creating a new item they will have to then link it to whatever other pieces that may be necessary (ie the side dishes that go with it) and the prices. i have done the above with several slide show presentation programs (from video discs and dvds) and it has worked well. as for the sql i suppose you can set you sql up in a modular fashon that could key off the items list items names. not sure what you need to do with the sql, will this be doing order delivery via the net or just reporting orders back to a central data base, or taking orders via the web? remeber you have to keep your touch screen buttons large enough for pudgie fingers to hit w/o hitting the neighboring button. test this well, it can cause a lot of errors. cheers, jeff use-revolution-request at lists.runrev.com wrote on 5/10/04 8:57 AM >Hello every body , >I'd need some elaboration on how to build a Kiosk solution. (for a >touch screen. There was a discussion perviously on this topic but just >the start.) >The solution I'm targeting for is a take out (restaurant). A bit of >detail , the owner must be able to add categories and menu items or >delete. >The screen should have 3 columns, 1, categories i.e. main dish, side >dish , beverages, deserts and so on. >The 2nd column should display all detail menus of the selected category >of column 1, meaning , while category main dish is selected it should >display chicken, beef, duck and so on in column 2 and while touching >lets say the side dish it should display all side dishes. In column 3 >in a list field it should display the item and the price of the >selected item line by line as a list. >Now the question how do I build the screen to change the view as above >create new items etc.? How do structure the layouts the buttons >how do I build them and how do I save them and how do I attach the SQL >to them in a way it should be possible for a owner to do it without >help? >Thanks very much , every bit info helps. >hershrev Jeffrey H. Reynolds 6620 Michaels Dr. Bethesda, MD 20817 301.469.8562 email: cteno4 at earthlink.net cteno4 at aol.com From gizmotron at earthlink.net Thu May 13 20:37:08 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 13 May 2004 17:37:08 -0700 Subject: revPrintText, revPrintField & standalones in Mac X, rev 2.2 In-Reply-To: Message-ID: On Thursday, May 13, 2004, at 01:59 PM, Monte Goulding wrote: > This is the first report I've heard of it. It sounds like you have the > library included properly although if you want to check this you could > add > something like this to your app: > > on openStack > answer the backScripts > end openStack > > Either way please put it on bugzilla as it could be a print library > issue > also... > > Cheers > Monte No need to bugzilla it. I never did that before anyway. It turned out that I was printing from some thrown together HTML. So a little bit of tweaking did the job nicely. global zinger put "

" into sic replace "

" with sic in zinger replace "

" with "

" in zinger revShowPrintDialog false, true revPrintText zinger Thanks, Mark From capellan2000 at yahoo.com Thu May 13 21:19:24 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Thu, 13 May 2004 18:19:24 -0700 (PDT) Subject: CGI engines for Linux In-Reply-To: <20040513210245.03818930120@mail.runrev.com> Message-ID: <20040514011924.7153.qmail@web40502.mail.yahoo.com> on Thu, 13 May 2004 Mark Talluto wrote: > I have a mirror of most of the MC engines at: > Thanks Mark! But all these engines require shared libraries. Pierre Sahores wrote: > > Do you mean Linux x86 ? I don't have any, here. I > can send you one, > > tomorrow, from the office. But if you can find a > standard MC 2.5 issue > > on a friendly mirror, this will be the same as the > one i will send (MC > > 2.5 works, in its standard issue, as well in > graphical mode trough its > > X11 IDE, than in console mode where you can use it > as CGI engine or > > to run sockets-driven backgrounder deamons). I'm glad to know this Pierre, but as Jacqueline wrote, I had to ask them to install all the additional libraries. J. Landman Gay wrote: > I'm not sure that's true -- when I first started > using CGIs in MetaCard > (version 2.1 or something,) all the Linux X11 > libraries were required. I > hit the same snag, and had to get my ISP to install > them. Thanks to everyone! I'll keep trying, to make this work. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Movies - Buy advance tickets for 'Shrek 2' http://movies.yahoo.com/showtimes/movie?mid=1808405861 From themacguy at macosx.com Fri May 14 00:34:06 2004 From: themacguy at macosx.com (Barry Levine) Date: Thu, 13 May 2004 22:34:06 -0600 Subject: New Rev-based application Message-ID: "My Kingdom for a Label" is an OSX app that will permit you to print five lines of text to any one (or more) labels on an Avery 5160 sheet (1" x 2 5/8", 3 across, 10 down). It's -very- rough (not even copy & paste nor a menu except the requisite "Quit"). Please download it and try it out. This version is "postcard-ware" - snailMail me a humorous postcard of your hometown. Any eMailed comments, suggestions, bug reports will, likewise, be appreciated. BTW - I originally wrote this in HyperCard in 1989 and was able to include many label formats because of HC's excellent report writer (a facility that Rev would do well to emulate!). Once I finish honing the OSX version (adding other label templates), there will be Classic and Windows versions, as well. The app may be DL'd here: http://www.themacguy.info/downloads.htm Even though -this- app did not require any "help!" please to the listas, my thanks go to all who have helped me in the past with other projects. Regards, Barry From sdmeyer at mac.com Fri May 14 00:54:17 2004 From: sdmeyer at mac.com (Steve Meyer) Date: Thu, 13 May 2004 22:54:17 -0600 Subject: ShowList port to Transcript In-Reply-To: <40A3C562.6050005@hyperactivesw.com> References: <0018A6CB-A490-11D8-B113-000A95CFD918@mac.com> <40A3C562.6050005@hyperactivesw.com> Message-ID: Thanks for this tip and the other answers. Although I probably should have rolled my own with the information of the model command, I have successfully integrated the AskList substack, function, and call. Although I didn't learn everything I could have by implementing it myself, I did learn several very interesting things: The user contributions site That's great! What an incredible resource. I would not have had success as quickly if I hadn't also found the 4W_Rev_List_Search.rev file for a simple interface to googling the mailing list archives. Lots of great solutions. Copying substacks Only successful by search of Google as above. The AskList docs just say to do so, but I never would have found the interface for this without reading message fragments and piecing it together. I'm still not sure if all my steps were necessary, and will have to research again if I ever want to use an existing substack with a different mainstack, probably not a common need anyway. An hour of trial and error to complete the AskList integration. Every new task is a wealth of learning, an integration in proportion to my errors. Many, many errors. Thanks again for the replies, Steve On May 13, 2004, at 12:58 PM, J. Landman Gay wrote: > On 5/12/04 10:45 PM, Steve Meyer wrote: > >> Showlist accepts as one of the parameters a return delimited list and >> shows them in a dialog box. (Other parameters are the prompt, >> buttons, and some other options.) The result of the command is the >> selection when the OK button is clicked. I create the list earlier in >> the handler from card data since it can change between handler calls. >> I've looked in the Transcript dialog and palette commands, but >> haven't found anything comparable. > > This is something you can easily build as a sub-stack. However, Dan > Friedman has already done it, and you can download his example from > the RR contributors section of the web site: > > > > Scroll down till you find "AskList 1.0". > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From b.xavier at internet.lu Fri May 14 01:13:06 2004 From: b.xavier at internet.lu (MisterX) Date: Fri, 14 May 2004 07:13:06 +0200 Subject: scriptable painting? In-Reply-To: <20040513060824.58676.qmail@web60507.mail.yahoo.com> Message-ID: Eric, I wrote a colorwheel drawing app back in MC times... Check it out... http://monsieurx.com/modules.php?name=News&file=article&sid=43 Any optimizations, cool settings, etc are welcome... I'll enhance it a bit more in the future... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Eric Engle > Sent: Thursday, May 13, 2004 08:08 > To: use-revolution at lists.runrev.com > Subject: scriptable painting? > > > In hypercard one can > > choose brush tool -- or something similar > click at 100,100 > drag to 200,200 > > and so one can script painting > > In metacard this was no longer possible, as far as I know. > > Is scriptable painting possible in revolution? > > Also another feature I liked about hypercard was the use of the > "play" command > to play music. i cannot read music but it was still nice. Are > there any plans > to incorporate "play flute c#" or some such into revolution? > > These two features are two more reasons I love hypercard. > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Movies - Buy advance tickets for 'Shrek 2' > http://movies.yahoo.com/showtimes/movie?mid=1808405861 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From revlists at canelasoftware.com Fri May 14 01:17:14 2004 From: revlists at canelasoftware.com (Mark Talluto) Date: Thu, 13 May 2004 22:17:14 -0700 Subject: CGI engines for Linux In-Reply-To: <20040514011924.7153.qmail@web40502.mail.yahoo.com> References: <20040514011924.7153.qmail@web40502.mail.yahoo.com> Message-ID: On May 13, 2004, at 6:19 PM, Alejandro Tejada wrote: >> I have a mirror of most of the MC engines at: >> > > Thanks Mark! > But all these engines require shared libraries. Sorry Alejandro. I did not realize. Hope Pierre has the answer. -- Best regards, Mark Talluto http://www.canelasoftware.com From nnoydb at excite.com Fri May 14 05:41:16 2004 From: nnoydb at excite.com (K) Date: Fri, 14 May 2004 05:41:16 -0400 (EDT) Subject: Very confused! Message-ID: <20040514094116.F2F822999B@xprdmailfe21.nwk.excite.com> Question 1: I am using Revolution 2.2 I have built a "new" application that executes without error running in the IDE/RAD. However, when I create a standalone code actually stops executing. I navigate to a dialog which retrieves several files from ftp.sec.gov after setting the necessary information I click okay. Normally (in the IDE/RAD) this downloads the files I selected in a standalone thought I executes the mouseUp and never executes the function in the card. I have placed try catch block around the area in question and receive no errors. In fact I fail to get any errors to reflect what is happening. Any ideas? Notes: 1. I am using libURL and have download the updates. Question 2: A message path questions. If a main-stack starts using a lib is that lib then in the message path of all sub-stacks? Am I correct in my belief that all handlers/functions in a card are in the message path of a button on that card. Question 3: How can I "go to" a stack at opening of another stack. Using preOpenStack or OpenStack works properly in the IDE but not a standalone. K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From francois.cuneo at cuk.ch Fri May 14 07:15:42 2004 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Fri, 14 May 2004 13:15:42 +0200 Subject: Opaque or not opaque... In-Reply-To: <2A8254B2-A29D-11D8-9C6D-000A959D005E@earthlink.net> Message-ID: Hello everybody! I have just a little question: a graphic could be opaque or not. But if I want to give a colour to a graphic, but that I want a colour with a little bit transparency, is it possible or not? It was with SuperCard I think!:-) Friendly Fran?ois -------------------------------------------------------------------------- Fran?ois Cuneo Au Champ du Pr? 1353 Bofflens e-mail: mailto:francois.cuneo at cuk.ch Web Cuk New Technologies, programmes ?ducatifs pour Mac: http://www.cuk.ch Web CUK, humeurs et tests sur le mac: http://www.cuk.ch/articles T?l: ++41 (024) 441.17.81 Fax: ++41 (024) 441.17.05 From psahores at easynet.fr Fri May 14 07:44:20 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Fri, 14 May 2004 13:44:20 +0200 Subject: CGI engines for Linux In-Reply-To: References: <20040514011924.7153.qmail@web40502.mail.yahoo.com> Message-ID: <09CC0AEE-A59C-11D8-BE1C-000A95C61E96@easynet.fr> Hello Alejandro, I realize that if i didn't never have the shared-libs problem on my productions and development servers, it's because i installed XFree86 on all thoses boxes to avoid this trouble. The best would be, first, to feet the Jacque's recommandations, and, second, to test on a development linux box what libs are imperativelly needed, one after each other... Hope this can help, Best, Pierre Le 14 mai 04, ? 07:17, Mark Talluto a ?crit : > > On May 13, 2004, at 6:19 PM, Alejandro Tejada wrote: > >>> I have a mirror of most of the MC engines at: >>> >> >> Thanks Mark! >> But all these engines require shared libraries. > > > Sorry Alejandro. I did not realize. Hope Pierre has the answer. > > -- > Best regards, > Mark Talluto > http://www.canelasoftware.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From psahores at easynet.fr Fri May 14 07:52:18 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Fri, 14 May 2004 13:52:18 +0200 Subject: Opaque or not opaque... In-Reply-To: References: Message-ID: <2667838C-A59D-11D8-BE1C-000A95C61E96@easynet.fr> Hi, This has to do with the alpha-channel datas management of the contents. Try this in google + browse the Rev docs about the alphaData property. Best, Pierre Le 14 mai 04, ? 13:15, Fran?ois Cuneo a ?crit : > Hello everybody! > > I have just a little question: a graphic could be opaque or not. > > But if I want to give a colour to a graphic, but that I want a colour > with a > little bit transparency, is it possible or not? > > It was with SuperCard I think!:-) > > Friendly > > > Fran?ois > ----------------------------------------------------------------------- > --- > > Fran?ois Cuneo > Au Champ du Pr? > 1353 Bofflens > > e-mail: mailto:francois.cuneo at cuk.ch > > Web Cuk New Technologies, programmes ?ducatifs pour Mac: > http://www.cuk.ch > Web CUK, humeurs et tests sur le mac: http://www.cuk.ch/articles > > T?l: ++41 (024) 441.17.81 > Fax: ++41 (024) 441.17.05 > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From graham.samuel at wanadoo.fr Fri May 14 08:32:03 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Fri, 14 May 2004 14:32:03 +0200 Subject: Message timing problem Message-ID: <6.1.0.6.2.20040514141140.01d1c858@pop3.blueyonder.co.uk> On Thu, 13 May 2004 11:38:06 -0600, Dar Scott wrote (and thanks for your input): >On Thursday, May 13, 2004, at 10:45 AM, Graham Samuel wrote: > > > I dimly see that I may somehow have activated more than one instance > > of my showNextFrame handler in some strange way [...] >This is usually the problem. > >One brute force method is to see if there is the same message in >pendingMessages() before the send. Sarah likes this one. I found this awkward because I have a number of objects each using a handler with the same name: so I opted for a straightforward test to see if the long seconds on this iteration is at least more advanced than my animation frame interval. Seems to work. This says to me that there is only one actual instance of the code and its globals, but I am about to read your tutorial and will then understand more. >Another is to use a script local variable for the message id. I use >empty to mean none. Thus, if it is not empty, then there is a message >pending. Frankly I don't understand this yet (have never used a message ID) - needs further study. >However, it might be good to look at why this is happening. It might >be that you are not reliably shutting down the mechanism. Yes, the problem is (I think) that my shutting down mechanism involves setting a global which is tested by the animation handler. Somehow this setting only happens after a lot of animation frame messages have been accumulated, and thus when I restart the handler I get an increased population of messages, at least for a time - this also needs further study. I have a nice demonstration that simply restarting the animation several times makes it go faster and faster - this is undoubtedly the 'multiple instance' case; but in my own app as usual things are bit more complicated to trace out. >If you have a little time, you might want to go through the primer on >"message mechanics" at my site: > > http://www.swcp.com/dsc/revstacks.html Am about to - thanks Dar for this. I now also have another anomaly in that an animation with a frame interval of exactly 50 ms can stop by itself for no apparent reason, the 'stop' flag not having been set. It's as if the pendingMessages queue had cleared itself. It is doubtless caused by another of my errors but it is curious - if I switch the frame interval to 55 for example, away it goes. Hmmph. The whole thing is a lot more fraught than I expected. Still working on it! Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From in.bois at wanadoo.fr Fri May 14 11:44:54 2004 From: in.bois at wanadoo.fr (Alain Bois) Date: Fri, 14 May 2004 17:44:54 +0200 Subject: Opaque or not opaque... In-Reply-To: References: Message-ID: Try set the ink of graphic n to blend. Friendly Alain Le 14 mai 04, ? 13:15, Fran?ois Cuneo a ?crit : > Hello everybody! > > I have just a little question: a graphic could be opaque or not. > > But if I want to give a colour to a graphic, but that I want a colour > with a > little bit transparency, is it possible or not? > > It was with SuperCard I think!:-) > > Friendly > > > Fran?ois > ----------------------------------------------------------------------- > --- > > Fran?ois Cuneo > Au Champ du Pr? > 1353 Bofflens > > e-mail: mailto:francois.cuneo at cuk.ch > > Web Cuk New Technologies, programmes ?ducatifs pour Mac: > http://www.cuk.ch > Web CUK, humeurs et tests sur le mac: http://www.cuk.ch/articles > > T?l: ++41 (024) 441.17.81 > Fax: ++41 (024) 441.17.05 > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From rcozens at pon.net Fri May 14 12:01:08 2004 From: rcozens at pon.net (Rob Cozens) Date: Fri, 14 May 2004 09:01:08 -0700 Subject: Opaque or not opaque... In-Reply-To: References: Message-ID: >Try set the ink of graphic n to blend. ...and check the blendLevel property in Rev Dictionary, Fran?ois -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Fri May 14 12:11:52 2004 From: rcozens at pon.net (Rob Cozens) Date: Fri, 14 May 2004 09:11:52 -0700 Subject: Opaque or not opaque... Message-ID: >and check the blendLevel property in Rev Dictionary, Oops! The Dictionary says blendLevel is an image property only. From my review of graphic properties, it appears you need to fiddle with the ink property, as previously suggested. -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From dsc at swcp.com Fri May 14 12:06:30 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 14 May 2004 10:06:30 -0600 Subject: Message timing problem In-Reply-To: <6.1.0.6.2.20040514141140.01d1c858@pop3.blueyonder.co.uk> Message-ID: On Friday, May 14, 2004, at 06:32 AM, Graham Samuel wrote: >> Another is to use a script local variable for the message id. I use >> empty to mean none. Thus, if it is not empty, then there is a message >> pending. > > Frankly I don't understand this yet (have never used a message ID) - > needs further study. See 'cancel' in the Transcript dictionary, and also the paragraph on 'the result' in the entry for 'send'. This is covered in the primer. I hope to look at your other problem later. Dar Scott From francois.cuneo at cuk.ch Fri May 14 12:59:05 2004 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Fri, 14 May 2004 18:59:05 +0200 Subject: Opaque or not opaque... In-Reply-To: Message-ID: Le 14.5.2004 18:11, Rob Cozens ? rcozens at pon.net a ?crit: >> and check the blendLevel property in Rev Dictionary, > > Oops! The Dictionary says blendLevel is an image property only. > > From my review of graphic properties, it appears you need to fiddle > with the ink property, as previously suggested. Thank you very much everybody! Amicalement Fran?ois -------------------------------------------------------------------------- Fran?ois Cuneo Au Champ du Pr? 1353 Bofflens e-mail: mailto:francois.cuneo at cuk.ch Web Cuk New Technologies, programmes ?ducatifs pour Mac: http://www.cuk.ch Web CUK, humeurs et tests sur le mac: http://www.cuk.ch/articles T?l: ++41 (024) 441.17.81 Fax: ++41 (024) 441.17.05 From RGould8 at aol.com Fri May 14 15:08:54 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Fri, 14 May 2004 15:08:54 EDT Subject: Does this email show up ok? Message-ID: <164.2f8a1bc5.2dd67346@aol.com> I'm on AOL for the Mac and was wondering if this email message shows up ok on the revolution listserve, or if it is embedding a bunch of html tags when this message gets sent out. The only way to test it is to post this message and find out. I want to make sure I'm not causing grief to people trying to read my messages. If this email is causing problems with the listserve, then I'll have to switch to my PC, which gives me the option of sending "text only" messages. On the mac client, I don't appear to have that option. If it is causing problems, if just one person could respond, that'd be fine. I'll get the message. From MFitz53 at comcast.net Fri May 14 16:22:44 2004 From: MFitz53 at comcast.net (Mike) Date: Fri, 14 May 2004 16:22:44 -0400 Subject: Does this email show up ok? In-Reply-To: <164.2f8a1bc5.2dd67346@aol.com> References: <164.2f8a1bc5.2dd67346@aol.com> Message-ID: <40A52A94.8050001@comcast.net> RGould8 at aol.com wrote: >I'm on AOL for the Mac and was wondering if this email message shows up ok on >the revolution listserve, or if it is embedding a bunch of html tags when >this message gets sent out. The only way to test it is to post this message and >find out. I want to make sure I'm not causing grief to people trying to >read my messages. > >If this email is causing problems with the listserve, then I'll have to >switch to my PC, which gives me the option of sending "text only" messages. On >the mac client, I don't appear to have that option. > >If it is causing problems, if just one person could respond, that'd be fine. > I'll get the message. >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution > > > I see no html tags. All's well. From capellan2000 at yahoo.com Fri May 14 20:48:00 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Fri, 14 May 2004 17:48:00 -0700 (PDT) Subject: CGI engines for Linux - solved In-Reply-To: <20040514160117.304E5930146@mail.runrev.com> Message-ID: <20040515004800.28761.qmail@web40513.mail.yahoo.com> on Fri, 14 May 2004 13:44:20 +0200 Pierre Sahores wrote: > I realize that if i didn't never have the > shared-libs problem on my > productions and development servers, it's because i > installed XFree86 > on all thoses boxes to avoid this trouble. The best > would be, first, to > follow the Jacque's recommendations, and, second, to > test on a > development linux box what libs are imperativelly > needed, one after > each other... Looks like not all Unix are created (or installed) equal! Ken Ray asked for the error message produced when running the script. This is the error message produced when i use ssh to run "hello.cgi" for the Revolution engine: "Incorrectly built binary which accesses errno or h_errno directly. Needs to be fixed." Thanks to this mail list archive, i found this message posted by Richard MacLemale: -------------------------------------------------- "Once you drag the rev executable to the /usr/bin folder, you need to give it the ability to run. In the command line, type sudo chmod 555 /usr/bin/rev" -------------------------------------------------- And this works!!! Now, cgi is working in my site. :-) Next, i'll try to install LibCGI. Why in some servers, the permissions for the engine must be set to 755 and in others to 555? Which Apache preference controls this? Could be the .htaccess file? Thanks to everyone for their insights!!! al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ From jacque at hyperactivesw.com Sat May 15 01:35:35 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 15 May 2004 00:35:35 -0500 Subject: CGI engines for Linux - solved In-Reply-To: <20040515004800.28761.qmail@web40513.mail.yahoo.com> References: <20040515004800.28761.qmail@web40513.mail.yahoo.com> Message-ID: <40A5AC27.2050403@hyperactivesw.com> On 5/14/04 7:48 PM, Alejandro Tejada wrote: > Thanks to this mail list archive, i found this message > posted by Richard MacLemale: > > > -------------------------------------------------- > "Once you drag the rev executable to the /usr/bin > folder, you need to give it > the ability to run. In the command line, type > > sudo chmod 555 /usr/bin/rev" > -------------------------------------------------- > > And this works!!! That's good to know. I'd like to revise my tutorial to mention this. I just tried setting permissions for the engine in my own /cgi/ folder to 555 and it works just as well as 755. So the question is: should the directions in the tutorial just tell people to use 555, or should it say to try both and see which one works? Chomd 555 removes the ability to write to the engine, but that's not possible anyway even with 755 (except by the owner.) The only difference practically speaking is that maybe some setups require 555. Anyone have a suggestion on the best explanation for the tutorial? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From psahores at easynet.fr Sat May 15 03:30:47 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Sat, 15 May 2004 09:30:47 +0200 Subject: CGI engines for Linux - solved In-Reply-To: <20040515004800.28761.qmail@web40513.mail.yahoo.com> References: <20040515004800.28761.qmail@web40513.mail.yahoo.com> Message-ID: Le 15 mai 04, ? 02:48, Alejandro Tejada a ?crit : > > Why in some servers, the permissions for the engine > must be set to 755 and in others to 555? > > Which Apache preference controls this? > Could be the .htaccess file? Under Suse-Linux 6.3 to 8.2, all the config is set from the httpd.conf file. > > Thanks to everyone for their insights!!! > > al > Best, Pierre From revlists at canelasoftware.com Fri May 14 01:17:14 2004 From: revlists at canelasoftware.com (Mark Talluto) Date: Thu, 13 May 2004 22:17:14 -0700 Subject: CGI engines for Linux In-Reply-To: <20040514011924.7153.qmail@web40502.mail.yahoo.com> References: <20040514011924.7153.qmail@web40502.mail.yahoo.com> Message-ID: On May 13, 2004, at 6:19 PM, Alejandro Tejada wrote: >> I have a mirror of most of the MC engines at: >> > > Thanks Mark! > But all these engines require shared libraries. Sorry Alejandro. I did not realize. Hope Pierre has the answer. -- Best regards, Mark Talluto http://www.canelasoftware.com From jhurley at infostations.com Sat May 15 09:36:21 2004 From: jhurley at infostations.com (Jim Hurley) Date: Sat, 15 May 2004 06:36:21 -0700 Subject: Open as palette In-Reply-To: <20040514160117.304E5930146@mail.runrev.com> References: <20040514160117.304E5930146@mail.runrev.com> Message-ID: How do I get a stack to open palette in the palette mode? I've tried on preopenstack palette stack "myStack" end preopenstack in the stack script. Jim From klaus at major-k.de Sat May 15 10:11:58 2004 From: klaus at major-k.de (Klaus Major) Date: Sat, 15 May 2004 16:11:58 +0200 Subject: Open as palette In-Reply-To: References: <20040514160117.304E5930146@mail.runrev.com> Message-ID: Hi Jim, > How do I get a stack to open palette in the palette mode? > > I've tried > > on preopenstack > palette stack "myStack" > end preopenstack > > in the stack script. i had great success with: on preopenstack set the style of stack "xyz" to palette ## or ...of this stack... end preopenstack Hope that helps... > Jim Regards Klaus Major klaus at major-k.de www.major-k.de From nnoydb at excite.com Sat May 15 11:53:14 2004 From: nnoydb at excite.com (K) Date: Sat, 15 May 2004 11:53:14 -0400 (EDT) Subject: Building standalones (savingStandalone) Message-ID: <20040515155314.C308BAFA95@xprdmailfe5.nwk.excite.com> Question (1) Does the stackFiles property of the main stack apply to all it's children (substacks). If I code: start using "libMine" will 'RR' look at the stackFiles property of the sub stack as well as it's parent main stack for the library? Question (2) Is savingStandalone sent to all main stacks? For example I set the stackFiles propery to reflect all the library stacks required for a particular module. The library stacks are "main stacks" and are included via a modified "start using" construct that I created. However, the construct needs to alter it's behavior when in a standalone. Question (3) When standalone builder has a complete list of all files (.rev) required to operate a specific application does it include them in the standalone? Example: I add a stack to the list of require stacks. When the compliation (and I use that term loosely) occurs does the standalone builder put all the support stacks in the executable or must I still copy them to the application location? K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From FlexibleLearning at aol.com Sat May 15 12:16:38 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sat, 15 May 2004 12:16:38 EDT Subject: Opaque or not opaque... Message-ID: <194.28a9ebc6.2dd79c66@aol.com> >>> and check the blendLevel property in Rev Dictionary, >> >> Oops! The Dictionary says blendLevel is an image property only. >> >> From my review of graphic properties, it appears you need to fiddle >> with the ink property, as previously suggested. > >Thank you very much everybody! Just be careful if deploying ink effects over different platforms. Similarly, blend can cause problems if QT is not installed as it tends to result in solid black. /H From webmaster at dreamscapesoftware.com Sat May 15 12:28:17 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Sat, 15 May 2004 18:28:17 +0200 Subject: put awareness Message-ID: <000d01c43a99$a421c3a0$5085d80a@WorkPC> Are field's aware of when they get data put into them from a command? I have a log field that lists server commands, and I would like the field to scroll down to the last command. I would also like it to not scroll when the user (me) clicks on the field to read over the commands. Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress 1.2 http://www.dreamscapesoftware.com From kray at sonsothunder.com Sat May 15 13:32:18 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 15 May 2004 12:32:18 -0500 Subject: Open as palette In-Reply-To: Message-ID: <00ee01c43aa2$96152e60$6601a8c0@precision340> Jim, When you use the palette command, you only need to provide the name of the stack, not a stack descriptor, so you'd do: on preOpenStack palette "myStack" end preOpenStack HTH, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Jim Hurley > Sent: Saturday, May 15, 2004 8:36 AM > To: use-revolution at lists.runrev.com > Subject: Open as palette > > > How do I get a stack to open palette in the palette mode? > > I've tried > > on preopenstack > palette stack "myStack" > end preopenstack > > in the stack script. > > > Jim > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Sat May 15 13:36:26 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 15 May 2004 12:36:26 -0500 Subject: put awareness In-Reply-To: <000d01c43a99$a421c3a0$5085d80a@WorkPC> Message-ID: <00f101c43aa3$29be63c0$6601a8c0@precision340> Derek, I don't think the field itself is aware of the change, but you can add it to your logging command. Here's what I have in my log (watch line wrapping): on LogIt what if fld "Log" is not empty then put cr & what after last line of fld "Log" else put what into fld "Log" end if set the scroll of fld "Log" to (the formattedHeight of fld "Log" - the height of fld "Log") end LogIt HTH, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Derek Bump > Sent: Saturday, May 15, 2004 11:28 AM > To: How to use Revolution > Subject: put awareness > > > Are field's aware of when they get data put into them from a command? > > I have a log field that lists server commands, and I would > like the field to scroll down to the last command. I would > also like it to not scroll when the user (me) clicks on the > field to read over the commands. > > > Derek Bump > Dreamscape Software ____________________________________________ > Compress Images Easily with JPEGCompress 1.2 > http://www.dreamscapesoftware.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From webmaster at dreamscapesoftware.com Sat May 15 13:57:18 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Sat, 15 May 2004 19:57:18 +0200 Subject: User-Agent Message-ID: <000c01c43aa6$164be030$5085d80a@WorkPC> Is there any way to change the "User-Agent" that libURL uses? Some sites only allow some user-agents to enter, and I'd like to change it so it reflects Internet Explorer. Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress 1.2 http://www.dreamscapesoftware.com From webmaster at dreamscapesoftware.com Sat May 15 14:01:22 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Sat, 15 May 2004 20:01:22 +0200 Subject: put awareness References: <00f101c43aa3$29be63c0$6601a8c0@precision340> Message-ID: <001601c43aa6$ae9bba40$5085d80a@WorkPC> Well, I'm using "libURLSetLogField" to handle the messages. I did manage to setup a idle handler that works pretty well, but I really do hate using idle messages. Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress 1.2 http://www.dreamscapesoftware.com ----- Original Message ----- From: "Ken Ray" To: "'How to use Revolution'" Sent: Saturday, May 15, 2004 19:36 Subject: RE: put awareness > Derek, I don't think the field itself is aware of the change, but you can > add it to your logging command. Here's what I have in my log (watch line > wrapping): > > on LogIt what > if fld "Log" is not empty then > put cr & what after last line of fld "Log" > else > put what into fld "Log" > end if > set the scroll of fld "Log" to (the formattedHeight of fld "Log" - the > height of fld "Log") > end LogIt > > HTH, > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > > -----Original Message----- > > From: use-revolution-bounces at lists.runrev.com > > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > > Derek Bump > > Sent: Saturday, May 15, 2004 11:28 AM > > To: How to use Revolution > > Subject: put awareness > > > > > > Are field's aware of when they get data put into them from a command? > > > > I have a log field that lists server commands, and I would > > like the field to scroll down to the last command. I would > > also like it to not scroll when the user (me) clicks on the > > field to read over the commands. > > > > > > Derek Bump > > Dreamscape Software ____________________________________________ > > Compress Images Easily with JPEGCompress 1.2 > > http://www.dreamscapesoftware.com > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From graham.samuel at wanadoo.fr Sat May 15 13:46:07 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Sat, 15 May 2004 19:46:07 +0200 Subject: Message timing problem Message-ID: <6.1.0.6.2.20040515194237.01c87e60@pop3.blueyonder.co.uk> On Fri, 14 May 2004 10:06:30 -0600, Dar Scott wrote: >See 'cancel' in the Transcript dictionary, and also the paragraph on >'the result' in the entry for 'send'. > >This is covered in the primer. > >I hope to look at your other problem later. Thanks again - I got my app working after careful reading of your primer. Very very useful. Now I'm struggling to produce a simple demonstrator of the problems that caused me to create my own message machinery in the first place - difficulties with the way RR deals with Animated GIFs. The other problem was so weird that it probably isn't worth pursuing - I didn't find any obvious reason, but I'm not going to go back over it now unless my (very conscientious) beta tester announces a problem on Windows ME or similar. Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From aj445 at traverse.lib.mi.us Sat May 15 14:26:51 2004 From: aj445 at traverse.lib.mi.us (SB) Date: Sat, 15 May 2004 14:26:51 -0400 Subject: problem in preview mode- help! In-Reply-To: <20040515160005.3F21C930145@mail.runrev.com> References: <20040515160005.3F21C930145@mail.runrev.com> Message-ID: <6F13089C-A69D-11D8-B905-000A95F0C744@leo.nmc.edu> Hi, I don't have the right terminology, but here goes. OS X, rev 2.1.2 I make a new stack, save it, quit Rev. Then I double-click the new stack to open it in the preview mode, without opening the main Rev program. It opens, but here is the problem-- another stack opens with it. The surprise stack is usually a splash screen stack from another stack-- this happens now with most stacks I open this way. I have looked in the application browser and a bunch of other places, but can't see how these different stacks got associated. What have I done? How do I get it to stop? Thanks, Sandy From erikhans08 at yahoo.com Sat May 15 17:34:16 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Sat, 15 May 2004 14:34:16 -0700 (PDT) Subject: New version of Graphic Tools In-Reply-To: Message-ID: <20040515213416.16038.qmail@web61107.mail.yahoo.com> --- Jim Hurley wrote: > > > > > >Message: 23 > >Date: Wed, 12 May 2004 02:57:52 -0700 (PDT) > >From: Alejandro Tejada > > >Subject: [ANN] New version of Graphic Tools > >To: use-revolution at lists.runrev.com > >Message-ID: > <20040512095752.76887.qmail at web40514.mail.yahoo.com> > >Content-Type: text/plain; charset=us-ascii > > > >Hi Developers, > > > >Download the more recent version of the stack: > >Graphic Tools v01cBeta. A draft for a vector > graphic > >editor made in RR/MC. > > > > > > > >al > > > >===== > >Visit my site: > >http://www.geocities.com/capellan2000/ > >Search the mail list: > >http://mindlube.com/cgi-bin/search-use-rev.cgi > > > Al, > > Well done, Al ! We now have Illustrator in Run > Rev. > > I have just scratched the surface of your > stack, but it appears to > have all the essentials. > > > Jim > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ From erikhans08 at yahoo.com Sat May 15 17:42:57 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Sat, 15 May 2004 14:42:57 -0700 (PDT) Subject: link to site OR link to instant download? In-Reply-To: Message-ID: <20040515214257.30288.qmail@web61108.mail.yahoo.com> is there a convention governing whether a link immediately downloads something to your desktop as opposed to a link that goes to a site where you can read about that download and browse through other offerings? sometimes i just want to see the author's site and read the blurbs. of course copying the URL to the Address field and deleting a few /***/*** also works. thanks, Erik Hansen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ From dcragg at lacscentre.co.uk Sat May 15 18:52:00 2004 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sat, 15 May 2004 23:52:00 +0100 Subject: User-Agent In-Reply-To: <000c01c43aa6$164be030$5085d80a@WorkPC> References: <000c01c43aa6$164be030$5085d80a@WorkPC> Message-ID: At 7:57 pm +0200 15/5/04, Derek Bump wrote: >Is there any way to change the "User-Agent" that libURL uses? Some sites >only allow some user-agents to enter, and I'd like to change it so it >reflects Internet Explorer. Use the httpHeaders property to override the default. For example: put "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)" into tString set the httpHeaders to "User-Agent:" && tString Cheers Dave From erikhans08 at yahoo.com Sat May 15 19:33:16 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Sat, 15 May 2004 16:33:16 -0700 (PDT) Subject: link to site OR link to instant download? In-Reply-To: Message-ID: <20040515233316.46311.qmail@web61108.mail.yahoo.com> is there a convention governing whether a link immediately downloads something to your desktop as opposed to a link that goes to a site where you can read about that download and browse through other offerings? sometimes i just want to see the author's site and read the blurbs. of course copying the URL to the Address field and deleting a few /***/*** also works. thanks, Erik Hansen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ From dsc at swcp.com Sat May 15 19:50:32 2004 From: dsc at swcp.com (Dar Scott) Date: Sat, 15 May 2004 17:50:32 -0600 Subject: link to site OR link to instant download? In-Reply-To: <20040515233316.46311.qmail@web61108.mail.yahoo.com> Message-ID: On Saturday, May 15, 2004, at 05:33 PM, Erik Hansen wrote: > is there a convention governing whether a > link immediately downloads something to your > desktop as opposed to a link that goes to a > site where you can read about that download > and browse through other offerings? I don't know what the convention is, but I like being able to review info before downloading and would like to have some downloading details. However, if the application that starts the download provides this info, that is OK with me. I'm just one data point. Dar Scott From monte at sweattechnologies.com Sat May 15 20:21:39 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 16 May 2004 09:51:39 +0930 Subject: Building standalones (savingStandalone) In-Reply-To: <20040515155314.C308BAFA95@xprdmailfe5.nwk.excite.com> Message-ID: > >Question (1) > >Does the stackFiles property of the main stack apply to all it's >children (substacks). If I code: > >start using "libMine" > >will 'RR' look at the stackFiles property of the sub stack as well >as it's parent main stack for the library? I believe the engine checks all stackFiles properties of any open stack. > > >Question (2) > >Is savingStandalone sent to all main stacks? No... just to the application mainstack. > >For example I set the stackFiles propery to reflect all the >library stacks required for a particular module. The library >stacks are "main stacks" and are included via a modified "start >using" construct that I created. However, the construct needs to >alter it's behavior when in a standalone. check out the environment function. There's also an easter egg in the standalone builder so that if you have a components/save/user scripts directory and put library stacks in there you can choose them in the script libraries list and they will be put in use with the rest of the rev libraries. > > >Question (3) > >When standalone builder has a complete list of all files (.rev) >required to operate a specific application does it include them in >the standalone? Only the application mainstack is embedded in the executable. The rest are copied next to the executable according to their relative path to the application mainstack. > >Example: >I add a stack to the list of require stacks. When the compliation >(and I use that term loosely) occurs does the standalone builder >put all the support stacks in the executable or must I still copy >them to the application location? It copies for you. Cheers Monte From monte at sweattechnologies.com Sat May 15 20:28:24 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 16 May 2004 09:58:24 +0930 Subject: Very confused! In-Reply-To: <20040514094116.F2F822999B@xprdmailfe21.nwk.excite.com> Message-ID: >Question 1: > >I am using Revolution 2.2 I have built a "new" application that >executes without error running in the IDE/RAD. However, when I >create a standalone code actually stops executing. I navigate to >a dialog which retrieves several files from ftp.sec.gov after >setting the necessary information I click okay. Normally (in the >IDE/RAD) this downloads the files I selected in a standalone >thought I executes the mouseUp and never executes the function in >the card. I have placed try catch block around the area in >question and receive no errors. In fact I fail to get any errors >to reflect what is happening. Any ideas? > >Notes: >1. I am using libURL and have download the updates. Hmm... I believe it's possible to extract a log from libURL. Maybe that's a good place to start. > >Question 2: > >A message path questions. > >If a main-stack starts using a lib is that lib then in the message >path of all sub-stacks? Yes. The only think further back in the message path than a libray is a backScript and that's only if there is a naming collision. > >Am I correct in my belief that all handlers/functions in a card >are in the message path of a button on that card. Yes > >Question 3: > >How can I "go to" a stack at opening of another stack. Using >preOpenStack or OpenStack works properly in the IDE but not a standalone. How does it not work properly in a standalone? Cheers Monte From kray at sonsothunder.com Sun May 16 00:41:23 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 15 May 2004 23:41:23 -0500 Subject: problem in preview mode- help! In-Reply-To: <6F13089C-A69D-11D8-B905-000A95F0C744@leo.nmc.edu> Message-ID: <008601c43b00$0df02fe0$6601a8c0@precision340> What's probably happening is that another Rev standalone is launching instead. If the standalone that was created wasn't set to use a different file extension (or type/creator on Mac) it will launch anytime anyone double-clicks on a Rev stack file on disk. Could that be the problem? If so, your workaround is to drag and drop the .rev file on top of the Revolution application icon. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of SB > Sent: Saturday, May 15, 2004 1:27 PM > To: use-revolution at lists.runrev.com > Subject: problem in preview mode- help! > > > Hi, > I don't have the right terminology, but here goes. OS X, rev 2.1.2 > > I make a new stack, save it, quit Rev. > > Then I double-click the new stack to open it in the preview mode, > without opening the main Rev program. > > It opens, but here is the problem-- another stack opens with it. > > The surprise stack is usually a splash screen stack from another > stack-- this happens now with most stacks I open this way. I have > looked in the application browser and a bunch of other places, but > can't see how these different stacks got associated. > > What have I done? How do I get it to stop? > > Thanks, > > Sandy > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Sun May 16 00:42:31 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 15 May 2004 23:42:31 -0500 Subject: link to site OR link to instant download? In-Reply-To: Message-ID: <008701c43b00$3643d370$6601a8c0@precision340> I actually do both at my site. You can click a link to directly download, or click another link to get more information. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Dar Scott > Sent: Saturday, May 15, 2004 6:51 PM > To: erik at erikhansen.org; How to use Revolution > Subject: Re: link to site OR link to instant download? > > > > On Saturday, May 15, 2004, at 05:33 PM, Erik Hansen wrote: > > > is there a convention governing whether a > > link immediately downloads something to your > > desktop as opposed to a link that goes to a > > site where you can read about that download > > and browse through other offerings? > > I don't know what the convention is, but I like being able to review > info before downloading and would like to have some downloading > details. However, if the application that starts the > download provides > this info, that is OK with me. I'm just one data point. > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From wbl at wilddsl.net Sun May 16 07:17:09 2004 From: wbl at wilddsl.net (Bruce Laidlaw) Date: Sun, 16 May 2004 21:17:09 +1000 Subject: Saving text file as read-only In-Reply-To: <20040120004905.317BF9301E8@mail.runrev.com> References: <20040120004905.317BF9301E8@mail.runrev.com> Message-ID: <40A74DB5.3040906@wilddsl.net> I want to save student records from a little grammar program in a text file, but I don't want the students to improve their results!! I can do a simple encryption with put numToChar(charToNum(char x of cd fld "data")+20) after holdit but a better way would be to save the text file as read only. I can't find any way to do that. Can anyone help? Thanks, Bruce Bruce Laidlaw Sydney, Australia http://go.to/reading.writing/ From webmaster at dreamscapesoftware.com Sun May 16 09:37:00 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Sun, 16 May 2004 15:37:00 +0200 Subject: Saving text file as read-only References: <20040120004905.317BF9301E8@mail.runrev.com> <40A74DB5.3040906@wilddsl.net> Message-ID: <002801c43b4a$ee209d30$94ffd80a@WorkPC> > but a better way would be to save the text file as read only. I can't > find any way to do that. Can anyone help? In my experience I've found that saving any file as read only is nothing more than a minor detour when it comes to changing the file's contents. It's easy to reverse this parameter in almost any Operating System (Mac, Windows, Etc). Your best bet would be a form of encryption. Also, try to save it in a location that is not common for application files. For example, don't save the results within the Application's own folder. That is usually the first place I will look. Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress 1.2 http://www.dreamscapesoftware.com From jhurley at infostations.com Sun May 16 10:55:07 2004 From: jhurley at infostations.com (Jim Hurley) Date: Sun, 16 May 2004 07:55:07 -0700 Subject: Open as palette In-Reply-To: <20040515160006.3CF7793014F@mail.runrev.com> References: <20040515160006.3CF7793014F@mail.runrev.com> Message-ID: >Hi Jim, > >> How do I get a stack to open palette in the palette mode? >> >> I've tried >> >> on preopenstack >> palette stack "myStack" >> end preopenstack >> >> in the stack script. > >i had great success with: > > on preopenstack > set the style of stack "xyz" to palette > ## or ...of this stack... > end preopenstack > >Hope that helps... > >> Jim > >Regards > >Klaus Major >klaus at major-k.de >www.major-k.de Hi Klaus, I was successful as well with your suggestion. I had played around with every combination of "palette this stack" in a preopenstack script and a preopencard script. That message worked only when delivered from the msg box. What would I do without this list? Jim (I wonder why my message to the list contained so much extraneous info? Hope this one doesn't.) From briany at qldlearning.com Sun May 16 11:20:00 2004 From: briany at qldlearning.com (Brian Yennie) Date: Sun, 16 May 2004 11:20:00 -0400 Subject: Saving text file as read-only In-Reply-To: <40A74DB5.3040906@wilddsl.net> Message-ID: <7F987098-A74C-11D8-9698-000393AA08D2@qldlearning.com> Bruce, A couple of suggestions: 1) Include a checksum in the file of it's contents- if the checksum doesn't match the file contents then you know that someone modified the file. See md5() function to generate a unique value based on the contents of the file. Unless you students know how to update the checksum, you should be safe. 2) If you are on an operating system with user/group permissions you can manipulate, grant ownership of the files to a super-user, and read-only permission to others. On MacOS X, for example, you can do something like: sudo chown admin myfile.txt chmod +r myfile.txt Using shell(). HTH, Brian > I want to save student records from a little grammar program in a text > file, but I don't want the students to improve their results!! > > I can do a simple encryption with > > put numToChar(charToNum(char x of cd fld "data")+20) after holdit > > but a better way would be to save the text file as read only. I can't > find any way to do that. Can anyone help? From ambassador at fourthworld.com Sun May 16 11:28:37 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 16 May 2004 11:28:37 -0400 Subject: Open as palette In-Reply-To: References: <20040515160006.3CF7793014F@mail.runrev.com> Message-ID: <40A788A5.3020900@fourthworld.com> Jim Hurley wrote: >> Hi Jim, >> >>> How do I get a stack to open palette in the palette mode? >>> >>> I've tried >>> >>> on preopenstack >>> palette stack "myStack" >>> end preopenstack >>> >>> in the stack script. >> >> >> i had great success with: >> >> on preopenstack >> set the style of stack "xyz" to palette >> ## or ...of this stack... >> end preopenstack >> > I was successful as well with your suggestion. I had played around with > every combination of "palette this stack" in a preopenstack script and a > preopencard script. That message worked only when delivered from the > msg box. I wonder why that should be necessary. The style property of a stack is a persistent property, so if it's opened with the generic "open" command it should be fine. Is this in the IDE or in a standalone? Does the IDE use "open" or does it force modality by using "toplevel"? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rjb at rz.uni-potsdam.de Sun May 16 11:18:56 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Sun, 16 May 2004 17:18:56 +0200 Subject: Open as palette In-Reply-To: References: <20040515160006.3CF7793014F@mail.runrev.com> Message-ID: > >Hi Klaus, > >I was successful as well with your suggestion. I had played around >with every combination of "palette this stack" in a preopenstack >script and a preopencard script. That message worked only when >delivered from the msg box. > >What would I do without this list? > >Jim > The important difference is that 'palette xx' is equivalent to 'go to stack xx as palette' so it makes no sense if you are already in preopenstack of stack xx. Setting property is what makes sense (and works) at this stage. Robert From soapdog at mac.com Sun May 16 14:01:10 2004 From: soapdog at mac.com (Andre Garzia) Date: Sun, 16 May 2004 15:01:10 -0300 Subject: About Valentina XCMD... Message-ID: <030BD6A3-A763-11D8-A93E-0003936D012E@mac.com> Hi Folks, I am evaluating Valentina for a custom project. I want to use the latest XCMD from ParadigmaSoft, so I download the engines for Classic, Mach-O and Win32. Put them all in the externals of my app, but nothing happens!!!!! i closed and reopened it, everytime I try revOpenDatabase, it returns nothing!!!! no vdb file is created, no error returned... anyone here can send me some clues on Valentina, anyone here uses it? I need it for I must deploy self contained Database solutions, Can't tell employer to install MySQL. I also need SQL so I can't use serendipty lib. Please I need to work this out, does Valentina latest XCMD (version 4) works with Rev 2.2? Thanks in advance -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From jperryl at ecs.fullerton.edu Sun May 16 15:01:10 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 16 May 2004 12:01:10 -0700 (PDT) Subject: Import as Substack? In-Reply-To: Message-ID: Hi, Am I remembering things that didn't happen? I thought I had recalled some discussion on a new feature that allowed one to import a separate stack as/to a substack of a different stack. But when I searched the documentation, I didn't find such an animal. Does it exist? Thanks! Judy From janschenkel at yahoo.com Sun May 16 15:03:29 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 16 May 2004 12:03:29 -0700 (PDT) Subject: About Valentina XCMD... In-Reply-To: <030BD6A3-A763-11D8-A93E-0003936D012E@mac.com> Message-ID: <20040516190329.74919.qmail@web60508.mail.yahoo.com> --- Andre Garzia wrote: > Hi Folks, > > I am evaluating Valentina for a custom project. I > want to use the > latest XCMD from ParadigmaSoft, so I download the > engines for Classic, > Mach-O and Win32. Put them all in the externals of > my app, but nothing > happens!!!!! i closed and reopened it, everytime I > try revOpenDatabase, > it returns nothing!!!! no vdb file is created, no > error returned... > > anyone here can send me some clues on Valentina, > anyone here uses it? I > need it for I must deploy self contained Database > solutions, Can't tell > employer to install MySQL. I also need SQL so I > can't use serendipty > lib. > > Please I need to work this out, does Valentina > latest XCMD (version 4) > works with Rev 2.2? > > Thanks in advance > -- > Andre Alves Garzia ? 2004 ? BRAZIL > Hi Andre, There are a few issues with Valentina 1.10 and higher when used from Revolution -- however, these are being adressed for version 2.3 ; in the meantime you should either use older Valentina data files, or connect using the VCXMD external directly. Oh, and revOpenDatabase will not create new .vdb files for you, you need to use the Valentina application to create a database and set its schema. Hope this clarified the situation, Jan Schenkel ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ From janschenkel at yahoo.com Sun May 16 15:08:56 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 16 May 2004 12:08:56 -0700 (PDT) Subject: Import as Substack? In-Reply-To: Message-ID: <20040516190856.68487.qmail@web60504.mail.yahoo.com> --- Judy Perry wrote: > Hi, > > Am I remembering things that didn't happen? I > thought I had recalled some > discussion on a new feature that allowed one to > import a separate stack > as/to a substack of a different stack. But when I > searched the > documentation, I didn't find such an animal. > > Does it exist? > > Thanks! > > Judy > Hi Judy, The easiest way to import a stack a a substack is to change its mainStack property. Open the stack, and use the Inspector palette to change the mainstack. In case you want to copy a substack from one stack to another, save the source stack, and use the Inspector palette to change the mainstack of the substack. Close the source stack but don't save it, and the substack will now be in both stacks. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ From soapdog at mac.com Sun May 16 15:15:44 2004 From: soapdog at mac.com (Andre Garzia) Date: Sun, 16 May 2004 16:15:44 -0300 Subject: About Valentina XCMD... In-Reply-To: <20040516190329.74919.qmail@web60508.mail.yahoo.com> References: <20040516190329.74919.qmail@web60508.mail.yahoo.com> Message-ID: <6E035C60-A76D-11D8-A93E-0003936D012E@mac.com> On May 16, 2004, at 4:03 PM, Jan Schenkel wrote: > > Hi Andre, > > There are a few issues with Valentina 1.10 and higher > when used from Revolution -- however, these are being > adressed for version 2.3 ; in the meantime you should > either use older Valentina data files, or connect > using the VCXMD external directly. > > Oh, and revOpenDatabase will not create new .vdb files > for you, you need to use the Valentina application to > create a database and set its schema. > > Hope this clarified the situation, > > Jan Schenkel Jan, thanks for the quick reply. I created the vdb files using Valentina Client app. Is there a date for 2.3 release? humm... how do I address the VCXMD directly? I put it into externals property and reloaded the IDE, is this enought? Cheers andre -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From janschenkel at yahoo.com Sun May 16 15:39:32 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 16 May 2004 12:39:32 -0700 (PDT) Subject: About Valentina XCMD... In-Reply-To: <6E035C60-A76D-11D8-A93E-0003936D012E@mac.com> Message-ID: <20040516193932.52530.qmail@web60507.mail.yahoo.com> --- Andre Garzia wrote: > > Jan, > > thanks for the quick reply. I created the vdb files > using Valentina > Client app. Is there a date for 2.3 release? > > humm... how do I address the VCXMD directly? I put > it into externals > property and reloaded the IDE, is this enought? > Hi Andre, There is no official date for 2.3 ; however, there is a clear commitment from RunRev HQ to deliver a slew of bug fixes, and a trip to Bugzilla informed me that Tuviah has addressed all known issues. As for addressing your database through VXCMD directly instead of using the revdb commands, have a look at the official documentation : Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ From bornstein at designeq.com Sun May 16 16:42:50 2004 From: bornstein at designeq.com (Howard Bornstein) Date: Sun, 16 May 2004 16:42:50 -0400 Subject: problem in preview mode- help! In-Reply-To: <6F13089C-A69D-11D8-B905-000A95F0C744@leo.nmc.edu> References: <20040515160005.3F21C930145@mail.runrev.com> <6F13089C-A69D-11D8-B905-000A95F0C744@leo.nmc.edu> Message-ID: <99085092-A779-11D8-91E5-000A95909E26@designeq.com> On May 15, 2004, at 2:26 PM, SB wrote: > The surprise stack is usually a splash screen stack from another > stack-- this happens now with most stacks I open this way. I have > looked in the application browser and a bunch of other places, but > can't see how these different stacks got associated. Do a Get Info on your Rev stack. Look at the Open With popup in the Get Info window. It may have been associated with your other app. You want to change it to the Rev application if so. Regards, Howard Bornstein ----------------------- D E S I G N E Q www.designeq.com From jperryl at ecs.fullerton.edu Sun May 16 18:43:16 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 16 May 2004 15:43:16 -0700 (PDT) Subject: Import as Substack? In-Reply-To: <20040516190856.68487.qmail@web60504.mail.yahoo.com> Message-ID: Thanks, Jan! On Sun, 16 May 2004, Jan Schenkel wrote: > The easiest way to import a stack a a substack is to > change its mainStack property. Open the stack, and use > the Inspector palette to change the mainstack. From jperryl at ecs.fullerton.edu Sun May 16 18:51:42 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 16 May 2004 15:51:42 -0700 (PDT) Subject: Another Scripting Question In-Reply-To: <20040516190856.68487.qmail@web60504.mail.yahoo.com> Message-ID: Hi again, I am trying to simulate a message watcher-like window in a Rev presentation stack (which is to say, I want the user to get the idea of events/messages via a Message Watcher-like window but I don't want them seeing the real thing as I'm just using it to show mouse messages and don't want them overwhelmed with every idle etc.). My script is the following: on mouseUp put "mouseUp" && return after the last line of cd fld "MessageWatcher" end mouseUp on mouseStillDown put "mouseStillDown" && return after the last line of cd fld "MessageWatcher" end mouseStillDown on mouseEnter put "mouseEnter" && return after the last line of cd fld "MessageWatcher" end mouseEnter on mouseLeave put "mouseLeave" && return after the last line of cd fld "MessageWatcher" end mouseLeave The problem is that the first of the four messages prints in the first line of the field. Great -- this is not a problem. The problem is that the second prints on the same line as the first ("the problem"), but all subsequent messages print on their own line. Any ideas on this one? The above script is for a single button that the user is encouraged to use with the four event types scripted (and suggested in the presentation). Thank you as always! Judy "obviously never afraid to look too stupid!" From dsc at swcp.com Sun May 16 18:59:56 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 16 May 2004 16:59:56 -0600 Subject: Another Scripting Question In-Reply-To: Message-ID: On Sunday, May 16, 2004, at 04:51 PM, Judy Perry wrote: > Any ideas on this one? The above script is for a single button that > the > user is encouraged to use with the four event types scripted (and > suggested in the presentation). Maybe the behavior will be different if "the last line of cd" is removed. Dar Scott From jperryl at ecs.fullerton.edu Sun May 16 19:04:41 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 16 May 2004 16:04:41 -0700 (PDT) Subject: Another Scripting Question In-Reply-To: Message-ID: Are you suggesting this? put "mouseUp" && return after fld "MessageWatcher" Judy On Sun, 16 May 2004, Dar Scott wrote: > > On Sunday, May 16, 2004, at 04:51 PM, Judy Perry wrote: > > > Any ideas on this one? The above script is for a single button that > > the > > user is encouraged to use with the four event types scripted (and > > suggested in the presentation). > > Maybe the behavior will be different if "the last line of cd" is > removed. > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jperryl at ecs.fullerton.edu Sun May 16 19:06:46 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 16 May 2004 16:06:46 -0700 (PDT) Subject: Another Scripting Question In-Reply-To: Message-ID: Definitely not: executing at 4:05:47 PM Type Object: value is not a boolean (true or false) Object Try Me! Line put "mouseEnter" && return fld "MessageWatcher" Hint fld Judy On Sun, 16 May 2004, Dar Scott wrote: > Maybe the behavior will be different if "the last line of cd" is > removed. From dsc at swcp.com Sun May 16 19:14:27 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 16 May 2004 17:14:27 -0600 Subject: Another Scripting Question In-Reply-To: Message-ID: On Sunday, May 16, 2004, at 05:06 PM, Judy Perry wrote: > Definitely not: > > executing at 4:05:47 PM > Type Object: value is not a boolean (true or false) > Object Try Me! > Line put "mouseEnter" && return fld "MessageWatcher" > Hint fld > > Judy > > On Sun, 16 May 2004, Dar Scott wrote: > >> Maybe the behavior will be different if "the last line of cd" is >> removed. It looks like too much was deleted. I don't see the word 'after' in the line data. This is all a wild guess for my part. (The funny error message about a boolean should be fixed in the next release, assuming I understand some bugzilla entries.) Dar Scott From jperryl at ecs.fullerton.edu Sun May 16 19:16:35 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 16 May 2004 16:16:35 -0700 (PDT) Subject: Can you "Put" something into a button's script? In-Reply-To: Message-ID: Here's another one that's got me stumped even after reading the docs: Description. I have two drop-down type buttons; the first allows the user to select one of the four previously-described mouse messages and the second allows them to select one of four prescripted commands (play "sound.aif", revGoURL "http://www.runrev.com" etc. etc.). In addition, the first button then puts on && one of the four selected mouse messages in line 1 of a displayed field; the second button places the text of the chosen command as well as then closes out by putting "end" && the chosen mouse message. What I want to do is to then have the content of that displayed field sent to a third button. Is this possible? Judy From jperryl at ecs.fullerton.edu Sun May 16 19:17:28 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 16 May 2004 16:17:28 -0700 (PDT) Subject: Another Scripting Question In-Reply-To: Message-ID: Thanks, I'll check... On Sun, 16 May 2004, Dar Scott wrote: > It looks like too much was deleted. I don't see the word 'after' in > the line data. From bornstein at designeq.com Sun May 16 19:54:24 2004 From: bornstein at designeq.com (Howard Bornstein) Date: Sun, 16 May 2004 19:54:24 -0400 Subject: Can you "Put" something into a button's script? In-Reply-To: References: Message-ID: <5B8A6AE2-A794-11D8-BA80-000A95909E26@designeq.com> On May 16, 2004, at 7:16 PM, Judy Perry wrote: > > What I want to do is to then have the content of that displayed field > sent > to a third button. set the script of btn yourButton to fld "theScript" Is this what you had in mind? Regards, Howard Bornstein ----------------------- D E S I G N E Q www.designeq.com From aj445 at traverse.lib.mi.us Sun May 16 19:57:32 2004 From: aj445 at traverse.lib.mi.us (SB) Date: Sun, 16 May 2004 19:57:32 -0400 Subject: problem in preview mode: standalone launching In-Reply-To: <20040516152917.ABC349300E9@mail.runrev.com> References: <20040516152917.ABC349300E9@mail.runrev.com> Message-ID: Ken, thanks, I think that is it. Taking what you said, I looked up "creator" in the Rev encyclopedia, and found "About... File types, applications signatures and file ownership" Looks pretty complicated. I guess, to prevent this in the future, I should make up an extension/filetype whenever I make a standalone? Hmmm, there are probably rules as to what to use or avoid for an extension, type/creator name... Thanks for the help! Sandy > > What's probably happening is that another Rev standalone is launching > instead. If the standalone that was created wasn't set to use a > different > file extension (or type/creator on Mac) it will launch anytime anyone > double-clicks on a Rev stack file on disk. > > Could that be the problem? If so, your workaround is to drag and drop > the > .rev file on top of the Revolution application icon. > > Ken Ray From aj445 at traverse.lib.mi.us Sun May 16 20:30:41 2004 From: aj445 at traverse.lib.mi.us (SB) Date: Sun, 16 May 2004 20:30:41 -0400 Subject: problem in preview mode: different standalone launching In-Reply-To: <20040516152917.ABC349300E9@mail.runrev.com> References: <20040516152917.ABC349300E9@mail.runrev.com> Message-ID: <6DB11F0A-A799-11D8-8202-000A95F0C744@leo.nmc.edu> Ah, found the answer to my own next questions. Here is the category, in case someone else has this problem in the future--- in the Rev How To docs under: "How to... Assign a custom creator signature to a standalone" A great caution statement is included: "Caution! The Distribution Builder includes a default creator signature of ?RApp?. Do not use this default for applications you plan to distribute: obtain a unique signature from Apple before your final build. Using multiple applications with the same signature may cause unexpected user results." Indeed!! Thanks again, Ken. Sandy From jacque at hyperactivesw.com Sun May 16 20:32:24 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 16 May 2004 19:32:24 -0500 Subject: Another Scripting Question In-Reply-To: References: Message-ID: <40A80818.4030607@hyperactivesw.com> On 5/16/04 6:06 PM, Judy Perry wrote: > Definitely not: > > executing at 4:05:47 PM > Type Object: value is not a boolean (true or false) > Object Try Me! > Line put "mouseEnter" && return fld "MessageWatcher" > Hint fld Judy, could you send me a sample stack? While unrelated to your question, this is a good example of the erroneous error message bug, and we don't have enough examples in Bugzilla to provide to the team. If you could send me a sample stack that shows the error, I'll post it to Bugzilla. Or you could just upload yourself to bug #1529: http://www.runrev.com/revolution/developers/bugdatabase/show_bug.cgi?id=1529 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From Roger.E.Eller at sealedair.com Sun May 16 20:24:51 2004 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Sun, 16 May 2004 20:24:51 -0400 Subject: Import snapshot fails in standalone Message-ID: It seems strange to reply to my own question, but others may encounter this possible bug. The part I failed to mention before is that I am putting the captured image into an existing image that is part of a group. This works in development, but a built standalone will not display the captured image. on mouseUp import stapshot put the last image into image "screenshot" --which already exists in a group delete the last image end mouseUp However, if instead of the script above, I set the name of the last image and add it to a new group, it works as a standalone. Is this a bug, or am I not using the group property correctly? on mouseUp import snapshot set the name of the last image to "screenshot" --give the snapshot a name group img "screenshot" set the name of last group to "scrollable" set the vScrollBar of grp "scrollable" to true set the hScrollBar of grp "scrollable" to true end mouseUp Thanks. Roger Eller > I use the splash-screen loader method for my standalones. The standalone > opens a .rev stack. Using "import snapshot" in a mouseUp handler gives the > user a cross-hair cursor to select the area to be captured. As a > standalone, no image is captured. In the IDE, the capture works just fine. > When I build the standalone, I include ALL libraries. What is wrong here? > This is reproducible in Rev 2.1.2 and Rev 2.2 (I haven't tried other > versions). > > Thanks. > Roger Eller From monte at sweattechnologies.com Sun May 16 20:36:43 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 17 May 2004 10:06:43 +0930 Subject: problem in preview mode: different standalone launching In-Reply-To: <6DB11F0A-A799-11D8-8202-000A95F0C744@leo.nmc.edu> Message-ID: >Ah, found the answer to my own next questions. Here is the category, >in case someone else has this problem in the future--- in the Rev How >To docs under: "How to... Assign a custom creator signature to a >standalone" > >A great caution statement is included: > >"Caution! The Distribution Builder includes a default creator >signature of ?RApp?. Do not use this default for applications you plan >to distribute: obtain a unique signature from Apple before your final >build. Using multiple applications with the same signature may cause >unexpected user results." This is no longer the case for 2.2. The new Standalone Builder uses a default of "????" which is the standard default creator code. Cheers Monte From kray at sonsothunder.com Sun May 16 20:35:41 2004 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 16 May 2004 19:35:41 -0500 Subject: About Valentina XCMD... In-Reply-To: <6E035C60-A76D-11D8-A93E-0003936D012E@mac.com> Message-ID: <002801c43ba6$e59f2a80$6601a8c0@precision340> Andre, > humm... how do I address the VCXMD directly? I put it into externals > property and reloaded the IDE, is this enought? Here's the basics that I use - the rest you can get from the docs Jan pointed you to: global gValentinaInit,gMainDBRef on StartupDB get Valentina("SetDebugLevel",3) if not(gValentinaInit) then get Valentina("Init",20*1024*1024,YourMacLicenseCode,YourWindowsLicenseCode) if (it contains "ERROR") then put false into gValentinaInit -- Call your error handler here else put true into gValentinaInit end if end if end StartupDB on ShutdownDB if gValentinaInit then get Valentina("Shutdown") put false into gValentinaInit end ShutdownDB on OpenDB pDBPath put Valentina("Database_Open",pDBPath) into temp if (temp contains "ERROR") then -- call your error handler here else put temp into gMainDBRef end if end OpenDB on CloseDB get Valentina("Database_Close",gMainDBRef) put "" into gMainDBRef end CloseDB -- Then to make a simple query that gets all the data from the People table put Valentina("Database_SQLSelectRecords",gMainDBRef,"SELECT * FROM People") into tRecs Hope this helps, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From rjb at rz.uni-potsdam.de Sun May 16 21:07:42 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon, 17 May 2004 03:07:42 +0200 Subject: About Valentina XCMD... In-Reply-To: <002801c43ba6$e59f2a80$6601a8c0@precision340> References: <002801c43ba6$e59f2a80$6601a8c0@precision340> Message-ID: >Andre, > >> humm... how do I address the VCXMD directly? I put it into externals >> property and reloaded the IDE, is this enought? > >Here's the basics that I use - the rest you can get from the docs Jan >pointed you to: > >global gValentinaInit,gMainDBRef > >on StartupDB > get Valentina("SetDebugLevel",3) > if not(gValentinaInit) then > get >Valentina("Init",20*1024*1024,YourMacLicenseCode,YourWindowsLicenseCode) > if (it contains "ERROR") then > put false into gValentinaInit > -- Call your error handler here > else > put true into gValentinaInit > end if > end if >end StartupDB > >on ShutdownDB > if gValentinaInit then get Valentina("Shutdown") > put false into gValentinaInit >end ShutdownDB > >on OpenDB pDBPath > put Valentina("Database_Open",pDBPath) into temp > if (temp contains "ERROR") then > -- call your error handler here > else > put temp into gMainDBRef > end if >end OpenDB > >on CloseDB > get Valentina("Database_Close",gMainDBRef) > put "" into gMainDBRef >end CloseDB > >-- Then to make a simple query that gets all the data from the People table >put Valentina("Database_SQLSelectRecords",gMainDBRef,"SELECT * FROM People") >into tRecs > > >Hope this helps, > >Ken Ray >Sons of Thunder Software >Email: kray at sonsothunder.com >Web Site: http://www.sonsothunder.com/ One word of warning, though. The above example will work nicely when only a single stack opens and closes Valentina. I mean closing the engine not db files. However, when working in IDE it is possible to have multiple stacks opening and closing Valentina, and one could close Valentina without another one knowing about it, leading to a likely crash. So, one should also have a global monitoring the number of open stacks. More complicated but more reliable approach is for gValentinaInit (in the above example) to be a counter of init requests (instead of being a simple true/false flag). Each open must be then matched but a close which descreases the count and actually closes the kernel only when it is 0. >on StartupDB > get Valentina("SetDebugLevel",3) if (gValentinaInit=0) then > get >Valentina("Init",20*1024*1024,YourMacLicenseCode,YourWindowsLicenseCode) > if (it contains "ERROR") then > put false into gValentinaInit > -- Call your error handler here > else put 1 into gValentinaInit > end if else add 1 to gValentinaInit > end if >end StartupDB > >on ShutdownDB substract 1 from gValentinaInit if gValentinaInit = 0 then get Valentina("Shutdown") >end ShutdownDB If all your stacks use such a code, then you can close and open then in any order. Robert Brenstein From jperryl at ecs.fullerton.edu Sun May 16 22:44:30 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 16 May 2004 19:44:30 -0700 (PDT) Subject: Can you "Put" something into a button's script? In-Reply-To: <5B8A6AE2-A794-11D8-BA80-000A95909E26@designeq.com> Message-ID: Woo-hoo! Exactly! Thanks :-D Judy On Sun, 16 May 2004, Howard Bornstein wrote: > > set the script of btn yourButton to fld "theScript" > > Is this what you had in mind? From briany at qldlearning.com Mon May 17 00:35:49 2004 From: briany at qldlearning.com (Brian Yennie) Date: Mon, 17 May 2004 00:35:49 -0400 Subject: Another Scripting Question In-Reply-To: Message-ID: Judy, You may want to drop the "last line" reference altogether, and just say: put "xxx"&return after fld "MessageWatcher" IIRC, "the last line" may try to be smart and find the non-empty line before your return, rather than the technically empty data after it. HTH, Brian > on mouseUp > put "mouseUp" && return after the last line of cd fld > "MessageWatcher" > end mouseUp > > on mouseStillDown > put "mouseStillDown" && return after the last line of cd fld > "MessageWatcher" > end mouseStillDown > > on mouseEnter > put "mouseEnter" && return after the last line of cd fld > "MessageWatcher" > end mouseEnter > > on mouseLeave > put "mouseLeave" && return after the last line of cd fld > "MessageWatcher" > end mouseLeave > > The problem is that the first of the four messages prints in the first > line of the field. Great -- this is not a problem. The problem is > that the second prints on the same line as the first ("the problem"), > but > all subsequent messages print on their own line. > > Any ideas on this one? The above script is for a single button that > the > user is encouraged to use with the four event types scripted (and > suggested in the presentation). From capellan2000 at yahoo.com Mon May 17 03:42:12 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Mon, 17 May 2004 00:42:12 -0700 (PDT) Subject: Reading the width and height of a SWF movie In-Reply-To: <20040517012705.7E98B93018D@mail.runrev.com> Message-ID: <20040517074212.78465.qmail@web40510.mail.yahoo.com> Hi Developers, I've made this a simple handler for reading the width and height of a SWF movie, i'll like to know if it works ok in Linux and MacOSX: on mouseUp answer file "Select a SWF movie:" if it is not empty then put "binfile:"&it into cvb put it into vfile if char 1 to 3 of url cvb is in "CWS,FWS" then put char 9 to 20 of url cvb into mki repeat for each char n in mki put chartonum(n) into nbv set the numberformat to 00000000 put (baseconvert(nbv,10,2) + 0) after cdf end repeat put char 1 to 5 of cdf into xsd delete char 1 to 5 of cdf set the numberformat to 00 put baseconvert(xsd,2,10) into xsz repeat 4 put (baseconvert(char 1 to xsz of / cdf,2,10)/1920 * 96) & comma after vft delete char 1 to xsz of cdf end repeat put vfile & return & "Width: " & item 2 of vft & " pixels" & space & "Height: " & item 4 of vft & " pixels" else answer "I do not recognize this file as a SWF / movie!" end if end if end mouseUp Thanks in advance. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ From b.xavier at internet.lu Mon May 17 03:53:25 2004 From: b.xavier at internet.lu (MisterX) Date: Mon, 17 May 2004 09:53:25 +0200 Subject: [ANN] RunRev LogShark In-Reply-To: Message-ID: Hi everyone, Here's a nice little free stack to keep track of your RunRev session logs to ease the pain of tracking problems... http://www.monsieurx.com/modules.php?name=News&file=article&sid=147 The stack could use a few more features and graphics but it serves the purpose... Comments, bugs and ideas are welcome. Cheers Xavier From capellan2000 at yahoo.com Mon May 17 04:23:16 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Mon, 17 May 2004 01:23:16 -0700 (PDT) Subject: [ANN] Analize Binary Files In-Reply-To: <20040517012705.7E98B93018D@mail.runrev.com> Message-ID: <20040517082316.63987.qmail@web40514.mail.yahoo.com> Hi Developers, Download the utility stack that help me to work easily with binary files: Read the scripts, to understand how it works, and change or add code as you need. Enjoy! al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ From richmond at mail.maclaunch.com Mon May 17 05:47:07 2004 From: richmond at mail.maclaunch.com (Mathewson) Date: Mon, 17 May 2004 05:47:07 -0400 Subject: Import as Substack: The EASY WAY Message-ID: Have a bash with my MAINSTACKER stack: download it from http://www.runrev.com/resources/usercontributions.shtml it works a treat! No mess, no stress! Love, Richmond __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html _______________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- Make the most out of Apple's innovative technologies http://developer.apple.com/wwdc/applelinks.html From kray at sonsothunder.com Mon May 17 10:34:26 2004 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 17 May 2004 09:34:26 -0500 Subject: Reading the width and height of a SWF movie In-Reply-To: <20040517074212.78465.qmail@web40510.mail.yahoo.com> Message-ID: <00b201c43c1c$118e8440$6601a8c0@precision340> Works here in OS X... good job, Alejandro! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Alejandro Tejada > Sent: Monday, May 17, 2004 2:42 AM > To: use-revolution at lists.runrev.com > Subject: Reading the width and height of a SWF movie > > > Hi Developers, > > I've made this a simple handler for reading the width > and height of a SWF movie, i'll like to know if > it works ok in Linux and MacOSX: > > on mouseUp > answer file "Select a SWF movie:" > if it is not empty then > put "binfile:"&it into cvb > put it into vfile > > if char 1 to 3 of url cvb is in "CWS,FWS" > then > put char 9 to 20 of url cvb into mki > > repeat for each char n in mki > put chartonum(n) into nbv > set the numberformat to 00000000 > put (baseconvert(nbv,10,2) + 0) after cdf > end repeat > > put char 1 to 5 of cdf into xsd > delete char 1 to 5 of cdf > set the numberformat to 00 > put baseconvert(xsd,2,10) into xsz > > repeat 4 > put (baseconvert(char 1 to xsz of / > cdf,2,10)/1920 * 96) & comma after vft > delete char 1 to xsz of cdf > end repeat > > put vfile & return & "Width: " & item 2 of vft & > " pixels" & space & "Height: " & item 4 of vft & " > pixels" > else > answer "I do not recognize this file as a SWF / > movie!" > end if > end if > end mouseUp > > Thanks in advance. > > al > > > ===== > Visit my site: > http://www.geocities.com/capellan2000/ > Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi > > > > > __________________________________ > Do you Yahoo!? > SBC Yahoo! - Internet access at a great low price. > http://promo.yahoo.com/sbc/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Mon May 17 10:38:51 2004 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 17 May 2004 09:38:51 -0500 Subject: [ANN] Analize Binary Files In-Reply-To: <20040517082316.63987.qmail@web40514.mail.yahoo.com> Message-ID: <00b301c43c1c$afc2b320$6601a8c0@precision340> This look interesting, Alejandro, but how do you use it? The top half looks somewhat straightforward (although the radio buttons didn't seem to do anything(?)), but I'm not sure about the bottom half... Thanks, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Alejandro Tejada > Sent: Monday, May 17, 2004 3:23 AM > To: use-revolution at lists.runrev.com > Cc: metacard at list.runrev.com > Subject: [ANN] Analize Binary Files > > > Hi Developers, > > Download the utility stack that help me to work > easily with binary files: > > > > Read the scripts, to understand how it works, > and change or add code as you need. > > Enjoy! > > al > > ===== > Visit my site: > http://www.geocities.com/capellan2000/ > Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi > > > > > __________________________________ > Do you Yahoo!? > SBC Yahoo! - Internet access at a great low price. > http://promo.yahoo.com/sbc/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From rcozens at pon.net Mon May 17 11:05:35 2004 From: rcozens at pon.net (Rob Cozens) Date: Mon, 17 May 2004 08:05:35 -0700 Subject: Drawing a "Centered" Circle Message-ID: Hi All, Has anyone given any thought or scripting time to exploring what it would take to draw a circle that is centered over the loc of the original mouseDown? In the course of public presentation I would like to project a map and allow people in the audience to identify an area on the map by drawing a circle around it with a mouse. Using Transcript's oval tool the loc & shape of a circle change as the mouseLoc changes. I want the effect of a perfect circle growing or shrinking around a fixed point as the mouse recedes from or approaches that point. At the moment, the approach I'm contemplating involves: 1. Drawing a minimal circle on mouseDown 2. Changing the oval tool's ink (or visible property?) to make a new invisible oval. 3. On mouseMove change the width & height of the original circle to the distance between the mouseDown loc and the current mouse loc 4. On mouseUp delete the invisible oval. Anyone have any comments or a better solution to offer? TIA. -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From xbury.cs at clearstream.com Mon May 17 11:18:05 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Mon, 17 May 2004 17:18:05 +0200 Subject: Drawing a "Centered" Circle Message-ID: Hi Rob, on mousedown set the drawcentered to true set the circle's center showcircle repeat while the mouse is down grab mouseloc from center of circle get X or Y max (or min) distance end repeat hide circle end mousedown something like that? ---------------------=--------------------- Xavier Bury Clearstream Services TNS NT LAN Server ext 36465 Voice: +352 4656 43 6465 Fax: +352 4656 493 6465 Rob Cozens Sent by: use-revolution-bounces at lists.runrev.com 17.05.2004 17:05 Please respond to How to use Revolution To: How to use Revolution cc: Subject: Drawing a "Centered" Circle . Hi All, Has anyone given any thought or scripting time to exploring what it would take to draw a circle that is centered over the loc of the original mouseDown? In the course of public presentation I would like to project a map and allow people in the audience to identify an area on the map by drawing a circle around it with a mouse. Using Transcript's oval tool the loc & shape of a circle change as the mouseLoc changes. I want the effect of a perfect circle growing or shrinking around a fixed point as the mouse recedes from or approaches that point. At the moment, the approach I'm contemplating involves: 1. Drawing a minimal circle on mouseDown 2. Changing the oval tool's ink (or visible property?) to make a new invisible oval. 3. On mouseMove change the width & height of the original circle to the distance between the mouseDown loc and the current mouse loc 4. On mouseUp delete the invisible oval. Anyone have any comments or a better solution to offer? TIA. -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com 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 jperryl at ecs.fullerton.edu Mon May 17 12:59:12 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 17 May 2004 09:59:12 -0700 (PDT) Subject: Another Scripting Question In-Reply-To: Message-ID: Thanks, Brian! Judy On Mon, 17 May 2004, Brian Yennie wrote: > Judy, > > You may want to drop the "last line" reference altogether, and just say: > > put "xxx"&return after fld "MessageWatcher" > > IIRC, "the last line" may try to be smart and find the non-empty line > before your return, rather than the technically empty data after it. > > HTH, > Brian From rodmc at runrev.com Mon May 17 13:03:05 2004 From: rodmc at runrev.com (Rod McCall) Date: Mon, 17 May 2004 18:03:05 +0100 Subject: Product Announcements Message-ID: <1079532A-A824-11D8-AD3E-000393882F80@runrev.com> Hello everyone, There has been quite a few product announcements lately. If you are intending to announce a product then please get in touch as we can help with promoting it to the outside world. It doesn't matter if your product is commercial, shareware, freeware or postcardware we would like to hear from you! Just send me an email (rodmc at runrev.com) if you would like more information. Regards, Rod Dr Rod McCall ~ rodmc at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools From jperryl at ecs.fullerton.edu Mon May 17 13:16:56 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 17 May 2004 10:16:56 -0700 (PDT) Subject: Another Scripting Question In-Reply-To: Message-ID: Yup! This does it! Thanks, Brian :-D Judy On Mon, 17 May 2004, Brian Yennie wrote: > Judy, > > You may want to drop the "last line" reference altogether, and just say: > > put "xxx"&return after fld "MessageWatcher" From aj445 at traverse.lib.mi.us Mon May 17 13:52:43 2004 From: aj445 at traverse.lib.mi.us (SB) Date: Mon, 17 May 2004 13:52:43 -0400 Subject: problem in preview mode In-Reply-To: <20040517012704.1B86F93018A@mail.runrev.com> References: <20040517012704.1B86F93018A@mail.runrev.com> Message-ID: Thank you all! Sandy From scott at tactilemedia.com Mon May 17 14:04:14 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 17 May 2004 11:04:14 -0700 Subject: Drawing a "Centered" Circle In-Reply-To: Message-ID: Recently, "Rob Cozens" wrote: > Has anyone given any thought or scripting time to exploring what it > would take to draw a circle that is centered over the loc of the > original mouseDown? Is this what you have in mind? (message box): go url "http://www.tactilemedia.com/download/epicenterizer.rev" Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From scott at tactilemedia.com Mon May 17 14:10:18 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 17 May 2004 11:10:18 -0700 Subject: Drawing a "Centered" Circle In-Reply-To: Message-ID: Recently, I wrote: >> Has anyone given any thought or scripting time to exploring what it >> would take to draw a circle that is centered over the loc of the >> original mouseDown? > > Is this what you have in mind? (message box): Forgot to mention, click anywhere on the card and drag... Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From kevin at runrev.com Mon May 17 13:34:29 2004 From: kevin at runrev.com (Kevin Miller) Date: Mon, 17 May 2004 18:34:29 +0100 Subject: New pricing for Dan's Revolution book Message-ID: Hi, Dan's excellent guide to working with Revolution, Software at the Speed of Thought, is now available at a new reduced price. The printed book is now just $37, a $10 reduction. To order, visit our online store: http://secure.runrev.com/Merchant2/merchant.mvc?Screen=PROD&Product_Code=SST P&Category_Code=RM&Store_Code=RROS Also, a quick update for the community: As part of our drive to focus clearly on our core business - of building, maintaining and publishing the best possible Revolution product, we've suggested to Dan, and he has agreed, that it would be best to put the production of Dan's next books on hold while we look for a mutually agreeable publishing company to take those forward. The only implication that you might want to be aware of is that we will be slowing down the publication of the new e-book chapters somewhat while this search is going on. We'll probably release one every month or so for the moment. To make up for this slow down, we'll be making the new chapters free to members of Dan's e-community, and making the printed books free to those members when they come out too. If you have any comments or questions about this, please support at runrev.com or Dan directly. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools From jperryl at ecs.fullerton.edu Mon May 17 15:27:01 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 17 May 2004 12:27:01 -0700 (PDT) Subject: Embedded Quotes Revisted In-Reply-To: Message-ID: Hi again, Same project, new dilemma (but the other ones were solved, Thanks!). Again, what I'm doing is making a slightly interactive presentation/introduction to Rev for school teachers. It's trying to explain what what Rev is, what it can do, and how to make it do things (hence my pseudo-Message Watcher etc.). The current dilemma involves embedded quotes. I have a card that tries to walk people through writing a simple mouse event handler. Button#1 is a drop-down with the four mouse messages previously presented. Button #2 has four sample commands (things like opening up a URL in a browser, showing a text field, disabling a button and playing an embedded sound file). Both buttons are to send text to a pseudo script editor window (text field within the graphic of a script editor window, actually) to assemble the handler. Button#3 is the button that the user has just "assembled" with its script coming from the text field within the phony script editor window graphic (thanks, Brian or whoever helped me out with that one!). Problem: things that don't require embedded double-quotes (like enabling/disabling the target button) work great. The others don't for obvious reasons. I searched the archives and found one answer that involved CLIPS (?) and using a slash; the other was something involving using a function from Ken Ray which I don't really understand: ======================================== answer "She said, " & q("I do.") function q what return quote & what & quote end q ======================================= Is there anyone who can translate this from geekSpeak to normalHumanSpeak? (sorry; I'm no programmer) I suppose I could use a global variable and manually script the 16 possible combinations but am hoping for a more humane solution. Thanks, Judy From jhurley at infostations.com Mon May 17 15:32:11 2004 From: jhurley at infostations.com (Jim Hurley) Date: Mon, 17 May 2004 12:32:11 -0700 Subject: Drawing a "Centered" Circle In-Reply-To: <20040517160019.5BDF29301A6@mail.runrev.com> References: <20040517160019.5BDF29301A6@mail.runrev.com> Message-ID: > >Message: 9 >Date: Mon, 17 May 2004 08:05:35 -0700 >From: Rob Cozens >Subject: Drawing a "Centered" Circle >To: How to use Revolution >Message-ID: >Content-Type: text/plain; charset="us-ascii" ; format="flowed" > >Hi All, > >Has anyone given any thought or scripting time to exploring what it >would take to draw a circle that is centered over the loc of the >original mouseDown? > >In the course of public presentation I would like to project a map >and allow people in the audience to identify an area on the map by >drawing a circle around it with a mouse. > >Using Transcript's oval tool the loc & shape of a circle change as >the mouseLoc changes. I want the effect of a perfect circle growing >or shrinking around a fixed point as the mouse recedes from or >approaches that point. > >At the moment, the approach I'm contemplating involves: > >1. Drawing a minimal circle on mouseDown >2. Changing the oval tool's ink (or visible property?) to make a new >invisible oval. >3. On mouseMove change the width & height of the original circle to >the distance between the mouseDown loc and the current mouse loc >4. On mouseUp delete the invisible oval. > >Anyone have any comments or a better solution to offer? > >TIA. >-- > >Rob Cozens >CCW, Serendipity Software Company Rob, This works for me. It's probably what you had in mind. Jim Card Script local myName,x1,y1 -- Or use custom properties. on mouseDown if there is not graphic "circle" then set the style of the templateGraphic to Oval create graphic "circle" end if put the name of me into myname put the mouseH into x1 put the mouseV into y1 end mouseDown on mouseUP put "" into myName end mouseUP on mouseMove x,y if myName is "" then exit mouseMove put distance(x,y) into r set the rect of grc "circle" to x1-r,y1-r,x1+r,y1+r end mouseMove function distance x,y return trunc(sqrt((x1-x)^2 + (y1-y)^2)) end distance From RGould8 at aol.com Mon May 17 15:41:08 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Mon, 17 May 2004 15:41:08 EDT Subject: Hide task bar tabs? Message-ID: <1a9.243d551f.2dda6f54@aol.com> I've got a Revolution application for Windows that I'd like to run "invisibly". So far, I've been semi successful by setting it's properties to "hidden", and setting the stack's visibility to "false". What I'd like to do, however, is make it so that when Revolution does need to "pop up" a window, that the Windows task-bar at the bottom of the screen doesn't display a the tab for my revolution app. What's really interesting is that my Revolution app has a main stack, and a substack, and when they both display, I get 2 tabs listed in the task-bar. (the substack displays an asterick next to it's name). Is there a way to suppress this Windows task-bar display update, so that when my Rev app does a "visible of this stack = true", that the taskbar at the bottom doesn't change? From kray at sonsothunder.com Mon May 17 16:13:40 2004 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 17 May 2004 15:13:40 -0500 Subject: Embedded Quotes Revisted In-Reply-To: Message-ID: <011001c43c4b$782d6070$6601a8c0@precision340> > I searched the archives and found one answer that involved > CLIPS (?) and using a slash; the other was something > involving using a function from Ken Ray which I don't really > understand: > > ======================================== > answer "She said, " & q("I do.") > > function q what > return quote & what & quote > end q > ======================================= > > Is there anyone who can translate this from geekSpeak to > normalHumanSpeak? (sorry; I'm no programmer) Judy, Since I'm the one that wrote the q() function I thought it would be appropriate for me to respond. As you've discovered, sometimes Rev is very flexible about the use of quotation marks when referring to different things, and sometimes it's not. For example, if you had a field named "Data", you could script: put 10 into fld Data and you'd get the number 10 in the field. This is Rev's method of interpretation... if something *looks like a variable*, it is first evaluated to see if it *is* a variable. If not, it looks to see if there's an object by that name. So whereas this: put 10 into fld Data should work, this won't: put 50 into Data put 10 into fld Data Because by the time it gets to the phrase "fld Data", Data is now a variable containing the value of "50", so Rev interprets this as: put 10 into fld 50 And if you don't have 50 fields on your card, you'll get an error. However, when you *use* quotes, all the ambiguity disappears... Rev knows to look for an object named appropriately, so: put 10 into fld "Data" will always attempt to find the field named "Data" so that 10 can be put into it. My q() function is a shorthand way of adding surrounding quotations marks to a string to help aid in resolving these kind of ambiguities, and to be used in circumstances where you can't have multiple quotes in a string. The example I provided: answer "She said, " & q("I do.") would bring up an answer dialog with the string: She said, "I do." In order to get the quotes around "I do.", you can't just do this: answer "She said, "I do."" because Rev will display an error as it doesn't understand the "internal" quotes. No you *could* do: answer "She said, 'I do.'" but you wouldn't get double quotes around the phrase "I do.", you'd get single quotes. So in order to provide those quotes around the phrase, you need to either provide the constants for them, as in: answer "She said, " & quote & "I do." & quote or use a function like q() which takes a non-quoted string and returns it with quotes around it, as in: answer "She said, " & q("I do.") function q what return quote & what & quote end q or you can use the format() function in Rev which does the same thing but requires that you *escape* the quote by preceding it with a backslash (\), as in: answer format("She said, \"I do.\"") Escaping the quote makes sure that Rev doesn't choke on the "extra" quotation marks, but properly understands how to implement them. So when you're building your scripts, suppose the user selects "mouseUp" from Button #1, and then (since I don't really know what's in Button #2, I'm making it up) selects "answer" from Button #2 and is asked via an ask dialog what they want to answer. Let's suppose they type: Hello there into the ask dialog and click OK, and you want to make sure the assembled script ends up looking like this: on mouseUp answer "Hello there" end mouseUp So if we assume that the script is assmbled as they go, and after they've chosen and responded to the "answer" selection that the "end mouseUp" is automatically added, the scripts are like this: -- Script of dropdown #1 on menuPick pChoice -- pChoice is something like "mouseUp" put "on" && pChoice into fld "Script" -- Then store that choice so we can automatically end the handler -- after selecting from dropdown #2 set the uSelectedChoice of this card to pChoice end menuPick -- Script of dropdown #2 on menuPick pChoice if pChoice = "answer" then ask "What do you want to answer:" if it is not empty then put "answer" && quote & it & quote into line 2 of fld "Script" put "end" && (the uSelectedChoice of this card) into line 3 of fld "Script" end if else -- handle other choices here end if end menuPick HTH, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From hershrev at realtorsgroup.us Mon May 17 16:30:52 2004 From: hershrev at realtorsgroup.us (hershrev) Date: Mon, 17 May 2004 16:30:52 -0400 Subject: No subject Message-ID: <172D550D-A841-11D8-8F81-0030654C1E62@realtorsgroup.us> From hershrev at realtorsgroup.us Mon May 17 16:37:59 2004 From: hershrev at realtorsgroup.us (hershrev) Date: Mon, 17 May 2004 16:37:59 -0400 Subject: Ignore , this is a test Message-ID: <15A2800C-A842-11D8-8F81-0030654C1E62@realtorsgroup.us> From jperryl at ecs.fullerton.edu Mon May 17 16:49:46 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 17 May 2004 13:49:46 -0700 (PDT) Subject: Rev no worky... In-Reply-To: <172D550D-A841-11D8-8F81-0030654C1E62@realtorsgroup.us> Message-ID: Aarrgghh!!! I get to a point in my stack and everything just stops -- can't use the browse tool, can't use the edit-mode arrow tool... can't QUIT rev... Any suggestions? This is SOOOOOO not what I need at this point. Should I re-download Rev? Could it have gotten corrupted somehow? I have to exit by issuing a kill command from the terminal/console.. :( Judy From hershrev at realtorsgroup.us Mon May 17 16:52:23 2004 From: hershrev at realtorsgroup.us (hershrev) Date: Mon, 17 May 2004 16:52:23 -0400 Subject: Ignore , this is a test Message-ID: <18C93D5B-A844-11D8-8F81-0030654C1E62@realtorsgroup.us> From chipp at chipp.com Mon May 17 16:59:33 2004 From: chipp at chipp.com (Chipp Walters) Date: Mon, 17 May 2004 15:59:33 -0500 Subject: Rev no worky... In-Reply-To: References: Message-ID: <40A927B5.2040903@chipp.com> Hi Judy, Did you try Command-. Sometimes that works. Also, try turning messages off and then back on. best, Chipp Judy Perry wrote: > Aarrgghh!!! I get to a point in my stack and everything just stops -- > can't use the browse tool, can't use the edit-mode arrow tool... can't > QUIT rev... > > Any suggestions? This is SOOOOOO not what I need at this point. Should I > re-download Rev? Could it have gotten corrupted somehow? > > I have to exit by issuing a kill command from the terminal/console.. > > :( > > Judy > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jperryl at ecs.fullerton.edu Mon May 17 17:05:03 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 17 May 2004 14:05:03 -0700 (PDT) Subject: Rev no worky... In-Reply-To: <40A927B5.2040903@chipp.com> Message-ID: Hi Chipp, Thanks. If it happens again, I'll try that. It seems to be working again now... it's the "let's kill your thesis project" goblins at work, no doubt ;-) Judy On Mon, 17 May 2004, Chipp Walters wrote: > Hi Judy, > > Did you try Command-. Sometimes that works. Also, try turning messages > off and then back on. From zelston at aol.com Mon May 17 17:08:56 2004 From: zelston at aol.com (Zac Elston) Date: Mon, 17 May 2004 17:08:56 -0400 Subject: arrary item parsing within a function message pass Message-ID: <40A929E8.9040907@aol.com> so I have a list of things I want to scan for put "MYHostname,IPofHOST,Pinged" into mycheckitems I also have functions named MYHostname,IPofHOST & Pinged Now I want to do is repeat with MYX = 1 to the number of items in mycheckitems put item MYX of mycheckitems into myfunction writeResult var1,MYX,myfunction(var1) end repeat value(Myfunction) returns the correct item but the script dies on that item. how do I get that to work? thanks -zac From dsc at swcp.com Mon May 17 17:13:38 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 17 May 2004 15:13:38 -0600 Subject: Embedded Quotes Revisted In-Reply-To: Message-ID: <11104CFA-A847-11D8-A787-000A9567A3E6@swcp.com> On Monday, May 17, 2004, at 01:27 PM, Judy Perry wrote: > ======================================== > answer "She said, " & q("I do.") > > function q what > return quote & what & quote > end q > ======================================= > > Is there anyone who can translate this from geekSpeak to > normalHumanSpeak? > (sorry; I'm no programmer) Since I am a geek this is hard for me to do and I might fail, but my comments might help a little. It is possible to build a custom function as well as a custom command. Unlike a custom command a custom function can be used in an expression. This is because it generates or returns a value. Consider this in a button script: on mouseUp put next(5) end mouseUp function next x -- returns the number after x return x+1 end next This will put 6 into the message box. Just as the definition of the custom command "mouseUp" starts with 'on', the definition of the custom function "next" starts with 'function'. Just as the custom command "mouseUp" has a name, the function has a name. The function name is "next". It takes one parameter; it is named x. It returns a value. The return command takes an expression. In this case it is x+1. When next() is called it is passed the value 5, which becomes the value for x. This is added to 1 and returned. Thus the command in the mouseUp handler gets the value 6. This can be applied to the quoting function. In the example, q() is called with the value "I do." which becomes the value of the parameter named 'what'. The value of 'what': I do. The constant 'quote' is equivalent to a string containing a single double quote character. The value of the expression in the return command is this: "I do." Thus the answer command is equivalent to this: answer "She said, " & quote & "I do." & quote The line in the answer dialog box is this: She said, "I do." Since I am a geek, I am probably leaving out some crucial component for understanding this. I may have paid the cost to learn that component long ago and have forgotten what it takes to understand that. Dar Scott From csilverm at ryerson.ca Mon May 17 10:50:25 2004 From: csilverm at ryerson.ca (Charles Silverman) Date: Mon, 17 May 2004 10:50:25 -0400 Subject: open source and standalones In-Reply-To: <20040517012704.1B86F93018A@mail.runrev.com> References: <20040517012704.1B86F93018A@mail.runrev.com> Message-ID: <881724BC-A811-11D8-9BB3-000A95A0C562@ryerson.ca> Can a Revolution standalone be put out as open source given that the playback engine is not open source? The I've just (about) finished a Captioning and Descriptive Video editor for quicktime content and as part of our commitment we want to make this free to use and modify if desired. What kind of licensing works best if you want to user to have a Rev standalone? thanks, Charles Silverman Centre for Learning Technologies Ryerson University Toronto, Ontario Canada From jimlyons at earthlink.net Mon May 17 17:17:02 2004 From: jimlyons at earthlink.net (Jim Lyons) Date: Mon, 17 May 2004 17:17:02 -0400 Subject: Drawing a "Centered" Circle In-Reply-To: <20040517160019.2A4599301A5@mail.runrev.com> References: <20040517160019.2A4599301A5@mail.runrev.com> Message-ID: <8A223DE5-A847-11D8-A902-000A95893982@earthlink.net> Rob asked: > Has anyone given any thought or scripting time to exploring what it > would take to draw a circle that is centered over the loc of the > original mouseDown? Make an oval graphic and call it "circ", then put this into the card script: local centerPoint on mouseDown put the mouseLoc into centerPoint hide grc "circ" end mouseDown on mouseMove x,y if centerPoint is empty then exit mouseMove put sqrt((x-item 1 of centerPoint)^2 + (y-item 2 of centerPoint)^2) into radius set the width of grc "circ" to 2*radius set the height of grc "circ" to 2*radius show grc "circ" at centerPoint end mouseMove on mouseUp put empty into centerPoint end mouseUp You can modify as needed to show or hide the graphic when you want. HTH. Jim Lyons From dsc at swcp.com Mon May 17 17:21:57 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 17 May 2004 15:21:57 -0600 Subject: arrary item parsing within a function message pass In-Reply-To: <40A929E8.9040907@aol.com> Message-ID: <3A2F5760-A848-11D8-A787-000A9567A3E6@swcp.com> On Monday, May 17, 2004, at 03:08 PM, Zac Elston wrote: > value(Myfunction) returns the correct item but the script dies on that > item. Maybe you need this: value(myFunction&"()") If there is a chance the function might not exist, then you might need to wrap it in a 'try' structure. Maybe, like this: function applyNamedFun0 funName try get value(funName&"()") catch e get empty end try return it end applyNamedFun0 I may have missed the point; I don't see what this has to do with arrays. Dar Scott From revdan at danshafer.com Mon May 17 19:40:11 2004 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 17 May 2004 16:40:11 -0700 Subject: Rev no worky... In-Reply-To: References: Message-ID: <89880AB8-A85B-11D8-AE94-000A95AE42E6@danshafer.com> Judy..... Very often when this happens, what you'll find is that the script debug window is open, buried under a bunch of other windows, and waiting for you to dismiss it. I've had this happen so often that it's become second nature to me to make sure the debug window isn't open before I hit the panic button. Almost always, that's the problem. RR needs to do a better job of this. The script error dialog is blocking but not modal. Dan On May 17, 2004, at 2:05 PM, Judy Perry wrote: > Hi Chipp, > > Thanks. If it happens again, I'll try that. It seems to be working > again > now... it's the "let's kill your thesis project" goblins at work, no > doubt > ;-) > > Judy > > On Mon, 17 May 2004, Chipp Walters wrote: > >> Hi Judy, >> >> Did you try Command-. Sometimes that works. Also, try turning messages >> off and then back on. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Mon May 17 19:43:38 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 17 May 2004 18:43:38 -0500 Subject: Rev no worky... In-Reply-To: References: Message-ID: <40A94E2A.6050801@hyperactivesw.com> On 5/17/04 3:49 PM, Judy Perry wrote: > Aarrgghh!!! I get to a point in my stack and everything just stops -- > can't use the browse tool, can't use the edit-mode arrow tool... can't > QUIT rev... > > Any suggestions? This is SOOOOOO not what I need at this point. Should I > re-download Rev? Could it have gotten corrupted somehow? > > I have to exit by issuing a kill command from the terminal/console.. Sounds like Rev got into some kind of infinite loop. I've been hitting these periodically myself lately. If Cmd-period doesn't stop it (and it doesn't always) you can usually quit by option-clicking on the Rev icon in the dock. Hold down the mouse on the Rev icon, and when the menu appears, hold down the option key. That changes the "quit" menu item to "force quit". Usually you have to choose "force quit" twice; the first one isn't enough to kill it. You still lose all your work, but at least you don't have to launch terminal. Not much consolation, I know. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From robert1111 at starcenter.com Mon May 17 19:58:40 2004 From: robert1111 at starcenter.com (robert1111) Date: Mon, 17 May 2004 16:58:40 -0700 Subject: Calling external program? In-Reply-To: <20040517234234.AA1019301C4@mail.runrev.com> References: <20040517234234.AA1019301C4@mail.runrev.com> Message-ID: Hello, I have just begun to learn the Revolution language on a Windows 2000 platform. Does anyone know how to call an external program with Revolution? I have numerous math routines written in a DOS Forth program, and also in a Windows Forth program. How do I pass parameters to and from these programs? Thank you. Sincerely, Robert From sarahr at genesearch.com.au Mon May 17 20:21:10 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 18 May 2004 10:21:10 +1000 Subject: put awareness In-Reply-To: <001601c43aa6$ae9bba40$5085d80a@WorkPC> References: <00f101c43aa3$29be63c0$6601a8c0@precision340> <001601c43aa6$ae9bba40$5085d80a@WorkPC> Message-ID: <437699A7-A861-11D8-BBF1-0003937A97B8@genesearch.com.au> > Well, I'm using "libURLSetLogField" to handle the messages. I did > manage to > setup a idle handler that works pretty well, but I really do hate > using idle > messages. > Use send in time instead of idle e.g. on checkField -- see if your field has changed -- do stuff if it has send "checkField" to me in 5 ticks -- or whatever interval suits end checkField This is much better than idle as it doesn't hog the processor. Cheers, Sarah From ambassador at fourthworld.com Mon May 17 21:31:37 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 17 May 2004 21:31:37 -0400 Subject: Drawing a "Centered" Circle In-Reply-To: <8A223DE5-A847-11D8-A902-000A95893982@earthlink.net> References: <20040517160019.2A4599301A5@mail.runrev.com> <8A223DE5-A847-11D8-A902-000A95893982@earthlink.net> Message-ID: <40A96779.3000603@fourthworld.com> Rob asked: > > Has anyone given any thought or scripting time to exploring what it > would take to draw a circle that is centered over the loc of the > original mouseDown? The centered property may do what you need. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From dsc at swcp.com Mon May 17 21:37:42 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 17 May 2004 19:37:42 -0600 Subject: Calling external program? In-Reply-To: Message-ID: On Monday, May 17, 2004, at 05:58 PM, robert1111 wrote: > Does anyone know how to call an external program with Revolution? I > have numerous math routines written in a DOS Forth program, and also > in a Windows Forth program. How do I pass parameters to and from these > programs? If your programs take command-line args, then the shell() function might work for you. You can pass values by args and by files. If that does not work out, there might be other options what will apply. Dar Scott From ambassador at fourthworld.com Mon May 17 21:41:09 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 17 May 2004 21:41:09 -0400 Subject: open source and standalones In-Reply-To: <881724BC-A811-11D8-9BB3-000A95A0C562@ryerson.ca> References: <20040517012704.1B86F93018A@mail.runrev.com> <881724BC-A811-11D8-9BB3-000A95A0C562@ryerson.ca> Message-ID: <40A969B5.5020706@fourthworld.com> Charles Silverman wrote: > What kind of licensing works best if you want to user to have a Rev > standalone? I prefer LGPL or X11, or one of my own. For a summary of open source licenses: -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From erikhans08 at yahoo.com Mon May 17 21:55:10 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Mon, 17 May 2004 18:55:10 -0700 (PDT) Subject: link to site OR link to instant download? In-Reply-To: <008701c43b00$3643d370$6601a8c0@precision340> Message-ID: <20040518015510.51754.qmail@web61105.mail.yahoo.com> --- Dar Scott wrote: > I like being able to review > info before downloading and would like to > have some downloading details. > However, if the application that > starts the download provides > this info, that is OK with me. > I'm just one data point. --- Ken Ray wrote: > I actually do both at my site. You can click a > link to directly download, or > click another link to get more information. > Web Site: http://www.sonsothunder.com/ how about URLs in emails on the List? the email usually contains some information but i would like to go to the site first and mosey around. Erik Hansen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ From katir at hindu.org Tue May 18 00:53:20 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Mon, 17 May 2004 18:53:20 -1000 Subject: Transforming Unicode to simple text Message-ID: <48CE58C8-A887-11D8-8B73-000A959D0AC6@hindu.org> I'm struggling here with repurposing text out of Indesign back down to the 0-127 char set... I am a unicode, two-byte character baby (know about as much as will fit on a spoon) and could really use some help, and InDesign, Mac OSX and Rev all seem to be doing new things I can't get a grip on... In my XML output from Indesign, opened in BBEdit (a few words with 2 byte characters) looks like this: from InDesign on a raw import into a field looks like this: ?Who Am I? Where Did I Come From? ?loka 1 ?ishis proclaim ....Vedic ?ishis have given us courage by uttering the simple truth, ??God is the ?Life of our life.? A great sage carried it further by saying there is one thing God cannot do: ?God cannot separate Himself from us. This is be?cause God is our life. but imported into a field "input" in Rev i get: ???Who Am I? Where Did I Come From?????loka 1????ishis proclaim ..???bh?shya???We are immortal souls ..... by uttering the simple truth, ??????God is the ???Life of our life.??? A great sage carried it further by saying there is one thing God cannot do: ???God cannot separate Himself from us. This is be?cause etc. some wierd things like ????iva which in InDesign in the Setu script is "Siva" with a mark under the "S" so, now the old script I used to map ? to A ? to A ? to Ch ? to E etc are failing. also, and this is wierd... if I cut one of these strange words and then try to paste it elsewhere in the field, Rev will unexpectedly quit! if I then use something like "put the unidecode of fld "input" the result is total garbage in the msg box. If I use this: on MouseUp answer file "chose a file" put url ("file:" & it) into tUTF-8Input set the unicodeText of fld "input" to tUTF-8Input end mouseup it gets even worse: Rev goes into a tall-spin (beachball) for about two minutes (it's only a 104K file) and then fills the field with Osaka Japanese font,,, all on a single line. Oddly, if I just tell Indesign to export selected text... and it asks me what format: MacIntosh... no encoding... then I get clean output that I can manipulate anyway i want.... but I can't use InDesign's XML tagging for this and I need the mark up... and I don't find a preference for InDesign to let me export simple un-encoded text with XML tags... I'm stuck.. Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From capellan2000 at yahoo.com Tue May 18 03:15:24 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Tue, 18 May 2004 00:15:24 -0700 (PDT) Subject: [ANN] Analize Binary Files In-Reply-To: <20040517160019.5BDF29301A6@mail.runrev.com> Message-ID: <20040518071524.29563.qmail@web40511.mail.yahoo.com> on Mon, 17 May 2004 09:38:51 -0500 Ken Ray wrote: > This look interesting, Alejandro, but how do you use > it? The top half looks > somewhat straightforward (although the radio buttons > didn't seem to do > anything(?)), but I'm not sure about the bottom > half... Hi Ken, I'm glad that you find this file interesting. I'll keep adding code, as i need for my work. Look a new version of this utility: Feel free to make any addition that you feel will make this stack more useful. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ From frank at backtalk.com Tue May 18 05:59:07 2004 From: frank at backtalk.com (Frank Leahy) Date: Tue, 18 May 2004 10:59:07 +0100 Subject: RunRev on PocketPC? Message-ID: <00AD4777-A8B2-11D8-9382-000A9580FCCE@backtalk.com> Has anyone tried running Revolution on a PocketPC? If so, did it work? Thanks, -- Frank From nnoydb at excite.com Tue May 18 09:22:27 2004 From: nnoydb at excite.com (K) Date: Tue, 18 May 2004 09:22:27 -0400 (EDT) Subject: PID? Message-ID: <20040518132227.CFFA53D39@xprdmailfe4.nwk.excite.com> Is there a multiplatform compliant way to get a applciation/standalone process ID? -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From rcozens at pon.net Tue May 18 09:11:52 2004 From: rcozens at pon.net (Rob Cozens) Date: Tue, 18 May 2004 06:11:52 -0700 Subject: Drawing a "Centered" Circle In-Reply-To: <40A96779.3000603@fourthworld.com> References: <20040517160019.2A4599301A5@mail.runrev.com> <8A223DE5-A847-11D8-A902-000A95893982@earthlink.net> <40A96779.3000603@fourthworld.com> Message-ID: >The centered property may do what you need. Richard, Mr. X, and all who responded. Thanks for sharing your ideas with me. At first blush the centered property looks like the answer...and it would be if the _oval_ tool were a _circle_ tool. But I want the shape to remain circular, and even when centered, the oval tool allows a non circular shape. So I'll look through the other examples and take the best from each. Thank you all... BTW, this is for an Environmental Defense Fund project to foster community support for the establishment of protected marine areas off the coast of Northern California. I'll be reporting back on Run Rev's role in this project when it winds down next year. -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From johndixon at macmail.com Tue May 18 10:50:21 2004 From: johndixon at macmail.com (John Dixon) Date: Tue, 18 May 2004 15:50:21 +0100 Subject: Intermittent performance Message-ID: I have a field "theWord", into which letters are added. If a mistake is made upon entry, the user is able to delete the last character of the field by clicking on a button that contains the script found below... or by employing the option key at the same time the user can clear the whole field. The problem I have is that the first time the user clicks on the field, a character is deleted. The second time a user clicks on the field then there is no response, until the user clicks a third time. I must point out that the cursor does not leave the rect of the button during these clicks. on mouseUp if the optionKey is "down" then put empty into fld "theWord" exit mouseUp end if put the number of chars of fld "theWord" into charCount put char 1 to (charCount -1) of fld "theWord" into fld "theWord" end mouseUp Any ideas why it does not work everytime ? regards John Dixon From xbury.cs at clearstream.com Tue May 18 10:57:16 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 18 May 2004 16:57:16 +0200 Subject: PID? Message-ID: pslist \\server on Windoze... but you could rename it to fit unix or use Cigwin... ;) ---------------------=--------------------- Xavier Bury Clearstream Services TNS NT LAN Server ext 36465 Voice: +352 4656 43 6465 Fax: +352 4656 493 6465 "K" Sent by: use-revolution-bounces at lists.runrev.com 18.05.2004 15:22 Please respond to nnoydb To: use-revolution at runrev.com cc: Subject: PID? . Is there a multiplatform compliant way to get a applciation/standalone process ID? -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com 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 dsc at swcp.com Tue May 18 11:04:45 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 18 May 2004 09:04:45 -0600 Subject: Intermittent performance In-Reply-To: Message-ID: On Tuesday, May 18, 2004, at 08:50 AM, John Dixon wrote: > The problem I have is that the first time the user clicks on the > field, a > character is deleted. The second time a user clicks on the field then > there > is no response, until the user clicks a third time. There seems to be a maximum rate that you can click buttons. Does this happen when you click the button slowly? (I'm assuming "field" in the above description is a typo; if not, I'm confused.) Dar Scott From rcozens at pon.net Tue May 18 11:35:53 2004 From: rcozens at pon.net (Rob Cozens) Date: Tue, 18 May 2004 08:35:53 -0700 Subject: Intermittent performance In-Reply-To: References: Message-ID: >Any ideas why it does not work everytime ? Hi John, Dar's on target: I replicated your button and field, and could delete one char each mouseUp so long as I paused between clicks. I added this to the button's script and the problem went away: on mouseDoubleUp mouseUp end mouseDoubleUp BTW, you can eliminate a statement by: on mouseUp if the optionKey is "down" then put empty into fld "theWord" exit mouseUp end if delete char -1 of fld "theWord" end mouseUp -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From klaus at major-k.de Tue May 18 12:28:03 2004 From: klaus at major-k.de (Klaus Major) Date: Tue, 18 May 2004 18:28:03 +0200 Subject: Intermittent performance In-Reply-To: References: Message-ID: <55B4B8AC-A8E8-11D8-B44D-000A27B49A96@major-k.de> Hi John, > I have a field "theWord", into which letters are added. If a mistake > is made > upon entry, the user is able to delete the last character of the field > by > clicking on a button that contains the script found below... or by > employing > the option key at the same time the user can clear the whole field. > > The problem I have is that the first time the user clicks on the > field, a > character is deleted. The second time a user clicks on the field then > there > is no response, until the user clicks a third time. > > I must point out that the cursor does not leave the rect of the button > during these clicks. > > on mouseUp > if the optionKey is "down" then > put empty into fld "theWord" > exit mouseUp > end if > > put the number of chars of fld "theWord" into charCount > put char 1 to (charCount -1) of fld "theWord" into fld "theWord" > end mouseUp > > Any ideas why it does not work everytime ? I tried with this script (is a bit shorter, lazy moi :-) and it worked fine... Everytime and with a fast response! OK, "monkey-clicking" may drop one "mouseup" or two, but in general no probs.. on mouseUp if the optionKey is "down" then put empty into fld "theWord" else delete char -1 of fld "theWord" end if end mouseUp > regards > > John Dixon Regards Klaus Major klaus at major-k.de www.major-k.de From dsc at swcp.com Tue May 18 12:43:55 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 18 May 2004 10:43:55 -0600 Subject: Intermittent performance In-Reply-To: <55B4B8AC-A8E8-11D8-B44D-000A27B49A96@major-k.de> Message-ID: <8D7A5DC8-A8EA-11D8-AFC3-000A9567A3E6@swcp.com> On Tuesday, May 18, 2004, at 10:28 AM, Klaus Major wrote: > OK, "monkey-clicking" may drop one "mouseup" or two, but in general no > probs.. monkey-clicking? I have to remember that one. (I wonder what I have to throw away to find room.) Dar Scott From jperryl at ecs.fullerton.edu Tue May 18 13:45:23 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 18 May 2004 10:45:23 -0700 (PDT) Subject: Rev no worky... In-Reply-To: <89880AB8-A85B-11D8-AE94-000A95AE42E6@danshafer.com> Message-ID: Thank you, Dan & Jacque. Judy On Mon, 17 May 2004, Dan Shafer wrote: > Judy..... > > Very often when this happens, what you'll find is that the script debug > window is open, buried under a bunch of other windows, and waiting for > you to dismiss it. I've had this happen so often that it's become > second nature to me to make sure the debug window isn't open before I > hit the panic button. Almost always, that's the problem. > > RR needs to do a better job of this. The script error dialog is > blocking but not modal. From jperryl at ecs.fullerton.edu Tue May 18 14:22:29 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 18 May 2004 11:22:29 -0700 (PDT) Subject: Embedded Quotes Revisted In-Reply-To: <011001c43c4b$782d6070$6601a8c0@precision340> Message-ID: Ken, You suggested: answer "She said, " & quote & "I do." & quote Ohmigosh! That's very much going to work for me. Thank you so very much (and thank you, Dar, for the function tutorial... I'll try to read it for comprehension when I finish up my project. I'll probably wonder how I ever got about in the Rev world without functions!). Judy From chipp at chipp.com Tue May 18 14:26:29 2004 From: chipp at chipp.com (Chipp Walters) Date: Tue, 18 May 2004 13:26:29 -0500 Subject: RunRev on PocketPC? In-Reply-To: <00AD4777-A8B2-11D8-9382-000A9580FCCE@backtalk.com> References: <00AD4777-A8B2-11D8-9382-000A9580FCCE@backtalk.com> Message-ID: <40AA5555.3010104@chipp.com> Hi Frank, Yes, I tried a 'hello world' app on PPC a bit ago. No dice. Sorry. -Chipp Frank Leahy wrote: > Has anyone tried running Revolution on a PocketPC? If so, did it work? > > Thanks, > -- Frank > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jrvalent at wisc.edu Tue May 18 15:58:32 2004 From: jrvalent at wisc.edu (rand valentine) Date: Tue, 18 May 2004 14:58:32 -0500 Subject: uglification of tabbed buttons Message-ID: hi, all. i notice in my stacks that my tabbed buttons no longer look like nice tabs, but instead each looks like a thin, sectioned bar with a displaced drop shadow behind them, ie, they don't look like tabbed buttons anymore, though they still work okay. something crashed the proper gui for tabbed buttons. and when i create a new tabbed button, it has the same hideous appearance. is this a bug in 2.2? or did i wreck rev somehow? i'm using latest panther mac os x. thanks. rand valentine p.s. i sent this note previously from a different email address and it bounced. forgive me if you have had to read this twice. From sarahr at genesearch.com.au Tue May 18 20:42:25 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 19 May 2004 10:42:25 +1000 Subject: uglification of tabbed buttons In-Reply-To: References: Message-ID: <65FDDAD2-A92D-11D8-B7FF-0003937A97B8@genesearch.com.au> Welcome to Panther :-) This is the new look for tabbed buttons in Panther, you haven't done anything and there is no fix. Cheers, Sarah On 19 May 2004, at 6:00 am, rand valentine wrote: > hi, all. i notice in my stacks that my tabbed buttons no longer look > like > nice tabs, but instead each looks like a thin, sectioned bar with a > displaced drop shadow behind them, ie, they don't look like tabbed > buttons > anymore, though they still work okay. something crashed the proper gui > for > tabbed buttons. and when i create a new tabbed button, it has the same > hideous appearance. is this a bug in 2.2? or did i wreck rev somehow? > i'm > using latest panther mac os x. thanks. > > rand valentine From sarahr at genesearch.com.au Tue May 18 20:53:37 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 19 May 2004 10:53:37 +1000 Subject: How to ..Kiosk Application In-Reply-To: <644FFB5C-A1EB-11D8-AEEE-0030654C1E62@realtorsgroup.us> References: <644FFB5C-A1EB-11D8-AEEE-0030654C1E62@realtorsgroup.us> Message-ID: First off - there is basically very little difference between a kiosk app and any other. The main thing to keep in mind is that the buttons and list fields must be large enough to be operated with a finger instead of the more precise mouse. After that, you need to make sure the app takes up the full screen, doesn't show any menus and always stays at the front. The second issue deals with your actual program design. I am guessing we are talking about a networked system that transfers the orders automatically to the kitchen and to a billing system. You can use an SQL database for sure, but given the relatively low amount of data contained in a restaurant menu, I would think you could just use a stack as your data storage. The structure of the data needs to be considered before you do much about the interface. Once you have your data structure, then you need to write several different applications to use it: the kiosk module for customers to place orders, the editing module for the owner to change the menu and presumably some sort of display module for the kitchen staff as well as a billing module for when they actually need to pay for their meal. Each of these will need to connect to the menu data and each order will need to be stored, at least until it has been filled & paid for. This sounds like quite a complex exercise, but nothing in it is beyond the scope of Revolution, so work out what data you need and how to store it, then take one module at a time and make it work. After that start bringing them together and debugging the communications. Cheers, Sarah On 10 May 2004, at 5:05 am, hershrev wrote: > Hello every body , > I'd need some elaboration on how to build a Kiosk solution. (for a > touch screen. There was a discussion perviously on this topic but just > the start.) > The solution I'm targeting for is a take out (restaurant). A bit of > detail , the owner must be able to add categories and menu items or > delete. > The screen should have 3 columns, 1, categories i.e. main dish, side > dish , beverages, deserts and so on. > The 2nd column should display all detail menus of the selected > category of column 1, meaning , while category main dish is selected > it should display chicken, beef, duck and so on in column 2 and while > touching lets say the side dish it should display all side dishes. In > column 3 in a list field it should display the item and the price of > the selected item line by line as a list. > Now the question how do I build the screen to change the view as above > create new items etc.? How do structure the layouts the buttons > how do I build them and how do I save them and how do I attach the SQL > to them in a way it should be possible for a owner to do it without > help? > Thanks very much , every bit info helps. > hershrev From sarahr at genesearch.com.au Tue May 18 22:19:55 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 19 May 2004 12:19:55 +1000 Subject: Many thanks for the CGI Tutorial. SQL Tutorial anyone? In-Reply-To: References: Message-ID: <04B6C104-A93B-11D8-B7FF-0003937A97B8@genesearch.com.au> Hi Malte, It isn't actually a tutorial, but you might find my test stack helpful. Check out MySQLtests.rev.gz at http://www.troz.net/Rev/. If you use the entropy site for info on how to install MySQL on OS X, then my stack will introduce you to Rev's way of connecting and working with the data. Cheers, Sarah On 4 May 2004, at 9:19 pm, Malte Brill wrote: > Hi, > > first of all I want to say thank you for the brilliant CGI Tutorial. I > just > startet looking at it and find it very useful. I like to donate a few > Euros > if it is welcome. > Has anyone set up a "Working with Databases and Rev" Tutorial? I would > love > to see such a tutorial. Has any of the Gurus set one up or could do so? > > Best, > > Malte From sarahr at genesearch.com.au Tue May 18 22:26:36 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 19 May 2004 12:26:36 +1000 Subject: Getting environment settings on Mac In-Reply-To: <51176083.77ABA6E8.0018446D@aol.com> References: <51176083.77ABA6E8.0018446D@aol.com> Message-ID: It depends on your system, but basically, you can use AppleScript to get info from the System Profiler (which was called Apple System Profiler in older systems). With OS X Panther, this script gives the complete list: tell application "System Profiler" return the system profile end tell Once you get the result into Revolution, it is easy to extract the info you need. You may need to vary the script slightly if you are using another system. Cheers, Sarah On 7 May 2004, at 1:23 am, rgould8 at aol.com wrote: > Can anyone tell me if there's a reliable way to get any of the > following system variables on a Mac via Revolution? > > MHz speed of the processor > Amount of available memory (heapspace command docs say it's not really > a true value) > Amount of free hard-drive space > Whether or not an Ethernet card is available (that's true for just > about all Macs isn't it?) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From shaosean at unitz.ca Tue May 18 23:31:25 2004 From: shaosean at unitz.ca (shaosean at unitz.ca) Date: Tue, 18 May 2004 23:31:25 -0400 Subject: problems with "send" and macosx .3.3 In-Reply-To: References: <0018A6CB-A490-11D8-B113-000A95CFD918@mac.com> <40A3C562.6050005@hyperactivesw.com> Message-ID: i'm developing a program in runrev 2.1 on macosx .3.3 (aka panther) and have noticed something weird when using the send command.. i have a multi-user network-enabled intranet program, and during the testing of the login/password everything went smoothly until i decided to use someone else's login/password combo.. all the information is being sent from the client to the server and is completely intact before the "send" command (the actually send command is being sent with the "do" command do to the complexity of it).. if i change "do" to "answer" the proper information is there, but in the receiving handler the "answer" states "false".. the receiving handler correctly "answer"s my login/password info, and it works fine when everyone else's password is the same as mine.. if the passwords are changed, it stops working.. now the really weird part to all of this is the fact that my password in the runrev app is base64 encoded and is the same as my macosx login password.. and!! if i include my password anywhere in the data being sent for the login/password (ie.. as a dummy parameter) all the other accounts work.. anyone else see this on macosx? i'll need to burn a copy and try it on my windows machines at home.. -Sean From jperryl at ecs.fullerton.edu Tue May 18 23:31:31 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 18 May 2004 20:31:31 -0700 (PDT) Subject: Odd Error Message In-Reply-To: Message-ID: Hi, This same error message comes up rather alot: executing at 8:28:53 PM Type selectedChunk: error in button or field expression Object Mouse Messages Line put the selectedText of me into theChoice -- allows Rev to determine which item has been selected. Hint stack "Mouse Messages" of stack "/Users/judy/Documents/MSIDT_Final/FinalProjectGraphics/RevTour.rev" (a) Does something look extremely wrong with the offending line? (b) Why is this coming up on a completely different card in which this script does not reside? (it comes up on various cards at various times). Am I losing my mind? Judy From wouter.abraham at pi.be Wed May 19 04:50:30 2004 From: wouter.abraham at pi.be (Wouter) Date: Wed, 19 May 2004 10:50:30 +0200 Subject: uglification of tabbed buttons Message-ID: <954723DE-A971-11D8-A029-003065CC999E@pi.be> > Sarah Reichelt sarahr at genesearch.com.au > Wed May 19 11:42:25 EDT 2004 > > Welcome to Panther :-) > This is the new look for tabbed buttons in Panther, you haven't done > anything and there is no fix. > You always can turn your own and in whatever direction you want. That's the nice part of rev/mc > Cheers, > Sarah > > On 19 May 2004, at 6:00 am, rand valentine wrote: > > > hi, all. i notice in my stacks that my tabbed buttons no longer look > > like > > nice tabs, but instead each looks like a thin, sectioned bar with a > > displaced drop shadow behind them, ie, they don't look like tabbed > > buttons > > anymore, though they still work okay. something crashed the proper > gui > > for > > tabbed buttons. and when i create a new tabbed button, it has the > same > > hideous appearance. is this a bug in 2.2? or did i wreck rev somehow? > > i'm > > using latest panther mac os x. thanks. > > > > rand valentine > > Greetings, WA From psahores at easynet.fr Wed May 19 05:09:23 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Wed, 19 May 2004 11:09:23 +0200 Subject: problems with "send" and macosx .3.3 In-Reply-To: References: <0018A6CB-A490-11D8-B113-000A95CFD918@mac.com> <40A3C562.6050005@hyperactivesw.com> Message-ID: <385C0894-A974-11D8-A5DB-000A95C61E96@easynet.fr> Hello Shao, I'm not sure to understand the way you are using to send the login/password messages from each client-side app to the server-side app... POST, GET, under HTTP ? Could you, please, explain a little more how this process is handled ? I use POST/HTTP to manage such kind of stuffs under MC 2.5/Linux and Rev 2.1.2/OSX 3.3 and all works as expected. Best Regards, Pierre Le 19 mai 04, ? 05:31, shaosean at unitz.ca a ?crit : > i'm developing a program in runrev 2.1 on macosx .3.3 (aka panther) and > have noticed something weird when using the send command.. > > i have a multi-user network-enabled intranet program, and during the > testing of the login/password everything went smoothly until i decided > to use someone else's login/password combo.. > > all the information is being sent from the client to the server and is > completely intact before the "send" command (the actually send command > is being sent with the "do" command do to the complexity of it).. if i > change "do" to "answer" the proper information is there, but in the > receiving handler the "answer" states "false".. > > the receiving handler correctly "answer"s my login/password info, and > it > works fine when everyone else's password is the same as mine.. if the > passwords are changed, it stops working.. > > now the really weird part to all of this is the fact that my password > in > the runrev app is base64 encoded and is the same as my macosx login > password.. and!! if i include my password anywhere in the data being > sent for the login/password (ie.. as a dummy parameter) all the other > accounts work.. > > anyone else see this on macosx? i'll need to burn a copy and try it > on > my windows machines at home.. > > -Sean > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From FlexibleLearning at aol.com Wed May 19 06:18:17 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Wed, 19 May 2004 06:18:17 EDT Subject: Trying to contact Message-ID: <154.3582009f.2ddc8e69@aol.com> ...::: All Points Bulletin :::... Does ANYONE have Wayne Townsend's email address or know how I could get in touch with him? Definately a blast from the past, for those of you who go back that far! Used to be @topher.net Please contact me off-list at h at FlexibleLearning.com if you can help at all. Many thanks /H From janschenkel at yahoo.com Wed May 19 06:29:32 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 19 May 2004 03:29:32 -0700 (PDT) Subject: uglification of tabbed buttons In-Reply-To: Message-ID: <20040519102932.32944.qmail@web60502.mail.yahoo.com> --- rand valentine wrote: > hi, all. i notice in my stacks that my tabbed > buttons no longer look like > nice tabs, but instead each looks like a thin, > sectioned bar with a > displaced drop shadow behind them, ie, they don't > look like tabbed buttons > anymore, though they still work okay. something > crashed the proper gui for > tabbed buttons. and when i create a new tabbed > button, it has the same > hideous appearance. is this a bug in 2.2? or did i > wreck rev somehow? i'm > using latest panther mac os x. thanks. > > rand valentine > Hi Rand, If it looks like the tabs you see in the System Preferences, then it's the new 'Panther' look for tabs ; if it doesn't look like that, could you post a screenshot somewhere on the web ? Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ From janschenkel at yahoo.com Wed May 19 07:14:31 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 19 May 2004 04:14:31 -0700 (PDT) Subject: Many thanks for the CGI Tutorial. SQL Tutorial anyone? In-Reply-To: <04B6C104-A93B-11D8-B7FF-0003937A97B8@genesearch.com.au> Message-ID: <20040519111431.28853.qmail@web60509.mail.yahoo.com> --- Sarah Reichelt wrote: > Hi Malte, > It isn't actually a tutorial, but you might find my > test stack helpful. > Check out MySQLtests.rev.gz at > http://www.troz.net/Rev/. If you use the > entropy site for info on how to install MySQL on OS > X, then my stack > will introduce you to Rev's way of connecting and > working with the > data. > > Cheers, > Sarah > And for those looking for an SQL tutorial in general, I've pulled a file from my archives (that Geoff Canyon used to host at his wiki) and put it up on our company website : Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ From gregory.lypny at videotron.ca Wed May 19 09:02:05 2004 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 19 May 2004 09:02:05 -0400 Subject: On the Cost of "Revolution: Software at the Speed of Thought" Message-ID: Hello everyone, Just wanted to confirm that the cost of Mr. Shafer's book, "Revolution: Software at the Speed of Thought", offered through Runtime's web site, is in fact US $97. If this is correct, it seems exorbitant considering that most computer self-help books in hard copy typically sell for not more than $25 here in the land of maple syrup, hockey and Blue Rodeo. Not to denigrate Mr. Shafer's good work, as I owned his older books on HyperCard and AppleScript, but it seems that a six-fold increase in price for something that is available only in an electronic version is pushing it. Greg Associate Professor of Finance John Molson School of Business Concordia University Montreal, Quebec Canada From dsc at swcp.com Wed May 19 11:51:32 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 19 May 2004 09:51:32 -0600 Subject: Odd Error Message In-Reply-To: Message-ID: <66AD1DB5-A9AC-11D8-9F3E-000A9567A3E6@swcp.com> On Tuesday, May 18, 2004, at 09:31 PM, Judy Perry wrote: > This same error message comes up rather alot: > > executing at 8:28:53 PM > Type selectedChunk: error in button or field expression > Object Mouse Messages > Line put the selectedText of me into theChoice -- allows Rev to > determine which item has been selected. > Hint stack "Mouse Messages" of stack > "/Users/judy/Documents/MSIDT_Final/FinalProjectGraphics/RevTour.rev" > > (a) Does something look extremely wrong with the offending line? I'm not sure if I'm reading this right, but it seems to me that the offending line is in the script of a stack named "Mouse Messages", either the main stack or a substack of the the main stack in file "RevTour.rev". I don't think a stack has the property "the selectedText". Perhaps you mean "the target" instead of "me". > (b) Why is this coming up on a completely different card in which this > script does not reside? (it comes up on various cards at various > times). If this script is indeed that of a stack, then there are several ways. This can happen if the stack was set up as a front script, back script, or library using 'insert' or 'start using'. This normally happens if the card is part of the stack with the script. The mainstack of the stack (if it is a substack) is also in the message path. > Am I losing my mind? I cannot judge. Perhaps, you have put the script with indicated line in stack scripts and in card scripts. Dar Scott From dsc at swcp.com Wed May 19 11:58:05 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 19 May 2004 09:58:05 -0600 Subject: problems with "send" and macosx .3.3 In-Reply-To: Message-ID: <50BDF89D-A9AD-11D8-9F3E-000A9567A3E6@swcp.com> On Tuesday, May 18, 2004, at 09:31 PM, shaosean at unitz.ca wrote: > now the really weird part to all of this is the fact that my password > in > the runrev app is base64 encoded and is the same as my macosx login > password.. and!! if i include my password anywhere in the data being > sent for the login/password (ie.. as a dummy parameter) all the other > accounts work.. Could you have left in some temporary script lines to do a quick password check? Dar Scott From sims at ezpzapps.com Wed May 19 12:13:13 2004 From: sims at ezpzapps.com (sims) Date: Wed, 19 May 2004 18:13:13 +0200 Subject: European Rev Conference,14-15-16 November 2004 Message-ID: European Revolution Conference 14-15-16 November 2004 Malta We have rescheduled and greatly expanded the European Revolution Conference to be held 14-15-16 November 2004 in Valletta, Malta The November 2004 EuroRevCon Features... * Kevin Miller, Rev CEO Keynote Sunday evening and daily discussions * Two full days of Rev presentations and discussions by expert Rev developers: Malte Brill Richard Gaskin Klaus Major Frederic Rinaldi Jan Schenkel * Special pricing on Dan Shafer's book Revolution: Software at the Speed of Thought * CDs loaded with Rev examples and tools offered to all attendees * Special Rev License pricing for attendees Revolution Express will be offered for just $99 (retail price $149) Revolution Studio will be offered for $299 (retail price $399) More information is available online at: http://techietours.com/Rev/ Those who wish to extend their learning holiday in sunny Malta are also offered two additional events which take place before and after the European Revolution Conference. Want to know more? Please get in touch... email: rev at TechieTours.com iChat: techietours Kind regards, Jim Sims Techie Tours -- Tech Conferences http://TechieTours.com We make... iBirthday http://EZPZapps.com/iB SmartDog http://EZPZapps.com/SmartDog Kartolina http://EZPZapps.com/kartolina From dsc at swcp.com Wed May 19 12:06:01 2004 From: dsc at swcp.com (Dar Scott) Date: Wed, 19 May 2004 10:06:01 -0600 Subject: problems with "send" and macosx .3.3 In-Reply-To: Message-ID: <6C8C742A-A9AE-11D8-9F3E-000A9567A3E6@swcp.com> On Tuesday, May 18, 2004, at 09:31 PM, shaosean at unitz.ca wrote: > all the information is being sent from the client to the server and is > completely intact before the "send" command (the actually send command > is being sent with the "do" command do to the complexity of it).. If it works, it works, but... Are you talking about the Transcript command, 'send'? If so, it need not be complex. The command parameter may be a variable. The object parameter may be a variable specifying the object (such as the long id). The command parameter, whether a literal in the send command or the value of a variable, need not be complex either. The command in the command parameter may take variables as parameters. I find this very handy in handling quotes. Dar Scott From revdan at danshafer.com Wed May 19 12:35:54 2004 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 19 May 2004 09:35:54 -0700 Subject: On the Cost of "Revolution: Software at the Speed of Thought" In-Reply-To: References: Message-ID: <98EAA690-A9B2-11D8-9A3B-000A95AE42E6@danshafer.com> Greg.... You are not correct but it is not necessarily surprising that you aren't! We offer so many options. Here's the real scoop. The *printed* books used to be $47 but Kevin and I recently announced a price reduction to $37. The *eBooks* are only available in a bundle that includes all three of the eBooks and one of three levels of an annual membership in my online community called RevolutionPros, where there is a discussion board, access to me for questions and help, and other goodies. The three levels of membership are $97, $147 and $197. Those who pay the highest fee get a bunch of goodies the others don't get. Frankly, at $47 I thought the printed book was a good value and a lot of folks agreed. But when we decided mutually to slow down progress on the book project to allow RunRev to focus its resources on product development while we look for a third-party publisher to pick up the printing and distribution and order fulfillment stuff, we thought it would be a nice gesture to lower the price of Volume 1 in the process. HTH Dan On May 19, 2004, at 6:02 AM, Gregory Lypny wrote: > Hello everyone, > > Just wanted to confirm that the cost of Mr. Shafer's book, > "Revolution: Software at the Speed of Thought", offered through > Runtime's web site, is in fact US $97. If this is correct, it seems > exorbitant considering that most computer self-help books in hard copy > typically sell for not more than $25 here in the land of maple syrup, > hockey and Blue Rodeo. Not to denigrate Mr. Shafer's good work, as I > owned his older books on HyperCard and AppleScript, but it seems that > a six-fold increase in price for something that is available only in > an electronic version is pushing it. > > Greg > > Associate Professor of Finance > John Molson School of Business > Concordia University > Montreal, Quebec > Canada > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From randvalentine at mac.com Tue May 18 15:51:33 2004 From: randvalentine at mac.com (rand valentine) Date: Tue, 18 May 2004 14:51:33 -0500 Subject: ugly tabbed buttons Message-ID: hi, all. i notice in my stacks that my tabbed buttons no longer look like nice tabs, but instead look like a thin, sectioned bar with a displaced drop shadow behind them, ie, they don't look like tabbed buttons anymore, though they still work okay. something crashed the proper gui for tabbed buttons. and when i create a new tabbed button, it has the same hideous appearance. is this a bug in 2.2? or did i wreck rev somehow? i'm using latest panther mac os x. thanks. rand valentine From webmaster at dreamscapesoftware.com Wed May 19 13:23:56 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Wed, 19 May 2004 19:23:56 +0200 Subject: Maximize Window Message-ID: <005d01c43dc6$1b40b160$6ff2d80a@WorkPC> Is there a command that I can use to maximize a window to the full screen? Something other than "set the rect of..." I thought it was the following, but it doesn't work. on mouseUp maximize this stack end mouseUp Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress 1.2 http://www.dreamscapesoftware.com From jperryl at ecs.fullerton.edu Wed May 19 13:39:48 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 19 May 2004 10:39:48 -0700 (PDT) Subject: Odd Error Message In-Reply-To: <66AD1DB5-A9AC-11D8-9F3E-000A9567A3E6@swcp.com> Message-ID: Yikkees! That's exactly what happened. How the *&)@! did that happen? (Okay, obviously, I *meant* that to be a button script -- even I'm not THAT stupid, but now that I think about it, I recall writing this script, wanting to make a change to it, going to the button script and.. voila! no script! I snorted around looking for the script I knew I had just typed but of course didn't think to look in the stack script because that just would have been too obviously stupid). Thumping head with noodle... Judy From jperryl at ecs.fullerton.edu Wed May 19 13:40:59 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 19 May 2004 10:40:59 -0700 (PDT) Subject: ugly tabbed buttons In-Reply-To: Message-ID: Didn't you or someone else just post this very issue a day or so ago? I think Sarah or somebody said that them's the breaks in Panther, but I'm running Panther, and I've not noticed things looking what I'd call "ugly"... Judy On Tue, 18 May 2004, rand valentine wrote: > hi, all. i notice in my stacks that my tabbed buttons no longer look like > nice tabs, but instead look like a thin, sectioned bar with a displaced drop > shadow behind them, ie, they don't look like tabbed buttons anymore, though > they still work okay. something crashed the proper gui for tabbed buttons. > and when i create a new tabbed button, it has the same hideous appearance. > is this a bug in 2.2? or did i wreck rev somehow? i'm using latest panther > mac os x. thanks. From jrvalent at wisc.edu Wed May 19 14:06:04 2004 From: jrvalent at wisc.edu (rand valentine) Date: Wed, 19 May 2004 13:06:04 -0500 Subject: use-revolution Digest, Vol 8, Issue 31 In-Reply-To: <20040519160028.551909300B6@mail.runrev.com> Message-ID: > Welcome to Panther :-) > This is the new look for tabbed buttons in Panther, you haven't done > anything and there is no fix. > > Cheers, > Sarah Oy, these tabs are so ugly compared to the pre-panther tabs )-:. But thanks to all you dear gurus who took the time to reply to my question, that is clearly the "problem." rand From rcozens at pon.net Wed May 19 14:23:35 2004 From: rcozens at pon.net (Rob Cozens) Date: Wed, 19 May 2004 11:23:35 -0700 Subject: Maximize Window In-Reply-To: <005d01c43dc6$1b40b160$6ff2d80a@WorkPC> References: <005d01c43dc6$1b40b160$6ff2d80a@WorkPC> Message-ID: >Is there a command that I can use to maximize a window to the full screen? Hi Derek, According to Rev Dictionary, "maximize" is a keyword relating to a window's decorations property. So if you don't want to set the rect of this stack to the screenRect or set the rect of this stack to the windowBoundingRect, you might try lock screen revChangeWindowSize [the screen width,the screen height] set the loc of this stack to the screenLoc unlock screen; but Rev Dictionary uses "set the rect of this stack to the screenRect" as an example. -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From davis.phil at comcast.net Wed May 19 14:56:43 2004 From: davis.phil at comcast.net (Phil Davis) Date: Wed, 19 May 2004 11:56:43 -0700 Subject: Maximize Window References: <005d01c43dc6$1b40b160$6ff2d80a@WorkPC> Message-ID: <000b01c43dd3$07914050$9d7ba8c0@RON7XP> I think you're looking for the 'iconic' stack property: set the iconic of this stack to [true|false] The setting of this stack property fires the 'iconifyStack' or 'unIconifyStack' message, so you can do stuff at those times. HTH Phil Davis ----- Original Message ----- From: "Rob Cozens" To: "How to use Revolution" Sent: Wednesday, May 19, 2004 11:23 AM Subject: Re: Maximize Window > >Is there a command that I can use to maximize a window to the full screen? > > Hi Derek, > > According to Rev Dictionary, "maximize" is a keyword relating to a > window's decorations property. > > So if you don't want to > > set the rect of this stack to the screenRect > > or > > set the rect of this stack to the windowBoundingRect, > > you might try > > lock screen > revChangeWindowSize [the screen width,the screen height] > set the loc of this stack to the screenLoc > unlock screen; > > but Rev Dictionary uses "set the rect of this stack to the > screenRect" as an example. > -- > > Rob Cozens > CCW, Serendipity Software Company > > "And I, which was two fooles, do so grow three; > Who are a little wise, the best fooles bee." > > from "The Triple Foole" by John Donne (1572-1631) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From davis.phil at comcast.net Wed May 19 15:00:01 2004 From: davis.phil at comcast.net (Phil Davis) Date: Wed, 19 May 2004 12:00:01 -0700 Subject: Maximize Window References: <005d01c43dc6$1b40b160$6ff2d80a@WorkPC> Message-ID: <001501c43dd3$7d9e0bc0$9d7ba8c0@RON7XP> Upon re-reading what you wrote, I realize you're probably NOT looking for 'iconic'. Oh well. My bad. Phil ----- Original Message ----- From: "Rob Cozens" To: "How to use Revolution" Sent: Wednesday, May 19, 2004 11:23 AM Subject: Re: Maximize Window > >Is there a command that I can use to maximize a window to the full screen? > > Hi Derek, > > According to Rev Dictionary, "maximize" is a keyword relating to a > window's decorations property. > > So if you don't want to > > set the rect of this stack to the screenRect > > or > > set the rect of this stack to the windowBoundingRect, > > you might try > > lock screen > revChangeWindowSize [the screen width,the screen height] > set the loc of this stack to the screenLoc > unlock screen; > > but Rev Dictionary uses "set the rect of this stack to the > screenRect" as an example. > -- > > Rob Cozens > CCW, Serendipity Software Company > > "And I, which was two fooles, do so grow three; > Who are a little wise, the best fooles bee." > > from "The Triple Foole" by John Donne (1572-1631) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From capellan2000 at yahoo.com Wed May 19 15:46:41 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Wed, 19 May 2004 12:46:41 -0700 (PDT) Subject: On the Cost of "Revolution: Software at the Speed of Thought" In-Reply-To: <20040519160028.B105D9300C6@mail.runrev.com> Message-ID: <20040519194641.45245.qmail@web40508.mail.yahoo.com> on Wed, 19 May 2004 Gregory Lypny wrote: > Just wanted to confirm that the cost of Mr. Shafer's > book, "Revolution: > Software at the Speed of Thought", offered through > Runtime's web site, > is in fact US $97. If this is correct, it seems > exorbitant considering > that most computer self-help books in hard copy > typically sell for not > more than $25 here in the land of maple syrup, > hockey and Blue Rodeo. > Not to denigrate Mr. Shafer's good work, as I owned > his older books on > HyperCard and AppleScript, but it seems that a > six-fold increase in > price for something that is available only in an > electronic version is > pushing it. Hi Gregory, I paid exactly $25.00 for each e-book. I buy the first offer announced in this list. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ From johndixon at macmail.com Wed May 19 15:36:21 2004 From: johndixon at macmail.com (John Dixon) Date: Wed, 19 May 2004 20:36:21 +0100 Subject: Intermittent Performance Message-ID: I have a field "theWord", into which letters are added. If a mistake is made upon entry, the user is able to delete the last character of the field by clicking on a button that contains the script found below... or by employing the option key at the same time the user can clear the whole field. The problem I have is that the first time I click on the button, a character is deleted, but the second time I click on the button then there is no response, until I click for a third time. I must point out that the cursor does not leave the rect of the button during these clicks. on mouseUp if the optionKey is "down" then put empty into fld "theWord" exit mouseUp end if put the number of chars of fld "theWord" into charCount put char 1 to (charCount -1) of fld "theWord" into fld "theWord" end mouseUp Any ideas why it does not work everytime ? regards John Dixon From jperryl at ecs.fullerton.edu Wed May 19 16:13:46 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 19 May 2004 13:13:46 -0700 (PDT) Subject: On the Cost of "Revolution: Software at the Speed of Thought" In-Reply-To: Message-ID: Greg, While I'm not happy that I've paid $97 for an additional two volumes that it's not clear when I'm going to see them, still, it should be noted that it's $97 for THREE books/volumes, which gets us back close to that $25 figure you quoted. Judy On Wed, 19 May 2004, Gregory Lypny wrote: > Hello everyone, > > Just wanted to confirm that the cost of Mr. Shafer's book, "Revolution: > Software at the Speed of Thought", offered through Runtime's web site, > is in fact US $97. If this is correct, it seems exorbitant considering > that most computer self-help books in hard copy typically sell for not > more than $25 here in the land of maple syrup, hockey and Blue Rodeo. > Not to denigrate Mr. Shafer's good work, as I owned his older books on > HyperCard and AppleScript, but it seems that a six-fold increase in > price for something that is available only in an electronic version is > pushing it. From paul.springer at sensis.com Wed May 19 16:20:03 2004 From: paul.springer at sensis.com (Springer, Paul) Date: Wed, 19 May 2004 16:20:03 -0400 Subject: terminate script from keyboard Message-ID: Can anyone tell me if it's possible to terminate a runaway script from the keyboard without killing the whole RR app? I seem to remember someone mentioning a key combination for that but I can't find it in the documentation. I am running on Windows. -Paul From revlists at canelasoftware.com Wed May 19 16:22:16 2004 From: revlists at canelasoftware.com (Mark Talluto) Date: Wed, 19 May 2004 13:22:16 -0700 Subject: Intermittent Performance In-Reply-To: References: Message-ID: <38A1D9F2-A9D2-11D8-91BD-000393C3F5BC@canelasoftware.com> On May 19, 2004, at 12:36 PM, John Dixon wrote: > I have a field "theWord", into which letters are added. If a mistake > is made > upon entry, the user is able to delete the last character of the > field by > clicking on a button that contains the script found below... or by > employing > the option key at the same time the user can clear the whole field. > > The problem I have is that the first time I click on the button, a > character is deleted, but the second time I click on the button then > there > is no response, until I click for a third time. > > I must point out that the cursor does not leave the rect of the button > during these clicks. > > > > on mouseUp > if the optionKey is "down" then > put empty into fld "theWord" > exit mouseUp > end if > > put the number of chars of fld "theWord" into charCount > put char 1 to (charCount -1) of fld "theWord" into fld "theWord" > end mouseUp > Hi John, Sounds like you are clicking too fast. If you would like the user to be able to click faster then now, you should look up "doubleclickinterval" in the TS dictionary. When I tested your script, if I clicked the button slowly (every few seconds) it worked just fine. You may also simplify your script by exchanging the last two put lines with: delete the last char of field "theWord" -- Best regards, Mark Talluto http://www.canelasoftware.com From revlists at canelasoftware.com Wed May 19 16:24:24 2004 From: revlists at canelasoftware.com (Mark Talluto) Date: Wed, 19 May 2004 13:24:24 -0700 Subject: terminate script from keyboard In-Reply-To: References: Message-ID: <851817FF-A9D2-11D8-91BD-000393C3F5BC@canelasoftware.com> On May 19, 2004, at 1:20 PM, Springer, Paul wrote: > Can anyone tell me if it's possible to terminate a runaway script from > the > keyboard without killing the whole RR app? I seem to remember someone > mentioning a key combination for that but I can't find it in the > documentation. I am running on Windows. > > Hi Paul, On Mac you use Command - period. You might try that on your PC. Maybe Rev uses the break key if not. Something to try at least. -- Best regards, Mark Talluto http://www.canelasoftware.com From yoy at comcast.net Wed May 19 16:48:18 2004 From: yoy at comcast.net (Andy Burns) Date: Wed, 19 May 2004 16:48:18 -0400 Subject: terminate script from keyboard References: Message-ID: <000401c43de2$b717f3c0$35d45144@fatal> ----- Original Message ----- From: "Springer, Paul" To: "How to use Revolution" Sent: Wednesday, May 19, 2004 4:20 PM Subject: terminate script from keyboard > Can anyone tell me if it's possible to terminate a runaway script from the > keyboard without killing the whole RR app? I seem to remember someone > mentioning a key combination for that but I can't find it in the > documentation. I am running on Windows. > > > > -Paul Paul, In the place in the repeat loop in your script you might think about inserting an if statement such as: If the mouse is down exit "your script name" end if That is if you don't absolutely have to exit a script by key-control. Andy Burns From jacque at hyperactivesw.com Wed May 19 18:35:20 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 May 2004 17:35:20 -0500 Subject: Palette redraw problem Message-ID: <40ABE128.2070807@hyperactivesw.com> Before I bugzilla this, I wanted to check to see if anyone else has hit this snag and whether there is a work-around for it. I have stack that opens a tool palete. I want the palette to disappear when the stack is not frontmost, and reappear when it is. I scripted a suspendStack handler and a resumeStack handler to manage this: on suspendStack hide palette "myPalette" end suspendStack on resumeStack show palette "myPalette" end resumeStack This works exactly every other time the stack is suspended; that is, the first time it hides, the second time it doesn't. In addition, the times when the palette is reshown, it is not redrawn and appears on screen as a plain white rectangle with no contents. "Go this card of stack myPalette" from the message box will force a redraw and the contents appear. Sometimes the engine seems to forget what the stack status is. When the palette appears to be empty and all white, the message box says it is hidden. However, "show palette mypalette" in this case does not work and there is no change to the stack's appearance. Neither does "hide palette mypalette". The engine seems to completely forget the palette stack exists. There are no reported errors. I have tried closing the palette rather than hiding it; no difference. I have put blocking scripts for all system messages in the palette stack; no difference. I have locked messages before hiding or showing the stack; no difference. I have added a check in each handler to make sure the target of the suspend and resume messages is the primary stack; no difference. Ideas? Workarounds till this gets fixed? Has anyone seen this before? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From doug at webcrossing.com Wed May 19 19:14:17 2004 From: doug at webcrossing.com (Doug Lerner) Date: Thu, 20 May 2004 08:14:17 +0900 Subject: QuickTime capabilities question Message-ID: Can Revolution play multiple QuickTime clips simultaneously? Can you set audio volume separately for each clip? Thanks, doug From davis.phil at comcast.net Wed May 19 19:18:40 2004 From: davis.phil at comcast.net (Phil Davis) Date: Wed, 19 May 2004 16:18:40 -0700 Subject: Palette redraw problem References: <40ABE128.2070807@hyperactivesw.com> Message-ID: <000d01c43df7$9fc2b290$9d7ba8c0@RON7XP> Did you try locking & unlocking the screen to force a screen refresh? That's one workaround idea. Phil Davis ----- Original Message ----- From: "J. Landman Gay" To: "Revolution Mailing List" Sent: Wednesday, May 19, 2004 3:35 PM Subject: Palette redraw problem > Before I bugzilla this, I wanted to check to see if anyone else has hit > this snag and whether there is a work-around for it. > > I have stack that opens a tool palete. I want the palette to disappear > when the stack is not frontmost, and reappear when it is. I scripted a > suspendStack handler and a resumeStack handler to manage this: > > on suspendStack > hide palette "myPalette" > end suspendStack > > on resumeStack > show palette "myPalette" > end resumeStack > > This works exactly every other time the stack is suspended; that is, the > first time it hides, the second time it doesn't. In addition, the times > when the palette is reshown, it is not redrawn and appears on screen as > a plain white rectangle with no contents. "Go this card of stack > myPalette" from the message box will force a redraw and the contents appear. > > Sometimes the engine seems to forget what the stack status is. When the > palette appears to be empty and all white, the message box says it is > hidden. However, "show palette mypalette" in this case does not work and > there is no change to the stack's appearance. Neither does "hide palette > mypalette". The engine seems to completely forget the palette stack > exists. There are no reported errors. > > I have tried closing the palette rather than hiding it; no difference. I > have put blocking scripts for all system messages in the palette stack; > no difference. I have locked messages before hiding or showing the > stack; no difference. I have added a check in each handler to make sure > the target of the suspend and resume messages is the primary stack; no > difference. > > Ideas? Workarounds till this gets fixed? Has anyone seen this before? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Wed May 19 19:36:32 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 19 May 2004 16:36:32 -0700 Subject: Palette redraw problem In-Reply-To: <40ABE128.2070807@hyperactivesw.com> Message-ID: Recently, "J. Landman Gay" wrote: > I have stack that opens a tool palete. I want the palette to disappear > when the stack is not frontmost, and reappear when it is. I scripted a > suspendStack handler and a resumeStack handler to manage this: > > on suspendStack > hide palette "myPalette" > end suspendStack > > on resumeStack > show palette "myPalette" > end resumeStack > > This works exactly every other time the stack is suspended; that is, the > first time it hides, the second time it doesn't. In addition, the times > when the palette is reshown, it is not redrawn and appears on screen as > a plain white rectangle with no contents. "Go this card of stack > myPalette" from the message box will force a redraw and the contents appear. So far, I can confirm the above behavior on Mac OSX. I don't know if this is an acceptable workaround but have you tried setting the palette's loc offscreen? local origBR on suspendStack put bottomRight of stack pal into origBR set bottomRight of stack pal to 0,0 end suspendStack on resumeStack set bottomRight of stack pal to origBR end resumeStack I used this and it seems to work, but I don't know if this is the behavior you want (you can't click on the palette or it disappears). Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From erikhans08 at yahoo.com Wed May 19 19:52:21 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Wed, 19 May 2004 16:52:21 -0700 (PDT) Subject: terminate script from keyboard In-Reply-To: <000401c43de2$b717f3c0$35d45144@fatal> Message-ID: <20040519235221.41152.qmail@web61103.mail.yahoo.com> > If the mouse is down -- THEN > exit "your script name" > end if > > That is if you don't absolutely have to exit a > script by key-control. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Domains ? Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer From yoy at comcast.net Wed May 19 20:08:12 2004 From: yoy at comcast.net (Andy Burns) Date: Wed, 19 May 2004 20:08:12 -0400 Subject: terminate script from keyboard References: <20040519235221.41152.qmail@web61103.mail.yahoo.com> Message-ID: <000401c43dfe$8cc980e0$35d45144@fatal> ----- Original Message ----- From: "Erik Hansen" To: "How to use Revolution" Sent: Wednesday, May 19, 2004 7:52 PM Subject: Re: terminate script from keyboard > > > If the mouse is down -- THEN > > exit "your script name" > > end if Eric, if the mouse is down then exit "name of your script" Forgetting my original typo, your solution is better if you have to do any housekeeping before quitting the script. Take it easy, Andy From shaosean at unitz.ca Wed May 19 22:02:17 2004 From: shaosean at unitz.ca (shaosean at unitz.ca) Date: Wed, 19 May 2004 22:02:17 -0400 Subject: problems with "send" and macosx .3.3 Message-ID: > I'm not sure to understand the way you are using to send the actually, the client sends the login/password through a custom protocol to the server (the client and server communicate via tcp/ip).. the server socket receives the data and then uses the "send" command to send the data received to the proper handler.. -Sean From shaosean at unitz.ca Wed May 19 22:04:42 2004 From: shaosean at unitz.ca (shaosean at unitz.ca) Date: Wed, 19 May 2004 22:04:42 -0400 Subject: problems with "send" and macosx .3.3 In-Reply-To: <50BDF89D-A9AD-11D8-9F3E-000A9567A3E6@swcp.com> References: <50BDF89D-A9AD-11D8-9F3E-000A9567A3E6@swcp.com> Message-ID: > Could you have left in some temporary script lines to do a quick > password check? i originally thought that's what i may have done, but after printing all the scripts out and going through line-by-line (as well as a search in ms word), nothing showed up.. i'm tempted to change my system-level password to see if that makes a difference.. -Sean From shaosean at unitz.ca Wed May 19 22:09:19 2004 From: shaosean at unitz.ca (shaosean at unitz.ca) Date: Wed, 19 May 2004 22:09:19 -0400 Subject: problems with "send" and macosx .3.3 In-Reply-To: <6C8C742A-A9AE-11D8-9F3E-000A9567A3E6@swcp.com> References: <6C8C742A-A9AE-11D8-9F3E-000A9567A3E6@swcp.com> Message-ID: > Are you talking about the Transcript command, 'send'? yes > If so, it need not be complex. The command parameter may be a > variable. The object parameter may be a variable specifying the object > (such as the long id). my line of code is: do ("send" && QUOTE & tTransactionDataA["transaction"] && tTransactionData & QUOTE && "to stack" && QUOTE & sRegisteredTransactionsA[tTransactionDataA["transaction"]] & QUOTE && "in 0 milliseconds") tTransactionDataA[] is an array containing all of the data tTransactionData is the same array, but as a flat string sRegsiteredTransactionsA[] is an array that maps "transaction"s to the stack that has registered to receive them.. (currently a one-to-one mapping, but in the future it will be one-to-many).. -Sean ps.. thanks to everyone so far for the help ^_^ From jacque at hyperactivesw.com Wed May 19 22:29:54 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 May 2004 21:29:54 -0500 Subject: Palette redraw problem In-Reply-To: <000d01c43df7$9fc2b290$9d7ba8c0@RON7XP> References: <40ABE128.2070807@hyperactivesw.com> <000d01c43df7$9fc2b290$9d7ba8c0@RON7XP> Message-ID: <40AC1822.4010403@hyperactivesw.com> On 5/19/04 6:18 PM, Phil Davis wrote: > Did you try locking & unlocking the screen to force a screen refresh? That's > one workaround idea. Good idea, but unfortunately it doesn't do the trick. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed May 19 22:59:51 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 May 2004 21:59:51 -0500 Subject: Palette redraw problem In-Reply-To: References: Message-ID: <40AC1F27.30005@hyperactivesw.com> On 5/19/04 6:36 PM, Scott Rossi wrote: > Recently, "J. Landman Gay" wrote: > > >>I have stack that opens a tool palete. I want the palette to disappear >>when the stack is not frontmost, and reappear when it is. I scripted a >>suspendStack handler and a resumeStack handler to manage this: >> >>on suspendStack >>hide palette "myPalette" >>end suspendStack >> >>on resumeStack >>show palette "myPalette" >>end resumeStack >> >>This works exactly every other time the stack is suspended; that is, the >>first time it hides, the second time it doesn't. In addition, the times >>when the palette is reshown, it is not redrawn and appears on screen as >>a plain white rectangle with no contents. "Go this card of stack >>myPalette" from the message box will force a redraw and the contents appear. > > > > So far, I can confirm the above behavior on Mac OSX. > > I don't know if this is an acceptable workaround but have you tried setting > the palette's loc offscreen? > > > local origBR > > on suspendStack > put bottomRight of stack pal into origBR > set bottomRight of stack pal to 0,0 > end suspendStack > > on resumeStack > set bottomRight of stack pal to origBR > end resumeStack > > > I used this and it seems to work, but I don't know if this is the behavior > you want (you can't click on the palette or it disappears). Cool -- instant whack-a-mole with a palette stack. :) It does work in a way, but I need to be able to click on the palette. This is a blocker for me. Off to bugzilla-land... I'm grateful for the verification though. Thanks for checking. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tzvi at realtorsgroup.us Thu May 20 00:21:41 2004 From: tzvi at realtorsgroup.us (tzvi) Date: Thu, 20 May 2004 00:21:41 -0400 Subject: testing only Message-ID: <32214378-AA15-11D8-9478-0030654C1E62@realtorsgroup.us> From graham.samuel at wanadoo.fr Thu May 20 02:32:31 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Thu, 20 May 2004 08:32:31 +0200 Subject: QuickTime capabilities question Message-ID: <6.1.0.6.2.20040520082550.01dbae10@pop3.blueyonder.co.uk> On Thu, 20 May 2004 08:14:17 +0900, Doug Lerner wrote: >Can Revolution play multiple QuickTime clips simultaneously? Yes - I used to do this a lot, till I found out that you can't force Windows users to install QT, but that's another story... it works well, even on relatively slow machines, at least for simple clips (frame animations rather than complex movies - I have no experience of the latter). >Can you set audio volume separately for each clip? Yes, the playLoudness property is specific to a player unless no player is specified (see the TLD). HTH Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From frank at backtalk.com Thu May 20 03:54:14 2004 From: frank at backtalk.com (Frank Leahy) Date: Thu, 20 May 2004 08:54:14 +0100 Subject: Modal-like dialog box without using "modal"? Message-ID: Hi, I have a process that creates thumbnails, and I display a dialog box with a progress bar while this is happening. I want to stop the user from doing anything else, i.e. I want the dialog box to be "modal". But if I make the dialog box modal, the make thumbnail process stops running. My big problem is that I want to stop users bringing other windows to the front and clicking in those windows. I've added a "on resumeStack" handler that brings the dialog box back to the front, but that doesn't work consistently. I've also thought about putting a big transparent button on all open windows and trapping all mouse clicks, but that seems overkill. Is there any way to trap all mouse clicks and key strokes on open windows without resorting to something like this? How is anyone else handling this? Thanks, -- Frank From paul.springer at sensis.com Thu May 20 08:14:21 2004 From: paul.springer at sensis.com (Springer, Paul) Date: Thu, 20 May 2004 08:14:21 -0400 Subject: terminate script from keyboard Message-ID: Thanks Mark, Andy & Eric. My problem was a bug where there was an answer command inside a non-terminating repeat loop. I had some unsaved changes (other than the bug :) that I didn't want to lose by killing RR completely. I got out of the pickle by using the app browser to open the offending script, setting a break point, and applying the changes. The script stopped and I was able to fix it. Cool. Try that with Visual Studio. What I was hoping for was a key combination to get me out of this (not that it'll ever happen again!). I tried break and some others but with no luck. Maybe because it was always waiting for the response to the answer command. Is there some windows equivalent to Cmnd-. ? -Paul -----Original Message----- From: Andy Burns [mailto:yoy at comcast.net] Sent: Wednesday, May 19, 2004 8:08 PM To: erik at erikhansen.org; How to use Revolution Subject: Re: terminate script from keyboard ----- Original Message ----- From: "Erik Hansen" To: "How to use Revolution" Sent: Wednesday, May 19, 2004 7:52 PM Subject: Re: terminate script from keyboard > > > If the mouse is down -- THEN > > exit "your script name" > > end if Eric, if the mouse is down then exit "name of your script" Forgetting my original typo, your solution is better if you have to do any housekeeping before quitting the script. Take it easy, Andy _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From gregory.lypny at videotron.ca Thu May 20 08:14:24 2004 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 20 May 2004 08:14:24 -0400 Subject: On the Cost of "Revolution: Software at the Speed of Thought" In-Reply-To: <20040519235120.070F49300D2@mail.runrev.com> References: <20040519235120.070F49300D2@mail.runrev.com> Message-ID: <3BD17E72-AA57-11D8-B706-000D9350C9C2@videotron.ca> Three volumes for $97. Got it. Thanks! Greg From yoy at comcast.net Thu May 20 08:59:49 2004 From: yoy at comcast.net (Andy Burns) Date: Thu, 20 May 2004 08:59:49 -0400 Subject: terminate script from keyboard References: Message-ID: <000301c43e6a$ac78a620$35d45144@fatal> ----- Original Message ----- From: "Springer, Paul" To: "'How to use Revolution'" Sent: Thursday, May 20, 2004 8:14 AM Subject: RE: terminate script from keyboard > Thanks Mark, Andy & Eric. > > My problem was a bug where there was an answer command inside a > non-terminating repeat loop. I had some unsaved changes (other than the bug > :) that I didn't want to lose by killing RR completely. I got out of the > pickle by using the app browser to open the offending script, setting a > break point, and applying the changes. The script stopped and I was able to > fix it. Cool. Try that with Visual Studio. > > What I was hoping for was a key combination to get me out of this (not that > it'll ever happen again!). I tried break and some others but with no luck. > Maybe because it was always waiting for the response to the answer command. > Is there some windows equivalent to Cmnd-. ? > > -Paul Paul, I misunderstood. I have a rev standalone that can let the user start a "run-away" script until mousedown. Now I see that you were in development "run-away" script hell. :-( Andy From xbury.cs at clearstream.com Thu May 20 09:07:36 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 20 May 2004 15:07:36 +0200 Subject: terminate script from keyboard Message-ID: Paul, This is the kind of bug that really fires me up... Talk about a bug conglomerate - 6 for the price of one... Im glad Im not the only stupid user having these problems... I hope those are RR IDE development are listening 'coz im in the middle of this kind of CRAP - and I've experienced this since day one in MC... Bug 1, 2 and 3 I've told Scott years ago that cmd-period doesn't work on PCs... My real question is why am i not being taken seriously? And above all, why is there a mention of this combo if it doesn't work? Control-C should work to stop these scripts. Of course, when there is an endless loop, It's harder to intercept - RR or MC being such process gluttons... Bug 4 One solution is to switch to the main RR process (you will have to make the revtoolbar a palette to do that first or it wont show up in your taskbar. Once you got this set up (you can use a startup plugin to set the toolbar as a palette automatically). To have a better chance of your control-c bring intercepted, you might need to click and control-c furiously until it works... Bug 5 My current crap bug - which is untraceable, no session log, no control-c, no solution... is that when I do a linkclick, and request the url, RR hangs on W2003... Not consistently, mind you, just to make things more interesting... HyperCard had this basic finesse which RR is still years behind... I dont care about DB engines, I care about jumping into a debug mode anytime cmd-shft-. Having real variables displayed realtime in the VW, all messages showing in the MW, etc... Why isn't this BASIC level of IDE interaction not available yet? Why is the bug report window such a pain in the arse - if you dont see it, you start wondering about all kinds of things going wrong... etc, etc... Im currently hacking my way through the RR IDE to get things the way they were! Yet some of these things may not be fixed soon and without a solid IDE, there's no way RR will win over Flash or VB anytime soon... And next RR upgrade, I have to start over again... C'est la vie... It's like drag'n'drop in Lotus Notes! Effective only where not needed... Anyone care to comment or help? My 2 humble fired-up cents... No offense meant where needed On 20.05.2004 14:14:21 use-revolution-bounces wrote: >Thanks Mark, Andy & Eric. > >My problem was a bug where there was an answer command inside a >non-terminating repeat loop. I had some unsaved changes (other than the bug >:) that I didn't want to lose by killing RR completely. I got out of the >pickle by using the app browser to open the offending script, setting a >break point, and applying the changes. The script stopped and I was able to >fix it. Cool. Try that with Visual Studio. > >What I was hoping for was a key combination to get me out of this (not that >it'll ever happen again!). I tried break and some others but with no luck. >Maybe because it was always waiting for the response to the answer command. >Is there some windows equivalent to Cmnd-. ? > >-Paul > > > >-----Original Message----- >From: Andy Burns [mailto:yoy at comcast.net] >Sent: Wednesday, May 19, 2004 8:08 PM >To: erik at erikhansen.org; How to use Revolution >Subject: Re: terminate script from keyboard > > >----- Original Message ----- >From: "Erik Hansen" >To: "How to use Revolution" >Sent: Wednesday, May 19, 2004 7:52 PM >Subject: Re: terminate script from keyboard > > >> >> > If the mouse is down -- THEN >> > exit "your script name" >> > end if > >Eric, > >if the mouse is down then exit "name of your script" > >Forgetting my original typo, your solution is better if you have to do any >housekeeping before quitting the script. > >Take it easy, > >Andy > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >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 yoy at comcast.net Thu May 20 09:18:19 2004 From: yoy at comcast.net (Andy Burns) Date: Thu, 20 May 2004 09:18:19 -0400 Subject: terminate script from keyboard References: Message-ID: <000c01c43e6c$f120b860$35d45144@fatal> -Paul > From: Andy Burns [mailto:yoy at comcast.net] Paul, Did I goof that email. When you're developing .rev stacks, Always turn on the "Script Debug Mode. If you open a stack with a bugged script you can just hit the "Edit Script" button in the script error window and it'll stop the "run-away" script hell and take you to your problem script. Andy From paul.springer at sensis.com Thu May 20 09:28:18 2004 From: paul.springer at sensis.com (Springer, Paul) Date: Thu, 20 May 2004 09:28:18 -0400 Subject: terminate script from keyboard Message-ID: Wow - didn't mean to ruin your day Xavier. It's true that this is a problem and that, IMHO, RR tips, hints, capabilities, and general support sometimes seems a little light for Windows developers, but I suppose turn about is fair play. On the other hand, I was able to find a way out that conventional IDEs would not have allowed, so I was pretty happy. After reading your email I think maybe I should be really angry too! ;) Thanks Andy, I think I finally did something like what you describe below. But how do I see the "script error window" and thus the "Edit Script" button? I opened the script by going through the application browser then I set a break point to stop it. -Paul -----Original Message----- From: Andy Burns [mailto:yoy at comcast.net] Sent: Thursday, May 20, 2004 9:18 AM To: How to use Revolution Subject: Re: terminate script from keyboard -Paul > From: Andy Burns [mailto:yoy at comcast.net] Paul, Did I goof that email. When you're developing .rev stacks, Always turn on the "Script Debug Mode. If you open a stack with a bugged script you can just hit the "Edit Script" button in the script error window and it'll stop the "run-away" script hell and take you to your problem script. Andy _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From xbury.cs at clearstream.com Thu May 20 09:43:59 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 20 May 2004 15:43:59 +0200 Subject: terminate script from keyboard Message-ID: On 20.05.2004 15:28:18 use-revolution-bounces wrote: >Wow - didn't mean to ruin your day Xavier. Oh, dont worry, I waited since yesterday to see if it was a timeout problem... And, yes, there's not such thing as a timeout in RR ;) So I had to kill the process - twice... and lost some changes again... This is why software evolution is so slow on RR that we have to call it a revolution! ROTFL - im kidding of course... RR is nice when it doesn't act up... But it's a pain to have to save after EVERY script change... Which I highly recommend to everyone to prevent fired-up user complains... >It's true that this is a problem and that, IMHO, RR tips, hints, >capabilities, and general support sometimes seems a little light for Windows >developers, but I suppose turn about is fair play. On the other hand, I was >able to find a way out that conventional IDEs would not have allowed, so I >was pretty happy. After reading your email I think maybe I should be really >angry too! ;) Dont, RR is way faster than any other IDE... But it is young, under-resourced and as hard as the RR team works, the great users that we are keep burying them with bugs, wishes, whims and windows idiosynchracies. I presume RR is entering (already!) the NASA state where they have more safety engineers than production ;) >Thanks Andy, > >I think I finally did something like what you describe below. But how do I >see the "script error window" and thus the "Edit Script" button? I opened >the script by going through the application browser then I set a break point >to stop it. BUG 89353 NEVER close the Script error window without clearing the error first! On windows at least... If you and you can, try to open it again to clear the error via the appmanager or calling it from the Msg box... And im off... >-Paul > > > >-----Original Message----- >From: Andy Burns [mailto:yoy at comcast.net] >Sent: Thursday, May 20, 2004 9:18 AM >To: How to use Revolution >Subject: Re: terminate script from keyboard > >-Paul >> From: Andy Burns [mailto:yoy at comcast.net] > >Paul, > >Did I goof that email. > >When you're developing .rev stacks, Always turn on the "Script Debug Mode. >If you open a stack with a bugged script you can just hit the "Edit Script" >button in the script error window and it'll stop the "run-away" script hell >and take you to your problem script. > >Andy > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >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 heather at runrev.com Thu May 20 09:53:40 2004 From: heather at runrev.com (Heather Nagey) Date: Thu, 20 May 2004 14:53:40 +0100 Subject: Unix engines Message-ID: Hi Folks, Just to let those of you who are interested know, we are gradually making the Unix engines for 2.2 available: we now have BSD, HP-UX and Sparc Solaris available, more to appear shortly. You can download from http://www.runrev.com/downloads/unix.shtml Regards, Heather -- ** For a faster response to all licensing, support, and technical issues, please now send mail to support at runrev.com ** Heather Nagey ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools Tel +44 (0) 131 7184333 Fax +44 (0) 845 4588487 ~~~ Check our web site for new Revolution editions & special offers ~~~ From gizmotron at earthlink.net Thu May 20 10:07:13 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 20 May 2004 07:07:13 -0700 Subject: About Valentina XCMD... In-Reply-To: <002801c43ba6$e59f2a80$6601a8c0@precision340> Message-ID: On Sunday, May 16, 2004, at 05:35 PM, Ken Ray wrote: > Here's the basics that I use - the rest you can get from the docs Jan > pointed you to: > > global gValentinaInit,gMainDBRef > > on StartupDB > get Valentina("SetDebugLevel",3) Hi, I keep getting an error: Type Function: error in function handler Object Stack 1023090206 Line get Valentina( "SetDebugLevel", 3) Hint Valentina Every time I try to open any of the examples I get this same error message. I put the VXCMD_Macho_MC package on the root level as the Revolution app and moved the old classic version out of the same folder. Is there a step I'm missing? Thanks, Mark From jrvalent at wisc.edu Thu May 20 10:21:39 2004 From: jrvalent at wisc.edu (rand valentine) Date: Thu, 20 May 2004 09:21:39 -0500 Subject: delete and put empty in url "file:" structures Message-ID: Hi, all. I am wondering if I have found a bug in runrev version 2.2 running under mac os x.3.3. here is the problem: if i have a script line that goes delete line x of url "file:someFile.txt" the script crashes saying that "the object cannot be found" but if i change the script to: put empty into line x of url "file:someFile.txt" then the script works. Even the transcript docs say that "delete" and "put empty..." are equivalents. Why would the script crash with "delete" then but not with "put empty"? I know there are no other errors with this script (ie, the problem isn't about finding files or anything like that, it's _strictly_ about deleting a line), though I'm not sure if the error occurs with every call to delete a line in every url "file" structure. this drove me batty this morning, till i figured out what the problem was. thanks. rand valentine From jimc at ace-pb.com Thu May 20 10:28:00 2004 From: jimc at ace-pb.com (Jim) Date: Thu, 20 May 2004 09:28:00 -0500 Subject: Unix engines In-Reply-To: References: Message-ID: On May 20, 2004, at 8:53 AM, Heather Nagey wrote: > Just to let those of you who are interested know, we are gradually > making > the Unix engines for 2.2 available: we now have BSD, HP-UX and Sparc > Solaris > available, more to appear shortly. > Is the BSD engine supposed to double as a CGI engine? I draw an error (Command not found) when trying to run a script from command line. Replacing with 2.1.2 BSD engine does the same as expected (which is a different error). I was hoping that maybe this one would work for me without having to install extra goodies on a BSD/OS (BSDi) 4.1 Jim From dsc at swcp.com Thu May 20 11:14:47 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 20 May 2004 09:14:47 -0600 Subject: problems with "send" and macosx .3.3 In-Reply-To: Message-ID: <6E6FEFAE-AA70-11D8-99D3-000A9567A3E6@swcp.com> On Wednesday, May 19, 2004, at 08:09 PM, shaosean at unitz.ca wrote: > do ("send" && QUOTE & tTransactionDataA["transaction"] && > tTransactionData & QUOTE && "to stack" && QUOTE & > sRegisteredTransactionsA[tTransactionDataA["transaction"]] & QUOTE > && "in 0 milliseconds") Maybe this is equivalent: send "tTransactionDataA["transaction"] tTransactionData" \ to stack sRegisteredTransactionsA[tTransactionDataA["transaction"]] \ in 0 Or this: get tTransactionDataA["transaction"] send "it tTransactionData" to stack sRegisteredTransactionsA[it] in 0 Or this: put tTransactionDataA["transaction"] into trans put sRegisteredTransactionsA[trans] into transDest send "trans tTransactionData" to stack transDest in 0 Dar Scott From nnoydb at excite.com Thu May 20 11:22:47 2004 From: nnoydb at excite.com (K) Date: Thu, 20 May 2004 11:22:47 -0400 (EDT) Subject: Database API placeholder question Message-ID: <20040520152247.ECCD83958@xprdmailfe9.nwk.excite.com> I have a strange behavior I cannot explain. When I create a SQL statement like below. SELECT ca,cb,cc from :1 where fa=:2 In this case :1 and :2 is sent to the database with single quotes ('') around it am I configuring something wrong? Is there a option to stop this? K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From dsc at swcp.com Thu May 20 11:41:51 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 20 May 2004 09:41:51 -0600 Subject: problems with "send" and macosx .3.3 In-Reply-To: Message-ID: <369B99C2-AA74-11D8-99D3-000A9567A3E6@swcp.com> On Wednesday, May 19, 2004, at 08:09 PM, shaosean at unitz.ca wrote: > tTransactionDataA[] is an array containing all of the data > tTransactionData is the same array, but as a flat string Could the passwords that don't work include any of the delimiters in tTransactionData? Dar Scott From dsc at swcp.com Thu May 20 11:50:24 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 20 May 2004 09:50:24 -0600 Subject: delete and put empty in url "file:" structures In-Reply-To: Message-ID: <6819E9C6-AA75-11D8-99D3-000A9567A3E6@swcp.com> On Thursday, May 20, 2004, at 08:21 AM, rand valentine wrote: > Even the transcript docs say that "delete" and "put > empty..." are equivalents. These are not equivalent. The 'delete' will get rid of a delimiter when appropriate. I don't know whether that relates to your problem or not. Dar Scott From rgriffit at ctc.net Thu May 20 11:51:40 2004 From: rgriffit at ctc.net (Raymond Griffith) Date: Thu, 20 May 2004 11:51:40 -0400 Subject: delete and put empty in url "file:" structures In-Reply-To: Message-ID: <958F4980-AA75-11D8-9994-000393BFB02E@ctc.net> On Thursday, May 20, 2004, at 10:21 AM, rand valentine wrote: > Hi, all. I am wondering if I have found a bug in runrev version 2.2 > running > under mac os x.3.3. here is the problem: > > if i have a script line that goes > > delete line x of url "file:someFile.txt" > > the script crashes saying that "the object cannot be found" > > but if i change the script to: > > put empty into line x of url "file:someFile.txt" > > then the script works. Even the transcript docs say that "delete" and > "put > empty..." are equivalents. They aren't really equivalent. Suppose you start with somevar equal to 1 2 3 and you say "delete line 2 of somevar". You then get 1 3 but if you say "put empty into line 2 of somevar" you would get 1 3 So they aren't really the same. > Why would the script crash with "delete" then but > not with "put empty"? Check out the whole thing. Perhaps you don't actually have that line! Putting empty into a line you don't have creates the line, by the way. > know there are no other errors with this script (ie, > the problem isn't about finding files or anything like that, it's > _strictly_ > about deleting a line), though I'm not sure if the error occurs with > every > call to delete a line in every url "file" structure. this drove me > batty > this morning, till i figured out what the problem was. > > thanks. > > rand valentine > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From revlists at canelasoftware.com Thu May 20 11:56:31 2004 From: revlists at canelasoftware.com (Mark Talluto) Date: Thu, 20 May 2004 08:56:31 -0700 Subject: delete and put empty in url "file:" structures In-Reply-To: References: Message-ID: <42EC11D4-AA76-11D8-98E0-000393C3F5BC@canelasoftware.com> On May 20, 2004, at 7:21 AM, rand valentine wrote: > Hi, all. I am wondering if I have found a bug in runrev version 2.2 > running > under mac os x.3.3. here is the problem: > > if i have a script line that goes > > delete line x of url "file:someFile.txt" Dear Rand, Try reading in the contents of the file. Delete the line you wish. Then write out the new contents to the same file. -- Best regards, Mark Talluto http://www.canelasoftware.com From dsc at swcp.com Thu May 20 12:57:11 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 20 May 2004 10:57:11 -0600 Subject: delete and put empty in url "file:" structures In-Reply-To: Message-ID: On Thursday, May 20, 2004, at 08:21 AM, rand valentine wrote: > delete line x of url "file:someFile.txt" > > the script crashes saying that "the object cannot be found" ... > put empty into line x of url "file:someFile.txt" Sometimes error messages miss the mark. Could x be a zillion? Dar Scott From rogerguay at centurytel.net Thu May 20 15:01:55 2004 From: rogerguay at centurytel.net (Roger Guay) Date: Thu, 20 May 2004 12:01:55 -0700 Subject: Imported Video Clip Won't Play In-Reply-To: <20040509160007.EC53E9300AD@mail.runrev.com> References: <20040509160007.EC53E9300AD@mail.runrev.com> Message-ID: <29352D14-AA90-11D8-B16B-000393A1CAAA@centurytel.net> Hello List I have a one card stack into which I imported a QuickTime video clip titled "Movie.mpg". On the card I have a button with a mouseUp handler and the line: "play videoClip "Movie.mpg" at 200, 100". All I get is about 2 minutes of the rotating color wheel cursor followed by a black 2-inch vertical band on the card. The movie file size is 3.2 MB. Any ideas? BTW, I tried removing the ".mpg" from both the script and the name of the video clip but to no avail . . . same result! Thanks, Roger From psahores at easynet.fr Thu May 20 15:16:13 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Thu, 20 May 2004 21:16:13 +0200 Subject: Imported Video Clip Won't Play In-Reply-To: <29352D14-AA90-11D8-B16B-000393A1CAAA@centurytel.net> References: <20040509160007.EC53E9300AD@mail.runrev.com> <29352D14-AA90-11D8-B16B-000393A1CAAA@centurytel.net> Message-ID: <28F0ED1A-AA92-11D8-9072-000A95C61E96@easynet.fr> Hi Roger, Does the "Movie.mpg" open under QuickTime Payer ? If yes, save it, under QT Pro or equivalent, as "Movie.mov" or as "Movie.mp4". Than, it will run OK from your Rev's player :) Best, Pierre Le 20 mai 04, ? 21:01, Roger Guay a ?crit : > Hello List > > I have a one card stack into which I imported a QuickTime video clip > titled "Movie.mpg". On the card I have a button with a mouseUp > handler and the line: "play videoClip "Movie.mpg" at 200, 100". All I > get is about 2 minutes of the rotating color wheel cursor followed by > a black 2-inch vertical band on the card. The movie file size is 3.2 > MB. Any ideas? BTW, I tried removing the ".mpg" from both the script > and the name of the video clip but to no avail . . . same result! > > Thanks, Roger > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From psahores at easynet.fr Thu May 20 15:21:07 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Thu, 20 May 2004 21:21:07 +0200 Subject: Database API placeholder question In-Reply-To: <20040520152247.ECCD83958@xprdmailfe9.nwk.excite.com> References: <20040520152247.ECCD83958@xprdmailfe9.nwk.excite.com> Message-ID: Hello, It, mainly, depends from the way your SQL back-end is configured and interprets what he gets from your networked request. See the SQL db doc. Best, Pierre Le 20 mai 04, ? 17:22, K a ?crit : > > > > I have a strange behavior I cannot explain. When I create a SQL > statement like below. > > > SELECT ca,cb,cc from :1 where fa=:2 > > In this case :1 and :2 is sent to the database with single quotes ('') > around it am I configuring something wrong? Is there a option to stop > this? > > K > > -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- > Disclaimer: > > Any resemblance between the above views and those of my > employer, my terminal, or the view out my window are purely > coincidental. > Any resemblance between the above and my own views is > non-deterministic. > > The question of the existence of views in the absence of anyone to > hold > them > is left as an exercise for the reader. The question of the existence of > the reader > is left as an exercise for the second god coefficient. > (A discussion of non-orthogonal, non-integral polytheism is beyond the > scope of this article.) > > > > _______________________________________________ > Join Excite! - http://www.excite.com > The most personalized portal on the Web! > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From psahores at easynet.fr Thu May 20 15:36:39 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Thu, 20 May 2004 21:36:39 +0200 Subject: problems with "send" and macosx .3.3 In-Reply-To: References: Message-ID: <03CE8D40-AA95-11D8-9072-000A95C61E96@easynet.fr> Hi, The way i would use, instead : - use the post/http methods - send a sequence of "&name1=value1&name2=value2&name3=value3&etc..." - catch the socket incoming message, on the server-side Rev's app as a "PostIn" global - set up a "paramsswitcher" handler able to parse the "PostIn" var and to pass requests to subhandlers on the mode : if item 1 of PostIn is "name1=value1" then if item 2 of PostIn is "name2=value2" then subhandler1 else subhanler2 else... end if etc... All works there as expected in using such kind of procs. Best, Pierre Le 20 mai 04, ? 04:02, shaosean at unitz.ca a ?crit : >> I'm not sure to understand the way you are using to send the > > actually, the client sends the login/password through a custom protocol > to the server (the client and server communicate via tcp/ip).. the > server socket receives the data and then uses the "send" command to > send > the data received to the proper handler.. > > -Sean > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Thu May 20 15:54:48 2004 From: chipp at chipp.com (Chipp Walters) Date: Thu, 20 May 2004 14:54:48 -0500 Subject: terminate script from keyboard In-Reply-To: References: Message-ID: <40AD0D08.30505@chipp.com> Xavier, I've been thinking about your problem. Turns out he was holding his cmd key on his Mac and pressing the . key on his PC. I told him to try using the ctrl key on his PC and voila-- Bob's your uncle. > Bug 1, 2 and 3 > I've told Scott years ago that cmd-period doesn't work on PCs... > My real question is why am i not being taken seriously? And > above all, why is there a mention of this combo if it doesn't work? From tzvi at realtorsgroup.us Thu May 20 17:17:48 2004 From: tzvi at realtorsgroup.us (tzvi) Date: Thu, 20 May 2004 17:17:48 -0400 Subject: selected button Message-ID: <24E4AA32-AAA3-11D8-9478-0030654C1E62@realtorsgroup.us> Hi, On a card with a lot of buttons how do I determine which button is clicked to avoid putting a mouseUp handler in every button, as by a field the selectedField Thanks From janschenkel at yahoo.com Thu May 20 17:28:17 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 20 May 2004 14:28:17 -0700 (PDT) Subject: selected button In-Reply-To: <24E4AA32-AAA3-11D8-9478-0030654C1E62@realtorsgroup.us> Message-ID: <20040520212817.94285.qmail@web60510.mail.yahoo.com> --- tzvi wrote: > Hi, On a card with a lot of buttons how do I > determine which button is > clicked to avoid putting a mouseUp handler in every > button, as by a > field the selectedField > Thanks > Check out 'the target' ; example : -- on mouseUp answer the target end mouseUp -- Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Domains ? Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer From janschenkel at yahoo.com Thu May 20 17:32:53 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 20 May 2004 14:32:53 -0700 (PDT) Subject: Database API placeholder question In-Reply-To: <20040520152247.ECCD83958@xprdmailfe9.nwk.excite.com> Message-ID: <20040520213253.65087.qmail@web60503.mail.yahoo.com> --- K wrote: > > I have a strange behavior I cannot explain. When I > create a SQL statement like below. > > > SELECT ca,cb,cc from :1 where fa=:2 > > In this case :1 and :2 is sent to the database with > single quotes ('') around it am I configuring > something wrong? Is there a option to stop this? > > K > Hi Kevin, You aren't doing anything wrong, and it shouldn't be causing problems ; there is no option to stop it, but you can always use the merge() function to build your queries ; example : -- put "Foo" into tTable put 123456 into tRecID put merge("SELECT ca,cb,cc FROM [[tTable]] WHERE fa=[[tRecID]]") into tSQLQuery -- Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Domains ? Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer From gregory.lypny at videotron.ca Thu May 20 17:37:41 2004 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 20 May 2004 17:37:41 -0400 Subject: Table Object Message-ID: Hi Everyone, Can the cell editing property of a table object be set by script? I can't seem to find such a property in the online documentation. I would like users to be able to toggle a field from being editable to not and vice versa. Greg From tzvi at realtorsgroup.us Thu May 20 17:51:52 2004 From: tzvi at realtorsgroup.us (tzvi) Date: Thu, 20 May 2004 17:51:52 -0400 Subject: selected button In-Reply-To: <20040520212817.94285.qmail@web60510.mail.yahoo.com> Message-ID: On Thursday, May 20, 2004, at 05:28 PM, Jan Schenkel wrote: > --- tzvi wrote: >> Hi, On a card with a lot of buttons how do I >> determine which button is >> clicked to avoid putting a mouseUp handler in every >> button, as by a >> field the selectedField >> Thanks >> > > Check out 'the target' ; example : > -- > on mouseUp > answer the target > end mouseUp > -- > > Hope this helped, Yes it did. Thanks > > Jan Schenkel. > > ===== > "As we grow older, we grow both wiser and more foolish at the same > time." (La Rochefoucauld) > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Domains ? Claim yours for only $14.70/year > http://smallbusiness.promotions.yahoo.com/offer > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From damien.goel at isuisse.com Thu May 20 17:56:02 2004 From: damien.goel at isuisse.com (Damien GOEL) Date: Thu, 20 May 2004 23:56:02 +0200 Subject: No subject Message-ID: <7C5133B8-AAA8-11D8-9C17-003065A81842@isuisse.com> _____________________________________________________________________ Un mot doux ? envoyer? Une sortie cin? ? organiser? Faites le en temps r?el avec MSN Messenger! C'est gratuit! http://ifrance.com/_reloc/m From gregory.lypny at videotron.ca Thu May 20 19:47:56 2004 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 20 May 2004 19:47:56 -0400 Subject: Synchronized scrolling fields Message-ID: <1E7A9D54-AAB8-11D8-B706-000D9350C9C2@videotron.ca> Hello all, Does anyone have a handler for creating synchronized scrolling fields? What I'm thinking of is three fields: one is a table with data; another would be a fixed left column with line numbers or other labels that scrolls along vertically with the table; and the third would be a fixed first row with column labels that scrolls along with the table horizontally. In other words, it would look much like a spreadsheet. I remember that MetaCard used to have an example with multiple vertically scrolling fields. I was never able to make it work for the horizontal scroll, however. Any tips or hints would be much appreciated. Greg From sarahr at genesearch.com.au Thu May 20 20:10:45 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 21 May 2004 10:10:45 +1000 Subject: Synchronized scrolling fields In-Reply-To: <1E7A9D54-AAB8-11D8-B706-000D9350C9C2@videotron.ca> References: <1E7A9D54-AAB8-11D8-B706-000D9350C9C2@videotron.ca> Message-ID: <4DF0DC50-AABB-11D8-B7FF-0003937A97B8@genesearch.com.au> I am assuming that only the data field has scroll bars? In that case, it just needs a scrollBarDrag handler that sets the vScroll of the line numbers field to it's own vScroll and the hScroll of the column labels field to it's hScroll. Cheers, Sarah On 21 May 2004, at 9:50 am, Gregory Lypny wrote: > Hello all, > > Does anyone have a handler for creating synchronized scrolling fields? > What I'm thinking of is three fields: one is a table with data; > another would be a fixed left column with line numbers or other labels > that scrolls along vertically with the table; and the third would be a > fixed first row with column labels that scrolls along with the table > horizontally. In other words, it would look much like a spreadsheet. > I remember that MetaCard used to have an example with multiple > vertically scrolling fields. I was never able to make it work for the > horizontal scroll, however. > > Any tips or hints would be much appreciated. > > Greg > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From sarahr at genesearch.com.au Thu May 20 20:13:57 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 21 May 2004 10:13:57 +1000 Subject: Modal-like dialog box without using "modal"? In-Reply-To: References: Message-ID: How about showing the progress bar on the main window rather than in a separate window. You could make that window modal while creating your thumbnails. In answer to the question about trapping mouse clicks, you can always insert a frontScript that traps any events you want it to trap, then when you have finished your processing, remove the frontScript so that events are handled normally again. Cheers, Sarah On 20 May 2004, at 5:55 pm, Frank Leahy wrote: > Hi, > > I have a process that creates thumbnails, and I display a dialog box > with a progress bar while this is happening. > > I want to stop the user from doing anything else, i.e. I want the > dialog box to be "modal". But if I make the dialog box modal, the > make thumbnail process stops running. > > My big problem is that I want to stop users bringing other windows to > the front and clicking in those windows. I've added a "on > resumeStack" handler that brings the dialog box back to the front, but > that doesn't work consistently. I've also thought about putting a big > transparent button on all open windows and trapping all mouse clicks, > but that seems overkill. Is there any way to trap all mouse clicks > and key strokes on open windows without resorting to something like > this? > > How is anyone else handling this? > > Thanks, > -- Frank > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From sarahr at genesearch.com.au Thu May 20 20:25:20 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 21 May 2004 10:25:20 +1000 Subject: Plugins shut when suspending dev Message-ID: <57A83ABC-AABD-11D8-B7FF-0003937A97B8@genesearch.com.au> I have a selection of plugins that open when I start Rev. I have some problems getting them to open as palettes, but that's a separate issue. My concern today is that when I suspend the development tools, the plugins all get closed, as do the regular palettes e.g. message box & inspector. However when I restore the development tools, the built-in palettes came back on, but my plugins don't. A further wrinkle is that they don't appear in the Plugins menu, presumably because they are set to open on startup. So here are my questions: 1. Is this a bug that I should report or just a "feature"? 2. Does anyone have a workaround? 3. Is it just me or is the list very quiet at the moment? What are you all up to that I don't know about :-) Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From patrend at bigpond.com Thu May 20 21:27:57 2004 From: patrend at bigpond.com (Pat Trendler) Date: Fri, 21 May 2004 11:27:57 +1000 Subject: html tag for page break? Message-ID: <006801c43ed3$0874a420$b000a8c0@mshome.net> I am using htmlText and revPrintText to print from scrollable fields from various cards. How can I force a page break where I want it? Thanks for any assistance. Pat Trendler patrend at bigpond.com From gizmotron at earthlink.net Thu May 20 22:05:10 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 20 May 2004 19:05:10 -0700 Subject: html tag for page break? In-Reply-To: <006801c43ed3$0874a420$b000a8c0@mshome.net> Message-ID: <4A10901C-AACB-11D8-A178-000A95859272@earthlink.net> On Thursday, May 20, 2004, at 06:27 PM, Pat Trendler wrote: > I am using htmlText and revPrintText to print from scrollable fields > from > various cards. How can I force a page break where I want it? > > Thanks for any assistance. > > Pat Trendler I would put the htmlText of your scrollable field into a variable. You might need to deliberately strip all cr & return chars so that you have one long string in the variable and then replace "

" with ("

" & return). Anyway I would count out the number of lines, select an appropriate line to cut at, check it for number of chars and cut it down to a size that fits a printed page and add "

" to the end of the cut point. Then start the next page from the cut point with "

" I wouldn't be surprised if there was a way or better way to set page lengths before printing. I've never tried to do this. Sounds like a nice feature to have though. Mark From kray at sonsothunder.com Thu May 20 22:08:01 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 20 May 2004 21:08:01 -0500 Subject: About Valentina XCMD... In-Reply-To: Message-ID: <004801c43ed8$752a6ff0$6601a8c0@precision340> > Every time I try to open any of the examples I get this same error > message. I put the VXCMD_Macho_MC package on the root level as the > Revolution app and moved the old classic version out of the > same folder. > > Is there a step I'm missing? Mark, are you setting "the externals" of your stack to point to the VXCMD_Macho_MC bundle? It sounds like Valentina's not "hooked up". Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Thu May 20 22:07:04 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 20 May 2004 21:07:04 -0500 Subject: Synchronized scrolling fields In-Reply-To: <1E7A9D54-AAB8-11D8-B706-000D9350C9C2@videotron.ca> Message-ID: <004701c43ed8$5329e890$6601a8c0@precision340> Greg, unless you want different alignments in each field, you can use one field with tabstops and set the vGrid property to true on the field. Put your data in tab-delimited and it will truncate at the column boundaries. Presto! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Gregory Lypny > Sent: Thursday, May 20, 2004 6:48 PM > To: Revolution > Subject: Synchronized scrolling fields > > > Hello all, > > Does anyone have a handler for creating synchronized > scrolling fields? > What I'm thinking of is three fields: one is a table with > data; another > would be a fixed left column with line numbers or other labels that > scrolls along vertically with the table; and the third would > be a fixed > first row with column labels that scrolls along with the table > horizontally. In other words, it would look much like a > spreadsheet. > I remember that MetaCard used to have an example with multiple > vertically scrolling fields. I was never able to make it > work for the > horizontal scroll, however. > > Any tips or hints would be much appreciated. > > Greg > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From gizmotron at earthlink.net Thu May 20 22:25:42 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 20 May 2004 19:25:42 -0700 Subject: About Valentina XCMD... In-Reply-To: <004801c43ed8$752a6ff0$6601a8c0@precision340> Message-ID: <288F21DF-AACE-11D8-B053-000A95859272@earthlink.net> On Thursday, May 20, 2004, at 07:08 PM, Ken Ray wrote: > Mark, are you setting "the externals" of your stack to point to the > VXCMD_Macho_MC bundle? It sounds like Valentina's not "hooked up". > > Ken Ray I went back to the same configuration as the Rev 2.2 download. All I did was to exchange the existing VXCMD_Macho_MC for a newer one. The idea is to leave all the different ones where they are because they might be needed for different builds. Any way I got the example working. I'm getting an error caused by this being used before initialization occurs. Anyway I have it working on Mac 10.2.4; Rev 2.2 [Cross-post] > Note, error 306 > kFBL_CacheIsNotPresent = 306, > > This means that you do some Valentina operation BEFORE ValentinaInit() > call. > ValentinaInit() must be the first. It allocate cache for engine. > > Ruslan Zasukhin [more cross-post] On 5/20/04 7:26 PM, "Mark Brownell" wrote: >> Does Rev 2.2 include some version of VXCMD on default ? > > yes. > >> Which one ? > > This: Valentina_Classic, version 1.9.8b4 on the same level as the > Revolution app. > >> Why you say that Rev 2.2 have old classic version of VXCMD? > > it just does. Deep within the components folder is the global > environment folder that has the database_drivers folder etc.., > > The Rev 2.2 download folder has a Valentina.txt doc that sais this: > MacOS Valentina_Classic > MacOSX components/global > environment/database_drivers/MacOSX/VXCMD_macho I think this is because they can build for different platforms. Although strange, please ask Rev people. > Windows components/global > environment/database_drivers/Win32/dbvalentina.dll components/global > environment/database_drivers/Win32/VXCMD.dll So they still use 1.9.8b4 This is not good, As you have see now we use other named for VXCMD libs. You must not remove their default libs, because then Rev not starts. just add VXCMD macho. Well, I know that exists developers that use Valentina with Revolution. Let's wait for their help. Check this: is it required REGISTER plugin in stack somehow ? I know this is required for Windows. it seems for OS X also. Ruslan Zasukhin -------- Mark From ptrendler at bigpond.com Thu May 20 22:34:45 2004 From: ptrendler at bigpond.com (Pat Trendler) Date: Fri, 21 May 2004 12:34:45 +1000 Subject: html tag for page break? References: <4A10901C-AACB-11D8-A178-000A95859272@earthlink.net> Message-ID: <007d01c43edc$3267b0c0$b000a8c0@mshome.net> Thanks for your help Mark. I already have the text from the fields in a variable. I don't want to restrict the printed page to a certain number of lines, but I want to force a new page after a particular field has been printed. Maybe I'm being dumb here. By the way this is win if it makes any difference. (well it does explain me being dumb) Pat Trendler patrend at bigpond.com ----- Original Message ----- From: "Mark Brownell" To: "How to use Revolution" Sent: Friday, May 21, 2004 12:05 PM Subject: Re: html tag for page break? > > On Thursday, May 20, 2004, at 06:27 PM, Pat Trendler wrote: > > > I am using htmlText and revPrintText to print from scrollable fields > > from > > various cards. How can I force a page break where I want it? > > > > Thanks for any assistance. > > > > Pat Trendler > > > I would put the htmlText of your scrollable field into a variable. You > might need to deliberately strip all cr & return chars so that you have > one long string in the variable and then replace "

" with ("

" & > return). Anyway I would count out the number of lines, select an > appropriate line to cut at, check it for number of chars and cut it > down to a size that fits a printed page and add "

" to the end of > the cut point. Then start the next page from the cut point with "

" > > I wouldn't be surprised if there was a way or better way to set page > lengths before printing. I've never tried to do this. Sounds like a > nice feature to have though. > > Mark > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From cweise at jcsu.edu Thu May 20 23:37:34 2004 From: cweise at jcsu.edu (Weise, Christopher) Date: Thu, 20 May 2004 23:37:34 -0400 Subject: How do I retrieve MIDI input? Message-ID: <2EA675276128D611B3B600B0D0686FB69DA502@MSMAIL> Hello, I'm a two-year list-lurker and rev user, coming from a 10 year attachment to HyperCard. I finally have a question for which I can find no solution from the list and/or docs. (I've read numerous MIDI threads, but they seem to deal with output--formatting MIDI files, playing back through QT, etc.) I want to capture raw MIDI input from an external source (typically a MIDI keyboard), connected via USB. I cannot assure that users will have access to a USB-serial converter. On Macs, I want to be able to go through CoreMIDI; on PC, I don't know yet (Mac version comes first...). The old HyperMIDI externals don't seem to work, at least in OSX. Should/Can I: 1. Learn to write an external with my scripting-only (very meager outside of HyperTalk) programming experience? 2. Use AppleScript and/or AppleEvents? 3. Uncover some script, external, or other solution I've missed? 4. Find another alternative altogether? 5. Give up? Does anyone do this, or (perhaps) know of an apple-scriptable MIDI utility from which I could retrieve the data and deal with it in Rev (only way I can think to do it...)? Thanks for any and all sage advice. --------------------------- Chris Weise Music and Fine Arts Johnson C. Smith University Charlotte, NC From WebSense at aol.com Fri May 21 00:37:03 2004 From: WebSense at aol.com (WebSense at aol.com) Date: Fri, 21 May 2004 00:37:03 EDT Subject: HyperCard Address Stack Conversion Message-ID: <1cf.217fb8c0.2ddee16f@aol.com> I am in search of a solution to a seemingly simple problem. Ideally, I would like to find a commercial product that solves the problem. I do not want to invest time and effort in developing a solution myself. I have been told that Runtime Revolution might be a solution to the problem, but my evaluation of the product seems to indicate otherwise. I have reviewed the Runtime Revolution archives, visited numerous Runtime Revolution related Web sites, and talked to several Runtime Revolution consulting firms as well as Runtime Revolution technical support. No one has been able to offer a commercial product or an off-the-shelf solution. I also searched Google with no luck. However, several people suggested that I post a message to this mailing list. The problem that I would like to solve is described below: 1. I have a large number of HyperCard Address stacks on an old Power Macintosh system running Mac OS 8.1. I created these stacks by cloning the original HyperCard Address stack that was included with the early versions of the Macintosh operating system. I have had some of these Address stacks for more than 12 years. I am currently using HyperCard Version 2.1. 2. I would like to convert these HyperCard Address stacks to a new IBM ThinkPad T40 running Windows XP Professional. I would like to retain the creation, deletion, modification, and search functions that are currently provided by HyperCard. I would also like the ability to print a single card or an entire report of the stack. I have more than 100 HyperCard Address stacks to be converted. 3. I am currently using Nine to Five Reports with HyperCard to generate reports on the Macintosh. My report requirements are very simple. The report format consists of multiple cards in two columns on each page of the report. All text on each card is printed on the report. Each page is automatically filled before going to the next page, and a card is never split between columns or pages. This is all done using the Nine to Five Reports software. The report header contains page numbers, a title that is equal to the stack file name, and the date and time of the report. 4. I am only interested in converting HyperCard Address stacks from the Power Macintosh to the IBM ThinkPad T40. I have no requirement to convert any other types of stacks. The HyperCard Address stack that I am using is the original design from Apple. I have not modified it in any way. I was led to believe that I could use Runtime Revolution to migrate these HyperCard Address stacks from my Macintosh to my ThinkPad. After downloading and installing Runtime Revolution 2.2, I was able to convert my HyperCard Address stacks to Runtime Revolution files. Prior to conversion I compacted the stacks three times. However, I encountered several problems as described below: 1. I tried printing an individual card using the Revolution File- Print Card command. Revolution printed the card, but the result was not readable. Revolution appears to be printing the text multiple times with a slight offset, making the text unreadable due to overlaid printing. Either that, or Revolution has a problem with the fonts. 2. I tried generating a report using the Revolution Tools-Report Builder command. However, I was not able to print a report. When I click the Print Report button at the bottom right-hand side of the dialogue box, nothing happens. 3. The tried to search the card stack using the Revolution Edit- Find and Replace command. This command opened the Find and Replace dialogue window. However, when I enter a text string in the Find field, and press the Find button, the system always reports "0 objects found". This is true regardless of whether I am searching the This Card, This Stack, or This Stack File. 4. I have inspected the scripts within the stack, and all of the ones that I need are working. The problems that I am experiencing are limited solely to printing cards, generating reports, and searching cards for text strings. Given the above problems, is Runtime Revolution the right product for the job? If so, how do I get around these problems? If not, do you have any recommendations for a product that can satisfy my requirements? Again, the requirements are very simple as shown below: 1. Convert HyperCard "Address" stacks from the Macintosh to the PC 2. Provide the ability to create, delete, modify, and search cards 3. Provide the ability to print a single card or to print an entire report of cards within the stack If you have a solution to this problem, please post your solution or send me an email. I am willing to pay a reasonable price for an off-the-shelf solution, but I am reluctant to engage in a consulting contract to do customized work. I would prefer to use a standard vendor product. Thanks, Roy Sykes From erikhans08 at yahoo.com Fri May 21 00:47:10 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Thu, 20 May 2004 21:47:10 -0700 (PDT) Subject: QuickTime capabilities question In-Reply-To: <6.1.0.6.2.20040520082550.01dbae10@pop3.blueyonder.co.uk> Message-ID: <20040521044710.73670.qmail@web61105.mail.yahoo.com> --- Graham Samuel wrote: > I found out that you can't force > Windows users to install QT, but that's > another story... so what do you use, Windows Media Player? brimming with curiosity, Erik Hansen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Domains ? Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer From ambassador at fourthworld.com Fri May 21 00:57:38 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 20 May 2004 21:57:38 -0700 Subject: QuickTime capabilities question In-Reply-To: <20040521044710.73670.qmail@web61105.mail.yahoo.com> References: <20040521044710.73670.qmail@web61105.mail.yahoo.com> Message-ID: <40AD8C42.6000305@fourthworld.com> Graham Samuel wrote: > I found out that you can't force > Windows users to install QT, but that's > another story... Of course you can't force anyone to install anything, but if the benefits are compelling enough it's not hard to get users to choose to install QT, and even easier if you get the free license from Apple to include the QT installer on your product's CD. With the HyperRESEARCH product I make for ResearchWare we haven't had a single complaint from Win users about installing QT; given the wide range of formats it allows our product to support they're often glad we use it. But of course acceptance will depend on the market the software addresses. What sort of audience are you finding resistance to QT in? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Fri May 21 01:10:02 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 20 May 2004 22:10:02 -0700 Subject: HyperCard Address Stack Conversion In-Reply-To: <1cf.217fb8c0.2ddee16f@aol.com> References: <1cf.217fb8c0.2ddee16f@aol.com> Message-ID: <40AD8F2A.7090407@fourthworld.com> WebSense at aol.com wrote: > I tried printing an individual card using the Revolution File- > Print Card command. Revolution printed the card, but the > result was not readable. Revolution appears to be printing the > text multiple times with a slight offset, making the text > unreadable due to overlaid printing. Either that, or Revolution > has a problem with the fonts. I've had pretty good experiences using printing commands in Rev. We've done a lot of printing for a number of products I make and when we get a support request with oddities like that I've found that in most cases merely updating the printer driver to the latest version available from the manufacturer solves the problem. I can't guarantee that'll fix it for your circumstance, but it's worth trying. Windows is notoriously patchworked, with the BIOS, OS, motherboard, printer, etc. all coming from different manufacturers. With such complexity the need for an occassional driver update is to be expected. If you find that updating the driver doesn't resolve the issue please consider submitting a report to Bugzilla: -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From xbury.cs at clearstream.com Fri May 21 02:05:00 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 21 May 2004 08:05:00 +0200 Subject: terminate script from keyboard Message-ID: Dear uncle Bob, ;) If you find a Command key with an apple or a trefle key on a PC, call me,t hat keyboard is worth a fortune!!! In the RevDoc it says... Normally, you can stop a handler while it's executing by pressing Command-period (on Mac OS or OS X systems) or Control-period (on Unix or Windows systems). This capability can be useful when debugging. Try to make anything stop on windows with a period... It's supposed to be "C"... I've NEVER been able to cancel/abort/interupt anything on windows with a period. So why the fuss? Well, I dont know but either it should work or state that the user can also use 'C' to cancel scripts and we wouldn't have users complaining... The big question is: Am i the only one who can't make control-period work? cheers ---------------------=--------------------- Xavier Bury Chipp Walters Sent by: use-revolution-bounces at lists.runrev.com 20.05.2004 21:54 Please respond to chipp To: How to use Revolution cc: Subject: Re: terminate script from keyboard . Xavier, I've been thinking about your problem. Turns out he was holding his cmd key on his Mac and pressing the . key on his PC. I told him to try using the ctrl key on his PC and voila-- Bob's your uncle. > Bug 1, 2 and 3 > I've told Scott years ago that cmd-period doesn't work on PCs... > My real question is why am i not being taken seriously? And > above all, why is there a mention of this combo if it doesn't work? _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com 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 sarahr at genesearch.com.au Fri May 21 02:21:53 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 21 May 2004 16:21:53 +1000 Subject: HyperCard Address Stack Conversion In-Reply-To: <1cf.217fb8c0.2ddee16f@aol.com> References: <1cf.217fb8c0.2ddee16f@aol.com> Message-ID: <26C389C6-AAEF-11D8-B7FF-0003937A97B8@genesearch.com.au> On 21 May 2004, at 2:38 pm, WebSense at aol.com wrote: > > 1. Convert HyperCard "Address" stacks from the Macintosh to the PC > 2. Provide the ability to create, delete, modify, and search cards > 3. Provide the ability to print a single card or to print an entire > report of cards within the stack > > If you have a solution to this problem, please post your solution or > send me an email. I am willing to pay a reasonable price for an > off-the-shelf solution, but I am reluctant to engage in a consulting > contract to do customized work. I would prefer to use a standard > vendor product. > Thanks, > Roy Sykes > Hi Roy, Revolution can do what you want, but it is a programming environment - not a ready-to-use database - so it won't do it without a bit of work from either you or someone else. If you wanted to do it yourself, there are a large number of people on this list who are always ready to help with suggestions, advice, problem-solving etc. If you decide Revolution is the way to go but you don't want to do it yourself, then there are people who you can hire (myself included) to do it for you. However neither of these options gives you an off-the-shelf solution. If that is what you want, maybe you should write an exporter for your HyperCard addresses and buy a commercial database like FileMaker that can read in your old records and will (I think) be able to print, edit, search etc. immediately. It won't give you the flexibility of Revolution but you may find it more comfortable. Cheers, Sarah Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From xbury.cs at clearstream.com Fri May 21 02:28:55 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 21 May 2004 08:28:55 +0200 Subject: terminate script from keyboard Message-ID: Hi everyone, Maybe someone can explain this GUI distortion field If i browse slashdot with the discretebrowser (a basic html browser for RR), a link will be resolved via the linkclicked message really fast, no prob. But the link http://money.cnn.com/2004/05/20/commentary/game_over/column_gaming/index.htm in today's Slashdot's edition requires much more than just one click... Some links seem not to work (the mouseover does) but the linkclicked seems to have some difficulties... After making it work, I noticed that some links do and others dont work while whichever seems to be defined correctly html wise... Of course it's absolutely not reproducible between two browses. Once it works, once it doesn't, once it crashes RR... Anyone? 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 xbury.cs at clearstream.com Fri May 21 02:49:18 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 21 May 2004 08:49:18 +0200 Subject: linkclick problem (was terminate script from keyboard) Message-ID: So here I am in my own monologue! I found the problem and 2 bugs... HTML without a CR after a
causes 2 bugs... 1> setting the dont wrap will make a very very long line that is not wrapped and which overprints itself over and over! 2> causes problems resolving the linkclicked message... Bugzilla loves me! ;) On 21.05.2004 08:28:55 use-revolution-bounces wrote: >Hi everyone, > >Maybe someone can explain this GUI distortion field > >If i browse slashdot with the discretebrowser (a basic html browser for >RR), >a link will be resolved via the linkclicked message really fast, no prob. > >But the link >http://money.cnn.com/2004/05/20/commentary/game_over/column_gaming/index.htm > >in today's Slashdot's edition requires much more than just one click... > >Some links seem not to work (the mouseover does) but the linkclicked seems >to have >some difficulties... After making it work, I noticed that some links do >and others dont work while >whichever seems to be defined correctly html wise... > >Of course it's absolutely not reproducible between two browses. Once it >works, once it doesn't, >once it crashes RR... > >Anyone? 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 ambassador at fourthworld.com Fri May 21 03:06:50 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 21 May 2004 00:06:50 -0700 Subject: linkclick problem (was terminate script from keyboard) In-Reply-To: References: Message-ID: <40ADAA8A.7020506@fourthworld.com> xbury.cs at clearstream.com wrote: > So here I am in my own monologue! > > I found the problem and 2 bugs... > > HTML without a CR after a
causes 2 bugs... > > 1> setting the dont wrap will make a very very long line that is > not wrapped and which overprints itself over and over! > 2> causes problems resolving the linkclicked message... > > Bugzilla loves me! ;) So do we: excellent diagnostic work! Thanks for pinning that down. I'm sure having that bug resolved will help a lot of other developers down the road. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From kray at sonsothunder.com Fri May 21 03:30:05 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 21 May 2004 02:30:05 -0500 Subject: How do I retrieve MIDI input? In-Reply-To: <2EA675276128D611B3B600B0D0686FB69DA502@MSMAIL> Message-ID: <008901c43f05$77085e40$6601a8c0@precision340> Have you looked at MidiPipe? http://www.macupdate.com/info.php/id/10541 It has an AppleScript Trigger that might help (I don't know much about Midi, but found this after a search)... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Weise, Christopher > Sent: Thursday, May 20, 2004 10:38 PM > To: 'use-revolution at lists.runrev.com' > Subject: How do I retrieve MIDI input? > > > Hello, > > I'm a two-year list-lurker and rev user, coming from a 10 > year attachment to HyperCard. I finally have a question for > which I can find no solution from the list and/or docs. (I've > read numerous MIDI threads, but they seem to deal with > output--formatting MIDI files, playing back through QT, etc.) > > I want to capture raw MIDI input from an external source > (typically a MIDI keyboard), connected via USB. I cannot > assure that users will have access to a USB-serial converter. > On Macs, I want to be able to go through CoreMIDI; on PC, I > don't know yet (Mac version comes first...). The old > HyperMIDI externals don't seem to work, at least in OSX. > > Should/Can I: > 1. Learn to write an external with my scripting-only (very > meager outside of > HyperTalk) programming experience? > > 2. Use AppleScript and/or AppleEvents? > > 3. Uncover some script, external, or other solution I've missed? > > 4. Find another alternative altogether? > > 5. Give up? > > Does anyone do this, or (perhaps) know of an apple-scriptable > MIDI utility from which I could retrieve the data and deal > with it in Rev (only way I can think to do it...)? Thanks for > any and all sage advice. > > > --------------------------- > Chris Weise > Music and Fine Arts > Johnson C. Smith University > Charlotte, NC > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From xbury.cs at clearstream.com Fri May 21 03:55:59 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 21 May 2004 09:55:59 +0200 Subject: How do I retrieve MIDI input? Message-ID: Ken, I can't help you for the Mac but for the PC, you can use MIDI-OX which can do all you want with MIDI including merging different inputs (USB or MIDI) into any number of channels... Output is also possible naturally... http://www.midiox.com enjoy Xavier On 21.05.2004 09:30:05 use-revolution-bounces wrote: >Have you looked at MidiPipe? > >http://www.macupdate.com/info.php/id/10541 > >It has an AppleScript Trigger that might help (I don't know much about Midi, >but found this after a search)... > >Ken Ray >Sons of Thunder Software >Email: kray at sonsothunder.com >Web Site: http://www.sonsothunder.com/ > > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of >> Weise, Christopher >> Sent: Thursday, May 20, 2004 10:38 PM >> To: 'use-revolution at lists.runrev.com' >> Subject: How do I retrieve MIDI input? >> >> >> Hello, >> >> I'm a two-year list-lurker and rev user, coming from a 10 >> year attachment to HyperCard. I finally have a question for >> which I can find no solution from the list and/or docs. (I've >> read numerous MIDI threads, but they seem to deal with >> output--formatting MIDI files, playing back through QT, etc.) >> >> I want to capture raw MIDI input from an external source >> (typically a MIDI keyboard), connected via USB. I cannot >> assure that users will have access to a USB-serial converter. >> On Macs, I want to be able to go through CoreMIDI; on PC, I >> don't know yet (Mac version comes first...). The old >> HyperMIDI externals don't seem to work, at least in OSX. >> >> Should/Can I: >> 1. Learn to write an external with my scripting-only (very >> meager outside of >> HyperTalk) programming experience? >> >> 2. Use AppleScript and/or AppleEvents? >> >> 3. Uncover some script, external, or other solution I've missed? >> >> 4. Find another alternative altogether? >> >> 5. Give up? >> >> Does anyone do this, or (perhaps) know of an apple-scriptable >> MIDI utility from which I could retrieve the data and deal >> with it in Rev (only way I can think to do it...)? Thanks for >> any and all sage advice. >> >> >> --------------------------- >> Chris Weise >> Music and Fine Arts >> Johnson C. Smith University >> Charlotte, NC >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >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 rjb at rz.uni-potsdam.de Fri May 21 04:26:26 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Fri, 21 May 2004 10:26:26 +0200 Subject: Palette redraw problem In-Reply-To: <40ABE128.2070807@hyperactivesw.com> References: <40ABE128.2070807@hyperactivesw.com> Message-ID: >Before I bugzilla this, I wanted to check to see if anyone else has >hit this snag and whether there is a work-around for it. > >I have stack that opens a tool palete. I want the palette to >disappear when the stack is not frontmost, and reappear when it is. >I scripted a suspendStack handler and a resumeStack handler to >manage this: > >on suspendStack > hide palette "myPalette" >end suspendStack > >on resumeStack > show palette "myPalette" >end resumeStack > >This works exactly every other time the stack is suspended; that is, >the first time it hides, the second time it doesn't. In addition, >the times when the palette is reshown, it is not redrawn and appears >on screen as a plain white rectangle with no contents. "Go this card >of stack myPalette" from the message box will force a redraw and the >contents appear. After reading that "palette" above was a miss in email, I have verified that the same occurs under OS9. When the palette is hidden, it always shows. However, when it is showing, it hides only on every other switch. From watching messages, I see that the suspendStack is sent one time to the palette stack and another time to the other stack. It seems that when the palette shows first time, it remains the defaultstack so the next suspend will go to it. This happens even if I just click the palette to generate suspend/resume. Sounds like engine bug. Robert From chipp at chipp.com Fri May 21 06:14:23 2004 From: chipp at chipp.com (Chipp Walters) Date: Fri, 21 May 2004 05:14:23 -0500 Subject: terminate script from keyboard In-Reply-To: References: Message-ID: <40ADD67F.6040803@chipp.com> Hi Xavier! I just built a test stack with a single button and a single fld on Windows XP. In the button script I put: on mouseUp repeat 100000 times put "hello" & cr after fld 1 end repeat end mouseUp I can interrupt the script by pressing Ctrl-period -Chipp From chipp at chipp.com Fri May 21 06:23:22 2004 From: chipp at chipp.com (Chipp Walters) Date: Fri, 21 May 2004 05:23:22 -0500 Subject: Plugins shut when suspending dev In-Reply-To: <57A83ABC-AABD-11D8-B7FF-0003937A97B8@genesearch.com.au> References: <57A83ABC-AABD-11D8-B7FF-0003937A97B8@genesearch.com.au> Message-ID: <40ADD89A.2020800@chipp.com> Hi Sarah, Yep, all my plugins kick out also, the same way. I just don't typically suspend the IDE :-) -Chipp From frank at backtalk.com Fri May 21 07:04:02 2004 From: frank at backtalk.com (Frank Leahy) Date: Fri, 21 May 2004 12:04:02 +0100 Subject: Frontscript to simulate modal dialog Message-ID: <91863D12-AB16-11D8-9382-000A9580FCCE@backtalk.com> Hi, I tried Sarah's suggestion of creating a frontscript that would allow a progress dialog to act like a modal dialog does (can't bring other windows to the front, etc.). Here's the script I tried: on mouseDown put the rect of window "Thumbnail Progress" into theRect -- this is the progress dialog window put the screenMouseLoc into theLoc if theLoc is within theRect then pass mouseDown else beep end if end mouseDown For some reason this doesn't seem to work. I hear the beeps, but it doesn't seem to stop the mouseDown's from going to other windows, e.g. I can still bring other windows to the front. Any suggestions? Thanks, -- Frank From xbury.cs at clearstream.com Fri May 21 07:07:40 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 21 May 2004 13:07:40 +0200 Subject: terminate script from keyboard Message-ID: Chipp, You had to say that to make it work here! Problem fixed! I swear I tested this as hard as I could... There goes reality again! BUT: sometimes the errors reported are not always "Aborted" ... Im not going to test this further but thanks! So has anyone found how to resolve menu shortcut conflicts yet? ;) On 21.05.2004 12:14:23 use-revolution-bounces wrote: >Hi Xavier! > >I just built a test stack with a single button and a single fld on >Windows XP. > >In the button script I put: > >on mouseUp >repeat 100000 times >put "hello" & cr after fld 1 >end repeat >end mouseUp > >I can interrupt the script by pressing Ctrl-period > >-Chipp > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >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 gregory.lypny at videotron.ca Fri May 21 08:20:18 2004 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Fri, 21 May 2004 08:20:18 -0400 Subject: Synchronized scrolling fields In-Reply-To: <20040521034815.653459300D0@mail.runrev.com> References: <20040521034815.653459300D0@mail.runrev.com> Message-ID: <38D4D9EA-AB21-11D8-BFCD-000D9350C9C2@videotron.ca> Thanks for responding, Sarah and Ken. Greg Sarah, Yes, only the data field will have scroll bars. Your suggestion generally works fine for synchronized vertical scrolling, although some additional tinkering with the handler is required to deal with the field being emptied and data replaced from time to time. But I was never able to get it to work properly with horizontal scrolling, at least not in MetaCard; perhaps it's different in Revolution. If I remember correctly, it was suggested that separate scroll controls be used rather than the two that would otherwise be attached to the data field. I imagine this has to do with properly matching the dimensions of the three fields which in turn depends on the space taken up by the data, and that, as I mentioned, will be changing. This has to do with using the "effective" property for text or line height. From Sarah: > I am assuming that only the data field has scroll bars? In that case, > it just needs a scrollBarDrag handler that sets the vScroll of the line > numbers field to it's own vScroll and the hScroll of the column labels > field to it's hScroll. Ken, I don't quite follow you here. The data field does have a vertical grid, but I want the equivalent of a fixed or locked first line and first column to be column and row labels respectively. So, not matter how far down or across a user scrolls, they can always identify the row and column they're viewing by looking at the labels. The labels themselves can be hypertext that trigger handlers to sort the data. And from Ken: > Greg, unless you want different alignments in each field, you can use > one > field with tabstops and set the vGrid property to true on the field. > Put > your data in tab-delimited and it will truncate at the column > boundaries. > Presto! From paul.springer at sensis.com Fri May 21 08:40:20 2004 From: paul.springer at sensis.com (Springer, Paul) Date: Fri, 21 May 2004 08:40:20 -0400 Subject: terminate script from keyboard Message-ID: OK, here was the situation I originally had the problem with; I have added one line to Chipp's script. How would you stop this? on mouseUp repeat 100000 times put "hello" & cr after fld 1 answer "hello" end repeat end mouseUp -Paul -----Original Message----- From: Chipp Walters [mailto:chipp at chipp.com] Sent: Friday, May 21, 2004 6:14 AM To: How to use Revolution Subject: Re: terminate script from keyboard Hi Xavier! I just built a test stack with a single button and a single fld on Windows XP. In the button script I put: on mouseUp repeat 100000 times put "hello" & cr after fld 1 end repeat end mouseUp I can interrupt the script by pressing Ctrl-period -Chipp _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From xbury.cs at clearstream.com Fri May 21 08:46:55 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 21 May 2004 14:46:55 +0200 Subject: terminate script from keyboard Message-ID: Paul, You dont... you click 10000 times OK... With some luck, you get QuickKeys to do it for you... ;) On the old HyperCard IDE you could press cmd-. when you had teh mousedown in the OK button which would get executed as a queued event after the mouse went up... (Does it work on Macs today?) No such luck here. I've mentioned (screamed it was actually) this one on Scott a couple years ago... Scripting the RR IDE can be hazardous to your nerves... ---------------------=--------------------- Xavier Bury Clearstream Services TNS NT LAN Server ext 36465 Voice: +352 4656 43 6465 Fax: +352 4656 493 6465 "Springer, Paul" Sent by: use-revolution-bounces at lists.runrev.com 21.05.2004 14:40 Please respond to How to use Revolution To: 'How to use Revolution' cc: Subject: RE: terminate script from keyboard . OK, here was the situation I originally had the problem with; I have added one line to Chipp's script. How would you stop this? on mouseUp repeat 100000 times put "hello" & cr after fld 1 answer "hello" end repeat end mouseUp -Paul -----Original Message----- From: Chipp Walters [mailto:chipp at chipp.com] Sent: Friday, May 21, 2004 6:14 AM To: How to use Revolution Subject: Re: terminate script from keyboard Hi Xavier! I just built a test stack with a single button and a single fld on Windows XP. In the button script I put: on mouseUp repeat 100000 times put "hello" & cr after fld 1 end repeat end mouseUp I can interrupt the script by pressing Ctrl-period -Chipp _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com 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 johnrule at rcsprogramming.com Fri May 21 09:00:15 2004 From: johnrule at rcsprogramming.com (John Rule) Date: Fri, 21 May 2004 06:00:15 -0700 Subject: Embedded? References: <20040521123920.188369300FC@mail.runrev.com> Message-ID: <00d801c43f33$90105d10$7c01000a@rcsserver> If RunRev wants to make some money, they should develop a Pocket PC version of the engine. They bought the embedded technology, so why not put it to use? At least on Linux embedded PDAs! By the way, can anyone from RunRev comment on the state of the embedded offerings? I may be interested... JR From FlexibleLearning at aol.com Fri May 21 10:40:57 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Fri, 21 May 2004 10:40:57 EDT Subject: terminate script from keyboard Message-ID: <1d8.2218175f.2ddf6ef9@aol.com> >OK, here was the situation I originally had the problem with; I have added >one line to Chipp's script. How would you stop this? > >on mouseUp > repeat 100000 times > put "hello" & cr after fld 1 > answer "hello" > end repeat >end mouseUp Force quit, or add a keydown test in the loop. /H From rcozens at pon.net Fri May 21 11:02:33 2004 From: rcozens at pon.net (Rob Cozens) Date: Fri, 21 May 2004 08:02:33 -0700 Subject: terminate script from keyboard In-Reply-To: <1d8.2218175f.2ddf6ef9@aol.com> References: <1d8.2218175f.2ddf6ef9@aol.com> Message-ID: >How would you stop this? >> >>on mouseUp >> repeat 100000 times >> put "hello" & cr after fld 1 >> answer "hello" >> end repeat >>end mouseUp 1. on mouseUp repeat 100000 put "hello"&return after field 1 answer "hello" with "Goodbye" or "Hi back" if it is "Goodbye" then exit repeat end repeat end mouseUp 2. on mouseUp repeat 100000 put "hello"&return after field 1 answer "hello" if the controlKey is down then exit repeat -- untested; should exit -- if controlKey is down when the answer dialog is closed end repeat end mouseUp -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From paul.springer at sensis.com Fri May 21 11:11:37 2004 From: paul.springer at sensis.com (Springer, Paul) Date: Fri, 21 May 2004 11:11:37 -0400 Subject: terminate script from keyboard Message-ID: Thanks to all for the suggestions. Of course my original problem was how to get out of a situation like this when you inadvertently coded it. Changing the script to provide an escape hatch is easily done after the fact but I'm afraid I don't usually plan my bugs so carefully. What I was asking for is a way to get out of this kind of unplanned situation short of killing RR and losing any unsaved changes. So far the consensus seems to be that you can't. -Paul -----Original Message----- From: Rob Cozens [mailto:rcozens at pon.net] Sent: Friday, May 21, 2004 11:03 AM To: How to use Revolution Subject: RE: terminate script from keyboard >How would you stop this? >> >>on mouseUp >> repeat 100000 times >> put "hello" & cr after fld 1 >> answer "hello" >> end repeat >>end mouseUp 1. on mouseUp repeat 100000 put "hello"&return after field 1 answer "hello" with "Goodbye" or "Hi back" if it is "Goodbye" then exit repeat end repeat end mouseUp 2. on mouseUp repeat 100000 put "hello"&return after field 1 answer "hello" if the controlKey is down then exit repeat -- untested; should exit -- if controlKey is down when the answer dialog is closed end repeat end mouseUp -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From jrvalent at wisc.edu Fri May 21 11:20:52 2004 From: jrvalent at wisc.edu (rand valentine) Date: Fri, 21 May 2004 10:20:52 -0500 Subject: deleting lines from a text file Message-ID: I've experimented a bit with attempting to delete lines from a text file. The following simple script should readily allow the deletion of a line, no?? -- on mouseUp answer file "what file?" put "file:" & it into theFile delete line 2 of url theFile end mouseUp This produces an error of type "chunk," with the specific message: "can't find object." Things work fine if you change "delete" to "put empty into", but that creates the problem that some of you have pointed out, ie, that the delimiter is not deleted. Could someone else verify this, so that I know it's a bug and not bad karma :-)? Thanks. rand valentine From jacque at hyperactivesw.com Fri May 21 11:34:56 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 21 May 2004 10:34:56 -0500 Subject: html tag for page break? In-Reply-To: <007d01c43edc$3267b0c0$b000a8c0@mshome.net> References: <4A10901C-AACB-11D8-A178-000A95859272@earthlink.net> <007d01c43edc$3267b0c0$b000a8c0@mshome.net> Message-ID: <40AE21A0.5060306@hyperactivesw.com> On 5/20/04 9:34 PM, Pat Trendler wrote: > Thanks for your help Mark. > > I already have the text from the fields in a variable. I don't want to > restrict the printed page to a certain number of lines, but I want to force > a new page after a particular field has been printed. Use: "print break" after printing the card contents. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri May 21 11:44:43 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 21 May 2004 10:44:43 -0500 Subject: Palette redraw problem In-Reply-To: References: <40ABE128.2070807@hyperactivesw.com> Message-ID: <40AE23EB.7080906@hyperactivesw.com> On 5/21/04 3:26 AM, Robert Brenstein wrote: >> Before I bugzilla this, I wanted to check to see if anyone else has >> hit this snag and whether there is a work-around for it. >> >> I have stack that opens a tool palete. I want the palette to disappear >> when the stack is not frontmost, and reappear when it is. I scripted a >> suspendStack handler and a resumeStack handler to manage this: >> >> on suspendStack >> hide palette "myPalette" >> end suspendStack >> >> on resumeStack >> show palette "myPalette" >> end resumeStack >> >> This works exactly every other time the stack is suspended; that is, >> the first time it hides, the second time it doesn't. In addition, the >> times when the palette is reshown, it is not redrawn and appears on >> screen as a plain white rectangle with no contents. "Go this card of >> stack myPalette" from the message box will force a redraw and the >> contents appear. > > > After reading that "palette" above was a miss in email, I have verified > that the same occurs under OS9. When the palette is hidden, it always > shows. However, when it is showing, it hides only on every other switch. > From watching messages, I see that the suspendStack is sent one time to > the palette stack and another time to the other stack. It seems that > when the palette shows first time, it remains the defaultstack so the > next suspend will go to it. This happens even if I just click the > palette to generate suspend/resume. Sounds like engine bug. I spent all day on this yesterday, tried everything, and could not create a viable solution. (By the way, I notice in the Rev docs that the same "palette" misprint is in there, so I'm not the only one. It's a natural typo, but it does generate an error. The correct syntax, of course, is 'show/hide stack mypalette". But I digress...) I did learn a few things while experimenting. The all-white empty palette I was seeing was probably caused by locking messages before showing or hiding the palette. I was trying this as a potential solution which didn't work. Apparently if you lock messages before changing the state of the palette, the palette contents do not draw. I tried inserting various resumestack/suspendstack handlers in the palette itself, both as blocking handlers or as functional handlers with commands. Blocking both messages seemed to help a bit, but didn't completely solve the problem. I tried so many other things too that I can't list them all here. I've reported it in Bugzilla, though I am not yet completely convinced it is a real bug. I did an awful lot of testing to see what messages were being generated from which stack, and what I was getting looked correct. I just can't find a way to use those messages to get the behavior I need. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Fri May 21 12:25:36 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 21 May 2004 09:25:36 -0700 Subject: Palette redraw problem In-Reply-To: <40AE23EB.7080906@hyperactivesw.com> Message-ID: Recently, "J. Landman Gay" wrote: >>> I have stack that opens a tool palete. I want the palette to disappear >>> when the stack is not frontmost, and reappear when it is. I scripted a >>> suspendStack handler and a resumeStack handler to manage this: >>> >>> on suspendStack >>> hide palette "myPalette" >>> end suspendStack >>> >>> on resumeStack >>> show palette "myPalette" >>> end resumeStack >>> >>> This works exactly every other time the stack is suspended; that is, >>> the first time it hides, the second time it doesn't. > I spent all day on this yesterday, tried everything, and could not > create a viable solution. You've thrown down the gauntlet -- this sounds like a good challenge. Can you explain why the palette needs to disappear when not top most? Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From rogerguay at centurytel.net Fri May 21 12:29:33 2004 From: rogerguay at centurytel.net (Roger Guay) Date: Fri, 21 May 2004 09:29:33 -0700 Subject: Imported Video Clip Won't Play In-Reply-To: <20040521034815.80A2A9300D3@mail.runrev.com> References: <20040521034815.80A2A9300D3@mail.runrev.com> Message-ID: <0AAA84B1-AB44-11D8-8D2C-000393A1CAAA@centurytel.net> Thank you, Pierre. Your solution works. I seem to be having other problems with this particular file which is not RunRev related. It seems that I can import this file into Quicktime Pro and export it to a ".mov" file OK, but if I then try to edit the converted file, I lose the sound. Thanks for your help, Roger > Message: 3 > Date: Thu, 20 May 2004 21:16:13 +0200 > From: Pierre Sahores > Subject: Re: Imported Video Clip Won't Play > To: How to use Revolution > Message-ID: <28F0ED1A-AA92-11D8-9072-000A95C61E96 at easynet.fr> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi Roger, > > Does the "Movie.mpg" open under QuickTime Payer ? If yes, save it, > under QT Pro or equivalent, as "Movie.mov" or as "Movie.mp4". Than, it > will run OK from your Rev's player :) > > Best, Pierre > > Le 20 mai 04, ? 21:01, Roger Guay a ?crit : > >> Hello List >> >> I have a one card stack into which I imported a QuickTime video clip >> titled "Movie.mpg". On the card I have a button with a mouseUp >> handler and the line: "play videoClip "Movie.mpg" at 200, 100". All I >> get is about 2 minutes of the rotating color wheel cursor followed by >> a black 2-inch vertical band on the card. The movie file size is 3.2 >> MB. Any ideas? BTW, I tried removing the ".mpg" from both the script >> and the name of the video clip but to no avail . . . same result! >> >> Thanks, Roger >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> From rgriffit at ctc.net Fri May 21 12:25:19 2004 From: rgriffit at ctc.net (Raymond Griffith) Date: Fri, 21 May 2004 12:25:19 -0400 Subject: terminate script from keyboard In-Reply-To: Message-ID: <738493AA-AB43-11D8-A9C2-000393BFB02E@ctc.net> On Friday, May 21, 2004, at 02:05 AM, xbury.cs at clearstream.com wrote: > Dear uncle Bob, ;) > > If you find a Command key with an apple or a trefle key on a PC, call > me,t > hat keyboard is worth a fortune!!! > > In the RevDoc it says... > > Normally, you can stop a handler while it's executing by pressing > Command-period (on Mac OS or OS X systems) or Control-period (on Unix > or > Windows systems). This capability can be useful when debugging. > > Try to make anything stop on windows with a period... > It's supposed to be "C"... I've NEVER been able to > cancel/abort/interupt > anything on windows with a period. So why the fuss? > Well, I dont know but either it should work or state that the user can > also use 'C' to cancel scripts and we wouldn't have users > complaining... > > The big question is: > Am i the only one who can't make control-period work? Nope. I usually can't make it work, especially when I have a repeat loop. It is determined to go through the process. It does work *sometimes*. I hate to put in code to catch and stop them, though, since anything extra slows the process down. Raymond > > cheers > ---------------------=--------------------- > Xavier Bury > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Chipp Walters > Sent by: use-revolution-bounces at lists.runrev.com > 20.05.2004 21:54 > Please respond to chipp > > > To: How to use Revolution > > cc: > > Subject: Re: terminate script from keyboard > > . > > > > > > > > > Xavier, > > I've been thinking about your problem. Turns out he was holding his cmd > key on his Mac and pressing the . key on his PC. I told him to try > using > the ctrl key on his PC and voila-- Bob's your uncle. > >> Bug 1, 2 and 3 >> I've told Scott years ago that cmd-period doesn't work on PCs... >> My real question is why am i not being taken seriously? And >> above all, why is there a mention of this combo if it doesn't work? > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > 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 > http://lists.runrev.com/mailman/listinfo/use-revolution > From revlists at canelasoftware.com Fri May 21 13:09:18 2004 From: revlists at canelasoftware.com (Mark Talluto) Date: Fri, 21 May 2004 10:09:18 -0700 Subject: Palette redraw problem In-Reply-To: <40AE23EB.7080906@hyperactivesw.com> References: <40ABE128.2070807@hyperactivesw.com> <40AE23EB.7080906@hyperactivesw.com> Message-ID: <985653CE-AB49-11D8-9E6E-000393C3F5BC@canelasoftware.com> On May 21, 2004, at 8:44 AM, J. Landman Gay wrote: > I've reported it in Bugzilla, though I am not yet completely convinced > it is a real bug. I did an awful lot of testing to see what messages > were being generated from which stack, and what I was getting looked > correct. I just can't find a way to use those messages to get the > behavior I need. Not sure if it is related, but I posted bug: 1520 a while back that affects the hiding and showing of palettes with "hidePalettes". It is broken on all platforms with Rev 2.2. Looks like there is a general issue regarding this. -- Best regards, Mark Talluto http://www.canelasoftware.com From jperryl at ecs.fullerton.edu Fri May 21 13:34:12 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 21 May 2004 10:34:12 -0700 (PDT) Subject: Weird Font Problems/PC only In-Reply-To: <985653CE-AB49-11D8-9E6E-000393C3F5BC@canelasoftware.com> Message-ID: Hi, For aesthetics as well as cross-platform issues, my stack uses Comic Sans and Trebuchet MS fonts. The problem I am running into is that, mid-way through the stack on a PC, either the font 'reverts' (?) to Lucida something-or-other OR it retains the correct font but decides to change the font size to 10 or 12 (instead of 18 or 24). So, I edited it/changed everything to what it was supposed to be *on a PC* mind you, brought it back into the Mac-side of things, made some other, unrelated, changes, took it back to the PC and... guess what? Font changes for naught. Same old problem *again*. I've tried hand-setting it (by using the browse tool, selecting the text, and using the Text menu commands); I've done it by selecting the contents from the object inspector and setting the text attributes from the menu; I've done it by using the arrow tool to select the text field and then using the menu test commands... all of which fail to resolve the problem. I suppose I could use text as graphics, but that would be alot of work and I'm guessing that shouldn't be necessary. Any informed ideas? [Clearly I have none :-( ] TIA, Judy From jacque at hyperactivesw.com Fri May 21 13:46:19 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 21 May 2004 12:46:19 -0500 Subject: Palette redraw problem In-Reply-To: <985653CE-AB49-11D8-9E6E-000393C3F5BC@canelasoftware.com> References: <40ABE128.2070807@hyperactivesw.com> <40AE23EB.7080906@hyperactivesw.com> <985653CE-AB49-11D8-9E6E-000393C3F5BC@canelasoftware.com> Message-ID: <40AE406B.8070409@hyperactivesw.com> On 5/21/04 12:09 PM, Mark Talluto wrote: > > On May 21, 2004, at 8:44 AM, J. Landman Gay wrote: > >> I've reported it in Bugzilla, though I am not yet completely convinced >> it is a real bug. I did an awful lot of testing to see what messages >> were being generated from which stack, and what I was getting looked >> correct. I just can't find a way to use those messages to get the >> behavior I need. > > > Not sure if it is related, but I posted bug: 1520 a while back that > affects the hiding and showing of palettes with "hidePalettes". It is > broken on all platforms with Rev 2.2. Looks like there is a general > issue regarding this. > I hadn't hit that particular snag. In this case, I don't know if it is related or not. I suspect the problem I'm having has more to do with messaging though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri May 21 14:08:05 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 21 May 2004 13:08:05 -0500 Subject: Palette redraw problem In-Reply-To: References: Message-ID: <40AE4585.4010801@hyperactivesw.com> On 5/21/04 11:25 AM, Scott Rossi wrote: > You've thrown down the gauntlet -- this sounds like a good challenge. > > Can you explain why the palette needs to disappear when not top most? Sure. The palette is a tool palette. Another substack is an object editing area where the user can design stuff; mostly custom field objects, line graphics, and text entry -- sort of a page layout thing. The palette is only appropriate to that particular one-card editing substack, and in fact, I don't want the tools available elsewhere lest they start creating or removing objects in the cards of the mainstack (and I don't want to write all the scripts that would prevent that.) The editing stack and the palette are both substacks of the main stack. So we have: myMainStack | | myTools myEditingStack When the editing substack opens, it needs to always have its tool palette available. When it closes, the tool palette is closed. This works, implemented with opencard and closecard handlers. If, however, the user clicks back over to the mainstack, the tools should also go away. This doesn't work consistently. If it did, everything is solved. Second solution might be: Don't allow the user to suspend the editing stack at all. If they can't suspend the editing stack, then the suspend/resume problems don't exist. However, I can't make the editing stack modal (or palette) because it won't allow object editing if it is. I could leave it as modeless or toplevel, and try to script blockages so that the user can't click on the main stack (which I'm not sure is completely possible either,) except that Windows users could still bring the mainstack forward via the taskbar. Third possible solution: Make the editing stack into another card of the mainstack. This would probably work, except that I don't think it looks professional to have the main stack "disappear" during editing, which is how it would look visually. I'd rather have a separate editing window. I seem to have hit an impasse. If you want to undertake this challenge, then I will enthusiastically root for you to win. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From soapdog at mac.com Fri May 21 14:11:10 2004 From: soapdog at mac.com (Andre Garzia) Date: Fri, 21 May 2004 15:11:10 -0300 Subject: European Rev Conference,14-15-16 November 2004 In-Reply-To: References: Message-ID: <3CB78B4E-AB52-11D8-AE55-0003936D012E@mac.com> Hi Folks, As some of you know, I am just a grad student from Brazil, but I am thinking about attending to EuroRevDevConf. So I must spare all the dimes I can for most of my money will be flushed into the airtickets pipes. I see on the briefing that price is based on double occupancy, I want is there a discount for a single person? Euros are a bit expensive in here, I think it's four to one, so just the conference would cost me about 1200, and the airport tickets I think would cost me about 4k more. So any discount would be very welcome. Cheers Andre On May 19, 2004, at 1:13 PM, sims wrote: > European Revolution Conference > 14-15-16 November 2004 Malta > > We have rescheduled and greatly expanded the European Revolution > Conference > to be held 14-15-16 November 2004 in Valletta, Malta > > The November 2004 EuroRevCon Features... > > * Kevin Miller, Rev CEO Keynote Sunday evening and daily discussions > * Two full days of Rev presentations and discussions by expert Rev > developers: > Malte Brill > Richard Gaskin > Klaus Major > Frederic Rinaldi > Jan Schenkel > * Special pricing on Dan Shafer's book Revolution: Software at the > Speed of Thought > * CDs loaded with Rev examples and tools offered to all attendees > * Special Rev License pricing for attendees > Revolution Express will be offered for just $99 (retail price $149) > Revolution Studio will be offered for $299 (retail price $399) > > More information is available online at: http://techietours.com/Rev/ > > Those who wish to extend their learning holiday in sunny Malta are > also offered two > additional events which take place before and after the European > Revolution Conference. > > Want to know more? Please get in touch... > email: rev at TechieTours.com > iChat: techietours > > Kind regards, > > Jim Sims > Techie Tours > -- > Tech Conferences http://TechieTours.com > We make... > iBirthday http://EZPZapps.com/iB > SmartDog http://EZPZapps.com/SmartDog > Kartolina http://EZPZapps.com/kartolina > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From jacque at hyperactivesw.com Fri May 21 14:20:25 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 21 May 2004 13:20:25 -0500 Subject: Synchronized scrolling fields In-Reply-To: <38D4D9EA-AB21-11D8-BFCD-000D9350C9C2@videotron.ca> References: <20040521034815.653459300D0@mail.runrev.com> <38D4D9EA-AB21-11D8-BFCD-000D9350C9C2@videotron.ca> Message-ID: <40AE4869.8030207@hyperactivesw.com> On 5/21/04 7:20 AM, Gregory Lypny wrote: > The data field does have a vertical > grid, but I want the equivalent of a fixed or locked first line and > first column to be column and row labels respectively. So, not matter > how far down or across a user scrolls, they can always identify the row > and column they're viewing by looking at the labels. The labels > themselves can be hypertext that trigger handlers to sort the data. I usually create a separate header field for the both the top header and the side header. Then use either a single table field for the data, or several individual fields. Once you get it all set up, group the whole business and set the group to have both vertical and horizontal scrollbars. You don't need to script any scrolling commands, since the headers will scroll in sync along with the group. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Fri May 21 14:22:54 2004 From: dsc at swcp.com (Dar Scott) Date: Fri, 21 May 2004 12:22:54 -0600 Subject: deleting lines from a text file In-Reply-To: Message-ID: On Friday, May 21, 2004, at 09:20 AM, rand valentine wrote: > Could someone else verify this, so that I know it's a bug and not bad > karma > :-)? Thanks. I see this on OS X 10.2.8 using Revolution 2.2. The file does not seem to be modified. I tried this with an empty file and a five line file made with TextEdit. The file name from 'answer file' looks OK to me. I'd say, go ahead and bugzilla it. I think orkarounds have been suggested. For files not too large, I'd read it in, delete the line and write it out. I would not be surprised if other commands that modify containers have a similar problem with URL containers. It might be that this kind of thing is not really supported. Dar Scott From kray at sonsothunder.com Fri May 21 15:41:52 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 21 May 2004 14:41:52 -0500 Subject: How do I retrieve MIDI input? In-Reply-To: Message-ID: <010c01c43f6b$b0928760$6601a8c0@precision340> Thanks, Xavier, but I think you were referring to Christopher, who started this thread. :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > xbury.cs at clearstream.com > Sent: Friday, May 21, 2004 2:56 AM > To: How to use Revolution > Subject: RE: How do I retrieve MIDI input? > > > Ken, > > I can't help you for the Mac but for the PC, you can use > MIDI-OX which can do all you want with MIDI including merging > different inputs (USB or > MIDI) > into any number of channels... > > Output is also possible naturally... > > http://www.midiox.com > > enjoy > Xavier > > On 21.05.2004 09:30:05 use-revolution-bounces wrote: > >Have you looked at MidiPipe? > > > >http://www.macupdate.com/info.php/id/10541 > > > >It has an AppleScript Trigger that might help (I don't know > much about > Midi, > >but found this after a search)... > > > >Ken Ray > >Sons of Thunder Software > >Email: kray at sonsothunder.com > >Web Site: http://www.sonsothunder.com/ > > > > > >> -----Original Message----- > >> From: use-revolution-bounces at lists.runrev.com > >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf > Of Weise, > >> Christopher > >> Sent: Thursday, May 20, 2004 10:38 PM > >> To: 'use-revolution at lists.runrev.com' > >> Subject: How do I retrieve MIDI input? > >> > >> > >> Hello, > >> > >> I'm a two-year list-lurker and rev user, coming from a 10 year > >> attachment to HyperCard. I finally have a question for which I can > >> find no solution from the list and/or docs. (I've read > numerous MIDI > >> threads, but they seem to deal with output--formatting MIDI files, > >> playing back through QT, etc.) > >> > >> I want to capture raw MIDI input from an external source > (typically a > >> MIDI keyboard), connected via USB. I cannot assure that users will > >> have access to a USB-serial converter. On Macs, I want to > be able to > >> go through CoreMIDI; on PC, I don't know yet (Mac version comes > >> first...). The old HyperMIDI externals don't seem to work, > at least > >> in OSX. > >> > >> Should/Can I: > >> 1. Learn to write an external with my scripting-only (very meager > >> outside of > >> HyperTalk) programming experience? > >> > >> 2. Use AppleScript and/or AppleEvents? > >> > >> 3. Uncover some script, external, or other solution I've missed? > >> > >> 4. Find another alternative altogether? > >> > >> 5. Give up? > >> > >> Does anyone do this, or (perhaps) know of an apple-scriptable MIDI > >> utility from which I could retrieve the data and deal with > it in Rev > >> (only way I can think to do it...)? Thanks for any and all sage > >> advice. > >> > >> > >> --------------------------- > >> Chris Weise > >> Music and Fine Arts > >> Johnson C. Smith University > >> Charlotte, NC _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > > > > >_______________________________________________ > >use-revolution mailing list > >use-revolution at lists.runrev.com > >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 > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Fri May 21 16:05:38 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 21 May 2004 15:05:38 -0500 Subject: HyperCard Address Stack Conversion In-Reply-To: <1cf.217fb8c0.2ddee16f@aol.com> References: <1cf.217fb8c0.2ddee16f@aol.com> Message-ID: <40AE6112.4050005@hyperactivesw.com> On 5/20/04 11:37 PM, WebSense at aol.com wrote: > I have reviewed the Runtime Revolution archives, visited > numerous Runtime Revolution related Web sites, and talked to > several Runtime Revolution consulting firms as well as Runtime > Revolution technical support. No one has been able to offer a > commercial product or an off-the-shelf solution. Revolution is a developer's tool, so any solution would have to be in the form of a custom-made application or set of stacks. > I was led to believe that I could use Runtime Revolution to > migrate these HyperCard Address stacks from my Macintosh to my > ThinkPad. After downloading and installing Runtime Revolution > 2.2, I was able to convert my HyperCard Address stacks to > Runtime Revolution files. Prior to conversion I compacted the > stacks three times. However, I encountered several problems as > described below: > > 1. I tried printing an individual card using the Revolution File- > Print Card command. Revolution printed the card, but the > result was not readable. Revolution appears to be printing the > text multiple times with a slight offset, making the text > unreadable due to overlaid printing. Either that, or Revolution > has a problem with the fonts. This happens when a transparent image is laid over or under a text field. When Rev imports the address book's background image, it creates it with the white areas transparent. This interferes with the field's text display. The solution is to either remove the image entirely, or recreate it in a different form that doesn't overly the text. If the graphics are not important to you, it is easiest to just delete the image. > > 2. I tried generating a report using the Revolution Tools-Report > Builder command. However, I was not able to print a report. > When I click the Print Report button at the bottom right-hand > side of the dialogue box, nothing happens. It's hard to say what happened without being there, but this is usually easy to fix. Had you saved the stack to disk? Sometimes with imported HC stacks, you have to set the hcAddressing property to false for some actions to work properly. > > 3. The tried to search the card stack using the Revolution Edit- > Find and Replace command. This command opened the Find > and Replace dialogue window. However, when I enter a text > string in the Find field, and press the Find button, the system > always reports "0 objects found". This is true regardless of > whether I am searching the This Card, This Stack, or This > Stack File. There is a bug in this menu item somewhere; I've had trouble with it too occasionally. However, the built-in "find" commands that are imported with the address stack will work fine. You may need to alter their keyboard commands or put in a button for it, since the HC menus aren't imported with the rest of the stack. > > 4. I have inspected the scripts within the stack, and all of the ones > that I need are working. The problems that I am experiencing > are limited solely to printing cards, generating reports, and > searching cards for text strings. None of these are show-stoppers, and most are very easy to implement. You do, however, have to do a bit of coding. > > Given the above problems, is Runtime Revolution the right product > for the job? If so, how do I get around these problems? If not, do > you have any recommendations for a product that can satisfy my > requirements? Again, the requirements are very simple as shown > below: > > 1. Convert HyperCard "Address" stacks from the Macintosh to the PC > 2. Provide the ability to create, delete, modify, and search cards > 3. Provide the ability to print a single card or to print an entire > report of cards within the stack > > If you have a solution to this problem, please post your solution or > send me an email. I am willing to pay a reasonable price for an > off-the-shelf solution, but I am reluctant to engage in a consulting > contract to do customized work. I would prefer to use a standard > vendor product. I don't think you will find any pre-made product for this, as the demand is very low. I've done a few address stack conversions myself for individual clients, and the task is very straightforward. What I've done in the past is create a stack that has the ability to import the HyperCard address book data from an existing HC stack. The client then clones the original on disk, opens it, and imports data from one of the HC address stacks. The process is repeated until all the user's stacks are duplicated. Another option for you might be to use the Power Tools stack that ships with HyperCard. There is a text exporting utility in there that will write out all the card data to a text file using delimiters of your choice. You can then import that text file into any PC application or database you own. This solution would be totally free. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Fri May 21 17:03:36 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 21 May 2004 16:03:36 -0500 Subject: Modal-like dialog box without using "modal"? In-Reply-To: Message-ID: <012001c43f77$18b99490$6601a8c0@precision340> > I want to stop the user from doing anything else, i.e. I want the > dialog box to be "modal". But if I make the dialog box > modal, the make > thumbnail process stops running. Oh, one other possibility is to move the "make thumbnail" process *to* the modal dialog and leave the progress dialog modal... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Fri May 21 17:02:06 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 21 May 2004 16:02:06 -0500 Subject: Frontscript to simulate modal dialog In-Reply-To: <91863D12-AB16-11D8-9382-000A9580FCCE@backtalk.com> Message-ID: <011f01c43f76$e2b30390$6601a8c0@precision340> Frank, The only thing you can do about this AFAIK is to have a resumeStack handler on the other windows that have code that checks to see if the progress window is in open, and if so, to re-open the progress bar window (which will bring it to the front). You'll have an odd "toggle" sort of situation going on (where for a fraction of a second the dialog is submerged), but it'll keep people from messing up other windows. Another option is to use a palette window for your progress bar and have each "normal" window have a transparent button that sits in front of everything else on that window. Normally it is hidden, but when the progress bar is going it becomes visible. When the progress bar goes away, this button is hidden again. This prevents "submarining" of the progress window (since it's a palette), and also prevents clicks on the other windows (since the transparent button gets in the way). HTH, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Frank Leahy > Sent: Friday, May 21, 2004 6:04 AM > To: use-revolution at lists.runrev.com > Subject: Frontscript to simulate modal dialog > > > Hi, > > I tried Sarah's suggestion of creating a frontscript that > would allow a > progress dialog to act like a modal dialog does (can't bring other > windows to the front, etc.). Here's the script I tried: > > > on mouseDown > put the rect of window "Thumbnail Progress" into theRect > -- this is > the progress dialog window > put the screenMouseLoc into theLoc > if theLoc is within theRect then > pass mouseDown > else > beep > end if > end mouseDown > > For some reason this doesn't seem to work. I hear the beeps, but it > doesn't seem to stop the mouseDown's from going to other > windows, e.g. > I can still bring other windows to the front. > > Any suggestions? > > Thanks, > -- Frank > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From rjb at rz.uni-potsdam.de Fri May 21 16:52:45 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Fri, 21 May 2004 22:52:45 +0200 Subject: Palette redraw problem In-Reply-To: <40AE4585.4010801@hyperactivesw.com> References: <40AE4585.4010801@hyperactivesw.com> Message-ID: >On 5/21/04 11:25 AM, Scott Rossi wrote: > >>You've thrown down the gauntlet -- this sounds like a good challenge. >> >>Can you explain why the palette needs to disappear when not top most? > >Sure. The palette is a tool palette. Another substack is an object >editing area where the user can design stuff; mostly custom field >objects, line graphics, and text entry -- sort of a page layout >thing. The palette is only appropriate to that particular one-card >editing substack, and in fact, I don't want the tools available >elsewhere lest they start creating or removing objects in the cards >of the mainstack (and I don't want to write all the scripts that >would prevent that.) The editing stack and the palette are both >substacks of the main stack. > >So we have: > > myMainStack > | | > myTools myEditingStack > >When the editing substack opens, it needs to always have its tool >palette available. When it closes, the tool palette is closed. This >works, implemented with opencard and closecard handlers. If, >however, the user clicks back over to the mainstack, the tools >should also go away. This doesn't work consistently. If it did, >everything is solved. > >Second solution might be: Don't allow the user to suspend the >editing stack at all. If they can't suspend the editing stack, then >the suspend/resume problems don't exist. However, I can't make the >editing stack modal (or palette) because it won't allow object >editing if it is. I could leave it as modeless or toplevel, and try >to script blockages so that the user can't click on the main stack >(which I'm not sure is completely possible either,) except that >Windows users could still bring the mainstack forward via the >taskbar. > >Third possible solution: Make the editing stack into another card of >the mainstack. This would probably work, except that I don't think >it looks professional to have the main stack "disappear" during >editing, which is how it would look visually. I'd rather have a >separate editing window. > >I seem to have hit an impasse. If you want to undertake this >challenge, then I will enthusiastically root for you to win. :) > >-- >Jacqueline Landman Gay | jacque at hyperactivesw.com >HyperActive Software | http://www.hyperactivesw.com Yet another possible solution: build the tool palette directly into the editor window. The problem with the original solution can't be remedied easily as far I can see -- somehow an resumeStack message is not sent or sent to wrong stack. Robert Brenstein From graham.samuel at wanadoo.fr Fri May 21 16:52:27 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Fri, 21 May 2004 22:52:27 +0200 Subject: QuickTime capabilities question Message-ID: <6.1.0.6.2.20040521224013.01d59470@pop3.blueyonder.co.uk> On Thu, 20 May 2004 21:47:10 -0700 (PDT), Erik Hansen wrote: >--- Graham Samuel >wrote: > > I found out that you can't force > > Windows users to install QT, but that's > > another story... > >so what do you use, Windows Media Player? > >brimming with curiosity, Hi Erik Well, for one reason and another (like I had lots of trouble with Animated GIFs, and since I develop cross-platform apps I could hardly expect Mac users to use WMP, even though it is available on the Mac platform), I opted for a 'grow your own' solution, with generous help from this list. Basically, my 'movies' are just sequences of images shown via the button-icon mechanism of RunRev, and the accompanying sounds are .wav files which can be played as audioclips, looping along with the movies. Once I'd read Dar Scott's message path tutorial, I found it pretty easy to run my animations forwards and backwards at different speeds, and to run more than one simultaneously (all stuff I needed); the sounds OTOH were rather tedious, since if for example I have a bell ringing and want to slow it down, I want the ringing to go more slowly and sound a deeper note, as would happen if a real electric bell was running out of juice. This is easy with QT, but with my method I just have to have a different .wav file for each required speed. I don't think WMP would have been any better on sound, BTW. Doubtless this approach wouldn't work with real movies - i.e. films with lots of photographic-style frames and the need for clever codecs and completely synched sound, but in my rather narrow case it works really well - and since I gave up the animated GIFs, the app has got smaller, too. HTH Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From graham.samuel at wanadoo.fr Fri May 21 17:22:27 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Fri, 21 May 2004 23:22:27 +0200 Subject: QuickTime capabilities question Message-ID: <6.1.0.6.2.20040521231000.01d28160@pop3.blueyonder.co.uk> On Thu, 20 May 2004 21:57:38 -0700, Richard Gaskin wrote: >Graham Samuel wrote: > > I found out that you can't force > > Windows users to install QT, but that's > > another story... > >Of course you can't force anyone to install anything, but if the >benefits are compelling enough it's not hard to get users to choose to >install QT, and even easier if you get the free license from Apple to >include the QT installer on your product's CD. With the HyperRESEARCH >product I make for ResearchWare we haven't had a single complaint from >Win users about installing QT; given the wide range of formats it allows >our product to support they're often glad we use it. > >But of course acceptance will depend on the market the software >addresses. What sort of audience are you finding resistance to QT in? UK Schools - very few have the time or inclination to go through more than the minimum installation process, especially for a relatively inexpensive product. Of course here and there, there are highly IT-literate schools or proper IT departments who would be responsible for the installation work and for the policy decision to install QT, perhaps centrally, but you can't count on it. This is the advice I get from my publisher who is in touch with literally thousands of state (=publicly funded) schools in the UK. A further insight is that these teachers are so hard-pressed that apart from the relative few who take a direct interest in computers, they will seldom feel able to take the time to understand any intricate functionality in a PC application, even if an investment of understanding would in the end lead to a reduction in time and effort. It's a tough world out there. Of course YMMV Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From graham.samuel at wanadoo.fr Fri May 21 17:42:38 2004 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Fri, 21 May 2004 23:42:38 +0200 Subject: Catastrophic effect of a corrupt image Message-ID: <6.1.0.6.2.20040521233330.01d17a70@pop3.blueyonder.co.uk> Just in case this happens to other listers, I thought I'd mention that I have had a problem with one of my apps for a very long time, in that although it runs on Macs and on PCs with XP (and probably 2000 and NT), it won't run on PCs with Windows 98 or ME (there are plenty of these still around). The program halts while starting up, either with an illegal instruction or a resource crisis. This problem has just been **solved** for me by the RunRev support team, and the cause was a corrupt image file (originally a GIF), which was still displaying correctly in some OSs, but caused a crash in the others. I had no way of detecting this myself (since it was just one of a hundred or so images, all of which looked fine in my own test environment - and I have no understanding of the innards of either Windows or the RunRev engine), but if ever the same symptoms crop up, I'll know what to look for. I have been advised that PNGs are 'safer' than GIFs, so in future I guess I will be using more of them. HTH someone now or in the future Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From frank at backtalk.com Fri May 21 20:01:43 2004 From: frank at backtalk.com (Frank Leahy) Date: Sat, 22 May 2004 01:01:43 +0100 Subject: Palette redraw problem In-Reply-To: <20040521214250.CA56693010A@mail.runrev.com> References: <20040521214250.CA56693010A@mail.runrev.com> Message-ID: <355CE648-AB83-11D8-9382-000A9580FCCE@backtalk.com> On May 21, 2004, at 10:42 PM, use-revolution-request at lists.runrev.com wrote: > Recently, "J. Landman Gay" wrote: > >>>> I have stack that opens a tool palete. I want the palette to >>>> disappear >>>> when the stack is not frontmost, and reappear when it is. I >>>> scripted a >>>> suspendStack handler and a resumeStack handler to manage this: >>>> >>>> on suspendStack >>>> hide palette "myPalette" >>>> end suspendStack >>>> >>>> on resumeStack >>>> show palette "myPalette" >>>> end resumeStack >>>> >>>> This works exactly every other time the stack is suspended; that is, >>>> the first time it hides, the second time it doesn't. > > Sarah, Is there a suspendStack and resumeStack in the palette? What happens if you add "pass suspendStack" and "pass resumeStack"? What about locking and unlocking messages around each hide/show call? -- Frank From frank at backtalk.com Fri May 21 20:06:24 2004 From: frank at backtalk.com (Frank Leahy) Date: Sat, 22 May 2004 01:06:24 +0100 Subject: Frontscript to simulate modal dialog In-Reply-To: <20040521214250.CA56693010A@mail.runrev.com> References: <20040521214250.CA56693010A@mail.runrev.com> Message-ID: Ken, > The only thing you can do about this AFAIK is to have a resumeStack > handler > on the other windows that have code that checks to see if the progress > window is in open, and if so, to re-open the progress bar window > (which will > bring it to the front). You'll have an odd "toggle" sort of situation > going > on (where for a fraction of a second the dialog is submerged), but > it'll > keep people from messing up other windows. I've done that, and it works some of the time, but not all the time. I may have to add a timer to check that the progress window has actually been brought forward after 1 second or so. > > Another option is to use a palette window for your progress bar and > have > each "normal" window have a transparent button that sits in front of > everything else on that window. Normally it is hidden, but when the > progress > bar is going it becomes visible. When the progress bar goes away, this > button is hidden again. This prevents "submarining" of the progress > window > (since it's a palette), and also prevents clicks on the other windows > (since > the transparent button gets in the way). I'd thought of the transparent button, but not using it in conjunction with a palette because I'd assumed that the palette would have a palette-like border. But I'll try that, thanks. By the way, I'm surprised that this frontscript doesn't actually trap any mouseDown's, is anyone else surprised? on mouseDown put the rect of window "Thumbnail Progress" into theRect -- this is the progress dialog window put the screenMouseLoc into theLoc if theLoc is within theRect then pass mouseDown else beep end if end mouseDown Best, -- Frank From kray at sonsothunder.com Fri May 21 20:16:58 2004 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 21 May 2004 19:16:58 -0500 Subject: Frontscript to simulate modal dialog In-Reply-To: Message-ID: <014601c43f92$1cf32b50$6601a8c0@precision340> > By the way, I'm surprised that this frontscript doesn't actually trap > any mouseDown's, is anyone else surprised? Actually, it traps the *message*, not the *action*... so I'm not surprised, but I wish there were some way to trap the *action* as well... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From rjb at rz.uni-potsdam.de Fri May 21 20:44:40 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Sat, 22 May 2004 02:44:40 +0200 Subject: Palette redraw problem In-Reply-To: <355CE648-AB83-11D8-9382-000A9580FCCE@backtalk.com> References: <20040521214250.CA56693010A@mail.runrev.com> <355CE648-AB83-11D8-9382-000A9580FCCE@backtalk.com> Message-ID: > >Is there a suspendStack and resumeStack in the palette? What >happens if you add "pass suspendStack" and "pass resumeStack"? What >about locking and unlocking messages around each hide/show call? > >-- Frank Passing does not help since it falls down not side-way to another stack. Locking/unlocking won't help if a message is not sent. Robert From shaosean at unitz.ca Fri May 21 21:25:22 2004 From: shaosean at unitz.ca (shaosean at unitz.ca) Date: Fri, 21 May 2004 21:25:22 -0400 Subject: problems with "send" and macosx .3.3 In-Reply-To: <6E6FEFAE-AA70-11D8-99D3-000A9567A3E6@swcp.com> References: <6E6FEFAE-AA70-11D8-99D3-000A9567A3E6@swcp.com> Message-ID: thanks for the alternatives, i'll try the last one.. but the original question (problem/concern/??) still remains.. why does the code function properly only when my system-level password is in the passed data? -Sean -----Original Message----- > put tTransactionDataA["transaction"] into trans > put sRegisteredTransactionsA[trans] into transDest > send "trans tTransactionData" to stack transDest in 0 From shaosean at unitz.ca Fri May 21 21:27:21 2004 From: shaosean at unitz.ca (shaosean at unitz.ca) Date: Fri, 21 May 2004 21:27:21 -0400 Subject: problems with "send" and macosx .3.3 In-Reply-To: <369B99C2-AA74-11D8-99D3-000A9567A3E6@swcp.com> References: <369B99C2-AA74-11D8-99D3-000A9567A3E6@swcp.com> Message-ID: sorry, my delimiters are numToChar(1) and numToChar(2).. logins/passwords are iso-8859-1 (aka us-ascii) chars only.. -----Original Message----- > Could the passwords that don't work include any of the delimiters in > tTransactionData? From ambassador at fourthworld.com Fri May 21 23:09:06 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 21 May 2004 20:09:06 -0700 Subject: Palette redraw problem In-Reply-To: References: Message-ID: <40AEC452.90701@fourthworld.com> Jacque wrote: > I have stack that opens a tool palete. I want the palette to disappear > when the stack is not frontmost, and reappear when it is. When faced with a mysterious issue related to OS events I've found if nothing else works sometimes it's useful to add a timer to allow the OS to complete whatever it's doing before doing your next thing. This seems to work okay from a frontScript: on resumeStack send "UpdatePal" to me in 100 millisecs end resumeStack on UpdatePal if the short name of the topStack is "sub" then show stack "pal" else hide stack "pal" end UpdatePal -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From scott at tactilemedia.com Sat May 22 01:12:03 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 21 May 2004 22:12:03 -0700 Subject: Palette redraw problem In-Reply-To: <40AE4585.4010801@hyperactivesw.com> Message-ID: Recently, "J. Landman Gay" wrote: >> You've thrown down the gauntlet -- this sounds like a good challenge. >> >> Can you explain why the palette needs to disappear when not top most? > > Sure. The palette is a tool palette. Another substack is an object > editing area where the user can design stuff; mostly custom field > objects, line graphics, and text entry -- sort of a page layout thing. > The palette is only appropriate to that particular one-card editing > substack, and in fact, I don't want the tools available elsewhere lest > they start creating or removing objects in the cards of the mainstack > (and I don't want to write all the scripts that would prevent that.) The > editing stack and the palette are both substacks of the main stack. > I seem to have hit an impasse. If you want to undertake this challenge, > then I will enthusiastically root for you to win. :) OK, I believe I've met the challenge, using the relocation technique. The result is a bit like the behavior of the Mac app GraphicConverter. Try this (message box): go url "http://www.tactilemedia.com/download/palettetest.rev" Create a new main stack and click back and forth between the palettetest stack and your empty main stack (or the message box). The palette window should hide and display depending on whether the test stack is front-most, and you should be able to click/type within the palette while it is visible. See the card script of the test stack for details. Appears to work as desired on OSX (not tested on Windows). Do I win? Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From erikhans08 at yahoo.com Sat May 22 01:17:25 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Fri, 21 May 2004 22:17:25 -0700 (PDT) Subject: QuickTime capabilities question (naive response) In-Reply-To: <6.1.0.6.2.20040521231000.01d28160@pop3.blueyonder.co.uk> Message-ID: <20040522051725.48024.qmail@web61108.mail.yahoo.com> --- Graham Samuel > > > I found out that you can't force > > > Windows users to install QT, but that's > > > another story... > > > >Of course you can't force anyone to install > anything, but if the > >benefits are compelling enough it's not hard > to get users to choose to > >install QT, and even easier if you get the > free license from Apple to > >include the QT installer on your product's CD. > With the HyperRESEARCH > >product I make for ResearchWare we haven't had > a single complaint from > >Win users about installing QT; given the wide > range of formats it allows > >our product to support they're often glad we > use it. > > > >But of course acceptance will depend on the > market the software > >addresses. What sort of audience are you > finding resistance to QT in? > > UK Schools - very few have the time or > inclination to go through more than > the minimum installation process, especially > for a relatively inexpensive > product. Of course here and there, there are > highly IT-literate schools or > proper IT departments who would be responsible > for the installation work > and for the policy decision to install QT, > perhaps centrally, but you can't > count on it. This is the advice I get from my > publisher who is in touch > with literally thousands of state (=publicly > funded) schools in the UK. A > further insight is that these teachers are so > hard-pressed that apart from > the relative few who take a direct interest in > computers, they will seldom > feel able to take the time to understand any > intricate functionality in a > PC application, even if an investment of > understanding would in the end > lead to a reduction in time and effort. It's a > tough world out there. the naif asks: is there any way to automate the whole deal and put it in a button "Install Me!" along the lines of Alice in the Looking Glass? Erik Hansen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Domains ? Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer From scott at tactilemedia.com Sat May 22 01:19:11 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 21 May 2004 22:19:11 -0700 Subject: Palette redraw problem In-Reply-To: <40AEC452.90701@fourthworld.com> Message-ID: Recently, "Richard Gaskin" wrote: > When faced with a mysterious issue related to OS events I've found if > nothing else works sometimes it's useful to add a timer to allow the OS > to complete whatever it's doing before doing your next thing. Arg, I just read this after posting a more complicated solution. Hopefully simplicity is the solution. :-) Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From psahores at easynet.fr Sat May 22 04:20:07 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Sat, 22 May 2004 10:20:07 +0200 Subject: Imported Video Clip Won't Play In-Reply-To: <0AAA84B1-AB44-11D8-8D2C-000393A1CAAA@centurytel.net> References: <20040521034815.80A2A9300D3@mail.runrev.com> <0AAA84B1-AB44-11D8-8D2C-000393A1CAAA@centurytel.net> Message-ID: Hi Roger, This could have to do with the fact that your movie contents could be saved as a multiplexed track (video and sound at once). If so, you will need to use a demux utility to split the multiplexed track as two separate new tracks, the first one for the video and the second for the sound. Else, if the video codec is "avi", you will need to export the tracks to get able to manipulate video and sound tracks from inside the QT tools, including the Rev's QT ones. Best, Pierre Le 21 mai 04, ? 18:29, Roger Guay a ?crit : > Thank you, Pierre. Your solution works. I seem to be having other > problems with this particular file which is not RunRev related. It > seems that I can import this file into Quicktime Pro and export it to > a ".mov" file OK, but if I then try to edit the converted file, I lose > the sound. > > Thanks for your help, Roger > > >> Message: 3 >> Date: Thu, 20 May 2004 21:16:13 +0200 >> From: Pierre Sahores >> Subject: Re: Imported Video Clip Won't Play >> To: How to use Revolution >> Message-ID: <28F0ED1A-AA92-11D8-9072-000A95C61E96 at easynet.fr> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >> >> Hi Roger, >> >> Does the "Movie.mpg" open under QuickTime Payer ? If yes, save it, >> under QT Pro or equivalent, as "Movie.mov" or as "Movie.mp4". Than, it >> will run OK from your Rev's player :) >> >> Best, Pierre >> >> Le 20 mai 04, ? 21:01, Roger Guay a ?crit : >> >>> Hello List >>> >>> I have a one card stack into which I imported a QuickTime video clip >>> titled "Movie.mpg". On the card I have a button with a mouseUp >>> handler and the line: "play videoClip "Movie.mpg" at 200, 100". All >>> I >>> get is about 2 minutes of the rotating color wheel cursor followed by >>> a black 2-inch vertical band on the card. The movie file size is 3.2 >>> MB. Any ideas? BTW, I tried removing the ".mpg" from both the >>> script >>> and the name of the video clip but to no avail . . . same result! >>> >>> Thanks, Roger >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From revlists at canelasoftware.com Sat May 22 11:58:34 2004 From: revlists at canelasoftware.com (Mark Talluto) Date: Sat, 22 May 2004 08:58:34 -0700 Subject: QuickTime capabilities question (naive response) In-Reply-To: <20040522051725.48024.qmail@web61108.mail.yahoo.com> References: <20040522051725.48024.qmail@web61108.mail.yahoo.com> Message-ID: On May 21, 2004, at 10:17 PM, Erik Hansen wrote: > the naif asks: > is there any way to automate the whole deal > and put it in a button "Install Me!" > along the lines of Alice in the Looking Glass? > > Erik Hansen You can put the whole installer into a custom property and spit it out, run the installer, and delete it when it is all over. I have done this a few times for installing fonts. -- Best regards, Mark Talluto http://www.canelasoftware.com From ambassador at fourthworld.com Sat May 22 12:09:53 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 22 May 2004 09:09:53 -0700 Subject: QuickTime capabilities question (naive response) In-Reply-To: References: <20040522051725.48024.qmail@web61108.mail.yahoo.com> Message-ID: <40AF7B51.1080702@fourthworld.com> Mark Talluto wrote: > On May 21, 2004, at 10:17 PM, Erik Hansen wrote: >> is there any way to automate the whole deal >> and put it in a button "Install Me!" >> along the lines of Alice in the Looking Glass? > > You can put the whole installer into a custom property and spit it out, > run the installer, and delete it when it is all over. I have done this > a few times for installing fonts. An excellent suggestion. Also, most installers allow you to launch other installers as part of the installation sequence. So even if just another file on the CD, it's fairly common for the QT installer to be piggy-backed this way as just another step in the installation. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From jacque at hyperactivesw.com Sat May 22 12:35:56 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 22 May 2004 11:35:56 -0500 Subject: Palette redraw problem In-Reply-To: <40AEC452.90701@fourthworld.com> References: <40AEC452.90701@fourthworld.com> Message-ID: <40AF816C.6050609@hyperactivesw.com> On 5/21/04 10:09 PM, Richard Gaskin wrote: > When faced with a mysterious issue related to OS events I've found if > nothing else works sometimes it's useful to add a timer to allow the OS > to complete whatever it's doing before doing your next thing. > > This seems to work okay from a frontScript: > > > on resumeStack > send "UpdatePal" to me in 100 millisecs > end resumeStack > > on UpdatePal > if the short name of the topStack is "sub" then > show stack "pal" > else hide stack "pal" > end UpdatePal This seems to mostly work. Thanks. I didn't put it into a frontscript, I just put it into the mainstack's stack script. Is there any particular reason to use a frontscript? I don't completely trust it yet, since if you try it without the delay it crashes the engine. Also, I am getting a flashing field when clicking back to the main stack -- it looks like something is repeatedly focusing in on the first field on the card, which tells me the card is getting and losing the focus in a recursive loop. This isn't consistent but it looks really weird when it happens. Putting blocking suspend/resumestack handlers in the palette doesn't help. What seems to be going on is a recursive "resumestack" somewhere. But this is the closest thing to a working solution I've found so far, so thanks. I think we're close. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat May 22 13:22:30 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 22 May 2004 12:22:30 -0500 Subject: Palette redraw problem In-Reply-To: References: Message-ID: <40AF8C56.50007@hyperactivesw.com> On 5/22/04 12:12 AM, Scott Rossi wrote: > OK, I believe I've met the challenge, using the relocation technique. The > result is a bit like the behavior of the Mac app GraphicConverter. > > Try this (message box): > > go url "http://www.tactilemedia.com/download/palettetest.rev" > > Create a new main stack and click back and forth between the palettetest > stack and your empty main stack (or the message box). The palette window > should hide and display depending on whether the test stack is front-most, > and you should be able to click/type within the palette while it is visible. > > See the card script of the test stack for details. Appears to work as > desired on OSX (not tested on Windows). > > Do I win? YES!! You win! :) By moving rather than hiding the palette, there are no recursive resume/suspend messages sent, which avoids the recursive messaging problems. But here is the weird part: the movestack handler you included is absolutely crucial. There does not even have to be a script in it; the main thing is that the movestack message is prevented from traversing the hierarchy. I commented out the entire movestack handler in your example and got the every-other-time palette hiding behavior. Leaving the movestack handler enabled, even if it has no contents and is just a blocking handler, eliminates the problem and the palette disappears consistently every time. This is really strange, because the movestack block is required even if you don't move the substack and you are just clicking over to the main stack. It looks like a "movestack" message is sent whenever a stack is suspended. That doesn't sound right. So, the combination of moving the palette out of view rather than hiding it, along with blocking the "movestack" message, seems to do the trick. I hereby present you with the Wizard of the Weird Handler Workarounds Award. :) Now I guess I'll have to ask the team about that strange movestack message. I don't think it should be in there, and it cost me a couple of days. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat May 22 14:10:02 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 22 May 2004 13:10:02 -0500 Subject: Palette redraw problem In-Reply-To: <40AF8C56.50007@hyperactivesw.com> References: <40AF8C56.50007@hyperactivesw.com> Message-ID: <40AF977A.70009@hyperactivesw.com> I wrote: > > By moving rather than hiding the palette, there are no recursive > resume/suspend messages sent, which avoids the recursive messaging > problems. But here is the weird part: the movestack handler you included > is absolutely crucial. There does not even have to be a script in it; > the main thing is that the movestack message is prevented from > traversing the hierarchy. Well, just to clear up the record, what I wrote here is wrong. The movestack message isn't involved. I was still getting every-other-time palette displays after installing Scott R's script. (Possibly because my editing stack is a substack of another one, where in his example we're working with a mainstack?) At any rate, adding this to the palette card script fixed it: on suspendstack send "suspendstack" to cd 1 of stack "sub" end suspendstack So now it works. Or at least, I think it does. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From erikhans08 at yahoo.com Sat May 22 15:06:28 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Sat, 22 May 2004 12:06:28 -0700 (PDT) Subject: what makes a file "installed"? In-Reply-To: <40AF7B51.1080702@fourthworld.com> Message-ID: <20040522190628.5989.qmail@web61108.mail.yahoo.com> > Mark Talluto wrote: > > On May 21, 2004, at 10:17 PM, Erik Hansen > wrote: > >> is there any way to automate the whole deal > >> and put it in a button "Install Me!" > >> along the lines of Alice in the Looking > Glass? > > > > You can put the whole installer into a custom > property and spit it out, > > run the installer, and delete it when it is > all over. I have done this > > a few times for installing fonts. > > An excellent suggestion. > > Also, most installers allow you to launch other > installers as part of > the installation sequence. So even if just > another file on the CD, it's > fairly common for the QT installer to be > piggy-backed this way as just > another step in the installation. > > -- > Richard Gaskin > Fourth World Media Corporation what makes a file "installed" as opposed to "loaded" or "copied to" the desktop? thank you, Erik Hansen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Domains ? Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer From janschenkel at yahoo.com Sat May 22 15:35:08 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat, 22 May 2004 12:35:08 -0700 (PDT) Subject: Table Object In-Reply-To: Message-ID: <20040522193508.24718.qmail@web60509.mail.yahoo.com> --- Gregory Lypny wrote: > Hi Everyone, > > Can the cell editing property of a table object be > set by script? I > can't seem to find such a property in the online > documentation. I > would like users to be able to toggle a field from > being editable to > not and vice versa. > > Greg > Hi Greg, Just noticed no one had answered this yet, so had a peek at the revTable frontscript ; you can toggle the cREVTable["celledit"] property. -- set the cREVTable["celledit"] of field "MyTable" \ to the hilite of btn "EditMyTable" -- Looking at the frontcript, there is even a way to lock a specific range of columns ; suppose you wanted to lock columns 1 to 4 as well as column 7 : -- set the cREVTable["columnlock"] of field "MyTable" \ to "1-4,7" -- Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Domains ? Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer From gizmotron at earthlink.net Sat May 22 15:42:23 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat, 22 May 2004 12:42:23 -0700 Subject: Undocumented Transcript & Valentina ? In-Reply-To: <20040522193508.24718.qmail@web60509.mail.yahoo.com> Message-ID: <25910438-AC28-11D8-9CD9-000A95859272@earthlink.net> I see this assert command and I wonder what it is. Example code from Valentina Example: put assert("CREATE",Valentina("DataBase_CREATE",theFile,4)) into dbRef put assert("MakeNewBaseObject",Valentina("DataBase_MakeNewBaseObject",dbRef, "CUSTOMERS")) into boRef put Valentina("BaseObject_MakeNewField",boRef,"CUSTOMER_ID","ULong") into res get assert( "MakeNewField(Customer_ID)", res) This assert command works I was just wondering about its use. Thanks, Mark From janschenkel at yahoo.com Sat May 22 16:04:23 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat, 22 May 2004 13:04:23 -0700 (PDT) Subject: Undocumented Transcript & Valentina ? In-Reply-To: <25910438-AC28-11D8-9CD9-000A95859272@earthlink.net> Message-ID: <20040522200423.26924.qmail@web60506.mail.yahoo.com> --- Mark Brownell wrote: > I see this assert command and I wonder what it is. > > Example code from Valentina Example: > > put > assert("CREATE",Valentina("DataBase_CREATE",theFile,4)) > into dbRef > > put > assert("MakeNewBaseObject",Valentina("DataBase_MakeNewBaseObject",dbRef, > > "CUSTOMERS")) into boRef > > put > Valentina("BaseObject_MakeNewField",boRef,"CUSTOMER_ID","ULong") > > into res > get assert( "MakeNewField(Customer_ID)", res) > > This assert command works I was just wondering about > its use. > > Thanks, > > Mark > Hi Mark, My best guess is that the assert() function checks if there's an error in the result and may just throw an exception if that's the case. But I do wonder where you read it, as it's not in the VXCMD Reference ? Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Domains ? Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer From gizmotron at earthlink.net Sat May 22 18:24:45 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat, 22 May 2004 15:24:45 -0700 Subject: Undocumented Transcript & Valentina ? In-Reply-To: <20040522200423.26924.qmail@web60506.mail.yahoo.com> Message-ID: On Saturday, May 22, 2004, at 01:04 PM, Jan Schenkel wrote: > Hi Mark, > > My best guess is that the assert() function checks if > there's an error in the result and may just throw an > exception if that's the case. > But I do wonder where you read it, as it's not in the > VXCMD Reference ? > > Jan Schenkel. What a dim-watt bulb! ... that's stupid in geekster. I must have created hundreds of functions in the last few months. I'm phasing back into the O-zone again.... Here it is from the card scripts: > function assert theLabel,theText,condition > if (offset("ERROR",theText) = 1) then > answer theLabel&":"&theText > exit to Hypercard > else > if (condition is not empty) then > put replace(condition,"[[result]]","theText") into condition > if (value(condition) = "TRUE") then return theText > else > answer theLabel&":"&theText&return&"Failed Assert" > exit to Hypercard > end if > else > return theText > end if > end if > end assert Time to put my toys back in their box and take a nap... :-) Thanks, Mark From capellan2000 at yahoo.com Sat May 22 20:33:00 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 22 May 2004 17:33:00 -0700 (PDT) Subject: Palette redraw problem In-Reply-To: <20040522160013.21B8C9300F8@mail.runrev.com> Message-ID: <20040523003300.97333.qmail@web40503.mail.yahoo.com> on Fri, 21 May 2004 Scott Rossi wrote: > Arg, I just read this after posting a more > complicated solution. Hopefully > simplicity is the solution. :-) Hi Scott, Your PaletteTest stack works fine in Windows 98. I read the scripts and i do not found them a "complicated solution". ;-) I hope that in the future exists a series of webpages with step by step visual "How-to" tutorials and code repository for the creation of Interfaces in RR/MC. In this list there are many approaches to put interfaces into applications, so it'll be mind and eye opening to have a dedicated place. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! Domains ? Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer From mail at richard-hillen.de Sun May 23 14:46:37 2004 From: mail at richard-hillen.de (R. Hillen) Date: Sun, 23 May 2004 20:46:37 +0200 Subject: revMail NewLine Error with Mac OS 9? Message-ID: <857C55DA-ACE9-11D8-88D2-000393854988@richard-hillen.de> Hello list, With RunRev 2.1.2, OSX I tried to use the RevMail-Command: -------- on mouseup put "line1" & return & "line2" into MessageBody RevMail "Hans at Wurst.org",,"Test",MessageBody end mouseup -------- I made Standalones for Mac OSX and Mac OS PPC. The Standalone works fine on Max OSX 10.3.3; But on Mac OS9 the body of the Message is "Line1Line2"; there is only one line, no NewLine. Do you have any ideas? Thank you. Richard. From laguer at ucs.orst.edu Sun May 23 14:55:39 2004 From: laguer at ucs.orst.edu (Rich Lague) Date: Sun, 23 May 2004 11:55:39 -0700 Subject: putting data into a table In-Reply-To: <20040523003300.97333.qmail@web40503.mail.yahoo.com> Message-ID: Can I just somehow paste a tab-delimited text file, (saved that way in Excel), into a table field? When I try this all the data goes into the first cell--there is no recognition of the tabs so that data is put into different cells on the same line. There is also no recognition of the returns so that new records are placed on the next line. Is there a manual way to paste the file? Is there a way to do this with a script? Thanks! Rich Lague From janschenkel at yahoo.com Sun May 23 15:14:47 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 23 May 2004 12:14:47 -0700 (PDT) Subject: putting data into a table In-Reply-To: Message-ID: <20040523191447.27510.qmail@web60507.mail.yahoo.com> --- Rich Lague wrote: > Can I just somehow paste a tab-delimited text file, > (saved that way in > Excel), into a table field? When I try this all the > data goes into the > first cell--there is no recognition of the tabs so > that data is put > into different cells on the same line. There is also > no recognition of > the returns so that new records are placed on the > next line. > > Is there a manual way to paste the file? Is there a > way to do this with > a script? > > Thanks! > > Rich Lague > Hi Rich, If you've turned the field's vertical grid on, then something like this should work fine : -- on mouseUp answer file "Pick a tab-delimited text file" if it is empty then exit mouseUp put URL("file:" & it) into field "MyTable" end mouseUp -- Or is this what you're doing and is it producing unexpected results ? Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! Domains ? Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer From psahores at easynet.fr Sun May 23 15:31:51 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Sun, 23 May 2004 21:31:51 +0200 Subject: Fwd: Thank you. Message-ID: Good Evening Roger, As long as i don't use them, i can't say witch one to choose. Under MacOS X, mpgtxwrap seems to do what is expected. Best, Pierre Le 23 mai 04, ? 18:19, Roger Guay a ?crit : > Thank you, Pierre. I've given up on this piece of video for now as > it's easier for me to have my customer supply what I need. For future > reference, where might I find a demux utility? Again, thank you for > your help. > > Cheers, Roger > > >> Hi Roger, >> >> This could have to do with the fact that your movie contents could be >> saved as a multiplexed track (video and sound at once). If so, you >> will >> need to use a demux utility to split the multiplexed track as two >> separate new tracks, the first one for the video and the second for >> the >> sound. Else, if the video codec is "avi", you will need to export the >> tracks to get able to manipulate video and sound tracks from inside >> the >> QT tools, including the Rev's QT ones. >> >> Best, Pierre > > From webmaster at dreamscapesoftware.com Sun May 23 15:59:02 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Sun, 23 May 2004 21:59:02 +0200 Subject: MetaCard to Rev - jpegQuality Message-ID: <014801c44100$6aa15560$8487d80a@WorkPC> Has anything changed with the jpegQuality command since 2.0? I just released JPEGCompress 2.0 and my father (a faithful user) noticed that the same image in both versions looks different at the same compression level. However, when I did it on my system, they looked exactly the same. Any ideas? I know that Revolution is EXTREMELY sensitive when it comes to Graphic Cards, but this has to be something other than that issue. Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress 2.0 http://www.dreamscapesoftware.com From tzvi at realtorsgroup.us Sun May 23 17:33:35 2004 From: tzvi at realtorsgroup.us (tzvi) Date: Sun, 23 May 2004 17:33:35 -0400 Subject: grouping multiple buttons Message-ID: Hello, every body . I'm trying to group multiple buttons via script but unsuccessful on command repeat for each line ml in fld "abc_" put the name of button ml && "and "&&space into mVar end repeat group mVar -- problem with var doesn't get the value instead gets the object itself . Below is the message. set the backgroundBehavior of last group to true end command executing at 5:31:14 PM Type Chunk: error in object expression Object kiosk Line group vSelectedButton Hint button "Appetizers" and button "Beverages" and button "Breakfast" and button "Dessert" and button "Main Dish" and button "Side Dishes" and button "Soup" Thanks. From cteno4 at earthlink.net Sun May 23 19:16:44 2004 From: cteno4 at earthlink.net (cteno4) Date: Sun, 23 May 2004 19:16:44 -0400 Subject: QuickTime capabilities question (naive response) Message-ID: <20040523231138.5F2E6930060@mail.runrev.com> One thing to think about including the quicktime installer is the Apple legal stuff. They force you to have your product only use the most current version of quicktime (ie if someone has an older version your product should not run with it, but force the installation of the newer version of quicktime. Also if you do another pressing of your disc at a later date and there is a new version of quicktime you use to have to redo the installer (and of course the testing and compatibility questions come up) for the second pressing. While you can probably skirt under apple's radar on this sometimes, they do have you sign your life away with the agreements on all of this. Its understandable that they want to foster as much updating of quicktime technology installed out there as possible, but this does cause problems with schools and other situations that have very frozen operating system levels or installation restricitions. Almost all the stuff i do with quicktime works fine with versions 2 or 3 back, so i can hadle older systems w/o forcing them to upgrade the qt and the hastles that might come along with that. its worse on the pc end since some authoring systems required a dll only present in one version of quicktime to work. it created a sitiuation where you had to install the older version of qt then install the newer version just to get the one old needed dll from the older qt... also if you have your own installer on a cd (for anything) it must also activate the quicktime installer app if that version of qt is not present. i love apple and quicktime, but these installation issues makes smaller projects a real hastle since the extra work to utilize the quicktime installer and the restrictions it puts on users usually causes us to just require the user download or install some sort of quicktime (within versions we know works). the testing of installers is a pain, since to do it right you have to have clean systems each time you do it and that takes work setting up or going to a testing house to have done. these days broadband is around enough to usually say its ok to pass that onto your users if its not a big budget project that can hadle the load. cheers, jeff use-revolution-request at lists.runrev.com wrote on 5/23/04 12:00 PM >From: Richard Gaskin >Subject: Re: QuickTime capabilities question (naive response) >To: How to use Revolution >Message-ID: <40AF7B51.1080702 at fourthworld.com> >Content-Type: text/plain; charset=us-ascii; format=flowed > >Mark Talluto wrote: >> On May 21, 2004, at 10:17 PM, Erik Hansen wrote: >>> is there any way to automate the whole deal >>> and put it in a button "Install Me!" >>> along the lines of Alice in the Looking Glass? >> >> You can put the whole installer into a custom property and spit it out, >> run the installer, and delete it when it is all over. I have done this >> a few times for installing fonts. > >An excellent suggestion. > >Also, most installers allow you to launch other installers as part of >the installation sequence. So even if just another file on the CD, it's >fairly common for the QT installer to be piggy-backed this way as just >another step in the installation. Jeffrey H. Reynolds 6620 Michaels Dr. Bethesda, MD 20817 301.469.8562 email: cteno4 at earthlink.net cteno4 at aol.com From ambassador at fourthworld.com Sun May 23 19:30:53 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 23 May 2004 16:30:53 -0700 Subject: QuickTime capabilities question (naive response) In-Reply-To: <20040523231138.5F2E6930060@mail.runrev.com> References: <20040523231138.5F2E6930060@mail.runrev.com> Message-ID: <40B1342D.70602@fourthworld.com> cteno4 wrote: > One thing to think about including the quicktime installer is the Apple > legal stuff. They force you to have your product only use the most > current version of quicktime (ie if someone has an older version your > product should not run with it, but force the installation of the newer > version of quicktime. I used to have a similar feeling about this, but I wrote Apple directly for clarification and was very pleased with the quick and helpful reply. I got permission from the Apple rep who wrote me (Rhonda, currently on the QT team and formerly part of the web site management team) to post her email to the list, which I did last Sept: Hopefully that'll help clear up any misgivings about the license. If not, send your questions to the address on the QT licensing page and hopefully you'll get as prompt and helpful a reply as I did. Rhonda's helped me out a couple times now, and with any luck your email will get to her. With her speedy and thorough assistance, she's a great asset to Apple. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From sarahr at genesearch.com.au Sun May 23 20:11:10 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 24 May 2004 10:11:10 +1000 Subject: Plugins shut when suspending dev In-Reply-To: <40ADD89A.2020800@chipp.com> References: <57A83ABC-AABD-11D8-B7FF-0003937A97B8@genesearch.com.au> <40ADD89A.2020800@chipp.com> Message-ID: > Yep, all my plugins kick out also, the same way. I just don't > typically suspend the IDE :-) > > -Chipp I don't usually suspend the IDE either, but I have had a few instances lately when I wanted to do it. This problem has doubtless been around all the time, it's just new to me :-) Sarah From cassj at earthlink.net Sun May 23 22:06:57 2004 From: cassj at earthlink.net (James Cass) Date: Sun, 23 May 2004 22:06:57 -0400 Subject: Thank you. In-Reply-To: References: Message-ID: <0906064B-AD27-11D8-B52B-000D93C26DB4@earthlink.net> Thanks for the tip, dude. -CassBorg1 On May 23, 2004, at 3:31 PM, Pierre Sahores wrote: > Good Evening Roger, > > As long as i don't use them, i can't say witch one to choose. Under > MacOS X, mpgtxwrap seems to do what is expected. > > Best, Pierre > > Le 23 mai 04, ? 18:19, Roger Guay a ?crit : > >> Thank you, Pierre. I've given up on this piece of video for now as >> it's easier for me to have my customer supply what I need. For >> future reference, where might I find a demux utility? Again, thank >> you for your help. >> >> Cheers, Roger >> >> >>> Hi Roger, >>> >>> This could have to do with the fact that your movie contents could be >>> saved as a multiplexed track (video and sound at once). If so, you >>> will >>> need to use a demux utility to split the multiplexed track as two >>> separate new tracks, the first one for the video and the second for >>> the >>> sound. Else, if the video codec is "avi", you will need to export the >>> tracks to get able to manipulate video and sound tracks from inside >>> the >>> QT tools, including the Rev's QT ones. >>> >>> Best, Pierre >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From revolution at jaedworks.com Mon May 24 01:10:53 2004 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Sun, 23 May 2004 22:10:53 -0700 Subject: grouping multiple buttons In-Reply-To: References: Message-ID: At 5:33 PM -0400 5/23/2004, tzvi wrote: >Hello, every body . >I'm trying to group multiple buttons via script but unsuccessful >on command >repeat for each line ml in fld "abc_" > put the name of button ml && "and "&&space into mVar >end repeat >group mVar Try instead: do "group" && mVar -- jeanne a. e. devoto ~ jaed at jaedworks.com http://www.jaedworks.com From tominjapan at excite.com Mon May 24 03:07:22 2004 From: tominjapan at excite.com (Thomas McCarthy) Date: Mon, 24 May 2004 03:07:22 -0400 (EDT) Subject: CDROM disk serial number Message-ID: <20040524070722.B8C02299A6@xprdmailfe22.nwk.excite.com> A year or two ago there was a thread about this. There was a solution for Windows machines (Thanks Ken!) and a possible solution for Macs, using the system profiler. My Mac 10.3 does not list the cd's serial number (just a blank line) Also the system profiler is slow, is there a shell command we could run? Many thanks, Tom McCarthy ------------ Ego sum rex Romanus et supra grammaticam. Sigismund I (obit 1437) ------------ _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From pkocsis at cox.net Mon May 24 04:42:05 2004 From: pkocsis at cox.net (Paul Kocsis) Date: Mon, 24 May 2004 03:42:05 -0500 Subject: toolTip dlg and XP shutdown Message-ID: <40B1B55D.3050906@cox.net> I have a client running a standalone application on XP. The app is working great, but more times than not, when that user shuts down their system (long after they've closed my standalone app), they get the windows dialog box that appears when an app is not responding...that dialog that asks to 'wait' or 'end' the process. The name of the alleged "hung" process is "toolTip dlg" (tooltip dialog). I use "quit" in a "closeStackRequest" handler in the only card of my mainstack to end my application. Is this an RR issue or am I quitting my app incorrectly? Thanks! From in.bois at wanadoo.fr Mon May 24 04:56:02 2004 From: in.bois at wanadoo.fr (Alain Bois) Date: Mon, 24 May 2004 10:56:02 +0200 Subject: grouping multiple buttons In-Reply-To: References: Message-ID: <2ED67CC7-AD60-11D8-8D84-000A95AB7040@wanadoo.fr> I think that there are few errors: 1) in mVar you must write this : put the name of btn ml && and" after mVar 2) after repeat you must write delete last word of mVar ? else you have and "and" at the end of mVar 3) and after you must write do "group" && mVar Regards Alain Le 23 mai 04, ? 23:33, tzvi a ?crit : > Hello, every body . > I'm trying to group multiple buttons via script but unsuccessful > on command > repeat for each line ml in fld "abc_" > put the name of button ml && "and "&&space into mVar > end repeat > group mVar -- problem with var doesn't get the value instead gets the > object itself . Below is the message. > set the backgroundBehavior of last group to true > end command > executing at 5:31:14 PM > Type Chunk: error in object expression > Object kiosk > Line group vSelectedButton > Hint button "Appetizers" and button "Beverages" and button > "Breakfast" and button "Dessert" and button "Main Dish" and button > "Side Dishes" and button "Soup" > Thanks. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From revlists at canelasoftware.com Fri May 21 13:17:32 2004 From: revlists at canelasoftware.com (Mark Talluto) Date: Fri, 21 May 2004 10:17:32 -0700 Subject: terminate script from keyboard In-Reply-To: References: Message-ID: On May 21, 2004, at 8:11 AM, Springer, Paul wrote: > > Thanks to all for the suggestions. > > Of course my original problem was how to get out of a situation like > this > when you inadvertently coded it. Changing the script to provide an > escape > hatch is easily done after the fact but I'm afraid I don't usually > plan my > bugs so carefully. What I was asking for is a way to get out of this > kind of > unplanned situation short of killing RR and losing any unsaved > changes. So > far the consensus seems to be that you can't. > > -Paul Hi Paul, I was able to break out with command - period on a Mac running 10.3.3. I attribute it to my regular dose of gaming. I can really press those keys fast. ;) lol....ahhh...I really make myself laugh sometimes. -- Best regards, Mark Talluto http://www.canelasoftware.com From frank at backtalk.com Mon May 24 09:15:53 2004 From: frank at backtalk.com (Frank Leahy) Date: Mon, 24 May 2004 14:15:53 +0100 Subject: Hack to make a "modal dialog" Message-ID: <7C0D1834-AD84-11D8-94C1-000A9580FCCE@backtalk.com> I wrote last week asking if anyone had a way to make a dialog "modal" without actually using the modal keyword (as doing so stops whatever process is currently running). After a day of playing around with different solutions here's what I came up with. I hope someone else finds it useful as well. 1. I added a transparent button (I called it "Trap Mouse Events") to all of the stacks that might be open when the progress dialog appears. The button is the top-most control, and is set to invisible (the size and location doesn't matter as that gets set when it's shown, see below). In each transparent button was the following script: on mouseDown BottleneckTasks "trapMouseDown" end mouseDown on mouseDoubleDown BottleneckTasks "trapMouseDown" end mouseDoubleDown on mouseUp -- do nothing end mouseUp on mouseDoubleUp -- do nothing end mouseDoubleUp 2. I wrote a function called BottleneckTasks(tasks) that takes a single parameter "task". I've appended its script to the bottom of this message. 3. I found all of the places that BottleneckTasks() needed to be called in my code, which turned out to be in the following handlers: preOpenStack -- if a stack opens (it shouldn't) show the button closeStack -- when a stack closes, hide the button resumeStack -- if a stack comes to front bring the dialog back to the front menuPick -- I didn't want any menuPicks to occur while the dialog was up 4. When the progress dialog opens I have it call BottleneckTasks("openThumbnailProgress"), which loops through all of the open windows, resizing the "Trap Mouse Events button and setting it to visible. 5. While the progress dialog is open, if the user clicks in any stack the mouseDown handler in the transparent button gets called, which forces the progress dialog back to the front. 6. Finally, when the progress dialog disappears, the transparent buttons are all hidden by calling BottleneckTasks("closeThumbnailProgress") That's it in a nutshell. The only problem is that the resumeStack message doesn't always get called if you bring a window to the front by clicking in the title bar (a bug perhaps?), but that just means it's hidden until you click somewhere in one of the open windows. Best, -- Frank on BottleneckTasks task put StackIsOpen("Thumbnail Progress") into progressIsOpen switch (task) case "openThumbnailProgress" -- show and resize trap button on all open stacks put the openStacks into theStacks put the number of lines of theStacks into numStacks repeat with i = 1 to numStacks put line i of theStacks into nextStack if there is a button "Trap Mouse Events" of stack nextStack then SizeAndShowMouseTrapButton nextStack end if end repeat break case "closeThumbnailProgress" -- hide on all open stacks put the openStacks into theStacks put the number of lines of theStacks into numStacks repeat with i = 1 to numStacks put line i of theStacks into nextStack if there is a button "Trap Mouse Events" of stack nextStack then hide button "Trap Mouse Events" of stack nextStack end if end repeat break case "preOpenStack" -- Shouldn't happen, but if it does show and resize trap button if there is a button "Trap Mouse Events" then if progressIsOpen then put the short name of this stack into stackName SizeAndShowMouseTrapButton stackName else hide button "Trap Mouse Events" end if end if break case "closeStack" if there is a button "Trap Mouse Events" then hide button "Trap Mouse Events" end if break case "resumeStack" if progressIsOpen then go to stack "Thumbnail Progress" end if break case "menuPick" if progressIsOpen then go to stack "Thumbnail Progress" -- need to exit to top so menuPick doesn't happen exit to top end if break case "trapMouseDown" if progressIsOpen then go to stack "Thumbnail Progress" else -- it shouldn't be visible, but it appears to be hide button "Trap Mouse Events" end if break default if task <> empty then breakpoint go to stack "Thumbnail Progress" break end switch end BottleneckTasks on SizeAndShowMouseTrapButton stackName put the height of stack stackName into theHeight add 100 to theHeight put the width of stack stackName into theWidth add 100 to theWidth put trunc(theHeight/2) into y put trunc(theWidth/2) into x set the height of button "Trap Mouse Events" of stack stackName to theHeight set the width of button "Trap Mouse Events" of stack stackName to theWidth set the location of button "Trap Mouse Events" of stack stackName to (x & "," & y) show button "Trap Mouse Events" of stack stackName end SizeAndShowMouseTrapButton From klaus at major-k.de Mon May 24 10:18:50 2004 From: klaus at major-k.de (Klaus Major) Date: Mon, 24 May 2004 16:18:50 +0200 Subject: group strangeness In-Reply-To: References: Message-ID: <4749DDA4-AD8D-11D8-B4C7-000A27B49A96@major-k.de> Hi folks, can someone eventually shed some light on this strange thing? (I often noticed some kind of strangeness with groups, especially with nested groups...) I have 640 images (80*60 pixel max., 5 in a row) in a scrollable group "bilder"... Now when i use this script to "initialize" all of them, the images move to something like -71,-8156 or so...? :-( Totally out of order/misplaced and thus completely useless... I even added the lines with the loc to remember and set again correctly, no way!!! on mouseUp lock screen repeat with i = 1 to the num of images of grp "bilder" put the loc of img i of grp "bilder" into altloc ## !! set the showborder of img i of grp "bilder" to false set the dateiname of img i of grp "bilder" to empty hide img i of grp "bilder" set the loc of img i of grp "bilder" to altloc ##!! end repeat unlock screen end mouseUp I tried several times and finally found that the line -> hide img i of grp "bilder" is the "evil prince"!!! No problems without this line... So how can simply hiding an image offset it so far away from its original loc??? Is it a bug? Thanks for listening :-) Addendum!!! Some more test showed that there are NO problems when using: repeat with i = the num of images of grp "bilder" DOWN TO 1 ###!!! ??? ... hide img i of grp "bilder" ... end repeat ??????????? Geeeeeez!!!! To me it looks like the "repeat-loop" is actually SCROLLING the group to reach the "lower" images???? (Probably not, i know ;-) Regards Klaus Major klaus at major-k.de www.major-k.de From bornstein at designeq.com Mon May 24 10:53:09 2004 From: bornstein at designeq.com (Howard Bornstein) Date: Mon, 24 May 2004 10:53:09 -0400 Subject: group strangeness In-Reply-To: <4749DDA4-AD8D-11D8-B4C7-000A27B49A96@major-k.de> References: <4749DDA4-AD8D-11D8-B4C7-000A27B49A96@major-k.de> Message-ID: <1297B9A5-AD92-11D8-8BC1-000A95909E26@designeq.com> On May 24, 2004, at 10:18 AM, Klaus Major wrote: > Totally out of order/misplaced and thus completely useless... Would it help if you explicitly set the lockLoc of the images to true? Regards, Howard Bornstein ----------------------- D E S I G N E Q www.designeq.com From Cteno4 at aol.com Sun May 23 19:06:50 2004 From: Cteno4 at aol.com (Cteno4 at aol.com) Date: Sun, 23 May 2004 19:06:50 EDT Subject: QuickTime capabilities question (naive response) Message-ID: <192.2a0c093f.2de2888a@aol.com> One thing to think about including the quicktime installer is the Apple legal stuff. They force you to have your product only use the most current version of quicktime (ie if someone has an older version your product should not run with it, but force the installation of the newer version of quicktime. Also if you do another pressing of your disc at a later date and there is a new version of quicktime you use to have to redo the installer (and of course the testing and compatibility questions come up) for the second pressing. While you can probably skirt under apple's radar on this sometimes, they do have you sign your life away with the agreements on all of this. Its understandable that they want to foster as much updating of quicktime technology installed out there as possible, but this does cause problems with schools and other situations that have very frozen operating system levels or installation restricitions. Almost all the stuff i do with quicktime works fine with versions 2 or 3 back, so i can hadle older systems w/o forcing them to upgrade the qt and the hastles that might come along with that. its worse on the pc end since some authoring systems required a dll only present in one version of quicktime to work. it created a sitiuation where you had to install the older version of qt then install the newer version just to get the one old needed dll from the older qt... also if you have your own installer on a cd (for anything) it must also activate the quicktime installer app if that version of qt is not present. i love apple and quicktime, but these installation issues makes smaller projects a real hastle since the extra work to utilize the quicktime installer and the restrictions it puts on users usually causes us to just require the user download or install some sort of quicktime (within versions we know works). the testing of installers is a pain, since to do it right you have to have clean systems each time you do it and that takes work setting up or going to a testing house to have done. these days broadband is around enough to usually say its ok to pass that onto your users if its not a big budget project that can hadle the load. cheers, jeff use-revolution-request at lists.runrev.com wrote on 5/23/04 12:00 PM >From: Richard Gaskin >Subject: Re: QuickTime capabilities question (naive response) >To: How to use Revolution >Message-ID: <40AF7B51.1080702 at fourthworld.com> >Content-Type: text/plain; charset=us-ascii; format=flowed > >Mark Talluto wrote: >> On May 21, 2004, at 10:17 PM, Erik Hansen wrote: >>> is there any way to automate the whole deal >>> and put it in a button "Install Me!" >>> along the lines of Alice in the Looking Glass? >> >> You can put the whole installer into a custom property and spit it out, >> run the installer, and delete it when it is all over. I have done this >> a few times for installing fonts. > >An excellent suggestion. > >Also, most installers allow you to launch other installers as part of >the installation sequence. So even if just another file on the CD, it's >fairly common for the QT installer to be piggy-backed this way as just >another step in the installation. Jeffrey H. Reynolds 6620 Michaels Dr. Bethesda, MD 20817 301.469.8562 email: cteno4 at earthlink.net cteno4 at aol.com From douglas.ivers at highstream.net Mon May 24 09:44:51 2004 From: douglas.ivers at highstream.net (Douglas Ivers) Date: Mon, 24 May 2004 06:44:51 -0700 Subject: Font of popup menu Message-ID: I'm using Rev 2.0.3 on Mac OS X. I can't figure out how to control the font of a button's popup menu. I've assigned a special font for the button, for the card, and for the stack. The popup appears when I click in a field, and I've assigned my special font for the field too. But the font of the popup is still the original. (The button is not grouped.) Can I control the font of a popup menu in Rev 2.0.3? D douglas.ivers at highstream.net From klaus at major-k.de Mon May 24 11:36:10 2004 From: klaus at major-k.de (Klaus Major) Date: Mon, 24 May 2004 17:36:10 +0200 Subject: group strangeness In-Reply-To: <1297B9A5-AD92-11D8-8BC1-000A95909E26@designeq.com> References: <4749DDA4-AD8D-11D8-B4C7-000A27B49A96@major-k.de> <1297B9A5-AD92-11D8-8BC1-000A95909E26@designeq.com> Message-ID: <1500B327-AD98-11D8-B4C7-000A27B49A96@major-k.de> Hi Howard, > On May 24, 2004, at 10:18 AM, Klaus Major wrote: > >> Totally out of order/misplaced and thus completely useless... > > Would it help if you explicitly set the lockLoc of the images to true? Not tested yet... But right now it is more comfortable for me to not use lockloc ;-) It works fine with "repeat with x ... DOWN to...". But i think this is a bug! -> hide img i of grp "xxx" ...should do nothing more than it says!!! > Regards, > > Howard Bornstein Regards Klaus Major klaus at major-k.de www.major-k.de P.S. Maybe i should use dynamic creation of images as needed like Chipp's altImgThumbNailerBrowserThingie or something ;-) Will give it a try... From kray at sonsothunder.com Mon May 24 11:16:33 2004 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 24 May 2004 10:16:33 -0500 Subject: CDROM disk serial number In-Reply-To: <20040524070722.B8C02299A6@xprdmailfe22.nwk.excite.com> Message-ID: <052b01c441a2$1c9e2490$6601a8c0@precision340> Tom, You can do: put shell("system_profiler SPIDEDataType") into tData and then parse tData for the serial number. HTH, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Thomas McCarthy > Sent: Monday, May 24, 2004 2:07 AM > To: use-revolution at lists.runrev.com > Subject: CDROM disk serial number > > > > A year or two ago there was a thread about this. There was a > solution for Windows machines (Thanks Ken!) and a possible > solution for Macs, using the system profiler. > > My Mac 10.3 does not list the cd's serial number (just a > blank line) Also the system profiler is slow, is there a > shell command we could run? > > Many thanks, > Tom McCarthy > ------------ > Ego sum rex Romanus et supra grammaticam. > Sigismund I (obit 1437) > ------------ > > _______________________________________________ > Join Excite! - http://www.excite.com > The most personalized portal on the Web! > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jrvalent at wisc.edu Mon May 24 13:09:21 2004 From: jrvalent at wisc.edu (rand valentine) Date: Mon, 24 May 2004 12:09:21 -0500 Subject: counting empty items Message-ID: If I do this: set the itemDelimiter to tab put the number of items of tab & tab & tab & tab 1 is returned. why not 4? I don't get it. -- if I do this: set the itemDelimiter to tab put empty into item 4 of testVariable put the number of items of testVariable 3 is returned. why? rand valentine From jacque at hyperactivesw.com Mon May 24 13:17:20 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 May 2004 12:17:20 -0500 Subject: Hack to make a "modal dialog" In-Reply-To: <7C0D1834-AD84-11D8-94C1-000A9580FCCE@backtalk.com> References: <7C0D1834-AD84-11D8-94C1-000A9580FCCE@backtalk.com> Message-ID: <40B22E20.8090005@hyperactivesw.com> On 5/24/04 8:15 AM, Frank Leahy wrote: > 5. While the progress dialog is open, if the user clicks in any stack > the mouseDown handler in the transparent button gets called, which > forces the progress dialog back to the front. Do you get a window flash, or does it look like nothing changed? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tzvi at realtorsgroup.us Mon May 24 13:26:05 2004 From: tzvi at realtorsgroup.us (tzvi) Date: Mon, 24 May 2004 13:26:05 -0400 Subject: grouping multiple buttons In-Reply-To: <2ED67CC7-AD60-11D8-8D84-000A95AB7040@wanadoo.fr> Message-ID: <6FDEAFC6-ADA7-11D8-9478-0030654C1E62@realtorsgroup.us> Thanks. On Monday, May 24, 2004, at 04:56 AM, Alain Bois wrote: > I think that there are few errors: > 1) in mVar you must write this : > put the name of btn ml && and" after mVar > 2) after repeat you must write > delete last word of mVar ? else you have and "and" at the end of mVar > 3) and after you must write > do "group" && mVar > > Regards > Alain > > Le 23 mai 04, ? 23:33, tzvi a ?crit : > >> Hello, every body . >> I'm trying to group multiple buttons via script but unsuccessful >> on command >> repeat for each line ml in fld "abc_" >> put the name of button ml && "and "&&space into mVar >> end repeat >> group mVar -- problem with var doesn't get the value instead gets the >> object itself . Below is the message. >> set the backgroundBehavior of last group to true >> end command >> executing at 5:31:14 PM >> Type Chunk: error in object expression >> Object kiosk >> Line group vSelectedButton >> Hint button "Appetizers" and button "Beverages" and button >> "Breakfast" and button "Dessert" and button "Main Dish" and button >> "Side Dishes" and button "Soup" >> Thanks. >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Mon May 24 13:46:18 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 May 2004 12:46:18 -0500 Subject: counting empty items In-Reply-To: References: Message-ID: <40B234EA.70403@hyperactivesw.com> On 5/24/04 12:09 PM, rand valentine wrote: > If I do this: > > set the itemDelimiter to tab > put the number of items of tab & tab & tab & tab > > 1 is returned. > > why not 4? I don't get it. > > -- if I do this: > > set the itemDelimiter to tab > put empty into item 4 of testVariable > put the number of items of testVariable > > 3 is returned. > > why? Because without forcing the compiler to parse the tabs in the first case, each tab is considered a text string. The concatenation looks like this: "tabtabtabtab" If you put parentheses around it, the compiler will evaluate the constants first before working with the string: put the number of items of (tab & tab & tab & tab) Gives 4. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pkocsis at cox.net Mon May 24 14:20:20 2004 From: pkocsis at cox.net (Paul Kocsis) Date: Mon, 24 May 2004 13:20:20 -0500 Subject: Standalone not fully exiting on windows Message-ID: <40B23CE4.9010406@cox.net> Don't know if this is related to my "toolTip dlg" post, but, on windows 98 AND XP, my standalone is not fully exiting. I am using "quit" in a "closeStackRequest" handler of the mainstack script. It does not show up in the process list when doing a ctrl+alt+del, BUT, other programs reporting on running processes report that my standalone app is still running, and it cannot in fact be killed. I *know* it's really still there since I can't save as a standalone until I reboot. Does anyone else have standalones that are not quitting completely? Any suggestions? Thanks as always! From psahores at easynet.fr Mon May 24 14:42:42 2004 From: psahores at easynet.fr (Pierre Sahores) Date: Mon, 24 May 2004 20:42:42 +0200 Subject: counting empty items In-Reply-To: <40B234EA.70403@hyperactivesw.com> References: <40B234EA.70403@hyperactivesw.com> Message-ID: <24257286-ADB2-11D8-B5E6-000A95C61E96@easynet.fr> Hello There, and..., even without parentheses, tab&tab&tab&tab&a will return 4, just because the non empty fourth item will force its evaluation... Best Regards, Le 24 mai 04, ? 19:46, J. Landman Gay a ?crit : > On 5/24/04 12:09 PM, rand valentine wrote: > >> If I do this: >> set the itemDelimiter to tab >> put the number of items of tab & tab & tab & tab >> 1 is returned. >> why not 4? I don't get it. >> -- if I do this: >> set the itemDelimiter to tab >> put empty into item 4 of testVariable >> put the number of items of testVariable >> 3 is returned. >> why? > > Because without forcing the compiler to parse the tabs in the first > case, each tab is considered a text string. The concatenation looks > like this: > > "tabtabtabtab" > > If you put parentheses around it, the compiler will evaluate the > constants first before working with the string: > > put the number of items of (tab & tab & tab & tab) > > Gives 4. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From revolution at jaedworks.com Mon May 24 14:57:30 2004 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Mon, 24 May 2004 11:57:30 -0700 Subject: Font of popup menu In-Reply-To: References: Message-ID: At 6:44 AM -0700 5/24/2004, Douglas Ivers wrote: >Can I control the font of a popup menu in Rev 2.0.3? Not if you are using the "Appearance Manager" setting for the lookAndFeel. In this case, the operating system draws the menu and controls the font. If you change the lookAndFeel to any of the emulated settings, the button's textFont will control the appearance of the menu, but in this case of course you lose the OS X look and feel, so it's probably not advisable for your app... -- jeanne a. e. devoto ~ jaed at jaedworks.com http://www.jaedworks.com From Cubist at aol.com Mon May 24 16:05:49 2004 From: Cubist at aol.com (Cubist at aol.com) Date: Mon, 24 May 2004 16:05:49 EDT Subject: [OT] If you're into Apple memorabilia... Message-ID: <7a.582cdf9f.2de3af9d@aol.com> I've put a poster up for sale on eBay. It's an Apple Computer poster, advertising the "Life Savers" iMacs, and you can check it out at [http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=4133651790]. From jacque at hyperactivesw.com Mon May 24 17:25:24 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 May 2004 16:25:24 -0500 Subject: Standalone not fully exiting on windows In-Reply-To: <40B23CE4.9010406@cox.net> References: <40B23CE4.9010406@cox.net> Message-ID: <40B26844.9080306@hyperactivesw.com> On 5/24/04 1:20 PM, Paul Kocsis wrote: > Don't know if this is related to my "toolTip dlg" post, but, on windows > 98 AND XP, my standalone is not fully exiting. I am using "quit" in a > "closeStackRequest" handler of the mainstack script. It does not show > up in the process list when doing a ctrl+alt+del, BUT, other programs > reporting on running processes report that my standalone app is still > running, and it cannot in fact be killed. I *know* it's really still > there since I can't save as a standalone until I reboot. Do you pass the closeStackRequest message? The stack won't close unless you do. I've never tried to quit in the middle of one, but Rev may be getting confused. Also, make sure to cancel any pending messages if you have any. Rev will not quit if there are pending messages in the queue. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From runtime at newrome.org Mon May 24 18:54:01 2004 From: runtime at newrome.org (Michael Monos) Date: Mon, 24 May 2004 18:54:01 -0400 Subject: set RTFtext Message-ID: <3FD5335E-ADD5-11D8-A103-000A95C458B4@newrome.org> Help! I have no idea what I am doing, and after searching through the archives of the mailing lists without finding an answer, I thought I would try to get an answer via a post here... with a button on anyCard, with the script (OS X): on mouseup set the rtftext of field "text" to URL "file:filename.rtf" end mouseup This produces no result -- do I need a path? Do I need to declare the path of this filename somewhere? What is the path structure needed in OS X? I understand file paths, but even when I enter the full path (as I understand it), I get no result. Any help would be appreciated. Thanks From janschenkel at yahoo.com Mon May 24 19:09:01 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 24 May 2004 16:09:01 -0700 (PDT) Subject: set RTFtext In-Reply-To: <3FD5335E-ADD5-11D8-A103-000A95C458B4@newrome.org> Message-ID: <20040524230901.91520.qmail@web60502.mail.yahoo.com> --- Michael Monos wrote: > Help! > > I have no idea what I am doing, and after searching > through the > archives of the mailing lists without > finding an answer, I thought I would try to get an > answer via a post > here... > > with a button on anyCard, with the script (OS X): > > on mouseup > set the rtftext of field "text" to URL > "file:filename.rtf" > end mouseup > > This produces no result -- do I need a path? Do I > need to declare the > path of this filename somewhere? > > What is the path structure needed in OS X? I > understand file paths, but > even when I enter the full path (as I understand > it), > I get no result. > > Any help would be appreciated. > > Thanks > Hi Michael, Try this script : -- on mouseup answer file "Import which RTF file ?" if it is empty then exit mouseUp put it -- display the path in the message box set the rtftext of field "text" to \ URL ("file:" & it) end mouseup -- This way you can see what path you actually get from the operating system. Hope this helped, Jan Schenkel. ===== "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 martin at materiaprima.fsnet.co.uk Mon May 24 19:11:38 2004 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Tue, 25 May 2004 00:11:38 +0100 Subject: menu shortcuts & menubar property Message-ID: I've hit a vexing problem here with menu shortcuts in rr2.1.2. In windows XP the keyboard shortcuts for a menu don't work unless I set the stack's menubar property. I had got the impression from the docs that this property only affected mac, (UNIX and win symbols are crossed out) but, if it is empty the keyboard shortcuts fall through to the default menubar. In Linux it is even worse, because while the menubar property has to be set in order for the menu in the top stack to block the keyboard shortcuts from "falling through" to the default menubar, (or maybe the first one found,) they don't actually work in activating menu commands in the topstack. In my Linux standalones, keyboard shortcuts don't work at all anymore (though they used to : so maybe I fiddled with something I shouldn't have?). couldn't see anything exactly like this in bugzilla, though there are some shortcut problems there. Can anyone shed any light? I'm off to have a good cry now. Martin From ambassador at fourthworld.com Mon May 24 20:09:03 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 24 May 2004 17:09:03 -0700 Subject: what makes a file "installed"? In-Reply-To: <20040522190628.5989.qmail@web61108.mail.yahoo.com> References: <20040522190628.5989.qmail@web61108.mail.yahoo.com> Message-ID: <40B28E9F.8020908@fourthworld.com> Erik Hansen wrote: >>Mark Talluto wrote: >> >>>On May 21, 2004, at 10:17 PM, Erik Hansen >> >>wrote: >> >>>>is there any way to automate the whole deal >>>>and put it in a button "Install Me!" >>>>along the lines of Alice in the Looking >>Glass? >> >>>You can put the whole installer into a custom >>property and spit it out, >>>run the installer, and delete it when it is >>all over. I have done this >>>a few times for installing fonts. >> >>An excellent suggestion. >> >>Also, most installers allow you to launch other >>installers as part of >>the installation sequence. So even if just >>another file on the CD, it's >>fairly common for the QT installer to be >>piggy-backed this way as just >>another step in the installation. >> >>-- >> Richard Gaskin >> Fourth World Media Corporation > > > what makes a file "installed" > as opposed to "loaded" or "copied to" > the desktop? For the most part they're the same thing. What an installer can do for you is copy files to specific locations if needed, and on Win make any neessary registry entries (such as those needed to associate a file type with an application). -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From erikhans08 at yahoo.com Mon May 24 21:57:11 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Mon, 24 May 2004 18:57:11 -0700 (PDT) Subject: what makes a file "installed"? In-Reply-To: <40B28E9F.8020908@fourthworld.com> Message-ID: <20040525015711.43927.qmail@web61103.mail.yahoo.com> > > what makes a file "installed" > > as opposed to "loaded" or "copied to" > > the desktop? > > For the most part they're the same thing. > What an installer can do for > you is copy files to specific locations if > needed, and on Win make any neessary > registry entries (such as those needed > to associate a file type with an application). > > -- > Richard Gaskin > Fourth World Media Corporation thanks for uninstalling a major source of anxiety! Erik Hansen ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From monte at sweattechnologies.com Mon May 24 22:06:36 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 25 May 2004 11:36:36 +0930 Subject: what makes a file "installed"? In-Reply-To: <20040525015711.43927.qmail@web61103.mail.yahoo.com> Message-ID: Hey Folks Short answer to this question is InstallGadget, my made with Rev and soon to be released nifty tool for quickly creating installers on Windows and OS X. Check it out the sneak preview at: http://www.sweattechnologies.com/InstallGadget Cheers -- Monte Goulding B.App.Sc. (Hons.) Executive Director Sweat Technologies email: monte at sweattechnologies.com website: www.sweattechnologies.com mobile (International): +61 421 138 274 (Australia): 0421 138 274 From sarahr at genesearch.com.au Tue May 25 00:37:02 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 25 May 2004 14:37:02 +1000 Subject: system dates & speed Message-ID: <2B2E8C10-AE05-11D8-B7FF-0003937A97B8@genesearch.com.au> I was writing a charting routine today and after I had added a section that converted seconds to dates or times for display purposes, the handler became much slower. After a series of timing tests, I found that for 200 lines of data, Rev was taking nearly 20 milliseconds to convert one item from each into short system time and slightly longer for short system date. This was with a repeat for each loop, appending the altered data to a new variable and every other speed trick I could think of. When I had almost run out of ideas, I removed the word "system" from the date & time conversions. The time taken was immediately halved! However while diagnostic, this was not helpful because I have to show people dates in the format they expect, so instead of explicitly doing my conversion to system formats, I set the useSystemDate to true. This maintained the improved speed, or at least most of it. The moral of the story is, that if you are doing lots of dateTime conversions, set the useSystemDate instead of specifying the system format in the convert command. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ P.S. For anyone wondering why I am so concerned with speed, each individual chart is fine, but I may need to have a lot of charts displayed at the same time, so every tick counts. From FlexibleLearning at aol.com Tue May 25 02:33:03 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Tue, 25 May 2004 02:33:03 EDT Subject: The Scripter's Scrapbook, Facelift opinions Message-ID: <191.2975c3b5.2de4429f@aol.com> Facelift preview A facelift is proposed for The Scripter's Scrapbook and opinions are sought before release. If you would like to be among the first to see it and send us your thoughts, please contact me, Hugh, at h at FlexibleLearning.com for a preview download address. Feedback With almost 700 copies downloaded, we continue to value comments whether you were a one-time user or (hopefully!) consider it an indispensable component in your armoury of development tools. A very quick tickbox feedback form is available at http://www.FlexibleLearning.com/ssbkFeedback.htm and we would truly appreciate your rating scores. Current version The current release is 3.2.02 and continues to improve. For your free upgrade, simply go to the 'About...' screen and click the link. Thank you. /H From pkocsis at cox.net Tue May 25 03:08:22 2004 From: pkocsis at cox.net (Paul Kocsis) Date: Tue, 25 May 2004 02:08:22 -0500 Subject: Standalone not fully exiting on windows Message-ID: <40B2F0E6.4020607@cox.net> Doesn't matter if I "quit" or pass the "closeStackRequest" message...same thing happens...HOWEVER...I didn't realize that pending messages could cause that!!! I believe that might be it as I think there most certainly could be a pending message on the queue! I shall implement post-haste! THANK YOU!! Jacqueline Landman Gay Wrote: >Do you pass the closeStackRequest message? The stack won't close unless >you do. I've never tried to quit in the middle of one, but Rev may be >getting confused. > >Also, make sure to cancel any pending messages if you have any. Rev will >not quit if there are pending messages in the queue. From ambassador at fourthworld.com Tue May 25 03:22:05 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 25 May 2004 00:22:05 -0700 Subject: Standalone not fully exiting on windows In-Reply-To: <40B2F0E6.4020607@cox.net> References: <40B2F0E6.4020607@cox.net> Message-ID: <40B2F41D.5050802@fourthworld.com> Paul Kocsis wrote: > Doesn't matter if I "quit" or pass the "closeStackRequest" > message...same thing happens...HOWEVER...I didn't realize that pending > messages could cause that!!! I believe that might be it as I think > there most certainly could be a pending message on the queue! I shall > implement post-haste! Unless you need those message to complete, this might help: on KillAllPendingMessages repeat for each line i in the pendingMessages cancel (item 1 of i) end repeat end KillAllPendingMessages -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From pkocsis at cox.net Tue May 25 04:54:03 2004 From: pkocsis at cox.net (Paul Kocsis) Date: Tue, 25 May 2004 03:54:03 -0500 Subject: Can't see an hScroll scrollbar on XP Message-ID: <002701c44238$69614280$f4ffa8c0@cox.net> One last problem with my most recent app: I have fields that have their hScroll turned on. They appear normally on Win98, but on XP, you cannot see them! You *can* see the left and right arrows, but the actual scrollbar between the arrows is "invisible". "Knowing" they are there, you can click and scroll the field back and forth...so they do exist and work, you just can't see them. I've tried as many different color combinations, inks, etc., but to no avail... Has anyone else had a problem in getting a horizontal field scrollbar to appear on XP? From pkocsis at cox.net Tue May 25 05:12:28 2004 From: pkocsis at cox.net (Paul Kocsis) Date: Tue, 25 May 2004 04:12:28 -0500 Subject: Standalong still hanging on 98 and XP (Was "Standalone not fully exiting on windows") Message-ID: <002801c44238$6d999500$f4ffa8c0@cox.net> Thank you to J. Landman Gay and Richard Gaskin. Unfortunately, implementing these needed suggestions and mechanisms has not solved the problem. It also does not matter whether I use "quit" or don't use "quit" and pass "closeStackRequest"...same result. I am now suspicious of 2 things. I am using Access (my clients use both Access 2000 and Access 2002, and all of them are experiencing this same problem) and I am ensuring that my databases are closed before "quit" or "pass closeStackRequest".....but it *seems* that utilizing ODBC with Access/Microsoft Jet drivers frequently causes RR to "invalid page fault" upon exit. (I have bug #1422 filed with this suspicion). My second suspicion is the use of revSpeak. I do not perform "revUnloadSpeech" in my "closeStackRequest" handler, since RR 2.2 "can't find handler" when trying to execute "revUnloadSpeech". I do not yet have a bug open on that issue. My app is working really well....except that exiting the darn thing either causes an "invalid page fault"....OR....a "hung" standalone process that can't be killed. This is happening on both Win98 AND WinXP. Again, thank you to all! From runtime at newrome.org Tue May 25 07:30:52 2004 From: runtime at newrome.org (Michael Monos) Date: Tue, 25 May 2004 07:30:52 -0400 Subject: set RTFtext Message-ID: <00e101c4424b$bd95ad60$6501a8c0@gigabyte> Jan, Thanks, that worked! My next question is, when building a standalone app for distribution, will Runrev intelligently gather the files for dsitribution -- what exactly happens? Thanks From pkocsis at cox.net Tue May 25 04:54:03 2004 From: pkocsis at cox.net (Paul Kocsis) Date: Tue, 25 May 2004 03:54:03 -0500 Subject: Can't see an hScroll scrollbar on XP Message-ID: <002101c44235$d5e6f740$f4ffa8c0@cox.net> One last problem with my most recent app: I have fields that have their hScroll turned on. They appear normally on Win98, but on XP, you cannot see them! You *can* see the left and right arrows, but the actual scrollbar between the arrows is "invisible". "Knowing" they are there, you can click and scroll the field back and forth...so they do exist and work, you just can't see them. I've tried as many different color combinations, inks, etc., but to no avail... Has anyone else had a problem in getting a horizontal field scrollbar to appear on XP? From xbury.cs at clearstream.com Tue May 25 11:00:37 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 25 May 2004 17:00:37 +0200 Subject: Can't see an hScroll scrollbar on XP Message-ID: Sorry to disappoint but it works fine on windows 2003 with or without the xp themes... Have you tried on a vanilla RR install or a new stack? On 25.05.2004 10:54:03 use-revolution-bounces wrote: >One last problem with my most recent app: I have fields that have their >hScroll turned on. They appear normally on Win98, but on XP, you cannot >see them! You *can* see the left and right arrows, but the actual >scrollbar between the arrows is "invisible". "Knowing" they are there, >you can click and scroll the field back and forth...so they do exist and >work, you just can't see them. I've tried as many different color >combinations, inks, etc., but to no avail... > >Has anyone else had a problem in getting a horizontal field scrollbar to >appear on XP? > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >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 xbury.cs at clearstream.com Tue May 25 11:11:18 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 25 May 2004 17:11:18 +0200 Subject: Can't see an hScroll scrollbar on XP Message-ID: I've just noticed some serious video issues in Win 2003 though Bugzilla watch out... On 25.05.2004 17:00:37 use-revolution-bounces wrote: >Sorry to disappoint but it works fine on windows 2003 with or without the >xp themes... > >Have you tried on a vanilla RR install or a new stack? > >On 25.05.2004 10:54:03 use-revolution-bounces wrote: >>One last problem with my most recent app: I have fields that have their >>hScroll turned on. They appear normally on Win98, but on XP, you cannot >>see them! You *can* see the left and right arrows, but the actual >>scrollbar between the arrows is "invisible". "Knowing" they are there, >>you can click and scroll the field back and forth...so they do exist and >>work, you just can't see them. I've tried as many different color >>combinations, inks, etc., but to no avail... >> >>Has anyone else had a problem in getting a horizontal field scrollbar to >>appear on XP? 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 jrvalent at wisc.edu Tue May 25 11:19:54 2004 From: jrvalent at wisc.edu (rand valentine) Date: Tue, 25 May 2004 10:19:54 -0500 Subject: (counting tabbed items) In-Reply-To: <20040525150019.8D7259300E8@mail.runrev.com> Message-ID: Thank you for your comment and clarification... could you clarify a bit more if you have a moment -- when you write "forcing the compiler to parse the tabs," what do you mean exactly -- I'm a linguist, so I know what parsing is :-), but I'm not quite clear as to its meaning here. Also, when you write "evaluate the constants first," what are the constants and what are not? And now for a more useful question for my purposes -- say I have a tab-delimited string -- if i want to grab the third item from the end, even if the last two are empty, I _know_ I can't code: (set the itemDelimiter to tab)... put item -3 of myLine but could I be absolutely certain of getting the right item if I coded put item -3 of "(" & myLine & ")" I will experiment with this a bit, but _really_ value your guys' (collective) gurucious ex cathedra comments about these most subtle details of the mortal world. Thank you again. rand On 5/25/04 10:00 AM, "use-revolution-request at lists.runrev.com" wrote: > Because without forcing the compiler to parse the tabs in the first > case, each tab is considered a text string. The concatenation looks like > this: > > "tabtabtabtab" > > If you put parentheses around it, the compiler will evaluate the > constants first before working with the string: > > put the number of items of (tab & tab & tab & tab) > > Gives 4. From rcozens at pon.net Tue May 25 11:37:16 2004 From: rcozens at pon.net (Rob Cozens) Date: Tue, 25 May 2004 08:37:16 -0700 Subject: (counting tabbed items) In-Reply-To: References: Message-ID: Hi rand, >if i want to grab the third item from the end, even >if the last two are empty, I _know_ I can't code: > > (set the itemDelimiter to tab)... > > put item -3 of myLine Why not? Have you tried it. Empty lines and empty items exist: in your example, "get item -1 of myLine" leaves "it" empty...as it should. It's only when one deals with words where "empty" entities (ie: multiple contiguous spaces) are ignored. -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From Meitnik at aol.com Tue May 25 11:37:56 2004 From: Meitnik at aol.com (Meitnik at aol.com) Date: Tue, 25 May 2004 11:37:56 EDT Subject: missing scrolling thumb in xp Message-ID: <1db.2269c6d0.2de4c254@aol.com> In a message dated 05/25/2004 11:03:02 AM, use-revolution-request at lists.runrev.com writes: > > Has anyone else had a problem in getting a horizontal field scrollbar to > appear on XP? > -- I too have seen this on xp for h and v scrollbars and my testers are very confused. andrew From dsc at swcp.com Tue May 25 13:03:50 2004 From: dsc at swcp.com (Dar Scott) Date: Tue, 25 May 2004 11:03:50 -0600 Subject: counting empty items In-Reply-To: Message-ID: <7EA06E52-AE6D-11D8-911D-000A9567A3E6@swcp.com> On Monday, May 24, 2004, at 11:09 AM, rand valentine wrote: > If I do this: > > set the itemDelimiter to tab > put the number of items of tab & tab & tab & tab > > 1 is returned. > > why not 4? I don't get it. This example may help: on mouseUp put empty put the length of comma & comma & comma & comma after message put lf after message put the number of items of comma & comma & comma & comma after message put lf after message put lf after message put (the length of comma) & comma & comma & comma after message put lf after message put (the number of items of comma) & comma & comma & comma after message put lf after message put lf after message put the length of (comma & comma & comma & comma) after message put lf after message put the number of items of (comma & comma & comma & comma) after message put lf after message end mouseUp == into message box ==> 1,,, 1,,, 1,,, 1,,, 4 4 Now imagine what that would look like with tabs as delimiters. (If you are wondering why 4 and not 5 is put in the message box, just ask.) Just as parentheses make a difference in these arithmetic expressions, it does in Transcript expressions: 1-2+3 (1-2)+3 1-(2+3) Dar Scott From revdan at danshafer.com Tue May 25 14:30:05 2004 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 25 May 2004 11:30:05 -0700 Subject: Performance Testing of Rev CGI? Message-ID: <8AF07CBF-AE79-11D8-B217-000A95AE42E6@danshafer.com> Has anyone done any stress testing of Rev CGI applications? At what kind of server or user load does it degrade badly enough to be a concern? Are there any other limitations of using Rev engines as CGI environments that you've encountered that i should know about? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of "Revolution: Software at the Speed of Thought" http://www.revolutionpros.com for more info Available at Runtime Revolution Store (http://www.runrev.com/RevPress) From RGould8 at aol.com Tue May 25 14:41:16 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Tue, 25 May 2004 14:41:16 EDT Subject: Passing variables between Flash and Rev Message-ID: I've got a client who's asking me if it's technically possible to have a standalone Flash Projector on Mac OS X sublaunch a Revolution app and pass variables to it. >From what little I know about Flash, it sounds like it _might_ be possible, perhaps by getting the Flash projector to sublaunch the Rev app and pass variables to it via AppleScript using the fs command. Am I heading down the right path, or is there a better way? (Flash writing a text file and Rev reading it perhaps?) Basically, they want the Flash Projector to sublaunch Rev, pass variables and quit itself, leaving the Rev app running. - Rob From kray at sonsothunder.com Tue May 25 15:03:58 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 25 May 2004 14:03:58 -0500 Subject: Passing variables between Flash and Rev In-Reply-To: Message-ID: <01a901c4428b$0c489ff0$6601a8c0@precision340> Rob, Unfortunately, the answer is 'no' (at least not in Flash MX which is what I have). If the Rev app is in the 'fscommand' folder of the Flash standalone, you can launch it, but the security sandbox of Flash doesn't allow for command line arguments to be passed or any other form of communication, including writing of files. Flash can store things in a cache, but it's in a format that can't be read by Rev (AFAIK). The only thing that you *can* do, IMHO, is to launch the Rev app and open a socket between the two, pass your information through the socket, and then close down Flash. HTH, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > RGould8 at aol.com > Sent: Tuesday, May 25, 2004 1:41 PM > To: use-revolution at lists.runrev.com > Subject: Passing variables between Flash and Rev > > > I've got a client who's asking me if it's technically > possible to have a > standalone Flash Projector on Mac OS X sublaunch a Revolution > app and pass > variables to it. > > >From what little I know about Flash, it sounds like it _might_ be > >possible, > perhaps by getting the Flash projector to sublaunch the Rev > app and pass > variables to it via AppleScript using the fs command. Am I > heading down the right > path, or is there a better way? (Flash writing a text file > and Rev reading > it perhaps?) Basically, they want the Flash Projector to > sublaunch Rev, pass > variables and quit itself, leaving the Rev app running. > > - Rob > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From RGould8 at aol.com Tue May 25 16:15:09 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Tue, 25 May 2004 16:15:09 EDT Subject: Passing variables between Flash and Rev Message-ID: <129.424629b6.2de5034d@aol.com> One last question, related: Do you know if Flash can sublaunch a Rev app via an "alias" of that App being placed in the "fscommand" folder of the Flash standalone, or do I need to have the entire Rev app itself inside that folder? In a message dated 5/25/04 3:06:44 PM, kray at sonsothunder.com writes: > Rob, > > Unfortunately, the answer is 'no' (at least not in Flash MX which is what I > have). If the Rev app is in the 'fscommand' folder of the Flash standalone, > you can launch it, but the security sandbox of Flash doesn't allow for > command line arguments to be passed or any other form of communication, > including writing of files. Flash can store things in a cache, but it's in a > format that can't be read by Rev (AFAIK). > > The only thing that you *can* do, IMHO, is to launch the Rev app and open a > socket between the two, pass your information through the socket, and then > close down Flash. > > HTH, > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > > -----Original Message----- > > From: use-revolution-bounces at lists.runrev.com > > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > > RGould8 at aol.com > > Sent: Tuesday, May 25, 2004 1:41 PM > > To: use-revolution at lists.runrev.com > > Subject: Passing variables between Flash and Rev > > > > > > I've got a client who's asking me if it's technically > > possible to have a > > standalone Flash Projector on Mac OS X sublaunch a Revolution > > app and pass > > variables to it. > > > > >From what little I know about Flash, it sounds like it _might_ be > > >possible, > > perhaps by getting the Flash projector to sublaunch the Rev > > app and pass > > variables to it via AppleScript using the fs command.?? Am I > > heading down the right > > path, or is there a better way??? (Flash writing a text file > > and Rev reading > > it perhaps?)?? Basically, they want the Flash Projector to > > sublaunch Rev, pass > > variables and quit itself, leaving the Rev app running. > > > > - Rob > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jbv.silences at Club-Internet.fr Tue May 25 16:33:00 2004 From: jbv.silences at Club-Internet.fr (jbv) Date: Tue, 25 May 2004 22:33:00 +0200 Subject: Passing variables between Flash and Rev References: <01a901c4428b$0c489ff0$6601a8c0@precision340> Message-ID: <40B3AD6E.CEEF5FAD@Club-Internet.fr> Ken Ray a *crit : > The only thing that you *can* do, IMHO, is to launch the Rev app and open a > socket between the two, pass your information through the socket, and then > close down Flash. > This is interesting. Has anybody tried that ? I've always considered Flash (or at least Actionscript) as a rather poor development tool, but interaction between Rev & Flash might open new perspectives... BTW sockets don't have to be opened on a same machine, right ? So what about opening sockets between a Flash app running on a webpage and Rev cgi on a distant server ? Am I completely spacing out ? Thanks, JB From kray at sonsothunder.com Tue May 25 16:28:38 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 25 May 2004 15:28:38 -0500 Subject: Passing variables between Flash and Rev In-Reply-To: <129.424629b6.2de5034d@aol.com> Message-ID: <01bb01c44296$df938090$6601a8c0@precision340> I'm pretty sure it has to be a real application. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > RGould8 at aol.com > Sent: Tuesday, May 25, 2004 3:15 PM > To: use-revolution at lists.runrev.com > Subject: Re: Passing variables between Flash and Rev > > > One last question, related: Do you know if Flash can > sublaunch a Rev app > via an "alias" of that App being placed in the "fscommand" > folder of the Flash > standalone, or do I need to have the entire Rev app itself > inside that folder? > > > In a message dated 5/25/04 3:06:44 PM, kray at sonsothunder.com writes: > > > > Rob, > > > > Unfortunately, the answer is 'no' (at least not in Flash MX > which is > > what I have). If the Rev app is in the 'fscommand' folder > of the Flash > > standalone, you can launch it, but the security sandbox of Flash > > doesn't allow for command line arguments to be passed or any other > > form of communication, including writing of files. Flash can store > > things in a cache, but it's in a format that can't be read by Rev > > (AFAIK). > > > > The only thing that you *can* do, IMHO, is to launch the > Rev app and > > open a socket between the two, pass your information through the > > socket, and then close down Flash. > > > > HTH, > > > > Ken Ray > > Sons of Thunder Software > > Email: kray at sonsothunder.com > > Web Site: http://www.sonsothunder.com/ > > > > > > > -----Original Message----- > > > From: use-revolution-bounces at lists.runrev.com > > > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > > > RGould8 at aol.com > > > Sent: Tuesday, May 25, 2004 1:41 PM > > > To: use-revolution at lists.runrev.com > > > Subject: Passing variables between Flash and Rev > > > > > > > > > I've got a client who's asking me if it's technically possible to > > > have a standalone Flash Projector on Mac OS X sublaunch a > Revolution > > > app and pass > > > variables to it. > > > > > > >From what little I know about Flash, it sounds like it > _might_ be > > > >possible, > > > perhaps by getting the Flash projector to sublaunch the > Rev app and > > > pass variables to it via AppleScript using the fs command.?? Am I > > > heading down the right > > > path, or is there a better way??? (Flash writing a text file > > > and Rev reading > > > it perhaps?)?? Basically, they want the Flash Projector to > > > sublaunch Rev, pass > > > variables and quit itself, leaving the Rev app running. > > > > > > - Rob > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at lists.runrev.com > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From revlists at canelasoftware.com Mon May 24 14:14:51 2004 From: revlists at canelasoftware.com (Mark Talluto) Date: Mon, 24 May 2004 11:14:51 -0700 Subject: what makes a file "installed"? In-Reply-To: <20040522190628.5989.qmail@web61108.mail.yahoo.com> References: <20040522190628.5989.qmail@web61108.mail.yahoo.com> Message-ID: <4014A2E8-ADAE-11D8-8F49-000393C3F5BC@canelasoftware.com> On May 22, 2004, at 12:06 PM, Erik Hansen wrote: > what makes a file "installed" > as opposed to "loaded" or "copied to" > the desktop? > > thank you, > > Erik Hansen The term installation really applies more to Windows systems than to Macintosh. On Windows, there are certain registry files that need to be adjusted or set for the files being installed. Sometimes files need to be installed in different locations. One of my apps installs fonts in the fonts folder, the application in the program files folder, a desktop icon in the desktop folder, and the aliases in the start program files folder. Because the process is more complex than just coping an single application file to the desktop, I suppose installation better covers the whole process. -- Best regards, Mark Talluto http://www.canelasoftware.com From frank at backtalk.com Tue May 25 18:06:07 2004 From: frank at backtalk.com (Frank Leahy) Date: Tue, 25 May 2004 23:06:07 +0100 Subject: Hack to make a "modal dialog" In-Reply-To: <20040525150019.AF1E29300EB@mail.runrev.com> References: <20040525150019.AF1E29300EB@mail.runrev.com> Message-ID: On May 25, 2004, at 4:00 PM, use-revolution-request at lists.runrev.com wrote: > Message: 2 > Date: Mon, 24 May 2004 12:17:20 -0500 > From: "J. Landman Gay" > Subject: Re: Hack to make a "modal dialog" > To: How to use Revolution > Message-ID: <40B22E20.8090005 at hyperactivesw.com> > Content-Type: text/plain; charset=us-ascii; format=flowed > > On 5/24/04 8:15 AM, Frank Leahy wrote: > >> 5. While the progress dialog is open, if the user clicks in any stack >> the mouseDown handler in the transparent button gets called, which >> forces the progress dialog back to the front. > > Do you get a window flash, or does it look like nothing changed? > > Sarah, Yes, there's a flash as the stack comes to the front for an instance before the dialog is forced to the front again. And there appears to be a bug where clicking in a stack's title bar causes the stack to come to the front but no resumeStack message is fired, so the dialog gets stuck behind. I guess I'll have to keep calling "go to stack" inside the progress dialog to force it to the front...ugh. It would be so much easier if a frontscript could completely trap mouseDown events. Or if there were a "mostly-modal" dialog property where the dialog is modal, but scripts keep running. -- Frank From frank at backtalk.com Tue May 25 18:13:49 2004 From: frank at backtalk.com (Frank Leahy) Date: Tue, 25 May 2004 23:13:49 +0100 Subject: fileType problems Message-ID: Hi, I'm setting the fileType to "FJL3PREF" for my preferences files, but I've noticed that this value is being used on *all* files I create, not just my preferences files. I thought this value would be handler specific, i.e. it would be set to empty after the handler finished. Unfortunately I'm finding that JPEG files that my app creates with "export image ... as JPEG" have this fileType as well. Should I set the fileType to empty after I've written the prefs file? Or "????????"? Or something else? Thanks, -- Frank From ambassador at fourthworld.com Tue May 25 18:26:32 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 25 May 2004 15:26:32 -0700 Subject: fileType problems In-Reply-To: References: Message-ID: <40B3C818.1050105@fourthworld.com> Frank Leahy wrote: > I'm setting the fileType to "FJL3PREF" for my preferences files, but > I've noticed that this value is being used on *all* files I create, not > just my preferences files. > > I thought this value would be handler specific, i.e. it would be set to > empty after the handler finished. Unfortunately I'm finding that JPEG > files that my app creates with "export image ... as JPEG" have this > fileType as well. > > Should I set the fileType to empty after I've written the prefs file? > Or "????????"? Or something else? The fileType property is persistent, initialized to "ttxtTEXT". For temporary use you'll probably want to save the current value and restore it when you're done: on SavePrefs global gPrefsData local tSaveType put the fileType into tSaveType set the fileType to "FJL3PREF" put gPrefsData into \ url ("file:"&specialFolderPath("Preferences")&"/MyAppPrefs") set the fileType to tSaveType end SavePrefs -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From kray at sonsothunder.com Tue May 25 18:38:37 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 25 May 2004 17:38:37 -0500 Subject: Passing variables between Flash and Rev In-Reply-To: <40B3AD6E.CEEF5FAD@Club-Internet.fr> Message-ID: <01d601c442a9$0826c000$6601a8c0@precision340> > > The only thing that you *can* do, IMHO, is to launch the > Rev app and > > open a socket between the two, pass your information through the > > socket, and then close down Flash. > > > > This is interesting. Has anybody tried that ? Actually, I have, and it works pretty well. > BTW sockets don't have to be opened on a same machine, > right ? So what about opening sockets between a Flash app > running on a webpage and Rev cgi on a distant server ? Am I > completely spacing out ? Theoretically you're right... Flash's "XML Socket" communication is normally intended for comm to a web server, but there shouldn't be a reason it couldn't talk to a Rev CGI... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kkaufman at snet.net Tue May 25 22:13:42 2004 From: kkaufman at snet.net (Kurt Kaufman) Date: Tue, 25 May 2004 22:13:42 -0400 Subject: QuickTime capabilities question (naive response) Message-ID: <4F9598F5-AEBA-11D8-A1FD-0003937052EC@snet.net> "its worse on the pc end since some authoring systems required a dll only present in one version of quicktime to work. it created a sitiuation where you had to install the older version of qt then install the newer version just to get the one old needed dll from the older qt..." This was a mess many years ago when we were using Oracle Media Objects; if I remember correctly there was a "QuickTime Object" that would function correctly only with a few versions of QT, and not the most recent versions, either. I don't miss those days at all! -KK From jacque at hyperactivesw.com Wed May 26 01:34:53 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 26 May 2004 00:34:53 -0500 Subject: (counting tabbed items) In-Reply-To: References: Message-ID: <40B42C7D.90407@hyperactivesw.com> On 5/25/04 10:19 AM, rand valentine wrote: > Thank you for your comment and clarification... could you clarify a bit > more if you have a moment -- when you write "forcing the compiler to parse > the tabs," what do you mean exactly -- I'm a linguist, so I know what > parsing is :-), but I'm not quite clear as to its meaning here. My language probably wasn't very exact. What I meant was, there needs to be a way for the compiler to recognize that the word "tab" is not a string of characters but rather the tab constant. It usually does this automatically, but when you use the concatenation character "&", the engine may assume that the word "tab" is an unquoted string of characters that you are trying to concatenate. Since parentheses force an evaluation of whatever is between them, putting parentheses around the phrase causes the compiler to recognize "tab" as a constant because it evaluates each part of the content before doing anything else with it. (Re-reading that, I'm not sure I explained it any more clearly. Maybe someone who hasn't been so sleep deprived can explain it better.) > > Also, when you write "evaluate the constants first," what are the > constants and what are not? Revolution has several pre-defined contstants; words that can be used in scripts to represent certain standard values. "Tab" is one of those. So are: space, colon, comma, cr, slash, and a bunch of others, including all number names between one and ten, and various cursor types, among others. See the entry in the dictionary for "constantNames" to get a whole list. There's a bunch. You can use constants in scripts instead of typing their actual values. That is, you can use "10" or "ten" interchangeably; "ten" is the constant. Ditto, "cross" is the constant for the cursor with the value of 7. You can define your own custom constants in your scripts too. > > And now for a more useful question for my purposes -- say I have a > tab-delimited string -- if i want to grab the third item from the end, even > if the last two are empty, I _know_ I can't code: > > (set the itemDelimiter to tab)... > > put item -3 of myLine > > but could I be absolutely certain of getting the right item if I coded > > put item -3 of "(" & myLine & ")" No, because no matter how you code it, the third item from the end is only going to count backward from the total number of items. Rev removes trailing delimiters from the end of the list (that is, the trailing tab that delimits an empty last item) so your list will always end up with one less item in it if the last one is empty. Your best bet is to count from the front. ;) > > I will experiment with this a bit, but _really_ value your guys' > (collective) gurucious ex cathedra comments about these most subtle details > of the mortal world. Thank you again. > > rand > > On 5/25/04 10:00 AM, "use-revolution-request at lists.runrev.com" > wrote: > > > >>Because without forcing the compiler to parse the tabs in the first >>case, each tab is considered a text string. The concatenation looks like >>this: >> >>"tabtabtabtab" >> >>If you put parentheses around it, the compiler will evaluate the >>constants first before working with the string: >> >> put the number of items of (tab & tab & tab & tab) >> >>Gives 4. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From erikhans08 at yahoo.com Wed May 26 01:51:16 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Tue, 25 May 2004 22:51:16 -0700 (PDT) Subject: QuickTime capabilities question (naive response) In-Reply-To: <4F9598F5-AEBA-11D8-A1FD-0003937052EC@snet.net> Message-ID: <20040526055116.80733.qmail@web61106.mail.yahoo.com> --- Kurt Kaufman wrote: > "its worse on the pc end since some authoring > systems required a dll only present in one > version of quicktime to work. > it created a sitiuation where you had to > install the older version of qt > then install the newer version just to get the > one old needed dll from > the older qt..." > > This was a mess many years ago when we were > using Oracle Media Objects; > if I remember correctly there was a "QuickTime > Object" that would > function correctly only with a few versions of > QT, and not the most > recent versions, either. I don't miss those > days at all! but the new QT is better, right? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From xbury.cs at clearstream.com Wed May 26 04:36:17 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed, 26 May 2004 10:36:17 +0200 Subject: IDE Interference (not just a another rant) Message-ID: Dear fellow RR developpers... I just noticed 4 days ago that a minute stack was really slow. Tracking it down wasn't much help because the message watcher threw me off thinking the problem was the TableManager (sorry Jan)... Besides the fact that the message watcher is nearly useless, it throws in all the RR's messages to confuse you and doesn't tell you where the message came from... The more stacks or windows (scritp editors for ex.) you open, the more messages you get to confuse you... Anyway, my stack was really slow all the time and the problem was untraceable... Then I noticed that a message suspendstack was saving the stack at each suspendstack... Nothing wrong there except that whenever I went to the revprops or revtools or revmenu palette, my stack would get a suspendstack event!!!!!!!!!! Since RR is ultra slow, ultra-cpu-hog, I couldn't be get more and more irritated... On a 2.8 MHz P4 512MBs, this is a shame, and a real bummer for productivity... Why would a 10 K stack take 5 seconds to save and hog your CPU at 55 % (or 99% hog on a 1.8MHz P4...)? IS THAT NORMAL? This is NOT normal behavior and I believe we are all affected! Any solutions or suggestions to avoid this kind of IDE interference? The message watcher is also showing lots of events that dont seem pertinent to the environment/moment - lots of reveditscript messages (a script window is opened) but im not editing the script currently. Incidentally this is the @%)*@&#)%*( message I cannot use in the plug-ins to use my own script editor which despite all my bug reporting is still light years ahead of RR's (not to mention an improved message and variable watcher that really work in MC for years now) Obviously RR's plug-ins are irrelevant and futile since they haven't been fixed for years... What is really frustrating is that all these messages interfere with normal stack operations - suspendstack in the occurence... My question is whether there is a way to STOP them and have a minimum environment like MC in order to trace real stack problems and not RR's interference? Note the debug mode is needed and can't be done without. - No offense meant - sorry for the lack of professional wording, I just wanted to say what I think in all honesty and without any dumbfounded unrealistic diplomacy. You and I are loosing precious time due to these problems and most dont notice... Last but not least, please reply to this thread if you want RR's IDE to improve - Im sure RR's great developpers will notice that something IS wrong... Quality is not just a GUI feature... Unfortunately this is not a real bugzilla matter... and I would assume it would be disregarded as a functional requirements. So a little public motion may help us all I hope... Regards, and long live RR! Xavier PS: when will this subscription list adhere to standards and strip the CC's and other non-subscription list emails? Do you like SPAM, and mis-forwards to the wrong persons? I suppose it's normal... ;) 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 ambassador at fourthworld.com Wed May 26 05:35:01 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 26 May 2004 02:35:01 -0700 Subject: IDE Interference (not just a another rant) In-Reply-To: References: Message-ID: <40B464C5.4070508@fourthworld.com> xbury.cs at clearstream.com wrote: > Dear fellow RR developpers... > > I just noticed 4 days ago that a minute stack was really slow. > > Tracking it down wasn't much help because the message > watcher threw me off thinking the problem was the TableManager > (sorry Jan)... Besides the fact that the message watcher is nearly > useless, it throws in all the RR's messages to confuse you and > doesn't tell you where the message came from... The more stacks > or windows (scritp editors for ex.) you open, the more messages you > get to confuse you... The Rev Message Watcher "throws in all the RR's messages" not to confuse you, but to allow you to watch them. That's where its name comes from. The tool has no way to determine which subset of messages you're interested in. If you want to see only native system messages try UmbrellaMan (in RevNet). It also shows the target and provides a means of selecting only the messages you want to watch. It's free: if it doesn't work as you'd like please don't flame me. > Anyway, my stack was really slow all the time and the problem was > untraceable... Then I noticed that a message suspendstack was > saving the stack at each suspendstack... Nothing wrong there > except that whenever I went to the revprops or revtools or revmenu > palette, my stack would get a suspendstack event!!!!!!!!!! > > Since RR is ultra slow, ultra-cpu-hog, I couldn't be get more and > more irritated... On a 2.8 MHz P4 512MBs, this is a shame, and > a real bummer for productivity... > > Why would a 10 K stack take 5 seconds to save and hog your CPU > at 55 % (or 99% hog on a 1.8MHz P4...)? > > IS THAT NORMAL? > > This is NOT normal behavior and I believe we are all affected! It seems you answered your own question. Agreed, there is no auto-save option in prefs, so if the IDE is auto-saving it's an issue to post to Bugzilla. But I haven't seen this behavior, so'm not sure it is. Sure you don't have an auto-saving plugin doing that for you? > Any solutions or suggestions to avoid this kind of IDE interference? Check your plugins. > The message watcher is also showing lots of events that dont > seem pertinent to the environment/moment - lots of reveditscript > messages (a script window is opened) but im not editing the script > currently. I believe that's a pending message sent at a regular interval to poll for command-option in order to allow script access with the browse tool. There were two predominant standards in circulation at the time the IDE was crafted: SuperCard's, in which you hold down the Command and Option keys while hovering over and object, and Command-Option-click to emulate HyperCard's method. The SuperCard method was chosen, but because of the nature of the available system messages choosing that method requires a polling system the HyperCard method would not. I believe this has been submitted to Bugzilla as a feature request for an option to choose between those two methods. > Incidentally this is the @%)*@&#)%*( message I cannot > use in the plug-ins to use my own script editor which despite all my > bug reporting is still light years ahead of RR's (not to mention an > improved message and variable watcher that really work in MC > for years now) > > Obviously RR's plug-ins are irrelevant and futile since they haven't > been fixed for years... You've mentioned this before, but you've either entered the bug report in Bugzilla or you haven't. If you have you can track its progress through Bugzilla's interface. If you haven't there's little point in bringing it up in any other venue. In either case I'm unclear what you expect the readers of this list to do for you on that one. The only plugin I've seen issues with is the example plugin, but since it's only an example it's never been a show-stopper for me, nor has it affected any of the other plugins I use. > What is really frustrating is that all these messages interfere with > normal stack operations - suspendstack in the occurence... > > My question is whether there is a way to STOP them and have a > minimum environment like MC Er, use MC? It has a plugin system now, and it uses only native system messages so the other issues you've had should not be evident there. > - No offense meant - sorry for the lack of professional wording.... > PS: when will this subscription list adhere to standards and strip the > CC's and other non-subscription list emails? Do you like SPAM, and > mis-forwards to the wrong persons? I suppose it's normal... ;) Dude, please. If you have a question about the list format contact the listmom, Heather. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From xbury.cs at clearstream.com Wed May 26 09:13:57 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed, 26 May 2004 15:13:57 +0200 Subject: IDE Interference (not just a another rant) Message-ID: Richard, An hour of yoga will fix many Revproblems, at least make them irrelevant for a while ;) On 26.05.2004 11:35:01 use-revolution-bounces wrote: >xbury.cs at clearstream.com wrote: > >> Dear fellow RR developpers... >> >> I just noticed 4 days ago that a minute stack was really slow. >> >> Tracking it down wasn't much help because the message >> watcher threw me off thinking the problem was the TableManager >> (sorry Jan)... Besides the fact that the message watcher is nearly >> useless, it throws in all the RR's messages to confuse you and >> doesn't tell you where the message came from... The more stacks >> or windows (scritp editors for ex.) you open, the more messages you >> get to confuse you... > >The Rev Message Watcher "throws in all the RR's messages" not to confuse >you, but to allow you to watch them. That's where its name comes from. >The tool has no way to determine which subset of messages you're >interested in. It would be nice to have the same prefs for the RMW as for the right click or app browser concerning the rev IDE/GUI >If you want to see only native system messages try UmbrellaMan (in >RevNet). It also shows the target and provides a means of selecting >only the messages you want to watch. It's free: if it doesn't work as >you'd like please don't flame me. I'll give it a try and forward any design enhancements if possible. If I flame RR is because sometimes I believe they dont observe the same quality guidelines everywhere... The IDE being the most important part of an, eh, IDE, i feel a good critique is good for the general health once in a while ;) If only RR could do yoga :)) >> This is NOT normal behavior and I believe we are all affected! > >It seems you answered your own question. My monologue again! >Agreed, there is no auto-save option in prefs, so if the IDE is >auto-saving it's an issue to post to Bugzilla. I was doing the auto-save in my stacks suspendstack event. I still feel my own events are more reliable than RR's built-in - the menu bar being the worse example... >But I haven't seen this behavior, so'm not sure it is. Sure you don't >have an auto-saving plugin doing that for you? Plug-ins (PIM) are not my favorite part of RR... ;( Mostly because the features i need in the PIM, dont work! >> Any solutions or suggestions to avoid this kind of IDE interference? > >Check your plugins. NONE - they dont work anyway other than startup... I gave up on reveditscript and revselection changed... I had some AWESOME plugins to come... no release date yet... >> The message watcher is also showing lots of events that dont >> seem pertinent to the environment/moment - lots of reveditscript >> messages (a script window is opened) but im not editing the script >> currently. > >I believe that's a pending message sent at a regular interval to poll >for command-option in order to allow script access with the browse tool. Diversion: There's many more messages going on... revtablexxxx, revSEpalettedisplay, reveditscript, etc etc etc... >> Incidentally this is the @%)*@&#)%*( message I cannot >> use in the plug-ins to use my own script editor which despite all my >> bug reporting is still light years ahead of RR's (not to mention an >> improved message and variable watcher that really work in MC >> for years now) >You've mentioned this before, but you've either entered the bug report >in Bugzilla or you haven't. If you have you can track its progress >through Bugzilla's interface. If you haven't there's little point in >bringing it up in any other venue. In either case I'm unclear what you >expect the readers of this list to do for you on that one. Relevance: I entered the bug long ago. More than once and one of the earliest bugs regarding this is still UNCO or not an issue ! BTW, the latest RR feature list omits any mention of Plugins... >The only plugin I've seen issues with is the example plugin, but since >it's only an example it's never been a show-stopper for me, nor has it >affected any of the other plugins I use. The example plugin is the ONLY one I've managed to make work. Porting my plugin scritps and buttons to it resulted in major crashes and more lost time and scripts... as usual - when it dont work, get out... >> What is really frustrating is that all these messages interfere with >> normal stack operations - suspendstack in the occurence... >> >> My question is whether there is a way to STOP them and have a >> minimum environment like MC > >Er, use MC? I do too were critical and in our corporate production. I use RR for fun and general mad science development. It's sad to downgrade technology to make things work though... >It has a plugin system now, and it uses only native system messages so >the other issues you've had should not be evident there. I still have to give 2.6 a try but time is short lately... >> - No offense meant - sorry for the lack of professional wording.... > >> PS: when will this subscription list adhere to standards and strip the >> CC's and other non-subscription list emails? Do you like SPAM, and >> mis-forwards to the wrong persons? I suppose it's normal... ;) > >Dude, please. If you have a question about the list format contact the >listmom, Heather. im just waiting for another blunder to happen to laugh my heart out! 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 webmaster at dreamscapesoftware.com Wed May 26 10:59:26 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Wed, 26 May 2004 16:59:26 +0200 Subject: IDE Interference (not just a another rant) References: Message-ID: <003101c44332$0d651290$30dbd80a@WorkPC> > Why would a 10 K stack take 5 seconds to save and hog your CPU > at 55 % (or 99% hog on a 1.8MHz P4...)? I just want to make sure on this comment. Are you talking about the delay when the "Save" dialog appears? Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From b.xavier at internet.lu Wed May 26 13:09:20 2004 From: b.xavier at internet.lu (MisterX) Date: Wed, 26 May 2004 19:09:20 +0200 Subject: IDE Interference (not just a another rant) In-Reply-To: <003101c44332$0d651290$30dbd80a@WorkPC> Message-ID: from the moment you press cntrol s until the IDE reacts again... but consider it takes 1 second for OS to file access, even 2 seconds to save 10 Ks to be extrememly long... The CPU hog is the worst, it's capable of screwing up a DVD burn among other things (true story)... And on a PC, it's hard to do that usually (no osx experience but MacOS was really sensible whereas the PC is not.) Real life... Control-Alt-S (the old edit stack script shortcut) will block your PC or Mac for 5 seconds per stack opened... Oops... RR's CPU hunger is a major problem IMOHO. Not that it can hog the CPU but it does it anytime... > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Derek Bump > Sent: Wednesday, May 26, 2004 16:59 > To: How to use Revolution > Subject: Re: IDE Interference (not just a another rant) > > > > Why would a 10 K stack take 5 seconds to save and hog your CPU > > at 55 % (or 99% hog on a 1.8MHz P4...)? > > I just want to make sure on this comment. Are you talking about the delay > when the "Save" dialog appears? > > Derek Bump > Dreamscape Software > ____________________________________________ > Compress Images Easily with JPEGCompress > http://www.dreamscapesoftware.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Wed May 26 13:16:01 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 26 May 2004 10:16:01 -0700 Subject: IDE Interference (not just a another rant) In-Reply-To: References: Message-ID: <40B4D0D1.1080708@fourthworld.com> MisterX wrote: > but consider it takes 1 second for OS to file access, even 2 seconds > to save 10 Ks to be extrememly long... If that's how long it takes to access files on a 1.8MHz machine there's something else going on there that may be beyond Rev's ability to control. Even my 500MHz machine performs much faster than that for all sessions with Rev. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From herz at ucsd.edu Wed May 26 13:29:02 2004 From: herz at ucsd.edu (Richard K. Herz) Date: Wed, 26 May 2004 10:29:02 -0700 Subject: Performance Testing of Rev CGI? References: <20040526141409.BBA2C93008A@mail.runrev.com> Message-ID: <006601c44346$f0709be0$58bfef84@maerkhpc1> Dan Shafer asked: >Are there any other limitations of using Rev engines as CGI >environments that you've encountered that i should know about? In a bubbling first attempt at doing chat, I used posts to Rev CGI on a shared Linux server at a commercial web host. It worked well but the host shut it down because of "too big a load on the server." My understanding is that each CGI post starts up a new instance of the Rev engine, producing the excessive load in my case. It seems that Rev CGI on a shared server is good for things that don't produce a lot of simultaneous posts, like web forms. It appears the way to do chat is to open one Rev CGI engine instance which runs continuously and communicates with multiple clients over sockets, though I haven't tested it with a a lot of users yet. Rich Herz From ambassador at fourthworld.com Wed May 26 13:32:42 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 26 May 2004 10:32:42 -0700 Subject: IDE Interference (not just a another rant) In-Reply-To: References: Message-ID: <40B4D4BA.3000907@fourthworld.com> xbury.cs at clearstream.com wrote: > I gave up on reveditscript and revselection changed... > I had some AWESOME plugins to come... no release date yet... I gave you the solution months ago when you first started complaining about this. Rev's messages for plugins are convenient but by no means necessary. While other plugin authors aren't reporting the sorts of show-stoppers you keep writing about, simply taking advantage of the solicited advice given would completely free you of such frustration. In short, use frontScripts. Take a look at how UmbrellaMan works, or an even better example might be 4W Props (also in RevNet). When in use they insert a frontScript to trap any messages they need, and when they close they tidy up after themselves by removing that frontScript. Using a frontScript to trap native messages directly takes about a minute of extra work to set up, but once done it puts you in total control of what's happening, reducing the layers between you and the engine. Caveat: as a courtesy to the rest of the environment, in most cases you'll want to pass any system messages trapped in a frontScript. The only exception I can think of is the editScript message, as there's no point in letting Rev get it to open another script editor if you're trapping it to open your own. Messages like selectedObjectChanged are definitely things you'll want to pass. Another benefit to using frontScripts rather than relying on Rev's dispatched messages is that you'll be able to use your plugins in any IDE. If you move work between multiple IDEs this can be invaluable. FrontScripts and other means of extending the message path are detailed here: >>>PS: when will this subscription list adhere to standards and strip the >>>CC's and other non-subscription list emails? Do you like SPAM, and >>>mis-forwards to the wrong persons? I suppose it's normal... ;) >> >>Dude, please. If you have a question about the list format contact the >>listmom, Heather. > > im just waiting for another blunder to happen to laugh my heart out! Your schadenfreude is inspiring. I haven't experienced any sort of "blunder" related to forwarding, etc. What's going on with your email client? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From RGould8 at aol.com Wed May 26 13:54:08 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Wed, 26 May 2004 13:54:08 EDT Subject: Way to retrieve chip info from Mac? Message-ID: <126.41e1c781.2de633c0@aol.com> I have no idea if this is possible, but a client was asking me if there's a way for Revolution to retrieve the name of the main chip used in the CPU of a Mac. If I go into system profiler, I get this info: Machine Model: Power Mac G4 CPU Type: PowerPC G4 (2.1) Number Of CPUs: 2 CPU Speed: 1 GHz L2 Cache (per CPU): 256 KB L3 Cache (per CPU): 1 MB Memory: 1.25 GB Bus Speed: 167 MHz Boot ROM Version: 4.48f2 Serial Number: SG236BEQMFX So I'm wondering if the Mac even has a reason to keep track of such things as the name of the chip. Are there unix calls that perhaps give more information about these lower-level things? From b.xavier at internet.lu Wed May 26 14:06:44 2004 From: b.xavier at internet.lu (MisterX) Date: Wed, 26 May 2004 20:06:44 +0200 Subject: IDE Interference (not just a another rant) In-Reply-To: <40B4D4BA.3000907@fourthworld.com> Message-ID: > xbury.cs at clearstream.com wrote: > > > I gave up on reveditscript and revselection changed... > > I had some AWESOME plugins to come... no release date yet... > > I gave you the solution months ago when you first started complaining > about this. Rev's messages for plugins are convenient but by no means > necessary. While other plugin authors aren't reporting the sorts of > show-stoppers you keep writing about, simply taking advantage of the > solicited advice given would completely free you of such frustration. Richard, I definitely want to meet you in Malta! You're the show makegoer! > >>>PS: when will this subscription list adhere to standards and strip the > >>>CC's and other non-subscription list emails? Do you like SPAM, and > >>>mis-forwards to the wrong persons? I suppose it's normal... ;) > >> > >>Dude, please. If you have a question about the list format contact the > >>listmom, Heather. > > > > im just waiting for another blunder to happen to laugh my heart out! > > Your schadenfreude is inspiring. My what? I didn't know I had that! > I haven't experienced any sort of "blunder" related to forwarding, etc. > What's going on with your email client? Lotus Nots pardi! (But we just managed to install the Outlook client on "our" admin workstations ;) Lucky me, I can't use it because I have the IT directors walking behind me rather too often! Fortunately at home I got the standard issue... From b.xavier at internet.lu Wed May 26 14:06:45 2004 From: b.xavier at internet.lu (MisterX) Date: Wed, 26 May 2004 20:06:45 +0200 Subject: IDE Interference (not just a another rant) In-Reply-To: <40B4D0D1.1080708@fourthworld.com> Message-ID: that was a hypothetical estimate in favor of RR's engine ;) Given the astronomical speeds of the systems we have (overblown IOWs) the whole operation should not take 1 second! But consider that when you save the hilitedlines get deselected too... If you do type save this stack in the messagebox instead of control-s it does take less than 1 second on an overloaded 1.8MHz... So why waste this time on the dialog... Sounds like a bugzilla suggestion! But it's these slowdowns that bring up the real issues with conflicting leaks of IDE event within developper running code space. Something that was "almost" impervious in the HC, SC and MC environments. Am I watching too much star trek or what? I'll try to write a borg simulator in RR sometime! > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Richard > Gaskin > Sent: Wednesday, May 26, 2004 19:16 > To: How to use Revolution > Subject: Re: IDE Interference (not just a another rant) > > > MisterX wrote: > > but consider it takes 1 second for OS to file access, even 2 seconds > > to save 10 Ks to be extrememly long... > > If that's how long it takes to access files on a 1.8MHz machine there's > something else going on there that may be beyond Rev's ability to > control. Even my 500MHz machine performs much faster than that for all > sessions with Rev. > > -- > 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 > http://lists.runrev.com/mailman/listinfo/use-revolution From RGould8 at aol.com Wed May 26 14:29:11 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Wed, 26 May 2004 14:29:11 EDT Subject: Nevermind email about cpu chip Message-ID: <3e.3f80f452.2de63bf7@aol.com> I think my client and I were both confusing each other about what he really wanted to know about the chip. "the processor" command will do just fine for his needs. From ambassador at fourthworld.com Wed May 26 14:50:50 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 26 May 2004 11:50:50 -0700 Subject: IDE Interference (not just a another rant) In-Reply-To: References: Message-ID: <40B4E70A.5030808@fourthworld.com> MisterX wrote: > that was a hypothetical estimate in favor of RR's engine ;) > > Given the astronomical speeds of the systems we have (overblown IOWs) > the whole operation should not take 1 second! But consider that when > you save the hilitedlines get deselected too... If you do type > save this stack in the messagebox instead of control-s it does take > less than 1 second on an overloaded 1.8MHz... So why waste this time > on the dialog... > > Sounds like a bugzilla suggestion! I'm still not clear on why it's auto-saving at all. If there are no plugins doing that, what is? Auto-saving is not a normal behavior for the Rev IDE. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Wed May 26 15:00:45 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 26 May 2004 12:00:45 -0700 Subject: IDE Interference (not just a another rant) In-Reply-To: References: Message-ID: <40B4E95D.6040202@fourthworld.com> MisterX wrote: > Richard, I definitely want to meet you in Malta! You're coming? Cool! Jim Sims has done a great job putting together a strong lineup. While I'll hopefully be at least amusing, the rest of his lineup is chock full o' experience: Kevin Miller Malte Brill Klaus Major Frederic Rinaldi Jan Schenkel For those of you in Europe or just looking for an excuse to have a great vacation and learn a few things at the same time (I've been reading up on Malta and it sounds wonderful), the URL to the EuroRevCon is: Xavier, keep me posted on how the frontScript option works for your plugins. I think you'll be pleased with the clean efficient approach. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From gizmotron at earthlink.net Wed May 26 16:17:58 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed, 26 May 2004 13:17:58 -0700 Subject: Application Icons in Mac classic In-Reply-To: <01bb01c44296$df938090$6601a8c0@precision340> Message-ID: Hi, Has anyone successfully created a standalone Mac 9 app with Rev 2.2 that included an icon for the app? I used Iconographer to create recommended icons and tried to build in Rev 2.2 Mac 10 and native in an I-Mac 9.0 using Rev 2.2 Classic. In either case I can't get Rev to accept and show the icon. The standalone builder won't add it properly. Is this a known bug? I've been beating my head against a wall for three days on this. Iconographer has a cheating way to do it that is no better than copy and paste inside the "get info window." This does not display the proper icon for the finder and can be removed with the delete button. The standalone builder bothers to ask during a set up but does nothing during the build. Any suggestions or success stories would be welcome. Mark From jbv.silences at Club-Internet.fr Wed May 26 16:28:20 2004 From: jbv.silences at Club-Internet.fr (jbv) Date: Wed, 26 May 2004 22:28:20 +0200 Subject: Passing variables between Flash and Rev References: <01d601c442a9$0826c000$6601a8c0@precision340> Message-ID: <40B4FDE1.2A3E8C58@Club-Internet.fr> > > > The only thing that you *can* do, IMHO, is to launch the > > Rev app and > > > open a socket between the two, pass your information through the > > > socket, and then close down Flash. > > > > > > > This is interesting. Has anybody tried that ? > > Actually, I have, and it works pretty well. > Just curious : did you open a socket between a Rev standalone and a Flash standalone running simultaneously, or inside a single Rev standalone with a Flash animation running in a player ? Thanks, JB From userev at canelasoftware.com Wed May 26 16:32:32 2004 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 26 May 2004 13:32:32 -0700 Subject: Application Icons in Mac classic In-Reply-To: References: Message-ID: On May 26, 2004, at 1:17 PM, Mark Brownell wrote: > Hi, > > Has anyone successfully created a standalone Mac 9 app with Rev 2.2 > that included an icon for the app? I used Iconographer to create > recommended icons and tried to build in Rev 2.2 Mac 10 and native in > an I-Mac 9.0 using Rev 2.2 Classic. In either case I can't get Rev to > accept and show the icon. The standalone builder won't add it > properly. Is this a known bug? > > I've been beating my head against a wall for three days on this. > Iconographer has a cheating way to do it that is no better than copy > and paste inside the "get info window." This does not display the > proper icon for the finder and can be removed with the delete button. > > The standalone builder bothers to ask during a set up but does nothing > during the build. > > Any suggestions or success stories would be welcome. > Mark, I have been using the ResEdit method. I remember trying it some time ago and not getting it to go. I really did not spend much time with it. I have my own method down so well, that I just reverted to get the job done. -- Best regards, Mark Talluto http://www.canelasoftware.com From gizmotron at earthlink.net Wed May 26 16:40:56 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed, 26 May 2004 13:40:56 -0700 Subject: Application Icons in Mac classic In-Reply-To: Message-ID: On Wednesday, May 26, 2004, at 01:32 PM, Mark Talluto wrote: > Mark, > > I have been using the ResEdit method. I remember trying it some time > ago and not getting it to go. I really did not spend much time with > it. I have my own method down so well, that I just reverted to get > the job done. > > -- > Best regards, > Mark Talluto That's what I was going to try next. Does this work for filetype association as well regarding setting an icon type for creator codes, signatures and document extensions for files that are created with the standalone? All this works great on Mac X. Thanks, Mark From userev at canelasoftware.com Wed May 26 16:47:48 2004 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 26 May 2004 13:47:48 -0700 Subject: Application Icons in Mac classic In-Reply-To: References: Message-ID: On May 26, 2004, at 1:40 PM, Mark Brownell wrote: > > On Wednesday, May 26, 2004, at 01:32 PM, Mark Talluto wrote: > >> Mark, >> >> I have been using the ResEdit method. I remember trying it some time >> ago and not getting it to go. I really did not spend much time with >> it. I have my own method down so well, that I just reverted to get >> the job done. >> >> -- >> Best regards, >> Mark Talluto > > That's what I was going to try next. Does this work for filetype > association as well regarding setting an icon type for creator codes, > signatures and document extensions for files that are created with the > standalone? All this works great on Mac X. > > Thanks, > > Mark It all works well using the ResEdit method. One of these days I will try out the Rev internal method again and see how it is going. If you have found a problem though, it would be good to bugzilla it. Monte is on the ball and has been very timely with bug fixes. -- Best regards, Mark Talluto http://www.canelasoftware.com From kray at sonsothunder.com Wed May 26 17:01:41 2004 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 26 May 2004 16:01:41 -0500 Subject: Passing variables between Flash and Rev In-Reply-To: <40B4FDE1.2A3E8C58@Club-Internet.fr> Message-ID: <00e701c44364$a7ee0100$6601a8c0@precision340> > Just curious : did you open a socket between a Rev standalone > and a Flash standalone running simultaneously, or inside a > single Rev standalone with a Flash animation running in a player ? Between two standalones... haven't tried between a standalone and a player... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From sarahr at genesearch.com.au Wed May 26 18:42:24 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 27 May 2004 08:42:24 +1000 Subject: IDE Interference (not just a another rant) In-Reply-To: References: Message-ID: > Tracking it down wasn't much help because the message > watcher threw me off thinking the problem was the TableManager > (sorry Jan)... Besides the fact that the message watcher is nearly > useless, it throws in all the RR's messages to confuse you and > doesn't tell you where the message came from... The more stacks > or windows (scritp editors for ex.) you open, the more messages you > get to confuse you... Click the Suppress button in the Message Watcher and you have all sorts of options for telling the Message Watcher what messages to ignore. When a line appears, select it to see where it came from. > > Anyway, my stack was really slow all the time and the problem was > untraceable... Then I noticed that a message suspendstack was > saving the stack at each suspendstack... Nothing wrong there > except that whenever I went to the revprops or revtools or revmenu > palette, my stack would get a suspendstack event!!!!!!!!!! It seems to me that you would have a lot more cause to complain if going to a different stack did NOT send a suspendStack message! However, if your save stack routine is causing you problems, that may be due to your saving method. If you are using the internal "revSave" handler either in a script or by calling the Save menu item directly, it throws up a dialog box telling you what has been saved. This box stays open for 2 seconds but you can of course edit the script for that if you want. If you use the simpler "save this stack", you will not get the dialog and saving should be so fast as to be undetectable. The disadvantage is that it does not compact the stack so if you have been adding or deleting lots of objects, you should do a menu save every now & then. > > Since RR is ultra slow, ultra-cpu-hog, I couldn't be get more and > more irritated... On a 2.8 MHz P4 512MBs, this is a shame, and > a real bummer for productivity... > > Why would a 10 K stack take 5 seconds to save and hog your CPU > at 55 % (or 99% hog on a 1.8MHz P4...)? > > IS THAT NORMAL? > > This is NOT normal behavior and I believe we are all affected! No it is not normal and no we are not all affected. I think you are blaming Rev for something that you have added as the default installation of Rev is not "ultra slow" and is not an "ultra-cpu-hog". Check what stacks you have in use and whether you have added an front or back scripts. Something you are doing is causing this lack of performance and leading to your frustration. I have numerous plugins running constantly, both my own, Rev's and those contributed by others and I have none of these problems. Sarah From movatman at hotmail.com Wed May 26 19:19:43 2004 From: movatman at hotmail.com (Histo Man) Date: Wed, 26 May 2004 23:19:43 +0000 Subject: Disappearing Stacks! Help! Message-ID: Okay, I've spent several days getting an application put together. Nine main screens, fields and buttons in place. One button in the main stack takes you to a card in a substack....used to anyway! Now, the substack appears only as a minimized Icon at the bottom of the screen. Next thing I know, my main stack is also not visible--it just stays an icon at the bottom of the screen. Anyone know how I can persuade the stack to show itself? I am running the trial version, but I gotta say, if my applications keep disappearing I'm not going to buy the thing. Is this a bug? _________________________________________________________________ Express yourself with the new version of MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From movatman at hotmail.com Wed May 26 19:41:51 2004 From: movatman at hotmail.com (Histo Man) Date: Wed, 26 May 2004 23:41:51 +0000 Subject: Disappearing Stacks! Help! Message-ID: This is so wierd. I can see the cards in the application browser. I can print cards. I can edit their scripts. What I can't do is see the stack, except in the taskbar at the bottom of the screen. ANy ideas? I don't want to have to start over with this project. _________________________________________________________________ Watch LIVE baseball games on your computer with MLB.TV, included with MSN Premium! http://join.msn.click-url.com/go/onm00200439ave/direct/01/ From sarahr at genesearch.com.au Wed May 26 19:53:33 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 27 May 2004 09:53:33 +1000 Subject: Disappearing Stacks! Help! In-Reply-To: References: Message-ID: Hi, It sounds like you have the iconic property set for the stacks. This can be set through the Inspector or by script. Check out the docs for "iconic" and you will see what is happening. Cheers, Sarah On 27 May 2004, at 9:20 am, Histo Man wrote: > Okay, I've spent several days getting an application put together. > Nine main screens, fields and buttons in place. > > One button in the main stack takes you to a card in a substack....used > to anyway! > Now, the substack appears only as a minimized Icon at the bottom of > the screen. Next thing I know, my main stack is also not visible--it > just stays an icon at the bottom of the screen. > > Anyone know how I can persuade the stack to show itself? > > I am running the trial version, but I gotta say, if my applications > keep disappearing I'm not going to buy the thing. Is this a bug? From jtenny at willamette.edu Wed May 26 21:43:41 2004 From: jtenny at willamette.edu (John Tenny) Date: Wed, 26 May 2004 18:43:41 -0700 Subject: Disappearing Stacks! Help! In-Reply-To: References: Message-ID: <480BEC25-AF7F-11D8-B707-000A95A4EDD2@willamette.edu> I can't give you any help as I'm another bumbling newish Rever except to say a couple of things.. 1. I came across many of these "what the hell happend now" instances, and they were ALL my doing. The confusion is/was just part of the learning curve. 2. This list LOVES to bail out us newbies. I'm sure there are 'newbie laugh of the week' tales over an electronic beer or two, but I'm glad to bring joy to the world. 3. It does take a little time to get over the first bump, and the hill is never ending, but the climb is lot of fun and gets easier as one 'get's it'. Peace, John John L. Tenny, Ph.D. Flowing Thought Educational Solutions eCOVE: The Observation Toolkit Software www.ecove.net jtenny at flowing-thought.com 1-888-363-2683 ----------------- From helloc66 at hotmail.com Wed May 26 22:36:44 2004 From: helloc66 at hotmail.com (Jeremy Smith) Date: Thu, 27 May 2004 02:36:44 +0000 Subject: Script not accepting empty line Message-ID: Just recently I noticed a very strange 'bug'(?) in my code that I really can't figure out.... There is a repeat script that checks each line of a variable to see if it is empty, if it is then add data to that line. Certain events will empty a random line (so line 2 would be empty but lines 1,3,4,5 etc.. are full). The script doesn't recognise the line as empty though, but if I copy the exact line and put answer in front of it in the message box I get back "True"... Why would the messagebox return true while the script returns false? I tried two other methods to check for an empty line, the first was to do an if statement and if true was returned for an empty line then continue. That didn't work, so I put a check to see if item 1 of the line was empty.. That worked!?! In case the above doesn't make sense here is an example code (I haven't got the code with me to paste sorry). ------ This script will add data to lines 1 to 10 but then when lines are emptied only line 10 will fill back up. on Add_New repeat with x = 1 to 10 if line x of variable is empty then Add some data to the line here end repeat end Add_New This returns true, and is the exact line (minus the if) from the above code!?? answer (line x of variable is empty) Cheers. Jeremy. From briany at qldlearning.com Wed May 26 23:41:08 2004 From: briany at qldlearning.com (Brian Yennie) Date: Wed, 26 May 2004 23:41:08 -0400 Subject: Script not accepting empty line In-Reply-To: Message-ID: Jeremy, The only thing I can think of is that maybe your adding of data is changing line numbers. Do you ever put more than one line worth of data into that empty line? If so, that would throw off the count and give you confusing results... HTH > on Add_New > repeat with x = 1 to 10 > if line x of variable is empty then > Add some data to the line here > end repeat > end Add_New > > This returns true, and is the exact line (minus the if) from the above > code!?? > answer (line x of variable is empty) From sarahr at genesearch.com.au Wed May 26 23:56:25 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 27 May 2004 13:56:25 +1000 Subject: Script not accepting empty line In-Reply-To: References: Message-ID: I don't know if this will help in your case, but as a general rule, using a "repeat for each" loop is much faster. If you are only dealing with 10 lines, it won't really matter, but you may deal with more data later > This script will add data to lines 1 to 10 but then when lines are > emptied only line 10 will fill back up. > > on Add_New > repeat with x = 1 to 10 > if line x of variable is empty then > Add some data to the line here > end repeat > end Add_New > > This returns true, and is the exact line (minus the if) from the above > code!?? > answer (line x of variable is empty) > Here is an example - untested but should be right or nearly so :-) on newAddNew put empty into newVariable repeat for each line L in variable if L is empty then -- insert the new data in place of the empty line put newData & cr after newVariable else put L & cr after newVariable end if end repeat delete last line of newVariable -- extra cr end newAddNew Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/. From b.xavier at internet.lu Thu May 27 01:08:17 2004 From: b.xavier at internet.lu (MisterX) Date: Thu, 27 May 2004 07:08:17 +0200 Subject: IDE Interference (not just a another rant) In-Reply-To: <40B4E70A.5030808@fourthworld.com> Message-ID: Richard, I didnt' say I was using any autosaving stack feature. I wrote one into the stack script. I forgot about it and noticed that the environment was really slowing down while editing simple things in the stack... Put this script into a stack to have a pseudo auto-save on suspendstack save this stack end suspendstack go back and forth to the revproperty palette or any Rev palette and you'll see the messages activating the suspendstack and the autosave... and slowing things down... > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Richard > Gaskin > Sent: Wednesday, May 26, 2004 20:51 > To: How to use Revolution > Subject: Re: IDE Interference (not just a another rant) > > > MisterX wrote: > > > that was a hypothetical estimate in favor of RR's engine ;) > > > > Given the astronomical speeds of the systems we have (overblown IOWs) > > the whole operation should not take 1 second! But consider that when > > you save the hilitedlines get deselected too... If you do type > > save this stack in the messagebox instead of control-s it does take > > less than 1 second on an overloaded 1.8MHz... So why waste this time > > on the dialog... > > > > Sounds like a bugzilla suggestion! > > I'm still not clear on why it's auto-saving at all. If there are no > plugins doing that, what is? Auto-saving is not a normal behavior for > the Rev IDE. > > -- > 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 > http://lists.runrev.com/mailman/listinfo/use-revolution From b.xavier at internet.lu Thu May 27 01:18:47 2004 From: b.xavier at internet.lu (MisterX) Date: Thu, 27 May 2004 07:18:47 +0200 Subject: IDE Interference (not just a another rant) In-Reply-To: Message-ID: Sarah, > > > Tracking it down wasn't much help because the message > > watcher threw me off thinking the problem was the TableManager > > (sorry Jan)... Besides the fact that the message watcher is nearly > > useless, it throws in all the RR's messages to confuse you and > > doesn't tell you where the message came from... The more stacks > > or windows (scritp editors for ex.) you open, the more messages you > > get to confuse you... > Click the Suppress button in the Message Watcher and you have all sorts > of options for telling the Message Watcher what messages to ignore. > When a line appears, select it to see where it came from. I did try that but there is no source for the RR events... There not hard to find though... > > Anyway, my stack was really slow all the time and the problem was > > untraceable... Then I noticed that a message suspendstack was > > saving the stack at each suspendstack... Nothing wrong there > > except that whenever I went to the revprops or revtools or revmenu > > palette, my stack would get a suspendstack event!!!!!!!!!! > It seems to me that you would have a lot more cause to complain if > going to a different stack did NOT send a suspendStack message! > However, if your save stack routine is causing you problems, that may > be due to your saving method. If you are using the internal "revSave" > handler either in a script or by calling the Save menu item directly, > it throws up a dialog box telling you what has been saved. I wasn't using those. They're very slow... > This box > stays open for 2 seconds but you can of course edit the script for that > if you want. If you use the simpler "save this stack", you will not get > the dialog and saving should be so fast as to be undetectable. The > disadvantage is that it does not compact the stack so if you have been > adding or deleting lots of objects, you should do a menu save every now > & then. but thanks for the tip... > > Since RR is ultra slow, ultra-cpu-hog, I couldn't be get more and > > more irritated... On a 2.8 MHz P4 512MBs, this is a shame, and > > a real bummer for productivity... > > > > Why would a 10 K stack take 5 seconds to save and hog your CPU > > at 55 % (or 99% hog on a 1.8MHz P4...)? > > > > IS THAT NORMAL? > > > > This is NOT normal behavior and I believe we are all affected! > No it is not normal and no we are not all affected. I think you are > blaming Rev for something that you have added as the default > installation of Rev is not "ultra slow" and is not an "ultra-cpu-hog". > Check what stacks you have in use and whether you have added an front > or back scripts. Something you are doing is causing this lack of > performance and leading to your frustration. I have numerous plugins > running constantly, both my own, Rev's and those contributed by others > and I have none of these problems. I dont use any plugs or front/backscripts yet... See my previous message response with the suspendstack script. It's not a problem per say, true but it is a problem when implemented where the RR events cause a serious slow down each time you edit an object feature via a Revpalette and a suspendstack message is sent to your stack... Should the suspendstack be sent to the stack each time you edit an object causing a save? One missing feature (no blame anywhere) is the function stackwaschangedsincelastsave()=true|false... The other is that the suspendstack should be ignored while in the GUI design mode of RR... Thanks for the help though Xavier From scott at tactilemedia.com Thu May 27 01:09:13 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 26 May 2004 22:09:13 -0700 Subject: IDE Interference (not just a another rant) In-Reply-To: Message-ID: Recently, "MisterX" wrote: > I didnt' say I was using any autosaving stack feature. > I wrote one into the stack script. I forgot about it > and noticed that the environment was really slowing > down while editing simple things in the stack... > > Put this script into a stack to have a pseudo auto-save > > on suspendstack > save this stack > end suspendstack > > go back and forth to the revproperty palette or any Rev palette > and you'll see the messages activating the suspendstack and > the autosave... and slowing things down... Here's a novel idea: take the script out and see if Rev speeds up. Regards, Scott Rossi Creative Director Tactile Media, Development & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From xbury.cs at clearstream.com Thu May 27 02:26:06 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 27 May 2004 08:26:06 +0200 Subject: IDE Interference (not just a another rant) Message-ID: Derek see my previous post. Using the save adds about 4 seconds time to the save procedure... it's faster when sending a save this stack command through a button or the msg... cheers ---------------------=--------------------- Xavier Bury Clearstream Services TNS NT LAN Server ext 36465 Voice: +352 4656 43 6465 Fax: +352 4656 493 6465 "Derek Bump" Sent by: use-revolution-bounces at lists.runrev.com 26.05.2004 16:59 Please respond to How to use Revolution To: "How to use Revolution" cc: Subject: Re: IDE Interference (not just a another rant) . > Why would a 10 K stack take 5 seconds to save and hog your CPU > at 55 % (or 99% hog on a 1.8MHz P4...)? I just want to make sure on this comment. Are you talking about the delay when the "Save" dialog appears? Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com 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 sims at ezpzapps.com Thu May 27 03:26:09 2004 From: sims at ezpzapps.com (sims) Date: Thu, 27 May 2004 09:26:09 +0200 Subject: IDE Interference - EuroRevCon In-Reply-To: <40B4E95D.6040202@fourthworld.com> References: <40B4E95D.6040202@fourthworld.com> Message-ID: >MisterX wrote: > >> Richard, I definitely want to meet you in Malta! > >You're coming? Cool! Jim Sims has done a great job putting >together a strong lineup. While I'll hopefully be at least amusing, >the rest of his lineup is chock full o' experience: Richard is much too modest...but he is right about the lineup. Everyone has great presentations lined up and there are a few surprises that are yet to be announced. Hope we see you here in Malta MisterX! Get in touch with me if you have any questions about the conference or Malta. We've placed the EuroRevCon between two other events for those who want to extend their learning holiday and get the most out of the trip. We have a week with Adam Engst of TidBITS before the Rev event and then a short history/archaeology tour of Malta scheduled after the Rev event. Kevin Miller will be doing the Keynote and then he will be available for discussions - both group and individual ;-) Write up a list of questions for Kevin but you'll have to come here in person to ask him! There must be something you would like to ask him...yes? See you at the EuroRevCon, sims http://TechieTours.com/Rev -- Tech Conferences http://TechieTours.com We make... iBirthday http://EZPZapps.com/iB SmartDog http://EZPZapps.com/SmartDog Kartolina http://EZPZapps.com/kartolina From martin at materiaprima.fsnet.co.uk Thu May 27 03:37:54 2004 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Thu, 27 May 2004 08:37:54 +0100 Subject: Disappearing Stacks! Help! In-Reply-To: Message-ID: >Okay, I've spent several days getting an application put together. Nine >main screens, fields and buttons in place. > >One button in the main stack takes you to a card in a substack....used to >anyway! >Now, the substack appears only as a minimized Icon at the bottom of the >screen. Next thing I know, my main stack is also not visible--it just stays >an icon at the bottom of the screen. > >Anyone know how I can persuade the stack to show itself? > >I am running the trial version, but I gotta say, if my applications keep >disappearing I'm not going to buy the thing. Is this a bug? > I guess that you're running on windows. One possibility is that you saved the stacks or their location while they were minimised. In this state the location of the stack is offscreen and is a negative number, so while you can click the button in the taskbar nothing will appear. to remedy this, open the message box and enter: set the loc of stack "yourstacknamehere" to the screenloc it may reappear immediately, but if not click the taskbar button. If it still doesn't appear I'm out of ideas hth Martin From janschenkel at yahoo.com Thu May 27 04:00:20 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 27 May 2004 01:00:20 -0700 (PDT) Subject: Disappearing Stacks! Help! In-Reply-To: Message-ID: <20040527080020.91679.qmail@web60504.mail.yahoo.com> --- Histo Man wrote: > Okay, I've spent several days getting an application > put together. Nine > main screens, fields and buttons in place. > > One button in the main stack takes you to a card in > a substack....used to > anyway! > Now, the substack appears only as a minimized Icon > at the bottom of the > screen. Next thing I know, my main stack is also > not visible--it just stays > an icon at the bottom of the screen. > > Anyone know how I can persuade the stack to show > itself? > > I am running the trial version, but I gotta say, if > my applications keep > disappearing I'm not going to buy the thing. Is > this a bug? > Hi there, and welcome to the revolution. Check the following properties of your stack : the iconic of stack "MyHiddenStack" the rect of stack "MyHiddenStack" the visible of stack "MyHiddenStack" the windowShape of stack "MyHiddenStack" As the stack could be minimised, or hiding off-screen, be invisible or have a windowShape that effectively renders it completely see-through. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From janschenkel at yahoo.com Thu May 27 04:21:34 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 27 May 2004 01:21:34 -0700 (PDT) Subject: set RTFtext In-Reply-To: <00e101c4424b$bd95ad60$6501a8c0@gigabyte> Message-ID: <20040527082134.9702.qmail@web60510.mail.yahoo.com> --- Michael Monos wrote: > Jan, > > Thanks, that worked! > > My next question is, when building a standalone app > for distribution, will Runrev intelligently gather > the files for dsitribution -- what exactly happens? > > Thanks > Hi Michael, For some reason everybody assumed I was going to give you the answer, it seems ;) Since the arrival of Revolution 2.2, you can ask the standalone builder to go through your scripts and try to detect what you need, but I prefer to be more in control and will set them myself. Monte Goulding could explain in more detail how it works, but my guess is that the builder checks for the presence of certain strings in scripts, as well as the settings of certain properties of the controls on your cards. Of course one can mathematically prove that you can't check if an algorithm will do the trick, so if you notice some things don't work the way they should, just add these items manually. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From monte at sweattechnologies.com Thu May 27 05:24:01 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 27 May 2004 18:54:01 +0930 Subject: set RTFtext In-Reply-To: <20040527082134.9702.qmail@web60510.mail.yahoo.com> Message-ID: >> Jan, >> >> Thanks, that worked! >> >> My next question is, when building a standalone app >> for distribution, will Runrev intelligently gather >> the files for dsitribution -- what exactly happens? That happens in a number of areas. the stackFiles property of stacks is investigated and all listed stacks are imported. Players and images with filename properties also have their referenced files copied. Images used as icons in the image library are also included. In addition there's also an optional script searching routine that can will work out what extra inclusions you need. Cheers Monte From chipp at chipp.com Thu May 27 06:55:08 2004 From: chipp at chipp.com (Chipp Walters) Date: Thu, 27 May 2004 05:55:08 -0500 Subject: missing scrolling thumb in xp In-Reply-To: <1db.2269c6d0.2de4c254@aol.com> References: <1db.2269c6d0.2de4c254@aol.com> Message-ID: <40B5C90C.3070902@chipp.com> Andrew, I believe there's a problem with the XP interface only supporting a single size of scrollbar. So, to fix the problem, set your scrollbarWidth to 16. Chances are you've set them to 'small' in the IDE. Try setting them to large...or explicitly set them to 16. Hope this helps. -Chipp Meitnik at aol.com wrote: > In a message dated 05/25/2004 11:03:02 AM, > use-revolution-request at lists.runrev.com writes: > > > >>Has anyone else had a problem in getting a horizontal field scrollbar to >>appear on XP? >>-- I too have seen this on xp for h and v scrollbars and my testers are very > > confused. > andrew > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Thu May 27 07:10:04 2004 From: chipp at chipp.com (Chipp Walters) Date: Thu, 27 May 2004 06:10:04 -0500 Subject: Disappearing Stacks! Help! In-Reply-To: References: Message-ID: <40B5CC8C.8030104@chipp.com> Perhaps your stacks are offscreen...or hidden. Try in the msg box: show stack "myStack" --where myStack is the name of your stack then try: set the loc of stack "myStack" to the screenloc see if that doesn't help. Histo Man wrote: > This is so wierd. I can see the cards in the application browser. I > can print cards. I can edit their scripts. What I can't do is see the > stack, except in the taskbar at the bottom of the screen. ANy ideas? I > don't want to have to start over with this project. > > _________________________________________________________________ > Watch LIVE baseball games on your computer with MLB.TV, included with > MSN Premium! http://join.msn.click-url.com/go/onm00200439ave/direct/01/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From paul.springer at sensis.com Thu May 27 07:18:32 2004 From: paul.springer at sensis.com (Springer, Paul) Date: Thu, 27 May 2004 07:18:32 -0400 Subject: Thanks Message-ID: I just felt like thanking all the veterans and experts on this list. Your patience and willingness to help is astounding; unique in my newsgroup/mailing list experience. Your tips are appreciated by many, not just those who ask the questions. Kudos! -Paul From 100mo at 100mo.net Thu May 27 03:22:39 2004 From: 100mo at 100mo.net (100mo) Date: Thu, 27 May 2004 09:22:39 +0200 Subject: Application Icons in Mac classic In-Reply-To: <20040527014237.F117F9300EE@mail.runrev.com> References: <20040527014237.F117F9300EE@mail.runrev.com> Message-ID: Hi Mark, I'm new to Rev 2.2 and I have no experience with its new building process. But, as a last resort you can use ResEdit to open side by side your application and your Iconographer file and copy the latter's resources into your app. It works very well... Be sure to include the 8bit mask resources... Romain +------------------------------------------------------------------+ | |+ | 00 00000 00000 00 00 00 || | 0000 00 00 00 00 000 000 00000 || | 00 00 000 00 000 0000 0000 00000 00 000 00000 00 || | 00 00 0 00 00 0 00 00 0000 00 00 00 000 00 00 00 00 || | 00 000 00 000 00 00 00 00 00 00 00 00 0000000 00 || | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 || | 00 00000 00000 00 00 00000 00 00 00 00000 0000 || | || | ---------------------------------------------------------------- || | || | Email -> 100mo at 100mo.net + URL -> http://www.100mo.net/ || | || +------------------------------------------------------------------+| +------------------------------------------------------------------+ From gregory.lypny at videotron.ca Thu May 27 07:59:44 2004 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 27 May 2004 07:59:44 -0400 Subject: Performance Testing of Rev CGI? In-Reply-To: <20040526141409.BBA2C93008A@mail.runrev.com> References: <20040526141409.BBA2C93008A@mail.runrev.com> Message-ID: <58309A1F-AFD5-11D8-B35A-000D9350C9C2@videotron.ca> Dan, I'm just starting to tinker with it, but what occurred to me is that returning dynamic output tables is probably not trivial. Greg On May 26, 2004, at 10:14 AM, use-revolution-request at lists.runrev.com wrote: > Has anyone done any stress testing of Rev CGI applications? At what > kind of server or user load does it degrade badly enough to be a > concern? > > Are there any other limitations of using Rev engines as CGI > environments that you've encountered that i should know about? From rcozens at pon.net Thu May 27 09:33:15 2004 From: rcozens at pon.net (Rob Cozens) Date: Thu, 27 May 2004 06:33:15 -0700 Subject: Application Icons in Mac classic In-Reply-To: References: Message-ID: >Any suggestions or success stories would be welcome. How about failure stories, Mark? I used ResEdit to create a file with a resource fork containing one of each of the six icon resource types, with each resource's ID = 128. I located the file for the Distribution Builder and created a standalone. The standalone displays the standard Rev icons. Mac OS 9; Rev 2.1.2 -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.info/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Thu May 27 09:54:35 2004 From: rcozens at pon.net (Rob Cozens) Date: Thu, 27 May 2004 06:54:35 -0700 Subject: Script not accepting empty line In-Reply-To: References: Message-ID: >I don't know if this will help in your case, but as a general rule, >using a "repeat for each" loop is much faster. Sarah, Aren't there possible issues if one changes the contents of the control variable inside a "repeat for each" structure? For repeat for each to work in this case wouldn't one need to make a copy of the control variable for the repeat & make changes to the original?: on fillBlanks variableList put 0 into lineNumber get variableList repeat for each line theLine in it add 1 to x if theLine is empty then put [whatEver] into line x of variableList end repeat end fillBlanks >This script will add data to lines 1 to 10 but then when lines are >emptied only line 10 will fill back up. Jeremy, What you are trying to do should work. Can you show us the handler that empties a line and the exact Transcript for Add_New? -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.info/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From gizmotron at earthlink.net Thu May 27 10:01:08 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 27 May 2004 07:01:08 -0700 Subject: Application Icons in Mac classic In-Reply-To: Message-ID: <4D63C939-AFE6-11D8-B055-000A95859272@earthlink.net> On Thursday, May 27, 2004, at 12:22 AM, 100mo wrote: > Hi Mark, > > I'm new to Rev 2.2 and I have no experience with its new building > process. > But, as a last resort you can use ResEdit to open side by side your > application and your Iconographer file and copy the latter's resources > into your app. It works very well... > > Be sure to include the 8bit mask resources... > > Romain Thanks, I've tried that and I think have it almost working. After restarting my i-mac it only shows the proper icons in some of the open file dialog windows. I'm still not getting that Rev icon to change and the finder still shows that Rev icon when the app is running. The standalone builder creates two icons in the resource file 128 & 129. I replaced both icons with the same Icon that I needed, leaving them as 128 & 129. At least I'm getting closer. I was searching for a way to check other things in the resource to get the new icons working. Searching the internet only gives me basic instructions that make it so simple yet something is still not working. I can't believe I've avoided this for so many years and now trying it out, I must be missing something. Mark From gizmotron at earthlink.net Thu May 27 10:13:27 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 27 May 2004 07:13:27 -0700 Subject: Application Icons in Mac classic In-Reply-To: Message-ID: <05FEDC51-AFE8-11D8-B055-000A95859272@earthlink.net> On Thursday, May 27, 2004, at 06:33 AM, Rob Cozens wrote: >> Any suggestions or success stories would be welcome. > > How about failure stories, Mark? > > I used ResEdit to create a file with a resource fork containing one of > each of the six icon resource types, with each resource's ID = 128. > > I located the file for the Distribution Builder and created a > standalone. > > The standalone displays the standard Rev icons. > > Mac OS 9; Rev 2.1.2 > -- > > Rob Cozens That sounds great. The biggest problems I have with Revolution is icon recognition on mac classic and icon and file recognition on windows. When and if I get this mac classic problem solved I will move on to a work around for setting four entries into the Registry on Windows in hopes of getting my apps to operate normally there without the user having to manually force recognition. What ticks me off is Revolution adds the four needed items to the registry when first running or installing. Not a single person at Rev can show me what they do to set the registry in windows for installing Revolution; a solution that works fine for them. Any help would be appreciated, Mark From klaus at major-k.de Thu May 27 10:28:20 2004 From: klaus at major-k.de (Klaus Major) Date: Thu, 27 May 2004 16:28:20 +0200 Subject: Application Icons in Mac classic In-Reply-To: <05FEDC51-AFE8-11D8-B055-000A95859272@earthlink.net> References: <05FEDC51-AFE8-11D8-B055-000A95859272@earthlink.net> Message-ID: <1A6504FD-AFEA-11D8-AB8E-000A27B49A96@major-k.de> Hi Mark, > ... > That sounds great. The biggest problems I have with Revolution is icon > recognition on mac classic and icon and file recognition on windows. > When and if I get this mac classic problem solved I will move on to a > work around for setting four entries into the Registry on Windows in > hopes of getting my apps to operate normally there without the user > having to manually force recognition. What ticks me off is Revolution > adds the four needed items to the registry when first running or > installing. Not a single person at Rev can show me what they do to set > the registry in windows for installing Revolution; a solution that > works fine for them. > > Any help would be appreciated, Did you already take a look at Ken Ray's wonderful website? Developer Resources -> Revolution... See under: File/Folder Manipulation: ... file004 - Setting Document Associations in Windows Maybe that will get you started? Hope that helps... > Mark Regards Klaus Major klaus at major-k.de www.major-k.de From klaus at major-k.de Thu May 27 10:34:06 2004 From: klaus at major-k.de (Klaus Major) Date: Thu, 27 May 2004 16:34:06 +0200 Subject: Application Icons in Mac classic In-Reply-To: <1A6504FD-AFEA-11D8-AB8E-000A27B49A96@major-k.de> References: <05FEDC51-AFE8-11D8-B055-000A95859272@earthlink.net> <1A6504FD-AFEA-11D8-AB8E-000A27B49A96@major-k.de> Message-ID: Hi Mark, > ... > Did you already take a look at Ken Ray's wonderful website? Forgot the URL: http://www.sonsothunder.com/ Regards Klaus Major klaus at major-k.de www.major-k.de From xbury.cs at clearstream.com Thu May 27 10:24:32 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 27 May 2004 16:24:32 +0200 Subject: Application Icons in Mac classic Message-ID: if my memory serves me well, you also have to change a FNDR resource in the file to tell the finder what the app/docs icons are. After that, a desktop cleanup maybe necessary (Control-Option-? at startup...) Also try a norton utilities or a disk first aid repair just in case your drive info is incoherent... I hope I didn't repeat someone elses answers but I remember running into those problems before and they made thngs work fine. Last try: copy your app to a diskette. And insert it into another mac to see what happens... It's possible that the Rev ICON ID intereferes somewhere... You did change the file creator info didn't you? ;) hope it helps... On 27.05.2004 16:01:08 use-revolution-bounces wrote: >On Thursday, May 27, 2004, at 12:22 AM, 100mo wrote: > >> Hi Mark, >> >> I'm new to Rev 2.2 and I have no experience with its new building >> process. >> But, as a last resort you can use ResEdit to open side by side your >> application and your Iconographer file and copy the latter's resources >> into your app. It works very well... >> >> Be sure to include the 8bit mask resources... >> >> Romain > >Thanks, > >I've tried that and I think have it almost working. After restarting my >i-mac it only shows the proper icons in some of the open file dialog >windows. I'm still not getting that Rev icon to change and the finder >still shows that Rev icon when the app is running. The standalone >builder creates two icons in the resource file 128 & 129. I replaced >both icons with the same Icon that I needed, leaving them as 128 & 129. >At least I'm getting closer. I was searching for a way to check other >things in the resource to get the new icons working. Searching the >internet only gives me basic instructions that make it so simple yet >something is still not working. I can't believe I've avoided this for >so many years and now trying it out, I must be missing something. > >Mark > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >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 gizmotron at earthlink.net Thu May 27 10:45:59 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 27 May 2004 07:45:59 -0700 Subject: Application Icons in Mac classic In-Reply-To: <1A6504FD-AFEA-11D8-AB8E-000A27B49A96@major-k.de> Message-ID: <9168165C-AFEC-11D8-B055-000A95859272@earthlink.net> On Thursday, May 27, 2004, at 07:28 AM, Klaus Major wrote: > Did you already take a look at Ken Ray's wonderful website? > > Developer Resources -> Revolution... > > See under: > File/Folder Manipulation: > ... > file004 - Setting Document Associations in Windows > > Maybe that will get you started? > > Hope that helps... > >> Mark > > Regards > > Klaus Major This is starting be my Ground Hog Day movie nightmare. Yes I started there I believe. Unless this is a new version it only sets two entries I believe. Thanks for recommending it again. Mark From Meitnik at aol.com Thu May 27 10:52:43 2004 From: Meitnik at aol.com (Meitnik at aol.com) Date: Thu, 27 May 2004 10:52:43 EDT Subject: xp dont like small scrollbars Message-ID: <1ed.21b03bde.2de75abb@aol.com> In a message dated 05/27/2004 10:15:36 AM, chip writes: > I believe there's a problem with the XP interface only supporting a > single size of scrollbar. So, to fix the problem, set your > scrollbarWidth to 16. Chances are you've set them to 'small' in the IDE. > Try setting them to large...or explicitly set them to 16. > -- humm, I need them small. Does this effect scrollbar objects too? If so, I will need to roll an scrollbar obj, anyone has one for text flds? Will this be fixed in future updates? Thanks for the tip. Andrew From ambassador at fourthworld.com Thu May 27 10:59:53 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 27 May 2004 07:59:53 -0700 Subject: xp dont like small scrollbars In-Reply-To: <1ed.21b03bde.2de75abb@aol.com> References: <1ed.21b03bde.2de75abb@aol.com> Message-ID: <40B60269.6020803@fourthworld.com> Meitnik at aol.com wrote: > In a message dated 05/27/2004 10:15:36 AM, chip writes: > >>I believe there's a problem with the XP interface only supporting a >>single size of scrollbar. So, to fix the problem, set your >>scrollbarWidth to 16. Chances are you've set them to 'small' in the IDE. >>Try setting them to large...or explicitly set them to 16. >>-- humm, I need them small. Does this effect scrollbar objects too? If so, I > > will need to roll an scrollbar obj, anyone has one for text flds? Will this be > fixed in future updates? > Thanks for the tip. 16 pixels is the OS standard size and pretty small at that, at the lower threshold of usability. Is it absolutely necessary that your app have them smaller? Could there be some other change to the layout which could deliver the benefit you're looking for without the detriment? If the IDE provides an option for any smaller size I would post a suggestion for its removal to Bugzilla. On modern high-rez displays 16 pixels is hard enough to grab. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From gizmotron at earthlink.net Thu May 27 11:08:46 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 27 May 2004 08:08:46 -0700 Subject: Application Icons in Mac classic In-Reply-To: Message-ID: On Thursday, May 27, 2004, at 07:24 AM, xbury.cs at clearstream.com wrote: > if my memory serves me well, you also have to change a FNDR resource > in the file to tell the finder what the app/docs icons are. After > that, a > desktop > cleanup maybe necessary (Control-Option-? at startup...) I'm on to it now, check this out: http://www.adobe.com/support/techdocs/268e.htm Files Appear with Generic Icons in the Finder Troubleshooting Guide > > Last try: copy your app to a diskette. And insert it into another mac > to > see what happens... It's possible that the Rev ICON ID intereferes > somewhere... > > You did change the file creator info didn't you? ;) I did in the Rev standalone builder. I'm going into resEdit to see what it says. ...goto fire up the old mac. > > hope it helps... Thanks, Mark From paul.springer at sensis.com Thu May 27 11:16:07 2004 From: paul.springer at sensis.com (Springer, Paul) Date: Thu, 27 May 2004 11:16:07 -0400 Subject: html formatting in a field Message-ID: I am struggling with HTML formatting of text in a field. I don't want to copy or import it, as described by the HTMLText field property documentation; I just want to put some HTML tags into the contents of a field and have the text displayed accordingly. I see that I can set the HTMLText property of a field to some html string, but I want to format different text portions differently, not the entire field with one tag string. Can I do that? -Paul From RGould8 at aol.com Thu May 27 11:16:22 2004 From: RGould8 at aol.com (RGould8 at aol.com) Date: Thu, 27 May 2004 11:16:22 EDT Subject: Single package for OS 9 and X? Message-ID: <12d.4227a26b.2de76046@aol.com> Is there a way I can make a Mac OS X Revolution app, that, when someone attempts to run it on Mac OS 9, will display a popup saying "This application is designed to work only in Mac OS X". Right now, OS 9 users just see folders (which is what I would expect). Somehow Mindvision VISE has a technique for making some sort of "combo" file that works in OS 9 and OS X at the same time - - - was just curious if the same technique could be applied to Revolution. From gizmotron at earthlink.net Thu May 27 11:27:31 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 27 May 2004 08:27:31 -0700 Subject: html formatting in a field In-Reply-To: Message-ID: <5EF9242C-AFF2-11D8-B055-000A95859272@earthlink.net> On Thursday, May 27, 2004, at 08:16 AM, Springer, Paul wrote: > I am struggling with HTML formatting of text in a field. I don't want > to > copy or import it, as described by the HTMLText field property > documentation; I just want to put some HTML tags into the contents of a > field and have the text displayed accordingly. I see that I can set the > HTMLText property of a field to some html string, but I want to format > different text portions differently, not the entire field with one tag > string. Can I do that? Try this: 1.) Create some formatted text in a text editor. 2.) Copy that formatted text to the clipboard. 3.) Paste it into a text field ( field "yourField" ) in Rev. 4.) In the message window enter this: put the HTMLText of field "yourField" into field "yourField" This way you can see the different kinds of HTML tags. Also see the docs on HTMLText. Mark From jacque at hyperactivesw.com Thu May 27 11:30:29 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 27 May 2004 10:30:29 -0500 Subject: Application Icons in Mac classic In-Reply-To: References: Message-ID: <40B60995.2090201@hyperactivesw.com> On 5/27/04 8:33 AM, Rob Cozens wrote: >> Any suggestions or success stories would be welcome. > > > How about failure stories, Mark? > > I used ResEdit to create a file with a resource fork containing one of > each of the six icon resource types, with each resource's ID = 128. > > I located the file for the Distribution Builder and created a standalone. > > The standalone displays the standard Rev icons. > > Mac OS 9; Rev 2.1.2 I've never been able to get it to work either, I always just resort to ResEdit. I wonder if it has something to do with the standalone settings -- I never allow the SB to scan the stack. I wonder if that matters. Also, even though I point the SB to a plist file for the OS X distribution, it is never included either. Again, I wonder if that has to do with not allowing it to scan. I have had to rebuild a very large stack several times and if I allow SB to scan the stack it takes over 30 minutes to generate standalones; that's why I don't want it to scan. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gizmotron at earthlink.net Thu May 27 11:35:36 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 27 May 2004 08:35:36 -0700 Subject: Application Icons in Mac classic In-Reply-To: <40B60995.2090201@hyperactivesw.com> Message-ID: <7FA80E22-AFF3-11D8-B055-000A95859272@earthlink.net> On Thursday, May 27, 2004, at 08:30 AM, J. Landman Gay wrote: > I have had to rebuild a very large stack several times and if I allow > SB to scan the stack it takes over 30 minutes to generate standalones; > that's why I don't want it to scan. > > -- > Jacqueline Landman Gay I lost my tri-corder I guess. :-) What is a SB scan? I'm using the new SB in Rev 2.2 and I guess what you are saying is that you build standalone apps without setup settings? Mark From dsc at swcp.com Thu May 27 11:36:39 2004 From: dsc at swcp.com (Dar Scott) Date: Thu, 27 May 2004 09:36:39 -0600 Subject: Single package for OS 9 and X? In-Reply-To: <12d.4227a26b.2de76046@aol.com> Message-ID: On Thursday, May 27, 2004, at 09:16 AM, RGould8 at aol.com wrote: > Is there a way I can make a Mac OS X Revolution app, that, when someone > attempts to run it on Mac OS 9, will display a popup saying "This > application is > designed to work only in Mac OS X". Right now, OS 9 users just see > folders > (which is what I would expect). Somehow Mindvision VISE has a > technique for > making some sort of "combo" file that works in OS 9 and OS X at the > same time - - > - was just curious if the same technique could be applied to > Revolution. It seems that I have seen some things that implied this could be done. I was not interested at the time and did not pause to look into it. If it is possible, it might be done in modifying the OS X app bundle by adding some directories, by moving over the OS 9 app and by editing some files. Look at app bundle specs. Dar Scott From paul.springer at sensis.com Thu May 27 11:37:46 2004 From: paul.springer at sensis.com (Springer, Paul) Date: Thu, 27 May 2004 11:37:46 -0400 Subject: html formatting in a field Message-ID: Thanks Mark. This does give me text with html formatting tags, but what I want displayed is the formatted text, as it would show up in a browser, not the tags. I just want to use tags to format it. -Paul -----Original Message----- From: Mark Brownell [mailto:gizmotron at earthlink.net] Sent: Thursday, May 27, 2004 11:28 AM To: How to use Revolution Subject: Re: html formatting in a field On Thursday, May 27, 2004, at 08:16 AM, Springer, Paul wrote: > I am struggling with HTML formatting of text in a field. I don't want > to > copy or import it, as described by the HTMLText field property > documentation; I just want to put some HTML tags into the contents of a > field and have the text displayed accordingly. I see that I can set the > HTMLText property of a field to some html string, but I want to format > different text portions differently, not the entire field with one tag > string. Can I do that? Try this: 1.) Create some formatted text in a text editor. 2.) Copy that formatted text to the clipboard. 3.) Paste it into a text field ( field "yourField" ) in Rev. 4.) In the message window enter this: put the HTMLText of field "yourField" into field "yourField" This way you can see the different kinds of HTML tags. Also see the docs on HTMLText. Mark _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From rcozens at pon.net Thu May 27 11:43:08 2004 From: rcozens at pon.net (Rob Cozens) Date: Thu, 27 May 2004 08:43:08 -0700 Subject: html formatting in a field In-Reply-To: References: Message-ID: >I just want to put some HTML tags into the contents of a >field and have the text displayed accordingly Hi Paul, Just work with the field text directly (ie: bold, underline, change fonts, whatever) either with the tools or via a handler. Eg: Bold a word in a field, then put the htmlText of that field, and you will see the bold as html statements. Go back to the field, change the textStyle of the word from bold to italic, and put the htmlText of the field again. -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From gizmotron at earthlink.net Thu May 27 11:47:45 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 27 May 2004 08:47:45 -0700 Subject: html formatting in a field In-Reply-To: Message-ID: <3292638A-AFF5-11D8-B055-000A95859272@earthlink.net> On Thursday, May 27, 2004, at 08:37 AM, Springer, Paul wrote: > Thanks Mark. This does give me text with html formatting tags, but > what I > want displayed is the formatted text, as it would show up in a > browser, not > the tags. I just want to use tags to format it. > > -Paul Now we're getting somewhere. Do this: [snip] 4.) In the message window enter this: put the HTMLText of field "yourField" into field "yourField" 5.) Now edit the markup you see by adding bold, underline, box, italics, and other tags that Rev indicates useful in the docs on HTMLtext 6.) In the message window enter this: set the HTMLText of field "yourField" to field "yourField" Mark From ambassador at fourthworld.com Thu May 27 11:48:52 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 27 May 2004 08:48:52 -0700 Subject: html formatting in a field In-Reply-To: References: Message-ID: <40B60DE4.1000206@fourthworld.com> Springer, Paul wrote: > I am struggling with HTML formatting of text in a field. I don't > want to copy or import it, as described by the HTMLText field > property documentation; I just want to put some HTML tags into > the contents of a field and have the text displayed accordingly. > I see that I can set the HTMLText property of a field to some > html string, but I want to format different text portions > differently, not the entire field with one tag string. > Can I do that? Yep -- you can set the htmlText property of chunks as well as the entire field: set the htmlText of char 10 to 20 of fld 1 to "Hi!" Or you can use simply: set the textStyle of char 10 to 20 to bold -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From briany at qldlearning.com Thu May 27 11:51:54 2004 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 27 May 2004 11:51:54 -0400 Subject: IDE Interference (not just a another rant) In-Reply-To: Message-ID: Xavier, > See my previous message response with the suspendstack > script. It's not a problem per say, true but it is a problem > when implemented where the RR events cause a serious slow down > each time you edit an object feature via a Revpalette and a > suspendstack message is sent to your stack... If you're gonna flame Rev for being slow, you should really at least consider that your own added script is at the crux of the issue... Is there any reason you can't change your auto-save implementation? Saving stacks in Rev is quite fast, but you're probably causing havoc by doing it on suspendstack- unless you can provide some evidence to the contrary. I save 50MB stacks all the time and it's no more than a blip on a 500Mhz iBook. How about using a simple timed auto-save, say every 60 seconds? What's the use in saving on every suspendStack when you have a screen full of windows and palettes? If you really want the tightest, instant auto-saving you'll probably have to insert a slew of event and setprop handlers in a frontScript, but frankly I don't think it's worth having... > Should the suspendstack be sent to the stack each time you edit an > object causing a save? One missing feature (no blame anywhere) is > the function stackwaschangedsincelastsave()=true|false... The other > is that the suspendstack should be ignored while in the GUI design > mode of RR... Yes, of course it should be sent. That's how the message is defined. Nobody said to put a save handler in there! - Brian From paul.springer at sensis.com Thu May 27 11:53:29 2004 From: paul.springer at sensis.com (Springer, Paul) Date: Thu, 27 May 2004 11:53:29 -0400 Subject: html formatting in a field Message-ID: Thanks Mark & Richard - I think I've got it now! -Paul -----Original Message----- From: Richard Gaskin [mailto:ambassador at fourthworld.com] Sent: Thursday, May 27, 2004 11:49 AM To: How to use Revolution Subject: Re: html formatting in a field Springer, Paul wrote: > I am struggling with HTML formatting of text in a field. I don't > want to copy or import it, as described by the HTMLText field > property documentation; I just want to put some HTML tags into > the contents of a field and have the text displayed accordingly. > I see that I can set the HTMLText property of a field to some > html string, but I want to format different text portions > differently, not the entire field with one tag string. > Can I do that? Yep -- you can set the htmlText property of chunks as well as the entire field: set the htmlText of char 10 to 20 of fld 1 to "Hi!" Or you can use simply: set the textStyle of char 10 to 20 to bold -- 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 http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Thu May 27 11:55:43 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 27 May 2004 10:55:43 -0500 Subject: Application Icons in Mac classic In-Reply-To: <7FA80E22-AFF3-11D8-B055-000A95859272@earthlink.net> References: <7FA80E22-AFF3-11D8-B055-000A95859272@earthlink.net> Message-ID: <40B60F7F.8030803@hyperactivesw.com> On 5/27/04 10:35 AM, Mark Brownell wrote: > I lost my tri-corder I guess. :-) What is a SB scan? I'm using the new > SB in Rev 2.2 and I guess what you are saying is that you build > standalone apps without setup settings? There are two radio button options on the first card of the SB, one that says to search for inclusions, and the other that lets you select what you want included. I always choose to select explicitly, then I unhilite everything in the scrolling fields and uncheck all the buttons for dialogs and cursors. Even so, it does do some scanning anyway, but at least the tedious scan for icons, etc. doesn't happen. I still wish there were an option to just tack on the engine really quickly the way MC does it. Most of the time I have already included all the resources I need in the stack and no searching is required. I do like the way it tries to attach a plist, icon resources, file types, etc. but so far those aren't working for me. Since most people aren't complaining, I wonder if the problem is connected to the fact that I don't allow the SB to do its search routine. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gizmotron at earthlink.net Thu May 27 11:56:02 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 27 May 2004 08:56:02 -0700 Subject: Application Icons in Mac classic In-Reply-To: <7FA80E22-AFF3-11D8-B055-000A95859272@earthlink.net> Message-ID: <5AB0FB6A-AFF6-11D8-B055-000A95859272@earthlink.net> On Thursday, May 27, 2004, at 08:35 AM, Mark Brownell wrote: > On Thursday, May 27, 2004, at 08:30 AM, J. Landman Gay wrote: > >> I have had to rebuild a very large stack several times and if I allow >> SB to scan the stack it takes over 30 minutes to generate >> standalones; that's why I don't want it to scan. >> >> -- >> Jacqueline Landman Gay > > What is a SB scan? Maybe this is it: "Search for required inclusions when saving the standalone application" mb From gizmotron at earthlink.net Thu May 27 12:05:35 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 27 May 2004 09:05:35 -0700 Subject: Application Icons in Mac classic In-Reply-To: <40B60F7F.8030803@hyperactivesw.com> Message-ID: On Thursday, May 27, 2004, at 08:55 AM, J. Landman Gay wrote: > I wonder if the problem is connected to the fact that I don't allow > the SB to do its search routine. > > -- > Jacqueline Landman Gay Don't know, never tried it that way. I use the select explicitly option and check all the buttons for dialogs and cursors as selected. This works great for Mac X and Windows. Thanks, Mark From rogerguay at centurytel.net Thu May 27 12:22:45 2004 From: rogerguay at centurytel.net (Roger Guay) Date: Thu, 27 May 2004 09:22:45 -0700 Subject: Couple of Nits Message-ID: <165A881F-AFFA-11D8-8D0E-000393A1CAAA@centurytel.net> Hello List, I just loaded Rev 2.2 and a couple of annoying problems returned that I had fixed in the earlier version: One is that Cmd-M does not bring up the Message Box, and the other is that Cmd-Option gives me the Script Editor not only for control that the mouse is over (which I have elected for in Preference) but also for the Script Editor itself. I'm sorry I forgot how to fix these and promise I will write it down if someone will set me straight again!! Thanks, Roger From userev at canelasoftware.com Thu May 27 12:34:17 2004 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 27 May 2004 09:34:17 -0700 Subject: Application Icons in Mac classic In-Reply-To: <4D63C939-AFE6-11D8-B055-000A95859272@earthlink.net> References: <4D63C939-AFE6-11D8-B055-000A95859272@earthlink.net> Message-ID: On May 27, 2004, at 7:01 AM, Mark Brownell wrote: > Thanks, > > I've tried that and I think have it almost working. After restarting > my i-mac it only shows the proper icons in some of the open file > dialog windows. I'm still not getting that Rev icon to change and the > finder still shows that Rev icon when the app is running. The > standalone builder creates two icons in the resource file 128 & 129. I > replaced both icons with the same Icon that I needed, leaving them as > 128 & 129. At least I'm getting closer. I was searching for a way to > check other things in the resource to get the new icons working. > Searching the internet only gives me basic instructions that make it > so simple yet something is still not working. I can't believe I've > avoided this for so many years and now trying it out, I must be > missing something. > > Mark The key is to make sure you rebuild your desktop after doing your icon work with resedit. If it is a new icon, the system does not show it until you rebuild. You do that by restarting your systems, hold down the apple and option keys until the message appears asking if it is ok to rebuild. There are freeware apps that will do it for you. OS X has a button that will do it in the OS 9 control panel. -- Best regards, Mark Talluto http://www.canelasoftware.com From gizmotron at earthlink.net Thu May 27 13:31:02 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 27 May 2004 10:31:02 -0700 Subject: Application Icons in Mac classic In-Reply-To: Message-ID: On Thursday, May 27, 2004, at 09:34 AM, Mark Talluto wrote: > The key is to make sure you rebuild your desktop after doing your icon > work with resedit. If it is a new icon, the system does not show it > until you rebuild. > > You do that by restarting your systems, hold down the apple and option > keys until the message appears asking if it is ok to rebuild. There > are freeware apps that will do it for you. OS X has a button that > will do it in the OS 9 control panel. > -- > Best regards, > Mark Talluto Yeah, I did that yesterday and the proper icon has appeared occasionally in several open file dialog windows but not as the finder icon or the app icon. That was after rebuilding the desktop. I discovered this: > I'm on to it now, check this out: > http://www.adobe.com/support/techdocs/268e.htm > Files Appear with Generic Icons in the Finder Troubleshooting Guide Just need to find a virgin mac classic... (Jokes start here) I'm too lazy to dump the extension file, as recommended by the advice at that website mentioned above. Thanks, Mark From rgmiller at pacbell.net Thu May 27 14:34:47 2004 From: rgmiller at pacbell.net (Ray G. Miller) Date: Thu, 27 May 2004 11:34:47 -0700 Subject: Application Icons in Mac classic References: <20040527014237.8CA039300D3@mail.runrev.com> Message-ID: <40B634C7.4020002@pacbell.net> From: Mark Brownell SNIP Has anyone successfully created a standalone Mac 9 app with Rev 2.2 that included an icon for the app? I used Iconographer to create recommended icons and tried to build in Rev 2.2 Mac 10 and native in an I-Mac 9.0 using Rev 2.2 Classic. In either case I can't get Rev to accept and show the icon. The standalone builder won't add it properly. Is this a known bug? Mark, I use the lazy method. 1) Copy the icon to the clipboard 2) Cmd "I" the in the Finder 3) select the Icon in the info window 4) Paste the clipboard Icon The "bndl" packages are set in the resource fork.... Ta da! Ray PS I reaeaaly miss the resource fork. As Jobs would say: "One giant step backward for programmers..." Ray G. Miller __________________ Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:rgmiller at pacbell.net (V) 510.530.1971 (F) 510.482.3491 From webmaster at dreamscapesoftware.com Thu May 27 14:41:15 2004 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Thu, 27 May 2004 20:41:15 +0200 Subject: Playing DVDs Message-ID: <009b01c4441a$3f170c10$7a8ad80a@WorkPC> Any way to play DVDs in Rev? I would love to create a Rev based player. Derek Bump Dreamscape Software ____________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com From jperryl at ecs.fullerton.edu Thu May 27 14:46:43 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 27 May 2004 11:46:43 -0700 (PDT) Subject: mouseWithin vs. ??? w/mouseText In-Reply-To: Message-ID: Hi, I've just discovered mouseText and am loving that I don't have to create transparent buttons that hopefully align on top of text etc. (my really cludgy system). Anyways, I have a question about how best to use it. I have a text field that contains a mostly regular text but two or three words that are boldface. What I'd like to do (and can but not quite right) is to use the mouseText function such that when the user mouses over the word in boldface for an additional fld to be shown (sorta like a tooltip only longer); this field contains a definition or explanation of the word that is in boldface. Neither mouseWithin more mouseEnter works quite right. mouseWithin continuously checks and thus results in alot of screen flicker; mouseEnter checks only upon entering the field. Any suggestions?? Thanks! Judy From lafourcade.romain at numericable.fr Thu May 27 15:18:02 2004 From: lafourcade.romain at numericable.fr (Romain Lafourcade) Date: Thu, 27 May 2004 21:18:02 +0200 Subject: Application Icons in Mac classic In-Reply-To: <20040527160013.EA1D293013A@mail.runrev.com> References: <20040527160013.EA1D293013A@mail.runrev.com> Message-ID: <93030A65-B012-11D8-9E75-0050E4B92E5C@numericable.fr> I'm sorry, I forgot to switch to this account before sending my latest email. I wonder how it finally reached the list... About the ResEdit hack, the ressources needed for the application and its associated documents to be displayed the right are these: - BNDL, it contains a reference to all the icons used by the app - icl4, icl8, ICN#, ics#, ics4, ics8, they contain the actual "images" and 1bit masks of the 8bit icons - icns, it contains the 8bit mask that makes icons look good. Editing the BNDL res is mandatory if you want your app to behave properly... Romain From kray at sonsothunder.com Thu May 27 15:40:39 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 27 May 2004 14:40:39 -0500 Subject: Single package for OS 9 and X? In-Reply-To: Message-ID: <00eb01c44422$80a4d740$6601a8c0@precision340> The other possibility is to get a hold of an older version of Rev (1.1.1 should do it) that created Carbon/CFM, not Carbon/Mach-O executables. These apps "straddled the fence" between OS X and Classic - they appeared as single files that were not bundles, but could be run in both OS X and Classic modules. If you get that, you could create a "front end" to your app that did the checking, and if they were in OS X, it would launch the *real* app, located in another folder in your installation. Just a thought... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Dar Scott > Sent: Thursday, May 27, 2004 10:37 AM > To: How to use Revolution > Subject: Re: Single package for OS 9 and X? > > > > On Thursday, May 27, 2004, at 09:16 AM, RGould8 at aol.com wrote: > > > Is there a way I can make a Mac OS X Revolution app, that, when > > someone attempts to run it on Mac OS 9, will display a popup saying > > "This application is > > designed to work only in Mac OS X". Right now, OS 9 users > just see > > folders > > (which is what I would expect). Somehow Mindvision VISE has a > > technique for > > making some sort of "combo" file that works in OS 9 and OS X at the > > same time - - > > - was just curious if the same technique could be applied to > > Revolution. > > It seems that I have seen some things that implied this could > be done. > I was not interested at the time and did not pause to look > into it. If > it is possible, it might be done in modifying the OS X app bundle by > adding some directories, by moving over the OS 9 app and by editing > some files. > > Look at app bundle specs. > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From klaus at major-k.de Thu May 27 15:47:43 2004 From: klaus at major-k.de (Klaus Major) Date: Thu, 27 May 2004 21:47:43 +0200 Subject: mouseWithin vs. ??? w/mouseText In-Reply-To: References: Message-ID: Hi Judy, > Hi, > > I've just discovered mouseText and am loving that I don't have to > create > transparent buttons that hopefully align on top of text etc. (my really > cludgy system). > > Anyways, I have a question about how best to use it. > > I have a text field that contains a mostly regular text but two or > three > words that are boldface. What I'd like to do (and can but not quite > right) is to use the mouseText function such that when the user mouses > over the word in boldface for an additional fld to be shown (sorta > like a > tooltip only longer); this field contains a definition or explanation > of > the word that is in boldface. > > Neither mouseWithin more mouseEnter works quite right. mouseWithin > continuously checks and thus results in alot of screen flicker; > mouseEnter > checks only upon entering the field. > > Any suggestions?? Use a "mousemove" handler in that field... First check the textstyle of "the mousechunk" (NOT tested, right out of my head :-) and then "the mousetext"... Or something like this ;-) > Thanks! Hope that helps... > Judy Regards Klaus Major klaus at major-k.de www.major-k.de From nnoydb at excite.com Thu May 27 16:40:03 2004 From: nnoydb at excite.com (K) Date: Thu, 27 May 2004 16:40:03 -0400 (EDT) Subject: Support for APPLE Newton? Message-ID: <20040527204003.29EC5299B5@xprdmailfe21.nwk.excite.com> I have been asked by a client if I can build a NEWTON compatible version of my Revolution applications. Is this possible? Will a appication compiled for OS 9 run on a NEWTON? K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From sanke at hrz.uni-kassel.de Thu May 27 16:57:52 2004 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Thu, 27 May 2004 22:57:52 +0200 Subject: xp dont like small scrollbars Message-ID: <40B65650.8000606@hrz.uni-kassel.de> On Thu, 27 May 2004 Richard Gaskin wrote: > (snip) > 16 pixels is the OS standard size and pretty small at that, at the lower > threshold of usability. > > Is it absolutely necessary that your app have them smaller? Could there > be some other change to the layout which could deliver the benefit > you're looking for without the detriment? > > If the IDE provides an option for any smaller size I would post a > suggestion for its removal to Bugzilla. On modern high-rez displays 16 > pixels is hard enough to grab. With Rev 2.2 on WindowsXP both the horizontal and vertical scrollbars show with a scrollbarwidth of 10 (set from the message box); however the thumbs disappear. With the same Rev engine in the Metacard IDE the thumbs indeed show for scrollbarwidths smaller than 16. Seems to be the Rev IDE that causes problems here? I am using the "Windows XP Home" edition. Wilhelm Sanke From janschenkel at yahoo.com Thu May 27 17:11:23 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 27 May 2004 14:11:23 -0700 (PDT) Subject: Support for APPLE Newton? In-Reply-To: <20040527204003.29EC5299B5@xprdmailfe21.nwk.excite.com> Message-ID: <20040527211123.77804.qmail@web60501.mail.yahoo.com> --- K wrote: > > > > I have been asked by a client if I can build a > NEWTON compatible version of my Revolution > applications. Is this possible? Will a appication > compiled for OS 9 run on a NEWTON? > > K > Hi Kevin, The Newton OS was a completely different animal than MacOS 9 or X ; in fact, it used an ARM processor, and you had to program it using NewtonScript. Sorry to disappoint you. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From jperryl at ecs.fullerton.edu Thu May 27 17:26:05 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 27 May 2004 14:26:05 -0700 (PDT) Subject: mouseWithin vs. ??? w/mouseText In-Reply-To: Message-ID: Hi Klaus, Thanks... I think I figured out an alternate solution, but at the field level as you suggested: on mouseMove get the mouseText if the mouseText = "objects" then show field "Objects" end if if the mouseText <=> "objects" then -- not equals sign if the visible of field "Objects" is true then set the visible of field "Objects" to false end if end if end mouseMove Judy On Thu, 27 May 2004, Klaus Major wrote: > Use a "mousemove" handler in that field... > > First check the textstyle of "the mousechunk" (NOT tested, right out of > my head :-) > and then "the mousetext"... > > Or something like this ;-) > From cteno4 at earthlink.net Thu May 27 18:40:35 2004 From: cteno4 at earthlink.net (cteno4) Date: Thu, 27 May 2004 18:40:35 -0400 Subject: Launching files in other applications Message-ID: <20040527223516.6AD2B930061@mail.runrev.com> Hi, I have a client who wants a to create a little application in rev that would launch other files on a cd in their various applications (ie quark, acrobat, word, etc). I have only done this a few times on the mac in the past and its been very very limited. I have seen lots of folks posting questions and problems with this in the past on the rev and metacard lists. My question is how well is the latest version of Revolution handling file launching like this? Has anyone had any big problems lately with it? My main concern is the permutation testing with all these applications on different versions of Mac and Windoz OSs if this hasn't become a really standard feature. Thanks jeff Jeffrey H. Reynolds 6620 Michaels Dr. Bethesda, MD 20817 301.469.8562 email: cteno4 at earthlink.net cteno4 at aol.com From monte at sweattechnologies.com Thu May 27 20:13:15 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 28 May 2004 09:43:15 +0930 Subject: Application Icons in Mac classic In-Reply-To: <40B60995.2090201@hyperactivesw.com> Message-ID: >I've never been able to get it to work either, I always just resort to >ResEdit. I wonder if it has something to do with the standalone settings >-- I never allow the SB to scan the stack. I wonder if that matters. Hmm... yes it dows look like there are issues with this although it hasn't been entered in bugzilla to my knowledge???? > >Also, even though I point the SB to a plist file for the OS X >distribution, it is never included either. Again, I wonder if that has >to do with not allowing it to scan. This hasn't been entered in bugzilla either. > >I have had to rebuild a very large stack several times and if I allow SB >to scan the stack it takes over 30 minutes to generate standalones; >that's why I don't want it to scan. When was the last time you tried? If it was during the beta of 2.2 then it's possible it's much faster now as I found a number of speed issues and resolved them. Having said that the search option is designed more for quick builds or throw away prototypes. There is definitely a time factor in doing it but in may apps that's likely to be less cost than the time it takes to open the standalone settings window and choose your options. Cheers Monte From chipp at chipp.com Thu May 27 21:46:29 2004 From: chipp at chipp.com (Chipp Walters) Date: Thu, 27 May 2004 20:46:29 -0500 Subject: Couple of Nits In-Reply-To: <165A881F-AFFA-11D8-8D0E-000393A1CAAA@centurytel.net> References: <165A881F-AFFA-11D8-8D0E-000393A1CAAA@centurytel.net> Message-ID: <40B699F5.8000304@chipp.com> Hi Roger, Yep, I find the same problems with 2.2...bummer. It's pretty easy to fix. When you encounter the problem just click on the revMenuBar messages button to turn them off, then turn them back on, and everything should work as planned. best, Chipp Roger Guay wrote: > Hello List, > > I just loaded Rev 2.2 and a couple of annoying problems returned that I > had fixed in the earlier version: One is that Cmd-M does not bring up > the Message Box, and the other is that Cmd-Option gives me the Script > Editor not only for control that the mouse is over (which I have elected > for in Preference) but also for the Script Editor itself. I'm sorry I > forgot how to fix these and promise I will write it down if someone will > set me straight again!! > > Thanks, Roger > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarahr at genesearch.com.au Thu May 27 22:42:43 2004 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 28 May 2004 12:42:43 +1000 Subject: Script not accepting empty line In-Reply-To: References: Message-ID: > Sarah, > > Aren't there possible issues if one changes the contents of the > control variable inside a "repeat for each" structure? For repeat for > each to work in this case wouldn't one need to make a copy of the > control variable for the repeat & make changes to the original?: > > on fillBlanks variableList > put 0 into lineNumber > get variableList > repeat for each line theLine in it > add 1 to x > if theLine is empty then put [whatEver] into line x of variableList > end repeat > end fillBlanks Yes Rob, that is a problem, so if you have a closer look at my script :-) you'll see that I use the contents of the original control variable to build a completely new variable to avoid this problem. In my script (which I have inserted below) "variable" is the name of the original variable used for the control loop. The contents of it, with something else is a line is empty, are used to build up "newVariable". The original "variable" is never changed at all. Your solution does things the other way around but both are valid ways around the potential problem with "repeat for each" loops. BTW as this is purely a demonstrator script, it has no way of actually getting any data in or out - I leave that up to the individual user :-) on newAddNew put empty into newVariable repeat for each line L in variable if L is empty then -- insert the new data in place of the empty line put newData & cr after newVariable else put L & cr after newVariable end if end repeat delete last line of newVariable -- extra cr end newAddNew Cheers, Sarah From erikhans08 at yahoo.com Fri May 28 00:59:52 2004 From: erikhans08 at yahoo.com (Erik Hansen) Date: Thu, 27 May 2004 21:59:52 -0700 (PDT) Subject: Playing DVDs In-Reply-To: <009b01c4441a$3f170c10$7a8ad80a@WorkPC> Message-ID: <20040528045952.61057.qmail@web61105.mail.yahoo.com> --- Derek Bump wrote: > Any way to play DVDs in Rev? I would love to > create a Rev based player. that could be controlled by a cell phone... ===== 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 jacque at hyperactivesw.com Fri May 28 01:25:56 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 28 May 2004 00:25:56 -0500 Subject: Application Icons in Mac classic In-Reply-To: References: Message-ID: <40B6CD64.7060308@hyperactivesw.com> On 5/27/04 7:13 PM, Monte Goulding wrote: >>I've never been able to get it to work either, I always just resort to >>ResEdit. I wonder if it has something to do with the standalone settings >>-- I never allow the SB to scan the stack. I wonder if that matters. > > > Hmm... yes it dows look like there are issues with this although it hasn't > been entered in bugzilla to my knowledge???? You're right, I've been negligent. I'll try and get them into Bugzilla. I've been so busy that it was just easier to deal with the issue than to take time to report it. And I figured it was just me, since no one else had mentioned it till now. >>I have had to rebuild a very large stack several times and if I allow SB >>>to scan the stack it takes over 30 minutes to generate standalones; >>>that's why I don't want it to scan. > > > When was the last time you tried? If it was during the beta of 2.2 then it's > possible it's much faster now as I found a number of speed issues and > resolved them. The last time I tried was two days ago with the release version of 2.2. I have a 650+ card stack that someone made, each card with a number of card fields, buttons, and images. There are probably a couple thousand objects in the stack. I suppose it wasn't a whole 30 minutes, it just felt like it. ;) I will Bugzilla tomorrow, I promise. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Fri May 28 01:34:31 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 28 May 2004 15:04:31 +0930 Subject: Application Icons in Mac classic In-Reply-To: <40B6CD64.7060308@hyperactivesw.com> Message-ID: >>>I've never been able to get it to work either, I always just resort to >>>ResEdit. I wonder if it has something to do with the standalone settings >>>-- I never allow the SB to scan the stack. I wonder if that matters. >> >> >> Hmm... yes it dows look like there are issues with this although >it hasn't >> been entered in bugzilla to my knowledge???? > >You're right, I've been negligent. I'll try and get them into Bugzilla. >I've been so busy that it was just easier to deal with the issue than to >take time to report it. And I figured it was just me, since no one else >had mentioned it till now. > >>>I have had to rebuild a very large stack several times and if I allow SB >>>>to scan the stack it takes over 30 minutes to generate standalones; >>>>that's why I don't want it to scan. >> >> >> When was the last time you tried? If it was during the beta of >2.2 then it's >> possible it's much faster now as I found a number of speed issues and >> resolved them. > >The last time I tried was two days ago with the release version of 2.2. >I have a 650+ card stack that someone made, each card with a number of >card fields, buttons, and images. There are probably a couple thousand >objects in the stack. I suppose it wasn't a whole 30 minutes, it just >felt like it. ;) > >I will Bugzilla tomorrow, I promise. ;-) Ok... when resolving a speed issue I found that to have the stack toplevel when you were looping over it's controls was *MUCH* faster. It may be that going to each card as you are parsing it's controls is also something that helps??? Cheers Monte From xbury.cs at clearstream.com Fri May 28 02:57:56 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 28 May 2004 08:57:56 +0200 Subject: IDE Interference (not just a another rant) Message-ID: On 27.05.2004 17:51:54 use-revolution-bounces wrote: >Xavier, > >> See my previous message response with the suspendstack >> script. It's not a problem per say, true but it is a problem >> when implemented where the RR events cause a serious slow down >> each time you edit an object feature via a Revpalette and a >> suspendstack message is sent to your stack... > > >If you're gonna flame Rev for being slow, you should really at least >consider that your own added script is at the crux of the issue... Not so. My script proves that the IDE is interfering with your application's messages and that is the crux of the issue. In my case I use the IDE as an application host (I rarely compile apps as I prefer making RR tools to enhance RR development and context productivity). >Is there any reason you can't change your auto-save implementation? >Saving stacks in Rev is quite fast, but you're probably causing havoc >by doing it on suspendstack- unless you can provide some evidence to >the contrary. I save 50MB stacks all the time and it's no more than a >blip on a 500Mhz iBook. I removed the auto-save - it was there to provide a safety against crashes when using images in HTML. I dont rely on the auto-save plugin because it wouldn't work... See my previous plug-in issues - I dont trust them... >How about using a simple timed auto-save, say every 60 seconds? What's >the use in saving on every suspendStack when you have a screen full of >windows and palettes? Irrelevant >If you really want the tightest, instant auto-saving you'll probably >have to insert a slew of event and setprop handlers in a frontScript, >but frankly I don't think it's worth having... irrelevant, futile ;) >> Should the suspendstack be sent to the stack each time you edit an >> object causing a save? One missing feature (no blame anywhere) is >> the function stackwaschangedsincelastsave()=true|false... The other >> is that the suspendstack should be ignored while in the GUI design >> mode of RR... >Yes, of course it should be sent. That's how the message is defined. >Nobody said to put a save handler in there! You didn't get my point. But if I want a suspendstack event, it's my business to have one as it is a feature. The point is that when you are in an IDE, the IDE messaging should NOT interfere with your applications' events. When I choose a different tool, go to the message or to set an object's properties via the pallete, I am NOT leaving my application... In RR's case, it is... This was not an issue in HC. THIS means that when you use suspend or other stack messages which may be interfered by RR's development stacks, you have to add a check level to make sure you are not in a rev palette or something... Granted that this usage is rare... Hope this clears up the confusion. The auto-save was just the command that showed something was going wrong. Each time I went to the props palette there was a 2 second GUI freeze, try it sometime to see how enerving that can be ;). Saving a 50MB stack in a blip is hard to believe! 4982 ms to save this stack on the EMC storage via GB net. 43ms on a local drive The difference is enormous but in our company we are not permitted to keep data on the PCs for legal reasons (banking laws in luxembourg) So the impact of this save functions was quite noticeable whereas at home it wasn't... 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 monte at sweattechnologies.com Fri May 28 03:21:03 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 28 May 2004 16:51:03 +0930 Subject: IDE Interference (not just a another rant) In-Reply-To: Message-ID: >You didn't get my point. But if I want a suspendstack event, it's my >business >to have one as it is a feature. The point is that when you are in an IDE, >the IDE >messaging should NOT interfere with your applications' events. When I >choose a different tool, go to the message or to set an object's >properties >via the pallete, I am NOT leaving my application... In RR's case, it is... > >This was not an issue in HC. THIS means that when you use suspend or other > >stack messages which may be interfered by RR's development stacks, you >have to add a check level to make sure you are not in a rev palette or >something... Er.. Xavier I haven't been following this thread so maybe I'm off track here but in what what is Rev interfering with your stack's events. We all know that the IDE is made of stacks. A stack's a stack. So you will get suspendStack and resumeStack messages when moving around the IDE. This is not a problem if you understand the reality. Same thing happens in MetaCard. Having said that from the sounds of what you wrote above you are actually implemeting your autosave feature in a different way than what you think. I think you are actually looking for the suspend message sent to the current card of the topStack when the application is suspended. This is a quite different beast to suspendStack and should avoid your work getting locked up when you are just trying to edit stuff. Cheers Monte From janschenkel at yahoo.com Fri May 28 03:39:34 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 28 May 2004 00:39:34 -0700 (PDT) Subject: IDE Interference (not just a another rant) In-Reply-To: Message-ID: <20040528073934.46093.qmail@web60506.mail.yahoo.com> --- xbury.cs at clearstream.com wrote: [snip] > > >> Should the suspendstack be sent to the stack each > time you edit an > >> object causing a save? One missing feature (no > blame anywhere) is > >> the function > stackwaschangedsincelastsave()=true|false... The > other > >> is that the suspendstack should be ignored while > in the GUI design > >> mode of RR... > > >Yes, of course it should be sent. That's how the > message is defined. > >Nobody said to put a save handler in there! > > You didn't get my point. But if I want a > suspendstack event, it's my > business > to have one as it is a feature. The point is that > when you are in an IDE, > the IDE > messaging should NOT interfere with your > applications' events. When I > choose a different tool, go to the message or to set > an object's > properties > via the pallete, I am NOT leaving my application... > In RR's case, it is... > Hi Xavier, I would say Revolution is not to blame ; it's not their fault that clicking in a palette means that your stack is suspended and the palette receives a resumeStack message : it's the engine that is doing that, and for good reason. How else would you intercept certain events in palette stacks, to do preparation work _before_ the mouse hits the button ? In HC this didn't happen because a stack was topLevel, period -- anything else such as lmodal, modeless palete had to be dealt with via externals. If you are convinced that suspending your stack and resuming the palette is bad behaviour, then by all means use Bugzilla and rally votes on the mailing lists. But before you do so, please think about why this was setup that way : so that developers who switch from topLevel to modeless or palette would consistently receive the same set of messages. And if you still think it is a problem, please provide an alternative method for those who need to trap the resumeStack message in their palettes. While I realise that you were confronted with a bug in the engine concerning images in htmlText, the fact that your own solution has a downside is not the fault of the engine, IMHO. Best regards, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From xbury.cs at clearstream.com Fri May 28 04:42:15 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 28 May 2004 10:42:15 +0200 Subject: IDE Interference (not just a another rant) Message-ID: Jan, Well put and said... the solution is quite simple after all... on suspendstack if the topstack is not the long name of me -- optional : AND "app/Revolution/components/" is not in the effective filename of the topstack then save this stack end if pass suspendstack end suspendstack -- Now, is there any way to paste script text in the script editor WITHOUT textstyle? -- And yet another crash... Am I the only one experiencing these crashes? cheers Xavier On 28.05.2004 09:39:34 use-revolution-bounces wrote: >--- xbury.cs at clearstream.com wrote: >[snip] >> >> >> Should the suspendstack be sent to the stack each >> time you edit an >> >> object causing a save? One missing feature (no >> blame anywhere) is >> >> the function >> stackwaschangedsincelastsave()=true|false... The >> other >> >> is that the suspendstack should be ignored while >> in the GUI design >> >> mode of RR... >> >> >Yes, of course it should be sent. That's how the >> message is defined. >> >Nobody said to put a save handler in there! >> >> You didn't get my point. But if I want a >> suspendstack event, it's my >> business >> to have one as it is a feature. The point is that >> when you are in an IDE, >> the IDE >> messaging should NOT interfere with your >> applications' events. When I >> choose a different tool, go to the message or to set >> an object's >> properties >> via the pallete, I am NOT leaving my application... >> In RR's case, it is... >> > >Hi Xavier, > >I would say Revolution is not to blame ; it's not >their fault that clicking in a palette means that your >stack is suspended and the palette receives a >resumeStack message : it's the engine that is doing >that, and for good reason. >How else would you intercept certain events in palette >stacks, to do preparation work _before_ the mouse hits >the button ? In HC this didn't happen because a stack >was topLevel, period -- anything else such as lmodal, >modeless palete had to be dealt with via externals. >If you are convinced that suspending your stack and >resuming the palette is bad behaviour, then by all >means use Bugzilla and rally votes on the mailing >lists. >But before you do so, please think about why this was >setup that way : so that developers who switch from >topLevel to modeless or palette would consistently >receive the same set of messages. >And if you still think it is a problem, please provide >an alternative method for those who need to trap the >resumeStack message in their palettes. >While I realise that you were confronted with a bug in >the engine concerning images in htmlText, the fact >that your own solution has a downside is not the fault >of the engine, IMHO. > >Best regards, > >Jan Schenkel. > >===== >"As we grow older, we grow both wiser and more foolish at the same time." (La >Rochefoucauld) > > > > >__________________________________ >Do you Yahoo!? >Friends. Fun. Try the all-new Yahoo! Messenger. >http://messenger.yahoo.com/ >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >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 xbury.cs at clearstream.com Fri May 28 04:48:09 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 28 May 2004 10:48:09 +0200 Subject: IDE Interference (not just a another rant) Message-ID: On 28.05.2004 10:42:15 use-revolution-bounces wrote: [] >>How else would you intercept certain events in palette >>stacks, to do preparation work _before_ the mouse hits >>the button ? [] Jan, On mouseenter will work _before_ the mouse hits the button. It's what I use for my palettes... By the time the user hits the palette button the selection may be lost... MC and RR's palettes have this disadvantage of being stacks... On the other hand it's nice to make them yourself and not use the old HC palette stack limited to one script line and dummy control hilites ;) 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 klaus at major-k.de Fri May 28 05:15:03 2004 From: klaus at major-k.de (Klaus Major) Date: Fri, 28 May 2004 11:15:03 +0200 Subject: mouseWithin vs. ??? w/mouseText In-Reply-To: References: Message-ID: <807E3B4C-B087-11D8-B7B6-000A27B49A96@major-k.de> Hi Judy, > Hi Klaus, > > Thanks... I think I figured out an alternate solution, but at the field > level as you suggested: > > on mouseMove > get the mouseText > if the mouseText = "objects" then > show field "Objects" > end if > if the mouseText <=> "objects" then -- not equals sign > if the visible of field "Objects" is true then > set the visible of field "Objects" to false > end if > end if > end mouseMove you can save 8 lines, if you like ;-) on mouseMove set the visible of fld "Objects" to (the mousetext = "Objects") end mouemove > Judy Regads Klaus Major klaus at major-k.de www.major-k.de From chipp at chipp.com Fri May 28 08:19:47 2004 From: chipp at chipp.com (Chipp Walters) Date: Fri, 28 May 2004 07:19:47 -0500 Subject: curious behavior... Message-ID: <40B72E63.1070600@chipp.com> I'm trying to programatically set the numberFormat property. on mouseUp repeat 4 times put "#" after t end repeat put "set the numberFormat to " "e& t "e into tDo do tDo put 5+1 end mouseUp puts just "6" in the msg now if I try: on mouseUp set the numberFormat to "####" put 5+1 end mouseUp It puts the expected "0006" Any ideas why?? From ceieng at copelandelectronics.com Fri May 28 09:58:00 2004 From: ceieng at copelandelectronics.com (CEIENG) Date: Fri, 28 May 2004 09:58:00 -0400 Subject: Serial Modem data break problems Message-ID: <040e01c444bb$ca8bf700$6500a8c0@CopelandIII> I'm developing a test fixture for an embedded modem product and am having some problems breaking out of data mode. Here's the protocol in a nutshell: Open COM port -> works Send "AT" -> works Look for "OK" -> works Send "AT&T1" -> works (enter internal loopback) Send "ABCD...." -> works Look for "ABCD...." -> works Send BREAK <1 second delay>"+++"<1 second delay> -> doesn't work Look for "OK" ....... For some reason, the modem is not breaking out and back into command mode. I verified the whole protocol using Hyperterminal. I've also created a button that just sends the BREAK and that works. I can tell that the modem is not seeing the BREAK by going back into Hyperterminal and sending the AT...which gets echo'ed back. That tells me it's still in loopback mode. By the way, the BREAK on my modem only requires about 300ms before and after. I'm using 1000ms for test purposes. Any ideas? Thanks, Scott Copeland Electronics, Inc. Copeland Communications, Inc. From rcozens at pon.net Fri May 28 09:58:21 2004 From: rcozens at pon.net (Rob Cozens) Date: Fri, 28 May 2004 06:58:21 -0700 Subject: Script not accepting empty line Message-ID: >Can you show us the handler that empties a line... Jeremy, I believe from your description of the problem (no matter what line is emptied the new text goes into line 10) that your logic is deleting the line instead of emptying it. If one starts with a 10-line variable, "delete line x of myVariable" leaves a 9-line variable with former lines x+1 to 10 now numbered x to 9. "put empty into line x of myVariable" leaves a 10-line variable with line x empty. If you're doing the former instead of the later, that is the source of your problem. -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From jhurley at infostations.com Fri May 28 10:19:47 2004 From: jhurley at infostations.com (Jim Hurley) Date: Fri, 28 May 2004 07:19:47 -0700 Subject: mouseWithin vs. ??? w/mouseText In-Reply-To: <20040528065644.C131093010B@mail.runrev.com> References: <20040528065644.C131093010B@mail.runrev.com> Message-ID: > >Message: 6 >Date: Thu, 27 May 2004 11:46:43 -0700 (PDT) >From: Judy Perry >Subject: mouseWithin vs. ??? w/mouseText >To: How to use Revolution >Message-ID: > >Content-Type: TEXT/PLAIN; charset=US-ASCII > >Hi, > >I've just discovered mouseText and am loving that I don't have to create >transparent buttons that hopefully align on top of text etc. (my really >cludgy system). > >(snip) > >Any suggestions?? > >Thanks! > >Judy > Hi Judy, Another pedagogical tool which I have found useful is a plug-in which bring up a pointer to locate the position on the screen of the object being discussed in the text. That is, if the text refers to a button or image, the key word in the text is underlined and colored blue; when the mouse passes over this descriptive word, a hand appears with a finger pointing to the button or image refered to in the text. If you think this would be helpful, try this in the msg box go url "http://home.infostations.net/jhurley/PointerTool.rev" To see the pointer in action, click the "Help" button in the Pointer plug-in and pass the mouse over the blue, underlined word "Return" in the text field that comes up. Jim (This is an update of a previous, very clumsy version. I think I have finally figured out how to use palettes.) From wouter.abraham at pi.be Fri May 28 10:26:31 2004 From: wouter.abraham at pi.be (Wouter) Date: Fri, 28 May 2004 16:26:31 +0200 Subject: curious behavior... Message-ID: <03675DB2-B0B3-11D8-9D37-003065CC999E@pi.be> > Chipp Walters chipp at chipp.com > Fri May 28 08:19:47 EDT 2004 > > > I'm trying to programatically set the numberFormat property. > > on mouseUp > repeat 4 times > put "#" after t > end repeat > put "set the numberFormat to " "e& t "e into tDo > do tDo > put 5+1 > end mouseUp > > puts just "6" in the msg > > now if I try: > > on mouseUp > set the numberFormat to "####" > put 5+1 > end mouseUp > > It puts the expected "0006" > > Any ideas why?? No ideas. But this works (unless you need a "do xxx" statement): on mouseUp repeat 4 times put "#" after t end repeat set the numberFormat to t put 5+1 end mouseUp puts "0006" And to add to the curious behavior try this: on mouseUp repeat 4 times put "#" after t end repeat set the numberFormat to quote & t "e put 5+1 end mouseUp puts "000006" Greetings, WA From pkocsis at cox.net Fri May 28 10:25:46 2004 From: pkocsis at cox.net (Paul Kocsis) Date: Fri, 28 May 2004 09:25:46 -0500 Subject: curious behavior... References: <40B72E63.1070600@chipp.com> Message-ID: <00ca01c444bf$ac97fa60$f4ffa8c0@cox.net> It is because numberFormat is a local property which gets reset when a handler finishes, and using "do" is like a mini-one-line-handler... consider the following slight variation of your handler: on mouseUp --repeat 4 times --put "#" after t --end repeat put "|" into t put "set the itemDelimiter to " "e& t "e into tDo do tDo put the itemDelimiter end mouseUp This puts a comma into the Message Box. The itemDelimiter *is* set by "do" (just like the numberFormat is), but then is reset immediately upon do's completion and return to the handler that called it. If we try a similar experiment with a global property (a property that does NOT get reset when a handler finishes) like relayerGroupedControls...something like: on mouseUp --repeat 4 times --put "#" after t --end repeat put true into t put "set the relayerGroupedControls to " "e& t "e into tDo do tDo put the relayerGroupedControls end mouseUp You will see that this does indeed put 'true' into the Message Box, because the do (just like in your example) did indeed perform the set command, but since the property was a global property and not a local one, upon do's completion, it was NOT automatically reset. Obviously, the following accomplishes the task of programmatically setting the numberFormat....till mouseUp exits... ;) on mouseUp repeat 4 times put "#" after t end repeat --put "set the numberFormat to " "e& t "e into tDo --do tDo set the numberFormat to t put 5+1 end mouseUp Paul Kocsis ----- Original Message ----- From: "Chipp Walters" To: "Use-Revolution" ; "tuviah snyder" Sent: Friday, May 28, 2004 7:19 AM Subject: curious behavior... > I'm trying to programatically set the numberFormat property. > > on mouseUp > repeat 4 times > put "#" after t > end repeat > put "set the numberFormat to " "e& t "e into tDo > do tDo > put 5+1 > end mouseUp > > puts just "6" in the msg > > now if I try: > > on mouseUp > set the numberFormat to "####" > put 5+1 > end mouseUp > > It puts the expected "0006" > > Any ideas why?? > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From alptex2 at orwell.net Fri May 28 10:30:16 2004 From: alptex2 at orwell.net (T. R. Ponn) Date: Fri, 28 May 2004 10:30:16 -0400 Subject: curious behavior... References: <40B72E63.1070600@chipp.com> Message-ID: <40B74CF8.6090301@orwell.net> Chipp, This seems to work ok...without the "Do" on mouseUp repeat 4 times put "#" after t end repeat set the numberFormat to t put 5+1 end mouseUp Best Regards, Tim Ponn Chipp Walters wrote: > I'm trying to programatically set the numberFormat property. > > on mouseUp > repeat 4 times > put "#" after t > end repeat > put "set the numberFormat to " "e& t "e into tDo > do tDo > put 5+1 > end mouseUp > > puts just "6" in the msg > > now if I try: > > on mouseUp > set the numberFormat to "####" > put 5+1 > end mouseUp > > It puts the expected "0006" > > Any ideas why?? > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From wouter.abraham at pi.be Fri May 28 10:33:26 2004 From: wouter.abraham at pi.be (Wouter) Date: Fri, 28 May 2004 16:33:26 +0200 Subject: curious behaviour... Message-ID: One test further Try this: on mouseUp /* repeat 4 times put "#" after t end repeat */ set the numberFormat to quote "e"e "e put 5+1 end mouseUp puts "0006" which explains why on mouseUp repeat 4 times put "#" after t end repeat set the numberFormat to quote & t "e put 5+1 end mouseUp puts "000006" Greetings, WA From klaus at major-k.de Fri May 28 10:43:14 2004 From: klaus at major-k.de (Klaus Major) Date: Fri, 28 May 2004 16:43:14 +0200 Subject: curious behaviour... In-Reply-To: References: Message-ID: <59BE4694-B0B5-11D8-B7B6-000A27B49A96@major-k.de> Hi friends, > One test further > Try this: > > on mouseUp > /* > repeat 4 times > put "#" after t > end repeat > */ > set the numberFormat to quote "e"e "e > put 5+1 > end mouseUp > > puts "0006" > > which explains why > > on mouseUp > repeat 4 times > put "#" after t > end repeat > set the numberFormat to quote & t "e > put 5+1 > end mouseUp > > puts "000006" looks like the lazy engine simply parses "the numberformat" for a . (period) and the NUMBER of chars ;-) > Greetings, > WA Have a nice weekend... Regards Klaus Major klaus at major-k.de www.major-k.de From xbury.cs at clearstream.com Fri May 28 11:02:06 2004 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 28 May 2004 17:02:06 +0200 Subject: IDE Interference (not just a another rant) Message-ID: >Er.. Xavier I haven't been following this thread so maybe I'm off track here >but in what what is Rev interfering with your stack's events. We all know >that the IDE is made of stacks. A stack's a stack. So you will get >suspendStack and resumeStack messages when moving around the IDE. This is >not a problem if you understand the reality. Same thing happens in MetaCard. Monte, I saw that MC was also afflicted with thi issue. But IMOHO the Rev messaging should not interfere with applications in development - As I developped XOS, I used extensively the HC messaging to intercept all stack events from the hierarchy top - much like frontscritps would and will soon - the key point was not to interfere with other stacks and this required particular checks everywhere... So I dont have anything against RR's event usage - the conflict is when these events start causing these GUI freezes as I was experiencing - I do work in a very particular environment and as I said, never experienced this at home. >Having said that from the sounds of what you wrote above you are actually >implemeting your autosave feature in a different way than what you think. I >think you are actually looking for the suspend message sent to the current >card of the topStack when the application is suspended. This is a quite >different beast to suspendStack and should avoid your work getting locked up >when you are just trying to edit stuff. In a multicard environment, a single card script would not sufice - if I read you right... That's why it was in the stack script. Note that there is an advantage in this feature... It simulates the HC saving which was part of its robustness... The problem was: - saving over the network is 100 times slower... - choosing a tool or changing a property sent a save which I forgot was there causing these freezes... sorry I forgot to send this mail this morning, Lotus notes is definitely not GUI friendly as RR ;) >Cheers > >Monte > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >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 briany at qldlearning.com Fri May 28 11:42:00 2004 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 28 May 2004 11:42:00 -0400 Subject: IDE Interference (not just a another rant) In-Reply-To: Message-ID: <8F3D4682-B0BD-11D8-9384-000393AA08D2@qldlearning.com> Xavier, > Monte, I saw that MC was also afflicted with thi issue. But IMOHO the > Rev > messaging > should not interfere with applications in development - As I developped > XOS, I used > extensively the HC messaging to intercept all stack events from the > hierarchy top - > much like frontscritps would and will soon - the key point was not to > interfere with other > stacks and this required particular checks everywhere... If MC is afflicted, then how is Rev messaging the problem? You mean the engine messaging you don't like? Comparing HC on save issues is really apples and oranges, although I don't know if it would be very happy either running off of a slow network disk. > In a multicard environment, a single card script would not sufice - if > I > read you right... > That's why it was in the stack script. Note that there is an advantage > in > this feature... > It simulates the HC saving which was part of its robustness... > > The problem was: > - saving over the network is 100 times slower... > - choosing a tool or changing a property sent a save which I forgot was > there causing these freezes... It sounds to me like what we should really be doing is having a to the point discussion of the crashes, not the saving mechanism. What do you expect Rev to do... speed up your network? If you're going to write an auto-save handler that kicks in every time you click around, and you're saving to a slow network volume, well... Can you not write to the local volume at all? If you can, how about auto-saving to the local volume and then periodically uploading to the network instead of writing your whole stack to the network on every other click? - Brian From tzvi at realtorsgroup.us Fri May 28 12:12:14 2004 From: tzvi at realtorsgroup.us (tzvi) Date: Fri, 28 May 2004 12:12:14 -0400 Subject: Credit Card Message-ID: Hi all. Does any body have an idea how to have a credit card charge processed direct from RR either thru via web or direct dial (preferred direct Dial) ? Thanks From revlist at cableone.net Fri May 28 12:25:31 2004 From: revlist at cableone.net (Chris Sheffield) Date: Fri, 28 May 2004 10:25:31 -0600 Subject: getting a CD drive under Windows Message-ID: <000001c444d0$6b9c2ca0$64fea8c0@chris1> Does anybody have a good method for determining the CD-ROM drives that are available on a Windows machine? I'd prefer a method that doesn't require an external, but since I only need it for Windows, I'll take any ideas I can get. I know I can use the Volumes() function to get a list of available drives, but how can I determine which drives are actually CD-ROM drives? Thanks, Chris Sheffield Software Developer Read Naturally --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.691 / Virus Database: 452 - Release Date: 5/26/2004 From bill at bluewatermaritime.com Fri May 28 09:24:12 2004 From: bill at bluewatermaritime.com (Bill) Date: Fri, 28 May 2004 09:24:12 -0400 Subject: Disappearing Stacks! Help! In-Reply-To: <20040527014237.BC2649300B0@mail.runrev.com> Message-ID: I agree with the learning curve thing. I also second you on the greatness of this list. It is the main thing keeping me from file maker pro. I had the same learning curve in discovering the decidedly unintuitive method of editing a pallete. Turning it back into a stack by running a command in the message box was the last thing I expected. I expected it to be more hypercard like and have a "scripting" level or something which made a menu available to do things like edit palletes. As it is I still have to r From gizmotron at earthlink.net Fri May 28 12:57:36 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Fri, 28 May 2004 09:57:36 -0700 Subject: Credit Card In-Reply-To: Message-ID: <1EA09C16-B0C8-11D8-838A-000A95859272@earthlink.net> On Friday, May 28, 2004, at 09:12 AM, tzvi wrote: > Hi all. > Does any body have an idea how to have a credit card charge processed > direct from RR either thru via web or direct dial (preferred direct > Dial) ? > Thanks Kagi is working on a KRM module that will open up a credit card processing window inside your Rev apps and do that. It will process the purchase and send back to your app success or failure info. You will be able to act on successful purchases by unlocking your app right then and there. No secret unlocking keys will be needed to be processed or generated. Cool Hugh! Kee ...Kool ...Rah! Rah! Rah! Mark From tzvi at realtorsgroup.us Fri May 28 13:20:31 2004 From: tzvi at realtorsgroup.us (tzvi) Date: Fri, 28 May 2004 13:20:31 -0400 Subject: Credit Card In-Reply-To: <1EA09C16-B0C8-11D8-838A-000A95859272@earthlink.net> Message-ID: <52755F25-B0CB-11D8-9478-0030654C1E62@realtorsgroup.us> I need it for a Kiosk app. at a "Kiosk" (Take out). I'd like to imitate those little card swipe machines or however you might call it , ring up an order swipe the card if it is approved it should go in a payment into the db. and my app. should print out a receipt. I assume that Kagi would be to expensive for those mom and pop shops. Thanks On Friday, May 28, 2004, at 12:57 PM, Mark Brownell wrote: > > On Friday, May 28, 2004, at 09:12 AM, tzvi wrote: > >> Hi all. >> Does any body have an idea how to have a credit card charge processed >> direct from RR either thru via web or direct dial (preferred direct >> Dial) ? >> Thanks > > Kagi is working on a KRM module that will open up a credit card > processing window inside your Rev apps and do that. It will process > the purchase and send back to your app success or failure info. You > will be able to act on successful purchases by unlocking your app > right then and there. No secret unlocking keys will be needed to be > processed or generated. > > Cool Hugh! Kee ...Kool ...Rah! Rah! Rah! > > > Mark > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From gizmotron at earthlink.net Fri May 28 13:30:47 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Fri, 28 May 2004 10:30:47 -0700 Subject: Credit Card In-Reply-To: <52755F25-B0CB-11D8-9478-0030654C1E62@realtorsgroup.us> Message-ID: On Friday, May 28, 2004, at 10:20 AM, tzvi wrote: > > I need it for a Kiosk app. at a "Kiosk" (Take out). I'd like to > imitate those little card swipe machines or however you might call it > , ring up an order swipe the card if it is approved it should go in a > payment into the db. and my app. should print out a receipt. > I assume that Kagi would be to expensive for those mom and pop shops. > Thanks The Kagi KRM would not work for this kind of a trasaction unless you had all the products listed as products at your Kagi store website. You'll need to use SSL and an information transfer process that a credit card company would be willing to let you connect into. Rev 2.2 does not support SSL encryption at this time. You might start searching for a bank that is willing to accept credit card purchases like some kind of merchant account. Good Luck, Mark From gizmotron at earthlink.net Fri May 28 13:44:25 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Fri, 28 May 2004 10:44:25 -0700 Subject: Application Icons in Mac classic In-Reply-To: Message-ID: On Thursday, May 27, 2004, at 10:31 AM, Mark Brownell wrote: > I discovered this: > >> I'm on to it now, check this out: >> http://www.adobe.com/support/techdocs/268e.htm >> Files Appear with Generic Icons in the Finder Troubleshooting Guide > > Just need to find a virgin mac classic... (Jokes start here) I'm too > lazy to dump the extension file, as recommended by the advice at that > website mentioned above. > > Thanks, > > Mark No need to do all this. I have it working now. The trick is to assign an Icon at the time of building your standalone Mac Classic app, then open that app in ResEdit. 1.) Find the item "RSTK" and delete it. 2.) Change both 128 & 129 Icons to the ones you want. 3.) Open the "FREF" item. 4.) Click on 128. a.) it should read File Type "APPL" b.) Icon Local ID = "0" 5.) Click on 129. a.) if it reads File Type "RSTK" b.) change it to read File Type "Your four letter code here" c.) Icon Local ID = "1" 6.) Click on 130. a.) it should read File Type "Your four letter code here" b.) Icon Local ID = "0" c.) change this to Icon Local ID = "1" 7.) Rebuild the desktop. Note: Local ID = "0" is the app (128) Local ID = "1" is your files (129) Mark From jperryl at ecs.fullerton.edu Fri May 28 14:04:01 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 28 May 2004 11:04:01 -0700 (PDT) Subject: mouseWithin vs. ??? w/mouseText In-Reply-To: <807E3B4C-B087-11D8-B7B6-000A27B49A96@major-k.de> Message-ID: Hi Klaus, Thank you... but I don't understand it (I trust it works, but would like to understand things). I think I need to look into the mouseText when everything is done and I have time. Viele danke! Judy On Fri, 28 May 2004, Klaus Major wrote: > you can save 8 lines, if you like ;-) > > on mouseMove > set the visible of fld "Objects" to (the mousetext = "Objects") > end mouemove From jperryl at ecs.fullerton.edu Fri May 28 14:19:34 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 28 May 2004 11:19:34 -0700 (PDT) Subject: Here's a market to penetrate! In-Reply-To: Message-ID: Hot off the ZDNet presses... a story about a conference that occured in March ;-) http://www.techedevents.org/ I'd post the ZDNet link but it's all about MS's presence there. It's apparently an annual "international conference & exposition" regarding technology in education (but seemingly always held in Southern California, USA). Still, it provides technology exposure to the educational (especially community college) community. If Rev wants to get in the ed biz, places like this may be a good place to start. FWIW... Judy From jperryl at ecs.fullerton.edu Fri May 28 14:24:19 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 28 May 2004 11:24:19 -0700 (PDT) Subject: mouseWithin vs. ??? w/mouseText In-Reply-To: Message-ID: Thanks, Jim! I will try this out! Judy On Fri, 28 May 2004, Jim Hurley wrote: > If you think this would be helpful, try this in the msg box > > go url "http://home.infostations.net/jhurley/PointerTool.rev" > > To see the pointer in action, click the "Help" button in the Pointer > plug-in and pass the mouse over the blue, underlined word "Return" in > the text field that comes up. > From revdan at danshafer.com Fri May 28 14:53:17 2004 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 28 May 2004 11:53:17 -0700 Subject: Revolution Masters Summit, Monterey, July 2004 Message-ID: <483BCD56-B0D8-11D8-947F-000A95AE42E6@danshafer.com> Hi everyone, How'd you like to hang out in beautiful Monterey, California, at an ocean-front bed-and-breakfast hotel for a couple of days of intense but fun digging into Revolution with a couple dozen other talented and experienced developers? That's the purpose of the First Annual Monterey Revolution Masters Summit to be held July 16-17 in picturesque Monterey. This exclusive event is designed to bring together people who are serious about their Revolution development skills and want to both share and learn with and from others of a similar mind set. To make the event as practical as possible, we're not creating a complex conference but a simple one-room, 25-developer event so that we can keep the cost down (total conference fee is only $125). You'll get a limited-edition T-shirt that is ONLY available to those who attend this historic gathering, along with breakfast and lunch both days. Chipp Walters and I are co-hosting the event. There's a Web site at http://www.altuit.com/webs/demo/RevolutionMastersSummit/default.htm with all the details and a sign-up page. (The site may be down due to a hardware malfunction which is being repaired as I write this. If it is, email me about your interest.) This conference is intended for advanced Revolution users-- those professional developers who make a living using Revolution and MetaCard. A virtual who's who of presentors have tentatively planned on being there including familiar names such as: Richard Gaskin Ken Ray Tuviah Snyder Scott Rossi Jacque Landman Gay Rob Cozens Dar Scott Chipp Walters Chris Bohnert Jerry Daniels Mark Weider and of course myself:-)! The presentations will all be of an advanced nature and include: -Report preparation and printing (Jerry Daniels) -The "Magic Carpet Architecture" for automatic for version control, online updating and deployment of Web-based applications (Chipp Walters) -Best coding practices (Richard Gaskin and Ken Ray) -A modified Periodic Extreme Programming model for Rev development (Dan Shafer and Chipp Walters) -"Building a simple math external for both Mac and PC using freeware compilers" for Dummies (Chris Bohnert) -Custom Controls and Library Packaging (Dar Scott) -Encryption with Script Examples (Dar Scott) -Running Rev on the Server: CGI and RevHTTPd Approaches (Dan Shafer) -Deploying an n-Tier Architecture System Using Rev, PHP, and MySQL (Dan Shafer, Chipp Walters, and Chris Bohnert) -MC IDE vs RunRev IDE Shoot-out! (Ken Ray, Richard Gaskin, Jacque Gay) - and others to be named later.... Currently there are only 10 slots left. So sign up now! From ambassador at fourthworld.com Fri May 28 14:54:45 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 28 May 2004 11:54:45 -0700 Subject: IDE Interference (not just a another rant) In-Reply-To: References: Message-ID: <40B78AF5.3080501@fourthworld.com> xbury.cs at clearstream.com wrote: >>>Should the suspendstack be sent to the stack each time you edit an >>>object causing a save? One missing feature (no blame anywhere) is >>>the function stackwaschangedsincelastsave()=true|false... The other >>>is that the suspendstack should be ignored while in the GUI design >>>mode of RR... > >>Yes, of course it should be sent. That's how the message is defined. >>Nobody said to put a save handler in there! > > You didn't get my point. But if I want a suspendstack event, it's my > business to have one as it is a feature. Of course it's your own business, but if you choose a message that works exactly as described and you don't like the results, the options are to either choose a different message or write your own engine that implements a message how you would like it to behave. > The point is that when you are in an IDE, the IDE messaging should > NOT interfere with your applications' events. When I choose a > different tool, go to the message or to set an object's properties > via the pallete, I am NOT leaving my application... In RR's case, > it is... It seems the problem is not with the message but with your understanding of the message. SuspendStack is different than suspend, which would fit the description you give. > This was not an issue in HC. THIS means that when you use suspend > or other stack messages which may be interfered by RR's development > stacks, you have to add a check level to make sure you are not in > a rev palette or something... The difference here is best explained as a limitation of HC than in Rev: in HC palettes are not native windows, so however desirable it might be to have the same sorts of messages normally sent to windows being sent to palettes as well, since those are compiled resources in HC and use a very different mechanism they are out of the normal event loop. In Rev, all windows are natively implemented, allowing you to use the same scripting to handle them as you would for any other window of any type. This includes the handling of a suspendStack message. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From tzvi at realtorsgroup.us Fri May 28 14:54:07 2004 From: tzvi at realtorsgroup.us (tzvi) Date: Fri, 28 May 2004 14:54:07 -0400 Subject: Credit Card In-Reply-To: Message-ID: <65FB856B-B0D8-11D8-9478-0030654C1E62@realtorsgroup.us> On Friday, May 28, 2004, at 01:30 PM, Mark Brownell wrote: > > On Friday, May 28, 2004, at 10:20 AM, tzvi wrote: > >> >> I need it for a Kiosk app. at a "Kiosk" (Take out). I'd like to >> imitate those little card swipe machines or however you might call it >> , ring up an order swipe the card if it is approved it should go in a >> payment into the db. and my app. should print out a receipt. >> I assume that Kagi would be to expensive for those mom and pop shops. >> Thanks > > > The Kagi KRM would not work for this kind of a trasaction unless you > had all the products listed as products at your Kagi store website. > > You'll need to use SSL and an information transfer process that a > credit card company would be willing to let you connect into. Rev 2.2 > does not support SSL encryption at this time. You might start > searching for a bank that is willing to accept credit card purchases > like some kind of merchant account. So in other words your telling me that it is impossible ? Or with some kind of external it is ? > > Good Luck, > > Mark > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From gizmotron at earthlink.net Fri May 28 15:22:31 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Fri, 28 May 2004 12:22:31 -0700 Subject: Credit Card In-Reply-To: <65FB856B-B0D8-11D8-9478-0030654C1E62@realtorsgroup.us> Message-ID: <5DB043F0-B0DC-11D8-A6AF-000A95859272@earthlink.net> On Friday, May 28, 2004, at 11:54 AM, tzvi wrote: >> You'll need to use SSL and an information transfer process that a >> credit card company would be willing to let you connect into. Rev 2.2 >> does not support SSL encryption at this time. You might start >> searching for a bank that is willing to accept credit card purchases >> like some kind of merchant account. > So in other words your telling me that it is impossible ? Or with some > kind of external it is ? It would have to be because banks use openSSL and SSL Certificates: see: http://www.verisign.com/products/site/index.html?sl=070302 & this: http://www.verisign.com/products/site/commerce/index.html That tends to leave a Rev solution out at this time. Mark From scott at tactilemedia.com Fri May 28 15:30:14 2004 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 28 May 2004 12:30:14 -0700 Subject: mouseWithin vs. ??? w/mouseText In-Reply-To: <807E3B4C-B087-11D8-B7B6-000A27B49A96@major-k.de> Message-ID: Recently, "Klaus Major" wrote: >> on mouseMove >> get the mouseText >> if the mouseText = "objects" then >> show field "Objects" >> end if >> if the mouseText <=> "objects" then -- not equals sign >> if the visible of field "Objects" is true then >> set the visible of field "Objects" to false >> end if >> end if >> end mouseMove > > you can save 8 lines, if you like ;-) > > on mouseMove > set the visible of fld "Objects" to (the mousetext = "Objects") > end mouemove I considered this as well but I wondered if there is a potential performance issue if this handler is constantly setting the vis of field "objects" to false. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From jperryl at ecs.fullerton.edu Fri May 28 16:22:23 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 28 May 2004 13:22:23 -0700 (PDT) Subject: mouseWithin vs. ??? w/mouseText In-Reply-To: Message-ID: Interesting thought! I hadn't really noticed a peformance issue on my machine (dual 800 MHz G4), but this brings up another question I have for PC Rev users: What do you consider the minimum acceptable machine specs for Rev creations? I ask this because on university roll-out machines (PII or PIII with 128 MB RAM), my Rev stack positively CRAWLED; in some instances, performance was similar to that which I experienced running my stack in XP under VPC emulation. In our Mac lab (single 800 MHz G4 I think? 128 MB RAM), on the other hand, performance was acceptable. Any thoughts? Judy On Fri, 28 May 2004, Scott Rossi wrote: > I considered this as well but I wondered if there is a potential performance > issue if this handler is constantly setting the vis of field "objects" to > false. From chipp at chipp.com Fri May 28 17:51:19 2004 From: chipp at chipp.com (Chipp Walters) Date: Fri, 28 May 2004 16:51:19 -0500 Subject: Credit Card In-Reply-To: <5DB043F0-B0DC-11D8-A6AF-000A95859272@earthlink.net> References: <5DB043F0-B0DC-11D8-A6AF-000A95859272@earthlink.net> Message-ID: <40B7B457.7020406@chipp.com> One way could be popping up a small browser window which was hooked into PayPal or your E-Commerce of choice. If you needed credit card swiping, I'm sure there's an existing activeX control out there which works with IE to do what you want. You can then close the browser when finished. -Chipp Mark Brownell wrote: > > On Friday, May 28, 2004, at 11:54 AM, tzvi wrote: > >>> You'll need to use SSL and an information transfer process that a >>> credit card company would be willing to let you connect into. Rev 2.2 >>> does not support SSL encryption at this time. You might start >>> searching for a bank that is willing to accept credit card purchases >>> like some kind of merchant account. > > >> So in other words your telling me that it is impossible ? Or with some >> kind of external it is ? > > > It would have to be because banks use openSSL and SSL Certificates: > see: http://www.verisign.com/products/site/index.html?sl=070302 > > & this: http://www.verisign.com/products/site/commerce/index.html > > That tends to leave a Rev solution out at this time. > > Mark > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jperryl at ecs.fullerton.edu Fri May 28 18:59:57 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 28 May 2004 15:59:57 -0700 (PDT) Subject: How to set modality within IDE In-Reply-To: Message-ID: Hi, After testing out my Rev Tour stack on a bunch of Master's Candidates in Reading (well, okay, 5 or 6 of them), it became apparent that they (and, presumably, other novice programmers) have problems with modality. That is to say, the Rev interface interferes with their ability to peruse the stack (for instance: the IDE defaults into edit mode and so I had to run around and reset it to browse mode). Sometimes they would accidentally get themselves back into editing mode and would be frustrated that clicking on things didn't do anything (or, at least not what they expected). So, here's my question: Is there a way to turn off the tools palette, etc. leaving only the menu bar visible via a script, and then turn them back on via script when it is time for them to "peek under the hood" at some button script? Thanks for all the help! Acknowledgements will be found in my thesis :-D Judy From jperryl at ecs.fullerton.edu Fri May 28 19:04:26 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 28 May 2004 16:04:26 -0700 (PDT) Subject: Can Rev get corrupted? In-Reply-To: Message-ID: Rev's getting wonky on me. I think I recall that the Home stack in Hypercard could become corrupted. Can Rev become corrupted? I ask because a perfectly usable stack a day ago now crashes whenever I try to open the animation builder/manager. I have just had to force-quit it twice in the space of 3 minutes. :-( Judy From jperryl at ecs.fullerton.edu Fri May 28 19:08:54 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 28 May 2004 16:08:54 -0700 (PDT) Subject: 1 is not an integer??? In-Reply-To: Message-ID: Exact error message from running a script that executes wait 12 secs do something wait 1 sec do something wait 15 ticks do something wait 1 sec -- but here it chokes claiming 1 is not an integer. No, it's not the letter "l". ???????????????? Getting wonkier all the time... Judy From briany at qldlearning.com Fri May 28 19:46:30 2004 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 28 May 2004 19:46:30 -0400 Subject: 1 is not an integer??? In-Reply-To: Message-ID: <3E770F93-B101-11D8-9384-000393AA08D2@qldlearning.com> Judy, Most likely it's the error message itself which is in error- I would take a look at any other code you added just before you started getting the error message, in particular the last "do something"... HTH... > Exact error message from running a script that executes > > wait 12 secs > do something > wait 1 sec > do something > wait 15 ticks > do something > wait 1 sec -- but here it chokes claiming 1 is not an integer. > > No, it's not the letter "l". > > ???????????????? > > Getting wonkier all the time... From jperryl at ecs.fullerton.edu Fri May 28 19:48:51 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 28 May 2004 16:48:51 -0700 (PDT) Subject: 1 is not an integer??? In-Reply-To: <3E770F93-B101-11D8-9384-000393AA08D2@qldlearning.com> Message-ID: Thanks, Brian, but it's really a plain-vanilla show or hide some field which I've checked does exist at with the name specified in the script. I tried watching the Message Watcher for the crashing animation builder and it looks like it hangs about 5 seconds after launching it. I can launch it elsewhere in the stack but not on that card. Is there a way to find out what animations have been created for the stack? TIA, Judy On Fri, 28 May 2004, Brian Yennie wrote: > Judy, > > Most likely it's the error message itself which is in error- I would > take a look at any other code you added just before you started getting > the error message, in particular the last "do something"... > > HTH... > > > Exact error message from running a script that executes > > > > wait 12 secs > > do something > > wait 1 sec > > do something > > wait 15 ticks > > do something > > wait 1 sec -- but here it chokes claiming 1 is not an integer. > > > > No, it's not the letter "l". > > > > ???????????????? > > > > Getting wonkier all the time... > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Fri May 28 21:53:16 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 29 May 2004 11:23:16 +0930 Subject: IDE Interference (not just a another rant) In-Reply-To: <8F3D4682-B0BD-11D8-9384-000393AA08D2@qldlearning.com> Message-ID: I missed your post to me somehow so am responding to what I can see in Brian's messaage. >> Monte, I saw that MC was also afflicted with thi issue. But IMOHO the >> Rev >> messaging >> should not interfere with applications in development - As I developped >> XOS, I used >> extensively the HC messaging to intercept all stack events from the >> hierarchy top - >> much like frontscritps would and will soon - the key point was not to >> interfere with other >> stacks and this required particular checks everywhere... I don't understand what you mean by "interfere"??? It's not the IDE stacks that interfere with your stack it's the engine sending your stack a valid message that is quite useful in a number of contexts. It's your stack that is handling the message and doing something slow with it. >> In a multicard environment, a single card script would not sufice - if >> I >> read you right... >> That's why it was in the stack script. Note that there is an advantage >> in >> this feature... >> It simulates the HC saving which was part of its robustness... No, you either don't read me right or don't understand the message path implemented in the engine. A message sent to a card if not handled will eventually make it's way to the stack where you can handle it. If you check the documentation you will note that the suspendStack message is also sent to the current card of the topStack. >> >> The problem was: >> - saving over the network is 100 times slower... Your problem not Revolution's. If you don't understand why saving from RAM to disk on a local drive is slower than RAM to disk on network storage then I'm sure there's plenty of books and websites that will explain it out there. >> - choosing a tool or changing a property sent a save which I forgot was >> there causing these freezes... Hmm... moving to another stack in the IDE does not send a save. It sends a suspendStack message (and a resumeStack message). Your code sent the save. Cheers Monte From jacque at hyperactivesw.com Fri May 28 22:43:30 2004 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 28 May 2004 21:43:30 -0500 Subject: 1 is not an integer??? In-Reply-To: References: Message-ID: <40B7F8D2.3080700@hyperactivesw.com> On 5/28/04 6:48 PM, Judy Perry wrote: > Thanks, Brian, > > but it's really a plain-vanilla show or hide some field which I've checked > does exist at with the name specified in the script. Try triggering the error twice in a row without doing anything else in between except dismissing the error dialog. Does the error report change? If so, you've hit the erroneous error message bug again. The second error message should be the right one. This error, as I understand it, has been fixed for the next release. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From b.xavier at internet.lu Fri May 28 23:17:05 2004 From: b.xavier at internet.lu (MisterX) Date: Sat, 29 May 2004 05:17:05 +0200 Subject: IDE Interference - the bottom line (that's it!) In-Reply-To: <8F3D4682-B0BD-11D8-9384-000393AA08D2@qldlearning.com> Message-ID: Brian, Dont get me wrong. I think you have... First I want to say that even though my tone is not apparently RR friendly, im only trying to point out the obvious in a rudimentary way... Im not upset or raving to get RR aknowledge a bug, just trying to point out a flaw in design within the IDE and seeing if others have seen this and why it's there. Thanks to Jan and Richard, the solution is apparent. Yet the error will come back im sure... Im particularly affected (note I haven't entered a bugzilla!) because 1) I rely on these stack-script-level events "extensively"; 2) my environment usually works within stack events to interact with other stacks; 3) Im editing and working in the IDE for the most part; 4) MC is also affected yet hadn't noticed for the past 4 years until our company decided to do some serious and relatively unnessarry network segregation (IOW it's hell planned the wrong way!) As Richard pointed out, I will have to work with frontscripts... innevitability? more below... > Xavier, > > > Monte, I saw that MC was also afflicted with thi issue. But IMOHO the > > Rev > > messaging > > should not interfere with applications in development - As I developped > > XOS, I used > > extensively the HC messaging to intercept all stack events from the > > hierarchy top - > > much like frontscritps would and will soon - the key point was not to > > interfere with other > > stacks and this required particular checks everywhere... > > If MC is afflicted, then how is Rev messaging the problem? You mean the > engine messaging you don't like? Comparing HC on save issues is really > apples and oranges, although I don't know if it would be very happy > either running off of a slow network disk. I used to run HC on diskettes... And here we have a FAST network, all copper gigabit (about 4 GB/hour avg transfer times)... I still can't explain why it takes 30 seconds to save a 1 meg stack. Could be the AV or FW, its hard to say... It sure is excrutiatingly slow... But its not the net. When I copy data from elsewehere, it's quite zippy. Now about the events, logical assumption is that the IDE event model should not interfere with the application in development events. This is why RR has a secondary event level usually named rev[eventname]. But as Jan mentioned, palettes are stacks. What I didn't expect is that a palette, let alone the tool palette would cause a suspend stack. > > In a multicard environment, a single card script would not sufice - if > > I > > read you right... > > That's why it was in the stack script. Note that there is an advantage > > in > > this feature... > > It simulates the HC saving which was part of its robustness... > > > > The problem was: > > - saving over the network is 100 times slower... > > - choosing a tool or changing a property sent a save which I forgot was > > there causing these freezes... > > It sounds to me like what we should really be doing is having a to the > point discussion of the crashes, not the saving mechanism. > > What do you expect Rev to do... speed up your network? If you're going > to write an auto-save handler that kicks in every time you click > around, and you're saving to a slow network volume, well... If RR could speed up our network, EMC, Cisco and HP would be out of business! I hope they find out how ;) Again I didn't expect that changing an object property or picking the button tool would engender a suspendstack event... This was a left over message I forgot about... The bottom line is that through this "experience" we have seen two things: 1 - your stacks should be protected from IDE events IF and ONLY IF you decide to use the stack messaging system as an event trigger - which in the case of a standalone app is futile but in the case of a running system based on the IDE causes HAVOC. Im testing RR in our production environment and this issue has proven counter productive (dont you like Tuvoc talk?). > Can you not write to the local volume at all? If you can, how about > auto-saving to the local volume and then periodically uploading to the > network instead of writing your whole stack to the network on every > other click? Nice assumption but I need these programs from anywhere in the network including in different network segments with Firewalls in between... More RR saving testing to be done next week... X > - Brian > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From marty at vertex.ucls.uchicago.edu Fri May 28 23:05:41 2004 From: marty at vertex.ucls.uchicago.edu (Marty Billingsley) Date: Fri, 28 May 2004 22:05:41 -0500 (CDT) Subject: Can Rev get corrupted? In-Reply-To: <20040529015153.9E6589300F0@mail.runrev.com> References: <20040529015153.9E6589300F0@mail.runrev.com> Message-ID: >Judy Perry asks > >Rev's getting wonky on me. > >I think I recall that the Home stack in Hypercard could become corrupted. >Can Rev become corrupted? > >I ask because a perfectly usable stack a day ago now crashes whenever I >try to open the animation builder/manager. > >I have just had to force-quit it twice in the space of 3 minutes. We've had trouble with stacks getting corrupted when saved to a file server by a user who is over his/her quota. We're using xinet to emulate a Mac server on a unix box, and so are able to implement things like quotas for the file server. All well and good until the user gets over the quota, opens a RunRev file, makes changes and saves it. No complaint from RunRev or the OS, but the file gets corrupted and pretty much irrecoverable. Don't know if this is connected to your problem, but perhaps this will help shed light. best, - marty -- Marty Billingsley (marty at ucls.uchicago.edu) The University of Chicago Laboratory Schools From monte at sweattechnologies.com Fri May 28 23:25:38 2004 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 29 May 2004 12:55:38 +0930 Subject: IDE Interference - the bottom line (that's it!) In-Reply-To: Message-ID: >Again I didn't expect that changing an object property or picking >the button >tool >would engender a suspendstack event... This was a left over >message I forgot >about... I think the point that people are trying to get through is that if you read the documentation on suspendStack you would have expected this. Cheers Monte From jperryl at ecs.fullerton.edu Fri May 28 23:32:25 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 28 May 2004 20:32:25 -0700 (PDT) Subject: 1 is not an integer??? In-Reply-To: <40B7F8D2.3080700@hyperactivesw.com> Message-ID: Yes, I triggered it twice and the error did change; the third trigger sent me back to a bad integer and so forth. Thanks to all for reassuring my sanity @;-) Judy On Fri, 28 May 2004, J. Landman Gay wrote: > Try triggering the error twice in a row without doing anything else in > between except dismissing the error dialog. Does the error report > change? If so, you've hit the erroneous error message bug again. The > second error message should be the right one. > > This error, as I understand it, has been fixed for the next release. :) From shaosean at unitz.ca Fri May 28 23:41:49 2004 From: shaosean at unitz.ca (shaosean at unitz.ca) Date: Fri, 28 May 2004 23:41:49 -0400 Subject: IDE Interference (not just a another rant) In-Reply-To: <20040528073934.46093.qmail@web60506.mail.yahoo.com> References: <20040528073934.46093.qmail@web60506.mail.yahoo.com> Message-ID: why not just check to see if you're in the dev environment or not?? if (the environment is not "development") then doMySaveStuff end if -Sean From dvk at dvkconsult.com.au Sat May 29 00:14:50 2004 From: dvk at dvkconsult.com.au (David Vaughan) Date: Sat, 29 May 2004 14:14:50 +1000 Subject: 1 is not an integer??? In-Reply-To: <20040529015153.4DD919300EB@mail.runrev.com> References: <20040529015153.4DD919300EB@mail.runrev.com> Message-ID: Judy It is easily proven that the problem is in your "do something"s rather than interpretation of the waits or integers, by changing each "do" to "put ", or, if you like, you can "do" the "put". Since I do not know what what your "do"s do, I can not help further here. regards David On 29/05/2004, at 11:51, use-revolution-request at lists.runrev.com wrote: > From: Judy Perry > Date: 29 May 2004 9:08:54 GMT+10:00 > To: How to use Revolution > Subject: 1 is not an integer??? > Reply-To: How to use Revolution > > > Exact error message from running a script that executes > > wait 12 secs > do something > wait 1 sec > do something > wait 15 ticks > do something > wait 1 sec -- but here it chokes claiming 1 is not an integer. > > No, it's not the letter "l". > > ???????????????? > > Getting wonkier all the time... > > Judy From mwieder at ahsoftware.net Sat May 29 01:14:30 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 28 May 2004 22:14:30 -0700 Subject: getting a CD drive under Windows In-Reply-To: <000001c444d0$6b9c2ca0$64fea8c0@chris1> References: <000001c444d0$6b9c2ca0$64fea8c0@chris1> Message-ID: <14547362433.20040528221430@ahsoftware.net> Chris- Friday, May 28, 2004, 9:25:31 AM, you wrote: CS> I know I can use the Volumes() function to get a list of available drives, CS> but how can I determine which drives are actually CD-ROM drives? Well, there are two "standard" ways to do this, neither of which can be done natively from runrev. The first is to call the WinAPI function GetDriveType(). If the result is DRIVE_CDROM then you've found your drive, otherwise check the next drive. This would be straightforward to code as an external. The second way is to look at HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices\ in the registry, take only the keys that start with \DosDevices\, and work your way through those. Unfortunately, the runrev queryRegistry() function doesn't work that way - you have to give it a fully qualified keypath and can't enumerate through the possibilities. The registry trick also has the drawback of possibly not working across all Win versions. I haven't looked at them all, so I don't know for sure. It does work on our Win2k systems here. In short, I think you're stuck with a bit of C coding in an external dll. -- -Mark Wieder mwieder at ahsoftware.net From briany at qldlearning.com Sat May 29 01:27:34 2004 From: briany at qldlearning.com (Brian Yennie) Date: Sat, 29 May 2004 01:27:34 -0400 Subject: IDE Interference - the bottom line (that's it!) In-Reply-To: Message-ID: > First I want to say that even though my tone is not apparently RR > friendly, > im only trying to point out the obvious in a rudimentary way... Im not > upset > or raving to get RR aknowledge a bug, just trying to point out a flaw > in > design within the IDE and seeing if others have seen this and why it's > there. Thanks to Jan and Richard, the solution is apparent. Yet the > error > will come back im sure... > Well if you know your tone is not Rev friendly, but I digress... I hope nobody's actually upset- I'm not. Perplexed, but certainly not upset =). > Im particularly affected (note I haven't entered a bugzilla!) because > 1) I > rely on these stack-script-level events "extensively"; 2) my > environment > usually works within stack events to interact with other stacks; 3) Im > editing and working in the IDE for the most part; 4) MC is also > affected yet > hadn't noticed for the past 4 years until our company decided to do > some > serious and relatively unnessarry network segregation (IOW it's hell > planned > the wrong way!) I still don't see the bug. suspendstack is well defined, and you point out MC has been that way for those 4 years (and more). It's not an IDE message, it's an engine one- and it's working properly. It's probably just the wrong message to use as a save stack trigger. > I used to run HC on diskettes... And here we have a FAST network, all > copper gigabit (about 4 GB/hour avg transfer times)... I still can't > explain why it takes 30 seconds to save a 1 meg stack. Could be the > AV or FW, its hard to say... It sure is excrutiatingly slow... > But its not the net. When I copy data from elsewehere, it's quite > zippy. Copying files and saving an open file from memory to disk are different operations. That why I suggest saving to the local disk and _then_ copying that file to the network volume, perhaps in the background of ever so many saves. > Now about the events, logical assumption is that the IDE event model > should not interfere with the application in development events. This > is why RR has a secondary event level usually named rev[eventname]. Wouldn't it be worse if suspendStack stopped working as documented whenever the IDE was present, because the IDE stacks were specially excluded from the rules? What if your stack needed the actual documented behavior- you'd be at a loss to have anything work right without first suspending the development tools. > But as Jan mentioned, palettes are stacks. > > What I didn't expect is that a palette, let alone the tool palette > would > cause a suspend stack. Fair enough- but it's not a bug, it's documented chosen behavior. > If RR could speed up our network, EMC, Cisco and HP would be out of > business! > > I hope they find out how ;) > > Again I didn't expect that changing an object property or picking the > button > tool > would engender a suspendstack event... This was a left over message I > forgot > about... Understandable, but hardly a Rev problem- see above. > The bottom line is that through this "experience" we have seen two > things: > 1 - your stacks should be protected from IDE events IF and ONLY IF you > decide to use > the stack messaging system as an event trigger - which in the case of a > standalone app is futile but in the case of a running system based on > the > IDE causes HAVOC. Im testing RR in our production environment and this > issue > has proven counter productive (dont you like Tuvoc talk?). So the IDE should dynamically suppress engine messages based on which ones your stack might be using, just in case you didn't want your stack to interact with other stacks if they are part of the IDE? Sounds pretty messy to me... > Nice assumption but I need these programs from anywhere in the network > including in different network segments with Firewalls in between... > More RR > saving testing to be done next week... Right- but the point wasn't to only save them locally, it was to make local saves more frequently and then copy those files to the network volume- if copying files is actually much faster than saving directly to the network as you described above, this might help. Surely it's ok for a few minutes of work to be cached locally, and you could even run the copying to the network in the background while you continue working by using shell() to do the copying. - Brian From jcwall at jaguar1.usouthal.edu Sat May 29 03:21:27 2004 From: jcwall at jaguar1.usouthal.edu (jcwall at jaguar1.usouthal.edu) Date: Sat, 29 May 2004 10:21:27 +0300 Subject: curious behavior... Message-ID: <16b1dd168b3e.168b3e16b1dd@jaguar1.usouthal.edu> Slightly off topic but to do with numberFormat. I have had some difficulties with this property which I have managed to get around. I needed to do some calculations and enter the result in a field limiting the number to two decimal places. Set the numberFormat to "0.00" works as documented. My difficulty came when I needed to do calculations within a repeat loop e.g. set the numberFormat to "0.00" put 1 into i repeat 3 put "ETGUG" & i into x add fld x to fld "Answer" add 1 to i end repeat Because of the numberFormat instead of x being ETGUG1 as I had hoped because that is the name of the field thet I wanted, it becomes ETGUG1.00 and since there is no field ETGUG1.00 the script fails. As I said, I have managed to solve the problem by constantly changing the numberFormat property so this is not a pressing issue. However, it was messy and I thought that if it were possible to set the number format of the field this would simplify the process. I tried set the numberForma t of fld "ETGUG1" but, as documented, this does not work. Does anyone know if there is some way to accomplish this? Jim Wall ----- Original Message ----- From: Chipp Walters Date: Friday, May 28, 2004 3:19 pm Subject: curious behavior... > I'm trying to programatically set the numberFormat property. > > on mouseUp > repeat 4 times > put "#" after t > end repeat > put "set the numberFormat to " "e& t "e into tDo > do tDo > put 5+1 > end mouseUp > > puts just "6" in the msg > > now if I try: > > on mouseUp > set the numberFormat to "####" > put 5+1 > end mouseUp > > It puts the expected "0006" > > Any ideas why?? > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From nrkweto03 at hotmail.com Sat May 29 04:12:14 2004 From: nrkweto03 at hotmail.com (kweto) Date: Sat, 29 May 2004 17:12:14 +0900 Subject: how to set font of ask/answer dialogues References: <20040529015153.CD4939300F4@mail.runrev.com> Message-ID: For my Japanese-speaking users, how do I set the fonts of a stack's ask/answer dialogues? In MC, I seem to recall that these dialogue windows were actually MC stacks, and therefore modifiable. But I can't find something similar to those stacks in RunRev. Thank you. -- Nicolas Cueto niconiko language school From b.xavier at internet.lu Sat May 29 05:51:59 2004 From: b.xavier at internet.lu (MisterX) Date: Sat, 29 May 2004 11:51:59 +0200 Subject: Menu shortcuts not working In-Reply-To: Message-ID: Hi everyone, X's daily rant again ;)) Menu shortcuts dont work for me on windows and before putting in a bugzilla (coz I didn't find a similar item) I wanted to know if others have had this problem or not... On windows, it seems that the topstack will prevent regular IDE menu shortcuts from working! I dont know if it is the case on Macs or unix... Examples are Copy paste shortcuts (with classic C or V and/or shift-ins) in the message box has to be done a few times before it works... Copy paste in general (script editor, fields, etc...) Control-M to call the message box doesn't always work... In the help stacks you are forced to use the revMenu to selected copy text... - Possible causes are because my stack already has an edit menu (which I think is normal GUI standards) - My stack doesn't use M as a command and no other button uses that as the accelerator key... Is there a rule for menu usage to avoid this type of conflicts? I found nothing related to it in the help... And Im not saying how often this basic OS feature is used... Bug will be posted tomorow anyway... TIA, cheers Xavier From janschenkel at yahoo.com Sat May 29 05:43:49 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat, 29 May 2004 02:43:49 -0700 (PDT) Subject: curious behavior... In-Reply-To: <16b1dd168b3e.168b3e16b1dd@jaguar1.usouthal.edu> Message-ID: <20040529094349.84459.qmail@web60508.mail.yahoo.com> --- jcwall at jaguar1.usouthal.edu wrote: > Slightly off topic but to do with numberFormat. > > I have had some difficulties with this property > which I have managed to get around. I needed to do > some calculations and enter the result in a field > limiting the number to two decimal places. Set the > numberFormat to "0.00" works as documented. My > difficulty came when I needed to do calculations > within a repeat loop e.g. > > set the numberFormat to "0.00" > put 1 into i > repeat 3 > put "ETGUG" & i into x > add fld x to fld "Answer" > add 1 to i > end repeat > > Because of the numberFormat instead of x being > ETGUG1 as I had hoped because that is the name of > the field thet I wanted, it becomes ETGUG1.00 and > since there is no field ETGUG1.00 the script fails. > As I said, I have managed to solve the problem by > constantly changing the numberFormat property so > this is not a pressing issue. However, it was messy > and I thought that if it were possible to set the > number format of the field this would simplify the > process. I tried set the numberForma > t of fld "ETGUG1" but, as documented, this does not > work. Does anyone know if there is some way to > accomplish this? > > Jim Wall > Hi Jim, I usually do all calculations before applying any formatting ; and then I use the format() function ; in this case : -- put 1 into i repeat 3 put "ETGUG" & i into x add fld x to tAnswer add 1 to i end repeat put format(tAnswer,"%.2f") into field "Answer" -- Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From livfoss at blueyonder.co.uk Sat May 29 05:47:33 2004 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Sat, 29 May 2004 11:47:33 +0200 Subject: Application Icons in Mac classic Message-ID: <6.1.0.6.2.20040529095015.01da28c0@pop3.blueyonder.co.uk> On Fri, 28 May 2004 10:44:25 -0700, Mark Brownell wrote: >No need to do all this. I have it working now. The trick is to assign >an Icon at the time of building your standalone Mac Classic app, then >open that app in ResEdit. > >1.) Find the item "RSTK" and delete it. > >2.) Change both 128 & 129 Icons to the ones you want. > >3.) Open the "FREF" item. > >4.) Click on 128. > a.) it should read File Type "APPL" > b.) Icon Local ID = "0" > >5.) Click on 129. > a.) if it reads File Type "RSTK" > b.) change it to read File Type "Your four letter code here" > c.) Icon Local ID = "1" > >6.) Click on 130. > a.) it should read File Type "Your four letter code here" > b.) Icon Local ID = "0" > c.) change this to Icon Local ID = "1" > >7.) Rebuild the desktop. > >Note: Local ID = "0" is the app (128) > Local ID = "1" is your files (129) I haven't been following this conversation, but does this mean that I can't offer an installation process to a user of Classic mode without telling the user to rebuild the desktop? Can I appleScript it so as to avoid getting the user to do this step (I still know nothing about AS, to my shame)? TIA Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From graham.samuel at blueyonder.co.uk Sat May 29 05:50:15 2004 From: graham.samuel at blueyonder.co.uk (Graham Samuel) Date: Sat, 29 May 2004 11:50:15 +0200 Subject: 1 is not an integer??? Message-ID: <6.1.0.6.2.20040529114429.01da1f90@pop3.blueyonder.co.uk> On Fri, 28 May 2004 16:08:54 -0700 (PDT), Judy Perry wrote: >[snip] > >Getting wonkier all the time... Judy, just a thought - do you think any of the images you're using (GIFs and such) might be corrupt in your stack? A corrupt image can still display but can cause a crash on Windows versions earlier than XP, as I recently found out to my cost. In fact RunRev support found it out for me... when I deleted the image and replaced it with a fresh copy the whole problem went away. Probably not the explanation, but you never know. Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From klaus at major-k.de Sat May 29 06:09:33 2004 From: klaus at major-k.de (Klaus Major) Date: Sat, 29 May 2004 12:09:33 +0200 Subject: how to set font of ask/answer dialogues In-Reply-To: References: <20040529015153.CD4939300F4@mail.runrev.com> Message-ID: <486C0C02-B158-11D8-BCE0-000A27B49A96@major-k.de> Konichi-wa kweto-san, > For my Japanese-speaking users, how do I set the fonts of a stack's > ask/answer dialogues? In MC, I seem to recall that these dialogue > windows > were actually MC stacks, and therefore modifiable. But I can't find > something similar to those stacks in RunRev. It is exactly the same as in MC... Open the "Application Browser" (select "Rev UI Elements in lists" in the "View" Menu), and find these substacks in the "home" stack, ready to be modified... But i am not sure if there are Rev front- or backscripts that might override the new settings... > Thank you. > > -- > Nicolas Cueto > niconiko language school Sayonara :-) Regards Klaus Major klaus at major-k.de http://www.major-k.de From martin at materiaprima.fsnet.co.uk Sat May 29 06:02:18 2004 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Sat, 29 May 2004 11:02:18 +0100 Subject: Menu shortcuts not working In-Reply-To: References: Message-ID: Xavier, You don't mention the tool selection in your problem report, but as you probably already know, if the browse tool is selected your stack's menu shortcuts should take precedence when it is the topstack in the IDE, so what you describe could be correct behaviour. On the other hand if the pointer tool is current, the RR menus shoud take precedence, if they don't something is up. Having said that, there are a number of bugs relating to menu shortcuts in bugzilla and flavours of MacOS. I can't remember their id's offhand I'm afraid. I posted about non-working menu shortcuts to this list a few days ago, but no-one had any comment to make about it. My problem is a bit different from yours (I think) in that menu shortcuts in my own stacks don't work at all on Linux, and don't work in windowsXP unless I set the menubar property (which the documentation suggests is not relevant except on mac - um). I didn't post to bugzilla because I don't have a recipe and AFAIK the problem is either unique to me (i.e. I broke something) or intermittent. In the bugzilla entries, people have suggested re-installing RR (which I haven't tried) and/or resetting the preferences (which didn't work for me, but might for you). HTH Martin >Hi everyone, > >X's daily rant again ;)) > >Menu shortcuts dont work for me on windows and before putting in a bugzilla >(coz I didn't find a similar item) >I wanted to know if others have had this problem or not... > >On windows, it seems that the topstack will prevent regular IDE menu >shortcuts from working! I dont know if it is the case on Macs or unix... > >Examples are >Copy paste shortcuts (with classic C or V and/or shift-ins) in the message >box has to be done a few times before it works... >Copy paste in general (script editor, fields, etc...) >Control-M to call the message box doesn't always work... >In the help stacks you are forced to use the revMenu to selected copy >text... > >- Possible causes are because my stack already has an edit menu (which I >think is normal GUI standards) >- My stack doesn't use M as a command and no other button uses that as the >accelerator key... > >Is there a rule for menu usage to avoid this type of conflicts? > I found nothing related to it in the help... And Im not saying how often >this basic OS feature is used... > >Bug will be posted tomorow anyway... > >TIA, cheers >Xavier From martin at materiaprima.fsnet.co.uk Sat May 29 06:10:10 2004 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Sat, 29 May 2004 11:10:10 +0100 Subject: Application Icons in Mac classic In-Reply-To: <6.1.0.6.2.20040529095015.01da28c0@pop3.blueyonder.co.uk> Message-ID: > >I haven't been following this conversation, but does this mean that I can't >offer an installation process to a user of Classic mode without telling the >user to rebuild the desktop? Can I appleScript it so as to avoid getting >the user to do this step (I still know nothing about AS, to my shame)? > >TIA > >Graham Graham, You shouldn't have to worry about this. Your user's Finder won't have any record of your application's creator code, and will therefore look inside your application's resource fork for the BNDL and FREF resources and add this data to its (invisible) database. On a development machine OTOH, your Finder typically knows about your files and application before you have got around to assigning application icon resources to it/them, hence the need 'force' it to update its database by rebuilding the desktop. HTH Martin From janschenkel at yahoo.com Sat May 29 06:43:23 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat, 29 May 2004 03:43:23 -0700 (PDT) Subject: how to set font of ask/answer dialogues In-Reply-To: Message-ID: <20040529104323.72371.qmail@web60507.mail.yahoo.com> --- kweto wrote: > For my Japanese-speaking users, how do I set the > fonts of a stack's > ask/answer dialogues? In MC, I seem to recall that > these dialogue windows > were actually MC stacks, and therefore modifiable. > But I can't find > something similar to those stacks in RunRev. > > Thank you. > > -- > Nicolas Cueto > niconiko language school > Hi Nicolas, You can adapt the built-in ask/answer dialogs ; they're hidden inside the invisible 'Home' stack. Turn on the optional 'Revolution UI items in lists' in the menu 'View', and hunt them down using the Appication Browser. However, it might be easier to pass htmlText to your ask/answer command ; try this : -- anwer the htmltext of field "MyField" -- You'll have to learn how to tinker the htmlText to get it right ; one thing is that you'll have to pass the font for each paragraph of text. The advantage is that this will survive upgrades and reinstalls. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From janschenkel at yahoo.com Sat May 29 06:47:34 2004 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat, 29 May 2004 03:47:34 -0700 (PDT) Subject: Application Icons in Mac classic In-Reply-To: <6.1.0.6.2.20040529095015.01da28c0@pop3.blueyonder.co.uk> Message-ID: <20040529104734.94694.qmail@web60502.mail.yahoo.com> --- Graham Samuel wrote: > I haven't been following this conversation, but does > this mean that I can't > offer an installation process to a user of Classic > mode without telling the > user to rebuild the desktop? Can I appleScript it so > as to avoid getting > the user to do this step (I still know nothing about > AS, to my shame)? > > TIA > > Graham > No you don't have to tell the uer to rebuild the desktop ; when you copy a file from a different volume onto your hard disk, or use an installer program, the desktop database is automatically updated. If all the bits have been properly set and all icons are present, the problem is merely that creating a new standalone doesn't tell the Finder to update the desktop. And before anyone claims this is a bug, no other IDE I know of does this ; but if you want to Bugzilla it, go on ahead and have Monte give it his best shot. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From jcwall at jaguar1.usouthal.edu Sat May 29 07:50:25 2004 From: jcwall at jaguar1.usouthal.edu (jcwall at jaguar1.usouthal.edu) Date: Sat, 29 May 2004 14:50:25 +0300 Subject: curious behavior... Message-ID: <16ad7a167c76.167c7616ad7a@jaguar1.usouthal.edu> Dear Jan, Thanks for the tip. It is certainly a lot simpler and far more elegant than my solution. I wonder how you would deal with a script that includes a repeat loop that does something like the following: put 1 into i repeat 3 put "ETGUG" & i into x put x into fld i of cd "Results" add 1 to i end repeat I will play with this and see what I come up with. Jim Wall > Hi Jim, > > I usually do all calculations before applying any > formatting ; and then I use the format() function ; in > this case : > -- > put 1 into i > repeat 3 > put "ETGUG" & i into x > add fld x to tAnswer > add 1 to i > end repeat > put format(tAnswer,"%.2f") into field "Answer" > -- > > Hope this helped, > > Jan Schenkel. > > ===== > "As we grow older, we grow both wiser and more foolish at the same > time." (La Rochefoucauld) > > > > > __________________________________ > Do you Yahoo!? > Friends. Fun. Try the all-new Yahoo! Messenger. > http://me ssenger.yahoo.com/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From gizmotron at earthlink.net Sat May 29 09:58:01 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat, 29 May 2004 06:58:01 -0700 Subject: Application Icons in Mac classic In-Reply-To: <6.1.0.6.2.20040529095015.01da28c0@pop3.blueyonder.co.uk> Message-ID: <329652DC-B178-11D8-83EF-000A95859272@earthlink.net> On Saturday, May 29, 2004, at 02:47 AM, Graham Samuel wrote: > I haven't been following this conversation, but does this mean that I > can't offer an installation process to a user of Classic mode without > telling the user to rebuild the desktop? Can I appleScript it so as to > avoid getting the user to do this step (I still know nothing about AS, > to my shame)? > > TIA > > Graham Graham, Standalone apps need a little tweaking before being packaged for distribution. ResEdit allows me to change the existing icon for my freshly built standalone apps to the ones I want the user to see. So if your users have an existing standalone app of yours with an older icon or improper icon I would think that they would have to rebuild the desktop after removing your old app and installing your new one. If on the other hand they are installing your app for the first time then it should work fine. At least that's the way I see it working. Unfortunately I'm working in a vacuum here and hove not seen a new first time install of my app on another Mac Classic box. You can test this for me if you want to. I just put up the Mac Classic version of the MTML browser, "Intuition." It might have some user privileges issues I need to debug but if you create a new file after running it for the first time it should allow you to see a file with the proper icons. The download file contains the app and two files. I'm debugging an issue I discovered involving MTML and image encapsulation that currently kicks out some DRM in the display. This should be fixed in a few days. I discovered that if you don't save images internally they don't travel with your packaged app if you originally linked to them externally. So anyone that downloaded my Intuition app a few months ago never saw the blue dot in the text field view window when highlighting and adding MTML references or HTML changes. If you want to see if the icons travel well on first installs on Mac Classic then go to this page and download the Mac Classic version on your (<= Mac 9.1) computer. http://www.gizmotron.org/intuition/download.html It would be comforting to know if these changed icons actually work as intended. There should be a red square icon with a blue dot, an "X" and "MTML" in the middle. Mark From rogerguay at centurytel.net Sat May 29 12:32:44 2004 From: rogerguay at centurytel.net (Roger Guay) Date: Sat, 29 May 2004 09:32:44 -0700 Subject: Couple of Nits In-Reply-To: <20040528065644.A34DA930109@mail.runrev.com> References: <20040528065644.A34DA930109@mail.runrev.com> Message-ID: Thanks Chipp, but this (toggling messages) doesn't work for my situation. This is really annoying . . . I'm pretty sure I solved this problem with the earlier version of Rev but I can't remember what I did. Surely there are others who are experiencing this problem?? Cheers , Roger On May 27, 2004, at 11:56 PM, use-revolution-request at lists.runrev.com wrote: > Hi Roger, > > Yep, I find the same problems with 2.2...bummer. It's pretty easy to > fix. When you encounter the problem just click on the revMenuBar > messages button to turn them off, then turn them back on, and > everything > should work as planned. > > best, > > Chipp > > Roger Guay wrote: > >> Hello List, >> >> I just loaded Rev 2.2 and a couple of annoying problems returned that >> I >> had fixed in the earlier version: One is that Cmd-M does not bring up >> the Message Box, and the other is that Cmd-Option gives me the Script >> Editor not only for control that the mouse is over (which I have >> elected >> for in Preference) but also for the Script Editor itself. I'm sorry I >> forgot how to fix these and promise I will write it down if someone >> will >> set me straight again!! >> >> Thanks, Roger From sanke at hrz.uni-kassel.de Sat May 29 12:40:54 2004 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Sat, 29 May 2004 18:40:54 +0200 Subject: how to set font of ask/answer dialogues Message-ID: <40B8BD16.8010909@hrz.uni-kassel.de> On Sat, 29 May 2004 "kweto" wrote: > For my Japanese-speaking users, how do I set the fonts of a stack's > ask/answer dialogues? In MC, I seem to recall that these dialogue windows > were actually MC stacks, and therefore modifiable. But I can't find > something similar to those stacks in RunRev. > > Thank you. > -- > Nicolas Cueto > niconiko language school Klaus Major answered: > It is exactly the same as in MC... > > Open the "Application Browser" (select "Rev UI Elements in lists" in > the "View" Menu), > and find these substacks in the "home" stack, ready to be modified... > > But i am not sure if there are Rev front- or backscripts that might > override the new settings... This time there are no such front- or backscripts that interfere, but there are 23 lines in the card script of the "answer dialog" that refer either to textfont or textsize. With the Metacard answer dialog - which you can use in Revolution, too - this was simple, you just put two extra lines into your script before using the "answer" command, like this "set the texfont of stack "answer dialog" to verdana set the textsize of stack "answer dialog" to 16 answer "whatever" with "this" or "that" ".- And Jan Schenkel answered: > However, it might be easier to pass htmlText to your > ask/answer command ; try this : > -- > anwer the htmltext of field "MyField" > -- > You'll have to learn how to tinker the htmlText to get > it right ; one thing is that you'll have to pass the > font for each paragraph of text. The problem with this approach is that you have first to put a text in your field "MyField" and set it to htmltext; if you tinkered that correctly the question or initial statement in the answer dialog will indeed show the new html properties, but not the *buttons* of the answer dialog ("OK" etc.).- For my own purposes I have modified the Rev answer and ask dialogs - see "Transparent Dialogs" in "user contributions" on the RunRev site - to be able - to set textfont and textsize (as mentioned for Metacard above) - to reduce the enormous widths of the Rev dialogs, that sometimes extend across the whole screen and beyond - to set the dialogs to any loc on the screen with a custom property "NewLoc" You can comment or delete the special "snapshot routine" in my scripts that creates a pseudo-transparency for the dialogs. To override the proper Rev dialogs make my dialogs substacks of your stack in question. One more recommendation if you should take a look at my stacks: Put my answer and ask dialog into a subfolder and open them from there before setting them as substacks; otherwise you might end up with the original Rev answer dialog as a substack. Hope this helps, too. Wilhelm Sanke From jperryl at ecs.fullerton.edu Sat May 29 13:51:34 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sat, 29 May 2004 10:51:34 -0700 (PDT) Subject: Menu shortcuts not working In-Reply-To: Message-ID: In spite of my many recent pleas for help, I've not had this particular problem under Mac OS X. Judy On Sat, 29 May 2004, MisterX wrote: > Menu shortcuts dont work for me on windows and before putting in a bugzilla > (coz I didn't find a similar item) > I wanted to know if others have had this problem or not... From jperryl at ecs.fullerton.edu Sat May 29 13:59:38 2004 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sat, 29 May 2004 10:59:38 -0700 (PDT) Subject: 1 is not an integer??? In-Reply-To: <6.1.0.6.2.20040529114429.01da1f90@pop3.blueyonder.co.uk> Message-ID: Thanks, Graham. I think maybe it was either the false error message bug OR related to my problem with launching the animation builder which I managed to avoid altogether. Voila! No more problem. Judy On Sat, 29 May 2004, Graham Samuel wrote: > Judy, just a thought - do you think any of the images you're using (GIFs > and such) might be corrupt in your stack? A corrupt image can still display > but can cause a crash on Windows versions earlier than XP, as I recently > found out to my cost. In fact RunRev support found it out for me... when I > deleted the image and replaced it with a fresh copy the whole problem went > away. > > Probably not the explanation, but you never know. From livfoss at blueyonder.co.uk Sat May 29 18:47:11 2004 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Sat, 29 May 2004 23:47:11 +0100 Subject: Application Icons in Mac classic Message-ID: On Sat, 29 May 2004 06:58:01 -0700, Mark Brownell wrote: >[big snip] >If you want to see if the icons travel well on first installs on Mac >Classic then go to this page and download the Mac Classic version on >your (<= Mac 9.1) computer. > >http://www.gizmotron.org/intuition/download.html > >It would be comforting to know if these changed icons actually work as >intended. There should be a red square icon with a blue dot, an "X" and >"MTML" in the middle. Hi Mark I did the download to my Mac running MacOS 9.2.2 - I can't go further back than this, so if you really want <=9.1 I may not have proved your case. But anyway yes, it all appeared (and worked) as expected: I simply downloaded the .sit file, expanded it, opened the folder and voila! there were the icons. I had no trouble opening the app or using it (in a very superficial way so far, I have to admit), or indeed double-clicking on one of its documents and starting it that way (which shows AFAIUI that the desktop database is doing its stuff). Thanks for all your help and reassurance on this subject, and thanks to all others who replied to my query. Nearly all my own Classic users will be installing for the first time, so I won't have to take any special measures for rebuilding the desktop. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From ambassador at fourthworld.com Sat May 29 19:02:52 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 29 May 2004 16:02:52 -0700 Subject: IDE Interference - the bottom line (that's it!) In-Reply-To: References: Message-ID: <40B9169C.7000604@fourthworld.com> MisterX wrote: > First I want to say that even though my tone is not apparently RR friendly, > im only trying to point out the obvious in a rudimentary way... Im not upset > or raving to get RR aknowledge a bug, just trying to point out a flaw in > design within the IDE and seeing if others have seen this and why it's > there. Thanks to Jan and Richard, the solution is apparent. Yet the error > will come back im sure... If what we wrote was apparent, you would understand that it's not an error. By all descriptions the suspendStack stack message is behaving exactly as documented. SuspendStack is a message from the engine, not the IDE, and appears by all accounts to be working flawlessly. Please review this thread in the archives, and check your premise. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From chipp at chipp.com Sun May 30 00:51:07 2004 From: chipp at chipp.com (Chipp Walters) Date: Sat, 29 May 2004 23:51:07 -0500 Subject: how to set font of ask/answer dialogues In-Reply-To: <40B8BD16.8010909@hrz.uni-kassel.de> References: <40B8BD16.8010909@hrz.uni-kassel.de> Message-ID: <40B9683B.8060103@chipp.com> Thanks Wilhelm for this. I'm looking forward to DL'ing your ask/answer stacks :-) -Chipp Wilhelm Sanke wrote: > For my own purposes I have modified the Rev answer and ask dialogs - see > "Transparent Dialogs" in "user contributions" on the RunRev site - to be > able > > - to set textfont and textsize (as mentioned for Metacard above) > - to reduce the enormous widths of the Rev dialogs, that sometimes > extend across the whole screen and beyond > - to set the dialogs to any loc on the screen with a custom property > "NewLoc" > > You can comment or delete the special "snapshot routine" in my scripts > that creates a pseudo-transparency for the dialogs. > > To override the proper Rev dialogs make my dialogs substacks of your > stack in question. > > One more recommendation if you should take a look at my stacks: Put my > answer and ask dialog into a subfolder and open them from there before > setting them as substacks; otherwise you might end up with the original > Rev answer dialog as a substack. > > Hope this helps, too. > > Wilhelm Sanke From capellan2000 at yahoo.com Sun May 30 01:33:29 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 29 May 2004 22:33:29 -0700 (PDT) Subject: working with binary numbers with bitwise operators In-Reply-To: <20040529160006.2CA5A930110@mail.runrev.com> Message-ID: <20040530053329.11084.qmail@web40503.mail.yahoo.com> Hi Developers, I've been working with bitwise operators in binary numbers of 48 bits like this: "010011001100001110101010101101100101110111010101" and noticed the following: If i convert this 48 bit binary number in decimal then i get a negative number: put baseconvert (010011001100001110101010101101100101110111010101,2,10) results in -2864078293 and i've noticed that the function "bitnot" produces this result: put bitnot 35 produces 4294967260 put bitnot 52 produces 4294967243 Are these the expected results? There's no left and right bitshift operators in RR/MC so i'm using this function: Function bitshiftleft binarynumber,numberofbytestoshift put the number of chars of binarynumber into binlength repeat numberofbytestoshift put "0" after binarynumber end repeat delete char 1 to numberofbytestoshift of binarynumber return binarynumber end bitshiftleft Function bitshiftright binarynumber,bytestoshift put the number of chars of binarynumber into binlength repeat bytestoshift put "0" before binarynumber end repeat delete char -(bytestoshift) to -1 of binarynumber return binarynumber end bitshiftright The operators bitor, bitand, bitxor works as expected, but i'm not fully aware of all it's features or limitations. If you had worked before with binary numbers and bitwise operators, i'll be highly gratefull of your help. Thanks in advance! al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From dsc at swcp.com Sun May 30 02:16:26 2004 From: dsc at swcp.com (Dar Scott) Date: Sun, 30 May 2004 00:16:26 -0600 Subject: working with binary numbers with bitwise operators In-Reply-To: <20040530053329.11084.qmail@web40503.mail.yahoo.com> Message-ID: On Saturday, May 29, 2004, at 11:33 PM, Alejandro Tejada wrote: > If i convert this 48 bit binary number in decimal > then i get a negative number: > > put baseconvert > (010011001100001110101010101101100101110111010101,2,10) > > results in > -2864078293 There may be two factors here. Bugzilla 38 describes a problem in base conversions to base 10. The baseconvert() function uses a 32 bit environment. > > and i've noticed that the function "bitnot" produces > this result: > > put bitnot 35 produces 4294967260 > put bitnot 52 produces 4294967243 The bit-logical operators use a 32-bit environment. If you need more than 32 bits you might need to build up multiple 32-bit numbers or (as you did for shifting) use strings of 0 and 1. If you need to use bit shifting (and rotating) with the bit logical operators, you might want to make the number version. Dar Scott From eudio at chabashira.co.jp Sun May 30 10:26:15 2004 From: eudio at chabashira.co.jp (UDI) Date: Sun, 30 May 2004 23:26:15 +0900 Subject: noteEditor for makeSMF Message-ID: <20040530142616.4904@mail.chabashira.co.jp> This is beta version. It have some bugs yet. http://homepage.mac.com/udi/temp/noteEditorRRb1.ZIP UDI eudio at chabashira.co.jp http://homepage.mac.com/udi/ From gizmotron at earthlink.net Sun May 30 11:25:33 2004 From: gizmotron at earthlink.net (Mark Brownell) Date: Sun, 30 May 2004 08:25:33 -0700 Subject: noteEditor for makeSMF In-Reply-To: <20040530142616.4904@mail.chabashira.co.jp> Message-ID: <97C4BC5E-B24D-11D8-AC4A-000A95859272@earthlink.net> On Sunday, May 30, 2004, at 07:26 AM, UDI wrote: > This is beta version. It have some bugs yet. > > http://homepage.mac.com/udi/temp/noteEditorRRb1.ZIP > > UDI > eudio at chabashira.co.jp Nice work. Sounds great on my Mac X. Mark From laguer at ucs.orst.edu Sun May 30 14:50:08 2004 From: laguer at ucs.orst.edu (Rich Lague) Date: Sun, 30 May 2004 11:50:08 -0700 Subject: answer buttons incorporating a varible In-Reply-To: <40B9683B.8060103@chipp.com> Message-ID: <2C06D2D4-B26A-11D8-BFA1-000393BAAB8A@ucs.orst.edu> I'm trying to get the answer command to give a button with quoted text and a variable in it. The following script results in 4 buttons: "What's your pleasure?", "new eval of another product", "Evaluate" and "someProduct". on makeChoices put "someProduct" into tProduct answer "What's your pleasure?" with "new eval of another product"\ or "open old evaluation" or "Evaluate" && tProduct end makeChoices I want 3 buttons with the last button reading "Evaluate someProduct". I have also tried it like this: on makeChoices put "someProduct" into tProduct answer "What's your pleasure?" with "new eval of another product"\ or "open old evaluation" or "Evaluate && tProduct" end makeChoices This script returns three buttons, but the last button reads "Evaluate && tProduct". Is there a way? Thanks! Rich Lague From thierry.arbellot at wanadoo.fr Sun May 30 15:05:13 2004 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Sun, 30 May 2004 21:05:13 +0200 Subject: answer buttons incorporating a varible In-Reply-To: <2C06D2D4-B26A-11D8-BFA1-000393BAAB8A@ucs.orst.edu> Message-ID: <47847D86-B26C-11D8-9132-000A27E40768@wanadoo.fr> Hi Rich, Try to put the expression in brackets. on makeChoices put "someProduct" into tProduct answer "What's your pleasure?" with "new eval of another product"\ or "open old evaluation" or ("Evaluate" && tProduct) end makeChoices Thierry. On Sunday, May 30, 2004, at 20:50 Europe/Paris, Rich Lague wrote: > I'm trying to get the answer command to give a button with quoted text > and a variable in it. > > The following script results in 4 buttons: "What's your pleasure?", > "new eval of another product", "Evaluate" and "someProduct". > > on makeChoices > put "someProduct" into tProduct > answer "What's your pleasure?" with "new eval of another product"\ > or "open old evaluation" or "Evaluate" && tProduct > end makeChoices > > I want 3 buttons with the last button reading "Evaluate someProduct". > > I have also tried it like this: > > on makeChoices > put "someProduct" into tProduct > answer "What's your pleasure?" with "new eval of another product"\ > or "open old evaluation" or "Evaluate && tProduct" > end makeChoices > > This script returns three buttons, but the last button reads "Evaluate > && tProduct". > > Is there a way? > > Thanks! > > Rich Lague > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From laguer at ucs.orst.edu Sun May 30 15:22:53 2004 From: laguer at ucs.orst.edu (Rich Lague) Date: Sun, 30 May 2004 12:22:53 -0700 Subject: answer buttons incorporating a varible In-Reply-To: <47847D86-B26C-11D8-9132-000A27E40768@wanadoo.fr> Message-ID: Thanks Thierry! It works. This list is a wonderful resource! I ask a question and get an immediate answer... :) Rich On Sunday, May 30, 2004, at 12:05 PM, Thierry Arbellot wrote: > Hi Rich, > > Try to put the expression in brackets. > > on makeChoices > put "someProduct" into tProduct > answer "What's your pleasure?" with "new eval of another product"\ > or "open old evaluation" or ("Evaluate" && tProduct) > end makeChoices > > Thierry. > > On Sunday, May 30, 2004, at 20:50 Europe/Paris, Rich Lague wrote: > >> I'm trying to get the answer command to give a button with quoted >> text and a variable in it. >> >> The following script results in 4 buttons: "What's your pleasure?", >> "new eval of another product", "Evaluate" and "someProduct". >> >> on makeChoices >> put "someProduct" into tProduct >> answer "What's your pleasure?" with "new eval of another product"\ >> or "open old evaluation" or "Evaluate" && tProduct >> end makeChoices >> >> I want 3 buttons with the last button reading "Evaluate someProduct". >> >> I have also tried it like this: >> >> on makeChoices >> put "someProduct" into tProduct >> answer "What's your pleasure?" with "new eval of another product"\ >> or "open old evaluation" or "Evaluate && tProduct" >> end makeChoices >> >> This script returns three buttons, but the last button reads >> "Evaluate && tProduct". >> >> Is there a way? >> >> Thanks! >> >> Rich Lague >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From soapdog at mac.com Sun May 30 18:29:02 2004 From: soapdog at mac.com (Andre Garzia) Date: Sun, 30 May 2004 19:29:02 -0300 Subject: Revolution Masters Summit, Monterey, July 2004 In-Reply-To: <483BCD56-B0D8-11D8-947F-000A95AE42E6@danshafer.com> References: <483BCD56-B0D8-11D8-947F-000A95AE42E6@danshafer.com> Message-ID: Damn, sometimes I hate being in south america, air tickets are so expensive, I don't think I am able to sum the money needed until july. Dan, I see you're talking about RevHTTPd.. I sent you some notes on the project current status today. Althought I probably wont make into the summit, I can send data for you. Do you need some info on revHTTPd, you want a postmortem or diary on the technological decisions? Man, I think I'll hijack some of the guanabara bay boats and make to california... if I leave tomorrow I might be there by july... Cheers Andre On May 28, 2004, at 3:53 PM, Dan Shafer wrote: > Hi everyone, > > How'd you like to hang out in beautiful Monterey, California, at an > ocean-front bed-and-breakfast hotel for a couple of days of intense > but fun digging into Revolution with a couple dozen other talented and > experienced developers? > > That's the purpose of the First Annual Monterey Revolution Masters > Summit to be held July 16-17 in picturesque Monterey. This exclusive > event is designed to bring together people who are serious about their > Revolution development skills and want to both share and learn with > and from others of a similar mind set. > > To make the event as practical as possible, we're not creating a > complex conference but a simple one-room, 25-developer event so that > we can keep the cost down (total conference fee is only $125). You'll > get a limited-edition T-shirt that is ONLY available to those who > attend this historic gathering, along with breakfast and lunch both > days. > > Chipp Walters and I are co-hosting the event. There's a Web site at > http://www.altuit.com/webs/demo/RevolutionMastersSummit/default.htm > with all the details and a sign-up page. (The site may be down due to > a hardware malfunction which is being repaired as I write this. If it > is, email me about your interest.) > > This conference is intended for advanced Revolution users-- those > professional developers who make a living using Revolution and > MetaCard. A virtual who's who of presentors have tentatively planned > on being there including familiar names such as: > > Richard Gaskin > Ken Ray > Tuviah Snyder > Scott Rossi > Jacque Landman Gay > Rob Cozens > Dar Scott > Chipp Walters > Chris Bohnert > Jerry Daniels > Mark Weider > > and of course myself:-)! > > The presentations will all be of an advanced nature and include: > -Report preparation and printing (Jerry Daniels) > -The "Magic Carpet Architecture" for automatic for version control, > online updating and deployment of Web-based applications (Chipp > Walters) > -Best coding practices (Richard Gaskin and Ken Ray) > -A modified Periodic Extreme Programming model for Rev development > (Dan Shafer and Chipp Walters) > -"Building a simple math external for both Mac and PC using freeware > compilers" for Dummies (Chris Bohnert) > -Custom Controls and Library Packaging (Dar Scott) > -Encryption with Script Examples (Dar Scott) > -Running Rev on the Server: CGI and RevHTTPd Approaches (Dan Shafer) > -Deploying an n-Tier Architecture System Using Rev, PHP, and MySQL > (Dan Shafer, Chipp Walters, and Chris Bohnert) > -MC IDE vs RunRev IDE Shoot-out! (Ken Ray, Richard Gaskin, Jacque Gay) > - and others to be named later.... > > Currently there are only 10 slots left. So sign up now! > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From soapdog at mac.com Sun May 30 18:35:52 2004 From: soapdog at mac.com (Andre Garzia) Date: Sun, 30 May 2004 19:35:52 -0300 Subject: [ANN] revJournal articles In-Reply-To: <7D67414B-94E0-11D8-8E85-0003937A97B8@genesearch.com.au> References: <7D67414B-94E0-11D8-8E85-0003937A97B8@genesearch.com.au> Message-ID: On Apr 23, 2004, at 1:41 AM, Sarah Reichelt wrote: > I have recently posted two articles to revJournal > which may be of interest. > > The first is a tutorial showing how to use Revolution to download > information from a web page, format it and use it as an interface to > further web pages. The examples creates a reader for MacAddict forums, > which was inspired by an article in a recent MacAddict magazine > showing how to do the same thing using RealBasic. > > The latest article shows how to use Script Colorization and formatting > to detect script errors. This may be especially useful for beginners > or recent converts from another language. > > I don't usually announce such things on the list, but revJournal has > gone a bit quiet lately, so after some encouragement from Richard > Gaskin, I decided to try and "rev" things up a bit :-) Do you know that I am printing those nice articles and making my own printed Body of Knowledge uahahah... I've got a small Yellow cabinet next to my bad. Inside it there are folder with labels like: "Articles", "Codes", "Insights", "Network related", "GUI Related", "Algorithm related" and so on... I print them, file them and burn text CDs (those tiny miniCDs) and put them all in my Yellow Cabinet of Code!!!! It's not the best way to do stuff, but it's getting pretty!!!! All your articles are there: the tutorial on macaddict is filed under: "Good Examples" and the colorization is under "Codes" they are also burned in April backup miniCD. This yellow cabinet thing is good for making things feel real. When you're working to much with laptops and abstract codes you lose the sense of reality. I like sitting on my bed and browsing by hand the cabinet and reading the article on paper.... Cheers on your articles Sarah! Andre > > Cheers, > Sarah > sarahr at genesearch.com.au > http://www.troz.net/Rev/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From graham.samuel at blueyonder.co.uk Sun May 30 19:24:40 2004 From: graham.samuel at blueyonder.co.uk (Graham Samuel) Date: Mon, 31 May 2004 01:24:40 +0200 Subject: Format of pasted text Message-ID: <6.1.0.6.2.20040531011829.01ca5718@pop3.blueyonder.co.uk> It seems that if I get some unformatted text onto the clipboard and paste it into a field in a stack, it is formatted (in my case as 16 point Arial - entirely inappropriate for what I want). Anyone know why this happens or how I can prevent it? While I'm talking about 'paste', I put a button onto a card whose script was on mouseUp paste end mouseUp With the browse tool active and some text on the clipboard, I clicked in a field on the card and immediately clicked the button, but the paste didn't happen. OTOH clicking in the field and then doing CTRL-V did result in a paste. It seems I lost my insertion point when I clicked the button. Why was that, and how can I make it work? After all, clicking the button is pretty much like choosing 'paste' as a menu item, isn't it? TIA Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From soapdog at mac.com Sun May 30 19:31:01 2004 From: soapdog at mac.com (Andre Garzia) Date: Sun, 30 May 2004 20:31:01 -0300 Subject: ANN: new version of CGI-Tool Stack Message-ID: <69945035-B291-11D8-AAC8-0003936D012E@mac.com> Hi folks, After being in hospital for a while due to an evil mosquito bite, I am back coding. First it's an annoucement of a new version of CGI-Tool stack. This is a simple Helper stack made by Me, Andre Alves Garzia (soapdog at mac.com), to help people setup MC Engine and LibCGI with remote FTP access. To use this you should have the MetaCard engine suited for your plataform and LibCGI.rev. The brand new feature is CGI Stack file uploading. You create your stack in the Rev IDE and from there you upload it to your remote server, like, a remote distribution builder. It will ask for you stack file and upload it to the /stacks/ folder of your LibCGI instalation. It can also launch the default browser pointing to the desired CGI after upload, good for debugging. I hope this will aid all newbies out there to make CGIs using our xTalk platform of choice. Workflow is like this: 1) Download the mc engine suited for your server platform. 2) Download libCGI 3) Use CGI-Tool stack to upload and setup them both at your server. 4) Code your own cgi. 5) Use CGI-Tool stack to upload and install it on your server... it's pretty straight forward, very easy! Also I would like feedback on it. Always keep tunned for tools and news by checking http://www.soapdog.org and http://www.soapdog.org/blog/ you can get it from http://public.soapdog.org (it's cgitool.rev) or type: go URL "http://www.soapdog.org/rev/cgitool.rev" into your message box Cheers andre -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From capellan2000 at yahoo.com Mon May 31 00:48:20 2004 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sun, 30 May 2004 21:48:20 -0700 (PDT) Subject: working with binary numbers with bitwise operators In-Reply-To: <20040530160006.1E0F09300C2@mail.runrev.com> Message-ID: <20040531044820.71103.qmail@web40507.mail.yahoo.com> on Sun, 30 May 2004 Dar Scott wrote: > Bugzilla 38 describes a problem in base conversions > to base 10. > The baseconvert() function uses a 32 bit > environment. > The bit-logical operators use a 32-bit environment. Now i understand, thanks for this clarification. > If you need more than 32 bits you might need to > build up multiple 32-bit numbers Could be splitting a big number in two parts like this? 48 bit number 010011001100001110101010101101100101110111010101 divided in two 24 bit numbers 010011001100001110101010 101101100101110111010101 > or (as you did for shifting) use strings of 0 and 1. > If you need to use bit shifting (and rotating) with > the bit logical operators, you might want to make > the number conversion. I think that i'll use strings and custom funtions. Thanks for your help, Dar. al ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From dsc at swcp.com Mon May 31 02:19:33 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 31 May 2004 00:19:33 -0600 Subject: working with binary numbers with bitwise operators In-Reply-To: <20040531044820.71103.qmail@web40507.mail.yahoo.com> Message-ID: <7B906583-B2CA-11D8-8BD3-000A9567A3E6@swcp.com> On Sunday, May 30, 2004, at 10:48 PM, Alejandro Tejada wrote: > Could be splitting a big number in two parts > like this? > > 48 bit number > 010011001100001110101010101101100101110111010101 > > divided in two 24 bit numbers > > 010011001100001110101010 > 101101100101110111010101 Yes. On shifting... Remember shift right is divide by two and shift left is divide by two. Dar Scott From sanke at hrz.uni-kassel.de Mon May 31 08:15:46 2004 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Mon, 31 May 2004 14:15:46 +0200 Subject: how to set font of ask/answer dialogues Message-ID: <40BB21F2.5080201@hrz.uni-kassel.de> On Sat, 29 May 2004, Chipp Walters wrote: > Thanks Wilhelm for this. I'm looking forward to DL'ing your ask/answer > stacks > > -Chipp Hi Chipp, although it is possible to modify the existing answer and ask dialogs - which some of us have done - I think what Nicolas Cueto may need (" for my Japanese-speaking users") is a custom dialog, built from scratch and adapted exactly to his needs (size, shape, fonts, number of buttons etc.). Normally, I use the predefined Metacard or Rev dialogs as interim solutions during the developmental stage of a stack. For a finished application I usually put together my own dialogs. The Revolution documentation stack "How to.." contains the information "You can also create a custom dialog box containing any objects you want to include. To create a custom dialog box, create a stack with the controls you want (including at least one button with mouseUp handler that closes the stack. Then use the modal command to display the stack as a dialog box.)" There is more information elsewhere in the documentation (e.g. entry "dialogdata" in the Transcript Dictionary) but these informations are surely not sufficient to start with. What should be addressed more precisely is how exactly to pass the input data or which button was pressed from the modal stack to the calling handler - using the "dialogdata" property or custom properties. Dave Calkins had complained in April about the need for sample stacks for basic Revolution features that should be accompanied by tutorials - which reminds me of your video tutorials for the Geometry Manager or the illustrated PDF-files we use here in some cases. I had answered Dave Calkins on April 6: "What you probably have in mind are sample stacks and tutorials from category two. As complements of the documentation they would indeed be helpful and they may be urgently needed by persons learning on their own. The task remains to determine which "basics" really need to be covered and how and by whom they could be collected or produced. I think, as a first basic collection we need about 30 sample stacks?" Maybe the topic of "sample stacks" could be added to the agenda of the Monterey and Malta conferences? Regards, Wilhelm Sanke From b.xavier at internet.lu Mon May 31 10:06:39 2004 From: b.xavier at internet.lu (MisterX) Date: Mon, 31 May 2004 16:06:39 +0200 Subject: working with binary numbers with bitwise operators In-Reply-To: <20040531044820.71103.qmail@web40507.mail.yahoo.com> Message-ID: I dont know if the value of the appended number is important but appending of numbers requires a base to base modulation or you get put baseconvert(5431,10,2) = 1010100110111 put baseconvert(54,10,2) = 110110 put baseconvert(31,10,2) = 11111 110110 and 11111 do not make 1010100110111 To make this work... consider instead that 5400 + 31 = 5431... put baseconvert(5400,10,2) = 1010100011000 put baseconvert(31,10,2) = 11111 put baseconvert( (5400 bitor 31),10,2) = 1010100011111 a simpler example... 1600 + 16 = 1616 so put baseconvert(1616,10,2) = 11001010000 put baseconvert(1600,10,2) = 11001000000 put baseconvert( 16,10,2) = 00000010000 if you bitor the 1600 and the 16 you should get... 1616 not tested for bug 38 ;) > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Alejandro > Tejada > Sent: Monday, May 31, 2004 06:48 > To: use-revolution at lists.runrev.com > Subject: Re: working with binary numbers with bitwise operators > > > on Sun, 30 May 2004 > Dar Scott wrote: > > > Bugzilla 38 describes a problem in base conversions > > to base 10. > > The baseconvert() function uses a 32 bit > > environment. > > The bit-logical operators use a 32-bit environment. > > Now i understand, thanks for this clarification. > > > If you need more than 32 bits you might need to > > build up multiple 32-bit numbers > > Could be splitting a big number in two parts > like this? > > 48 bit number > 010011001100001110101010101101100101110111010101 > > divided in two 24 bit numbers > > 010011001100001110101010 > 101101100101110111010101 > > > or (as you did for shifting) use strings of 0 and 1. > > If you need to use bit shifting (and rotating) with > > the bit logical operators, you might want to make > > the number conversion. > > I think that i'll use strings and custom funtions. > > Thanks for your help, Dar. > > al > > ===== > Visit my site: > http://www.geocities.com/capellan2000/ > Search the mail list: > http://mindlube.com/cgi-bin/search-use-rev.cgi > > > > > __________________________________ > Do you Yahoo!? > Friends. Fun. Try the all-new Yahoo! Messenger. > http://messenger.yahoo.com/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From FlexibleLearning at aol.com Mon May 31 12:26:06 2004 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Mon, 31 May 2004 12:26:06 EDT Subject: Format of pasted text Message-ID: <1f0.21ff4e75.2decb69e@aol.com> >While I'm talking about 'paste', I put a button onto a card whose script was > > on mouseUp > paste > end mouseUp > >With the browse tool active and some text on the clipboard, I clicked in a >field on the card and immediately clicked the button, but the paste didn't >happen. OTOH clicking in the field and then doing CTRL-V did result in a >paste. It seems I lost my insertion point when I clicked the button. Why >was that, and how can I make it work? After all, clicking the button is >pretty much like choosing 'paste' as a menu item, isn't it? Try setting the traversalON of the button to FALSE, Graham. That should enable focus persistence for the field. /H From dsc at swcp.com Mon May 31 12:34:03 2004 From: dsc at swcp.com (Dar Scott) Date: Mon, 31 May 2004 10:34:03 -0600 Subject: working with binary numbers with bitwise operators In-Reply-To: Message-ID: <53AABA00-B320-11D8-B028-000A9567A3E6@swcp.com> On Monday, May 31, 2004, at 08:06 AM, MisterX wrote: > I dont know if the value of the appended number > is important but appending of numbers requires a > base to base modulation That might be convenient if eye-friendly intermediate values are needed, that is, if intermediate values must look like long binary numbers. However, if numbers are kept in 24-bit chunks and two are used to represent a 48-bit value, then the use of base conversion is not needed. The results of bit-logical operators are numbers. They can be paired with ",". (Numberformat is applied in that case.) They can also be paired with binaryEncode and "&", but this can't reliably be put into a field in debugging. The bitwise logical operators are then applied to both halves to get a logical result. My understanding is that Alejandro is using binary numeral strings, eg "011001110001010110", to accommodate shifting, so this does not apply. (As I mentioned earlier, I think shifting as number is not so bad and can be built up to apply to aggregates.) I would use base conversion only for display. Dar Scott From ivan_wongwh at yahoo.com.sg Mon May 31 13:03:16 2004 From: ivan_wongwh at yahoo.com.sg (=?iso-8859-1?q?Ivan=20Wong?=) Date: Tue, 1 Jun 2004 01:03:16 +0800 (CST) Subject: Answer File for Multiple File Selections Message-ID: <20040531170316.79552.qmail@web51804.mail.yahoo.com> Hello all, I am trying to construct a dialog box, which would prompt users to select 1 to many files via a Windows file manager like interface. These selected files would then be returned to my card for further processing. Could anyone please point the way for this to be done? I checked the help files and the answer file dialog seems to only be for single file selections? thanks, Ivan Wong __________________________________________________ Do You Yahoo!? Log on to Messenger with your mobile phone! http://sg.messenger.yahoo.com From cteno4 at earthlink.net Mon May 31 13:25:24 2004 From: cteno4 at earthlink.net (cteno4) Date: Mon, 31 May 2004 13:25:24 -0400 Subject: Revolution Masters Summit, Monterey, July 2004 Message-ID: <20040531171955.E954F93005C@mail.runrev.com> You all will have to visit the Monterey Bay Aquarium to see my DeepLink exhibit in the auditorium, its build with Metacard. The exhibit presents live video from a deep sea ROV (remotely operated vehicle) in monterey bay to the audience and the metacard driven poduim allows the presenter to control what live video is displayed, pre-recorded video clips (animals, habitats, equipment, etc), bring up maps, ship location, cheat sheet notes to answer questions, etc. It was initially designed in the very first beta of colorized hypercard back in 1990, then programmed in toolbook, then upgraded to metacard about 6 years back. Really shows the serial communication MC can do. its talking to about 6 different serial devices at various points. Also runs like a champ. the only crisis calls i have gotten have been due to someone accidntally unplugging something (the first question is is it plugged in...) or a peice of equipment blowing out. Would love to join you all, my parents live in Monterey, but i will be in Southeast Alaska installing another Metacard/Rev exhibit on the Marine Mammales of SE Alaska that week. cheers, jeff use-revolution-request at lists.runrev.com wrote on 5/31/04 12:00 PM >> Hi everyone, >> >> How'd you like to hang out in beautiful Monterey, California, at an >> ocean-front bed-and-breakfast hotel for a couple of days of intense >> but fun digging into Revolution with a couple dozen other talented and >> experienced developers? Jeffrey H. Reynolds 6620 Michaels Dr. Bethesda, MD 20817 301.469.8562 email: cteno4 at earthlink.net cteno4 at aol.com From tzvi at realtorsgroup.us Mon May 31 14:32:47 2004 From: tzvi at realtorsgroup.us (tzvi) Date: Mon, 31 May 2004 14:32:47 -0400 Subject: externals Message-ID: Hi, Where can I find any documentation on the use and creation of externals ? Thanks, From soapdog at mac.com Mon May 31 14:54:36 2004 From: soapdog at mac.com (Andre Garzia) Date: Mon, 31 May 2004 15:54:36 -0300 Subject: externals In-Reply-To: References: Message-ID: On May 31, 2004, at 3:32 PM, tzvi wrote: > Hi, Where can I find any documentation on the use and creation of > externals ? > Thanks, > > Tvzi, I could not find the docs on the new website, but, you can download that amazing ZeroConf external from Mindlube website. Not only revZeroConf is trully usefull but the download includes examples and source code of the external, you might see inside it for clues on how to do things. The URL is: http://www.mindlube.com/developer/revzeroconf/index.html Cheers, good luck! Andre -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From soapdog at mac.com Mon May 31 15:03:15 2004 From: soapdog at mac.com (Andre Garzia) Date: Mon, 31 May 2004 16:03:15 -0300 Subject: new version (beta) of LibURL available at runrev website... Message-ID: <2BBCA8D8-B335-11D8-AAC8-0003936D012E@mac.com> Hi Folks, I just noticed (I don't know how long this was there) that RunRev team made available a new beta of LibURL with many cool funcs for those dealing with client side programming of cgi related apps. an excerpt of the release page: Version 1.0.15b8 (beta) This version adds support for preparing form data for use with the post command. It also adds support for adding callback routines that can be used for negotiating authentication on http servers and proxy servers. New commands and functions libUrlFormData(...) libUrlMultipartFormData(

,...) libUrlMultipartFormAddPart\ (,,[,,]) libUrlSetAuthCallback , libUrl_authcb_SetAuthToken ,
,, libUrl_authcb_Resend libUrlBasicAuthToken(,) libUrlSetExpect100 Two cool funcs are LibURLFormData that enable us to arrange post data as if it was generated by a webform and LibUrlMultipartFormData that will post files to webserver... uploads welcome!!!! now, this will be good for custom clients!!!! http://www.runrev.com/resources/liburl/releases.shtml Cheers All! A toast to runrev team! -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From ambassador at fourthworld.com Mon May 31 15:10:02 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 31 May 2004 12:10:02 -0700 Subject: Revolution Masters Summit, Monterey, July 2004 In-Reply-To: <20040531171955.E954F93005C@mail.runrev.com> References: <20040531171955.E954F93005C@mail.runrev.com> Message-ID: <40BB830A.9090900@fourthworld.com> cteno4 wrote: > You all will have to visit the Monterey Bay Aquarium to see my > DeepLink exhibit in the auditorium, its build with Metacard. > The exhibit presents live video from a deep sea ROV (remotely > operated vehicle) in monterey bay to the audience and the > metacard driven poduim allows the presenter to control what > live video is displayed, pre-recorded video clips (animals, > habitats, equipment, etc), bring up maps, ship location, > cheat sheet notes to answer questions, etc. It was initially > designed in the very first beta of colorized hypercard back > in 1990, then programmed in toolbook, then upgraded to > metacard about 6 years back. Really shows the serial > communication MC can do. its talking to about 6 different > serial devices at various points. Also runs like a champ. > the only crisis calls i have gotten have been due to someone > accidntally unplugging something (the first question is is > it plugged in...) or a peice of equipment blowing out. > > Would love to join you all, my parents live in Monterey, > but i will be in Southeast Alaska installing another > Metacard/Rev exhibit on the Marine Mammales of SE Alaska > that week. Wow! Will definitely check that out. Sounds like another excellent project to add to the Case Studies page at . -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Mon May 31 15:15:57 2004 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 31 May 2004 12:15:57 -0700 Subject: new version (beta) of LibURL available at runrev website... In-Reply-To: <2BBCA8D8-B335-11D8-AAC8-0003936D012E@mac.com> References: <2BBCA8D8-B335-11D8-AAC8-0003936D012E@mac.com> Message-ID: <40BB846D.8090503@fourthworld.com> Andre Garzia wrote: > Hi Folks, > > I just noticed (I don't know how long this was there) that RunRev team > made available a new beta of LibURL with many cool funcs for those > dealing with client side programming of cgi related apps. ... > New commands and functions > libUrlFormData(...) > libUrlMultipartFormData(,...) > libUrlMultipartFormAddPart\ > (,,[,,]) > > libUrlSetAuthCallback , > libUrl_authcb_SetAuthToken ,
,, > libUrl_authcb_Resend > libUrlBasicAuthToken(,) > > libUrlSetExpect100 ... > http://www.runrev.com/resources/liburl/releases.shtml > > Cheers All! A toast to runrev team! These latest additions are wonderful -- on behalf of all of my customers benefitting from your hard work, thank you David Cragg and all others who've contributed to libURL! -- Richard Gaskin Fourth World Media Corporation ___________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From katir at hindu.org Mon May 31 17:45:49 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Mon, 31 May 2004 11:45:49 -1000 Subject: FTP problem to Name Based Virtual Server Web Site Message-ID: I'm happy to say we finally got our own dedicated, managed server box with OLM in Connecticut. Great prices and support. Linux Red Hat 7.2. We downloaded the Revolution engine in "engines/current" unzipped it and put it in usr/bin/ at root, chmod 775 and it worked right off the bat! No missing library issues.... our server and web sites have a lot more steriods than we would ever imagine using, and that added complexity poses some challenges. A problem now with remote FTP with libURL to a name based web site on the server. When one sets up a new web site, a CHROOT process is run for the domain and an entire new virtual root is established. From server root the web site is /home/virtual/himalayanacademy.com But FTP is blocked to the server root file system for security reasons, and one can only FTP into one or another of the virtual servers-webSites. I can do this in an FTP client, but not with libURL in Revolution. There may be a problem with the fact that to FTP into a name based virtual web site the FTP user has to be USER: someUser at domain.com ## where the @ sign is part of the string... PASS: ******* e.g. An FTP client will build the string as follows: ftp://someUser%40domain.com at 55.55.55.55//var/www/html/ (two slashes required after the ip address) putting one into the virtual website's html content directory. i.e. it works... but on mouseup put url "ftp://someUser%40domain.com:PASSWORD at 55.55.55.55//var/www/html/" end mouseup Does not work. Any clues? I also tried on mouseUp put urlEncode("someUser at domain.com") into tUser put ("ftp://"&tUser & ":password at 55.55.55.55//var/www/html/") into tUrl put url tURL end mouseup also doesn't work But from same machine, behind same firewall... it works in InterArchy... Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From soapdog at mac.com Mon May 31 18:09:01 2004 From: soapdog at mac.com (Andre Garzia) Date: Mon, 31 May 2004 19:09:01 -0300 Subject: FTP problem to Name Based Virtual Server Web Site In-Reply-To: References: Message-ID: <1F2CD15C-B34F-11D8-AAC8-0003936D012E@mac.com> Sannyasin, Can you paste a log field here... use the set log field function of libURL, fetch it's data and glue here, it might give us a hint where everything is going wrong. We must know if the problem is on user login, in folder switching or in the ftp url string itself... We'll solve this and better our karma!!! :D Cheers Andre From bvg at mac.com Mon May 31 18:44:57 2004 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 1 Jun 2004 00:44:57 +0200 Subject: FTP problem to Name Based Virtual Server Web Site In-Reply-To: Message-ID: <243CC21A-B354-11D8-B733-003065AD94A4@mac.com> On Montag, Mai 31, 2004, at 23:45 Europe/Zurich, Sannyasin Sivakatirswami wrote: > ... > on mouseup > put url > "ftp://someUser%40domain.com:PASSWORD at 55.55.55.55//var/www/html/" > end mouseup > ... What's with the double slash between the host and the path? Did you try it without that? Maybe its there for a reason, but I have never seen such an url, and believe that its invalid syntax... From soapdog at mac.com Mon May 31 19:35:54 2004 From: soapdog at mac.com (Andre Garzia) Date: Mon, 31 May 2004 20:35:54 -0300 Subject: question on control aligment by code... Message-ID: <429EDD23-B35B-11D8-AAC8-0003936D012E@mac.com> Hi Folks, I want to align buttons by code. I create them in openStack handler and would like Revolution to spread them accross the card like for example a grid. Is there a clever way to do it, or should I use old school method of two loops one setting X axis and the other setting Y axis? Since we can use the property inspector to align objects, I assume that there's some clever way to replicate that by code... Cheers andre -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From mwieder at ahsoftware.net Mon May 31 19:37:40 2004 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 31 May 2004 16:37:40 -0700 Subject: Brought to you by the letter "P" Message-ID: <11826298875.20040531163740@ahsoftware.net> Weird- This is probably something simple that I've completely forgotten about DOS batch files, but it drove me crazy for a couple of hours today until I figured out what was going on... I'm calling a standalone from the command line and processing the arguments. Single characters only (-r, -t , -p). For some reason I was having trouble with the -p switch. It works fine from the command prompt itself, but if I stick the same line in a batch file runrev doesn't see anything there. If I change the -p to a -q then everything's fine (and that's my workaround now that I got to the bottom of why things weren't working. I checked the batch files with HexWorkshop and there aren't any weird characters embedded anywhere. Oh - and this is on Win2k SP4. I think what's happening is that the OS is eating the -p switch if it's packaged inside a .bat file, but passing it through if I type it by hand. Very weird. Anyone have a clue about this mystery? Am I just being dense today? C:\MyStandalone.exe -p >out.txt works fine C:\test.bat >out.txt doesn't (where test.bat contains C:\MyStandalone.exe -p) -- -Mark Wieder mwieder at ahsoftware.net From katir at hindu.org Mon May 31 20:04:29 2004 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Mon, 31 May 2004 14:04:29 -1000 Subject: FTP problem to Name Based Virtual Server Web Site In-Reply-To: <1F2CD15C-B34F-11D8-AAC8-0003936D012E@mac.com> References: <1F2CD15C-B34F-11D8-AAC8-0003936D012E@mac.com> Message-ID: <409BFE9C-B35F-11D8-B55A-000A959D0AC6@hindu.org> Aloha and Namaste , Andre and Bjornke... First: a single slash in the path will fail because ftp to the server root is blocked and the double slash "pushes" the path to the virtual website home folder... log field: right, Andre... I should have thought of that: ====== script on mouseUp put the long id of field "ftp log" into tField libUrlSetLogField tField put url "ftp://user%40himalayanacademy.com:password at 555.55.55.55//home/ himalayan/mainwebsite_html/" --put url "user%40himalayanacademy.com:password at 555.55.55.55//var/www/html" end mouseUp ======= ======log results: socket 44.555.44.44.:21|6929 220 ProFTPD FTP Server ready. 331 Password required for himalayan at himalayanacademy.com. 230 User user at himalayanacademy.com logged in. 257 "/home/himalayan" is current directory. ## ok, so this is not a user:password issue... they are OK...we are in 200 Type set to I. 550 /home/himalayan//var/www/html: No such file or directory #Ahha, gotcha... it is a path problem... CLOSED 44.555.44.44.:21|6929 ======= So: a path problem, but only in Revolution -- libURL, since this is a virtual site on our server... In my FTP client (interarchy) I can use either URL1 user%40himalayanacademy.com:password at 555.55.55.55//home/himalayan/ mainwebsite_html/ # where "mainwebsite_html" is a symLink to the "real" html directory... which is in the URL2 below: OR URL2 user%40himalayanacademy.com:password at 555.55.55.55//var/www/html and they BOTH work in the FTP client... but in Revolution, the first one(to the symLink) gives a valid log in (showing that it is not a problem with the @ in the user string) 257 "/home/himalayan" is current directory. 200 Type set to I. 250 CWD command successful. 227 Entering Passive Mode (555,555,555,555,133,201). ## we are logged in, no path problem, but symlink not followed... no listing is returned and the result is empty... but the attempt to reach the *actual* directory, directly, as in URL2 above results in error 550 /home/himalayan//var/www/html: No such file or directory but, again, only in Revolution... this is somewhat a serious/mission critical issue because I have a dozen or more production apps in use every day for auto web page generation that must be able to talk to the new server via FTP calls before we switch DNS from the old sites in Honolulu to the new ones at the IP of our new box in Connecticut. TIA~! Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org On May 31, 2004, at 12:09 PM, Andre Garzia wrote: > Sannyasin, > > Can you paste a log field here... use the set log field function of > libURL, fetch it's data and glue here, it might give us a hint where > everything is going wrong. We must know if the problem is on user > login, in folder switching or in the ftp url string itself... > > We'll solve this and better our karma!!! :D > > Cheers > Andre > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From soapdog at mac.com Mon May 31 20:25:01 2004 From: soapdog at mac.com (Andre Garzia) Date: Mon, 31 May 2004 21:25:01 -0300 Subject: FTP problem to Name Based Virtual Server Web Site In-Reply-To: <409BFE9C-B35F-11D8-B55A-000A959D0AC6@hindu.org> References: <1F2CD15C-B34F-11D8-AAC8-0003936D012E@mac.com> <409BFE9C-B35F-11D8-B55A-000A959D0AC6@hindu.org> Message-ID: <1F0B72C2-B362-11D8-AAC8-0003936D012E@mac.com> On May 31, 2004, at 9:04 PM, Sannyasin Sivakatirswami wrote: > Aloha and Namaste , Andre and Bjornke... > > First: a single slash in the path will fail because ftp to the server > root is blocked and the double slash "pushes" the path to the virtual > website home folder... > > log field: > > right, Andre... I should have thought of that: Hi Sannyasin, glad it's a directory walking problem, those are easier to solve than login ones! as I see, you're putting double slashes to force user back to his homedir. I always tought homedir was represented by tilde (~) sign in unix enviroments, can you try this line put url "ftp://user%40himalayanacademy.com:password at 555.55.55.55/~/ mainwebsite_html/" Server will folow ~ to the root of the homedir, so if your absolute path for homedir is /home/himalayan/ then replacing this with ~ should do the trick. Let me know. It might work... I use something like this here. cheers Andre -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From copelands at copelandcommunications.com Fri May 28 09:49:17 2004 From: copelands at copelandcommunications.com (Scott Copeland) Date: Fri, 28 May 2004 09:49:17 -0400 Subject: Serial Modem data break problems Message-ID: <03ec01c444ba$92450860$6500a8c0@CopelandIII> I'm developing a test fixture for an embedded modem product and am having some problems breaking out of data mode. Here's the protocol in a nutshell: Open COM port -> works Send "AT" -> works Look for "OK" -> works Send "AT&T1" -> works (enter internal loopback) Send "ABCD...." -> works Look for "ABCD...." -> works Send BREAK <1 second delay>"+++"<1 second delay> -> doesn't work Look for "OK" ....... For some reason, the modem is not breaking out and back into command mode. I verified the whole protocol using Hyperterminal. I've also created a button that just sends the BREAK and that works. I can tell that the modem is not seeing the BREAK by going back into Hyperterminal and sending the AT...which gets echo'ed back. That tells me it's still in loopback mode. By the way, the BREAK on my modem only requires about 300ms before and after. I'm using 1000ms for test purposes. Any ideas? Thanks, Scott Copeland Communications, Inc. From jlbgsl at rit.edu Mon May 31 19:04:19 2004 From: jlbgsl at rit.edu (Jack Burston) Date: Mon, 31 May 2004 19:04:19 -0400 Subject: Flash cards for Japanese Message-ID: Dear Revolutionaries, I'm new to Revolution and to this list. I've been asked by a colleague in Japanese to construct a flash card program for her. Before reinventing the wheel I thought I would check to see if anyone has already done this. If so, I would very much appreciate it if you could send me a copy of your stack. With thanks in advance for whatever assistance you may be able to provide. Jack -- Jack Burston, Ph.D. Director Foreign Language Technology Center College of Liberal Arts Rochester Institute of Technology Rochester, NY 14623-5604