From pepetoo at Cox.Net Mon Jan 1 02:24:02 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Sun, 31 Dec 2006 23:24:02 -0800 Subject: Hairlines and Scaling In-Reply-To: <45987377.6060905@hindu.org> References: <45986C56.5050604@hindu.org> <45987377.6060905@hindu.org> Message-ID: <01B4417C-7C55-4F44-BF05-E2333D45C3AE@Cox.Net> Hi all, Has anyone developed a method of giving graphic objects' lines a thickness less than 1 pixel in size? Also, a method of assigning other than 72 pixels per inch; preferably 192? TIA, Joe Wilkins From scott at tactilemedia.com Mon Jan 1 02:36:48 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 31 Dec 2006 23:36:48 -0800 Subject: Hairlines and Scaling In-Reply-To: <01B4417C-7C55-4F44-BF05-E2333D45C3AE@Cox.Net> Message-ID: Recently, Joe Lewis Wilkins wrote: > Has anyone developed a method of giving graphic objects' lines a > thickness less than 1 pixel in size? Also, a method of assigning > other than 72 pixels per inch; preferably 192? Rev cannot natively display a "true" line object less than 1 pixel in thickness since it does not currently support sub-pixel positioning, but even then, all you might wind up with is a blurred line that occupies more than 1 pixel in thickness. Are you perhaps trying to create a scalable display or something else? The only way I can think of to accomplish something like this is to use an image that has space around the line that will antialias when scaled. Not sure if this helps. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From pepetoo at Cox.Net Mon Jan 1 03:07:50 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Mon, 1 Jan 2007 00:07:50 -0800 Subject: Hairlines and Scaling In-Reply-To: References: Message-ID: Thanks for your response, Scott. I suppose one method for me to achieve this effect will be to print my output at a 50% magnification. This would reduce one pixel lines to half a pixel. Of course this means that the objects themselves will have to be drawn at twice their size in order to produce an accurately scaled drawing. Using one of my other programming languages I was able to do Hairlines; whether they were 1/2 pixel width or not, I'm not sure; but they looked narrower. FYI, I'm planning to write a program that can be used to create shop drawings of a manufacturer's product by providing digital input, rather than having to actually draw the items. Once I've figured out how to do this it will reduce the time to produce these drawings, properly label and date everything to minutes instead of the days it now takes; even using CAD systems. Again, thanks, Joe Wilkins On Dec 31, 2006, at 11:36 PM, Scott Rossi wrote: > Recently, Joe Lewis Wilkins wrote: > >> Has anyone developed a method of giving graphic objects' lines a >> thickness less than 1 pixel in size? Also, a method of assigning >> other than 72 pixels per inch; preferably 192? > > Rev cannot natively display a "true" line object less than 1 pixel in > thickness since it does not currently support sub-pixel > positioning, but > even then, all you might wind up with is a blurred line that > occupies more > than 1 pixel in thickness. Are you perhaps trying to create a > scalable > display or something else? > > The only way I can think of to accomplish something like this is to > use an > image that has space around the line that will antialias when > scaled. Not > sure if this helps. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lfredricks at proactive-intl.com Mon Jan 1 15:52:37 2007 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 1 Jan 2007 12:52:37 -0800 Subject: 2D to 3D Tools -- What Happened to Canoma? In-Reply-To: <45986C56.5050604@hindu.org> Message-ID: <005a01c72de6$c79e5940$6501a8c0@lynn> > I was naive enough to think that some 3D programs would just > import jpegs and voila! your giant image library become > content resource for games Adobe acquired this, and they also had a wonderful tool called Atmosphere for building shared experience 3D worlds - and pretty much killed it! What is left of the corpse became Acrobat 3D. Im sure Canoma is deader than dead. Someone with a few $100K could probably either acquire or sub-license it from Adobe. Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution, Ltd From soapdog at mac.com Mon Jan 1 16:00:22 2007 From: soapdog at mac.com (Andre Garzia) Date: Mon, 1 Jan 2007 19:00:22 -0200 Subject: [ANN] RevOnRockets Web Development educational Package! Happy 2007 everyone. In-Reply-To: <3E1B6B83-5253-4156-A776-61432196F32B@sonsothunder.com> References: <3E1B6B83-5253-4156-A776-61432196F32B@sonsothunder.com> Message-ID: <8BAC871B-A47D-4324-819D-501D541E7158@mac.com> Ken, thanks... I still have more goodies on the oven, getting ready to me released... :-) hope this becomes some educational tool for developers or something... Cheers andre On Dec 31, 2006, at 8:00 PM, Ken Ray wrote: > On Dec 31, 2006, at 2:35 PM, Andre Garzia wrote: > >> it is with imense happyness that I make available what I came to >> call RevOnRockets package. This package is a bundle of a web >> server, libraries and demos, everyting in 100% transcript. > > Awesome, Andre! Congrats on a wonderful product! > > > Ken Ray > Sons of Thunder Software, Inc. > Web Site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From soapdog at mac.com Mon Jan 1 16:01:22 2007 From: soapdog at mac.com (Andre Garzia) Date: Mon, 1 Jan 2007 19:01:22 -0200 Subject: [ANN] RevOnRockets Web Development educational Package! Happy 2007everyone. In-Reply-To: <003401c72d4a$b1a949c0$0300a8c0@upthe> References: <003401c72d4a$b1a949c0$0300a8c0@upthe> Message-ID: <750DB3AE-6024-4A74-9E65-797DCE5000D9@mac.com> Michael, Did it worked fine for you? It's quite bare right now, I plan to polish it as time goes. Cheers andre On Jan 1, 2007, at 12:15 AM, Michael D. wrote: > Double Awesome out loud !! > Andre, > I'm one of the aspiring web developers and this is just > tremendous ! really going to help me out so much. > Thank You ! > Have a great 2007 > Michael > > ----- Original Message ----- From: "Andre Garzia" > To: "Improvements to Revolution" > Sent: Sunday, December 31, 2006 2:35 PM > Subject: [ANN] RevOnRockets Web Development educational Package! > Happy 2007everyone. > > >> Hi Folks, >> >> it is with imense happyness that I make available what I came to >> call RevOnRockets package. This package is a bundle of a web >> server, libraries and demos, everyting in 100% transcript. >> >> The objective is to help the aspiring web developer (and the >> seasoned one) to create their web applications, the RevHTTP server >> runs inside the Revolution IDE and is able to run text file based >> cgis as well as serve files, this alone enables everyone to >> develop for the web from inside rev, using the debugger!!! >> Develop and Test your CGIs from inside revolution! >> >> This is of course freeware with source. All code is commented, >> specially the webserver code. I give this to this wonderful >> community as a token of gratitude for all the years that everyone >> and his dog helped me! >> >> What is included: >> * RevHTTP - 100% transcript web server with new features and >> cleaner code. >> * EasyCGI Core library - a simple library for building text file >> cgis. >> * EasySessions - a simple library for session management. >> * EasyDebug - a error report tool for CGIs. >> * libCGI compatibilty functions - RevHTTP has a compatible API >> that allows libCGI based apps to run inside it. >> * Demos for all libraries and even AJAX demos!!! >> >> More documentation is expected as time goes. The demos and the >> libraries will also have updates. Right now they are very bare but >> I do like them and use them everyday. >> >> Have I mentioned that I commented my code yet? >> >> ALL FREE!!!! license is: cannot-blame-the-brazilian-guy-if-it- >> explodes-public-license 1.0 >> >> Have fun! file is here http://andregarzia.com/RevHTTP.zip >> >> Launch http.rev and click start! >> >> happy 2007 everyone >> >> Cheers >> andre >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major-k.de Mon Jan 1 16:05:06 2007 From: klaus at major-k.de (Klaus Major) Date: Mon, 1 Jan 2007 22:05:06 +0100 (MET) Subject: OT- Klaus Major In-Reply-To: References: Message-ID: <0D3DE21E-FDDB-4DC2-A572-73C3429C7CDF@major-k.de> Hi Shari, almost oversaw this one! > I came across a plant that immediately made me think of Klaus > Major. The scientific name is: > Clusia major Well, THAT's my auntie :-) > Synonym for Clusia rosea > More info: > http://www.hear.org/starr/hiplants/reports/html/clusia_rosea.htm > > Klaus, you're a tropical Monkey Apple tree! JAMAIS*! :-D *French for: never. Sounds even more puffed up... > Happy New Year's! Same to you, Shari, and all other nice folks on this list! > :-) > > -- > Gypsy King Software > Mac and Windows shareware games > http://www.gypsyware.com Best from germany Klaus Major klaus at major-k.de http://www.major-k.de From cszasz at mac.com Mon Jan 1 19:15:57 2007 From: cszasz at mac.com (Charles Szasz) Date: Mon, 1 Jan 2007 19:15:57 -0500 Subject: Unusual Problem Message-ID: <822CB3B5-D000-406E-979B-BDAE3A143B71@mac.com> I want to thank everyone for their suggestions to my unusual problem. I especially want to thank Sarah Reichelt who solved my problem! I want to wish the Rev community a Happy New Year! Charles Szasz cszasz at mac.com From cszasz at mac.com Mon Jan 1 19:29:48 2007 From: cszasz at mac.com (Charles Szasz) Date: Mon, 1 Jan 2007 19:29:48 -0500 Subject: No Standalone section in Rev's User Guide Message-ID: <45968C4C-31E2-43F6-9639-EF9F920CAC32@mac.com> I now at the point of working on the standalone settings for my project. I was surprised that there is a reference to a section on deploying standalones in Rev's User Guide but no section! Is there a tutorial on setting up standalone settings? I know that Dan was working on a chapter on this but I don't think it has been released. Charles Szasz cszasz at mac.com From pepetoo at Cox.Net Mon Jan 1 19:37:37 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Mon, 1 Jan 2007 16:37:37 -0800 Subject: No Standalone section in Rev's User Guide In-Reply-To: <45968C4C-31E2-43F6-9639-EF9F920CAC32@mac.com> References: <45968C4C-31E2-43F6-9639-EF9F920CAC32@mac.com> Message-ID: Charles, there are quite a few missing pages at this time. I was told, when I reported them missing about a month ago, that the next release would have the missing pages restored. I've been waiting, patiently and expectantly. Maybe your observation will get this attended to sooner. (smile) Joe Wilkins On Jan 1, 2007, at 4:29 PM, Charles Szasz wrote: > I now at the point of working on the standalone settings for my > project. I was surprised that there is a reference to a section on > deploying standalones in Rev's User Guide but no section! Is there > a tutorial on setting up standalone settings? I know that Dan was > working on a chapter on this but I don't think it has been released. > > > Charles Szasz > cszasz at mac.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mark at maseurope.net Mon Jan 1 20:16:53 2007 From: mark at maseurope.net (Mark Smith) Date: Tue, 2 Jan 2007 01:16:53 +0000 Subject: [ANN]HMAC-SHA1 Message-ID: <887E0BCC-0593-4C8B-BA9A-0492F8C7772E@maseurope.net> I've updated my sha1Digest function so that a) it's a little faster, b) it works on Windows (and Intel Macs) and c) I've added an HMAC function (which can also use Rev's built in MD5digest if needed). It's on RevOnline Username: Mark Smith Category : Programming Name : HMACSHA1 Happy new year to all who use the gregorian calendar! Mark From mdswindell at cruzio.com Mon Jan 1 20:19:03 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Mon, 1 Jan 2007 17:19:03 -0800 Subject: No Standalone section in Rev's User Guide In-Reply-To: References: <45968C4C-31E2-43F6-9639-EF9F920CAC32@mac.com> Message-ID: <20DCF086-BF13-4E99-9984-77A60471C3E6@cruzio.com> Yes, funny you should mention, but I've been finding lots of references today to sections that don't exist in the users guide! What does exist, though, seems nicely done. It portends well for the future. (Not so well for the present, sadiconically.) Mark On Jan 1, 2007, at 4:37 PM, Joe Lewis Wilkins wrote: > Charles, there are quite a few missing pages at this time. I was > told, when I reported them missing about a month ago, that the next > release would have the missing pages restored. I've been waiting, > patiently and expectantly. Maybe your observation will get this > attended to sooner. (smile) > > Joe Wilkins > > On Jan 1, 2007, at 4:29 PM, Charles Szasz wrote: > >> I now at the point of working on the standalone settings for my >> project. I was surprised that there is a reference to a section on >> deploying standalones in Rev's User Guide but no section! Is there >> a tutorial on setting up standalone settings? I know that Dan was >> working on a chapter on this but I don't think it has been released. >> >> >> Charles Szasz >> cszasz at mac.com >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From robmann at gp-racing.com Mon Jan 1 21:15:19 2007 From: robmann at gp-racing.com (Robert Mann) Date: Mon, 1 Jan 2007 21:15:19 -0500 Subject: mysql to valentina using libdatabase Message-ID: <000001c72e13$dd2bf3d0$0f00a8c0@roblaptop> The registerDatabaseA seems to be working/connecting but when I run the DoMysqlDump I get an error can't find handler, I even tried to add this to the recipes card and get the same error, I could not get the valentina to connect so I thought that I would create a SQLdump and try Valentina Studio to import ON preOpenStack start using stack "lib.bmm.Database" start using stack "lib.bmm.DatabaseObjects" pass preOpenStack END preOpenStack ON RegisterDatabaseA put "mysql" into theConnectInfoA["Type"] put "localhost" into theConnectInfoA["Host"] put "name" into theConnectInfoA["Name"] put "username" into theConnectInfoA["Username"] put "password" into theConnectInfoA["Password"] libdb_registerDatabase "SuspensionDB", theConnectInfoA_# Associates connection settings with "RecipesDB" key. put libdb_getConnectionID (SuspensionDB) into fld "fieldmysqlid" // checking to make sure connected to database END RegisterDatabaseA ON DoMysqlDump libdb_getSQLDump ("SuspensionDB","empty" ,"empty" , "true", "true","empty" , "mysqldump.sql")//tried this with and without the () no difference still get error END DoMysqlDump Thanks Robert Mann From lists at mangomultimedia.com Mon Jan 1 21:26:04 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 1 Jan 2007 18:26:04 -0800 Subject: mysql to valentina using libdatabase In-Reply-To: <000001c72e13$dd2bf3d0$0f00a8c0@roblaptop> References: <000001c72e13$dd2bf3d0$0f00a8c0@roblaptop> Message-ID: <4466DFB3-9B0D-4C81-A3DD-FE1ED42CC1C5@mangomultimedia.com> On Jan 1, 2007, at 6:15 PM, Robert Mann wrote: > ON DoMysqlDump > libdb_getSQLDump ("SuspensionDB","empty" ,"empty" , "true", > "true","empty" , "mysqldump.sql")//tried this with and without the > () no > difference still get error > > END DoMysqlDump libdb_getSQLDump is a function but you are using it like a command. You have to put the value somewhere: put libdb_getSQLDump(...) into myVariable OR get libdb_getSQLDump(...) // puts value into the "it" variable -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From robmann at gp-racing.com Mon Jan 1 22:14:27 2007 From: robmann at gp-racing.com (Robert Mann) Date: Mon, 1 Jan 2007 22:14:27 -0500 Subject: mysql to valentina using libdatabase In-Reply-To: <4466DFB3-9B0D-4C81-A3DD-FE1ED42CC1C5@mangomultimedia.com> Message-ID: I thought it would be just passing the info to the libdb_getSQLDump function as in the libdb_registerDatabase I also thought that if you put a value in the last parameter mysqldump.sql it would write it to a file ON DoMysqlDump put "empty" into theInfoA["pTables"] put "empty" into theInfoA["pDrop"] put "true" into theInfoA["pCreate"] put "true" into theInfoA["pInsert"] put "empty" into theInfoA["pVersion"] put "mysqldump.sql" into theInfoA["pOutFile"] libdb_getSQLDump "SuspensionDB",theInfoA END DoMysqlDump Robert Mann -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Trevor DeVore Sent: Monday, January 01, 2007 9:26 PM To: How to use Revolution Subject: Re: mysql to valentina using libdatabase On Jan 1, 2007, at 6:15 PM, Robert Mann wrote: > ON DoMysqlDump > libdb_getSQLDump ("SuspensionDB","empty" ,"empty" , "true", > "true","empty" , "mysqldump.sql")//tried this with and without the > () no > difference still get error > > END DoMysqlDump libdb_getSQLDump is a function but you are using it like a command. You have to put the value somewhere: put libdb_getSQLDump(...) into myVariable OR get libdb_getSQLDump(...) // puts value into the "it" variable -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From rgould8 at aol.com Mon Jan 1 22:27:09 2007 From: rgould8 at aol.com (rgould8 at aol.com) Date: Mon, 01 Jan 2007 22:27:09 -0500 Subject: Way to read from USB port with Rev? Message-ID: <8C8FC35053DE3ED-8EC-EF3A@FWM-M40.sysops.aol.com> Can anyone tell me if it's possible to write a Revolution app that pulls in data from the USB port? For instance, if I wanted to write an app that could read the barcode info from a USB-based barcode scanner, could I do that with Revolution? (like the "Intelliscanner" from http://www.intelliscanner.com/) I've written apps to read from the COM port before, but I've not tried a USB-port app. ________________________________________________________________________ Check out the new AOL. Most comprehensive set of free safety and security tools, free access to millions of high-quality videos from across the web, free AOL Mail and more. From tsj at unimelb.edu.au Mon Jan 1 23:07:17 2007 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue, 02 Jan 2007 15:07:17 +1100 Subject: use-revolution Digest, Vol 40, Issue 1 In-Reply-To: <20070101180005.79F11488DD6@mail.runrev.com> Message-ID: Great stuff Andre! I love it. Terry... > From: Andre Garzia > Reply-To: How to use Revolution > Date: Sun, 31 Dec 2006 18:35:06 -0200 > To: Improvements to Revolution > Subject: [ANN] RevOnRockets Web Development educational Package! Happy 2007 > everyone. > > Hi Folks, > > it is with imense happyness that I make available what I came to call > RevOnRockets package. This package is a bundle of a web server, > libraries and demos, everyting in 100% transcript. > > The objective is to help the aspiring web developer (and the seasoned > one) to create their web applications, the RevHTTP server runs inside > the Revolution IDE and is able to run text file based cgis as well as > serve files, this alone enables everyone to develop for the web from > inside rev, using the debugger!!! Develop and Test your CGIs from > inside revolution! > > This is of course freeware with source. All code is commented, > specially the webserver code. I give this to this wonderful community > as a token of gratitude for all the years that everyone and his dog > helped me! -- 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 61-3 8344 0187 From ambassador at fourthworld.com Tue Jan 2 01:03:56 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 01 Jan 2007 22:03:56 -0800 Subject: Happy New Year Message-ID: <4599F5CC.9080404@fourthworld.com> It's been surprising this first day of 2007 has almost come to an end without a note of good tidings for the year, so here's one: There's something almost perfect about kicking off the new year with Andre's announcement of RevOnRockets. It's been a long time in the making, and with the ever-growing interest in all things Internet and Andre's enviable energy, I have no doubt it'll have a valuable future. I hope the expansive and generous spirit that gave rise to RevOnRockets may serve to set the tone here on this list and throughout the work each of us does with Rev: May we broaden our horizons, taking ourselves, our companies, and our clients to places we've never been before, and do so easier than we'd imagined through ever greater productivity. Thanks to all of you who've helped me and others here learn and grow to be better Transcripters, better developers, and better people throughout 2006. I look forward to sharing more of that good stuff with y'all in 2007.... -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From palcibiades-first at yahoo.co.uk Tue Jan 2 03:07:41 2007 From: palcibiades-first at yahoo.co.uk (palcibiades-first at yahoo.co.uk) Date: Tue, 2 Jan 2007 08:07:41 +0000 (GMT) Subject: Way to read from USB port with Rev? In-Reply-To: <8C8FC35053DE3ED-8EC-EF3A@FWM-M40.sysops.aol.com> Message-ID: <525063.25997.qm@web86503.mail.ird.yahoo.com> rgould8 at aol.com wrote: Can anyone tell me if it's possible to write a Revolution app that pulls in data from the USB port? For instance, if I wanted to write an app that could read the barcode info from a USB-based barcode scanner, could I do that with Revolution? (like the "Intelliscanner" from http://www.intelliscanner.com/) I've written apps to read from the COM port before, but I've not tried a USB-port app. The way to do this might be to use a bar code reader that looks to the computer like a keyboard. It will not matter if it is USB. Standard ones using the AT connector often go on a Y type connector, so that either the keyboard or the reader can enter data. If you do this, it doesn't matter what the application is or even what the OS is. You do not need any drivers (other than OS support for USB keyboards). You just need the cursor in the correct field, and then any triggers of the reader will put the read code, followed by ENTER, into it, and you handle it as needed. I have not tried this yet in Revolution, but have verified that a Y connected reader which emulates a keyboard will supply data to a spreadsheet in both Windows or Linux, and to any of several word processors, so am sure that if the cursor is in an editable Rev field, the data will arrive. From viktoras at ekoinf.net Tue Jan 2 04:27:27 2007 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Tue, 2 Jan 2007 11:27:27 +0200 (FLE Standard Time) Subject: MySQL truncates diacritic and accented characters... References: Message-ID: <459A257E.000001.02028@MAZYTIS> Happy new year for all and everybody! I know there are MySQL experts on this list :-). The problem I encountered recently with the MySQL 5 is that while loading table from file it truncates all strings in varchar fields that have an accented or diacritic characters (these are names of taxonomists). Thus for example (Lac?p?de, 1803) is truncated to (Lac. Varchar maximum length is set to 255 and the length of the most truncated strings is below 20. Is there an easy way to overcome this misbehavior of the MySQL when populating tables from a file ? Tried using CHARSET utf8 when creating table or field, but it did not help either... Maybe collation would help, but which one - the default causes the truncation ? Best wishes Viktoras From viktoras at ekoinf.net Tue Jan 2 05:45:08 2007 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Tue, 2 Jan 2007 12:45:08 +0200 (FLE Standard Time) Subject: MySQL truncates diacritic and accented characters... References: <459A257E.000001.02028@MAZYTIS> Message-ID: <459A37B3.000001.01780@MAZYTIS> Just solved this issue by using BLOB datatype instead of VARCHAR. However I am still wondering if there are other possible solutions... All the best! Viktoras -------Original Message------- From: Viktoras Didziulis Date: 01/02/07 11:27:52 To: How to use Revolution Subject: MySQL truncates diacritic and accented characters... Happy new year for all and everybody! I know there are MySQL experts on this list :-). The problem I encountered recently with the MySQL 5 is that while loading table from file it truncates all strings in varchar fields that have an accented or diacritic characters (these are names of taxonomists). Thus for example (Lac?p?de, 1803) is truncated to (Lac. Varchar maximum length is set to 255 and the length of the most truncated strings is below 20. Is there an easy way to overcome this misbehavior of the MySQL when populating tables from a file ? Tried using CHARSET utf8 when creating table or field, but it did not help either... Maybe collation would help, but which one - the default causes the truncation ? Best wishes Viktoras _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From mark_powell at symantec.com Tue Jan 2 06:19:09 2007 From: mark_powell at symantec.com (Mark Powell) Date: Tue, 2 Jan 2007 03:19:09 -0800 Subject: Hairlines and Scaling Message-ID: Hi Joe You might also consider the strategy of creating/maintaining the vectors in an oversized stack, say 2000 x 3000 pixels in size, then exporting cards as needed as GIF, JPG or whatever file format your program can scale, print, or otherwise consume. (See the export command in the docs). If you need a more easily viewable image in your native Rev stack, I can imagine a scheme where you create thumbnails for viewing within Rev. However, not sure how you would go about having a more easily *manipulable* (scroll-free) image in Rev. There is no zoom-in capability, ala Illustrator or Photoshop. Mark -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Joe Lewis Wilkins Sent: Monday, January 01, 2007 1:08 AM To: How to use Revolution Subject: Re: Hairlines and Scaling Thanks for your response, Scott. I suppose one method for me to achieve this effect will be to print my output at a 50% magnification. This would reduce one pixel lines to half a pixel. Of course this means that the objects themselves will have to be drawn at twice their size in order to produce an accurately scaled drawing. Using one of my other programming languages I was able to do Hairlines; whether they were 1/2 pixel width or not, I'm not sure; but they looked narrower. FYI, I'm planning to write a program that can be used to create shop drawings of a manufacturer's product by providing digital input, rather than having to actually draw the items. Once I've figured out how to do this it will reduce the time to produce these drawings, properly label and date everything to minutes instead of the days it now takes; even using CAD systems. Again, thanks, Joe Wilkins On Dec 31, 2006, at 11:36 PM, Scott Rossi wrote: > Recently, Joe Lewis Wilkins wrote: > >> Has anyone developed a method of giving graphic objects' lines a >> thickness less than 1 pixel in size? Also, a method of assigning >> other than 72 pixels per inch; preferably 192? > > Rev cannot natively display a "true" line object less than 1 pixel in > thickness since it does not currently support sub-pixel positioning, > but even then, all you might wind up with is a blurred line that > occupies more than 1 pixel in thickness. Are you perhaps trying to > create a scalable display or something else? > > The only way I can think of to accomplish something like this is to > use an image that has space around the line that will antialias when > scaled. Not sure if this helps. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From viktoras at ekoinf.net Tue Jan 2 06:45:25 2007 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Tue, 2 Jan 2007 13:45:25 +0200 (FLE Standard Time) Subject: MySQL truncates diacritic and accented characters... References: <459A37B3.000001.01780@MAZYTIS> Message-ID: <459A45D5.000001.03692@MAZYTIS> Sorry for a monologue, posting just in case somebody encounters similar problem with truncated charsets in MySQL. The other solution is describe field with: myfieldname VARCHAR(45) CHARACTER SET binary and an alternative from: myfieldname VARBINARY(45) However the following won't work - 2 byte characters will still be truncated (even if I change the session's charset to utf8): myfieldname VARCHAR(45) BINARY myfieldname VARCHAR(45) CHARACTER SET utf8 COLLATE utf8_bin BR V. From shaosean at wehostmacs.com Tue Jan 2 07:09:03 2007 From: shaosean at wehostmacs.com (Shao Sean) Date: Tue, 2 Jan 2007 07:09:03 -0500 Subject: [ANN]HMAC-SHA1 Message-ID: Sure Mark like it wasn't fast enough before ;-) From dweeble at wi.rr.com Tue Jan 2 07:19:45 2007 From: dweeble at wi.rr.com (Michael D.) Date: Tue, 2 Jan 2007 06:19:45 -0600 Subject: [ANN] RevOnRockets Web Development educational Package! Happy2007everyone. References: <003401c72d4a$b1a949c0$0300a8c0@upthe> <750DB3AE-6024-4A74-9E65-797DCE5000D9@mac.com> Message-ID: <000801c72e68$4a93dfb0$0300a8c0@upthe> Andre Yes, ran the server with no problems, but I have just touched on it. Looks great, I'll work with it this week. Michael ----- Original Message ----- From: "Andre Garzia" To: "How to use Revolution" Sent: Monday, January 01, 2007 3:01 PM Subject: Re: [ANN] RevOnRockets Web Development educational Package! Happy2007everyone. > Michael, > > Did it worked fine for you? It's quite bare right now, I plan to polish > it as time goes. > > > Cheers > andre > > > On Jan 1, 2007, at 12:15 AM, Michael D. wrote: > >> Double Awesome out loud !! >> Andre, >> I'm one of the aspiring web developers and this is just tremendous ! >> really going to help me out so much. >> Thank You ! >> Have a great 2007 >> Michael >> >> ----- Original Message ----- From: "Andre Garzia" >> To: "Improvements to Revolution" >> Sent: Sunday, December 31, 2006 2:35 PM >> Subject: [ANN] RevOnRockets Web Development educational Package! Happy >> 2007everyone. >> >> >>> Hi Folks, >>> >>> it is with imense happyness that I make available what I came to call >>> RevOnRockets package. This package is a bundle of a web server, >>> libraries and demos, everyting in 100% transcript. >>> >>> The objective is to help the aspiring web developer (and the seasoned >>> one) to create their web applications, the RevHTTP server runs inside >>> the Revolution IDE and is able to run text file based cgis as well as >>> serve files, this alone enables everyone to develop for the web from >>> inside rev, using the debugger!!! Develop and Test your CGIs from >>> inside revolution! >>> >>> This is of course freeware with source. All code is commented, >>> specially the webserver code. I give this to this wonderful community >>> as a token of gratitude for all the years that everyone and his dog >>> helped me! >>> >>> What is included: >>> * RevHTTP - 100% transcript web server with new features and cleaner >>> code. >>> * EasyCGI Core library - a simple library for building text file cgis. >>> * EasySessions - a simple library for session management. >>> * EasyDebug - a error report tool for CGIs. >>> * libCGI compatibilty functions - RevHTTP has a compatible API that >>> allows libCGI based apps to run inside it. >>> * Demos for all libraries and even AJAX demos!!! >>> >>> More documentation is expected as time goes. The demos and the >>> libraries will also have updates. Right now they are very bare but I >>> do like them and use them everyday. >>> >>> Have I mentioned that I commented my code yet? >>> >>> ALL FREE!!!! license is: cannot-blame-the-brazilian-guy-if-it- >>> explodes-public-license 1.0 >>> >>> Have fun! file is here http://andregarzia.com/RevHTTP.zip >>> >>> Launch http.rev and click start! >>> >>> happy 2007 everyone >>> >>> Cheers >>> andre >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mark at maseurope.net Tue Jan 2 07:32:24 2007 From: mark at maseurope.net (Mark Smith) Date: Tue, 2 Jan 2007 12:32:24 +0000 Subject: [ANN] RevOnRockets Web Development educational Package! Happy2007everyone. In-Reply-To: <000801c72e68$4a93dfb0$0300a8c0@upthe> References: <003401c72d4a$b1a949c0$0300a8c0@upthe> <750DB3AE-6024-4A74-9E65-797DCE5000D9@mac.com> <000801c72e68$4a93dfb0$0300a8c0@upthe> Message-ID: <8F638936-9847-44F4-AB59-38A3F384F027@maseurope.net> Ran it here, and tested all the different examples. All worked perfectly... Fantastic job, Andre! Best, Mark From mark at maseurope.net Tue Jan 2 07:38:27 2007 From: mark at maseurope.net (Mark Smith) Date: Tue, 2 Jan 2007 12:38:27 +0000 Subject: [ANN]HMAC-SHA1 In-Reply-To: References: Message-ID: Well, compared to the openssl version (which uses some very efficient assembly language, I think), it's still dog-slow. Still, for many uses it'll be fast enough, I think. Just don't try to produce a digest of War and Peace! :) On 2 Jan 2007, at 12:09, Shao Sean wrote: > Sure Mark like it wasn't fast enough before ;-) > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From pepetoo at Cox.Net Tue Jan 2 10:08:11 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Tue, 2 Jan 2007 07:08:11 -0800 Subject: Hairlines and Scaling In-Reply-To: References: Message-ID: <0BAA9F40-4652-494D-B381-1AC5F48483DA@Cox.Net> Mark, thanks for your thoughts. I'm already working with a 2592x1728 pixel (36"x24" @ 72 pixel per inch) sized stack as a drawing pad, and am trying to figure out a method of moving around either with scroll bars or a hand, and probably some zooming in and out capability. Even drawing with Rev appears to be a little strange; doing it with objects rather than painted lines. Not so obviously, once getting accustomed to this approach, it really makes for a far better documented drawing, with quantities and sizes available for material take-offs; just a slightly different mind-set. If anyone on the list has explored programs that do these sorts of things, I'm all ears! TIA, Joe Wilkins On Jan 2, 2007, at 3:19 AM, Mark Powell wrote: > Hi Joe > > You might also consider the strategy of creating/maintaining the > vectors > in an oversized stack, say 2000 x 3000 pixels in size, then exporting > cards as needed as GIF, JPG or whatever file format your program can > scale, print, or otherwise consume. (See the export command in the > docs). If you need a more easily viewable image in your native Rev > stack, I can imagine a scheme where you create thumbnails for viewing > within Rev. However, not sure how you would go about having a more > easily *manipulable* (scroll-free) image in Rev. There is no zoom-in > capability, ala Illustrator or Photoshop. > > Mark > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Joe > Lewis > Wilkins > Sent: Monday, January 01, 2007 1:08 AM > To: How to use Revolution > Subject: Re: Hairlines and Scaling > > Thanks for your response, Scott. > > I suppose one method for me to achieve this effect will be to print my > output at a 50% magnification. This would reduce one pixel lines to > half > a pixel. Of course this means that the objects themselves will have to > be drawn at twice their size in order to produce an accurately scaled > drawing. Using one of my other programming languages I was able to do > Hairlines; whether they were 1/2 pixel width or not, I'm not sure; but > they looked narrower. FYI, I'm planning to write a program that can be > used to create shop drawings of a manufacturer's product by providing > digital input, rather than having to actually draw the items. Once > I've > figured out how to do this it will reduce the time to produce these > drawings, properly label and date everything to minutes instead of the > days it now takes; even using CAD systems. > > Again, thanks, > > Joe Wilkins > > On Dec 31, 2006, at 11:36 PM, Scott Rossi wrote: > >> Recently, Joe Lewis Wilkins wrote: >> >>> Has anyone developed a method of giving graphic objects' lines a >>> thickness less than 1 pixel in size? Also, a method of assigning >>> other than 72 pixels per inch; preferably 192? >> >> Rev cannot natively display a "true" line object less than 1 pixel in >> thickness since it does not currently support sub-pixel positioning, >> but even then, all you might wind up with is a blurred line that >> occupies more than 1 pixel in thickness. Are you perhaps trying to >> create a scalable display or something else? >> >> The only way I can think of to accomplish something like this is to >> use an image that has space around the line that will antialias when >> scaled. Not sure if this helps. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, Multimedia & Design >> ----- >> E: scott at tactilemedia.com >> W: http://www.tactilemedia.com >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From runrev at animabit.de Tue Jan 2 10:18:08 2007 From: runrev at animabit.de (runrev at animabit.de) Date: Tue, 2 Jan 2007 15:18:08 +0000 Subject: runrev export to pdf Message-ID: Hi, I once downloaded the metacard stack vector2pdf_v02b.mc of Alejandro Tejada http://lists.runrev.com/pipermail/use-revolution/2004-August/041884.html with the function vector2pdf. The pdf result did not fully load in my recent tests. The link http://www.geocities.com/capellan2000/vector2pdf_v02b.zip does not work anymore. My question: Did Alejandro or anyone else continue working in pdf export from metacard or runrev? Any pdf lib abailable? Regards Franz B?hmisch boehmisch at animabit.de http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 From revlist at azurevision.co.uk Tue Jan 2 10:34:53 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Tue, 2 Jan 2007 15:34:53 +0000 Subject: runrev export to pdf In-Reply-To: References: Message-ID: <946A3C4F-8E02-4D71-8959-0A0CA5762D19@azurevision.co.uk> On 2 Jan 2007, at 15:18, runrev at animabit.de wrote: > My question: Did Alejandro or anyone else continue working in pdf > export from metacard or runrev? Any pdf lib abailable? > > Regards > Franz B?hmisch Jan Schenkel has! His PDF library was announced on the list a few weeks ago. Ian On 30 Nov 2006, at 22:58, Jan Schenkel wrote: > Hi All, > > Both at RevCon West and RevCon Malta, the attendees > caught a glimpse of another library for Revolution > developers. It may take me a while longer than I hope > and plan, but I always keep my promises. > > I am happy to announce that Quartam PDF Library has > reached the stage of public beta. > For a quick introduction to the library, visit our > website at the URL : > > It is available for your testing purposes at the > following URL : > > In the meantime I wish you lots of fun with this beta > version -- and I thank you in advance for your > feedback. > > Best regards, > > Jan Schenkel > > Quartam Reports for Revolution > From lists at mangomultimedia.com Tue Jan 2 11:15:58 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 2 Jan 2007 08:15:58 -0800 Subject: mysql to valentina using libdatabase In-Reply-To: References: Message-ID: On Jan 1, 2007, at 7:14 PM, Robert Mann wrote: > I thought it would be just passing the info to the libdb_getSQLDump > function > as in the libdb_registerDatabase libdb_registerDatabase is a command, libdb_getSQLDump is a function. You always have to store the return value of a function somewhere, > I also thought that if you put a value in the last parameter > mysqldump.sql > it would write it to a file That is correct. libdb_getSQLDump will store the contents to a file but you still need to call the function correctly. Try changing your syntax and see if it works. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From rkrivera at earthlink.net Tue Jan 2 12:55:31 2007 From: rkrivera at earthlink.net (Reuben Rivera) Date: Tue, 2 Jan 2007 09:55:31 -0800 Subject: Printing Help in Rev and Standalone Message-ID: Hello, I'd like to have my application built with rev to prompt the user with the standard Mac OS X printer prompt so that they can select the printer they want to use and how many copies they want to make. I've used a couple of of commands but without success after converting it to a standalone application. The commands I have used are: open printing with dialog When I use this command in the standalone (Mac OSX), the prompt will show up once, fail to print and never show up again on future requests to print. I have also used: show RevShowPrintDialog I made sure when selecting the Standalone Settings that I included the the rev print library for this command by selecting it from the "select inclusions for standalone application" button under the standalone settings. When requesting to print a card under this format, I get no prompt at all once the standalone is created. Under both commands, I do get the prompt while in Rev, but not as a standalone. Is there a piece of magic code I am missing? Have I selected the wrong rev library? Is the force not with me? Thanks, Reuben Rivera From devin_asay at byu.edu Tue Jan 2 10:31:13 2007 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 2 Jan 2007 08:31:13 -0700 Subject: No Standalone section in Rev's User Guide In-Reply-To: <45968C4C-31E2-43F6-9639-EF9F920CAC32@mac.com> References: <45968C4C-31E2-43F6-9639-EF9F920CAC32@mac.com> Message-ID: Charles, Not exactly a tutorial, but I have tried to document the standalone builder settings and give a few tips on standalone building here: http://revolution.byu.edu/standalone/Distribution.html It will at least describe the various sections and capabilities of the standalone builder, as well as several properties that can help you deal with differences between platforms. Happy New Year! Devin On Jan 1, 2007, at 5:29 PM, Charles Szasz wrote: > I now at the point of working on the standalone settings for my > project. I was surprised that there is a reference to a section on > deploying standalones in Rev's User Guide but no section! Is there > a tutorial on setting up standalone settings? I know that Dan was > working on a chapter on this but I don't think it has been released. > > > Charles Szasz > cszasz at mac.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Devin Asay Humanities Technology and Research Support Center Brigham Young University From rgould8 at aol.com Tue Jan 2 13:07:01 2007 From: rgould8 at aol.com (rgould8 at aol.com) Date: Tue, 02 Jan 2007 13:07:01 -0500 Subject: Way to read from USB port with Rev? In-Reply-To: <525063.25997.qm@web86503.mail.ird.yahoo.com> Message-ID: <8C8FCAFEFBC2854-1688-5061@FWM-M39.sysops.aol.com> This is great advice - - - say, can you tell me which barcode reader you've tried this with? -----Original Message----- From: palcibiades-first at yahoo.co.uk To: use-revolution at lists.runrev.com Sent: Tue, 2 Jan 2007 3:07 AM Subject: Re: Way to read from USB port with Rev? rgould8 at aol.com wrote: Can anyone tell me if it's possible to write a Revolution app that pulls in data from the USB port? For instance, if I wanted to write an app that could read the barcode info from a USB-based barcode scanner, could I do that with Revolution? (like the "Intelliscanner" from http://www.intelliscanner.com/) I've written apps to read from the COM port before, but I've not tried a USB-port app. The way to do this might be to use a bar code reader that looks to the computer like a keyboard. It will not matter if it is USB. Standard ones using the AT connector often go on a Y type connector, so that either the keyboard or the reader can enter data. If you do this, it doesn't matter what the application is or even what the OS is. You do not need any drivers (other than OS support for USB keyboards). You just need the cursor in the correct field, and then any triggers of the reader will put the read code, followed by ENTER, into it, and you handle it as needed. I have not tried this yet in Revolution, but have verified that a Y connected reader which emulates a keyboard will supply data to a spreadsheet in both Windows or Linux, and to any of several word processors, so am sure that if the cursor is in an editable Rev field, the data will arrive. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ________________________________________________________________________ Check out the new AOL. Most comprehensive set of free safety and security tools, free access to millions of high-quality videos from across the web, free AOL Mail and more. From chipp at chipp.com Tue Jan 2 13:34:04 2007 From: chipp at chipp.com (Chipp Walters) Date: Tue, 2 Jan 2007 12:34:04 -0600 Subject: OT: 2D to 3D Tools -- What Happened to Canoma? In-Reply-To: <45987377.6060905@hindu.org> References: <45986C56.5050604@hindu.org> <45987377.6060905@hindu.org> Message-ID: <7aa52a210701021034k4ac47c91yce68825450831e3e@mail.gmail.com> Sivakatirswami, I own a copy of Canoma. It was pretty hard to use, and worked on only the most basic of images-- nothing like what you are trying to do. There are other prodcts out there which work similarly, and are reasonably priced. Frankly, I always thought of it as an unfinsihed product, even though I paid full retail for it. Adobe was probably right in killing it. -Chipp From chipp at chipp.com Tue Jan 2 13:45:44 2007 From: chipp at chipp.com (Chipp Walters) Date: Tue, 2 Jan 2007 12:45:44 -0600 Subject: OT: 2D to 3D Tools -- What Happened to Canoma? In-Reply-To: <7aa52a210701021034k4ac47c91yce68825450831e3e@mail.gmail.com> References: <45986C56.5050604@hindu.org> <45987377.6060905@hindu.org> <7aa52a210701021034k4ac47c91yce68825450831e3e@mail.gmail.com> Message-ID: <7aa52a210701021045v4f5fe5a6l65b9fdf3f4dba529@mail.gmail.com> Here are a few links I found: Photomodeler: http://www.photomodeler.com/ Photo3D: http://www.photo3d.com/eindex.html 3DSOM Pro: http://www.3dsom.com/download/buy.html RealViz ImageModeler: http://www.realviz.com/3D_modeling_software.htm You may note, all of these (and Canoma) work with multiple photos from the same object. They would not work with a 2D painting. On 1/2/07, Chipp Walters wrote: > Sivakatirswami, > > I own a copy of Canoma. It was pretty hard to use, and worked on only > the most basic of images-- nothing like what you are trying to do. > There are other prodcts out there which work similarly, and are > reasonably priced. > > Frankly, I always thought of it as an unfinsihed product, even though > I paid full retail for it. Adobe was probably right in killing it. > > -Chipp > From mwieder at ahsoftware.net Tue Jan 2 14:16:23 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 2 Jan 2007 11:16:23 -0800 Subject: MySQL truncates diacritic and accented characters... In-Reply-To: <459A37B3.000001.01780@MAZYTIS> References: <459A257E.000001.02028@MAZYTIS> <459A37B3.000001.01780@MAZYTIS> Message-ID: <1168998699.20070102111623@ahsoftware.net> Viktoras- Tuesday, January 2, 2007, 2:45:08 AM, you wrote: > Just solved this issue by using BLOB datatype instead of VARCHAR. However I > am still wondering if there are other possible solutions... I also had to resort to BLOB to handle this. If I remember correctly this is a problem with the runrev db libraries rather than with the database itself, since I could insert the chars outside rev, but my memory may be faulty on this point. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Tue Jan 2 14:25:35 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 2 Jan 2007 11:25:35 -0800 Subject: No Standalone section in Rev's User Guide In-Reply-To: <45968C4C-31E2-43F6-9639-EF9F920CAC32@mac.com> References: <45968C4C-31E2-43F6-9639-EF9F920CAC32@mac.com> Message-ID: <999550903.20070102112535@ahsoftware.net> Charles- Monday, January 1, 2007, 4:29:48 PM, you wrote: > I now at the point of working on the standalone settings for my > project. I was surprised that there is a reference to a section on > deploying standalones in Rev's User Guide but no section! Is there a > tutorial on setting up standalone settings? I know that Dan was > working on a chapter on this but I don't think it has been released. I would also point out that there's updated stuff online: http://www.revdeveloper.com/include/wiki/rev/doku.php?id=en:documentation:revolutionuserguide:revolutionuserguide ...but some of the links lead to things like this: http://www.revdeveloper.com/include/wiki/rev/doku.php?id=en:documentation:revolutionuserguide:the_toolbar -- -Mark Wieder mwieder at ahsoftware.net From rabit at dimensionB.de Tue Jan 2 18:08:15 2007 From: rabit at dimensionB.de (Ralf Bitter) Date: Wed, 3 Jan 2007 00:08:15 +0100 Subject: Altbrowser html page communication with application? Message-ID: <66A5603F-DD39-4CB0-B67F-3E55FEB521F0@dimensionB.de> Hi, as I don't own an Altbrowser license and didn't find anything related in the archives I would like to ask the list members: Is there a way to send a message from an html page, displayed with the help of Altbrowser, to the rev standalone? Are there any events may be triggered by Javascript, which cause the application to receive a message (preferably with parameters attached) from the web page? Ralf Bitter From soapdog at mac.com Tue Jan 2 18:26:49 2007 From: soapdog at mac.com (Andre Garzia) Date: Tue, 2 Jan 2007 21:26:49 -0200 Subject: Altbrowser html page communication with application? In-Reply-To: <66A5603F-DD39-4CB0-B67F-3E55FEB521F0@dimensionB.de> References: <66A5603F-DD39-4CB0-B67F-3E55FEB521F0@dimensionB.de> Message-ID: Ralf, for every link clicked in an altBrowser window, the stack will receive a message, so you can create your hooks like that by using custom links... Cheers andre On Jan 2, 2007, at 9:08 PM, Ralf Bitter wrote: > Hi, > > as I don't own an Altbrowser license and didn't find anything > related in the archives I would like to ask the list members: > Is there a way to send a message from an html page, > displayed with the help of Altbrowser, to the rev standalone? > Are there any events may be triggered by Javascript, which > cause the application to receive a message (preferably with > parameters attached) from the web page? > > > Ralf Bitter > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revlist at azurevision.co.uk Tue Jan 2 18:40:29 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Tue, 2 Jan 2007 23:40:29 +0000 Subject: Altbrowser html page communication with application? In-Reply-To: References: <66A5603F-DD39-4CB0-B67F-3E55FEB521F0@dimensionB.de> Message-ID: You'll just have trouble going in the other direction (standalone to web page). Ian On 2 Jan 2007, at 23:26, Andre Garzia wrote: > Ralf, > > for every link clicked in an altBrowser window, the stack will > receive a message, so you can create your hooks like that by using > custom links... > > Cheers > andre > > On Jan 2, 2007, at 9:08 PM, Ralf Bitter wrote: > >> Is there a way to send a message from an html page, >> displayed with the help of Altbrowser, to the rev standalone? >> Ralf Bitter From robmann at gp-racing.com Tue Jan 2 18:45:37 2007 From: robmann at gp-racing.com (Robert Mann) Date: Tue, 2 Jan 2007 18:45:37 -0500 Subject: mysql to valentina using libdatabase In-Reply-To: Message-ID: <009e01c72ec8$1db24df0$0f00a8c0@roblaptop> I tried both of these and I get "application error handler running low on memory, script aborted" put libdb_getSQLDump ("RecipesDB","empty" ,"empty" , "true","true","empty", "mysqldump.sql") into mysqldump get libdb_getSQLDump ("RecipesDB","empty" ,"empty" , "true","true","empty" "mysqldump.sql") Robert Mann -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Trevor DeVore Sent: Tuesday, January 02, 2007 11:16 AM To: How to use Revolution Subject: Re: mysql to valentina using libdatabase On Jan 1, 2007, at 7:14 PM, Robert Mann wrote: > I thought it would be just passing the info to the libdb_getSQLDump > function > as in the libdb_registerDatabase libdb_registerDatabase is a command, libdb_getSQLDump is a function. You always have to store the return value of a function somewhere, > I also thought that if you put a value in the last parameter > mysqldump.sql > it would write it to a file That is correct. libdb_getSQLDump will store the contents to a file but you still need to call the function correctly. Try changing your syntax and see if it works. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From lists at mangomultimedia.com Tue Jan 2 19:16:14 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 2 Jan 2007 16:16:14 -0800 Subject: mysql to valentina using libdatabase In-Reply-To: <009e01c72ec8$1db24df0$0f00a8c0@roblaptop> References: <009e01c72ec8$1db24df0$0f00a8c0@roblaptop> Message-ID: On Jan 2, 2007, at 3:45 PM, Robert Mann wrote: > I tried both of these and I get "application error handler running > low on > memory, script aborted" > > put libdb_getSQLDump ("RecipesDB","empty" ,"empty" , > "true","true","empty", > "mysqldump.sql") into mysqldump > > get libdb_getSQLDump ("RecipesDB","empty" ,"empty" , > "true","true","empty" > "mysqldump.sql") Hmmm, sounds like an infinite loop. Can you email me a sql dump of your db privately (created using mysql client or some other tool)? -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From jerry at hytext.com Tue Jan 2 20:31:03 2007 From: jerry at hytext.com (Jerry Muelver) Date: Tue, 02 Jan 2007 19:31:03 -0600 Subject: Altbrowser html page communication with application? In-Reply-To: References: <66A5603F-DD39-4CB0-B67F-3E55FEB521F0@dimensionB.de> Message-ID: <459B0757.5060206@hytext.com> Ian Wood wrote: > You'll just have trouble going in the other direction (standalone to web > page). > > Ian > Can the standalone write a temporary HTML file, and point the browser to it for interactive feedback? ---- Jerry From soapdog at mac.com Tue Jan 2 20:34:18 2007 From: soapdog at mac.com (Andre Garzia) Date: Tue, 2 Jan 2007 23:34:18 -0200 Subject: Altbrowser html page communication with application? In-Reply-To: <459B0757.5060206@hytext.com> References: <66A5603F-DD39-4CB0-B67F-3E55FEB521F0@dimensionB.de> <459B0757.5060206@hytext.com> Message-ID: Jerry, better than that, with altBrowser2 (Thanks Chipp and Chris for this amazing product), there's a property htmlText of the altBrowser, you can generate a text string and set altBrowser2 to it without ever touching the disk. I use this for previewing HTML changes on a software of mine. Cheers andre On Jan 2, 2007, at 11:31 PM, Jerry Muelver wrote: > Ian Wood wrote: >> You'll just have trouble going in the other direction (standalone >> to web page). >> Ian > > Can the standalone write a temporary HTML file, and point the > browser to it for interactive feedback? > > ---- Jerry > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From soapdog at mac.com Tue Jan 2 20:48:07 2007 From: soapdog at mac.com (Andre Garzia) Date: Tue, 2 Jan 2007 23:48:07 -0200 Subject: Happy New Year In-Reply-To: <4599F5CC.9080404@fourthworld.com> References: <4599F5CC.9080404@fourthworld.com> Message-ID: Richard, :-) over 100 downloads already, people are not cursing me on the list, so I think it is working! You know that I am just following suit, you and others that set this expansive and generous behaviour for me to follow! Cheers and happy new year Andre On Jan 2, 2007, at 4:03 AM, Richard Gaskin wrote: > > It's been surprising this first day of 2007 has almost come to an > end without a note of good tidings for the year, so here's one: > > There's something almost perfect about kicking off the new year > with Andre's announcement of RevOnRockets. It's been a long time > in the making, and with the ever-growing interest in all things > Internet and Andre's enviable energy, I have no doubt it'll have a > valuable future. > > I hope the expansive and generous spirit that gave rise to > RevOnRockets may serve to set the tone here on this list and > throughout the work each of us does with Rev: > > May we broaden our horizons, taking ourselves, our companies, and > our clients to places we've never been before, and do so easier > than we'd imagined through ever greater productivity. > > Thanks to all of you who've helped me and others here learn and > grow to be better Transcripters, better developers, and better > people throughout 2006. > > I look forward to sharing more of that good stuff with y'all in > 2007.... > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mdswindell at cruzio.com Tue Jan 2 21:33:25 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Tue, 2 Jan 2007 18:33:25 -0800 Subject: How to test Rev in other platforms? Message-ID: <8CE2844C-B67D-47D5-B76B-3ED3A03C69B4@cruzio.com> I just made a standalone of a project I've been working on. It runs fine in OS X (and OS 9). So I borrowed a friend's laptop and ran the Windows exe (I don't have a Windows machine or Windows rev license for Windows). There's a problem, but I can't figure out what's causing it. Is there a way within Rev for a person figure out what's wrong on the Windows side of things without buying a WIndows machine and development environment? Thanks Mark From soapdog at mac.com Tue Jan 2 21:40:18 2007 From: soapdog at mac.com (Andre Garzia) Date: Wed, 3 Jan 2007 00:40:18 -0200 Subject: How to test Rev in other platforms? In-Reply-To: <8CE2844C-B67D-47D5-B76B-3ED3A03C69B4@cruzio.com> References: <8CE2844C-B67D-47D5-B76B-3ED3A03C69B4@cruzio.com> Message-ID: <14F0892D-D2EC-49EA-8C8F-6B0AFD18798E@mac.com> Mark, as a simple way to debug try going to your "standalone settings" and to the "bug" tab, include in your standalone the error report tool and allow it to send an email to you. In this email, you'll see the handler/function where the error happened and maybe a line number or some meaningful data. Andre On Jan 3, 2007, at 12:33 AM, Mark Swindell wrote: > I just made a standalone of a project I've been working on. It > runs fine in OS X (and OS 9). > M > So I borrowed a friend's laptop and ran the Windows exe (I don't > have a Windows machine or Windows rev license for Windows). > There's a problem, but I can't figure out what's causing it. > > Is there a way within Rev for a person figure out what's wrong on > the Windows side of things without buying a WIndows machine and > development environment? > > Thanks > Mark > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mdswindell at cruzio.com Tue Jan 2 21:49:04 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Tue, 2 Jan 2007 18:49:04 -0800 Subject: How to test Rev in other platforms? In-Reply-To: <14F0892D-D2EC-49EA-8C8F-6B0AFD18798E@mac.com> References: <8CE2844C-B67D-47D5-B76B-3ED3A03C69B4@cruzio.com> <14F0892D-D2EC-49EA-8C8F-6B0AFD18798E@mac.com> Message-ID: <711FB9CE-66D7-4534-A032-D2CFE8544A5D@cruzio.com> Thanks, Andre. I'll do that. In this case, however, nothing is "broken," it just doesn't work properly, as it does in development and in the Mac standalones. No error messages would be generated (I don't think.) Mark On Jan 2, 2007, at 6:40 PM, Andre Garzia wrote: > Mark, > > as a simple way to debug try going to your "standalone settings" > and to the "bug" tab, include in your standalone the error report > tool and allow it to send an email to you. In this email, you'll > see the handler/function where the error happened and maybe a line > number or some meaningful data. > > Andre > > On Jan 3, 2007, at 12:33 AM, Mark Swindell wrote: > >> I just made a standalone of a project I've been working on. It >> runs fine in OS X (and OS 9). >> M >> So I borrowed a friend's laptop and ran the Windows exe (I don't >> have a Windows machine or Windows rev license for Windows). >> There's a problem, but I can't figure out what's causing it. >> >> Is there a way within Rev for a person figure out what's wrong on >> the Windows side of things without buying a WIndows machine and >> development environment? >> >> Thanks >> Mark >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From soapdog at mac.com Tue Jan 2 21:55:08 2007 From: soapdog at mac.com (Andre Garzia) Date: Wed, 3 Jan 2007 00:55:08 -0200 Subject: How to test Rev in other platforms? In-Reply-To: <711FB9CE-66D7-4534-A032-D2CFE8544A5D@cruzio.com> References: <8CE2844C-B67D-47D5-B76B-3ED3A03C69B4@cruzio.com> <14F0892D-D2EC-49EA-8C8F-6B0AFD18798E@mac.com> <711FB9CE-66D7-4534-A032-D2CFE8544A5D@cruzio.com> Message-ID: <5CA52896-29A1-464F-89A5-B814E7E70FB8@mac.com> Mark, then it is more difficult... Enterprise licensees (I can't spell in english, you know) will be able to install development environment in all OS... if you're a studio owner and just want to get that standalone working, then, the quickest shot is since you have your friends laptop with you, you can download a studio trial for Win32 and debug it with the trial... don't know.... I am usually doing network stuff where I don't generate standalones. :-) Cheers andre On Jan 3, 2007, at 12:49 AM, Mark Swindell wrote: > Thanks, Andre. I'll do that. > > In this case, however, nothing is "broken," it just doesn't work > properly, as it does in development and in the Mac standalones. No > error messages would be generated (I don't think.) > > Mark > > > On Jan 2, 2007, at 6:40 PM, Andre Garzia wrote: > >> Mark, >> >> as a simple way to debug try going to your "standalone settings" >> and to the "bug" tab, include in your standalone the error report >> tool and allow it to send an email to you. In this email, you'll >> see the handler/function where the error happened and maybe a line >> number or some meaningful data. >> >> Andre >> >> On Jan 3, 2007, at 12:33 AM, Mark Swindell wrote: >> >>> I just made a standalone of a project I've been working on. It >>> runs fine in OS X (and OS 9). >>> M >>> So I borrowed a friend's laptop and ran the Windows exe (I don't >>> have a Windows machine or Windows rev license for Windows). >>> There's a problem, but I can't figure out what's causing it. >>> >>> Is there a way within Rev for a person figure out what's wrong on >>> the Windows side of things without buying a WIndows machine and >>> development environment? >>> >>> Thanks >>> Mark >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From list at dreamscapesoftware.com Tue Jan 2 22:08:10 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Tue, 02 Jan 2007 21:08:10 -0600 Subject: Determining SSL Authenticity Message-ID: <459B1E1A.8080802@dreamscapesoftware.com> Does anyone know how to determine SSL authenticity. For example, if I'm connected to "https://www.somedomain.com/securepage.php", other than the "s" after http, how can I find out the certificate information? Or do I just trust the fact that since the "s" is after "http" that it's secure? Derek Bump Dreamscape Software www.dreamscapesoftware.com From soapdog at mac.com Tue Jan 2 22:12:24 2007 From: soapdog at mac.com (Andre Garzia) Date: Wed, 3 Jan 2007 01:12:24 -0200 Subject: Determining SSL Authenticity In-Reply-To: <459B1E1A.8080802@dreamscapesoftware.com> References: <459B1E1A.8080802@dreamscapesoftware.com> Message-ID: <9AA27B75-25F7-48B6-ABF6-224533C18B52@mac.com> Derek, if the certificate is not valid, the SSL library will return you an error. Actually, in some cases, it returns an error even for valid certificates... I don't know if you can find the certificate information from inside Rev, if you are using MacOS X then you can use cURL or some other unixland tool to query the certificate data but I never tried that. Andre PS: I simply feel like answering emails today... :-) On Jan 3, 2007, at 1:08 AM, Derek Bump wrote: > Does anyone know how to determine SSL authenticity. For example, > if I'm connected to "https://www.somedomain.com/securepage.php", > other than the "s" after http, how can I find out the certificate > information? > > Or do I just trust the fact that since the "s" is after "http" that > it's secure? > > > Derek Bump > Dreamscape Software > www.dreamscapesoftware.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From list at dreamscapesoftware.com Tue Jan 2 23:11:38 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Tue, 02 Jan 2007 22:11:38 -0600 Subject: Determining SSL Authenticity In-Reply-To: <9AA27B75-25F7-48B6-ABF6-224533C18B52@mac.com> References: <459B1E1A.8080802@dreamscapesoftware.com> <9AA27B75-25F7-48B6-ABF6-224533C18B52@mac.com> Message-ID: <459B2CFA.8010902@dreamscapesoftware.com> Andre, Thank you so much for your response. I'm afraid I was a little unclear as to my intentions. I am implementing altBrowser into one of my projects, and unfortunately, altBrowser does not return whether IE knows if the server is secure. I'm looking for a way of determining this within Revolution so I can display that on the screen. I just looked over the built-in documentation for SSL and couldn't find much other than the encrypt and decrypt functions. I need a way to determine if the url that altBrowser is looking at is actually secure. Any ideas? :) Derek Bump Dreamscape Software www.dreamscapesoftware.com Andre Garzia wrote: > Derek, > > if the certificate is not valid, the SSL library will return you an > error. Actually, in some cases, it returns an error even for valid > certificates... I don't know if you can find the certificate information > from inside Rev, if you are using MacOS X then you can use cURL or some > other unixland tool to query the certificate data but I never tried that. > > Andre > PS: I simply feel like answering emails today... :-) > > On Jan 3, 2007, at 1:08 AM, Derek Bump wrote: > >> Does anyone know how to determine SSL authenticity. For example, if >> I'm connected to "https://www.somedomain.com/securepage.php", other >> than the "s" after http, how can I find out the certificate information? >> >> Or do I just trust the fact that since the "s" is after "http" that >> it's secure? >> >> >> Derek Bump >> Dreamscape Software >> www.dreamscapesoftware.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From geoffc at inspiredlogic.com Wed Jan 3 01:27:01 2007 From: geoffc at inspiredlogic.com (Geoff Canyon) Date: Tue, 2 Jan 2007 22:27:01 -0800 Subject: OT: 2D to 3D Tools -- What Happened to Canoma? In-Reply-To: <45986C56.5050604@hindu.org> References: <45986C56.5050604@hindu.org> Message-ID: <4DC13217-C159-4360-8619-5C479989F044@inspiredlogic.com> You might take a look here: http://www.cs.cmu.edu/~dhoiem/projects/popup/index.html It's software by a research team that automatically generates a 3D image from a 2D source. As far as I know, it only works with outside scenes. It works by deciding where the horizon is, and figuring out what should be vertical. There are some amazing images on their web site of a train and a cathedral, both of which went from flat to 3D. regards, Geoff On Dec 31, 2006, at 6:05 PM, Sivakatirswami wrote: > I was naive enough to think that some 3D programs would just import > jpegs > and voila! your giant image library become content resource for games > > But, not so... I then Googled 2d to 3d and found some stuff, most > fascinating was > Canoma, which apparently was purchased by Adobe, but a search at > Adobe's site > doesn't show anything: > > NEED: 2D to 3D software are a reasonable price. > > 3Dsom from UK is nearly $3,000.00 ! > > Another route: does anyone know if and how Adobe incorporated Canoma > into their suite? and how to access those mapping tools? > > Om shanti > (In Peace) > > Sivakatirswami > www.himalayanacademy.com > > Get Hinduism Today Digital Edition. It's Free! > http://www.hinduismtoday.com/digital/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From rkrivera at earthlink.net Wed Jan 3 04:00:47 2007 From: rkrivera at earthlink.net (Reuben Rivera) Date: Wed, 3 Jan 2007 01:00:47 -0800 Subject: Printing Help in Rev and Standalone In-Reply-To: References: Message-ID: <738B60C5-D8C5-4EE6-A97B-020339C1ACB2@earthlink.net> Hello, I've found the problem in my print transcript which cause the "open printing with dialog" to not work properly. You need to "close printing" at the end of the script otherwise you go nowhere. Hope this will help someone else who might run into this novice error. Thanks, Reuben On Jan 2, 2007, at 9:55 AM, Reuben Rivera wrote: > Hello, > I'd like to have my application built with rev to prompt > the user with the standard Mac OS X printer prompt > so that they can select the printer they want to use > and how many copies they want to make. I've used > a couple of of commands but without success after > converting it to a standalone application. The commands > I have used are: > > open printing with dialog > > When I use this command in the standalone (Mac OSX), the prompt > will show up once, fail to print and never show up again on future > requests to print. > > I have also used: > > show RevShowPrintDialog > > I made sure when selecting the Standalone Settings > that I included the the rev print library for this command by > selecting > it from the "select inclusions for standalone application" button > under the > standalone settings. When requesting to print a card under this > format, I get no prompt at all once the standalone is created. > > Under both commands, I do get the prompt while in Rev, but > not as a standalone. Is there a piece of magic code I am > missing? Have I selected the wrong rev library? Is the force > not with me? > > Thanks, > Reuben Rivera > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From luis at anachreon.co.uk Wed Jan 3 05:22:29 2007 From: luis at anachreon.co.uk (Luis) Date: Wed, 03 Jan 2007 10:22:29 +0000 Subject: Determining SSL Authenticity In-Reply-To: <459B2CFA.8010902@dreamscapesoftware.com> References: <459B1E1A.8080802@dreamscapesoftware.com> <9AA27B75-25F7-48B6-ABF6-224533C18B52@mac.com> <459B2CFA.8010902@dreamscapesoftware.com> Message-ID: <459B83E5.2030809@anachreon.co.uk> Hiya, You can request a certificate from the server and parse the results. A sample of a certificate (current X.509 standard) is here: http://en.wikipedia.org/wiki/X.509 Other than that you can probably obtain the appropriate documentation from Certificate providers like Verisign and Thawte. Note that most browsers come with root certificates pre-installed from the major vendors (more info here: http://en.wikipedia.org/wiki/Root_certificate) and they can be used to validate some certificates. Some companies generate their own certificates: In this instance you'd have to make sure a trust is established on which you can then base your checking. Cheers, Luis. Derek Bump wrote: > Andre, > > Thank you so much for your response. I'm afraid I was a little unclear > as to my intentions. I am implementing altBrowser into one of my > projects, and unfortunately, altBrowser does not return whether IE knows > if the server is secure. I'm looking for a way of determining this > within Revolution so I can display that on the screen. > > I just looked over the built-in documentation for SSL and couldn't find > much other than the encrypt and decrypt functions. I need a way to > determine if the url that altBrowser is looking at is actually secure. > > Any ideas? :) > > > Derek Bump > Dreamscape Software > www.dreamscapesoftware.com > > Andre Garzia wrote: >> Derek, >> >> if the certificate is not valid, the SSL library will return you an >> error. Actually, in some cases, it returns an error even for valid >> certificates... I don't know if you can find the certificate >> information from inside Rev, if you are using MacOS X then you can use >> cURL or some other unixland tool to query the certificate data but I >> never tried that. >> >> Andre >> PS: I simply feel like answering emails today... :-) >> >> On Jan 3, 2007, at 1:08 AM, Derek Bump wrote: >> >>> Does anyone know how to determine SSL authenticity. For example, if >>> I'm connected to "https://www.somedomain.com/securepage.php", other >>> than the "s" after http, how can I find out the certificate >>> information? >>> >>> Or do I just trust the fact that since the "s" is after "http" that >>> it's secure? >>> >>> >>> Derek Bump >>> Dreamscape Software >>> www.dreamscapesoftware.com >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From luis at anachreon.co.uk Wed Jan 3 05:34:15 2007 From: luis at anachreon.co.uk (Luis) Date: Wed, 03 Jan 2007 10:34:15 +0000 Subject: Determining SSL Authenticity - Part II In-Reply-To: <459B83E5.2030809@anachreon.co.uk> References: <459B1E1A.8080802@dreamscapesoftware.com> <9AA27B75-25F7-48B6-ABF6-224533C18B52@mac.com> <459B2CFA.8010902@dreamscapesoftware.com> <459B83E5.2030809@anachreon.co.uk> Message-ID: <459B86A7.3090001@anachreon.co.uk> Re-resding your post: I think I've found something closer to your request. http://articles.techrepublic.com.com/5100-1009-6055958.html http://articles.techrepublic.com.com/5100-6350_11-5287634.html Code signing process: http://www.instantssl.com/code-signing/code-signing-process.html?currency=GBP®ion=United+Kingdom&country=GB&entryURL=http%3A//www.instantssl.com/code-signing/&referrerURL=http%3A//www.hackerguardian.com/help/glossary.html Cheers, Luis. Luis wrote: > Hiya, > > You can request a certificate from the server and parse the results. A > sample of a certificate (current X.509 standard) is here: > http://en.wikipedia.org/wiki/X.509 > > Other than that you can probably obtain the appropriate documentation > from Certificate providers like Verisign and Thawte. > > Note that most browsers come with root certificates pre-installed from > the major vendors (more info here: > http://en.wikipedia.org/wiki/Root_certificate) and they can be used to > validate some certificates. > > Some companies generate their own certificates: In this instance you'd > have to make sure a trust is established on which you can then base your > checking. > > Cheers, > > Luis. > > > Derek Bump wrote: >> Andre, >> >> Thank you so much for your response. I'm afraid I was a little >> unclear as to my intentions. I am implementing altBrowser into one of >> my projects, and unfortunately, altBrowser does not return whether IE >> knows if the server is secure. I'm looking for a way of determining >> this within Revolution so I can display that on the screen. >> >> I just looked over the built-in documentation for SSL and couldn't >> find much other than the encrypt and decrypt functions. I need a way >> to determine if the url that altBrowser is looking at is actually secure. >> >> Any ideas? :) >> >> >> Derek Bump >> Dreamscape Software >> www.dreamscapesoftware.com >> >> Andre Garzia wrote: >>> Derek, >>> >>> if the certificate is not valid, the SSL library will return you an >>> error. Actually, in some cases, it returns an error even for valid >>> certificates... I don't know if you can find the certificate >>> information from inside Rev, if you are using MacOS X then you can >>> use cURL or some other unixland tool to query the certificate data >>> but I never tried that. >>> >>> Andre >>> PS: I simply feel like answering emails today... :-) >>> >>> On Jan 3, 2007, at 1:08 AM, Derek Bump wrote: >>> >>>> Does anyone know how to determine SSL authenticity. For example, if >>>> I'm connected to "https://www.somedomain.com/securepage.php", other >>>> than the "s" after http, how can I find out the certificate >>>> information? >>>> >>>> Or do I just trust the fact that since the "s" is after "http" that >>>> it's secure? >>>> >>>> >>>> Derek Bump >>>> Dreamscape Software >>>> www.dreamscapesoftware.com >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From luis at anachreon.co.uk Wed Jan 3 05:42:58 2007 From: luis at anachreon.co.uk (Luis) Date: Wed, 03 Jan 2007 10:42:58 +0000 Subject: Determining SSL Authenticity - Part III In-Reply-To: <459B86A7.3090001@anachreon.co.uk> References: <459B1E1A.8080802@dreamscapesoftware.com> <9AA27B75-25F7-48B6-ABF6-224533C18B52@mac.com> <459B2CFA.8010902@dreamscapesoftware.com> <459B83E5.2030809@anachreon.co.uk> <459B86A7.3090001@anachreon.co.uk> Message-ID: <459B88B2.7010500@anachreon.co.uk> Can't have too much information: http://www.ourshop.com/resources/ssl.html Cheers, Luis. Luis wrote: > Re-resding your post: I think I've found something closer to your request. > > http://articles.techrepublic.com.com/5100-1009-6055958.html > > http://articles.techrepublic.com.com/5100-6350_11-5287634.html > > Code signing process: > http://www.instantssl.com/code-signing/code-signing-process.html?currency=GBP®ion=United+Kingdom&country=GB&entryURL=http%3A//www.instantssl.com/code-signing/&referrerURL=http%3A//www.hackerguardian.com/help/glossary.html > > > Cheers, > > Luis. > > > Luis wrote: >> Hiya, >> >> You can request a certificate from the server and parse the results. A >> sample of a certificate (current X.509 standard) is here: >> http://en.wikipedia.org/wiki/X.509 >> >> Other than that you can probably obtain the appropriate documentation >> from Certificate providers like Verisign and Thawte. >> >> Note that most browsers come with root certificates pre-installed from >> the major vendors (more info here: >> http://en.wikipedia.org/wiki/Root_certificate) and they can be used to >> validate some certificates. >> >> Some companies generate their own certificates: In this instance you'd >> have to make sure a trust is established on which you can then base >> your checking. >> >> Cheers, >> >> Luis. >> >> >> Derek Bump wrote: >>> Andre, >>> >>> Thank you so much for your response. I'm afraid I was a little >>> unclear as to my intentions. I am implementing altBrowser into one >>> of my projects, and unfortunately, altBrowser does not return whether >>> IE knows if the server is secure. I'm looking for a way of >>> determining this within Revolution so I can display that on the screen. >>> >>> I just looked over the built-in documentation for SSL and couldn't >>> find much other than the encrypt and decrypt functions. I need a way >>> to determine if the url that altBrowser is looking at is actually >>> secure. >>> >>> Any ideas? :) >>> >>> >>> Derek Bump >>> Dreamscape Software >>> www.dreamscapesoftware.com >>> >>> Andre Garzia wrote: >>>> Derek, >>>> >>>> if the certificate is not valid, the SSL library will return you an >>>> error. Actually, in some cases, it returns an error even for valid >>>> certificates... I don't know if you can find the certificate >>>> information from inside Rev, if you are using MacOS X then you can >>>> use cURL or some other unixland tool to query the certificate data >>>> but I never tried that. >>>> >>>> Andre >>>> PS: I simply feel like answering emails today... :-) >>>> >>>> On Jan 3, 2007, at 1:08 AM, Derek Bump wrote: >>>> >>>>> Does anyone know how to determine SSL authenticity. For example, >>>>> if I'm connected to "https://www.somedomain.com/securepage.php", >>>>> other than the "s" after http, how can I find out the certificate >>>>> information? >>>>> >>>>> Or do I just trust the fact that since the "s" is after "http" that >>>>> it's secure? >>>>> >>>>> >>>>> Derek Bump >>>>> Dreamscape Software >>>>> www.dreamscapesoftware.com >>>>> _______________________________________________ >>>>> use-revolution mailing list >>>>> use-revolution at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From rabit at dimensionB.de Wed Jan 3 06:08:40 2007 From: rabit at dimensionB.de (Ralf Bitter) Date: Wed, 3 Jan 2007 12:08:40 +0100 Subject: Altbrowser html page communication with application? In-Reply-To: References: <66A5603F-DD39-4CB0-B67F-3E55FEB521F0@dimensionB.de> Message-ID: Andre, does this work with a Javascript object (location) in a function (location.href = "myPage.html") too? If yes, I assume it even works if the Javascript function to load another page is invoked by an event in a app embedded with the help of a browser plugin, or is the user's click on a link essential? Does the stack get the message before the page is displayed? Thanks and sorry for bothering again. Ralf Bitter On 3. Jan 2007, at 00:26, Andre Garzia wrote: > Ralf, > > for every link clicked in an altBrowser window, the stack will > receive a message, so you can create your hooks like that by using > custom links... > > Cheers > andre > From dcragg at lacscentre.co.uk Wed Jan 3 06:43:53 2007 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 3 Jan 2007 11:43:53 +0000 Subject: Determining SSL Authenticity In-Reply-To: <459B2CFA.8010902@dreamscapesoftware.com> References: <459B1E1A.8080802@dreamscapesoftware.com> <9AA27B75-25F7-48B6-ABF6-224533C18B52@mac.com> <459B2CFA.8010902@dreamscapesoftware.com> Message-ID: <63D22173-B7B9-41CD-897A-443FE0FD5CB8@lacscentre.co.uk> On 3 Jan 2007, at 04:11, Derek Bump wrote: > Andre, > > Thank you so much for your response. I'm afraid I was a little > unclear as to my intentions. I am implementing altBrowser into one > of my projects, and unfortunately, altBrowser does not return > whether IE knows if the server is secure. I'm looking for a way > of determining this within Revolution so I can display that on the > screen. I don't know much about the workings of altBrowser, but one possible (and clunky) way would be to check the url from Rev first before having altBrowser display the page. put "https://whatever.com/path" into tTestUrl get url tTestUrl if the result <> empty then ## no good else ## OK so ask altBrowser to display the url end if Or, probably quicker, use the "open secure socket" command to just the server: open secure socket to "whatever.com" with message "openedOK" on openedOK pSocket close socket pSocket ## ask altBroswer to display the url end openedOK on socketError pSocket, pErrString ## no good end socketError One problem is that a failure to get the url or open the socket doesn't necessarily mean the certificate is not secure. You'd have to examine either "the result" from the url call, or pErrString in the socketError handler to be sure. I haven't tried either approach, so be sure to confirm that they do what you want before trusting in them. Cheers Dave From sunshine at public.kherson.ua Wed Jan 3 09:23:22 2007 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed, 03 Jan 2007 16:23:22 +0200 Subject: Import of mySQL text file into Valentina In-Reply-To: <20070102111001.z1zb3gmb6r4swwcw@gp-racing.com> Message-ID: On 07/2/1 6:10 PM, "robmann at gp-racing.com" wrote: Hi Robert, I have check your import COMA-separated file, and reason why after import you get wrong values in columns. Problem is that in text file mySQL show datetime values as 2006-07-17 03:48:43 But in your empty database Valentina you can see that format of date is: MDY Date Separator is: / You need change this to YMD and - To import text file correctly. ---- Meanwhile I see the need improve Valentina, so such issue will not break values in other columns, and we need somehow inform user about such problem of import. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From list at dreamscapesoftware.com Wed Jan 3 11:50:32 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Wed, 03 Jan 2007 10:50:32 -0600 Subject: Determining SSL Authenticity - Part III In-Reply-To: <459B88B2.7010500@anachreon.co.uk> References: <459B1E1A.8080802@dreamscapesoftware.com> <9AA27B75-25F7-48B6-ABF6-224533C18B52@mac.com> <459B2CFA.8010902@dreamscapesoftware.com> <459B83E5.2030809@anachreon.co.uk> <459B86A7.3090001@anachreon.co.uk> <459B88B2.7010500@anachreon.co.uk> Message-ID: <459BDED8.8010604@dreamscapesoftware.com> Thank you Andre, Luis and Dave for your incite, references and suggestions. It looks like I'll be spending the next few days parsing certificates. Something did just occur to me after reading a little... (if I'm wrong in my assumptions then please correct me) 1. Internet Explorer comes preloaded with Certificates. 2. Runtime Revolution does not come preloaded with Certificates. On this basis, if I utilize the following command... open secure socket to "whatever.com" with message "openedOK" ... Revolution will return back some sort of error because Revolution cannot access the Certificates that are pre-installed with Internet Explorer, meanwhile IE will validate the certificate and return an "OK" result (provided it is OK). On the other hand, if IE encounters a bad or unknown certificate, then some sort of error message will come up anyways. IE will automatically take care of the issue and lead the user where they need to go. Would I really be in the wrong if I displayed a lock icon anyways, considering IE's doing all the work? Remember, you can view a page's certificate information in altBrowser by right-clicking it and choosing "Properties" and then clicking "Certificates" (and the properties show's the encryption information anyways). Derek Bump Dreamscape Software www.dreamscapesoftware.com Luis wrote: > Can't have too much information: > > http://www.ourshop.com/resources/ssl.html > > Cheers, > > Luis. > > > Luis wrote: >> Re-resding your post: I think I've found something closer to your >> request. >> >> http://articles.techrepublic.com.com/5100-1009-6055958.html >> >> http://articles.techrepublic.com.com/5100-6350_11-5287634.html >> >> Code signing process: >> http://www.instantssl.com/code-signing/code-signing-process.html?currency=GBP®ion=United+Kingdom&country=GB&entryURL=http%3A//www.instantssl.com/code-signing/&referrerURL=http%3A//www.hackerguardian.com/help/glossary.html >> >> >> Cheers, >> >> Luis. >> >> >> Luis wrote: >>> Hiya, >>> >>> You can request a certificate from the server and parse the results. >>> A sample of a certificate (current X.509 standard) is here: >>> http://en.wikipedia.org/wiki/X.509 >>> >>> Other than that you can probably obtain the appropriate documentation >>> from Certificate providers like Verisign and Thawte. >>> >>> Note that most browsers come with root certificates pre-installed >>> from the major vendors (more info here: >>> http://en.wikipedia.org/wiki/Root_certificate) and they can be used >>> to validate some certificates. >>> >>> Some companies generate their own certificates: In this instance >>> you'd have to make sure a trust is established on which you can then >>> base your checking. >>> >>> Cheers, >>> >>> Luis. >>> >>> >>> Derek Bump wrote: >>>> Andre, >>>> >>>> Thank you so much for your response. I'm afraid I was a little >>>> unclear as to my intentions. I am implementing altBrowser into one >>>> of my projects, and unfortunately, altBrowser does not return >>>> whether IE knows if the server is secure. I'm looking for a way of >>>> determining this within Revolution so I can display that on the screen. >>>> >>>> I just looked over the built-in documentation for SSL and couldn't >>>> find much other than the encrypt and decrypt functions. I need a >>>> way to determine if the url that altBrowser is looking at is >>>> actually secure. >>>> >>>> Any ideas? :) >>>> >>>> >>>> Derek Bump >>>> Dreamscape Software >>>> www.dreamscapesoftware.com >>>> >>>> Andre Garzia wrote: >>>>> Derek, >>>>> >>>>> if the certificate is not valid, the SSL library will return you an >>>>> error. Actually, in some cases, it returns an error even for valid >>>>> certificates... I don't know if you can find the certificate >>>>> information from inside Rev, if you are using MacOS X then you can >>>>> use cURL or some other unixland tool to query the certificate data >>>>> but I never tried that. >>>>> >>>>> Andre >>>>> PS: I simply feel like answering emails today... :-) >>>>> >>>>> On Jan 3, 2007, at 1:08 AM, Derek Bump wrote: >>>>> >>>>>> Does anyone know how to determine SSL authenticity. For example, >>>>>> if I'm connected to "https://www.somedomain.com/securepage.php", >>>>>> other than the "s" after http, how can I find out the certificate >>>>>> information? >>>>>> >>>>>> Or do I just trust the fact that since the "s" is after "http" >>>>>> that it's secure? >>>>>> >>>>>> >>>>>> Derek Bump >>>>>> Dreamscape Software >>>>>> www.dreamscapesoftware.com >>>>>> _______________________________________________ >>>>>> use-revolution mailing list >>>>>> use-revolution at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>>> >>>>> _______________________________________________ >>>>> use-revolution mailing list >>>>> use-revolution at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From dave.cragg at lacscentre.co.uk Wed Jan 3 12:25:48 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 3 Jan 2007 17:25:48 +0000 Subject: Determining SSL Authenticity - Part III In-Reply-To: <459BDED8.8010604@dreamscapesoftware.com> References: <459B1E1A.8080802@dreamscapesoftware.com> <9AA27B75-25F7-48B6-ABF6-224533C18B52@mac.com> <459B2CFA.8010902@dreamscapesoftware.com> <459B83E5.2030809@anachreon.co.uk> <459B86A7.3090001@anachreon.co.uk> <459B88B2.7010500@anachreon.co.uk> <459BDED8.8010604@dreamscapesoftware.com> Message-ID: <41D0408A-336E-4370-878D-B3158FFD8AEC@lacscentre.co.uk> On 3 Jan 2007, at 16:50, Derek Bump wrote: > > 1. Internet Explorer comes preloaded with Certificates. > > 2. Runtime Revolution does not come preloaded with Certificates. > > On this basis, if I utilize the following command... > > open secure socket to "whatever.com" with message "openedOK" > > ... Revolution will return back some sort of error because > Revolution cannot access the Certificates that are pre-installed > with Internet Explorer, I always forget that part. :-) Once upon a time, there was a ".pem" file that was distributed with Rev (perhaps only distributed in an alpha/beta version when secure sockets were first introduced). Setting the sslcertificates property to this file would allow Rev to handle the certificate authentication. I can't find that file on the machine I'm at at the moment, but I seem to remember it no longer worked when I last tried it. But you may be able to find a suitable file somewhere that can be used. Perhaps someone else can help. > meanwhile IE will validate the certificate and return an "OK" > result (provided it is OK). > > On the other hand, if IE encounters a bad or unknown certificate, > then some sort of error message will come up anyways. IE will > automatically take care of the issue and lead the user where they > need to go. A reasonable assumption, I think. Cheers Dave From dave.cragg at lacscentre.co.uk Wed Jan 3 12:42:03 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 3 Jan 2007 17:42:03 +0000 Subject: Determining SSL Authenticity - Part III In-Reply-To: <41D0408A-336E-4370-878D-B3158FFD8AEC@lacscentre.co.uk> References: <459B1E1A.8080802@dreamscapesoftware.com> <9AA27B75-25F7-48B6-ABF6-224533C18B52@mac.com> <459B2CFA.8010902@dreamscapesoftware.com> <459B83E5.2030809@anachreon.co.uk> <459B86A7.3090001@anachreon.co.uk> <459B88B2.7010500@anachreon.co.uk> <459BDED8.8010604@dreamscapesoftware.com> <41D0408A-336E-4370-878D-B3158FFD8AEC@lacscentre.co.uk> Message-ID: <96858DDB-E16E-486D-A263-04B73CACFF8F@lacscentre.co.uk> On 3 Jan 2007, at 17:25, Dave Cragg wrote: > > I always forget that part. :-) > > Once upon a time, there was a ".pem" file that was distributed with > Rev (perhaps only distributed in an alpha/beta version when secure > sockets were first introduced). Setting the sslcertificates > property to this file would allow Rev to handle the certificate > authentication. I can't find that file on the machine I'm at at the > moment, but I seem to remember it no longer worked when I last > tried it. But you may be able to find a suitable file somewhere > that can be used. Perhaps someone else can help. If you're on OS X, you might try this. But be warned! I don't really know what I'm doing. :-) I opened Apple's Keychain app and selected the X509Anchors item. This will list a large number of what I think are Certificate Authority root certificates. I selected all, and from the File menu selected Export.... I chose the Privacy Enhanced Mail (.pem) option and saved the file as "root.pem". In Rev, I set the sslcertificates property to this file. I then tried three https URLs and they all worked. (Clearly a sign of a good year ahead.) My concern is that I selected all the certificates listed in Keychain. I'm not sure if that was wise. Does anyone know? Cheers Dave From jhonken at webdsp.com Wed Jan 3 14:43:31 2007 From: jhonken at webdsp.com (Jeff Honken) Date: Wed, 3 Jan 2007 14:43:31 -0500 Subject: SQLite and Linux SQL Message-ID: <000001c72f6f$73f8f7c0$dc0ab50a@DellLaptop> I'm trying to figure out why the below code works great on windows for creating a SQLITE database but not on Linux. On Linux I get a message that says "revdberr,Database Error: MUST be select SQL!" I've read on a past post that I should be using "revExecuteSQL tConnectionID, tSQLQuery". This is only a very small part of the full code I'm executing to create the database. Before I spend a lot of time can someone confirm that I'm using the wrong syntax on the Create statements. Also why does it work on Windows and not Linux? I'm executing a lot of insert statements "2500 Inserts" in the code so what syntax should I use for Inserts?. Any help would be greatly appreciated. put revdb_connect("sqlite3",x12Provider.db,,,,,"jhonken at xx.com","xxxxxxxxxxx x") into gConID --> Start of Creates for Database put merge("CREATE TABLE AccountEntry (PracticeID TEXT, AccAutoNo INTEGER PRIMARY KEY, ChartNum TEXT, ClaimNum TEXT, DAllowed TEXT, TOS TEXT, POS TEXT, Provider TEXT)") into tSQL put revdb_querylist(,,gConID,tSQL) into tList From mark at maseurope.net Wed Jan 3 14:47:56 2007 From: mark at maseurope.net (Mark Smith) Date: Wed, 3 Jan 2007 19:47:56 +0000 Subject: Determining SSL Authenticity - Part III In-Reply-To: <96858DDB-E16E-486D-A263-04B73CACFF8F@lacscentre.co.uk> References: <459B1E1A.8080802@dreamscapesoftware.com> <9AA27B75-25F7-48B6-ABF6-224533C18B52@mac.com> <459B2CFA.8010902@dreamscapesoftware.com> <459B83E5.2030809@anachreon.co.uk> <459B86A7.3090001@anachreon.co.uk> <459B88B2.7010500@anachreon.co.uk> <459BDED8.8010604@dreamscapesoftware.com> <41D0408A-336E-4370-878D-B3158FFD8AEC@lacscentre.co.uk> <96858DDB-E16E-486D-A263-04B73CACFF8F@lacscentre.co.uk> Message-ID: The one I've been using with https connections (again on OS X) is : /usr/share/curl/curl-ca-bundle.crt which seems to work. Curl again Dave, sorry :) Mark On 3 Jan 2007, at 17:42, Dave Cragg wrote: > > If you're on OS X, you might try this. But be warned! I don't > really know what I'm doing. :-) > > I opened Apple's Keychain app and selected the X509Anchors item. > This will list a large number of what I think are Certificate > Authority root certificates. I selected all, and from the File menu > selected Export.... I chose the Privacy Enhanced Mail (.pem) option > and saved the file as "root.pem". In Rev, I set the sslcertificates > property to this file. I then tried three https URLs and they all > worked. (Clearly a sign of a good year ahead.) > > My concern is that I selected all the certificates listed in > Keychain. I'm not sure if that was wise. Does anyone know? > > Cheers > Dave > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From chris at altuit.com Wed Jan 3 15:28:36 2007 From: chris at altuit.com (chris bohnert) Date: Wed, 3 Jan 2007 14:28:36 -0600 Subject: SQLite and Linux SQL In-Reply-To: <000001c72f6f$73f8f7c0$dc0ab50a@DellLaptop> References: <000001c72f6f$73f8f7c0$dc0ab50a@DellLaptop> Message-ID: <2e0cf4750701031228x211301c6x4b2bf654cf6fa08e@mail.gmail.com> Jeff, A couple of points on this: 1.) For commands that don't return a recordset you're better off calling revdb_execute or its command variant revExecuteSQL. 2.) Orginally altSqlite checked for "select" in queries that we're asking for rowsets to be returned because there were some pragmas that could be executed that would crash rev. That restriction was later removed on the mac and windows versions. 3.) Inserts should use the revdb_execute or revExecuteSQL syntax and can do so without incurring the pragma check -- cb On 1/3/07, Jeff Honken wrote: > > I'm trying to figure out why the below code works great on windows for > creating a SQLITE database but not on Linux. On Linux I get a message > that says "revdberr,Database Error: MUST be select SQL!" I've read on a > past post that I should be using "revExecuteSQL tConnectionID, > tSQLQuery". This is only a very small part of the full code I'm > executing to create the database. Before I spend a lot of time can > someone confirm that I'm using the wrong syntax on the Create > statements. Also why does it work on Windows and not Linux? I'm > executing a lot of insert statements "2500 Inserts" in the code so what > syntax should I use for Inserts?. Any help would be greatly > appreciated. > > > > put > revdb_connect("sqlite3",x12Provider.db,,,,,"jhonken at xx.com","xxxxxxxxxxx > x") into gConID > > > --> Start of Creates for Database > put merge("CREATE TABLE AccountEntry (PracticeID TEXT, AccAutoNo INTEGER > PRIMARY KEY, ChartNum TEXT, ClaimNum TEXT, DAllowed TEXT, TOS TEXT, POS > TEXT, Provider TEXT)") into tSQL > put revdb_querylist(,,gConID,tSQL) into tList > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From dave.cragg at lacscentre.co.uk Wed Jan 3 16:15:32 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 3 Jan 2007 21:15:32 +0000 Subject: Determining SSL Authenticity - Part III In-Reply-To: References: <459B1E1A.8080802@dreamscapesoftware.com> <9AA27B75-25F7-48B6-ABF6-224533C18B52@mac.com> <459B2CFA.8010902@dreamscapesoftware.com> <459B83E5.2030809@anachreon.co.uk> <459B86A7.3090001@anachreon.co.uk> <459B88B2.7010500@anachreon.co.uk> <459BDED8.8010604@dreamscapesoftware.com> <41D0408A-336E-4370-878D-B3158FFD8AEC@lacscentre.co.uk> <96858DDB-E16E-486D-A263-04B73CACFF8F@lacscentre.co.uk> Message-ID: <3E64161A-4498-4E21-A6AC-EC2B280A2C7F@lacscentre.co.uk> On 3 Jan 2007, at 19:47, Mark Smith wrote: > The one I've been using with https connections (again on OS X) is : > > /usr/share/curl/curl-ca-bundle.crt > > which seems to work. It works here too. Thanks for the info. > Curl again Dave, sorry :) No problem. Looking through the Keychain-exported and Curl certificates, I see they share a core of what I guess are the mainstream certificates (Thwaite, etc.), but both have various other stuff. The Curl file says it comes directly from Netscape, which makes me think it's probably good. I've no idea how the certificates get into Apple's Keychain. Did Apple put them all there, or did I OK various messages at times and allow some of them to get there? But I notice the Keychain set includes some US DoD cerificates which I don't see in the Curl file. Should I feel more secure? :-) Cheers Dave From jhonken at webdsp.com Wed Jan 3 16:16:19 2007 From: jhonken at webdsp.com (Jeff Honken) Date: Wed, 3 Jan 2007 16:16:19 -0500 Subject: SQLite and Linux SQL In-Reply-To: <2e0cf4750701031228x211301c6x4b2bf654cf6fa08e@mail.gmail.com> Message-ID: <000901c72f7c$6a5e8ce0$dc0ab50a@DellLaptop> Chris, I've tried using the revdb_execute in the past on this code but it always seems to choke. The queries are very long and I've only had luck with the merge and revdb_querylist. I'm assuming since Rev purchased this code they would have to make the changes for the Linux version to eliminate the restrictions. I'll keep experimenting with getting revdb_execute to work with the queries since I'm still holding my breath for the Linux version of 2.7.X. Thanks, Jeff -----Original Message----- From: chris bohnert [mailto:chris at altuit.com] Sent: Wednesday, January 03, 2007 3:29 PM To: How to use Revolution Subject: Re: SQLite and Linux SQL Jeff, A couple of points on this: 1.) For commands that don't return a recordset you're better off calling revdb_execute or its command variant revExecuteSQL. 2.) Orginally altSqlite checked for "select" in queries that we're asking for rowsets to be returned because there were some pragmas that could be executed that would crash rev. That restriction was later removed on the mac and windows versions. 3.) Inserts should use the revdb_execute or revExecuteSQL syntax and can do so without incurring the pragma check -- cb On 1/3/07, Jeff Honken wrote: > > I'm trying to figure out why the below code works great on windows for > creating a SQLITE database but not on Linux. On Linux I get a message > that says "revdberr,Database Error: MUST be select SQL!" I've read on a > past post that I should be using "revExecuteSQL tConnectionID, > tSQLQuery". This is only a very small part of the full code I'm > executing to create the database. Before I spend a lot of time can > someone confirm that I'm using the wrong syntax on the Create > statements. Also why does it work on Windows and not Linux? I'm > executing a lot of insert statements "2500 Inserts" in the code so what > syntax should I use for Inserts?. Any help would be greatly > appreciated. > > > > put > revdb_connect("sqlite3",x12Provider.db,,,,,"jhonken at xx.com","xxxxxxxxxxx > x") into gConID > > > --> Start of Creates for Database > put merge("CREATE TABLE AccountEntry (PracticeID TEXT, AccAutoNo INTEGER > PRIMARY KEY, ChartNum TEXT, ClaimNum TEXT, DAllowed TEXT, TOS TEXT, POS > TEXT, Provider TEXT)") into tSQL > put revdb_querylist(,,gConID,tSQL) into tList > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From dave at looktowindward.com Wed Jan 3 16:32:05 2007 From: dave at looktowindward.com (Dave) Date: Wed, 3 Jan 2007 21:32:05 +0000 Subject: Blank Window on Standalone???? In-Reply-To: <458B85BD.8090408@harryscollar.com> References: <458B7BE2.20504@pdslabs.net> <458B85BD.8090408@harryscollar.com> Message-ID: Hi, I have a stack that works fine while running under the IDE, however when I build a standalone, the initial window displays but none of the objects inside it do!!!! If I click once anywhere in the window, the contents of the window display ok and everything works as expected! Any Ideas on what is happening??? This was working fine and then modified it and this has started to happen. However I can't how the mods I made could cause this to happen???? Thanks in Advance All the Best Dave From list at dreamscapesoftware.com Wed Jan 3 16:34:51 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Wed, 03 Jan 2007 15:34:51 -0600 Subject: Determining SSL Authenticity - Part III In-Reply-To: <96858DDB-E16E-486D-A263-04B73CACFF8F@lacscentre.co.uk> References: <459B1E1A.8080802@dreamscapesoftware.com> <9AA27B75-25F7-48B6-ABF6-224533C18B52@mac.com> <459B2CFA.8010902@dreamscapesoftware.com> <459B83E5.2030809@anachreon.co.uk> <459B86A7.3090001@anachreon.co.uk> <459B88B2.7010500@anachreon.co.uk> <459BDED8.8010604@dreamscapesoftware.com> <41D0408A-336E-4370-878D-B3158FFD8AEC@lacscentre.co.uk> <96858DDB-E16E-486D-A263-04B73CACFF8F@lacscentre.co.uk> Message-ID: <459C217B.9090105@dreamscapesoftware.com> Dave Cragg wrote: > If you're on OS X, you might try this. But be warned! I don't really > know what I'm doing. :-) Alas, I am not on Mac OS X. Hopefully within the next few months I'll have one, but not yet. But all of this is helping me understand what needs to happen. Thanks! Derek Bump Dreamscape Software www.dreamscapesoftware.com From chipp at chipp.com Wed Jan 3 16:39:36 2007 From: chipp at chipp.com (Chipp Walters) Date: Wed, 3 Jan 2007 15:39:36 -0600 Subject: Altbrowser html page communication with application? In-Reply-To: References: <66A5603F-DD39-4CB0-B67F-3E55FEB521F0@dimensionB.de> Message-ID: <7aa52a210701031339oaf8f2f3q9f99704cf1d4deaf@mail.gmail.com> On 1/3/07, Ralf Bitter wrote: > does this work with a Javascript object (location) in a function > (location.href = "myPage.html") too? If the browser issues a 'BEFORE_NAVIGATE' command, then altBrowser will trap it. > Does the stack get the message before the page is displayed? Yes, you can keep the page from going anywhere by trapping BEFORE_NAVIGATE. You can insert dummy tags to trap user mouseClicks. For instance say you have the html: Click here to beep will fire the XBrowser_BeforeNavigate handler in altBrowser and pass to it as a parameter. on XBrowser_BeforeNavigate purl do pURL end XBrowser_BeforeNavigate executes a beep from Rev w/out navigating away from the current page. At least that's how altBrowser works currently. I can't speak as to how it will be implemented in the future. best, Chipp From rchilderic at free.fr Wed Jan 3 18:24:38 2007 From: rchilderic at free.fr (rchilderic at free.fr) Date: Thu, 04 Jan 2007 00:24:38 +0100 Subject: Bugzilla down - Revzilla loses its mind In-Reply-To: References: <86308719-1090-4B95-A5F5-0F440652B638@califex.com><458C3550.8070706@falconstor.com> Message-ID: <1167866678.459c3b361ce47@imp3-g19.free.fr> Selon Bill Marriott : > Looks like the password is finally gone. The new Quality Control Center is > live now at both the old address and the new one: > > http://quality.runrev.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From rchilderic at free.fr Wed Jan 3 18:25:12 2007 From: rchilderic at free.fr (rchilderic at free.fr) Date: Thu, 04 Jan 2007 00:25:12 +0100 Subject: mysql to valentina using libdatabase In-Reply-To: References: Message-ID: <1167866712.459c3b58a3417@imp3-g19.free.fr> Selon Ruslan Zasukhin : > On 06/29/12 9:16 PM, "Robert Mann" wrote: > > > I have been in contact with Ruslan he has been very helpful and there seems > > to be a bug in valentina studio so it won't do the conversion, > > By ODBC way. Yes, Jochen is back and should check this soon. > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From rchilderic at free.fr Wed Jan 3 18:25:57 2007 From: rchilderic at free.fr (rchilderic at free.fr) Date: Thu, 04 Jan 2007 00:25:57 +0100 Subject: Chipp -- designing Pro Tools plugins interfaces?? In-Reply-To: <7aa52a210612291928m7deaec6cj53f10fa7f32728fe@mail.gmail.com> References: <7aa52a210612291928m7deaec6cj53f10fa7f32728fe@mail.gmail.com> Message-ID: <1167866757.459c3b85077fa@imp3-g19.free.fr> Selon Chipp Walters : > Not my work, though I believe it could be made with ButtonGadget and > Interface Designer quickly. > > Here are a couple new images of products, all created with BG2 and > InterfaceDesigner: > http://www.altuit.com/webs/clients/dvcreators/ThoughtOfficeScreens_big.jpg > http://www.altuit.com/webs/clients/dvcreators/MEGAfyScreens_big.jpg > http://www.altuit.com/webs/clients/dvcreators/ButtonGadgetScreens_big.jpg > > > On 12/28/06, Stephen Barncard wrote: > > CHipp, > > > > is this your work? or made with your tools? > > > > it sure looks like it!! > > sqb > > > > > > http://www.store.neyrinck.com/images/DTSSet.gif > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From rchilderic at free.fr Wed Jan 3 18:27:21 2007 From: rchilderic at free.fr (rchilderic at free.fr) Date: Thu, 04 Jan 2007 00:27:21 +0100 Subject: mysql to valentina using libdatabase In-Reply-To: References: Message-ID: <1167866841.459c3bd96e8e6@imp3-g19.free.fr> Selon Robert Mann : > ok so what is the best way to use libDatabase? > > Robert Mann > > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Stephen > Barncard > Sent: Friday, December 29, 2006 11:59 AM > To: How to use Revolution > Subject: RE: mysql to valentina using libdatabase > > > you might be able to do this db stuff from the message box, but I'd > recommend against it. You need multiple script lines to do this and > using ";" between statements gets pretty unclear fast. > > just create a handler in your stack script and call it from the msg box. > You'll have the advantage of indenting and colorization of the > script, better error reporting, and of course debugging. > > also don't forget to define your globals, especially of the array > you're creating for opening.. > > sqb > > > >I was following the getting started I see the changes now, am I correct > that > >to use liDatabase you input this through the message box? > > > >Robert Mann > > > > > > > -- > stephen barncard > s a n f r a n c i s c o > - - - - - - - - - - - - > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From rchilderic at free.fr Wed Jan 3 18:28:59 2007 From: rchilderic at free.fr (rchilderic at free.fr) Date: Thu, 04 Jan 2007 00:28:59 +0100 Subject: mysql to valentina using libdatabase In-Reply-To: References: Message-ID: <1167866939.459c3c3bc2dd7@imp3-g19.free.fr> Selon Robert Mann : > I was following the getting started I see the changes now, am I correct that > to use liDatabase you input this through the message box? > > Robert Mann > > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Trevor > DeVore > Sent: Friday, December 29, 2006 11:02 AM > To: How to use Revolution > Subject: Re: mysql to valentina using libdatabase > > > On Dec 28, 2006, at 6:52 PM, Robert Mann wrote: > > > trying to convert a mysql database to a valentina database > > searching the > > list I ran across libDatabase and looks like it will do the > > conversion, I am > > just having a hard time figuring out how to use it tried to go > > through the > > getting started, to run this do you put the following in the > > message box? > > > > put "mysql" into tDbA["Type"] > > put "localhost" into tDbA["Host"] > > put "recipes" into tDbA["Name"] > > put "root" into tDbA["Username"] > > put "" into tDbA["Password"] > > > > libDatabase_RegisterDatabase "myrecipesdb", tDbA > > > > libDatabase_Connect "myrecipesdb" > > > > libDatabase_GetDBConnectionID("myrecipesdb") > > Robert, > > It looks like you are using the version 1 syntax. You should > download version 2 of libDatabase if you are just getting started > with it. > > Then syntax in 2.0 would be: > > libdb_registerDatabase "myrecipesdb", tDbA > libdb_connect "myrecipesdb" > put libdb_getConnectionID("myrecipesdb") into theConnectionID > > -- > Trevor DeVore > Blue Mango Learning Systems - www.bluemangolearning.com > trevor at bluemangolearning.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > cessez de remplir ma boite d'inutilite merci!!!!!!!! From dave at looktowindward.com Wed Jan 3 19:20:00 2007 From: dave at looktowindward.com (Dave) Date: Thu, 4 Jan 2007 00:20:00 +0000 Subject: HELP!! Blank Window on Standalone???? In-Reply-To: <458B85BD.8090408@harryscollar.com> References: <458B7BE2.20504@pdslabs.net> <458B85BD.8090408@harryscollar.com> Message-ID: Hi Again, Here is some more info. I am running RunRev 2.6.6.152 under the latest version of Mac OS Tiger. I've noticed that if I him the Window Zoom Button the window resizes and the contents display or the "Send to Dock" button and then bring the window back, the contents also appear. Also clicking in the window causes the contents to appear. I'm really stumped on how even to debug this since it only happens on the Standalone???!!! I have to deliver this demo tomorrow in order to get a contract. It all works fine except it won't display the window in standalone mode until one of the above actions by the user. Any ideas????? HELP!!!!!!! Thanks a lot, All the Best Dave ------------------------------------------------------------------------ --------------------- Hi, I have a stack that works fine while running under the IDE, however when I build a standalone, the initial window displays but none of the objects inside it do!!!! If I click once anywhere in the window, the contents of the window display ok and everything works as expected! Any Ideas on what is happening??? This was working fine and then modified it and this has started to happen. However I can't how the mods I made could cause this to happen???? Thanks in Advance All the Best Dave _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From pepetoo at Cox.Net Wed Jan 3 19:39:37 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Wed, 3 Jan 2007 16:39:37 -0800 Subject: HELP!! Blank Window on Standalone???? In-Reply-To: References: <458B7BE2.20504@pdslabs.net> <458B85BD.8090408@harryscollar.com> Message-ID: <195A1EBE-B03C-495D-BA1A-7F0A4B3E0358@Cox.Net> Hi Dave, Except for the fact that you seem to be in a panic, I wouldn't stick my nose in here. I've yet to try to do a stand-alone application using RR; BUT, I think you should not be so concerned with your client being aware that you have a bug right now. Concentrate on the positive aspects of your program, what it can do for them and don't be so concerned that everything is not working perfectly at this time. Do that and I'm sure you'll get the contract. If you're going to show it to them on a laptop, maybe you can already have it in the "fixed" stage when you open it up. Some things just take a while and they're probably amazed that you've gotten so much done so quickly, anyway. Good luck! Joe Wilkins On Jan 3, 2007, at 4:20 PM, Dave wrote: > Hi Again, > > Here is some more info. I am running RunRev 2.6.6.152 under the > latest version of Mac OS Tiger. I've noticed that if I him the > Window Zoom Button the window resizes and the contents display or > the "Send to Dock" button and then bring the window back, the > contents also appear. Also clicking in the window causes the > contents to appear. > > I'm really stumped on how even to debug this since it only happens > on the Standalone???!!! I have to deliver this demo tomorrow in > order to get a contract. It all works fine except it won't display > the window in standalone mode until one of the above actions by the > user. > > Any ideas????? > > HELP!!!!!!! > > Thanks a lot, > All the Best > Dave > > > ---------------------------------------------------------------------- > ----------------------- > Hi, > > I have a stack that works fine while running under the IDE, however > when I build a standalone, the initial window displays but none of > the objects inside it do!!!! If I click once anywhere in the > window, the contents of the window display ok and everything works > as expected! > > Any Ideas on what is happening??? This was working fine and then > modified it and this has started to happen. However I can't how the > mods I made could cause this to happen???? > > Thanks in Advance > All the Best > Dave > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From hershf at rgllc.us Wed Jan 3 19:55:32 2007 From: hershf at rgllc.us (Hershel Fisch) Date: Wed, 03 Jan 2007 19:55:32 -0500 Subject: Interesting behaviar Message-ID: Hi all I'm wondering and sounds very interesting, if the show invisible menu is checked then the show variable pane opens in an array style (split window) ? Hershel From devin_asay at byu.edu Wed Jan 3 19:30:04 2007 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 3 Jan 2007 17:30:04 -0700 Subject: answer file and aliases Message-ID: Does anyone know if it is possible, in Mac OS X, to use answer file to designate an alias and have the command return the path to the *alias* rather than the path to the aliased file? TIA, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From jacque at hyperactivesw.com Wed Jan 3 21:07:27 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 03 Jan 2007 20:07:27 -0600 Subject: HELP!! Blank Window on Standalone???? In-Reply-To: References: <458B7BE2.20504@pdslabs.net> <458B85BD.8090408@harryscollar.com> Message-ID: <459C615F.4090909@hyperactivesw.com> Dave wrote: > Hi Again, > > Here is some more info. I am running RunRev 2.6.6.152 under the latest > version of Mac OS Tiger. I've noticed that if I him the Window Zoom > Button the window resizes and the contents display or the "Send to Dock" > button and then bring the window back, the contents also appear. Also > clicking in the window causes the contents to appear. > > I'm really stumped on how even to debug this since it only happens on > the Standalone???!!! I have to deliver this demo tomorrow in order to > get a contract. It all works fine except it won't display the window in > standalone mode until one of the above actions by the user. > Any Ideas on what is happening??? This was working fine and then > modified it and this has started to happen. However I can't how the mods > I made could cause this to happen???? It would help to know what modifications you made just before it stopped working. What seems to be happening is that the window is not redrawing after launch, but anything you do that forces the window to redraw will fix the problem (minimizing, clicking in it, etc.) Something similar happened to me once, and it turned out I was trying to load an invisible stack into the current stack window. In other words, I was doing something like this: go invisible stack "stackOne" -- do some initialization stuff go back -- do other stuff go stack "stackOne" in window "currentStack" When the engine tried to load an invisible stack into the current window, the current window appeared to "freeze". The "stackOne" stack never appeared. It was a real stumper until I found the bug and set "stackOne" back to visible before trying to go to it. Are you doing anything remotely similar to that? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From NobelReadr at aol.com Wed Jan 3 22:46:20 2007 From: NobelReadr at aol.com (NobelReadr at aol.com) Date: Wed, 3 Jan 2007 22:46:20 EST Subject: MacWorld Message-ID: <3b8.d0a995f.32cdd28c@aol.com> All: Are there any Revolution Events planned, formally or informally, at the MacWorld show at the Moscone center in San Francisco, CA next week? Are there Rev users attending who would like to get together? Is there going to be a corporate presence there? Anyone coordinating anything? Thanks Ray Raymond G. Harder rayharder at aol.com Office: 909-837-3302 Fax: 909-992-3045 Cell: 626-926-9777 TeamHarder.com From wjm at wjm.org Thu Jan 4 01:10:43 2007 From: wjm at wjm.org (Bill Marriott) Date: Thu, 4 Jan 2007 01:10:43 -0500 Subject: HELP!! Blank Window on Standalone???? References: <458B7BE2.20504@pdslabs.net> <458B85BD.8090408@harryscollar.com> Message-ID: Dave, In the very short time you have before the demo, I would try just hacking it to get the standalone to behave properly. Something like: on openstack send "fixme" to me in 2 sec -- the rest of your openstack handler end openstack on fixme click at 1,1 set the width of this stack to the width of this stack +1 set the width of this stack to the width of this stack -1 revUpdateGeometry -- other stuff that might force the window contents to appear end fixme You can finagle whatever you like in the fixme handler to make things display including resizing the stack, maximizing the window, or whatever it takes. Finding the true cause of the problem could take a lot longer. You might also try downloading the 2.7.4 trial software and seeing if building a standalone in that version eliminates the problem. "Dave" wrote in message news:CB0D0346-CFFC-4B75-B058-8F3747D4E6D7 at looktowindward.com... > Hi Again, > > Here is some more info. I am running RunRev 2.6.6.152 under the latest > version of Mac OS Tiger. I've noticed that if I him the Window Zoom > Button the window resizes and the contents display or the "Send to Dock" > button and then bring the window back, the contents also appear. Also > clicking in the window causes the contents to appear. > > I'm really stumped on how even to debug this since it only happens on the > Standalone???!!! I have to deliver this demo tomorrow in order to get a > contract. It all works fine except it won't display the window in > standalone mode until one of the above actions by the user. > > Any ideas????? > > HELP!!!!!!! > > Thanks a lot, > All the Best > Dave > > > ------------------------------------------------------------------------ > --------------------- > Hi, > > I have a stack that works fine while running under the IDE, however when > I build a standalone, the initial window displays but none of the objects > inside it do!!!! If I click once anywhere in the window, the contents of > the window display ok and everything works as expected! > > Any Ideas on what is happening??? This was working fine and then modified > it and this has started to happen. However I can't how the mods I made > could cause this to happen???? > > Thanks in Advance > All the Best > Dave > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jsng at wayoflife.org Thu Jan 4 07:58:16 2007 From: jsng at wayoflife.org (Jesse Sng) Date: Thu, 4 Jan 2007 20:58:16 +0800 Subject: Automatic tagging of text In-Reply-To: <3b8.d0a995f.32cdd28c@aol.com> References: <3b8.d0a995f.32cdd28c@aol.com> Message-ID: Hi, I'm trying to automate something very repetitive here and I'm wondering if anyone has an example stack that does automatic generation of html anchor tags for email addresses and URLs? I would assume that this would include ensuring that the resulting email address and URIs are properly formed and that checking is done in case some tags are already there - properly dealing with cases like: http://www.runrev.com/ vs www.runrev.com and then taking the appropriate action to http://www.runrev.com/ Has anyone done this yet? We have a situation where we get long text articles and this automatic capability will help tremendously in helping us eliminate the amount of work by hand. Jesse From m.schonewille at economy-x-talk.com Thu Jan 4 08:33:49 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 4 Jan 2007 14:33:49 +0100 Subject: Interesting behaviar In-Reply-To: References: Message-ID: Hershel, This is a bug. Good catch. I'd report it to Bugzi... I mean the Quality Control Center. Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 4-jan-2007, om 1:55 heeft Hershel Fisch het volgende geschreven: > Hi all I'm wondering and sounds very interesting, if the show > invisible menu > is checked then the show variable pane opens in an array style (split > window) ? > Hershel > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dave at looktowindward.com Thu Jan 4 08:35:13 2007 From: dave at looktowindward.com (Dave) Date: Thu, 4 Jan 2007 13:35:13 +0000 Subject: HELP!! Blank Window on Standalone???? In-Reply-To: <195A1EBE-B03C-495D-BA1A-7F0A4B3E0358@Cox.Net> References: <458B7BE2.20504@pdslabs.net> <458B85BD.8090408@harryscollar.com> <195A1EBE-B03C-495D-BA1A-7F0A4B3E0358@Cox.Net> Message-ID: <9A9E133C-8FA1-488C-8DE8-AF5E02C044AA@looktowindward.com> Hi, That just wouldn't have hacked it! I'm competing with other solutions that will almost certainly not have this type of problem. How long it took won't impress them either since this is a fixed price. Anyway, I've found it now, see next email if you are interested. All the Best Dave On 4 Jan 2007, at 00:39, Joe Lewis Wilkins wrote: > Hi Dave, > > Except for the fact that you seem to be in a panic, I wouldn't > stick my nose in here. I've yet to try to do a stand-alone > application using RR; BUT, I think you should not be so concerned > with your client being aware that you have a bug right now. > Concentrate on the positive aspects of your program, what it can do > for them and don't be so concerned that everything is not working > perfectly at this time. Do that and I'm sure you'll get the > contract. If you're going to show it to them on a laptop, maybe you > can already have it in the "fixed" stage when you open it up. > > Some things just take a while and they're probably amazed that > you've gotten so much done so quickly, anyway. Good luck! > > Joe Wilkins > > On Jan 3, 2007, at 4:20 PM, Dave wrote: > >> Hi Again, >> >> Here is some more info. I am running RunRev 2.6.6.152 under the >> latest version of Mac OS Tiger. I've noticed that if I him the >> Window Zoom Button the window resizes and the contents display or >> the "Send to Dock" button and then bring the window back, the >> contents also appear. Also clicking in the window causes the >> contents to appear. >> >> I'm really stumped on how even to debug this since it only happens >> on the Standalone???!!! I have to deliver this demo tomorrow in >> order to get a contract. It all works fine except it won't display >> the window in standalone mode until one of the above actions by >> the user. >> >> Any ideas????? >> >> HELP!!!!!!! >> >> Thanks a lot, >> All the Best >> Dave >> >> >> --------------------------------------------------------------------- >> ------------------------ >> Hi, >> >> I have a stack that works fine while running under the IDE, >> however when I build a standalone, the initial window displays but >> none of the objects inside it do!!!! If I click once anywhere in >> the window, the contents of the window display ok and everything >> works as expected! >> >> Any Ideas on what is happening??? This was working fine and then >> modified it and this has started to happen. However I can't how >> the mods I made could cause this to happen???? >> >> Thanks in Advance >> All the Best >> Dave >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dave at looktowindward.com Thu Jan 4 08:38:08 2007 From: dave at looktowindward.com (Dave) Date: Thu, 4 Jan 2007 13:38:08 +0000 Subject: HELP!! Blank Window on Standalone???? In-Reply-To: <459C615F.4090909@hyperactivesw.com> References: <458B7BE2.20504@pdslabs.net> <458B85BD.8090408@harryscollar.com> <459C615F.4090909@hyperactivesw.com> Message-ID: Hi, That was it! In my stack I call a function that resides in an invisible window, the function is for debugging and in this case just returns since debug is off. However this stops the ***contents*** of the window from displaying! I could understand it if the whole window was invisible but not just the contents???? I've just taken out the debug calls for now, but I would like to keep them in. Any ideas on how to make this work correctly??? All the Best Dave On 4 Jan 2007, at 02:07, J. Landman Gay wrote: > Dave wrote: >> Hi Again, >> Here is some more info. I am running RunRev 2.6.6.152 under the >> latest version of Mac OS Tiger. I've noticed that if I him the >> Window Zoom Button the window resizes and the contents display or >> the "Send to Dock" button and then bring the window back, the >> contents also appear. Also clicking in the window causes the >> contents to appear. >> I'm really stumped on how even to debug this since it only happens >> on the Standalone???!!! I have to deliver this demo tomorrow in >> order to get a contract. It all works fine except it won't display >> the window in standalone mode until one of the above actions by >> the user. > > > >> Any Ideas on what is happening??? This was working fine and then >> modified it and this has started to happen. However I can't how >> the mods I made could cause this to happen???? > > It would help to know what modifications you made just before it > stopped working. What seems to be happening is that the window is > not redrawing after launch, but anything you do that forces the > window to redraw will fix the problem (minimizing, clicking in it, > etc.) > > Something similar happened to me once, and it turned out I was > trying to load an invisible stack into the current stack window. In > other words, I was doing something like this: > > go invisible stack "stackOne" > -- do some initialization stuff > go back > -- do other stuff > go stack "stackOne" in window "currentStack" > > When the engine tried to load an invisible stack into the current > window, the current window appeared to "freeze". The "stackOne" > stack never appeared. It was a real stumper until I found the bug > and set "stackOne" back to visible before trying to go to it. > > Are you doing anything remotely similar to that? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Thu Jan 4 08:41:00 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 4 Jan 2007 14:41:00 +0100 Subject: HELP!! Blank Window on Standalone???? In-Reply-To: References: <458B7BE2.20504@pdslabs.net> <458B85BD.8090408@harryscollar.com> <459C615F.4090909@hyperactivesw.com> Message-ID: <016438D5-B058-4003-BF4B-7F10AFA28523@sosmartsoftware.com> Hi Dave, Just add a condition: if the environment is "development" then end if Le 4 janv. 07 ? 14:38, Dave a ?crit : > Hi, > > That was it! > > In my stack I call a function that resides in an invisible window, > the function is for debugging and in this case just returns since > debug is off. However this stops the ***contents*** of the window > from displaying! I could understand it if the whole window was > invisible but not just the contents???? > > I've just taken out the debug calls for now, but I would like to > keep them in. Any ideas on how to make this work correctly??? Best Regards from Paris, Eric Chatonet ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From dave at looktowindward.com Thu Jan 4 08:41:17 2007 From: dave at looktowindward.com (Dave) Date: Thu, 4 Jan 2007 13:41:17 +0000 Subject: HELP!! Blank Window on Standalone???? In-Reply-To: References: <458B7BE2.20504@pdslabs.net> <458B85BD.8090408@harryscollar.com> Message-ID: Hi, I didn't need this, but THANKS A LOT for the thought. It could have saved my bacon! What a great idea! The stack(s) don't work at all under 2.7.x, since I really don't want to get a license for it at the moment (I'm waiting for the promised bug-fix release), I haven't tried to find out what's wrong. All the Best Dave On 4 Jan 2007, at 06:10, Bill Marriott wrote: > Dave, > > In the very short time you have before the demo, I would try just > hacking it > to get the standalone to behave properly. Something like: > > on openstack > send "fixme" to me in 2 sec > -- the rest of your openstack handler > end openstack > > on fixme > click at 1,1 > set the width of this stack to the width of this stack +1 > set the width of this stack to the width of this stack -1 > revUpdateGeometry > -- other stuff that might force the window contents to appear > end fixme > > You can finagle whatever you like in the fixme handler to make things > display including resizing the stack, maximizing the window, or > whatever it > takes. Finding the true cause of the problem could take a lot longer. > > You might also try downloading the 2.7.4 trial software and seeing if > building a standalone in that version eliminates the problem. > > "Dave" wrote in > message news:CB0D0346-CFFC-4B75- > B058-8F3747D4E6D7 at looktowindward.com... >> Hi Again, >> >> Here is some more info. I am running RunRev 2.6.6.152 under the >> latest >> version of Mac OS Tiger. I've noticed that if I him the Window Zoom >> Button the window resizes and the contents display or the "Send >> to Dock" >> button and then bring the window back, the contents also appear. >> Also >> clicking in the window causes the contents to appear. >> >> I'm really stumped on how even to debug this since it only happens >> on the >> Standalone???!!! I have to deliver this demo tomorrow in order to >> get a >> contract. It all works fine except it won't display the window in >> standalone mode until one of the above actions by the user. >> >> Any ideas????? >> >> HELP!!!!!!! >> >> Thanks a lot, >> All the Best >> Dave >> >> >> --------------------------------------------------------------------- >> --- >> --------------------- >> Hi, >> >> I have a stack that works fine while running under the IDE, >> however when >> I build a standalone, the initial window displays but none of the >> objects >> inside it do!!!! If I click once anywhere in the window, the >> contents of >> the window display ok and everything works as expected! >> >> Any Ideas on what is happening??? This was working fine and then >> modified >> it and this has started to happen. However I can't how the mods I >> made >> could cause this to happen???? >> >> Thanks in Advance >> All the Best >> Dave >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From JimCarwardine at OwnYourFuture-net.com Thu Jan 4 09:04:34 2007 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Thu, 04 Jan 2007 10:04:34 -0400 Subject: [OT] Adobe Apps for MacIntel In-Reply-To: <4DC13217-C159-4360-8619-5C479989F044@inspiredlogic.com> Message-ID: Does anyone have any insight on what Adobe plans to do with their upgrade from Creative Suite 2 to 3? I just bought CS2 without realizing that it wasn't yet MacIntel compatible. With further research I discovered that they brought a beta version of Photoshop out in December that was a free upgrade if had recently bought the CS2 version but that they want full price for the full CS3 version when it comes out regardless of when you bought CS2. I could find no mention of the other apps in the suite. Does anyone know if the entire CS is being published in April 07? Apparently Adobe says CS3 is such a massive upgrade that they do not want to honour their upgrade policy for recent buyers of CS2. I did read that they have some kind of 45 day window after purchase when that can happen but it is unclear if they are waiving that policy as well and April is more than 45 days out. Now, because I opened the package, I may be stuck with old software and no options but to buy it again to get the CS3 version. Any insights on exactly what Adobe intends to do? Jim -- www.TalentSeeker.ca www.HiringSmart.ca/ns www.KeepingTheBest.ca/ns Own Your Future Consulting Services Limited, 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From rabit at dimensionB.de Thu Jan 4 09:06:49 2007 From: rabit at dimensionB.de (Ralf Bitter) Date: Thu, 4 Jan 2007 15:06:49 +0100 Subject: Altbrowser html page communication with application? In-Reply-To: <7aa52a210701031339oaf8f2f3q9f99704cf1d4deaf@mail.gmail.com> References: <66A5603F-DD39-4CB0-B67F-3E55FEB521F0@dimensionB.de> <7aa52a210701031339oaf8f2f3q9f99704cf1d4deaf@mail.gmail.com> Message-ID: <0D56984B-9858-4B11-AA57-2120F5655E6A@dimensionB.de> Thanks to all who answered my questions. I really appriciate your helpfulness. The biggest problem now seems to be to get a license of altBrowser. And Chipp, are you aware of any circumstances, which prevent the browser from issuing a 'BEFORE_NAVIGATE' comand? On 3. Jan 2007, at 22:39, Chipp Walters wrote: > On 1/3/07, Ralf Bitter wrote: > >> does this work with a Javascript object (location) in a function >> (location.href = "myPage.html") too? > > If the browser issues a 'BEFORE_NAVIGATE' command, then altBrowser > will trap it. Ralf Bitter From wjm at wjm.org Thu Jan 4 09:55:57 2007 From: wjm at wjm.org (Bill Marriott) Date: Thu, 4 Jan 2007 09:55:57 -0500 Subject: [OT] Adobe Apps for MacIntel References: <4DC13217-C159-4360-8619-5C479989F044@inspiredlogic.com> Message-ID: Jim, CS2 is MacIntel compatible; it's just not MacIntel *optimized*. Almost all EULAs state that if you do not accept the terms of the licensing agreement you may return the package for a full refund. Depending on how recently you purchased and installed CS2, it may well be plausible to return it for the reason you do not accept the EULA. You generally must open the shrinkwap and attempt installation in order to view the EULA. Also, some retailers have more liberal return policies for purchases made during the holiday season. ("I was really excited when Auntie May got me CS2 but it just runs too slowly on my system.") Amazon will accept returns through Jan 31 for purchases shipped Nov 1 - Dec 31. http://www.amazon.com/gp/help/customer/display.html?nodeId=15015711 Amazon will also refund software purchases. If the software has been opened they reserve the option to give a "partial" refund (typically 90%) but in practice it's usually 100% if you have all the material. All good reasons to buy from Amazon. Adobe announced that PhotoShop CS3 would be shipping in "Spring 2007" on Dec 14. Their policy in the past has always been to give free upgrades to people who purchased after the announcement and/or within 30 days of shipping the new version. However, they were mum in this press release about the overall CS3 Suite. http://www.adobe.com/aboutadobe/pressroom/pressreleases/200612/121406Photoshop.html I recently called Adobe to discuss my upgrade options (I'm a CS2.0 Premium user) and they didn't have any specifics on the CS3 suite release date. Basically they told me that there would be a new suite to accommodate PhotoShop CS3 but they didn't have any information on which of the other products would be updated. Hope this helps, Bill "Jim Carwardine" wrote in message news:C1C281B2.921F%JimCarwardine at OwnYourFuture-net.com... > Does anyone have any insight on what Adobe plans to do with their upgrade > from Creative Suite 2 to 3? From chipp at chipp.com Thu Jan 4 10:18:12 2007 From: chipp at chipp.com (Chipp Walters) Date: Thu, 4 Jan 2007 09:18:12 -0600 Subject: Altbrowser html page communication with application? In-Reply-To: <0D56984B-9858-4B11-AA57-2120F5655E6A@dimensionB.de> References: <66A5603F-DD39-4CB0-B67F-3E55FEB521F0@dimensionB.de> <7aa52a210701031339oaf8f2f3q9f99704cf1d4deaf@mail.gmail.com> <0D56984B-9858-4B11-AA57-2120F5655E6A@dimensionB.de> Message-ID: <7aa52a210701040718r6c36c870s7fcaff7fa6707931@mail.gmail.com> No, but I am sure there may be. Perhaps Chris knows. Since we don't sell altBrowser anymore, you might try contacting HeatherAtRunrevDotCom and see if she can't help you out with an interim solution. best, Chipp On 1/4/07, Ralf Bitter wrote: > And Chipp, are you aware of any circumstances, which prevent the > browser from issuing a 'BEFORE_NAVIGATE' comand? From rpresender at cox.net Thu Jan 4 10:21:25 2007 From: rpresender at cox.net (Robert Presender) Date: Thu, 4 Jan 2007 07:21:25 -0800 Subject: Tab Key vs Field Message-ID: <4905bda767db2bb71dbe842c51fe1098@cox.net> Hi, Using XP home and Rev 2.7.4 enterprise. Can't figure this one out: I have a main stack file with many substacks. In any substack, there are many fields and other objects but I can't use the tab key to go from one field to the next. The autoTab works OK. For example in a test substack, I have 3 text entry fields numbered 1,2 and 3 and corresponding layers 1,2 and 3. No scripts in the substack or fields. TraversalOn, no lockText in each field. Enter text in fld 1,hit tab key nothing happens. I worked around this by using a closeField handler in each field which selects the next field. Hitting the tab key selects the next field. Set up autoTab and can go from one fld to the next with enter or return. Set up a new main stack file and a substack. Create three fields as above, tab key goes from one field to the next OK I reviewed the "How to" of ver 2.2 re tabbing but couldn't find an answer. Any thoughts about this? Regards ... Bob From chipp at chipp.com Thu Jan 4 10:32:13 2007 From: chipp at chipp.com (Chipp Walters) Date: Thu, 4 Jan 2007 09:32:13 -0600 Subject: Tab Key vs Field In-Reply-To: <4905bda767db2bb71dbe842c51fe1098@cox.net> References: <4905bda767db2bb71dbe842c51fe1098@cox.net> Message-ID: <7aa52a210701040732k44bbe9c1ha36fbf595c56f4a9@mail.gmail.com> Hi Bob, Hope you're doing well. Sometimes developers want the field to 'eat' the tab and advance the cursor to the next tabstop in the same field. This is why sometimes the tab doesn't advance to the next field when the cursor is inserted. Check your tabstops for your fields. If they are not empty, then that's your problem. Also, you might want to check and see if your fields are within overlapping groups. I seem to remember a bug involving autotabbing and overlapping groups-- though it may have been fixed. best, Chipp From pevensen at siboneylg.com Thu Jan 4 10:36:47 2007 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 04 Jan 2007 09:36:47 -0600 Subject: ctrl-2 has stopped working Message-ID: <6.2.1.2.2.20070104093501.04de3b70@exchange.slg.com> This doesn't appear to be a Revolution problem. I was wondering if anyone out there would have any idea why ctrl-2 would stop working. I though it was the new Revolution release, but I just discovered it doesn't work in 2.6.1, where I KNOW it used to. I used to all the time. I tried a different keyboard, I got rid of the AB switch. The only think I can think of is that I installed something that is grabbing that key combo for some unknow reaons. Does anyone have any ideas? Thanks! Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 From JimAultWins at yahoo.com Thu Jan 4 10:47:59 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 04 Jan 2007 07:47:59 -0800 Subject: Automatic tagging of text In-Reply-To: Message-ID: On 1/4/07 4:58 AM, "Jesse Sng" wrote: > I'm trying to automate something very repetitive here and I'm > wondering if anyone has an example stack that does automatic > generation of html anchor tags for email addresses and URLs? > > I would assume that this would include ensuring that the resulting > email address and URIs are properly formed and that checking is done > in case some tags are already there - properly dealing with cases > like: http://www.runrev.com/ vs www.runrev.com and then taking the > appropriate action to href="http://www.runrev.com/">http://www.runrev.com/ > > Has anyone done this yet? We have a situation where we get long text > articles and this automatic capability will help tremendously in > helping us eliminate the amount of work by hand. This is a basic start for you since your source text may have a few gotchas. (not tested, just typed, so watch for any typos and as usual, your mileage may vary.) put incomingText into linkList replace cr with empty in linkList -- kill returns replace ".com" with ".com"&cr in linkList --if there were 5 links, you now have 6 lines in linkList delete line -1 of linkList repeat for each line LNN in linkList put word -1 of LNN &cr after newLinkList end repeat delete last char of newLinkList put newLinkList into linkList put empty into newLinkList replace "http://" with empty in linkList replace "www." with empth in linkList --now we should only have the base URL for all lines put quote into q repeat for each line LNN of newLinkList get ("http://www."&LNN&"/") put it & cr after newLinkList end repeat delete last char of newLinkList use the same approach for the emails by put incomingText into emailList replace cr with empty in emailList replace "@" with "@"& cr in emailList repeat with x = 1 to the number of lines in emailList put word -1 of line x & word 1 of line x+1 & cr after newEmailList end repeat delete last char of newEmailList Jim Ault Las Vegas From revlist at azurevision.co.uk Thu Jan 4 10:49:40 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Thu, 4 Jan 2007 15:49:40 +0000 Subject: [OT] Adobe Apps for MacIntel In-Reply-To: References: Message-ID: <5192418E-0D73-4B5B-A2D3-E101FBADC1C2@azurevision.co.uk> On 4 Jan 2007, at 14:04, Jim Carwardine wrote: > With further research I discovered that they brought a beta version of > Photoshop out in December that was a free upgrade if had recently > bought the > CS2 version but that they want full price for the full CS3 version > when it > comes out regardless of when you bought CS2. The CS3 beta is limited to 2 days if you don't have a CS2 licence, and 30 days even if you *do* have a CS2 licence. So there's no free upgrades involved with the beta anyway. > I could find no mention of the other apps in the suite. Does > anyone know if > the entire CS is being published in April 07? They've been remarkably quite about the rest of the suite, we still don't even know what apps from Adobe 7 Macromedia are going to be carried forwards... > Apparently Adobe says CS3 is such a massive upgrade that they do > not want to > honour their upgrade policy for recent buyers of CS2. There's a certain amount of truth in that, as far as I know it's been pretty much re-written to be MacIntel & Vista compatible. And BOY does it make a difference on an Intel Mac! CS2 launch on a MBP is 20-25s, CS3 is 4-5s. > Now, because I opened the package, I may be stuck with old software > and no > options but to buy it again to get the CS3 version. At the very worst you'd have to buy an upgrade, like the rest of us who have older copies of CS2. I can't believe that Adobe are insane enough to make everyone buy Photoshop again from scratch. There are likely to be all sorts of different bundles, though, what with LightRoom, Bridge etc. Ian P.S. On a slightly related note - anyone who has even a slight interest in photography should download the trial versions of both Apple Aperture and Adobe LightRoom, very interesting to analyse from a GUI design perspective... From tbandi at swissonline.ch Thu Jan 4 10:58:24 2007 From: tbandi at swissonline.ch (Till Bandi) Date: Thu, 4 Jan 2007 16:58:24 +0100 Subject: HyperCard conversion - no more? Message-ID: I wanted to convert an old Hypercard stack but found out, that the manual doesn't seem to be correct anymore: "Open Stack... Opens the main stack whose file you select. If you select a HyperCard file, it is automatically converted into a Revolution main stack. " This does not work. I went back to version 2.5.1 an there it worked. Was that announced? From SimPLsol at aol.com Thu Jan 4 11:17:29 2007 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Thu, 4 Jan 2007 11:17:29 EST Subject: HyperCard conversion - no more? Message-ID: I converted some HC stacks on Tuesday using Rev 2.7.2. What error messages are you getting? Paul Looney From devin_asay at byu.edu Thu Jan 4 11:26:42 2007 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 4 Jan 2007 09:26:42 -0700 Subject: HyperCard conversion - no more? In-Reply-To: References: Message-ID: Till, This is supposed to still work in 2.7. I just did it successfully last night. Check your openStack, openCard or startUp handlers in the stack you are converting. There may be something happening there that Revolution doesn't like. Is there an error dialog generated? Or does nothing at all happen? Devin On Jan 4, 2007, at 8:58 AM, Till Bandi wrote: > I wanted to convert an old Hypercard stack but found out, that the > manual doesn't seem to be correct anymore: > > "Open Stack... Opens the main stack whose file you select. If you > select a > HyperCard file, it is automatically converted into a Revolution > main stack. " > > This does not work. I went back to version 2.5.1 an there it > worked. Was that announced? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Devin Asay Humanities Technology and Research Support Center Brigham Young University From jacque at hyperactivesw.com Thu Jan 4 13:08:00 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 04 Jan 2007 12:08:00 -0600 Subject: HyperCard conversion - no more? In-Reply-To: References: Message-ID: <459D4280.9030900@hyperactivesw.com> Till Bandi wrote: > I wanted to convert an old Hypercard stack but found out, that the > manual doesn't seem to be correct anymore: > > "Open Stack... Opens the main stack whose file you select. If you select a > HyperCard file, it is automatically converted into a Revolution > main stack. " > > This does not work. I went back to version 2.5.1 an there it worked. Was > that announced? There was a bug in one of the very early releases of 2.7.x that accidentally turned this feature off. It was restored in the next release. You may be using the version where it is broken. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From cmsheffield at gmail.com Thu Jan 4 13:14:53 2007 From: cmsheffield at gmail.com (Chris Sheffield) Date: Thu, 4 Jan 2007 11:14:53 -0700 Subject: move a palette stack along with another stack Message-ID: <4A261921-150D-4584-B545-79E010FEE28D@gmail.com> Does anyone know if it's possible to do this in real time? I know about the moveStack message, which I can successfully use to "snap" the palette stack into place (because the message is not sent until after the move is done), but I'd like it better if the palette actually moved right along with the window I'm dragging. Is it possible without rolling my own title bar, etc.? Thanks, Chris ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From Roger.E.Eller at sealedair.com Thu Jan 4 14:05:23 2007 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Thu, 4 Jan 2007 14:05:23 -0500 Subject: move a palette stack along with another stack Message-ID: On 01/04/2007 at 01:14 PM, Chris Sheffield wrote: > Does anyone know if it's possible to do this in real time? On Windows, the pallette will smoothly follow the main window. On OS X, the pallette will snap to the main window when the mousebutton is released (after dragging). As far as I know, this is an OS level behavior. Just add this to your stack script: (modify position as needed) on moveStack set the topLeft of stack "myPallette" to (item 1 of the topRight of me)+10,(item 2 of the topRight of me) end moveStack Roger Eller From JimCarwardine at OwnYourFuture-net.com Thu Jan 4 14:18:53 2007 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Thu, 04 Jan 2007 15:18:53 -0400 Subject: [OT] Adobe Apps for MacIntel In-Reply-To: <5192418E-0D73-4B5B-A2D3-E101FBADC1C2@azurevision.co.uk> Message-ID: I just returned my CS2 stuff this morning, no problem once I got past the rules-driven worker bee and got to the store manager. They tell me April 07 for the full CS3 but it is hard to imagine if Adobe are only talking about Photoshop. One of the bits of trivia I learned is just how much of the mainstream software, such as MS office, are being emulated on Rosetta. My impression is that very little non-Apple software is Universal... Jim on 1/4/07 11:49 AM, Ian Wood wrote: > > On 4 Jan 2007, at 14:04, Jim Carwardine wrote: > >> With further research I discovered that they brought a beta version of >> Photoshop out in December that was a free upgrade if had recently >> bought the >> CS2 version but that they want full price for the full CS3 version >> when it >> comes out regardless of when you bought CS2. > > The CS3 beta is limited to 2 days if you don't have a CS2 licence, > and 30 days even if you *do* have a CS2 licence. So there's no free > upgrades involved with the beta anyway. > >> I could find no mention of the other apps in the suite. Does >> anyone know if >> the entire CS is being published in April 07? > > They've been remarkably quite about the rest of the suite, we still > don't even know what apps from Adobe 7 Macromedia are going to be > carried forwards... > >> Apparently Adobe says CS3 is such a massive upgrade that they do >> not want to >> honour their upgrade policy for recent buyers of CS2. > > There's a certain amount of truth in that, as far as I know it's been > pretty much re-written to be MacIntel & Vista compatible. > And BOY does it make a difference on an Intel Mac! CS2 launch on a > MBP is 20-25s, CS3 is 4-5s. > >> Now, because I opened the package, I may be stuck with old software >> and no >> options but to buy it again to get the CS3 version. > > At the very worst you'd have to buy an upgrade, like the rest of us > who have older copies of CS2. I can't believe that Adobe are insane > enough to make everyone buy Photoshop again from scratch. There are > likely to be all sorts of different bundles, though, what with > LightRoom, Bridge etc. > > Ian > > P.S. On a slightly related note - anyone who has even a slight > interest in photography should download the trial versions of both > Apple Aperture and Adobe LightRoom, very interesting to analyse from > a GUI design perspective... > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- www.TalentSeeker.ca www.HiringSmart.ca/ns www.KeepingTheBest.ca/ns Own Your Future Consulting Services Limited, 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From revlist at azurevision.co.uk Thu Jan 4 15:07:44 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Thu, 4 Jan 2007 20:07:44 +0000 Subject: [OT] Adobe Apps for MacIntel In-Reply-To: References: Message-ID: On 4 Jan 2007, at 19:18, Jim Carwardine wrote: > I just returned my CS2 stuff this morning, no problem once I got > past the > rules-driven worker bee and got to the store manager. They tell me > April 07 > for the full CS3 but it is hard to imagine if Adobe are only > talking about > Photoshop. That's good to hear! > One of the bits of trivia I learned is just how much of the mainstream > software, such as MS office, are being emulated on Rosetta. My > impression > is that very little non-Apple software is Universal... Jim MS, and Adobe. Pretty well everything else is Intel-native by now. Ian From robmann at gp-racing.com Thu Jan 4 16:28:36 2007 From: robmann at gp-racing.com (Robert Mann) Date: Thu, 4 Jan 2007 16:28:36 -0500 Subject: Normalizing a MYQL database Message-ID: <004301c73047$513a3950$0f00a8c0@roblaptop> I have several large tables in this MSQL database and with the help from Ruslan I understand why I need to normalize these tables, Is there a tool to help me do the normalization? One of the tables has 580 or so fields and some 300 records Thanks Robert Mann From lynn at paradigmasoft.com Thu Jan 4 18:49:24 2007 From: lynn at paradigmasoft.com (Lynn Fredricks) Date: Thu, 4 Jan 2007 15:49:24 -0800 Subject: MacWorld In-Reply-To: <3b8.d0a995f.32cdd28c@aol.com> Message-ID: <003601c7305b$03ffee50$6501a8c0@lynn> > Are there any Revolution Events planned, formally or > informally, at the MacWorld show at the Moscone center in San > Francisco, CA next week? > > Are there Rev users attending who would like to get together? > Is there going to be a corporate presence there? Anyone > coordinating anything? Guy and Mark W are organizing a dinner get together. Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution, Ltd From gandalf at doctorTimothyMiller.com Thu Jan 4 20:05:47 2007 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Thu, 4 Jan 2007 17:05:47 -0800 Subject: sorting by mixed fields In-Reply-To: References: <5089A5B0-6401-41AF-86CC-983FFB975F14@doctortimothyMiller.com> Message-ID: Okay, I get it. That will do the trick. I keep forgetting that more than one group can appear on the same card. I'm obviously a hyperCard holdover. I've never tried to place a group on multiple cards, which may or may not contain other backgrounds, but it's probably not very hard. Thanks, Tim On Dec 31, 2006, at 6:51 PM, Bill Marriott wrote: > I'm not sure I understand your situation clearly, but what I would > do is to > create a background common to all cards called "MasterSequence" > which checks > whatever variations of fields might be on the card (i.e., the > "card" level > Sequence field and the "bg" level Sequence field) and determines the > appropriate index value. Then you can easily and unambiguously sort > by that > field. > > Timothy Miller asks, >> My question: Given the foregoing, what happens if I try to sort >> cards by >> field "sequence" ? Can this work? >> >> The collateral question: If this has any chance of working, should >> I sort >> cards by: >> >> field "sequence" ? or >> bg field "sequence" ? >> >> Would it be better to set a customkey? E.g., "set the >> sequenceNumber of >> this card to 522" ? >> >> Can I sort cards by a customKey? > From JimAultWins at yahoo.com Thu Jan 4 20:58:51 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 04 Jan 2007 17:58:51 -0800 Subject: sorting by mixed fields In-Reply-To: Message-ID: On 1/4/07 5:05 PM, "Timothy Miller" wrote: > Okay, I get it. That will do the trick. > > I keep forgetting that more than one group can appear on the same > card. I'm obviously a hyperCard holdover. > > I've never tried to place a group on multiple cards, which may or may > not contain other backgrounds, but it's probably not very hard. Actually, you can create a group "Fred" on a card, then delete it from that card, and it is still part of the stack. This means it can be placed on any card or cards, then deleted on all the cards and still be part of the stack. The group that can be placed is any group in the current stack that is not contained (nested) in another group. (a top-level group) You can copy and paste a group in another stack by 1... place the group on a card in the current stack 2... select and copy it, then paste into another stack 3... go back and delete the group from card Now the group is in two stacks, including scripts, and can be placed in each. A bit mind-bending at first, but quite handy when you learn enough about them. Jim Ault Las Vegas > On Dec 31, 2006, at 6:51 PM, Bill Marriott wrote: > >> I'm not sure I understand your situation clearly, but what I would >> do is to >> create a background common to all cards called "MasterSequence" >> which checks >> whatever variations of fields might be on the card (i.e., the >> "card" level >> Sequence field and the "bg" level Sequence field) and determines the >> appropriate index value. Then you can easily and unambiguously sort >> by that >> field. >> >> Timothy Miller asks, >>> My question: Given the foregoing, what happens if I try to sort >>> cards by >>> field "sequence" ? Can this work? >>> >>> The collateral question: If this has any chance of working, should >>> I sort >>> cards by: >>> >>> field "sequence" ? or >>> bg field "sequence" ? >>> >>> Would it be better to set a customkey? E.g., "set the >>> sequenceNumber of >>> this card to 522" ? >>> >>> Can I sort cards by a customKey? From pepetoo at Cox.Net Thu Jan 4 21:03:44 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Thu, 4 Jan 2007 18:03:44 -0800 Subject: No Beep sound In-Reply-To: <003601c7305b$03ffee50$6501a8c0@lynn> References: <003601c7305b$03ffee50$6501a8c0@lynn> Message-ID: <49F86541-F45B-4ABB-8389-87D21CE56AA2@Cox.Net> Anyone using OSX 10.4.8 on a Mac-Mini able to hear a beep sound? I get nothing and I do have external speakers attached. Until I got the external speakers all sound was very hard to hear; almost mute. Not just on RR, either. Joe Wilkins From JimAultWins at yahoo.com Thu Jan 4 22:31:52 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 04 Jan 2007 19:31:52 -0800 Subject: No Beep sound In-Reply-To: <49F86541-F45B-4ABB-8389-87D21CE56AA2@Cox.Net> Message-ID: On 1/4/07 6:03 PM, "Joe Lewis Wilkins" wrote: > Anyone using OSX 10.4.8 on a Mac-Mini able to hear a beep sound? I > get nothing and I do have external speakers attached. Until I got the > external speakers all sound was very hard to hear; almost mute. Not > just on RR, either. The Mac mini is really set up for the external speaker config. I don't think they wasted space inside the tiny box for a good speaker, or volume. One bummer I have noticed is that if you restart the mini, the volume reverts to 50% or less, no matter what the setting was. Fortunately, I only need to restart about once every 3-4 months, and I am running 3 Mac mini's every day. Jim Ault Las Vegas From tg_lists at geistinteractive.com Fri Jan 5 00:10:57 2007 From: tg_lists at geistinteractive.com (Todd Geist) Date: Thu, 4 Jan 2007 21:10:57 -0800 Subject: Report Writer Needed Message-ID: <2364151A-7C07-4636-932C-A37A55F4A381@geistinteractive.com> Hello Everyone, I am looking for help building a report writer for a back end database. I can use either ODBC or XML to get the data, and I need printed sub summary reports out of it. I have not done any sub summary stuff with rev. I the basic version of quartum reports but I haven't even messed with it. Ideally I am looking for some one with experience building sub summary reports to build or help me build the first couple reports. I have a budget for this so this is not a plea for free help. I have the database and have mockups of how the report should look. Please respond to me off list at todd at geistinteractive.com if you are interested in this project. Thanks Todd -- Todd Geist ______________________________________ g e i s t i n t e r a c t i v e Todd Geist todd at geistinteractive.com From jacque at hyperactivesw.com Fri Jan 5 00:47:05 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 04 Jan 2007 23:47:05 -0600 Subject: sorting by mixed fields In-Reply-To: References: <5089A5B0-6401-41AF-86CC-983FFB975F14@doctortimothyMiller.com> Message-ID: <459DE659.9090909@hyperactivesw.com> Timothy Miller wrote: > I've never tried to place a group on multiple cards, which may or may > not contain other backgrounds, but it's probably not very hard. No, it's easy. But remember to "place" the group rather than copy/pasting it onto every card. What you want to do is share a single group, not make multiple independent copies of it. Revolution lets you place a group onto a card by choosing Place Group from the Object menu. You'd have to do this on every card which can be tedious on large stacks. Or you can use a repeat loop in a handler to automate the process. This assumes the group has been created already: repeat with x = 1 to the number of cds place bg "myGroup" onto cd x end repeat -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From wjm at wjm.org Fri Jan 5 05:23:26 2007 From: wjm at wjm.org (Bill Marriott) Date: Fri, 5 Jan 2007 05:23:26 -0500 Subject: Report Writer Needed References: <2364151A-7C07-4636-932C-A37A55F4A381@geistinteractive.com> Message-ID: Todd, > I am looking for help building a report writer for a back end database. > I can use either ODBC or XML to get the data, and I need printed sub > summary reports out of it. I have not done any sub summary stuff with > rev. I the basic version of quartum reports but I haven't even messed > with it. Short of "rolling your own" or hiring someone to write it, I don't know of any competitor to Quartum Reports. From LunchnMeets at aol.com Fri Jan 5 07:27:18 2007 From: LunchnMeets at aol.com (LunchnMeets at aol.com) Date: Fri, 5 Jan 2007 07:27:18 EST Subject: Conversion? Message-ID: Hi Everyone, Is there a way to determine if a stack was originally a HyperCard stack and converted to Revolution versus originally created within Revolution? Joe Orlando From jbv.silences at club-internet.fr Fri Jan 5 07:54:14 2007 From: jbv.silences at club-internet.fr (jbv) Date: Fri, 05 Jan 2007 13:54:14 +0100 Subject: revDataFromQuery, Rev cgi & mySQL Message-ID: <459E4A70.27D19584@club-internet.fr> Hi list, For some reasons too long to explain here, I need to dump large amounts of data from a mySQL table to a txt file (for instance 15 columns for 35000 records that represents about 1.5 Mb). I'm using Rev cgi 2.5 and mySQL 3.23. I use revDataFromQuery which happens to be VERY slow (about 20 sec to get 1.5 Mb of data from mySQL)... I was wondering if there was any way to speed up such data transfer between mySQL and Rev cgi, or may be to send to mySQL (may be via the shell) an SQL request to dump the content of some columns of a table into a txt file that could be opened later from Rev cgi... Any help on this domain would be greatly apreciated... Thanks in advance, JB From robmann at gp-racing.com Fri Jan 5 07:56:18 2007 From: robmann at gp-racing.com (robmann at gp-racing.com) Date: Fri, 05 Jan 2007 07:56:18 -0500 Subject: Galaxy on U3 drive Message-ID: <20070105075618.lzmliphmv4j6s08s@gp-racing.com> I am using rev on a U3 drive how do Install Galaxy on the U3 drive? Thanks Rob From heather at runrev.com Fri Jan 5 08:00:44 2007 From: heather at runrev.com (Heather Nagey) Date: Fri, 5 Jan 2007 13:00:44 +0000 Subject: MacWorld In-Reply-To: <20070104145631.6F50A488F6E@mail.runrev.com> References: <20070104145631.6F50A488F6E@mail.runrev.com> Message-ID: Dear Ray, Yes, Guy Jones is holding a Revolution dinner in conjunction with MacWorld SF, contact editor at runrev.com for details. Also, David Simpson of .comsolutions is representing Revolution at this booth, and will have some special offers to give out. It's well worth reading the fortnightly Revolution Newsletter to get this sort of information... :) Sign up for it here: http://lists.runrev.com/mailman/listinfo/newsletter Regards, Heather On 4 Jan 2007, at 14:56, use-revolution-request at lists.runrev.com wrote: > Date: Wed, 3 Jan 2007 22:46:20 EST > From: NobelReadr at aol.com > Subject: MacWorld > To: use-revolution at lists.runrev.com > Message-ID: <3b8.d0a995f.32cdd28c at aol.com> > Content-Type: text/plain; charset="US-ASCII" > > All: > > Are there any Revolution Events planned, formally or informally, at > the > MacWorld show at the Moscone center in San Francisco, CA next week? > > Are there Rev users attending who would like to get together? Is > there going > to be a corporate presence there? Anyone coordinating anything? > > Thanks > Ray Heather Nagey Customer Services Manager Runtime Revolution Ltd http://www.runrev.com From heather at runrev.com Fri Jan 5 08:02:17 2007 From: heather at runrev.com (Heather Nagey) Date: Fri, 5 Jan 2007 13:02:17 +0000 Subject: Altbrowser html page communication with application? In-Reply-To: <20070104180005.1A309488F78@mail.runrev.com> References: <20070104180005.1A309488F78@mail.runrev.com> Message-ID: <6B5F3A78-DCD6-4394-94D2-9527EBBC40A5@runrev.com> Good advice, except that such emails should be sent to support at runrev.com, not to my personal inbox where they are likely to drown... Regards, Heather On 4 Jan 2007, at 18:00, use-revolution-request at lists.runrev.com wrote: > No, but I am sure there may be. Perhaps Chris knows. Since we don't > sell altBrowser anymore, you might try contacting > HeatherAtRunrevDotCom and see if she can't help you out with an > interim solution. Heather Nagey Customer Services Manager Runtime Revolution Ltd http://www.runrev.com From dave at looktowindward.com Fri Jan 5 08:34:02 2007 From: dave at looktowindward.com (Dave) Date: Fri, 5 Jan 2007 13:34:02 +0000 Subject: Item Delimiters????? In-Reply-To: References: Message-ID: <776BFD3D-5BD8-4FE0-83DE-1F50C18619C6@looktowindward.com> Hi All, What are the allowable Item Delimiters? How can I have a list that uses all printable characters? is there any way of setting a Delimiter as a non-printable character? All the Best Dave From m.schonewille at economy-x-talk.com Fri Jan 5 08:44:52 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 5 Jan 2007 14:44:52 +0100 Subject: Item Delimiters????? In-Reply-To: <776BFD3D-5BD8-4FE0-83DE-1F50C18619C6@looktowindward.com> References: <776BFD3D-5BD8-4FE0-83DE-1F50C18619C6@looktowindward.com> Message-ID: Hi Dave, You can use any character with ASCII code 1 to 255 as an item delimiter. A list of all characters: repeat with x = 1 to 255 put x && numtochar(x) & cr after myList end repeat put myList You will easily see which characters are printable. Note that 9 is tab, 10 linefeed, 13 return and 32 space, printable but not necessarily visible. In my user space on Rev Online ("Mark"), I have a stack that shows an ASCII table and it isn't the only one available. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 5-jan-2007, om 14:34 heeft Dave het volgende geschreven: > Hi All, > > What are the allowable Item Delimiters? How can I have a list that > uses all printable characters? is there any way of setting a > Delimiter as a non-printable character? > > All the Best > Dave From viktoras at ekoinf.net Fri Jan 5 08:47:08 2007 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Fri, 5 Jan 2007 15:47:08 +0200 (FLE Standard Time) Subject: revDataFromQuery, Rev cgi & mySQL References: <459E4A70.27D19584@club-internet.fr> Message-ID: <459E56DC.000001.00304@MAZYTIS> this will log all the subsequent queries into a local file C:/outfile.txt: tee C:/outfile.txt then do: SELECT * FROM yourtable or alternatively look for mysqldump or mysqlhotcopy in MySQL docummentation. Best wishes Viktoras -------Original Message------- From: jbv Date: 1/5/2007 2:33:17 PM To: How to use Revolution Subject: revDataFromQuery, Rev cgi & mySQL Hi list, For some reasons too long to explain here, I need to dump large amounts of data from a mySQL table to a txt file (for instance 15 columns for 35000 records that represents about 1.5 Mb). I'm using Rev cgi 2.5 and mySQL 3.23. I use revDataFromQuery which happens to be VERY slow (about 20 sec to get 1.5 Mb of data from mySQL)... I was wondering if there was any way to speed up such data transfer between mySQL and Rev cgi, or may be to send to mySQL (may be via the shell) an SQL request to dump the content of some columns of a table into a txt file that could be opened later from Rev cgi... Any help on this domain would be greatly apreciated... Thanks in advance, JB _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From rpresender at cox.net Fri Jan 5 09:47:34 2007 From: rpresender at cox.net (Robert Presender) Date: Fri, 5 Jan 2007 06:47:34 -0800 Subject: Tab Key vs Field In-Reply-To: <20070104180004.E6B45488F77@mail.runrev.com> References: <20070104180004.E6B45488F77@mail.runrev.com> Message-ID: <37b2ef740289e5861ac507cf2252e289@cox.net> Hi Chipp, Thanks for your reply. I had checked the tabstops. I found the solution and feel kind of stupid. Guess my age is catching up (87 next March). Anyway, For some reason or other I had placed in my library scripts: on tabKey -> select empty. It did just that!!! Deleted that handler and all is OK. We are still hanging in there. Hope all is well with you and yours. Regards .. Bob On Jan 4, 2007, at 10:00 AM, Chipp Walters wrote: > Hi Bob, > Hope you're doing well. > > Sometimes developers want the field to 'eat' the tab and advance the > cursor to the next tabstop in the same field. This is why sometimes > the tab doesn't advance to the next field when the cursor is inserted. > Check your tabstops for your fields. If they are not empty, then > that's your problem. > > Also, you might want to check and see if your fields are within > overlapping groups. I seem to remember a bug involving autotabbing and > overlapping groups-- though it may have been fixed. > > best, > Chipp From dave at looktowindward.com Fri Jan 5 09:50:57 2007 From: dave at looktowindward.com (Dave) Date: Fri, 5 Jan 2007 14:50:57 +0000 Subject: Item Delimiters????? In-Reply-To: References: <776BFD3D-5BD8-4FE0-83DE-1F50C18619C6@looktowindward.com> Message-ID: Hi, Great! Thanks a lot! All the Best Dave On 5 Jan 2007, at 13:44, Mark Schonewille wrote: > Hi Dave, > > You can use any character with ASCII code 1 to 255 as an item > delimiter. A list of all characters: > > repeat with x = 1 to 255 > put x && numtochar(x) & cr after myList > end repeat > put myList > > You will easily see which characters are printable. Note that 9 is > tab, 10 linefeed, 13 return and 32 space, printable but not > necessarily visible. > > In my user space on Rev Online ("Mark"), I have a stack that shows > an ASCII table and it isn't the only one available. > > Best, > > Mark > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Get your store on-line within minutes with Salery Web Store > software. Download at http://www.salery.biz > > Op 5-jan-2007, om 14:34 heeft Dave het volgende geschreven: > >> Hi All, >> >> What are the allowable Item Delimiters? How can I have a list that >> uses all printable characters? is there any way of setting a >> Delimiter as a non-printable character? >> >> All the Best >> Dave > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From robmann at gp-racing.com Fri Jan 5 10:07:29 2007 From: robmann at gp-racing.com (robmann at gp-racing.com) Date: Fri, 05 Jan 2007 10:07:29 -0500 Subject: Rev & MYSQL on U3 Drive Message-ID: <20070105100729.pqvs6a6b3j34c8kw@gp-racing.com> I have rev and mysql(xampplite) on a u3 drive along with a standalone of my application the application runs fine connects to the database no problem I then open up rev and try to connect to the database using the same stack and it will not connect, so I open up a web browser type in http://localhost and sure enough it finds it. What could I have set up wrong? also I tried using Trevors libDatabase recipes to connect and I also get a connection error (219,284,21,revOpenDatabase). Any thoughts? Thanks Rob From JimAultWins at yahoo.com Fri Jan 5 11:21:43 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 05 Jan 2007 08:21:43 -0800 Subject: Item Delimiters????? In-Reply-To: Message-ID: On 1/5/07 5:44 AM, "Mark Schonewille" wrote: > Hi Dave, > You can use any character with ASCII code 1 to 255 as an item > delimiter. A list of all characters: > > repeat with x = 1 to 255 > put x && numtochar(x) & cr after myList > end repeat > put myList > > You will easily see which characters are printable. Note that 9 is > tab, 10 linefeed, 13 return and 32 space, printable but not > necessarily visible. > > In my user space on Rev Online ("Mark"), I have a stack that shows an > ASCII table and it isn't the only one available. You can also use NULL, which has advantages when you want to use your own itemDel char and not have to choose one that may already be in the source text. --in the stack script on testt get null & the name of this stack & cr & the name of me & null \ &"chars after the last null" put item 1 of it into orig --the whole string set the itemdel to null put item 2 of it into null2 --only the center part put orig & cr & cr & cr & null2 into msg end testt One word of caution. If you use nulls, the filter command will fail, so you will need to replace with empty/or/other char before using the filter command on lines of text. Jim Ault Las Vegas > Op 5-jan-2007, om 14:34 heeft Dave het volgende geschreven: > >> Hi All, >> >> What are the allowable Item Delimiters? How can I have a list that >> uses all printable characters? is there any way of setting a >> Delimiter as a non-printable character? From robmann at gp-racing.com Fri Jan 5 11:27:14 2007 From: robmann at gp-racing.com (robmann at gp-racing.com) Date: Fri, 05 Jan 2007 11:27:14 -0500 Subject: mysql tables Message-ID: <20070105112714.r78u6i7cyx7kgcco@gp-racing.com> is there a way to get a list of all the tables in a revOpenDatabase command I was thinking of using revQueryDatabase(databaseID,SQLQuery) but not sure what the SQLQuery should be to just get the table names Thanks Rob From robmann at gp-racing.com Fri Jan 5 11:53:42 2007 From: robmann at gp-racing.com (robmann at gp-racing.com) Date: Fri, 05 Jan 2007 11:53:42 -0500 Subject: mysql tables In-Reply-To: <20070105112714.r78u6i7cyx7kgcco@gp-racing.com> References: <20070105112714.r78u6i7cyx7kgcco@gp-racing.com> Message-ID: <20070105115342.i1j93npn2zns4k80@gp-racing.com> I got it put revDataFromQuery(comma,return,dbresult, "SHOW TABLES") into tdescribe put tdescribe into fld "fieldtables" Quoting robmann at gp-racing.com: > is there a way to get a list of all the tables in a revOpenDatabase > command I was thinking of using revQueryDatabase(databaseID,SQLQuery) > but not sure what the SQLQuery should be to just get the table names > > > Thanks > Rob > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From david at openpartnership.net Fri Jan 5 12:00:20 2007 From: david at openpartnership.net (David Bovill) Date: Fri, 5 Jan 2007 18:00:20 +0100 Subject: Popdown menu question... Message-ID: Thought I would ask as I may be missing something... is there any general way to know what the user clciked on to activate a pulldown menu? In a field: on mouseDown popup button "Contextual Menu" pass mouseDown end mouseDown In the menu button "Contextual Menu": on menuPick menuPath menu_Send menuPath end menuPick In a library: on menu_Send menuPath -- now where was the thing the user clicked on ??? put the target into contextualMenuButton put the menuButton into onlyWorksForStacks end menu_Send If there is no way to do this then maybe I should add it as a feature request - ie to extend "menuButton" to include popup buttons? From tg_lists at geistinteractive.com Fri Jan 5 12:14:56 2007 From: tg_lists at geistinteractive.com (Todd Geist) Date: Fri, 5 Jan 2007 09:14:56 -0800 Subject: Report Writer Needed In-Reply-To: References: <2364151A-7C07-4636-932C-A37A55F4A381@geistinteractive.com> Message-ID: <82396AA5-BACF-4AAE-897A-CF62BA0F7800@geistinteractive.com> On Jan 5, 2007, at 2:23 AM, Bill Marriott wrote: > Todd, > >> I am looking for help building a report writer for a back end >> database. >> I can use either ODBC or XML to get the data, and I need printed sub >> summary reports out of it. I have not done any sub summary stuff >> with >> rev. I the basic version of quartum reports but I haven't even >> messed >> with it. > > Short of "rolling your own" or hiring someone to write it, I don't > know of > any competitor to Quartum Reports. Thanks for the feedback... Then perhaps I should ask for somebody with experience using Quartum Reports. Anybody interested? Todd > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Todd Geist ______________________________________ g e i s t i n t e r a c t i v e From kee at kagi.com Fri Jan 5 12:19:42 2007 From: kee at kagi.com (kee nethery) Date: Fri, 5 Jan 2007 09:19:42 -0800 Subject: Conversion? In-Reply-To: References: Message-ID: <5727A39D-4DDD-4CE2-9383-0C7C6A795A34@kagi.com> On Jan 5, 2007, at 4:27 AM, LunchnMeets at aol.com wrote: > Hi Everyone, > > Is there a way to determine if a stack was originally a HyperCard > stack and > converted to Revolution versus originally created within Revolution? HCStack property Index Definition: Reports whether a stack was originally imported from hypercard. Syntax: get the HCStack of stack Example(s): set the HCAddressing of this stack to the HCStack of this stack From jerry at daniels-mara.com Fri Jan 5 12:28:16 2007 From: jerry at daniels-mara.com (Jerry Daniels) Date: Fri, 5 Jan 2007 11:28:16 -0600 Subject: Galaxy on U3 drive In-Reply-To: <20070105075618.lzmliphmv4j6s08s@gp-racing.com> References: <20070105075618.lzmliphmv4j6s08s@gp-racing.com> Message-ID: <1F21999C-417E-4A07-AA9A-A19D52F81C94@daniels-mara.com> Rob, I have never tried that myself. Maybe someone else has had experience in this area? Best, Jerry Daniels Makers of Galaxy 1.5 http://www.daniels-mara.com/new_in_galaxy_1_5.htm On Jan 5, 2007, at 6:56 AM, robmann at gp-racing.com wrote: > I am using rev on a U3 drive how do Install Galaxy on the U3 drive? > > Thanks > Rob > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From RGould8 at aol.com Fri Jan 5 13:01:35 2007 From: RGould8 at aol.com (RGould8 at aol.com) Date: Fri, 5 Jan 2007 13:01:35 EST Subject: Server-side type-ahead data for Rev standalone Message-ID: All my AJAX/Ruby-on-Rails buddies are telling me how to do this via a web app, but I'd like to see if this is possible in Revolution: Let's say I have a wine database of 180,000 records hosted on a server. (I don't, but I'm using that as an example - - my database would be different data) I'd like to write a Revolution standalone app that would allow a user to type the first three characters of a wine label and have it auto-complete (make a good guess as to what you were about to type) This would be a hosted database that grows every day with new uploaded information. For instance, if I typed "Lib", I'd like Revolution to instantly provide the option of auto-completing the field with "Liberty School" (a type of wine). If I type "Cha", it would provide auto-completion options including "Chataeu Coufran", etc. The trick is that there's a ton of records. Would this auto-complete feature even be possible? Are the freebie databases like mySQL on many ISP's really up to feeding-out data in real-time like that? It would be more like an AJAX-call instead of an HTML query with ?parm= data tacked on the end. Would I create a special lookup table for faster parsing? Would a Rev CGI script buy any speed? Any online-database that's best suited for this? Would a single autocomplete field that can auto-complete the winery and appellation be possible, since those are stored in separate fields in the database? As a last resort, would a local Valentina database with Rev be able to pull this off? I went to script.a.licous and took a look at their auto-complete demos, but I wasn't impressed with the speed. (Takes nearly 2 seconds) It would be great if Rev could do this faster with an optimized backend. From dave at looktowindward.com Fri Jan 5 13:26:14 2007 From: dave at looktowindward.com (Dave) Date: Fri, 5 Jan 2007 18:26:14 +0000 Subject: Adding a Substack??? In-Reply-To: References: Message-ID: <0B5B74D4-62F2-49F2-BD49-1311805F5D72@looktowindward.com> Hi, I have two .rev file, both contain one mainStack: StackA.Rev StackA StackB.Rev StackB How can I move StackB so it's a substack of StackA????? Can't seem to figure out how to do it. All the Best Dave From Karen at curlypaws.com Fri Jan 5 13:36:48 2007 From: Karen at curlypaws.com (Karen Hughes) Date: Fri, 05 Jan 2007 18:36:48 +0000 Subject: Report Writer Needed In-Reply-To: <20070105180005.61EC748901F@mail.runrev.com> Message-ID: On 5/1/07 18:00, "use-revolution-request at lists.runrev.com" wrote: > Thanks for the feedback... > > Then perhaps I should ask for somebody with experience using Quartum > Reports. Anybody interested? > > > Todd Hi Todd, I've used Quartam Reports (Express - I can't comment on the Professional features). I very much like it - I needed reporting facilities in a program and Quartam gave me very good output with little effort. Jan Schenkel is very helpful if you have any questions or problems when using the product. However, after the initial learning curve I've found the product to be very stable and with very few issues at all. I got things up and running pretty quickly and have been very pleased with the quality of output. Linking in to Quartam is easy - as is sending the data through. A version 1.1 is due soon (I'm hoping that Jan is just waiting for MacWorld) and will add quite a few extra features to the Express version such as totals - which can be indispensable depending on what you are reporting on. Development has seemed quite slow since I'd love to make use of some of those features in v1.1, but this may be because Jan seems to be busy developing a PDF library and a Database library too! The demo works for 30 days and is well worth downloading to make sure that Quartam does what you need. Karen From JimAultWins at yahoo.com Fri Jan 5 13:44:49 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 05 Jan 2007 10:44:49 -0800 Subject: Adding a Substack??? In-Reply-To: <0B5B74D4-62F2-49F2-BD49-1311805F5D72@looktowindward.com> Message-ID: On 1/5/07 10:26 AM, "Dave" wrote: > Hi, > > I have two .rev file, both contain one mainStack: > > StackA.Rev StackA > StackB.Rev StackB > > How can I move StackB so it's a substack of StackA????? > > Can't seem to figure out how to do it. Open both stacks Use the inspector for StackB, then the "Basic properties" panel, locate the drop down labeled "mainstack", and choose "StackA" Jim Ault Las Vegas From mwieder at ahsoftware.net Fri Jan 5 13:48:31 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 5 Jan 2007 10:48:31 -0800 Subject: MacWorld In-Reply-To: <003601c7305b$03ffee50$6501a8c0@lynn> References: <003601c7305b$03ffee50$6501a8c0@lynn> Message-ID: <1047847143.20070105104831@ahsoftware.net> Lynn- Thursday, January 4, 2007, 3:49:24 PM, you wrote: > Guy and Mark W are organizing a dinner get together. Assuming that I'm the Mark W in question, I have formally abdicated all responsibility for this and am now just in the same boat as everyone else, waiting for Guy to decide on when, where, and what. Hopefully he'll come up with something before the Expo actually starts... -- -Mark Wieder mwieder at ahsoftware.net From stephenREVOLUTION at barncard.com Fri Jan 5 13:51:22 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 5 Jan 2007 10:51:22 -0800 Subject: Server-side type-ahead data for Rev standalone In-Reply-To: References: Message-ID: It's not clear whether you're developing a thin client or a web app. The best features of Rev are clearly shown with the thin client of which I'd suggest for this. I don't think mySQL used locally would be too slow and the network would be a bigger slowdown, but the kind of response you desire can really only accomplished in ram, which is where rev lives. I'd suggest a cache made from a list of keywords that were indexed in the database. This cache could be created when starting up and when a record is added and then loaded into a variable. You only have to get the list of the keywords from all the records in the database - so that's a lot less text than loading the whole records and should be fairly quick even on the net. 180000 records x 6 character key = 1080000 = 1 megabyte. The code for the "guessing" would be up to you but I'm sure it's not that hard. The selected item in the cache would be the key for a search of the rest of the record from the database and fill the fields. Lightning fast. Rev's built-in dictionary does this, as does Galaxy's message box. By the way, mySQL is not a 'freebie'. And yes, Valentina will work fine as well. sqb >For instance, if I typed "Lib", I'd like Revolution to instantly provide the >option of auto-completing the field with "Liberty School" (a type of wine). >If I type "Cha", it would provide auto-completion options including "Chataeu >Coufran", etc. > >The trick is that there's a ton of records. Would this auto-complete >feature even be possible? Are the freebie databases like mySQL on many ISP's >really up to feeding-out data in real-time like that? It would be >more like an >AJAX-call instead of an HTML query with ?parm= data tacked on the end. > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From RGould8 at aol.com Fri Jan 5 14:36:43 2007 From: RGould8 at aol.com (RGould8 at aol.com) Date: Fri, 5 Jan 2007 14:36:43 EST Subject: Server-side type-ahead data for Rev standalone Message-ID: <3f9.24078299.32d002cb@aol.com> Stephen, Thanks for all your great advice! This would be a Revolution standalone app (thin client) that pulls data from a system on the internet. Now when you say that the response is best accomplished with the data in RAM - - - do you suggest that I have the host server package up the keywords and pass it down to the thin-client as a 1 MB download upon startup, or is there a better way? (RAM on the server, for quick response?) In a message dated 1/5/07 1:52:17 PM, stephenREVOLUTION at barncard.com writes: > It's not clear whether you're developing a thin client or a web app. > The best features of Rev are clearly shown with the thin client of > which I'd suggest for this. > > I don't think mySQL used locally would be too slow and the network > would be a bigger slowdown, but the kind of response you desire can > really only accomplished in ram, which is where rev lives. I'd > suggest a cache made from a list of keywords that were indexed in the > database. This cache could be created when starting up and when a > record is added and then loaded into a variable. You only have to get > the list of the keywords from all the records in the database - so > that's a lot less text than loading the whole records and should be > fairly quick even on the net. > > 180000 records x 6 character key = 1080000 = 1 megabyte. > > ? The code for the "guessing" would be up to you but I'm sure it's not > that hard. The selected item in the cache would be the key for a > search of the rest of the record from the database and fill the > fields. Lightning fast. Rev's built-in dictionary does this, as does > Galaxy's message box. > > By the way, mySQL is not a 'freebie'. And yes, Valentina will work > fine as well. > > sqb > > >For instance, if I typed "Lib", I'd like Revolution to instantly provide > the > >option of auto-completing the field with "Liberty School" (a type of > wine).? > >If I type "Cha", it would provide auto-completion options including > "Chataeu > >Coufran", etc. > > > >The trick is that there's a ton of records.?? Would this auto-complete > >feature even be possible??? Are the freebie databases like mySQL on many > ISP's > >really up to feeding-out data in real-time like that??? It would be > >more like an > >AJAX-call instead of an HTML query with ?parm= data tacked on the end. > > > > -- > > > stephen barncard > s a n? f r a n c i s c o > - - -? - - - - - - - - - > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From tg_lists at geistinteractive.com Fri Jan 5 14:38:28 2007 From: tg_lists at geistinteractive.com (Todd Geist) Date: Fri, 5 Jan 2007 11:38:28 -0800 Subject: Report Writer Needed In-Reply-To: References: Message-ID: <27FB78C0-2024-4821-A97A-F65103C3B5A8@geistinteractive.com> Thanks for your feedback Karen Todd On Jan 5, 2007, at 10:36 AM, Karen Hughes wrote: > Hi Todd, > > I've used Quartam Reports (Express - I can't comment on the > Professional > features). -- Todd Geist ______________________________________ g e i s t i n t e r a c t i v e From stephenREVOLUTION at barncard.com Fri Jan 5 15:47:06 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 5 Jan 2007 12:47:06 -0800 Subject: Server-side type-ahead data for Rev standalone In-Reply-To: <3f9.24078299.32d002cb@aol.com> References: <3f9.24078299.32d002cb@aol.com> Message-ID: the closer you are to the data, the faster it is to obtain. SQL is a very simple language - and the text based commands are very versatile. For instance, to get a line delimited list of all the data in the field "Device_Name" in a database Devices_Main, one would use this: SELECT `Device_Name` FROM `Devices_Main` ORDER BY `Device_Name` ASC this would make a list like BR00344 BR00345 .. SQL servers are optimized to deliver data in the fastest way and do a bit of formatting and packaging of that data for you. So the speed improvements at this point would be up to what you do on the Rev end. And since the cache would be loaded on startup only, you'll have the keys you need right away, and won't need to do that every time you access the list. If mySQL isn't fast enough on the server end, then Valentina would be even faster. It doesn't matter really though. Once you get the key, then getting any part of that record (or list of records) is really quick, because the server only has to send what's needed. The only issue with caching is that it must be updated when the database is changed if your keyword list is to be up to date. There's a lot you can do with getting your data organized just from the way you ask for data from the server, before you even apply the data in rev. If you're on a mac, I'd suggest getting a copy of a good SQL client such as the free "CocoaMySQL SBG" and play around with some SQL calls. There are similar clients for windows and a couple that work in a browser. http://www.theonline.org/cocoamysql/ The hardier unix types would say 'use the commmand line' but I learned a lot faster with such a client. Eventually you could write your own similar client in Rev. here's the SQL reference manual. http://dev.mysql.com/doc/refman/5.0/en/index.html I don't know if you've checked out these wonderful resources for those working in SQLs in Revolution, but here's the links: Sarah's http://www.troz.net/Rev/tutorials/MySQL.rev.gz http://www.troz.net/Rev/tutorials/MySQLtests.rev.gz Trevor's http://www.bluemangolearning.com/developer/revolution/ great stuff, they will show the way.... >Stephen, > > Thanks for all your great advice! This would be a Revolution >standalone app (thin client) that pulls data from a system on the internet. > > Now when you say that the response is best accomplished with the data in >RAM - - - do you suggest that I have the host server package up the >keywords and pass it down to the thin-client as a 1 MB download upon >startup, or is >there a better way? (RAM on the server, for quick response?) > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From gandalf at doctorTimothyMiller.com Fri Jan 5 16:07:06 2007 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Fri, 5 Jan 2007 13:07:06 -0800 Subject: sorting by mixed fields In-Reply-To: <459DE659.9090909@hyperactivesw.com> References: <5089A5B0-6401-41AF-86CC-983FFB975F14@doctortimothyMiller.com> <459DE659.9090909@hyperactivesw.com> Message-ID: <71006991-6338-42A9-845A-D1280FF42364@doctorTimothyMiller.com> Thanks Jacque and Jim, One tiny little final detail... As far as I know, I can turn on "Behave like a background" for this group, so I don't have to place it again every time I make a new card. But I'm not certain. I'm wondering about possible problems if I have two or more "behave like a background" groups on the same card. Are there any gotchas? Oops. Another detail. If I'm placing the group on cards of various size, is it possible that the group will get placed outside of the card rect on some cards? If so, what's the correct procedure in that situation? Cheers, Tim On Jan 4, 2007, at 9:47 PM, J. Landman Gay wrote: > Timothy Miller wrote: > >> I've never tried to place a group on multiple cards, which may or >> may not contain other backgrounds, but it's probably not very hard. > > No, it's easy. But remember to "place" the group rather than copy/ > pasting it onto every card. What you want to do is share a single > group, not make multiple independent copies of it. > > Revolution lets you place a group onto a card by choosing Place > Group from the Object menu. You'd have to do this on every card > which can be tedious on large stacks. > > Or you can use a repeat loop in a handler to automate the process. > This assumes the group has been created already: > > repeat with x = 1 to the number of cds > place bg "myGroup" onto cd x > end repeat > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From JimCarwardine at OwnYourFuture-net.com Fri Jan 5 16:06:47 2007 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Fri, 05 Jan 2007 17:06:47 -0400 Subject: Variable holding a chunk In-Reply-To: Message-ID: Hi List... I always seem to draw a blank when I try to debug this structure. It doesn't matter how many times I do it I always seem to run into this wall. I have a variable, myVar, that holds a chunk, [line 2 of field "myField" of group "myGroup" of card id 1002 of stack "myStack"]. When I say [put myVar into field "xxx"] I get the chunk expression not the data held by the field represented by the chunk expression. When I try and review the Users Guide to refresh my mind about how to do this, I can never remember how it is described in the Users Guide. What are the magic words to find how to do this in the Users Guide? Jim -- www.TalentSeeker.ca www.HiringSmart.ca/ns www.KeepingTheBest.ca/ns Own Your Future Consulting Services Limited, 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From ambassador at fourthworld.com Fri Jan 5 16:13:58 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 05 Jan 2007 13:13:58 -0800 Subject: File lists - function or command? Message-ID: <459EBF96.4040400@fourthworld.com> Oliver recently published a useful function for obtaining a list of files, as noted in the latest Rev newsletter: It seems a good function, very similar to a function I've been using without issue for some years. But I recall a discussion here about the benefits of using a command over a function, which resulted in this version at Ken's handy site: I can no longer recall why using a function was problematic. Can someone fill me in? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From scott at tactilemedia.com Fri Jan 5 16:31:02 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 05 Jan 2007 13:31:02 -0800 Subject: Variable holding a chunk In-Reply-To: Message-ID: Recently, Jim Carwardine wrote: > I have a variable, myVar, that holds a chunk, [line 2 of field "myField" of > group "myGroup" of card id 1002 of stack "myStack"]. > > When I say [put myVar into field "xxx"] I get the chunk expression not the > data held by the field represented by the chunk expression. > > When I try and review the Users Guide to refresh my mind about how to do > this, I can never remember how it is described in the Users Guide. > > What are the magic words to find how to do this in the Users Guide? Does this work? put value(myVar) into field "xxx" I also do this: do "put" && myVar && "into field xxx" Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From JimAultWins at yahoo.com Fri Jan 5 16:44:50 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 05 Jan 2007 13:44:50 -0800 Subject: Variable holding a chunk In-Reply-To: Message-ID: On 1/5/07 1:06 PM, "Jim Carwardine" wrote: > Hi List... > > I always seem to draw a blank when I try to debug this structure. It > doesn't matter how many times I do it I always seem to run into this wall. > > I have a variable, myVar, that holds a chunk, [line 2 of field "myField" of > group "myGroup" of card id 1002 of stack "myStack"]. > > When I say [put myVar into field "xxx"] I get the chunk expression not the > data held by the field represented by the chunk expression. > > When I try and review the Users Guide to refresh my mind about how to do > this, I can never remember how it is described in the Users Guide. > > What are the magic words to find how to do this in the Users Guide? Jim I guess one way to think about this is not a "magic word" but a "magic concept" As you have stated.... myVar = line 2 of field "myField" of group "myGroup" of card id 1002 of stack "myStack" thus ... word 1 of myVar = "line" word 3 to 5 of myVar = of field "myField" the last word of myVar = "myStack" so myVar holds the *description* of a container You need to utilize the description (which is a string), such as put "put 1 into "& myVar into aCommandLineToRun do aCommandLineToRun or do ("put 1 into "& myVar ) or put merge("put 1 into [[ myVar]]") into msg or do merge(" put 1 into [[ myVar]]") Hope this gets you closer Jim Ault Las Vegas From wjm at wjm.org Fri Jan 5 17:03:49 2007 From: wjm at wjm.org (Bill Marriott) Date: Fri, 5 Jan 2007 17:03:49 -0500 Subject: Variable holding a chunk References: Message-ID: you have a chunk *expression* in myvar :) put the value of myVar will work. As for the help file, what version of Rev do you have? "Jim Carwardine" wrote in message news:C1C43627.9306%JimCarwardine at OwnYourFuture-net.com... > Hi List... > > I always seem to draw a blank when I try to debug this structure. It > doesn't matter how many times I do it I always seem to run into this wall. > > I have a variable, myVar, that holds a chunk, [line 2 of field "myField" > of > group "myGroup" of card id 1002 of stack "myStack"]. > > When I say [put myVar into field "xxx"] I get the chunk expression not the > data held by the field represented by the chunk expression. > > When I try and review the Users Guide to refresh my mind about how to do > this, I can never remember how it is described in the Users Guide. > > What are the magic words to find how to do this in the Users Guide? Jim From list at dreamscapesoftware.com Fri Jan 5 17:12:53 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Fri, 05 Jan 2007 16:12:53 -0600 Subject: libURL and Resumable Downloads Message-ID: <459ECD65.6040902@dreamscapesoftware.com> Does libURL support resumable downloads via HTTP yet? I was looking at it a long time ago and it seems that if you just pass the start-byte number within the headers that it can be done (provided the server supports it). Though, it was not supported by libURL at the time. Derek Bump Dreamscape Software www.dreamscapesoftware.com From revolution at derbrill.de Fri Jan 5 17:35:17 2007 From: revolution at derbrill.de (Malte Brill) Date: Fri, 5 Jan 2007 23:35:17 +0100 (MET) Subject: cProps and umlauts Mac -> Win In-Reply-To: <20061206034537.550A5488F8A@mail.runrev.com> References: <20061206034537.550A5488F8A@mail.runrev.com> Message-ID: Hi all, came across something weird. Stored different text chunks in a cProp on a Mac. I set the label of a button to that chunk. If the stack is transfered from a Mac to a Win Box, umlauts are replaced with some strange characters. Has anyone else seen this? Rev. 2.7.4 Os X.4.8 Intel and Win XP home box. All the best, Malte From revdev at pdslabs.net Fri Jan 5 17:42:59 2007 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 05 Jan 2007 14:42:59 -0800 Subject: cProps and umlauts Mac -> Win In-Reply-To: References: <20061206034537.550A5488F8A@mail.runrev.com> Message-ID: <459ED473.8050404@pdslabs.net> Hi Malte, Could this be corrected with a MacToISO call before the prop value reaches the button label? Don't know - just a thought - Phil Davis Malte Brill wrote: > Hi all, > > came across something weird. Stored different text chunks in a cProp on > a Mac. I set the label of a button to that chunk. If the stack is > transfered from a Mac to a Win Box, umlauts are replaced with some > strange characters. Has anyone else seen this? > > Rev. 2.7.4 Os X.4.8 Intel and Win XP home box. > > All the best, > > Malte From klaus at major-k.de Fri Jan 5 17:56:51 2007 From: klaus at major-k.de (Klaus Major) Date: Fri, 5 Jan 2007 23:56:51 +0100 (MET) Subject: cProps and umlauts Mac -> Win In-Reply-To: <459ED473.8050404@pdslabs.net> References: <20061206034537.550A5488F8A@mail.runrev.com> <459ED473.8050404@pdslabs.net> Message-ID: <9957D314-7BD8-4DF6-8511-5B0311D48274@major-k.de> Hi Phil and Malte, > Hi Malte, > > Could this be corrected with a MacToISO call before the prop value > reaches the button label? Yes. Text in CPs is not being converted from platform to platform like fields, so you have to take care of a macToiso function by yourself. If it would, we could not store binary data in CPs, they could eventually become "corrupted"! > Don't know - just a thought - > Phil Davis > > > Malte Brill wrote: >> Hi all, >> came across something weird. Stored different text chunks in a >> cProp on a Mac. I set the label of a button to that chunk. If the >> stack is transfered from a Mac to a Win Box, umlauts are replaced >> with some strange characters. Has anyone else seen this? >> Rev. 2.7.4 Os X.4.8 Intel and Win XP home box. >> All the best, >> Malte Regards Klaus Major klaus at major-k.de http://www.major-k.de From klaus at major-k.de Fri Jan 5 17:59:05 2007 From: klaus at major-k.de (Klaus Major) Date: Fri, 5 Jan 2007 23:59:05 +0100 (MET) Subject: sorting by mixed fields In-Reply-To: <71006991-6338-42A9-845A-D1280FF42364@doctorTimothyMiller.com> References: <5089A5B0-6401-41AF-86CC-983FFB975F14@doctortimothyMiller.com> <459DE659.9090909@hyperactivesw.com> <71006991-6338-42A9-845A-D1280FF42364@doctorTimothyMiller.com> Message-ID: Hi Timothy, > Thanks Jacque and Jim, > > One tiny little final detail... As far as I know, I can turn on > "Behave like a background" for this group, so I don't have to place > it again every time I make a new card. But I'm not certain. > I'm wondering about possible problems if I have two or more "behave > like a background" groups on the same card. Are there any gotchas? No! > Oops. Another detail. If I'm placing the group on cards of various > size, is it possible that the group will get placed outside of the > card rect on some cards? If so, what's the correct procedure in > that situation? You should "set the loc of grp XYZ" "on preopencard". Hope that helps. > Cheers, > > > Tim Regards Klaus Major klaus at major-k.de http://www.major-k.de From mwieder at ahsoftware.net Fri Jan 5 18:39:31 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 5 Jan 2007 15:39:31 -0800 Subject: pre-MacWorld info Message-ID: <6625307320.20070105153931@ahsoftware.net> All- Anyone who's still thinking about going to MacWorld Expo but hasn't yet registered might want to print out Other World Computing's free Expo pass: http://eshop.macsales.com/Macworld/ And the list of MacWorld-related events and parties is, as usual, posted on Ilene's machine at: http://www.ilenesmachine.com/partylist.shtml -- -Mark Wieder mwieder at ahsoftware.net From lynn at paradigmasoft.com Fri Jan 5 20:08:42 2007 From: lynn at paradigmasoft.com (Lynn Fredricks) Date: Fri, 5 Jan 2007 17:08:42 -0800 Subject: MacWorld In-Reply-To: <1047847143.20070105104831@ahsoftware.net> Message-ID: <004001c7312f$42845060$6501a8c0@lynn> Hi Mark, > > Guy and Mark W are organizing a dinner get together. > > Assuming that I'm the Mark W in question, I have formally > abdicated all responsibility for this and am now just in the > same boat as everyone else, waiting for Guy to decide on > when, where, and what. > Hopefully he'll come up with something before the Expo > actually starts... Arent you really trying to say party at Mark W's room, first night at 9 PM, BYOB?:-) Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution, Ltd From JimCarwardine at OwnYourFuture-net.com Sat Jan 6 00:28:26 2007 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Sat, 06 Jan 2007 01:28:26 -0400 Subject: Variable holding a chunk In-Reply-To: Message-ID: Hi Bill... I have 2.7.4 on MacIntel... Jim on 1/5/07 6:03 PM, Bill Marriott wrote: > you have a chunk *expression* in myvar :) > > put the value of myVar > > will work. As for the help file, what version of Rev do you have? > > "Jim Carwardine" > wrote in > message news:C1C43627.9306%JimCarwardine at OwnYourFuture-net.com... >> Hi List... >> >> I always seem to draw a blank when I try to debug this structure. It >> doesn't matter how many times I do it I always seem to run into this wall. >> >> I have a variable, myVar, that holds a chunk, [line 2 of field "myField" >> of >> group "myGroup" of card id 1002 of stack "myStack"]. >> >> When I say [put myVar into field "xxx"] I get the chunk expression not the >> data held by the field represented by the chunk expression. >> >> When I try and review the Users Guide to refresh my mind about how to do >> this, I can never remember how it is described in the Users Guide. >> >> What are the magic words to find how to do this in the Users Guide? Jim > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- www.TalentSeeker.ca www.HiringSmart.ca/ns www.KeepingTheBest.ca/ns Own Your Future Consulting Services Limited, 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From trancepacific at gmail.com Sat Jan 6 02:48:21 2007 From: trancepacific at gmail.com (kevin) Date: Fri, 5 Jan 2007 23:48:21 -0800 Subject: overloaded stack script Message-ID: <35ca2a8c41213e213746941c171a5517@gmail.com> Hi All, I am running Rev 2.7.4 on the Mac and have a stack script containing ~25,000 lines of code. Its hard to edit because Rev runs so slowly with so many lines in a script and I'd love to split it up but most of the code are functions, not handlers, and furthermore, the script refer to controls present on all cards in that stack. By that I mean that a member card will call a function in that stack script that will handle activity on the card generically. I can deal with how slow it is to edit. What I have a harder time dealing with is that when I open that stack from another stack, it takes quite a few seconds (avg=10 sec) to open a card in that stack even when no openStack or openCard handlers are running (or closeCard, closeStack handlers for that matter). It appears that it just takes a long time in general to open the stack when that many lines of code are in the stack script. Does anyone have any experience with this type of issue? Maybe I'm an idiot for having 25,000 lines of code in the stack script but I don't know how to work around this. I see how I could call handlers that reside elsewhere but not functions. Any advice would be greatly appreciated. Cheers, Kevin From eric.chatonet at sosmartsoftware.com Sat Jan 6 03:00:54 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 6 Jan 2007 09:00:54 +0100 Subject: overloaded stack script In-Reply-To: <35ca2a8c41213e213746941c171a5517@gmail.com> References: <35ca2a8c41213e213746941c171a5517@gmail.com> Message-ID: Hi Kevin, Yes, 25.000 lines is a lot... Are you a novelist ;-) More seriously: What about putting your code into a separate stack and starting using it as a lib at launch? Best Regards from Paris, Eric Chatonet Le 6 janv. 07 ? 08:48, kevin a ?crit : > Hi All, > > I am running Rev 2.7.4 on the Mac and have a stack script > containing ~25,000 lines of code. Its hard to edit because Rev runs > so slowly with so many lines in a script and I'd love to split it > up but most of the code are functions, not handlers, and > furthermore, the script refer to controls present on all cards in > that stack. By that I mean that a member card will call a function > in that stack script that will handle activity on the card > generically. > > I can deal with how slow it is to edit. What I have a harder time > dealing with is that when I open that stack from another stack, it > takes quite a few seconds (avg=10 sec) to open a card in that stack > even when no openStack or openCard handlers are running (or > closeCard, closeStack handlers for that matter). It appears that it > just takes a long time in general to open the stack when that many > lines of code are in the stack script. > > Does anyone have any experience with this type of issue? Maybe I'm > an idiot for having 25,000 lines of code in the stack script but I > don't know how to work around this. I see how I could call handlers > that reside elsewhere but not functions. Any advice would be > greatly appreciated. > > Cheers, > Kevin ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From dave.cragg at lacscentre.co.uk Sat Jan 6 04:05:47 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Sat, 6 Jan 2007 09:05:47 +0000 Subject: libURL and Resumable Downloads In-Reply-To: <459ECD65.6040902@dreamscapesoftware.com> References: <459ECD65.6040902@dreamscapesoftware.com> Message-ID: On 5 Jan 2007, at 22:12, Derek Bump wrote: > Does libURL support resumable downloads via HTTP yet? I was > looking at it a long time ago and it seems that if you just pass > the start-byte number within the headers that it can be done > (provided the server supports it). Though, it was not supported by > libURL at the time. If you know the range of bytes you want to download, you can set the Range header. For example, to get the first 500 bytes of a file: set the httpHeaders to "Range: bytes=0-499" Or to get the final 500 bytes: set the httpHeaders to "Range: bytes=-500" You can see a description of byte-range settings here: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35 Not all servers may support this, so you should perhaps check the response from the server using libUrlLastRHHeaders(). The following is a typical response to the second example above. HTTP/1.1 206 Partial Content Date: Sat, 06 Jan 2007 08:54:54 GMT Server: Apache/2.0.46 (Red Hat) Last-Modified: Tue, 04 Oct 2005 10:48:15 GMT ETag: "27403a0-7a9-6dd019c0" Accept-Ranges: bytes Content-Length: 500 Content-Range: bytes 1461-1960/1961 Connection: close Content-Type: text/html Cheers Dave From JimAultWins at yahoo.com Sat Jan 6 04:10:00 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Sat, 06 Jan 2007 01:10:00 -0800 Subject: overloaded stack script In-Reply-To: <35ca2a8c41213e213746941c171a5517@gmail.com> Message-ID: On 1/5/07 11:48 PM, "kevin" wrote: > Hi All, > > I am running Rev 2.7.4 on the Mac and have a stack script containing > ~25,000 lines of code. Its hard to edit because Rev runs so slowly with > so many lines in a script and I'd love to split it up but most of the > code are functions, not handlers, and furthermore, the script refer to > controls present on all cards in that stack. By that I mean that a > member card will call a function in that stack script that will handle > activity on the card generically. > > I can deal with how slow it is to edit. What I have a harder time > dealing with is that when I open that stack from another stack, it > takes quite a few seconds (avg=10 sec) to open a card in that stack > even when no openStack or openCard handlers are running (or closeCard, > closeStack handlers for that matter). It appears that it just takes a > long time in general to open the stack when that many lines of code are > in the stack script. > > Does anyone have any experience with this type of issue? Maybe I'm an > idiot for having 25,000 lines of code in the stack script but I don't > know how to work around this. I see how I could call handlers that > reside elsewhere but not functions. Any advice would be greatly > appreciated. > > Cheers, > Kevin > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution If you study the message path and the available script containers in Rev you will find that the stack script is only the first of many 'layers' that can be used and apply to all cards. One technique is to put some of the scripting lines in a substack, then do the following line on openStack start using stack "subStackofMe" Also, as a test... --open the stack with only openstack handler in the stack script --open the stack with no scripting in the stack script You can also do other scripting techniques to make the editing easier and faster. > I see how I could call handlers that > reside elsewhere but not functions. Any advice would be greatly > appreciated. Handlers and functions can be located the same way. They can be located in buttons, cards, other stacks, so there is really no practical limit. Study the 'back script' capability, plus 'start using' and 'stop using' Hope this Helps Jim Ault Las Vegas From list at dreamscapesoftware.com Sat Jan 6 09:57:45 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Sat, 06 Jan 2007 08:57:45 -0600 Subject: libURL and Resumable Downloads In-Reply-To: References: <459ECD65.6040902@dreamscapesoftware.com> Message-ID: <459FB8E9.1000502@dreamscapesoftware.com> Dave Cragg wrote: > If you know the range of bytes you want to download, you can set the > Range header. > > For example, to get the first 500 bytes of a file: > > set the httpHeaders to "Range: bytes=0-499" > > Or to get the final 500 bytes: > > set the httpHeaders to "Range: bytes=-500" Wow, that's pretty easy. Thanks for clearing that up for me Dave. With that I should be able to write a nice little function to take care of it. When it's done I'll post it. Thanks again for the help! Derek Bump Dreamscape Software www.dreamscapesoftware.com From david at openpartnership.net Sat Jan 6 10:55:05 2007 From: david at openpartnership.net (David Bovill) Date: Sat, 6 Jan 2007 16:55:05 +0100 Subject: cProps and umlauts Mac -> Win In-Reply-To: <9957D314-7BD8-4DF6-8511-5B0311D48274@major-k.de> References: <20061206034537.550A5488F8A@mail.runrev.com> <459ED473.8050404@pdslabs.net> <9957D314-7BD8-4DF6-8511-5B0311D48274@major-k.de> Message-ID: Is there a way to use unicode or some some textual encoding to achieve the same result - or is the only way to get your head around the platform specific byte encoding? From david at openpartnership.net Sat Jan 6 10:58:46 2007 From: david at openpartnership.net (David Bovill) Date: Sat, 6 Jan 2007 16:58:46 +0100 Subject: MacWorld In-Reply-To: <004001c7312f$42845060$6501a8c0@lynn> References: <1047847143.20070105104831@ahsoftware.net> <004001c7312f$42845060$6501a8c0@lynn> Message-ID: Great I'm there! From david at openpartnership.net Sat Jan 6 11:41:35 2007 From: david at openpartnership.net (David Bovill) Date: Sat, 6 Jan 2007 17:41:35 +0100 Subject: File lists - function or command? In-Reply-To: <459EBF96.4040400@fourthworld.com> References: <459EBF96.4040400@fourthworld.com> Message-ID: Richard I do not recall that thread but my take on this is that the differences fall into: 1) Functional - now whats a better word for this :) The functional distinction is AFAIK almost zero. There is only one possible functional issue that I came across a few years back - which may have changed and remains "unconfirmed". That is with "sending" messages. While you can "send" both "functions" and "commands" - I found a situation where somewhere down the chain "sending" of a function became problematic. It may have been an issue with arrays - either way I switched to "commands" in situations where I need to "send" complex data around and cutom properties where I can use more simple data structures.Mainly for stylistic reasons (see below). 2) Stylistic The only other place I use commands where it is otherwise more natural to use a function to return a result is if I want many results and use pass-by-reference variables to return these. With the functions I uses for waliking directories of stack for that matter - I have one complex "command" that returns multiple variables - ie file name, file type and a simpler function that calls the "command" - but this could equally be done as a "functin" with call-by-reference params - just which one do you return + you loose the benefit of auto-completion filling in that param types. From ambassador at fourthworld.com Sat Jan 6 13:33:19 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 06 Jan 2007 10:33:19 -0800 Subject: File lists - function or command? Message-ID: <459FEB6F.2030009@fourthworld.com> David Bovill wrote: > Richard I do not recall that thread but my take on this is that the > differences fall into: > > 1) Functional - now whats a better word for this :) > > The functional distinction is AFAIK almost zero. There is only one possible > functional issue that I came across a few years back - which may have > changed and remains "unconfirmed". That is with "sending" messages. While > you can "send" both "functions" and "commands" - I found a situation where > somewhere down the chain "sending" of a function became problematic. It may > have been an issue with arrays - either way I switched to "commands" in > situations where I need to "send" complex data around and cutom properties > where I can use more simple data structures.Mainly for stylistic reasons > (see below). > > 2) Stylistic > > The only other place I use commands where it is otherwise more natural to > use a function to return a result is if I want many results and use > pass-by-reference variables to return these. > > With the functions I uses for waliking directories of stack for that matter > - I have one complex "command" that returns multiple variables - ie file > name, file type and a simpler function that calls the "command" - but this > could equally be done as a "functin" with call-by-reference params - just > which one do you return + you loose the benefit of auto-completion filling > in that param types. I'm generally with you across the board here, and have had no trouble using a recursive function to obtain file lists in all the years I've been doing so. But in my weak memory I recall something about commands managing the memory stack more efficiently than functions, making commands more robust for crawls through deep directory structures. Ken Ray, got any insight into this? Or did the issue go away with more recent versions of Rev? Or am I just senile? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From wjm at wjm.org Sat Jan 6 13:49:39 2007 From: wjm at wjm.org (Bill Marriott) Date: Sat, 6 Jan 2007 13:49:39 -0500 Subject: Variable holding a chunk References: Message-ID: I personally always "live" in the dictionary. It has a field at the top which filters stuff out for you as you type. For this specific function, I would probably type in "evaluate" because I want Rev to "evaluate" the chunk expression rather than to use it as a literal string. This gives you the merge() function, which isn't what you're looking for, but the value function is mentioned under the "See Also:" heading. Incidentally, the merge() function works like mail merge in a word processor, but with expressions. So, put merge("line 2 of fld 1") gives you: line 2 of fld 1 but put merge("[[line 2 of fld 1]]") gives you: Bob eventually, I just learned that "the value of" was what I wanted and haven't had to remember any tricks. I am not sure why "evaluate" doesn't also return the value function; it probably should. "Jim Carwardine" wrote in message news:C1C4ABBA.9310%JimCarwardine at OwnYourFuture-net.com... > Hi Bill... I have 2.7.4 on MacIntel... Jim > > > on 1/5/07 6:03 PM, Bill Marriott wrote: > >> you have a chunk *expression* in myvar :) >> >> put the value of myVar >> >> will work. As for the help file, what version of Rev do you have? From JimCarwardine at OwnYourFuture-net.com Sat Jan 6 14:07:01 2007 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Sat, 06 Jan 2007 15:07:01 -0400 Subject: Variable holding a chunk In-Reply-To: Message-ID: It's always driven me crazy and now I can't remember from the HC days whether I had to use the value of expression or not. It's just that each time I use it, if it has been more than a few weeks, I have to relearn it. Thanks everyone... Jim on 1/6/07 2:49 PM, Bill Marriott wrote: > I personally always "live" in the dictionary. It has a field at the top > which filters stuff out for you as you type. For this specific function, I > would probably type in "evaluate" because I want Rev to "evaluate" the chunk > expression rather than to use it as a literal string. This gives you the > merge() function, which isn't what you're looking for, but the value > function is mentioned under the "See Also:" heading. > > Incidentally, the merge() function works like mail merge in a word > processor, but with expressions. > > So, > > put merge("line 2 of fld 1") gives you: > line 2 of fld 1 > > but > put merge("[[line 2 of fld 1]]") gives you: > Bob > > eventually, I just learned that "the value of" was what I wanted and haven't > had to remember any tricks. > > I am not sure why "evaluate" doesn't also return the value function; it > probably should. > > "Jim Carwardine" > wrote in > message news:C1C4ABBA.9310%JimCarwardine at OwnYourFuture-net.com... >> Hi Bill... I have 2.7.4 on MacIntel... Jim >> >> >> on 1/5/07 6:03 PM, Bill Marriott wrote: >> >>> you have a chunk *expression* in myvar :) >>> >>> put the value of myVar >>> >>> will work. As for the help file, what version of Rev do you have? > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- www.TalentSeeker.ca www.HiringSmart.ca/ns www.KeepingTheBest.ca/ns Own Your Future Consulting Services Limited, 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From robmann at gp-racing.com Sat Jan 6 14:25:55 2007 From: robmann at gp-racing.com (Robert Mann) Date: Sat, 6 Jan 2007 14:25:55 -0500 Subject: finding data in field Message-ID: <040c01c731c8$826d7460$0f00a8c0@roblaptop> I have a field of names separated by tabs Label tab fcdqty Label tab fcd1qty Label tab fcd3qty What I am trying to do is find the second item then once I find it select the first item in that line, below is what I have tried but does not work find word tcolname in fld "fieldmatch" - -this seems to work put the selecetedline in fld "fieldmatch into tline - - this is where I think my error is just not sure what to change put item 1 of tline into tncolnames any idea what I need to change to get this to work Thanks Rob From pepetoo at Cox.Net Sat Jan 6 14:43:06 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Sat, 6 Jan 2007 11:43:06 -0800 Subject: finding data in field In-Reply-To: <040c01c731c8$826d7460$0f00a8c0@roblaptop> References: <040c01c731c8$826d7460$0f00a8c0@roblaptop> Message-ID: <3D8BC500-24A8-4B27-861E-CF1CEF514771@Cox.Net> Hi Rob, A couple of observations: I assume it is: fld "fieldmatch" (and that you just omitted the final quote in the email) and that; you've defined the itemDelimiter as being a TAB; Not to be overly critical, but there is no need to be quite so cryptical with your names. We have an amazing "English-like" programming language, so why not use it. I know, key-strokes and all that stuff, but being more readable saves you time in the long run. Vars like fcdqty or not very meaningful; coming back to your scripts a couple of years later may be real "head-scratcher"! Then, I think you should: Use the foundChunk function after a find command to determine where the text was found. Script fragments such as you've provided are a bit difficult to follow. If I were you I would paste the entire handler into my email. HTH, Joe Wilkins On Jan 6, 2007, at 11:25 AM, Robert Mann wrote: > I have a field of names separated by tabs > > Label tab fcdqty > > Label tab fcd1qty > > Label tab fcd3qty > > > > > > What I am trying to do is find the second item then once I find it > select > the first item in that line, below is what I have tried but does > not work > > find word tcolname in fld "fieldmatch" - -this seems to work > > put the selecetedline in fld "fieldmatch into tline - - this is > where I > think my error is just not sure what to change > > put item 1 of tline into tncolnames > > > > any idea what I need to change to get this to work > > > > Thanks > > Rob > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From robmann at gp-racing.com Sat Jan 6 15:15:35 2007 From: robmann at gp-racing.com (Robert Mann) Date: Sat, 6 Jan 2007 15:15:35 -0500 Subject: finding data in field In-Reply-To: <3D8BC500-24A8-4B27-861E-CF1CEF514771@Cox.Net> Message-ID: <042601c731cf$709d5960$0f00a8c0@roblaptop> This is the complete handler with some changes, still not working put "SELECT "& gfields &" FROM " & gtable & ";" into theSQL put revQueryDatabase(gdbresult, theSQL) into FirstcurID put revNumberOfRecords(FirstcurID) into numrecord put revDatabaseColumnCount(FirstcurID) into colNum put "SELECT * FROM " & gnewname & ";" into theSQL2 put revQueryDatabase(gdbresult, theSQL2) into secondcurID put revDatabaseColumnCount(secondcurID) into colNum2 IF numrecord > 0 THEN REPEAT numrecord times REPEAT with c = 1 to colNum put revDatabaseColumnNames(FirstcurID, c)into tcolname REPEAT with x = 1 to colnum2 put revDatabaseColumnNames(secondcurID,x)into tnewcolname IF tcolname = tnewcolname THEN put revDatabaseColumnNumbered(FirstcurID, c) into tcolvalues put tnewcolname into tcolnames ELSE find word tcolname in fld "fieldmatch" put the foundline into tline put item 1 of tline into tcolnames put revDatabaseColumnNumbered(FirstcurID, c) into tcolvalues END IF END REPEAT -- END REPEAT put tcolnames after fld "fieldtcolnames" put tcolvalues after fld "fieldtcolvalues" revMoveToNextRecord secondcurID revMoveToNextRecord FirstcurID IF the result = false THEN exit REPEAT END REPEAT END IF Thanks Rob From pepetoo at Cox.Net Sat Jan 6 15:27:47 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Sat, 6 Jan 2007 12:27:47 -0800 Subject: finding data in field In-Reply-To: <042601c731cf$709d5960$0f00a8c0@roblaptop> References: <042601c731cf$709d5960$0f00a8c0@roblaptop> Message-ID: Rob, I assume you have declared ALL of the globals in the handler? On Jan 6, 2007, at 12:15 PM, Robert Mann wrote: > This is the complete handler with some changes, still not working > > put "SELECT "& gfields &" FROM " & gtable & ";" into theSQL > put revQueryDatabase(gdbresult, theSQL) into FirstcurID > put revNumberOfRecords(FirstcurID) into numrecord > put revDatabaseColumnCount(FirstcurID) into colNum > > put "SELECT * FROM " & gnewname & ";" into theSQL2 > put revQueryDatabase(gdbresult, theSQL2) into secondcurID > put revDatabaseColumnCount(secondcurID) into colNum2 > > IF numrecord > 0 THEN > REPEAT numrecord times > REPEAT with c = 1 to colNum > put revDatabaseColumnNames(FirstcurID, c)into tcolname > REPEAT with x = 1 to colnum2 > put revDatabaseColumnNames(secondcurID,x)into > tnewcolname > IF tcolname = tnewcolname THEN > put revDatabaseColumnNumbered(FirstcurID, c) > into > tcolvalues > put tnewcolname into tcolnames > ELSE > find word tcolname in fld "fieldmatch" > put the foundline into tline > put item 1 of tline into tcolnames > put revDatabaseColumnNumbered(FirstcurID, > c) into > tcolvalues > END IF > END REPEAT > -- > END REPEAT > put tcolnames after fld "fieldtcolnames" > put tcolvalues after fld "fieldtcolvalues" > revMoveToNextRecord secondcurID > revMoveToNextRecord FirstcurID > IF the result = false THEN exit REPEAT > END REPEAT > END IF > > Thanks > Rob > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From robmann at gp-racing.com Sat Jan 6 15:32:51 2007 From: robmann at gp-racing.com (Robert Mann) Date: Sat, 6 Jan 2007 15:32:51 -0500 Subject: finding data in field In-Reply-To: Message-ID: <042b01c731d1$d917a5c0$0f00a8c0@roblaptop> Yes global gfields, gtable,gdbresult, gnewname local tcolname, tcolnames, tline, numrecord, theSQL, FirstcurID, colnum, theSQL2, secondcurID,tncolnames, colnum2, tnewcolname, tcolvalues -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Joe Lewis Wilkins Sent: Saturday, January 06, 2007 3:28 PM To: How to use Revolution Subject: Re: finding data in field Rob, I assume you have declared ALL of the globals in the handler? On Jan 6, 2007, at 12:15 PM, Robert Mann wrote: > This is the complete handler with some changes, still not working > > put "SELECT "& gfields &" FROM " & gtable & ";" into theSQL > put revQueryDatabase(gdbresult, theSQL) into FirstcurID > put revNumberOfRecords(FirstcurID) into numrecord > put revDatabaseColumnCount(FirstcurID) into colNum > > put "SELECT * FROM " & gnewname & ";" into theSQL2 > put revQueryDatabase(gdbresult, theSQL2) into secondcurID > put revDatabaseColumnCount(secondcurID) into colNum2 > > IF numrecord > 0 THEN > REPEAT numrecord times > REPEAT with c = 1 to colNum > put revDatabaseColumnNames(FirstcurID, c)into tcolname > REPEAT with x = 1 to colnum2 > put revDatabaseColumnNames(secondcurID,x)into > tnewcolname > IF tcolname = tnewcolname THEN > put revDatabaseColumnNumbered(FirstcurID, c) > into > tcolvalues > put tnewcolname into tcolnames > ELSE > find word tcolname in fld "fieldmatch" > put the foundline into tline > put item 1 of tline into tcolnames > put revDatabaseColumnNumbered(FirstcurID, > c) into > tcolvalues > END IF > END REPEAT > -- > END REPEAT > put tcolnames after fld "fieldtcolnames" > put tcolvalues after fld "fieldtcolvalues" > revMoveToNextRecord secondcurID > revMoveToNextRecord FirstcurID > IF the result = false THEN exit REPEAT > END REPEAT > END IF > > Thanks > Rob > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From david at openpartnership.net Sat Jan 6 15:37:38 2007 From: david at openpartnership.net (David Bovill) Date: Sat, 6 Jan 2007 21:37:38 +0100 Subject: File lists - function or command? In-Reply-To: <459FEB6F.2030009@fourthworld.com> References: <459FEB6F.2030009@fourthworld.com> Message-ID: Ah - that could be possible and may explain why I had some problems using functions with "send" - I only got problems with deep nesting (usually recursion I think) - which got fixed by changeing to a command. On 06/01/07, Richard Gaskin wrote: > But in my weak memory I recall something about commands managing the > memory stack more efficiently than functions, making commands more > robust for crawls through deep directory structures. > > Ken Ray, got any insight into this? Or did the issue go away with more > recent versions of Rev? Or am I just senile? From sarah.reichelt at gmail.com Sat Jan 6 16:01:23 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 7 Jan 2007 07:01:23 +1000 Subject: finding data in field In-Reply-To: <040c01c731c8$826d7460$0f00a8c0@roblaptop> References: <040c01c731c8$826d7460$0f00a8c0@roblaptop> Message-ID: On 1/7/07, Robert Mann wrote: > I have a field of names separated by tabs > > Label tab fcdqty > Label tab fcd1qty > Label tab fcd3qty > > What I am trying to do is find the second item then once I find it select > the first item in that line, below is what I have tried but does not work > > find word tcolname in fld "fieldmatch" - -this seems to work > > put the selecetedline in fld "fieldmatch into tline - - this is where I > think my error is just not sure what to change > > put item 1 of tline into tncolnames When finding strings in order to so something with that information, rather than just displaying it, I prefer to use one of the offset functions. In your case, here is what I would use: put lineOffset(tab & tcolname & cr, fld "fieldmatch") into tLine put item 1 of tline into tncolnames HTH, Sarah From pepetoo at Cox.Net Sat Jan 6 16:36:08 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Sat, 6 Jan 2007 13:36:08 -0800 Subject: finding data in field In-Reply-To: <042b01c731d1$d917a5c0$0f00a8c0@roblaptop> References: <042b01c731d1$d917a5c0$0f00a8c0@roblaptop> Message-ID: <3AE42171-78FC-491E-BDD2-06A8D4CAE412@Cox.Net> How about putting in an actual word whose location you know to replace tcolname - as a test? To see if everything else is working. I see this list has some real size limits, so my suggestion about posting the entire handler may not have been very good. That's too bad! Joe Wilkins On Jan 6, 2007, at 12:32 PM, Robert Mann wrote: > Yes > global gfields, gtable,gdbresult, gnewname > local tcolname, tcolnames, tline, numrecord, theSQL, FirstcurID, > colnum, > theSQL2, secondcurID,tncolnames, colnum2, tnewcolname, tcolvalues From revolution at derbrill.de Sun Jan 7 04:07:56 2007 From: revolution at derbrill.de (Malte Brill) Date: Sun, 7 Jan 2007 10:07:56 +0100 (MET) Subject: cProps and umlauts Mac -> Win In-Reply-To: <20061207180005.223974891A8@mail.runrev.com> References: <20061207180005.223974891A8@mail.runrev.com> Message-ID: <08A310E4-CB85-42B1-BBF3-B6F9E803BEBB@derbrill.de> Hi Phil, Klaus and David, thanks for the pointers. Thinking about the binary problem it makes sense, however given the simplicity things usually work I am sometimes tempted to take things for granted. :-) macToIso / isoToMac seems the way to go. All the best, Malte From claudi.c at fiberworld.nl Sun Jan 7 08:04:48 2007 From: claudi.c at fiberworld.nl (Claudi Cornaz) Date: Sun, 7 Jan 2007 14:04:48 +0100 Subject: how to revert stack B, C and D from stack A Message-ID: Hi all, Currently I am working on a updater for my app. I can download the new versions of the stacks, the app is a splash with a lot of seperate lib stacks. In my updater stack I then have a list of stacks that need to be reverted to use the new version, but how to do that? All stacks that need to be reverted are invissible I just can't get it to work. Each time the udater stack itself gets reverted, which is of course the current stack. So I tried to use send in time a "myRevert" message to each stack on MyRevert set the defaultStack to me revert end myRevert Alas still no dice. How can I do this, if somone has a suggestion please, it would be very helpfull. Thanks a lot, Claudi From m.schonewille at economy-x-talk.com Sun Jan 7 08:45:01 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 7 Jan 2007 14:45:01 +0100 Subject: how to revert stack B, C and D from stack A In-Reply-To: References: Message-ID: <170A30FC-BD9D-482F-A4BA-EF8CCD9D8D0D@economy-x-talk.com> Hi Claudi, Revert simply reads the stackfile from disk again. It doesn't only revert the substacks but also the mainstack. I don't think this is what you want. Perhaps you want to delete stacks stacks B, C and D and replace them with a new version. First, not that this won't work if your stacks are part of a standalone. delete stack B go to stack "/disk/folder/stackB.rev" set the mainstack of "stackB" to "Your Mainstack" save stack "Your Mainstack" Same with stacks C and D. You cannot open the new stack before deleting the old one. However, you could give the new stacks a different name at first. Suppose that StackB Update is a substack of your updating stack: delete stack B go to stack "StackB Update" set the mainstack of "stackB Update" to "Your Mainstack" set the name of stack "StackB Update" to "StackB" save stack "Your Mainstack" I hope this gives you some ideas. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 7-jan-2007, om 14:04 heeft Claudi Cornaz het volgende geschreven: > Hi all, > > Currently I am working on a updater for my app. > > I can download the new versions of the stacks, the app is a splash > with > a lot of seperate lib stacks. > In my updater stack I then have a list of stacks that need to be > reverted > to use the new version, but how to do that? All stacks that need to be > reverted are invissible > > I just can't get it to work. Each time the udater stack itself gets > reverted, which > is of course the current stack. So I tried to use send in time a > "myRevert" message > to each stack > > on MyRevert > set the defaultStack to me > revert > end myRevert > > Alas still no dice. > > How can I do this, if somone has a suggestion please, it would be > very helpfull. > > Thanks a lot, > > Claudi From claudi.c at fiberworld.nl Sun Jan 7 10:43:00 2007 From: claudi.c at fiberworld.nl (Claudi Cornaz) Date: Sun, 7 Jan 2007 16:43:00 +0100 Subject: how to revert stack B, C and D from stack A In-Reply-To: <170A30FC-BD9D-482F-A4BA-EF8CCD9D8D0D@economy-x-talk.com> References: <170A30FC-BD9D-482F-A4BA-EF8CCD9D8D0D@economy-x-talk.com> Message-ID: <8f771fb64f402afcc41336b497e7a1c7@fiberworld.nl> Hi Mark, Thanks for the quick reply. All stacks are librarie stacks so they have no substacks. They also are all in use (well most of them) First I download the new versions of the stacks into the bundle with another name then I check if all stacks got downloaded OK. If so then I rename the old ones with a "~" at the end and rename the newly downloaded ones to the name of the old ones. Then I check again if all is well and if so I delete the old ones (the stacks with a "~" at the end) then I like to revert all stacks that have a new version. (I hope this doesn't sound to complicated but I hope this is a safe way to do it. If anywhere in this process something goes wrong I can still backout of the whole update and leave the app as it was before) I found out what I did wrong. The defaultStack is not the same as the current stack. So in this case instead of setting the defaultStack, I can just go invissible to the stack which was renewed in the bundle and then do revert. This works. I got confused between the defaultStack and the current stack. This got me confused the otherway round before when getting the mouseLoc in a librarie routine. In other words I wanted the mouseLoc in my document stack but the routine was in a invissible librarie stack. Without setting the defaultStack I got the mouseLoc relatieve to the librarie stack instead of my document stack, which was not what I needed. This one took me quite a while to discover. after setting the defaultStack at the beginning of the handler the mouseLoc returned the right coordinates relative to the document stack. (actualy I had discoverd it and forgot about it again till I got bitten again a year later, and again it got me up the walls before I figured out what was going on and then I remembered it had happened to me before) I plan to create a stack "Mistakes I made and things I learned" It could be very usefull, even for myself. Anyway thanks a lot Claudi On 7-jan-07, at 14:45, Mark Schonewille wrote: > Hi Claudi, > > Revert simply reads the stackfile from disk again. It doesn't only > revert the substacks but also the mainstack. I don't think this is > what you want. > > Perhaps you want to delete stacks stacks B, C and D and replace them > with a new version. First, not that this won't work if your stacks are > part of a standalone. > > delete stack B > go to stack "/disk/folder/stackB.rev" > set the mainstack of "stackB" to "Your Mainstack" > save stack "Your Mainstack" > > Same with stacks C and D. You cannot open the new stack before > deleting the old one. However, you could give the new stacks a > different name at first. Suppose that StackB Update is a substack of > your updating stack: > > delete stack B > go to stack "StackB Update" > set the mainstack of "stackB Update" to "Your Mainstack" > set the name of stack "StackB Update" to "StackB" > save stack "Your Mainstack" > > I hope this gives you some ideas. > > Best, > > Mark > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Get your store on-line within minutes with Salery Web Store software. > Download at http://www.salery.biz > > Op 7-jan-2007, om 14:04 heeft Claudi Cornaz het volgende geschreven: > >> Hi all, >> >> Currently I am working on a updater for my app. >> >> I can download the new versions of the stacks, the app is a splash >> with >> a lot of seperate lib stacks. >> In my updater stack I then have a list of stacks that need to be >> reverted >> to use the new version, but how to do that? All stacks that need to be >> reverted are invissible >> >> I just can't get it to work. Each time the udater stack itself gets >> reverted, which >> is of course the current stack. So I tried to use send in time a >> "myRevert" message >> to each stack >> >> on MyRevert >> set the defaultStack to me >> revert >> end myRevert >> >> Alas still no dice. >> >> How can I do this, if somone has a suggestion please, it would be >> very helpfull. >> >> Thanks a lot, >> >> Claudi > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From cbsiskin at pitt.edu Sun Jan 7 11:14:03 2007 From: cbsiskin at pitt.edu (Claire Bradin Siskin) Date: Sun, 7 Jan 2007 11:14:03 -0500 Subject: playing and recording at the same time Message-ID: We are working on a research project in Rev in which students hear a prompt and immediately repeat what they hear. (The process is similar to simultaneous translation in which the translator speaks while the speaker continues to speak.) Playing the sound and recording must happen at the same time. We want to record the prompt and the student's response all in one file. We have have been able to record these in one file with a poor quality version of the prompt (coming from an external speaker) and a good quality response using an external microphone. We are surmising that the prompt is being picked up by the mic which accounts for the poor quality. For the project we will have to use headsets (mic and headphone combined) which would prevent the prompt from being picked up by the microphone, so we need a better solution. Can we set the recording to stereo and use one track for the internal sound and the other for the microphone input? Or can anyone suggest another method to accomplish this task? Thanks, Claire -- Claire Bradin Siskin Robert Henderson Language Media Center University of Pittsburgh From JimCarwardine at OwnYourFuture-net.com Sun Jan 7 11:43:25 2007 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Sun, 07 Jan 2007 12:43:25 -0400 Subject: Can't get stack inspector to show stack... In-Reply-To: Message-ID: Hi List... I created a new substack and when I click on it the stack inspector doesn't show it. I can change its name from the message box and the name changes so Rev knows it's there. Have I hit a limit for the number of substacks? I can't find where that information is held in the docs. The new substack is the 36th substack of the main stack... Jim -- www.TalentSeeker.ca www.HiringSmart.ca/ns www.KeepingTheBest.ca/ns Own Your Future Consulting Services Limited, 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From wjm at wjm.org Sun Jan 7 11:44:36 2007 From: wjm at wjm.org (Bill Marriott) Date: Sun, 7 Jan 2007 11:44:36 -0500 Subject: playing and recording at the same time References: Message-ID: In every Windows application I'm aware of, what's recorded is determined by the mixer.... the thing you get when you double-click the speaker icon in the status bar, down by the clock. Double-click the speaker; you get the playback control. Options--> Properties Click Recording Put a checkmark next to everything Click OK Now you've got the Recording control My sound card -- and every brand is different -- only lets you select one source at a time, but DOES have a "What You Hear" option. If I want to record both what is coming out of the speakers AND what is going into the Microphone, then I select "What You Hear" then go BACK to the Playback Control and make sure the Microphone and Wave sliders are not muted. As far as I know it is not possible to do what you want (microphone to track 1, wave to track 2) in real-time with consumer sound cards and Rev. "Claire Bradin Siskin" wrote in message news:p06110402c1c6ccc48349@[192.168.0.103]... > We are working on a research project in Rev in which students hear a > prompt and immediately repeat what they hear. (The process is similar to > simultaneous translation in which the translator speaks while the speaker > continues to speak.) Playing the sound and recording must happen at the > same time. We want to record the prompt and the student's response all in > one file. > > We have have been able to record these in one file with a poor quality > version of the prompt (coming from an external speaker) and a good quality > response using an external microphone. We are surmising that the prompt is > being picked up by the mic which accounts for the poor quality. For the > project we will have to use headsets (mic and headphone combined) which > would prevent the prompt from being picked up by the microphone, so we > need a better solution. > > Can we set the recording to stereo and use one track for the internal > sound and the other for the microphone input? Or can anyone suggest > another method to accomplish this task? > > Thanks, Claire > -- > Claire Bradin Siskin > Robert Henderson Language Media Center > University of Pittsburgh > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From stephenREVOLUTION at barncard.com Sun Jan 7 12:00:06 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sun, 7 Jan 2007 09:00:06 -0800 Subject: playing and recording at the same time In-Reply-To: References: Message-ID: OK, one thing is -- is this a one-shot one or two computer setup? Or do you plan doing a lot of these simultaneously? The problem is that you want to manage multiple audio streams in and out synchronously and programmed. I don't think rev audio can do multiple audio streams like this in one app, at least perfectly timed. However, perhaps you could have a 'player' app that plays the prompts And another that records, with some kind of inter-app communication. This is easier on a Mac. To get both into the same file... you'll need a mic preamp for the one side of the line input and the audio of the computer out to both the headset and the other side of the line input. There's a bit of soldering and patching to do this, and it's not a total digital solution. There's also the problem of possible input-output feedback. All in all, that is a pretty cheesy solution. I'm surprised there isn't already an app out there that does all this. Google "audio language learning software custom" and see what you get. Here's something that's close; for windows http://www.nch.com.au/language/index.html Perhaps a multi-track audio recorder might be an easier alternative. Even the most professional machines are very cheap these days. OR try Rev/Applescripting an audio app that can do multiple streams; Sound Studio. Also check out Audio Hijack Pro (mac) which can establish a separate record stream apart from the built-in audio. Both are applescriptable. Finally, Trevor's Quicktime Externals might show another way to control the audio streams if you use Quicktime files for the audio. Perhaps it can 'overdub' a track in parallel with an existing audio track. A good headset is a must in all cases. Please let us know what you come up with. sqb >We are working on a research project in Rev in which students hear a >prompt and immediately repeat what they hear. (The process is >similar to simultaneous translation in which the translator speaks >while the speaker continues to speak.) Playing the sound and >recording must happen at the same time. We want to record the >prompt and the student's response all in one file. > >We have have been able to record these in one file with a poor >quality version of the prompt (coming from an external speaker) and >a good quality response using an external microphone. We are >surmising that the prompt is being picked up by the mic which >accounts for the poor quality. For the project we will have to use >headsets (mic and headphone combined) which would prevent the prompt >from being picked up by the microphone, so we need a better solution. > >Can we set the recording to stereo and use one track for the >internal sound and the other for the microphone input? Or can anyone >suggest another method to accomplish this task? > >Thanks, Claire >-- >Claire Bradin Siskin >Robert Henderson Language Media Center >University of Pittsburgh -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From JimCarwardine at OwnYourFuture-net.com Sun Jan 7 14:39:07 2007 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Sun, 07 Jan 2007 15:39:07 -0400 Subject: Can't get stack inspector to show stack... In-Reply-To: Message-ID: False alarm... Sort of. Somehow I created a stack that was only half there. I could do things with it through the message box but not through the stack inspector. I also couldn't paste a control in that I had copied from another stack. I deleted the new stack and recreated it and everything works fine now... Jim on 1/7/07 12:43 PM, Jim Carwardine wrote: > Hi List... I created a new substack and when I click on it the stack > inspector doesn't show it. I can change its name from the message box and > the name changes so Rev knows it's there. > > Have I hit a limit for the number of substacks? I can't find where that > information is held in the docs. > > The new substack is the 36th substack of the main stack... Jim -- www.TalentSeeker.ca www.HiringSmart.ca/ns www.KeepingTheBest.ca/ns Own Your Future Consulting Services Limited, 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From kray at sonsothunder.com Sun Jan 7 17:22:36 2007 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 7 Jan 2007 16:22:36 -0600 Subject: File lists - function or command? In-Reply-To: <459FEB6F.2030009@fourthworld.com> References: <459FEB6F.2030009@fourthworld.com> Message-ID: <249904BF-BD3C-4BDE-AA66-7BF00CAE77C6@sonsothunder.com> > But in my weak memory I recall something about commands managing > the memory stack more efficiently than functions, making commands > more robust for crawls through deep directory structures. > > Ken Ray, got any insight into this? Or did the issue go away with > more recent versions of Rev? Or am I just senile? I can't remember either... but what you say about managing memory sounds familiar... Ken Ray Sons of Thunder Software, Inc. Web Site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From tominjapan at excite.com Sun Jan 7 19:19:44 2007 From: tominjapan at excite.com (Thomas McCarthy) Date: Sun, 7 Jan 2007 19:19:44 -0500 (EST) Subject: playing and recording at the same time Message-ID: <20070108001944.8E9D07E42C@xprdmxin.myway.com> Just rethinking this... Your goal is to play both the student's recording and the original simultaneously. I don't see the need for a single file. 1. play sound, student records 2. on playback just play both files. files could be organized like this: [prompt] prmt_1.mp3 [student] std_9_1.wav "std" = "student" "9" = the student's id number "1" = the prompt file example recording script: function recordSetup tprompt tstd global soundmediapath --the path to where you save these files put soundmediapath &"prmt_" & tprompt & ".mp3" into tfileA put soundmediapath & "std_" & tstd & "_" & tprompt & ".wav" into tfileB --now you have your files named set the filename of player "prompt" to tfileA start player "prompt" --you might want a separate function for recording get myRecodingFunc tfileB end recordSetup For Playback, just use the same but have two players. just a thought from outside the box. cheers, t mccarthy _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From kray at sonsothunder.com Sun Jan 7 21:58:02 2007 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 7 Jan 2007 20:58:02 -0600 Subject: move a palette stack along with another stack In-Reply-To: <4A261921-150D-4584-B545-79E010FEE28D@gmail.com> References: <4A261921-150D-4584-B545-79E010FEE28D@gmail.com> Message-ID: <6280146F-0A03-4452-8ED5-199A56163D8C@sonsothunder.com> On Jan 4, 2007, at 12:14 PM, Chris Sheffield wrote: > Does anyone know if it's possible to do this in real time? I know > about the moveStack message, which I can successfully use to "snap" > the palette stack into place (because the message is not sent until > after the move is done), but I'd like it better if the palette > actually moved right along with the window I'm dragging. Is it > possible without rolling my own title bar, etc.? Sorry, Chris - under OS X you can't get this effect without rolling your own... Windows is another story since moveStack messages are sent constantly while the stack is moving. Ken Ray Sons of Thunder Software, Inc. Web Site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Sun Jan 7 22:05:38 2007 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 7 Jan 2007 21:05:38 -0600 Subject: revDataFromQuery, Rev cgi & mySQL In-Reply-To: <459E4A70.27D19584@club-internet.fr> References: <459E4A70.27D19584@club-internet.fr> Message-ID: <7419AD10-406A-4434-8B32-8AE9EA4A638A@sonsothunder.com> On Jan 5, 2007, at 6:54 AM, jbv wrote: > Hi list, > > For some reasons too long to explain here, I need to dump > large amounts of data from a mySQL table to a txt file (for instance > 15 columns for 35000 records that represents about 1.5 Mb). > > I'm using Rev cgi 2.5 and mySQL 3.23. > I use revDataFromQuery which happens to be VERY slow > (about 20 sec to get 1.5 Mb of data from mySQL)... > > I was wondering if there was any way to speed up such data > transfer between mySQL and Rev cgi, or may be to send to > mySQL (may be via the shell) an SQL request to dump the > content of some columns of a table into a txt file that could be > opened later from Rev cgi... > > Any help on this domain would be greatly apreciated... You can use a standard SELECT statement, but just add this: INTO OUTFILE Note that this dumps the file to the server host, not the client, so you'll need to have the FILE privilege assigned to the logged-in user to be able to execute it. This writes it out tab-delimited, with tabs, newlines, or "\" that occur in field values escaped with a preceding "\". If you want the file generated on the client, then you'll have to do a SELECT and put that into a Rev variable, then output the data from the variable to the text file. HTH, Ken Ray Sons of Thunder Software, Inc. Web Site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From revolution at jaedworks.com Sun Jan 7 02:28:57 2007 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Sat, 6 Jan 2007 23:28:57 -0800 Subject: Adding a Substack??? In-Reply-To: References: Message-ID: At 10:44 AM -0800 1/5/2007, Jim Ault wrote: >On 1/5/07 10:26 AM, "Dave" wrote: >> I have two .rev file, both contain one mainStack: >> >> StackA.Rev StackA >> StackB.Rev StackB >> >> How can I move StackB so it's a substack of StackA????? >> >> Can't seem to figure out how to do it. > >Open both stacks >Use the inspector for StackB, then the "Basic properties" panel, locate the >drop down labeled "mainstack", and choose "StackA" Or if you want to do this in a script, set the mainstack of the one that you want to be a substack: set the mainstack of stack "StackB" to "StackA" and then save StackA.rev. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From laguer at ucs.orst.edu Mon Jan 8 00:09:55 2007 From: laguer at ucs.orst.edu (Rich Lague) Date: Sun, 7 Jan 2007 21:09:55 -0800 Subject: ejecting a disk after using "the files" funtion Message-ID: In the last edition of the Runtime Revolution Newsletter there was an article on ?Listing and Sorting Files in Revolution?. The article included a demonstration stack ?File Lister.rev?. I took that stack and wrote a snippet of code to save the file lists it creates. I have been trying to use it to catalog my back-up CDs. It works great for creating the file lists, but I have a problem: When I try to eject the CD I just cataloged so I can go to the next CD, I get this message, ?The disk (here it puts the name of the disk,) is in use and could not be ejected.? I find that if I then use the function ?the files? on a different disk it allows me to eject the disk I just cataloged. How can I get the function ?the files? to let go of me CD so I can eject it and go on to the next CD? Thanks, Rich Lague From JimAultWins at yahoo.com Mon Jan 8 00:56:53 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Sun, 07 Jan 2007 21:56:53 -0800 Subject: ejecting a disk after using "the files" funtion In-Reply-To: Message-ID: On 1/7/07 9:09 PM, "Rich Lague" wrote: > In the last edition of the Runtime Revolution Newsletter there was an > article on ?Listing and Sorting Files in Revolution?. The article > included a demonstration stack ?File Lister.rev?. I took that stack > and wrote a snippet of code to save the file lists it creates. I have > been trying to use it to catalog my back-up CDs. It works great for > creating the file lists, but I have a problem: When I try to eject > the CD I just cataloged so I can go to the next CD, I get this > message, ?The disk (here it puts the name of the disk,) is in use and > could not be ejected.? > > I find that if I then use the function ?the files? on a different > disk it allows me to eject the disk I just cataloged. How can I get > the function ?the files? to let go of me CD so I can eject it and go > on to the next CD? Well, it looks like you are doing it. You might try to just add a step that gets the files of your desktop folder (or other) and just not use them. Kind of like a way of releasing the files of the ejectable volume. Hope this helps. Jim Ault Las Vegas From scott at tactilemedia.com Mon Jan 8 00:59:45 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 07 Jan 2007 21:59:45 -0800 Subject: ejecting a disk after using "the files" funtion In-Reply-To: Message-ID: Recently, Rich Lague wrote: > When I try to eject > the CD I just cataloged so I can go to the next CD, I get this > message, ?The disk (here it puts the name of the disk,) is in use and > could not be ejected.? > > I find that if I then use the function ?the files? on a different > disk it allows me to eject the disk I just cataloged. How can I get > the function ?the files? to let go of me CD so I can eject it and go > on to the next CD? I believe if you set the directory to another volume other than the CD you should be able to eject the CD. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From bvlahos at mac.com Mon Jan 8 02:44:23 2007 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 7 Jan 2007 23:44:23 -0800 Subject: Can't set the password of a stack Message-ID: I enter the following into the message box but it doesn't password protect the stack. set the passKey of this stack to "niftypassword" I've done this before so I'm not sure what I'm doing wrong now. Bill Vlahos From revolution at derbrill.de Mon Jan 8 02:58:50 2007 From: revolution at derbrill.de (Malte Brill) Date: Mon, 8 Jan 2007 08:58:50 +0100 (MET) Subject: Can't set the password of a stack In-Reply-To: <20061207180005.223974891A8@mail.runrev.com> References: <20061207180005.223974891A8@mail.runrev.com> Message-ID: <0379D340-059F-42C5-B21E-F752E398C969@derbrill.de> Hi Bill, you used the counterpart to the command you need to set the password. To protect a stack: set the password of stack "myStack" to "myPassword" then save and reopen the stack. To get access to the script again: set the passkey of stack "myStack" to "myPassword" and you are able to read the script again. Hope this helps, Malte From zax at tripoy.com Mon Jan 8 08:27:26 2007 From: zax at tripoy.com (Zax) Date: Mon, 8 Jan 2007 05:27:26 -0800 (PST) Subject: XML and accented characters [HELP] Message-ID: <8217760.post@talk.nabble.com> Hello, My standalone (built for Mac and Windows) uses an XML file to store and retreive some user options. One of these options is the name of a folder. This name can contains accented characters (french) and blank spaces. I encounter 2 problems: 1 - on Mac, if the string to store contains accented chars or blank spaces, when I tried to write the XML (using revAddXMLNode xmlID,tSubNode,"folderName",fld "FolderName"), Rev 2.7.4 doesn't write this string. 2 - on Windows, accented characters are modified, so the string contains bad characters when reading. I looked into this forum, find some tips like: - convert the string data to UTF-8 before writing to the XML file (put uniDecode(uniEncode(tASCIIText), "UTF8") into tUTF8Text - change the encoding of the XML file by using: ? ? But none of these tips are working :( As I'm an XML newbie, could someone describe preciseley what I should do? Thank you in advance! -- View this message in context: http://www.nabble.com/XML-and-accented-characters--HELP--tf2939292.html#a8217760 Sent from the Revolution - User mailing list archive at Nabble.com. From cszasz at mac.com Mon Jan 8 10:08:37 2007 From: cszasz at mac.com (Charles Szasz) Date: Mon, 8 Jan 2007 10:08:37 -0500 Subject: Standalone Question Message-ID: <9D1D684D-F04F-4E40-BDB2-3B09FA020F46@mac.com> When you have a startup stack (splash screen) and a second stack (your application) made into a standalone, it is common for the first stack to be an application and .exe program respectively for the Mac and Windows and the second stack to remain as a Rev stack? I have encountered this for standalones for the Windows and the Mac platforms. I thought both would be made into one application. Charles Szasz cszasz at mac.com From lynn at paradigmasoft.com Mon Jan 8 12:05:51 2007 From: lynn at paradigmasoft.com (Lynn Fredricks) Date: Mon, 8 Jan 2007 09:05:51 -0800 Subject: Paradigma Releases Valentina 2.5.3 and Valentina Developer Revolution 2007 Message-ID: <00c201c73347$4eb99bf0$6501a8c0@lynn> Paradigma Releases Valentina 2.5.3 and Valentina Developer Revolution 2007 Updated, Fasted Database and Easy To Use Cross Platform Tool Together January 9, 2007. Beaverton, Oregon-based Paradigma Software, Inc, makers or the ultra fast, cross-platform Valentina Office Server database for business, announces the release of Valentina 2.5.3. In addition and with Edinburgh, Scotland based Runtime Revolution, unveil Valentina Developer Revolution 2007, which includes all the tools needed to develop business-ready cross-platform database solutions for MacOS X and Windows. Valentina Office Server for Windows and MacOS X is a business ready database server. Valentina ADKs are developer tools for incorporating the ultra-fast database into applications made with most available development tools, including Runtime Revolution, Adobe Director, Cocoa/Objective-C, C++ (xCode, MS), REALbasic, .net framework and COM. Valentina Technology Release 2.5.3 includes the following improvements: . On MacOS X, support for PHP 5 as well as PHP 4 scripting . Over 30 customer requested fixes and corrections to improve overall usability . Ordering by Temporary Fields Valentina Office Server begins at $300 for MacOS X and Windows. Valentina ADKs begin at $199, with the Valentina Developer Network version - including the ability to deploy Valentina Embedded Server royalty free, begins at $499. In cooperation with Edinburgh, Scotland based Runtime Revolution, the companies announce Valentina Developer Revolution 2007, including all the tools a developer needs to build, test, browse, query and administer compete cross-platform database applications on MacOS X and Windows. Valentina Developer Revolution 2007 is $499, a savings of $200. The product includes: . Revolution Studio powerful, visual, object-based development environment with incorporated visual debugger, message watcher/editor and and integrated programming reference . Rich modern graphics architecture supports, vector graphics, broad range of blends/transitions/effects, video and more . Easy to learn, English-like Revolution programming language . Build Apache CGIs and deploy the engine for FREE . Automatically build U3 compatible smart drive applications! . Valentina for Revolution plugins for both MacOS X and Windows . plugins work with local databases or data stored on servers . Valentina Studio with Visual Query Builder and ODBC import . About 50 Valentina for Revolution code samples . Over 400 pages of Valentina for Revolution online documentation . Free Community Support Mailing List and forums Valentina Developer Revolution can be ordered from Paradigma Software from the Paradigma online store or through the Runtime Revolution online store. About Paradigma Software, Inc Founded in 1998, Beaverton, Oregon-based Paradigma Software, Inc is the leading provider of incredibly fast and robust database solutions for business and development. Valentina 2 technology powers solutions as diverse as graphics applications from major Japanese electronics companies to solutions supporting US public schools. Paradigma Software solutions are available for every major development environment on the Windows and Macintosh platforms. About Runtime Revolution Founded in 1997, Runtime Revolution focuses on bringing user-centric software development to all major platforms: Windows, Macintosh, Linux, and Unix. The company is based in Edinburgh, Scotland. For more information on Runtime Revolution, please visit the company on the web at http://www.runrev.com Contact Paradigma Software Ph. (503) 574-2776 http://www.paradigmasoft.com From stephenREVOLUTION at barncard.com Mon Jan 8 13:47:18 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 8 Jan 2007 10:47:18 -0800 Subject: Standalone Question In-Reply-To: <9D1D684D-F04F-4E40-BDB2-3B09FA020F46@mac.com> References: <9D1D684D-F04F-4E40-BDB2-3B09FA020F46@mac.com> Message-ID: Hey, Charles, The mac platform conveniently packages applications into a special folder, which looks to the user in the finder like a double-clickable application (with the extension .app), but actually can contain all files and folders pertaining to the project, including all stacks, drivers, help files, etc. control-click on a mac standalone package in the finder, and you will see a popup menu. Choose "Show Package Contents" and you can drill further into it. All the rev stuff is in the 'Mac OS' directory. Working with Rev on a Mac is a dream. I can be in the IDE editing 'inside' the standalone, save and at any time launch the same code as a standalone, close, then go back to the IDE. And it all ends up in a perfect, icon'd package. The standalone package itself never has to be recreated unless there's a change in the launch process, and all the rev 'stuff' is there. All the stacks for your project are inside, in the hierarchy you designed. You never have any path or inclusion problems that might happen in standalone building because your not building one, and the paths in the standalone and when editing are one and the same. The biggest 'gotcha' that I can attach to this method is that DATE BASED BACKUPS will NOT WORK with stacks saved inside a package like this. I know the Finder and my backup program (Folderssynchronizer) still thinks my app was last changed on July 6, 2006, when actually stacks are changed often. After discovering this, I used internal Rev calls inside the app to compress itself and send a copy to a ftp server offsite. I also wrote a short one to compress each stack in the hierarchy to an individual component of a multi file document using RevZip. ( I love the addition of this to the feature set. ) I would expect Rev on PC would pack everything in the build into a non-editable .exe file and using my method that worked on the Mac above would require an external folder with the editable stacks inside. I think I got that right, but even though I have an Enterprise license, I haven't spent much time on the PC side. My pet PC broke a while ago...so please - a PC Rev person chime in here.. >When you have a startup stack (splash screen) and a second stack >(your application) made into a standalone, it is common for the >first stack to be an application and .exe program respectively for >the Mac and Windows and the second stack to remain as a Rev stack? I >have encountered this for standalones for the Windows and the Mac >platforms. I thought both would be made into one application. > > >Charles Szasz >cszasz at mac.com -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From dave at looktowindward.com Mon Jan 8 13:50:00 2007 From: dave at looktowindward.com (Dave) Date: Mon, 8 Jan 2007 18:50:00 +0000 Subject: Adding a Substack??? In-Reply-To: References: Message-ID: <0CF76B34-3FE3-43DC-A0C2-7FC0E028BA74@looktowindward.com> Hi, Thanks a lot! Knew there must be a way to do it, but couldn't figure it out! All the Best Dave On 5 Jan 2007, at 18:44, Jim Ault wrote: > > On 1/5/07 10:26 AM, "Dave" wrote: > >> Hi, >> >> I have two .rev file, both contain one mainStack: >> >> StackA.Rev StackA >> StackB.Rev StackB >> >> How can I move StackB so it's a substack of StackA????? >> >> Can't seem to figure out how to do it. > > Open both stacks > Use the inspector for StackB, then the "Basic properties" panel, > locate the > drop down labeled "mainstack", and choose "StackA" > > Jim Ault > Las Vegas > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dave at looktowindward.com Mon Jan 8 13:55:27 2007 From: dave at looktowindward.com (Dave) Date: Mon, 8 Jan 2007 18:55:27 +0000 Subject: Paradigma Releases Valentina 2.5.3 and Valentina Developer Revolution 2007 In-Reply-To: <00c201c73347$4eb99bf0$6501a8c0@lynn> References: <00c201c73347$4eb99bf0$6501a8c0@lynn> Message-ID: <2D68797A-B5AC-4E53-AF5D-44D5F239FD91@looktowindward.com> On 8 Jan 2007, at 17:05, Lynn Fredricks wrote: > . Over 30 customer requested fixes and corrections to improve overall > usability Pity RunRev didn;t employ a similar strategy then I might be able to sell a copy or two or even feel comfortable in upgrading from 2.6.6. All the Best Dave From lynn at paradigmasoft.com Mon Jan 8 14:05:31 2007 From: lynn at paradigmasoft.com (Lynn Fredricks) Date: Mon, 8 Jan 2007 11:05:31 -0800 Subject: Paradigma Releases Valentina 2.5.3 and Valentina DeveloperRevolution 2007 In-Reply-To: <2D68797A-B5AC-4E53-AF5D-44D5F239FD91@looktowindward.com> Message-ID: <012f01c73358$0533d4d0$6501a8c0@lynn> > Pity RunRev didn;t employ a similar strategy then I might be > able to sell a copy or two or even feel comfortable in > upgrading from 2.6.6. Have you signed up for the open beta? Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution, Ltd From dave at looktowindward.com Mon Jan 8 14:18:48 2007 From: dave at looktowindward.com (Dave) Date: Mon, 8 Jan 2007 19:18:48 +0000 Subject: Paradigma Releases Valentina 2.5.3 and Valentina DeveloperRevolution 2007 In-Reply-To: <012f01c73358$0533d4d0$6501a8c0@lynn> References: <012f01c73358$0533d4d0$6501a8c0@lynn> Message-ID: Hi, No, I haven't but did promise I would. To be honest I've been swamped for the last 5 or 6 weeks and forgot all about it. What's the drill for signing up? I'll do it tomorrow. All the Best Dave On 8 Jan 2007, at 19:05, Lynn Fredricks wrote: >> Pity RunRev didn;t employ a similar strategy then I might be >> able to sell a copy or two or even feel comfortable in >> upgrading from 2.6.6. > > Have you signed up for the open beta? > > Best regards, > > > Lynn Fredricks > Worldwide Business Operations > Runtime Revolution, Ltd > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sarah.reichelt at gmail.com Mon Jan 8 15:43:16 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 9 Jan 2007 06:43:16 +1000 Subject: Standalone Question In-Reply-To: <9D1D684D-F04F-4E40-BDB2-3B09FA020F46@mac.com> References: <9D1D684D-F04F-4E40-BDB2-3B09FA020F46@mac.com> Message-ID: On 1/9/07, Charles Szasz wrote: > When you have a startup stack (splash screen) and a second stack > (your application) made into a standalone, it is common for the first > stack to be an application and .exe program respectively for the Mac > and Windows and the second stack to remain as a Rev stack? I have > encountered this for standalones for the Windows and the Mac > platforms. I thought both would be made into one application. > Go to "Standalone Application Settings.." then click on the "Stacks" button at the top. There is a checkbox there called "Move substacks into individual stackfiles". If this is checked, you will get what you describe, which is great if you need the substacks to be writable. If you just want all the stacks in a single file, uncheck this, but you will not be able to save any changes made to any of the stacks. HTH, Sarah From capellan2000 at yahoo.com Mon Jan 8 15:57:24 2007 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Mon, 8 Jan 2007 12:57:24 -0800 (PST) Subject: [ANN] exportVector v03 In-Reply-To: <20070107180004.BF606488EA3@mail.runrev.com> Message-ID: <20070108205724.14408.qmail@web36510.mail.mud.yahoo.com> Hi all, Download the stacks: http://www.geocities.com/capellan2000/exportVector_v03.zip http://www.geocities.com/capellan2000/newPentoolScript_v02.zip New in these versions: svg export, using a custom version of the library mc2svg from Richard Gasking. These handlers exports: 1- common vector graphics produced by the engine, 2- graphics with empty lines in their points (look at the vector graphics that looks 3D), 3- graphics produced by the stack pentool (using the custom property cpoints) Send comments or Report problems to my email. Feel free to use these stacks as you wish, only remember to keep in your stacks an updated link to my website. Have a great good year 2007! alejandro Visit my site: http://www.geocities.com/capellan2000/ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From jonseymour at mac.com Mon Jan 8 16:54:34 2007 From: jonseymour at mac.com (Jon Seymour) Date: Mon, 8 Jan 2007 15:54:34 -0600 Subject: Read from socket without callback message Message-ID: <67337860-5C76-4271-8BCA-253EE98D8FC6@mac.com> Hi, I can't get this form of the read command to work. "Read from socket rsocket until with callbackmsg" works fine, but when I issue "read from socket rsocket until ", the socket always times out and leaves the variable 'it' empty. I'm trying for the documented functionality: the handler pauses while reading and continues once the is reached, with 'it' holding the contents of the read. Is there a trick to this? Thanks, Jon From lynn at paradigmasoft.com Mon Jan 8 17:08:08 2007 From: lynn at paradigmasoft.com (Lynn Fredricks) Date: Mon, 8 Jan 2007 14:08:08 -0800 Subject: Paradigma Releases Valentina 2.5.3 and ValentinaDeveloperRevolution 2007 In-Reply-To: Message-ID: <002a01c73371$87dbd2c0$6501a8c0@lynn> > No, I haven't but did promise I would. To be honest I've been > swamped for the last 5 or 6 weeks and forgot all about it. > What's the drill for signing up? I'll do it tomorrow. http://support.runrev.com/beta_test.php Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution, Ltd From mark at maseurope.net Mon Jan 8 17:11:34 2007 From: mark at maseurope.net (Mark Smith) Date: Mon, 8 Jan 2007 22:11:34 +0000 Subject: Read from socket without callback message In-Reply-To: <67337860-5C76-4271-8BCA-253EE98D8FC6@mac.com> References: <67337860-5C76-4271-8BCA-253EE98D8FC6@mac.com> Message-ID: Probably not the answer, but have you checked the value of the socketTimeoutInterval? Best, Mark On 8 Jan 2007, at 21:54, Jon Seymour wrote: > Hi, > > I can't get this form of the read command to work. "Read from > socket rsocket until with callbackmsg" works fine, but when I > issue "read from socket rsocket until ", the socket always > times out and leaves the variable 'it' empty. I'm trying for the > documented functionality: the handler pauses while reading and > continues once the is reached, with 'it' holding the contents > of the read. > > Is there a trick to this? > > Thanks, > > Jon > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From hannu.kokko at iki.fi Mon Jan 8 17:32:07 2007 From: hannu.kokko at iki.fi (Hannu Kokko) Date: Tue, 9 Jan 2007 00:32:07 +0200 Subject: Crashes with 2.7.4 In-Reply-To: <20070108205724.14408.qmail@web36510.mail.mud.yahoo.com> References: <20070108205724.14408.qmail@web36510.mail.mud.yahoo.com> Message-ID: Hi Where should I send crash dumps when 2.7.4 on Mac OS X 10.4.8 is crashing --h From stephenREVOLUTION at barncard.com Mon Jan 8 17:40:56 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 8 Jan 2007 14:40:56 -0800 Subject: Crashes with 2.7.4 In-Reply-To: References: <20070108205724.14408.qmail@web36510.mail.mud.yahoo.com> Message-ID: 1. Join the beta program for 2.7.5. And see if the bug remains. Much focus is here. Participate in the future of Rev. http://support.runrev.com/beta_test.php and/or 2. register & submit bug report for your bug in 2.7.4 with attachment to http://quality.runrev.com >Hi > >Where should I send crash dumps when 2.7.4 on Mac OS X 10.4.8 is crashing > >--h -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From wjm at wjm.org Tue Jan 9 02:57:42 2007 From: wjm at wjm.org (Bill Marriott) Date: Tue, 9 Jan 2007 02:57:42 -0500 Subject: Crashes with 2.7.4 References: <20070108205724.14408.qmail@web36510.mail.mud.yahoo.com> Message-ID: Good advice, Stephen, just two things: - Unfortunately, most crash reports are too large for attachment in the Quality Control Center. You'll need to upload them to a web server and link them into the system. - We don't immediately have a beta version to test. Beta 1 expired early December, and Beta 2 is still being worked on; it won't be out for a couple weeks. Also, just to be explicit, one is not a requirement for the other; you can submit the report against 2.7.4 without being a member of the beta test. Finally, I would remind everyone that all licensed users of 2.7.x will receive 2.7.5 for free; submitting reports is the best way to ensure that the free update you'll receive is of the highest quality possible. --- Bill Marriott Revolution Quality Partner bill.marriott at runrev.com "Stephen Barncard" wrote in message news:p06240811c1c877971702@[192.168.1.40]... > 1. Join the beta program for 2.7.5. And see if the bug remains. Much focus > is here. Participate in the future of Rev. > http://support.runrev.com/beta_test.php > > and/or > > 2. register & submit bug report for your bug in 2.7.4 with attachment to > http://quality.runrev.com > > >>Hi >> >>Where should I send crash dumps when 2.7.4 on Mac OS X 10.4.8 is crashing >> >>--h > > -- > > > stephen barncard > s a n f r a n c i s c o > - - - - - - - - - - - - > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From r.venzl-schubert at t-online.de Tue Jan 9 04:09:01 2007 From: r.venzl-schubert at t-online.de (Reinhold Venzl-Schubert) Date: Tue, 9 Jan 2007 10:09:01 +0100 Subject: external editor for Revolution Message-ID: <9B82A353-2328-4F09-BCDF-9CF82217FB2D@t-online.de> Hi! I am looking for an useful external editor for rev to tinker my scripts. Reinhold From heather at runrev.com Tue Jan 9 05:24:34 2007 From: heather at runrev.com (Heather Nagey) Date: Tue, 9 Jan 2007 10:24:34 +0000 Subject: MacWorld San Francisco dinner Message-ID: Dear listees, I have been asked to pass along the following information: Guy Jones is holding an informal Runtime dinner at 7.30 on Tuesday the 9th in San Francisco, McCormick & Kuleto's Seafood Restaurant. It is a chance to meet with other users as well as Guy. His role at Runtime is European Business development and he can share with you how you can reach international customers. Each person will buy their own dinner. Link to the restaurant is http://www.opentable.com/rest_profile.aspx? p=2&rid=2064&pt=100,100,100&d=1/9/2007%206:45:00%20PM,1/9/2007% 207:00:00%20PM,1/9/2007%207:15:00%20PM&i=0&hpu=223583803&t=FR Regards, Heather Heather Nagey Customer Services Manager Runtime Revolution Ltd http://www.runrev.com From revolution at jaedworks.com Tue Jan 9 06:54:57 2007 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Tue, 9 Jan 2007 03:54:57 -0800 Subject: ejecting a disk after using "the files" funtion In-Reply-To: References: Message-ID: At 9:59 PM -0800 1/7/2007, Scott Rossi wrote: >Recently, Rich Lague wrote: > >> When I try to eject >> the CD I just cataloged so I can go to the next CD, I get this >> message, "The disk (here it puts the name of the disk,) is in use and >> could not be ejected." >> >> I find that if I then use the function "the files" on a different >> disk it allows me to eject the disk I just cataloged. How can I get >> the function "the files" to let go of me CD so I can eject it and go >> on to the next CD? > >I believe if you set the directory to another volume other than the CD you >should be able to eject the CD. Scott is right. Setting the defaultFolder to some folder that's not on the disk to be ejected will also let you eject it (a little simpler than using the files function). (Basically, if an application is using a folder as its current working directory, the OS will mark that directory as being in use and won't allow you to eject the volume. It's the same as when you have a file on that disk open and therefore can't eject it.) -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From dweeble at wi.rr.com Tue Jan 9 08:06:06 2007 From: dweeble at wi.rr.com (Michael D.) Date: Tue, 9 Jan 2007 07:06:06 -0600 Subject: Replace Text in Lines Message-ID: <001e01c733ee$ecb95370$0300a8c0@upthe> Hi all I have a numbered text file with 1 to 800 lines, I need to replace text in specific lines with text from a field. I can replace by individual lines with the replace into a single line number, but how is this done with mutliple odd lines ? replace 12345 with 67890 in the text file in all the listed odd individual line numbers. example 67890-Dataname < field "replace" contents set the itemdelimiter to "-" put item 1 of fld replace into lines 299,322,345,368,391,414,437,460,483,506 of field "textfile" Michael From dave at looktowindward.com Tue Jan 9 08:41:28 2007 From: dave at looktowindward.com (Dave) Date: Tue, 9 Jan 2007 13:41:28 +0000 Subject: Beta Program In-Reply-To: <002a01c73371$87dbd2c0$6501a8c0@lynn> References: <002a01c73371$87dbd2c0$6501a8c0@lynn> Message-ID: <66FEDE67-FB65-4CEC-96A0-CB1CD9BECA7C@looktowindward.com> Hi, I signed up! One question though: How do you manage to use 2.7.x and 2.6.6. at the same time? When I installed the 2.7.x evaluation, it changed all owner of my stacks to the latest version. I got rid of it, but now I have to manually change the owner for each stack on my system! Any help or advice very welcome. Thank a lot and All the Best Dave On 8 Jan 2007, at 22:08, Lynn Fredricks wrote: >> No, I haven't but did promise I would. To be honest I've been >> swamped for the last 5 or 6 weeks and forgot all about it. >> What's the drill for signing up? I'll do it tomorrow. > > http://support.runrev.com/beta_test.php > > Best regards, > > > Lynn Fredricks > Worldwide Business Operations > Runtime Revolution, Ltd > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major-k.de Tue Jan 9 08:48:24 2007 From: klaus at major-k.de (Klaus Major) Date: Tue, 9 Jan 2007 14:48:24 +0100 (MET) Subject: Replace Text in Lines In-Reply-To: <001e01c733ee$ecb95370$0300a8c0@upthe> References: <001e01c733ee$ecb95370$0300a8c0@upthe> Message-ID: Hi Michael, > Hi all > I have a numbered text file with 1 to 800 lines, I need to replace > text in specific lines with text from a field. I can replace by > individual lines with the replace into a single line number, but > how is this done with mutliple odd lines ? > > replace 12345 with 67890 in the text file in all the listed odd > individual line numbers. > > example > 67890-Dataname < field "replace" contents > > set the itemdelimiter to "-" > put item 1 of fld replace into lines > 299,322,345,368,391,414,437,460,483,506 of field "textfile" Looks like you need a nice repeat loop :-) ... set the itemdelimiter to "-" put item 1 of fld replace into text2replace put fld "textfile" into tTextfile ## Doing everything in memory instead of manipulating the field directly will speed up things a LOT! set itemdel to "," repeat for each item i in "299,322,345,368,391,414,437,460,483,506" put text2replace into line i of tTextfile end repeat put tTextfile into fld "textfile" ... Et voila! Hope that helps. > Michael Regards from germany Klaus Major klaus at major-k.de http://www.major-k.de From stephenREVOLUTION at barncard.com Tue Jan 9 10:08:46 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 9 Jan 2007 07:08:46 -0800 Subject: external editor for Revolution In-Reply-To: <9B82A353-2328-4F09-BCDF-9CF82217FB2D@t-online.de> References: <9B82A353-2328-4F09-BCDF-9CF82217FB2D@t-online.de> Message-ID: Well you might try Galaxy. http://www.runrev.com/section/revselect/galaxy/index.php But that's a pro product - you said you were 'tinkering' - it costs a little bit, but is quite more than just an 'external editor' - it's an incredibly well-tested alternate IDE and well loved by this author. Or try BBEDIT or TextWrangler (free) http://barebonessoftware.com/products/textwrangler/ >Hi! > >I am looking for an useful external editor for rev to tinker my scripts. > >Reinhold -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From devin_asay at byu.edu Tue Jan 9 11:00:59 2007 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 9 Jan 2007 09:00:59 -0700 Subject: cProps and umlauts Mac -> Win In-Reply-To: References: <20061206034537.550A5488F8A@mail.runrev.com> <459ED473.8050404@pdslabs.net> <9957D314-7BD8-4DF6-8511-5B0311D48274@major-k.de> Message-ID: <52565C9A-F021-403A-AA14-79BC57CBDD4B@byu.edu> David, A technique I've used successfully is to store the text as htmlText in the custom property. That way it will be rendered properly regardless of platform. Storing as UTF-8 also works well. Devin On Jan 6, 2007, at 8:55 AM, David Bovill wrote: > Is there a way to use unicode or some some textual encoding to > achieve the > same result - or is the only way to get your head around the platform > specific byte encoding? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Devin Asay Humanities Technology and Research Support Center Brigham Young University From soapdog at mac.com Tue Jan 9 12:56:05 2007 From: soapdog at mac.com (Andre Garzia) Date: Tue, 9 Jan 2007 15:56:05 -0200 Subject: Revolution featured on OSNews.com Message-ID: Hey Folks, go there, comment!!! let us get the word going!!! Andre From dan at shafermedia.com Tue Jan 9 13:10:59 2007 From: dan at shafermedia.com (Dan Shafer) Date: Tue, 9 Jan 2007 10:10:59 -0800 Subject: Revolution featured on OSNews.com In-Reply-To: References: Message-ID: <70ed6b130701091010i20c9eba0j1a291928bd46ad67@mail.gmail.com> The link: http://www.osnews.com/story.php/16901/End-User-Programming-Packages--Revolution Thanks for bringing this to our attention, Andre! On 1/9/07, Andre Garzia wrote: > > Hey Folks, > > go there, comment!!! let us get the word going!!! > > Andre > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Tue Jan 9 13:37:41 2007 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 9 Jan 2007 12:37:41 -0600 Subject: external editor for Revolution In-Reply-To: References: <9B82A353-2328-4F09-BCDF-9CF82217FB2D@t-online.de> Message-ID: On Jan 9, 2007, at 9:08 AM, Stephen Barncard wrote: > Well you might try Galaxy. > http://www.runrev.com/section/revselect/galaxy/index.php > But that's a pro product - you said you were 'tinkering' - it costs > a little bit, but is quite more than just an 'external editor' - > it's an incredibly well-tested alternate IDE and well loved by this > author. > > Or try BBEDIT or TextWrangler (free) > http://barebonessoftware.com/products/textwrangler/ You can also use TextMate and SubEthaEdit, but make sure you download the STS/MLXEditor plugin so you can have your text editor automatically open when you choose to edit a script, and have it automatically saved back again. http://www.sonsothunder.com/devres/revolution/downloads/ stsMLXEditor.htm Have fun! Ken Ray Sons of Thunder Software, Inc. Web Site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Tue Jan 9 13:45:26 2007 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 9 Jan 2007 12:45:26 -0600 Subject: Revolution featured on OSNews.com In-Reply-To: <70ed6b130701091010i20c9eba0j1a291928bd46ad67@mail.gmail.com> References: <70ed6b130701091010i20c9eba0j1a291928bd46ad67@mail.gmail.com> Message-ID: <170569C9-7BA1-4694-B805-FBA8D04F1F18@sonsothunder.com> On Jan 9, 2007, at 12:10 PM, Dan Shafer wrote: > The link: > http://www.osnews.com/story.php/16901/End-User-Programming- > Packages--Revolution > > Thanks for bringing this to our attention, Andre! Hey! StackRunner's mentioned as well, along with tips at my site! Wow... never thought I'd see my software "in print"... ;-) Ken Ray Sons of Thunder Software, Inc. Web Site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From soapdog at mac.com Tue Jan 9 13:52:57 2007 From: soapdog at mac.com (Andre Garzia) Date: Tue, 9 Jan 2007 16:52:57 -0200 Subject: OMG!!!! Steve Jobs is launching the iPhone and it runs MacOS X. Message-ID: <0C8D89A5-CB03-43F4-99E4-18DE0D6B8BE2@mac.com> Folks, I must say, I am amazed reading about macworld keynote... Steve is releasing the iPhone, full multitouch screen, no keys, running MacOS X... we need to get Revolution engine on this!!! Andre From devin_asay at byu.edu Tue Jan 9 14:21:38 2007 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 9 Jan 2007 12:21:38 -0700 Subject: OMG!!!! Steve Jobs is launching the iPhone and it runs MacOS X. In-Reply-To: <0C8D89A5-CB03-43F4-99E4-18DE0D6B8BE2@mac.com> References: <0C8D89A5-CB03-43F4-99E4-18DE0D6B8BE2@mac.com> Message-ID: On Jan 9, 2007, at 11:52 AM, Andre Garzia wrote: > Folks, > > I must say, I am amazed reading about macworld keynote... Steve is > releasing the iPhone, full multitouch screen, no keys, running > MacOS X... we need to get Revolution engine on this!!! It apparently can run standard Dashboard widgets. Does anyone know, is it possible to produce Dashboard widgets in Rev? My understanding is that creating a widget is more a matter of configuring the app's plist correctly and including some needed resources, than of which development environment you use. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From dan at shafermedia.com Tue Jan 9 14:28:20 2007 From: dan at shafermedia.com (Dan Shafer) Date: Tue, 9 Jan 2007 11:28:20 -0800 Subject: OMG!!!! Steve Jobs is launching the iPhone and it runs MacOS X. In-Reply-To: References: <0C8D89A5-CB03-43F4-99E4-18DE0D6B8BE2@mac.com> Message-ID: <70ed6b130701091128p44690a22k21c35f3a5f6eead0@mail.gmail.com> Widgets are standalone components that run in a base runtime and can execute JavaScript, HTML and at least some XML. The only sense in which I can easily SEE Rev being used is to spit out the JavaScript/XML/HTML code to be used in the Widget. IOW, perhaps a Widget builder could be created in Rev. Chipp and I discussed this on and off a while back but didn't see a market. Dan On 1/9/07, Devin Asay wrote: > > On Jan 9, 2007, at 11:52 AM, Andre Garzia wrote: > > > Folks, > > > > I must say, I am amazed reading about macworld keynote... Steve is > > releasing the iPhone, full multitouch screen, no keys, running > > MacOS X... we need to get Revolution engine on this!!! > > It apparently can run standard Dashboard widgets. Does anyone know, > is it possible to produce Dashboard widgets in Rev? My understanding > is that creating a widget is more a matter of configuring the app's > plist correctly and including some needed resources, than of which > development environment you use. > > Devin > > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From wsumner at im.wustl.edu Tue Jan 9 14:43:29 2007 From: wsumner at im.wustl.edu (Walton Sumner) Date: Tue, 09 Jan 2007 13:43:29 -0600 Subject: Stop table inspection crashes - Please vote for 3231 Message-ID: Hi folks, This weekend I was busily setting properties on a group within a group when I accidentally selected "Table" on a field's property inspector. As usual when a field has any content, Rev entered an infinite loop and had to be killed, with loss of an hour's work. At the time, I had Galaxy running, but was not using it for property inspection, so I was not getting the handy automatic saves that Galaxy provides. As I was editing a group within a group, I was not resurfacing to save as frequently as usual. Alas. I know better than to trust the Rev IDE like that, but I am always mystified that the property inspector is so unstable. Galaxy seems not to crash when inspecting tab stops or other table settings, so why should the Rev IDE crash on similar property inspections? Seems likely to just be a transcript error (like the incorrect size of the options field in all menu button property inspection palettes, and because of that the hidden menulines property), which is all the more frustrating. I am sure that I am still more productive with Rev than I would be with the mainstream languages, but it is embarrassing to admit that I use an IDE that still has these problems. So today I checked the new bugzilla, and find that I am the only one who is currently voting for bug 3231, although it was not my report, and there have been several duplicate bug reports submitted since. If you have had this disconcerting experience, or want to avoid it, or would just like your favorite IDE to attain the basic stability that it needs to gain market share, and stick around, please vote for bug 3231. http://quality.runrev.com/qacenter/show_bug.cgi?id=3231 Thanks, Walton Sumner From lists at mangomultimedia.com Tue Jan 9 14:51:15 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 9 Jan 2007 11:51:15 -0800 Subject: OMG!!!! Steve Jobs is launching the iPhone and it runs MacOS X. In-Reply-To: <70ed6b130701091128p44690a22k21c35f3a5f6eead0@mail.gmail.com> References: <0C8D89A5-CB03-43F4-99E4-18DE0D6B8BE2@mac.com> <70ed6b130701091128p44690a22k21c35f3a5f6eead0@mail.gmail.com> Message-ID: <952503E5-0184-4D02-973C-8BD8CA44035B@mangomultimedia.com> On Jan 9, 2007, at 11:28 AM, Dan Shafer wrote: > Widgets are standalone components that run in a base runtime and > can execute > JavaScript, HTML and at least some XML. The only sense in which I > can easily > SEE Rev being used is to spit out the JavaScript/XML/HTML code to > be used in > the Widget. IOW, perhaps a Widget builder could be created in Rev. > Chipp and > I discussed this on and off a while back but didn't see a market. Apple already has a dev tool in beta (Dashcode) for Widgets so someone should check that out before they ventured into creating their own. You can get access to it with a free ADC developer account. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From dan at shafermedia.com Tue Jan 9 15:01:27 2007 From: dan at shafermedia.com (Dan Shafer) Date: Tue, 9 Jan 2007 12:01:27 -0800 Subject: OMG!!!! Steve Jobs is launching the iPhone and it runs MacOS X. In-Reply-To: <952503E5-0184-4D02-973C-8BD8CA44035B@mangomultimedia.com> References: <0C8D89A5-CB03-43F4-99E4-18DE0D6B8BE2@mac.com> <70ed6b130701091128p44690a22k21c35f3a5f6eead0@mail.gmail.com> <952503E5-0184-4D02-973C-8BD8CA44035B@mangomultimedia.com> Message-ID: <70ed6b130701091201r647f571bo60db3535bcb0071d@mail.gmail.com> Yeah, and there are other tools out there for this purpose as well, I think. Dan On 1/9/07, Trevor DeVore wrote: > > On Jan 9, 2007, at 11:28 AM, Dan Shafer wrote: > > > Widgets are standalone components that run in a base runtime and > > can execute > > JavaScript, HTML and at least some XML. The only sense in which I > > can easily > > SEE Rev being used is to spit out the JavaScript/XML/HTML code to > > be used in > > the Widget. IOW, perhaps a Widget builder could be created in Rev. > > Chipp and > > I discussed this on and off a while back but didn't see a market. > > Apple already has a dev tool in beta (Dashcode) for Widgets so > someone should check that out before they ventured into creating > their own. You can get access to it with a free ADC developer account. > > > -- > Trevor DeVore > Blue Mango Learning Systems - www.bluemangolearning.com > trevor at bluemangolearning.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarah.reichelt at gmail.com Tue Jan 9 15:29:51 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 10 Jan 2007 06:29:51 +1000 Subject: Beta Program In-Reply-To: <66FEDE67-FB65-4CEC-96A0-CB1CD9BECA7C@looktowindward.com> References: <002a01c73371$87dbd2c0$6501a8c0@lynn> <66FEDE67-FB65-4CEC-96A0-CB1CD9BECA7C@looktowindward.com> Message-ID: > How do you manage to use 2.7.x and 2.6.6. at the same time? > > When I installed the 2.7.x evaluation, it changed all owner of my > stacks to the latest version. I got rid of it, but now I have to > manually change the owner for each stack on my system! > Get info about a Rev stack. In the "Open with" section, select the version of Rev that you want to use and then click "Change all" Cheers, Sarah From JimAultWins at yahoo.com Tue Jan 9 16:06:49 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 09 Jan 2007 13:06:49 -0800 Subject: Beta Program In-Reply-To: Message-ID: On 1/9/07 12:29 PM, "Sarah Reichelt" wrote: >> How do you manage to use 2.7.x and 2.6.6. at the same time? >> >> When I installed the 2.7.x evaluation, it changed all owner of my >> stacks to the latest version. I got rid of it, but now I have to >> manually change the owner for each stack on my system! >> > > Get info about a Rev stack. In the "Open with" section, select the > version of Rev that you want to use and then click "Change all" > For those who don't realize... on the Mac OSX use the Finder Get Info to get the palette that has the 'Open with' drop down menu. This works for any files on Mac OSX, so that you can set the '.txt' files to open in your favorite text editor, .html etc etc etc. In Windows, right click on the icon in Windows Explorer, choose 'Open with', then go to the point of 'always use'. Hope this helps. Jim Ault Las Vegas From janschenkel at yahoo.com Tue Jan 9 16:44:51 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 9 Jan 2007 13:44:51 -0800 (PST) Subject: Belated Happy 2007 Message-ID: <658489.75412.qm@web60521.mail.yahoo.com> Hi Everybody, My apologies for the late best wishes for 2007. I spent the holidays in the hospital due to an attack from a viral pneumonia. To top it off, it seems that my beloved girlfriend was unable to set the out-of-office auto-reply in my absence - I guess she'll never be accused of being a computer geek... I just returned home today, and have mostly recovered - though I'm still feeling rather weak right now. As you can imagine, this has wreaked havoc not only on my body but also on my already tight schedule. The only positive side effect is that I didn't have to make that new year's resolution to quit smoking - that bad habit of mine was taken care of. If you emailed me at my yahoo address, please resend your email to jan.schenkel at quartam.com - my Yahoo inbox is chock-full of use-revolution list emails and any direct emails may not get caught in a timely fashion. My apologies for delays in reply as I get everything back on track. Best regards, Jan Schenkel. Quartam Reports for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From jsng at wayoflife.org Tue Jan 9 16:46:05 2007 From: jsng at wayoflife.org (Jesse Sng) Date: Wed, 10 Jan 2007 05:46:05 +0800 Subject: OMG!!!! Steve Jobs is launching the iPhone and it runs MacOS X. In-Reply-To: <952503E5-0184-4D02-973C-8BD8CA44035B@mangomultimedia.com> References: <0C8D89A5-CB03-43F4-99E4-18DE0D6B8BE2@mac.com> <70ed6b130701091128p44690a22k21c35f3a5f6eead0@mail.gmail.com> <952503E5-0184-4D02-973C-8BD8CA44035B@mangomultimedia.com> Message-ID: >Apple already has a dev tool in beta (Dashcode) for Widgets so >someone should check that out before they ventured into creating >their own. You can get access to it with a free ADC developer >account. > >-- >Trevor DeVore The bigger implication here is that the iPhone runs on a version of OS X. That means that there's the possibility of us creating Apps for the iPhone via Revolution. You don't even need Widgets. Phone apps are one category, but there's also the internet enabled iPhone apps which is where Rev apps on the Mac desktop excelled in previously. Couple that with database iPhone apps which are connected over the internet via either Wi-Fi or EDGE and things get exciting - think of even corporate apps or apps that previously required a PDA with wireless comms that can now be replaced by Rev apps running on the iPhone using a finger gesture user interface. Also it would seem from the way Safari is running on the iPhone that there is some resolution independence. While we don't know what processor the iPhone is running on, it's probably not an Intel chip, so that means a different binary for the app. It would be nice to ultimately have a way to build Rev apps on this device. It would sure be much easier compared to developing apps for the Palm. Jesse Sng From lists at mangomultimedia.com Tue Jan 9 16:59:04 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 9 Jan 2007 13:59:04 -0800 Subject: OMG!!!! Steve Jobs is launching the iPhone and it runs MacOS X. In-Reply-To: References: <0C8D89A5-CB03-43F4-99E4-18DE0D6B8BE2@mac.com> <70ed6b130701091128p44690a22k21c35f3a5f6eead0@mail.gmail.com> <952503E5-0184-4D02-973C-8BD8CA44035B@mangomultimedia.com> Message-ID: <5B540D18-767A-448E-8652-31F2ABB6B890@mangomultimedia.com> On Jan 9, 2007, at 1:46 PM, Jesse Sng wrote: >> Apple already has a dev tool in beta (Dashcode) for Widgets so >> someone should check that out before they ventured into creating >> their own. You can get access to it with a free ADC developer >> account. > > The bigger implication here is that the iPhone runs on a version of > OS X. That means that there's the possibility of us creating Apps > for the iPhone via Revolution. You don't even need Widgets. I've got my fingers crossed but if Apple opens up the iPhone to apps other than widgets I will be in heaven. Especially if we can get access to the GPS data to determine where folks are. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From chris at altuit.com Tue Jan 9 17:30:58 2007 From: chris at altuit.com (chris bohnert) Date: Tue, 9 Jan 2007 16:30:58 -0600 Subject: OMG!!!! Steve Jobs is launching the iPhone and it runs MacOS X. In-Reply-To: <5B540D18-767A-448E-8652-31F2ABB6B890@mangomultimedia.com> References: <0C8D89A5-CB03-43F4-99E4-18DE0D6B8BE2@mac.com> <70ed6b130701091128p44690a22k21c35f3a5f6eead0@mail.gmail.com> <952503E5-0184-4D02-973C-8BD8CA44035B@mangomultimedia.com> <5B540D18-767A-448E-8652-31F2ABB6B890@mangomultimedia.com> Message-ID: <2e0cf4750701091430l511e95c5o48543d2b7659c39@mail.gmail.com> Did I miss a spec? Does the phone actually have GPS or are you referring to the time differencing data that most carriers use to triangulate a phones location? -- cb On 1/9/07, Trevor DeVore wrote: > > On Jan 9, 2007, at 1:46 PM, Jesse Sng wrote: > > >> Apple already has a dev tool in beta (Dashcode) for Widgets so > >> someone should check that out before they ventured into creating > >> their own. You can get access to it with a free ADC developer > >> account. > > > > The bigger implication here is that the iPhone runs on a version of > > OS X. That means that there's the possibility of us creating Apps > > for the iPhone via Revolution. You don't even need Widgets. > > I've got my fingers crossed but if Apple opens up the iPhone to apps > other than widgets I will be in heaven. Especially if we can get > access to the GPS data to determine where folks are. > > -- > Trevor DeVore > Blue Mango Learning Systems - www.bluemangolearning.com > trevor at bluemangolearning.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jsng at wayoflife.org Tue Jan 9 17:34:44 2007 From: jsng at wayoflife.org (Jesse Sng) Date: Wed, 10 Jan 2007 06:34:44 +0800 Subject: OMG!!!! Steve Jobs is launching the iPhone and it runs MacOS X. In-Reply-To: <5B540D18-767A-448E-8652-31F2ABB6B890@mangomultimedia.com> References: <0C8D89A5-CB03-43F4-99E4-18DE0D6B8BE2@mac.com> <70ed6b130701091128p44690a22k21c35f3a5f6eead0@mail.gmail.com> <952503E5-0184-4D02-973C-8BD8CA44035B@mangomultimedia.com> <5B540D18-767A-448E-8652-31F2ABB6B890@mangomultimedia.com> Message-ID: >I've got my fingers crossed but if Apple opens up the iPhone to apps >other than widgets I will be in heaven. Especially if we can get >access to the GPS data to determine where folks are. > >-- >Trevor DeVore My guess is that there will have to be a special developer track at the WWDC to cover iPhone applications. Also the keyboardless capability is interesting in that Apple is probably using the iPhone to open up a whole new category of devices including larger handheld computers that do not have keyboards but have larger screens. Either way, developing in Rev is the way to go as opposed to using XCode. Oh yes, I did find out on an article that the iPhone runs on an unknown Intel processor. So that means that we can probably already generate applications for it. http://techdigest.tv/2007/01/apple_iphone_th_1.html Jesse From lists at mangomultimedia.com Tue Jan 9 17:46:45 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 9 Jan 2007 14:46:45 -0800 Subject: OMG!!!! Steve Jobs is launching the iPhone and it runs MacOS X. In-Reply-To: <2e0cf4750701091430l511e95c5o48543d2b7659c39@mail.gmail.com> References: <0C8D89A5-CB03-43F4-99E4-18DE0D6B8BE2@mac.com> <70ed6b130701091128p44690a22k21c35f3a5f6eead0@mail.gmail.com> <952503E5-0184-4D02-973C-8BD8CA44035B@mangomultimedia.com> <5B540D18-767A-448E-8652-31F2ABB6B890@mangomultimedia.com> <2e0cf4750701091430l511e95c5o48543d2b7659c39@mail.gmail.com> Message-ID: <4F5D4527-1FC2-4D03-B06E-5A05C625B30A@mangomultimedia.com> On Jan 9, 2007, at 2:30 PM, chris bohnert wrote: > Did I miss a spec? Does the phone actually have GPS or are you > referring to > the time differencing data that most carriers use to triangulate a > phones > location? I thought I heard that Google Maps knew where you were on the iPhone so I assumed that some sort of GPS data was available. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From cowhead at mac.com Tue Jan 9 18:01:56 2007 From: cowhead at mac.com (mark) Date: Wed, 10 Jan 2007 08:01:56 +0900 Subject: mousemove crash Message-ID: I've been using Rev 2.03, and was looking forward to finally upgrading to the latest version, as I like the crispness and speediness of the latest engine, however, upon downloading the trial, my very first effort at a simple stack kept crashing. My second effort, entirely unrelated to the first, also kept crashing. At first I thought it might be a difference between Media & Studio, with media being more crash-prone, but no, they crash equally. Then, I thought it was my computer, but no, it crashes the same on a Powerbook G4, as well as on a PowerMac G4 (both running os 10.4.8). I now see that both of those crashing initial projects involved a mouseMove handler. A simple mouseMove is OK, but if you try to do this and anything else, eg. load a webpage into a field or draw a line, it crashes and crashes crashes.... every time. What's up? Did they go and break rev? Should I wait to see if it gets worse or better before plopping down my cash? I NEED mouseMove! (I think ;-) ) Thanks, mark in Mie, japan From m.schonewille at economy-x-talk.com Tue Jan 9 18:46:11 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 10 Jan 2007 00:46:11 +0100 Subject: mousemove crash In-Reply-To: References: Message-ID: Hi Mark, I really can't imagine that one would use mousemove to load a web page. The user would move the cursor around and cause a queue of messages repeatedly trying to download that web page. I can very well imagine how that would cause a crash. Please, try a different approach, downloading only one (or a few) web page(s) at a time. For other things, the mousemove message is very feasible, for example for setting the armed of a button, changing the icon of an object, hiliting lines in a field etc. How are you using mouseMove to draw a line? If you post a script, we might be able to see why it crashes. Best regards, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Salery is the easiest way to set up your own web store: http:// www.salery.biz/salery.html Op 10-jan-2007, om 0:01 heeft mark het volgende geschreven: > I've been using Rev 2.03, and was looking forward to finally > upgrading to the latest version, as I like the crispness and > speediness of the latest engine, however, upon downloading the > trial, my very first effort at a simple stack kept crashing. My > second effort, entirely unrelated to the first, also kept > crashing. At first I thought it might be a difference between > Media & Studio, with media being more crash-prone, but no, they > crash equally. > > Then, I thought it was my computer, but no, it crashes the same on > a Powerbook G4, as well as on a PowerMac G4 (both running os 10.4.8). > > I now see that both of those crashing initial projects involved a > mouseMove handler. A simple mouseMove is OK, but if you try to do > this and anything else, eg. load a webpage into a field or draw a > line, it crashes and crashes crashes.... every time. What's up? > Did they go and break rev? Should I wait to see if it gets worse > or better before plopping down my cash? I NEED mouseMove! (I > think ;-) ) > > Thanks, From m.schonewille at economy-x-talk.com Tue Jan 9 19:06:10 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 10 Jan 2007 01:06:10 +0100 Subject: beep-answer-freeze Message-ID: Hello, I am currently having the following problem on a very modern and fast PC with a dual processor --sorry, those are the only specs I currently have. If I run the following script: beep answer "hi" it takes a very long time, like 5 minutes or so, before the answer dialog appears. I might also wait one minute, press control-alt- delete and close the task manager (without interrupting any process) and the answer dialog will appear while the task manager is on-screen. The problem is not necessarily related to the fact that this is a dual-processor PC. I would very much appreciate any information regarding dual-processor PC's, the described problem, possible causes, and maybe even possible workarounds besides taking out the beep. Thanks, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Salery is the easiest way to set up your own web store: http:// www.salery.biz/salery.html From pepetoo at Cox.Net Tue Jan 9 19:11:53 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Tue, 9 Jan 2007 16:11:53 -0800 Subject: beep-answer-freeze In-Reply-To: References: Message-ID: <8DD67D73-BE02-4C0E-A9E9-9EDCA5D5E0C1@Cox.Net> Mark, Do you even hear the beep? Yesterday I posted a question regarding not even hearing a beep in RR, but no one has responded yet. Joe Wilkins On Jan 9, 2007, at 4:06 PM, Mark Schonewille wrote: > Hello, > > I am currently having the following problem on a very modern and > fast PC with a dual processor --sorry, those are the only specs I > currently have. If I run the following script: > > beep > answer "hi" > > it takes a very long time, like 5 minutes or so, before the answer > dialog appears. I might also wait one minute, press control-alt- > delete and close the task manager (without interrupting any > process) and the answer dialog will appear while the task manager > is on-screen. > > The problem is not necessarily related to the fact that this is a > dual-processor PC. I would very much appreciate any information > regarding dual-processor PC's, the described problem, possible > causes, and maybe even possible workarounds besides taking out the > beep. > > Thanks, > > Mark > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Salery is the easiest way to set up your own web store: http:// > www.salery.biz/salery.html > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Tue Jan 9 19:31:19 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 10 Jan 2007 01:31:19 +0100 Subject: beep-answer-freeze In-Reply-To: <8DD67D73-BE02-4C0E-A9E9-9EDCA5D5E0C1@Cox.Net> References: <8DD67D73-BE02-4C0E-A9E9-9EDCA5D5E0C1@Cox.Net> Message-ID: Hi Joe, Thanks for your reply. I read your e-mail yesterday, but RR beeps fine on my Mac with Mac OS X 10.4.8 and I have no idea why it might not. I do hear the beep on the PC, before it freezes. It doesn't really freeze of course, it is just stalled for a very long time. Best regards, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Salery is the easiest way to set up your own web store: http:// www.salery.biz/salery.html Op 10-jan-2007, om 1:11 heeft Joe Lewis Wilkins het volgende geschreven: > Mark, > > Do you even hear the beep? Yesterday I posted a question regarding > not even hearing a beep in RR, but no one has responded yet. > > Joe Wilkins > > On Jan 9, 2007, at 4:06 PM, Mark Schonewille wrote: > >> Hello, >> >> I am currently having the following problem on a very modern and >> fast PC with a dual processor --sorry, those are the only specs I >> currently have. If I run the following script: >> >> beep >> answer "hi" >> >> it takes a very long time, like 5 minutes or so, before the answer >> dialog appears. I might also wait one minute, press control-alt- >> delete and close the task manager (without interrupting any >> process) and the answer dialog will appear while the task manager >> is on-screen. >> >> The problem is not necessarily related to the fact that this is a >> dual-processor PC. I would very much appreciate any information >> regarding dual-processor PC's, the described problem, possible >> causes, and maybe even possible workarounds besides taking out the >> beep. >> >> Thanks, >> >> Mark From JimAultWins at yahoo.com Tue Jan 9 19:53:16 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 09 Jan 2007 16:53:16 -0800 Subject: beep-answer-freeze In-Reply-To: Message-ID: >> Joe Wilkins asking about sound on Intel Mac OSX On 1/9/07 4:31 PM, "Mark Schonewille" wrote: > Hi Joe, > > Thanks for your reply. I read your e-mail yesterday, but RR beeps > fine on my Mac with Mac OS X 10.4.8 and I have no idea why it might > not. I do hear the beep on the PC, before it freezes. It doesn't > really freeze of course, it is just stalled for a very long time. A couple ideas to check for no-sound-OSX this works in the message box for me play "/Volumes/Cat150/_bkup060826/merge/sounds/Laff.aif" Garage Band will change the sound prefs to what it likes and this may not be best for other apps. Does iTunes play anything? Can you play ANY .aif file in rev? As I said before, the Mac Mini OS will turn the sound way down on restart, no matter what you set to. Combined with the tiny speaker, volume may be too low to hear. I use two Mini's (solo and duo) with Entp 2.7.2 (ext spkrs + manual turn volume up) and sounds work fine. Jim Ault Las Vegas From SimPLsol at aol.com Tue Jan 9 20:21:33 2007 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Tue, 9 Jan 2007 20:21:33 EST Subject: OMG!!!! Steve Jobs is launching the iPhone and it runs MacOS X. Message-ID: I believe the GPS is just one of the phone protocols, used by Cingular, Vodaphone and most others worldwide. It is not the same as a Global Positioning System. For example, my Cingular Motorola Razr uses a GPS chip but does no mapping or locating. However, it's certainly conceivable that such a unit could be added to the iPhone, using the iPhone display. By this time next year the iPhone may even bake bread. Paul Looney From SimPLsol at aol.com Tue Jan 9 20:35:03 2007 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Tue, 9 Jan 2007 20:35:03 EST Subject: Stop table inspection crashes - Please vote for 3231 Message-ID: <588.17661032.32d59cc7@aol.com> In a message dated 1/9/07 11:45:10 AM, wsumner at im.wustl.edu writes: > http://quality.runrev.com/qacenter/show_bug.cgi?id=3231 > Walton, I did not vote for it because it seems to have been fixed. I had the problems constantly with OS X. Seems same as with you: click on the Table panel in the property inspector and get an endless loop (which could be exited with command period). A later version of Rev (2.7.x ?) replaced the loop with an application crash. But I've not had the problem in 2.7.2. Of course I'm really nervous about using the table tool, based on past experience, so I automatically save before using it. And I found that saving frequently helps tame the IDE beast. Paul Looney From pepetoo at Cox.Net Tue Jan 9 20:38:16 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Tue, 9 Jan 2007 17:38:16 -0800 Subject: beep-answer-freeze In-Reply-To: References: <8DD67D73-BE02-4C0E-A9E9-9EDCA5D5E0C1@Cox.Net> Message-ID: <7F24860D-61D6-4910-928D-5D86EFC7EC55@Cox.Net> Hi Mark, Thanks. I figured as much. After seeing that it works with you I explored my System Preferences and found that someway, I have no idea how, the Alert Sound was turned off. Duh! Now it works fine. I know I checked some time back and it was ON. Joe Wilkins On Jan 9, 2007, at 4:31 PM, Mark Schonewille wrote: > Hi Joe, > > Thanks for your reply. I read your e-mail yesterday, but RR beeps > fine on my Mac with Mac OS X 10.4.8 and I have no idea why it might > not. I do hear the beep on the PC, before it freezes. It doesn't > really freeze of course, it is just stalled for a very long time. > > Best regards, > > Mark > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Salery is the easiest way to set up your own web store: http:// > www.salery.biz/salery.html > > > Op 10-jan-2007, om 1:11 heeft Joe Lewis Wilkins het volgende > geschreven: > >> Mark, >> >> Do you even hear the beep? Yesterday I posted a question regarding >> not even hearing a beep in RR, but no one has responded yet. >> >> Joe Wilkins >> >> On Jan 9, 2007, at 4:06 PM, Mark Schonewille wrote: >> >>> Hello, >>> >>> I am currently having the following problem on a very modern and >>> fast PC with a dual processor --sorry, those are the only specs I >>> currently have. If I run the following script: >>> >>> beep >>> answer "hi" >>> >>> it takes a very long time, like 5 minutes or so, before the >>> answer dialog appears. I might also wait one minute, press >>> control-alt-delete and close the task manager (without >>> interrupting any process) and the answer dialog will appear while >>> the task manager is on-screen. >>> >>> The problem is not necessarily related to the fact that this is a >>> dual-processor PC. I would very much appreciate any information >>> regarding dual-processor PC's, the described problem, possible >>> causes, and maybe even possible workarounds besides taking out >>> the beep. >>> >>> Thanks, >>> >>> Mark > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From soapdog at mac.com Tue Jan 9 21:01:51 2007 From: soapdog at mac.com (Andre Garzia) Date: Wed, 10 Jan 2007 00:01:51 -0200 Subject: BUG: importing image files crash rev 2.7.5 Message-ID: <7A5BB65A-1194-481D-931D-B878CDA3C1F9@mac.com> Folks, can someone confirm that importing JPEG or PNG image files using CMD +> crashes Rev? Andre From revlist at azurevision.co.uk Tue Jan 9 21:10:40 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Wed, 10 Jan 2007 02:10:40 +0000 Subject: OMG!!!! Steve Jobs is launching the iPhone and it runs MacOS X. In-Reply-To: References: Message-ID: <3A73F770-2484-43DF-8722-0935BD537EAB@azurevision.co.uk> A pointer towards the iPhone running a relatively 'full' version of OS X - go to the streaming QT of the iPhone presentation at . From 8:30 to about 9:30 he talks about it using OS X, with a slide in the background showing Syncing Networking Multi-tasking Low power Security Video Cocoa Core Animation Graphics Audio And he goes on to mention Core Animation specifically. On the other hand, there are rumours floating around that Apple employees at the show are saying that it will be a closed platform. :-( Ian From JimAultWins at yahoo.com Tue Jan 9 21:35:18 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 09 Jan 2007 18:35:18 -0800 Subject: BUG: importing image files crash rev 2.7.5 In-Reply-To: <7A5BB65A-1194-481D-931D-B878CDA3C1F9@mac.com> Message-ID: On 1/9/07 6:01 PM, "Andre Garzia" wrote: > Folks, > > can someone confirm that importing JPEG or PNG image files using CMD > +> crashes Rev? > I get the crash 2.7.2, OSX 10.4.7, Mac G5 dual proc. Jim Ault Las Vegas From dweeble at wi.rr.com Tue Jan 9 21:48:26 2007 From: dweeble at wi.rr.com (Michael D.) Date: Tue, 9 Jan 2007 20:48:26 -0600 Subject: Replace Text in Lines References: <001e01c733ee$ecb95370$0300a8c0@upthe> Message-ID: <00f001c73461$cdfdc1a0$0300a8c0@upthe> Klaus, Thanks this works just perfect , and a good one for me to remember. Michael ----- Original Message ----- From: "Klaus Major" To: "How to use Revolution" Sent: Tuesday, January 09, 2007 7:48 AM Subject: Re: Replace Text in Lines > Hi Michael, > >> Hi all >> I have a numbered text file with 1 to 800 lines, I need to replace text >> in specific lines with text from a field. I can replace by individual >> lines with the replace into a single line number, but how is this done >> with mutliple odd lines ? >> >> replace 12345 with 67890 in the text file in all the listed odd >> individual line numbers. >> >> example >> 67890-Dataname < field "replace" contents >> >> set the itemdelimiter to "-" >> put item 1 of fld replace into lines >> 299,322,345,368,391,414,437,460,483,506 of field "textfile" > > Looks like you need a nice repeat loop :-) > > ... > set the itemdelimiter to "-" > put item 1 of fld replace into text2replace > put fld "textfile" into tTextfile > ## Doing everything in memory instead of manipulating the field directly > will speed up things a LOT! > set itemdel to "," > repeat for each item i in "299,322,345,368,391,414,437,460,483,506" > put text2replace into line i of tTextfile > end repeat > put tTextfile into fld "textfile" > ... > > Et voila! > > Hope that helps. > >> Michael > > Regards from germany > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sarah.reichelt at gmail.com Tue Jan 9 23:00:12 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 10 Jan 2007 14:00:12 +1000 Subject: Working with Microsoft Exchange Server Message-ID: Hi All, I have just been warned of an approaching problem and I wonder if anyone has any advice. I run numerous Mac-based kiosk systems which communicate back to base using email. I wrote a stripped-down email client in Rev that does POP & SMTP. It ignores any HTML emails, attachments or any emails that do not match the standard structure, but deals with the others in a way that the main kiosk program can then handle. This works really well but I've just been informed that at one site, they are closing down their POP servers and switching to Microsoft Exchange Server with both POP & IMAP turned off. They won't let me access an external POP server, so I need to find a way to access their Exchange server while still keeping programmatic control of the emails. So far (although I've only just started looking), I can't find any published protocol which I could use to adapt my existing client. At the moment I'm looking at buying Entourage and seeing if I can Applescript it enough to make it work, but that's a very bad solution - expensive and less secure. If anyone has any brilliant ideas, I'd love to hear them.... Cheers, Sarah From scott at tactilemedia.com Wed Jan 10 00:35:57 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 09 Jan 2007 21:35:57 -0800 Subject: BUG: importing image files crash rev 2.7.5 In-Reply-To: <7A5BB65A-1194-481D-931D-B878CDA3C1F9@mac.com> Message-ID: Recently, Andre Garzia wrote: > can someone confirm that importing JPEG or PNG image files using CMD > +> crashes Rev? Verified here, which is why I cannot use Rev 2.7.5. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From sarah.reichelt at gmail.com Wed Jan 10 00:45:30 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 10 Jan 2007 15:45:30 +1000 Subject: BUG: importing image files crash rev 2.7.5 In-Reply-To: <7A5BB65A-1194-481D-931D-B878CDA3C1F9@mac.com> References: <7A5BB65A-1194-481D-931D-B878CDA3C1F9@mac.com> Message-ID: On 1/10/07, Andre Garzia wrote: > Folks, > > can someone confirm that importing JPEG or PNG image files using CMD > +> crashes Rev? > It happens to me importing GIFs as well and it happens whether I use the menu or the shortcut. Sarah OS X 10.4.8, Rev 2.7.5 From ambassador at fourthworld.com Wed Jan 10 03:33:18 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 10 Jan 2007 00:33:18 -0800 Subject: BUG: importing image files crash rev 2.7.5 Message-ID: <45A4A4CE.700@fourthworld.com> When did v2.7.5 go final? I think I missed something.... -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From scott at tactilemedia.com Wed Jan 10 03:46:34 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 10 Jan 2007 00:46:34 -0800 Subject: BUG: importing image files crash rev 2.7.5 In-Reply-To: <45A4A4CE.700@fourthworld.com> Message-ID: Recently, Richard Gaskin wrote: > When did v2.7.5 go final? I think I missed something.... I don't think you missed anything. It was the last public beta as far as I know. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From baleareninsel at gmx.net Wed Jan 10 04:15:30 2007 From: baleareninsel at gmx.net (Horst) Date: Wed, 10 Jan 2007 01:15:30 -0800 (PST) Subject: ejecting a disk after using "the files" funtion In-Reply-To: References: Message-ID: <8254294.post@talk.nabble.com> Hi Richard, Could you please post the link to ?Listing and Sorting Files in Revolution?? That sounds interesting, but I can?t find the article. best regards Horst -- View this message in context: http://www.nabble.com/ejecting-a-disk-after-using-%22the-files%22-funtion-tf2937580.html#a8254294 Sent from the Revolution - User mailing list archive at Nabble.com. From Andre.Bisseret at inria.fr Wed Jan 10 04:18:06 2007 From: Andre.Bisseret at inria.fr (=?ISO-8859-1?Q? Andr=E9.Bisseret ?=) Date: Wed, 10 Jan 2007 10:18:06 +0100 Subject: BUG: importing image files crash rev 2.7.5 In-Reply-To: <7A5BB65A-1194-481D-931D-B878CDA3C1F9@mac.com> References: <7A5BB65A-1194-481D-931D-B878CDA3C1F9@mac.com> Message-ID: Hi, Here : Mac OS X 10.4.8 ; RR 2.7.4 Importing (a PNG) does not crash Rev, either using the menu or CMD > On the other hand, copy - paste crashes Rev. Best regards from Grenoble Andr? Le 10 janv. 07 ? 03:01, Andre Garzia a ?crit : > Folks, > > can someone confirm that importing JPEG or PNG image files using CMD > +> crashes Rev? > > Andre > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From luis at anachreon.co.uk Wed Jan 10 04:52:41 2007 From: luis at anachreon.co.uk (Luis) Date: Wed, 10 Jan 2007 09:52:41 +0000 Subject: Working with Microsoft Exchange Server In-Reply-To: References: Message-ID: <45A4B769.3020106@anachreon.co.uk> Hiya, I'd first suggest they turn on POP3 and IMAP services: I can't see any decent reason to turn these off. Arm wrestle if you need to. They wanna dictate? Dictate back. But, there is another way (I'm assuming here that they are using the latest version of Exchange). Exchange offers Outlook Web Access, ie: Webmail. This can also be accessed with RPC over https, without having to have Outlook configured to connect 'directly' to an Exchange server. I haven't looked too far into the protocol but I reckon it's doable in Rev. If you have an Exchange email account, the Outlook client is free anyhow: Maybe you can use WSH to control it and then script this via Rev (this would require a Windows PC). Another alternative would be to set up a rule in that Exchange email account to forward to another email address as well (the rule having reformatted the subject line with a specific keyword say, in order to parse it in Rev). Depending on what they are doing with the Exchange setup, they may have a 'legitimate' reason for turning off IMAP (multiple domains) but turning off POP3 is downright stupid: What if someone wants to access their email from a PDA? You could justify the need for POP3 by stating that you get service messages sent to your mobile... Cheers, Luis. Sarah Reichelt wrote: > Hi All, > > I have just been warned of an approaching problem and I wonder if > anyone has any advice. I run numerous Mac-based kiosk systems which > communicate back to base using email. I wrote a stripped-down email > client in Rev that does POP & SMTP. It ignores any HTML emails, > attachments or any emails that do not match the standard structure, > but deals with the others in a way that the main kiosk program can > then handle. > > This works really well but I've just been informed that at one site, > they are closing down their POP servers and switching to Microsoft > Exchange Server with both POP & IMAP turned off. They won't let me > access an external POP server, so I need to find a way to access their > Exchange server while still keeping programmatic control of the > emails. > > So far (although I've only just started looking), I can't find any > published protocol which I could use to adapt my existing client. At > the moment I'm looking at buying Entourage and seeing if I can > Applescript it enough to make it work, but that's a very bad solution > - expensive and less secure. > > If anyone has any brilliant ideas, I'd love to hear them.... > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From luis at anachreon.co.uk Wed Jan 10 05:35:58 2007 From: luis at anachreon.co.uk (Luis) Date: Wed, 10 Jan 2007 10:35:58 +0000 Subject: Working with Microsoft Exchange Server In-Reply-To: <45A4B769.3020106@anachreon.co.uk> References: <45A4B769.3020106@anachreon.co.uk> Message-ID: <45A4C18E.6040109@anachreon.co.uk> A bit of detail on the RPC over https (you need SSL, although it can be bypassed I would not follow that route as it needs a Registry mod to the server): http://technet.microsoft.com/en-us/library/2f5737af-f2f7-4fe2-9202-dd9a3ac8ac17.aspx RPC v2: http://www.ietf.org/rfc/rfc1831.txt Nice example: http://boinc.berkeley.edu/gui_rpc.php How RPC works: http://technet2.microsoft.com/WindowsServer/en/library/4dbc4c95-935b-4617-b4f8-20fc947c72881033.mspx?mfr=true Luis wrote: > Hiya, > > I'd first suggest they turn on POP3 and IMAP services: I can't see any > decent reason to turn these off. Arm wrestle if you need to. > They wanna dictate? Dictate back. > > But, there is another way (I'm assuming here that they are using the > latest version of Exchange). Exchange offers Outlook Web Access, ie: > Webmail. This can also be accessed with RPC over https, without having > to have Outlook configured to connect 'directly' to an Exchange server. > I haven't looked too far into the protocol but I reckon it's doable in Rev. > > If you have an Exchange email account, the Outlook client is free > anyhow: Maybe you can use WSH to control it and then script this via Rev > (this would require a Windows PC). > > Another alternative would be to set up a rule in that Exchange email > account to forward to another email address as well (the rule having > reformatted the subject line with a specific keyword say, in order to > parse it in Rev). > > Depending on what they are doing with the Exchange setup, they may have > a 'legitimate' reason for turning off IMAP (multiple domains) but > turning off POP3 is downright stupid: What if someone wants to access > their email from a PDA? You could justify the need for POP3 by stating > that you get service messages sent to your mobile... > > Cheers, > > Luis. > > > Sarah Reichelt wrote: >> Hi All, >> >> I have just been warned of an approaching problem and I wonder if >> anyone has any advice. I run numerous Mac-based kiosk systems which >> communicate back to base using email. I wrote a stripped-down email >> client in Rev that does POP & SMTP. It ignores any HTML emails, >> attachments or any emails that do not match the standard structure, >> but deals with the others in a way that the main kiosk program can >> then handle. >> >> This works really well but I've just been informed that at one site, >> they are closing down their POP servers and switching to Microsoft >> Exchange Server with both POP & IMAP turned off. They won't let me >> access an external POP server, so I need to find a way to access their >> Exchange server while still keeping programmatic control of the >> emails. >> >> So far (although I've only just started looking), I can't find any >> published protocol which I could use to adapt my existing client. At >> the moment I'm looking at buying Entourage and seeing if I can >> Applescript it enough to make it work, but that's a very bad solution >> - expensive and less secure. >> >> If anyone has any brilliant ideas, I'd love to hear them.... >> >> Cheers, >> Sarah >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From higginsta at mac.com Wed Jan 10 06:34:52 2007 From: higginsta at mac.com (Todd Higgins) Date: Wed, 10 Jan 2007 06:34:52 -0500 Subject: Working with Microsoft Exchange Server In-Reply-To: References: Message-ID: <4E3E950B-F00F-4AA9-BB62-9B3D2CBE85F4@mac.com> Will this site have to support Entourage (mac) users? If so, then they will have to have Outlook Web Access enabled - which means you can use the RPC over http method or applescript Entourage (Yuck!) I would argue for POP access... Todd On Jan 9, 2007, at 11:00 PM, Sarah Reichelt wrote: > Hi All, > > I have just been warned of an approaching problem and I wonder if > anyone has any advice. I run numerous Mac-based kiosk systems which > communicate back to base using email. I wrote a stripped-down email > client in Rev that does POP & SMTP. It ignores any HTML emails, > attachments or any emails that do not match the standard structure, > but deals with the others in a way that the main kiosk program can > then handle. > > This works really well but I've just been informed that at one site, > they are closing down their POP servers and switching to Microsoft > Exchange Server with both POP & IMAP turned off. They won't let me > access an external POP server, so I need to find a way to access their > Exchange server while still keeping programmatic control of the > emails. > > So far (although I've only just started looking), I can't find any > published protocol which I could use to adapt my existing client. At > the moment I'm looking at buying Entourage and seeing if I can > Applescript it enough to make it work, but that's a very bad solution > - expensive and less secure. > > If anyone has any brilliant ideas, I'd love to hear them.... > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dave at looktowindward.com Wed Jan 10 07:37:43 2007 From: dave at looktowindward.com (Dave) Date: Wed, 10 Jan 2007 12:37:43 +0000 Subject: Beta Program In-Reply-To: References: <002a01c73371$87dbd2c0$6501a8c0@lynn> <66FEDE67-FB65-4CEC-96A0-CB1CD9BECA7C@looktowindward.com> Message-ID: <9FFBB5AF-F660-4436-AF31-BAFDE53F0D95@looktowindward.com> Hi, I tried this, but the change all function doesn't work! I can only seem to change one file at a time! All the Best Dave On 9 Jan 2007, at 20:29, Sarah Reichelt wrote: >> How do you manage to use 2.7.x and 2.6.6. at the same time? >> >> When I installed the 2.7.x evaluation, it changed all owner of my >> stacks to the latest version. I got rid of it, but now I have to >> manually change the owner for each stack on my system! >> > > Get info about a Rev stack. In the "Open with" section, select the > version of Rev that you want to use and then click "Change all" > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dave at looktowindward.com Wed Jan 10 07:43:36 2007 From: dave at looktowindward.com (Dave) Date: Wed, 10 Jan 2007 12:43:36 +0000 Subject: Option Key on Launch? In-Reply-To: <9FFBB5AF-F660-4436-AF31-BAFDE53F0D95@looktowindward.com> References: <002a01c73371$87dbd2c0$6501a8c0@lynn> <66FEDE67-FB65-4CEC-96A0-CB1CD9BECA7C@looktowindward.com> <9FFBB5AF-F660-4436-AF31-BAFDE53F0D95@looktowindward.com> Message-ID: <532B185C-D560-4008-8388-995103291E0D@looktowindward.com> Hi All, Is there any way to find out if the option key is down when a Standalone App is launched? Also when a Stack is opened/run in the IDE? Thanks a lot All the Best Dave From wjm at wjm.org Wed Jan 10 09:30:26 2007 From: wjm at wjm.org (Bill Marriott) Date: Wed, 10 Jan 2007 09:30:26 -0500 Subject: BUG: importing image files crash rev 2.7.5 References: <45A4A4CE.700@fourthworld.com> Message-ID: Are you guys setting your clocks back or something? Because 2.7.5 Beta 1 expired on Dec 1. >> When did v2.7.5 go final? I think I missed something.... > > I don't think you missed anything. It was the last public beta as far as > I > know. From wjm at wjm.org Wed Jan 10 09:36:30 2007 From: wjm at wjm.org (Bill Marriott) Date: Wed, 10 Jan 2007 09:36:30 -0500 Subject: beep-answer-freeze References: Message-ID: Works instantly for me on 2.7.4 on an AMD 64 X2 4400+ You can get this to happen reliably just opening up Rev from scratch, making a new button, and putting that into the MouseUp handler? What version of Rev? Maybe you need to upgrade your PC buzzer! [just kidding! ;)] "Mark Schonewille" wrote in message news:BC72E738-B059-400C-B5F9-98B758E8094E at economy-x-talk.com... > Hello, > > I am currently having the following problem on a very modern and fast PC > with a dual processor --sorry, those are the only specs I currently have. > If I run the following script: > > beep > answer "hi" > > it takes a very long time, like 5 minutes or so, before the answer dialog > appears. I might also wait one minute, press control-alt- delete and close > the task manager (without interrupting any process) and the answer dialog > will appear while the task manager is on-screen. > > The problem is not necessarily related to the fact that this is a > dual-processor PC. I would very much appreciate any information regarding > dual-processor PC's, the described problem, possible causes, and maybe > even possible workarounds besides taking out the beep. > > Thanks, > > Mark From wjm at wjm.org Wed Jan 10 09:39:33 2007 From: wjm at wjm.org (Bill Marriott) Date: Wed, 10 Jan 2007 09:39:33 -0500 Subject: Option Key on Launch? References: <002a01c73371$87dbd2c0$6501a8c0@lynn><66FEDE67-FB65-4CEC-96A0-CB1CD9BECA7C@looktowindward.com><9FFBB5AF-F660-4436-AF31-BAFDE53F0D95@looktowindward.com> <532B185C-D560-4008-8388-995103291E0D@looktowindward.com> Message-ID: on openstack if the optionkey is down then answer "OptionKey is down!" end openstack As for any different behaviors you want for IDE vs. standalone, check the environment() function. "Dave" wrote in message news:532B185C-D560-4008-8388-995103291E0D at looktowindward.com... > Hi All, > > Is there any way to find out if the option key is down when a Standalone > App is launched? Also when a Stack is opened/run in the IDE? From revdev at pdslabs.net Wed Jan 10 10:24:26 2007 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 10 Jan 2007 07:24:26 -0800 Subject: Belated Happy 2007 In-Reply-To: <658489.75412.qm@web60521.mail.yahoo.com> References: <658489.75412.qm@web60521.mail.yahoo.com> Message-ID: <45A5052A.1050308@pdslabs.net> Hi Jan, Glad you're feeling better! I had viral pneumonia as a kid and it almost killed me. The main thing is, you're still with us! Best to you in 2007 - Phil Davis Jan Schenkel wrote: > Hi Everybody, > > My apologies for the late best wishes for 2007. I > spent the holidays in the hospital due to an attack > from a viral pneumonia. > To top it off, it seems that my beloved girlfriend was > unable to set the out-of-office auto-reply in my > absence - I guess she'll never be accused of being a > computer geek... > > I just returned home today, and have mostly recovered > - though I'm still feeling rather weak right now. > As you can imagine, this has wreaked havoc not only on > my body but also on my already tight schedule. The > only positive side effect is that I didn't have to > make that new year's resolution to quit smoking - that > bad habit of mine was taken care of. > > If you emailed me at my yahoo address, please resend > your email to jan.schenkel at quartam.com - my Yahoo > inbox is chock-full of use-revolution list emails and > any direct emails may not get caught in a timely > fashion. > My apologies for delays in reply as I get everything > back on track. > > Best regards, > > Jan Schenkel. > > Quartam Reports for Revolution > > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com From soapdog at mac.com Wed Jan 10 10:37:26 2007 From: soapdog at mac.com (Andre Garzia) Date: Wed, 10 Jan 2007 13:37:26 -0200 Subject: BUG: importing image files crash rev 2.7.5 In-Reply-To: References: <7A5BB65A-1194-481D-931D-B878CDA3C1F9@mac.com> Message-ID: <30C8C077-5ACB-4415-9273-A29A15F39BB5@mac.com> Gee, it's only my version 2.7.5-dp-1 that is broken!? On Jan 10, 2007, at 7:18 AM, Andr?.Bisseret wrote: > Hi, > Here : > Mac OS X 10.4.8 ; RR 2.7.4 > Importing (a PNG) does not crash Rev, either using the menu or CMD > > On the other hand, copy - paste crashes Rev. > > Best regards from Grenoble > Andr? > > > Le 10 janv. 07 ? 03:01, Andre Garzia a ?crit : > >> Folks, >> >> can someone confirm that importing JPEG or PNG image files using >> CMD+> crashes Rev? >> >> Andre >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From soapdog at mac.com Wed Jan 10 10:39:30 2007 From: soapdog at mac.com (Andre Garzia) Date: Wed, 10 Jan 2007 13:39:30 -0200 Subject: BUG: importing image files crash rev 2.7.5 In-Reply-To: References: <45A4A4CE.700@fourthworld.com> Message-ID: Wow.... my clock is very accurate and my version os showing nothing about expiration. I have it running very fine except for the fact that importing images crash it. Andre On Jan 10, 2007, at 12:30 PM, Bill Marriott wrote: > Are you guys setting your clocks back or something? Because 2.7.5 > Beta 1 > expired on Dec 1. > >>> When did v2.7.5 go final? I think I missed something.... >> >> I don't think you missed anything. It was the last public beta as >> far as >> I >> know. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From alex at harryscollar.com Wed Jan 10 10:52:16 2007 From: alex at harryscollar.com (Alex Shaw) Date: Thu, 11 Jan 2007 01:52:16 +1000 Subject: BUG: importing image files crash rev 2.7.5 In-Reply-To: <30C8C077-5ACB-4415-9273-A29A15F39BB5@mac.com> References: <7A5BB65A-1194-481D-931D-B878CDA3C1F9@mac.com> <30C8C077-5ACB-4415-9273-A29A15F39BB5@mac.com> Message-ID: <45A50BB0.2000507@harryscollar.com> hmm I noticed that too.. I think the public beta was 2.7.5-dp-2 (which has expired) .. & the recent update was 2.7.5-dp-1 One of those weird time warp bugs :) regards alex Andre Garzia wrote: > Gee, it's only my version 2.7.5-dp-1 that is broken!? > > From soapdog at mac.com Wed Jan 10 10:56:43 2007 From: soapdog at mac.com (Andre Garzia) Date: Wed, 10 Jan 2007 13:56:43 -0200 Subject: BUG: importing image files crash rev 2.7.5 In-Reply-To: <45A50BB0.2000507@harryscollar.com> References: <7A5BB65A-1194-481D-931D-B878CDA3C1F9@mac.com> <30C8C077-5ACB-4415-9273-A29A15F39BB5@mac.com> <45A50BB0.2000507@harryscollar.com> Message-ID: <9A5F2A87-7B67-434F-A7B1-54F9CC153D74@mac.com> I am afraid of my 2.7.5-dp-1, I think it mutated into something to avoid expiration... what is lurking in the dark corners of the message path, I do not know!!! anyway, it is running here and it doesn't like importing images... can anyone confirm that 2.7.5-dp-1 will not import images? Bill or RunRev team, am I doing something wrong running 2.7.5-dp-1? is it illegal somehow? It did not expired for me, I've updated during RevCon Malta after the team asked for our impressions... Andre On Jan 10, 2007, at 1:52 PM, Alex Shaw wrote: > hmm I noticed that too.. > > I think the public beta was 2.7.5-dp-2 (which has expired) > > .. & the recent update was 2.7.5-dp-1 > > One of those weird time warp bugs :) > > regards > alex > > Andre Garzia wrote: >> Gee, it's only my version 2.7.5-dp-1 that is broken!? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From devin_asay at byu.edu Wed Jan 10 11:05:57 2007 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 10 Jan 2007 09:05:57 -0700 Subject: BUG: importing image files crash rev 2.7.5 In-Reply-To: <7A5BB65A-1194-481D-931D-B878CDA3C1F9@mac.com> References: <7A5BB65A-1194-481D-931D-B878CDA3C1F9@mac.com> Message-ID: Is this the same thing as BZ #3945? Devin On Jan 9, 2007, at 7:01 PM, Andre Garzia wrote: > Folks, > > can someone confirm that importing JPEG or PNG image files using CMD > +> crashes Rev? > > Andre > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Devin Asay Humanities Technology and Research Support Center Brigham Young University From robmann at gp-racing.com Wed Jan 10 11:07:14 2007 From: robmann at gp-racing.com (robmann at gp-racing.com) Date: Wed, 10 Jan 2007 11:07:14 -0500 Subject: adding fields Message-ID: <20070110110714.og7hp9n2kt4cwkks@gp-racing.com> Is there a way to add fields based on a number entered in a field such as ON mouseUp put fld "numberofcolumns" into tnumberofcolumns REPEAT with c = 1 to tnumberofcolumns --add a new field not sure what this code should be or if it can be done ask "What do you want to label this field?" IF it is not empty THEN put it into myLabel set the name of the target to myLabel END IF END REPEAT END mouseUp Thanks Rob From Jason at jacksontechnical.com Wed Jan 10 11:09:34 2007 From: Jason at jacksontechnical.com (Jason Holden) Date: Wed, 10 Jan 2007 10:09:34 -0600 Subject: Flash Message-ID: <8B1690262AF77140B08FBAC89D9296743FD1F3@jtechsbs.jt.local> How do I play a SWF? From wjm at wjm.org Wed Jan 10 11:10:49 2007 From: wjm at wjm.org (Bill Marriott) Date: Wed, 10 Jan 2007 11:10:49 -0500 Subject: BUG: importing image files crash rev 2.7.5 References: <7A5BB65A-1194-481D-931D-B878CDA3C1F9@mac.com><30C8C077-5ACB-4415-9273-A29A15F39BB5@mac.com><45A50BB0.2000507@harryscollar.com> <9A5F2A87-7B67-434F-A7B1-54F9CC153D74@mac.com> Message-ID: Ah, I understand now: Rev 2.7.5-dp-1 = pre-beta (alpha?) release to Enterprise users only Rev 2.7.5-dp-2 = Beta 1 release, part of "open beta" Version dp-2 had an expiration date of Dec 1. Version dp-1 has no expiration that I know of. Although it has not expired and certainly not illegal, I would not recommend using dp-1 anymore unless you have a specific reason to do so. There is at least one feature that was removed (the new resizing thing). There are a slew of bugs that were fixed in dp-2, and even more that will be corrected in Beta 2, when it is released in a couple weeks. Basically, dp-1 is not reflective of what the 2.7.5 version will be, and probably going to cause more headaches than necessary. Apologies about the nomenclature (we're stuck with the "dp" naming scheme for now) and for forgetting that there was a "shadow" version of 2.7.5 still out there. "Andre Garzia" wrote in message news:9A5F2A87-7B67-434F-A7B1-54F9CC153D74 at mac.com... >I am afraid of my 2.7.5-dp-1, I think it mutated into something to avoid >expiration... what is lurking in the dark corners of the message path, I >do not know!!! anyway, it is running here and it doesn't like importing >images... can anyone confirm that 2.7.5-dp-1 will not import images? > > Bill or RunRev team, am I doing something wrong running 2.7.5-dp-1? is it > illegal somehow? It did not expired for me, I've updated during RevCon > Malta after the team asked for our impressions... > > Andre > > > On Jan 10, 2007, at 1:52 PM, Alex Shaw wrote: > >> hmm I noticed that too.. >> >> I think the public beta was 2.7.5-dp-2 (which has expired) >> >> .. & the recent update was 2.7.5-dp-1 >> >> One of those weird time warp bugs :) >> >> regards >> alex >> >> Andre Garzia wrote: >>> Gee, it's only my version 2.7.5-dp-1 that is broken!? >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From wjm at wjm.org Wed Jan 10 11:16:20 2007 From: wjm at wjm.org (Bill Marriott) Date: Wed, 10 Jan 2007 11:16:20 -0500 Subject: Flash References: <8B1690262AF77140B08FBAC89D9296743FD1F3@jtechsbs.jt.local> Message-ID: Jason, > How do I play a SWF? Very shortly, Rev will be releasing the technology it acquired from Altuit to embed web browsers within Rev stacks. You can play the Flash files from within those embedded browsers. There is no way to play a Flash movie natively within Rev. It could be possible with a plugin or external, but I'm not aware of any that perform that function. From alex at harryscollar.com Wed Jan 10 11:15:52 2007 From: alex at harryscollar.com (Alex Shaw) Date: Thu, 11 Jan 2007 02:15:52 +1000 Subject: [ANN] RevOnRockets Web Development educational Package! Happy 2007 everyone. In-Reply-To: References: Message-ID: <45A51138.1060600@harryscollar.com> Great work Andre! Must say it's a nice tidy improvement to the old mchttp stack.. particularly when compared to my own which is a mess :) Not sure if you are going to create a separate forum for it but I noticed in the bit where it creates a new stack for the brazilian-magic cgi ... here I see a noticeable stack appear briefly particularly when you get fast multiple cgi going or even [browser] refresh a cgi page a few times quickly. Anyway, a quick change to "create invisible stack" helped. Even though I work with fairly small networks where the current performance of rev server apps is ok [with small to medium sized data], things could be better & I really looking forward a super-duper multi-threading version of rev now! What's that *cough* bug number again? Opps.. enhancement number :) regards alex From RGould8 at aol.com Wed Jan 10 11:17:02 2007 From: RGould8 at aol.com (RGould8 at aol.com) Date: Wed, 10 Jan 2007 11:17:02 EST Subject: Any way to use BlueTooth Flic barcode scanner in Rev? Message-ID: http://www.flicscanner.com/ I'd love to use this device with a Rev app I'm making if at all possible. I have no idea how to interface with BlueTooth technology, however. From wjm at wjm.org Wed Jan 10 11:24:03 2007 From: wjm at wjm.org (Bill Marriott) Date: Wed, 10 Jan 2007 11:24:03 -0500 Subject: adding fields References: <20070110110714.og7hp9n2kt4cwkks@gp-racing.com> Message-ID: Rob, > Is there a way to add fields based on a number entered in a field > such as Absolutely. The command is "create" as in create field myLabel or create field set the name of it to myLabel However, beware of a potential gotcha in that naming a field -- or any object in Rev -- with just a number can result in unpredictable results, since you will create an ambiguity about whether you are referring to field #3 or the field NAMED "3" -- best to start all object names with at least one alpha character. From scott at tactilemedia.com Wed Jan 10 11:31:04 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 10 Jan 2007 08:31:04 -0800 Subject: Flash In-Reply-To: Message-ID: Recently, Bill Marriott wrote: > There is no way to play a Flash movie natively within Rev. It could be > possible with a plugin or external, but I'm not aware of any that perform > that function. Flash content can be played in Rev using a player object when QuickTime is available. However, the degree of support is limited to what QuickTime is capable of running (I believe the last time anyone checked, Flash 5 was the going version -- this may have changed). Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From alex at harryscollar.com Wed Jan 10 11:34:52 2007 From: alex at harryscollar.com (Alex Shaw) Date: Thu, 11 Jan 2007 02:34:52 +1000 Subject: Flash In-Reply-To: References: <8B1690262AF77140B08FBAC89D9296743FD1F3@jtechsbs.jt.local> Message-ID: <45A515AC.5010106@harryscollar.com> Hi I believe Jiro Harada has successfully used a Adobe-licensed version of the flash plugin with a revapp call F-ab. Haven't looked at it yet but I am curious has to how flexible the api is.. Jiro? regards alex Bill Marriott wrote: > Jason, > >> How do I play a SWF? > > Very shortly, Rev will be releasing the technology it acquired from Altuit > to embed web browsers within Rev stacks. You can play the Flash files from > within those embedded browsers. > > There is no way to play a Flash movie natively within Rev. It could be > possible with a plugin or external, but I'm not aware of any that perform > that function. > From stephenREVOLUTION at barncard.com Wed Jan 10 11:34:48 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 10 Jan 2007 08:34:48 -0800 Subject: Any way to use BlueTooth Flic barcode scanner in Rev? In-Reply-To: References: Message-ID: There are a lot of bar code scanners out there. Most will work substituting for a keyboard and with any software. USB seems to be the lingua franca these days, in which case it should just plug in to a USB port and will simply type a number into 'the selection' in a field after scanning. This will work with any app that allows input into fields. some wands can 'remember' and timestamp many scans and could be docked periodically for data download. serial port for interface might be found in older models. Rev can do this, either through a real port on a PC or a virtual port with a Keyspan USB-serial dongle. If the device is bundled with inventory software, beware of proprietary connections and platform incompatibilities. bluetooth might work if the drivers patch into the keyboard input, the computer in use has bluetooth, and all the compatibility issues are met. Wouldn't it be a lot easier to use a wire? You won't need anything else if you get a USB-as-keyboard unit. so choose wisely and talk to tech support before you buy. >http://www.flicscanner.com/ > > >I'd love to use this device with a Rev app I'm making if at all possible. I >have no idea how to interface with BlueTooth technology, however. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From RGould8 at aol.com Wed Jan 10 11:51:18 2007 From: RGould8 at aol.com (RGould8 at aol.com) Date: Wed, 10 Jan 2007 11:51:18 EST Subject: Any way to use BlueTooth Flic barcode scanner in Rev? Message-ID: I'm open to the suggestion of going USB instead of BlueTooth, and picking a barcode scanner that types into an input field like a keyboard. Can anyone tell me of any favorites? In particular, any that could be wireless, collect a bunch of data, and then plug into the computer to download the data into a Revolution text field? In a message dated 1/10/07 11:37:18 AM, stephenREVOLUTION at barncard.com writes: > There are a lot of bar code scanners out there. Most will work > substituting for a keyboard and with any software. > > USB seems to be the lingua franca these days, in which case it should > just plug in to a USB port and will simply type a number into 'the > selection' in a field after scanning. This will work with any app > that allows input into fields. > > some wands can 'remember' and timestamp many scans and could be > docked periodically for data download. > > serial port for interface might be found in older models. Rev can do > this, either through a real port on a PC or a virtual port with a > Keyspan USB-serial dongle. > > If the device is bundled with inventory software, beware of > proprietary connections and platform incompatibilities. > > bluetooth might work if the drivers patch into the keyboard input, > the computer in use has bluetooth, and all the compatibility issues > are met. Wouldn't it be a lot easier to use a wire?? You won't need > anything else if you get a USB-as-keyboard unit. > > so choose wisely and talk to tech support before you buy. > > > > > >http://www.flicscanner.com/ > > > > > >I'd love to use this device with a Rev app I'm making if at all possible.?? > I > >have no idea how to interface with BlueTooth technology, however. > > -- > > > stephen barncard > s a n? f r a n c i s c o > - - -? - - - - - - - - - > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From Stgoldberg at aol.com Wed Jan 10 11:53:08 2007 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Wed, 10 Jan 2007 11:53:08 EST Subject: Command to hide the tool palette Message-ID: <32b.2ecf9b1a.32d673f4@aol.com> Can anyone suggest a script to hide the Tools Palette on OpenStack? I have not been able to find a way. Thanks. Steve Goldberg From jkotthoff at eb.com Wed Jan 10 12:30:12 2007 From: jkotthoff at eb.com (Kotthoff, Jon) Date: Wed, 10 Jan 2007 11:30:12 -0600 Subject: RevRecordVideo- multiple instances within an app? Message-ID: <5A7A73808DCADE4CA77B67E0AD62AC0E64065D@EXCVS2.britannica.net> Is there anyway that a I can creat a stack that captures from 2 webcams concurrently....? I need to know this ASAP for a project I am working on... Thanks in advance Jon From klaus at major-k.de Wed Jan 10 12:33:03 2007 From: klaus at major-k.de (Klaus Major) Date: Wed, 10 Jan 2007 18:33:03 +0100 (MET) Subject: Command to hide the tool palette In-Reply-To: <32b.2ecf9b1a.32d673f4@aol.com> References: <32b.2ecf9b1a.32d673f4@aol.com> Message-ID: <49B38FA6-0DF9-4667-BBC7-057E3DD99DEE@major-k.de> Hi Steve, > Can anyone suggest a script to hide the Tools Palette on > OpenStack? I have > not been able to find a way. Thanks. > Steve Goldberg Maybe this will do the job? on openstack hide stack "revTools" end openstack ? :-) Regards Klaus Major klaus at major-k.de http://www.major-k.de From psahores at free.fr Wed Jan 10 12:40:56 2007 From: psahores at free.fr (Pierre Sahores) Date: Wed, 10 Jan 2007 18:40:56 +0100 Subject: RevRecordVideo- multiple instances within an app? In-Reply-To: <5A7A73808DCADE4CA77B67E0AD62AC0E64065D@EXCVS2.britannica.net> References: <5A7A73808DCADE4CA77B67E0AD62AC0E64065D@EXCVS2.britannica.net> Message-ID: Hi Jon Untesteded for my own but if it lacks, have an eye to Live Channel Pro (Mac OS X only but works perfect for years) or how to play multiple movies simultanious in a simple web page in using both the and tags to get fine display on both Mac OS and Windows (works perfect too, even within MSIE windows). Best Regards, Le 10 janv. 07 ? 18:30, Kotthoff, Jon a ?crit : > > Is there anyway that a I can creat a stack that captures from 2 > webcams concurrently....? > > I need to know this ASAP for a project I am working on... > > Thanks in advance > > Jon > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Pierre Sahores www.sahores-conseil.com From stephenREVOLUTION at barncard.com Wed Jan 10 12:42:28 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 10 Jan 2007 09:42:28 -0800 Subject: Any way to use BlueTooth Flic barcode scanner in Rev? In-Reply-To: References: Message-ID: Google for bar code scanners and find a manufacturer or retail that will let you borrow or return one for testing. It's very competitive out there in that market. Tell them you're a developer... >I'm open to the suggestion of going USB instead of BlueTooth, and picking a >barcode scanner that types into an input field like a keyboard. > >Can anyone tell me of any favorites? In particular, any that could be >wireless, collect a bunch of data, and then plug into the computer >to download the >data into a Revolution text field? > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From pepetoo at Cox.Net Wed Jan 10 12:46:06 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Wed, 10 Jan 2007 09:46:06 -0800 Subject: Command to hide the tool palette In-Reply-To: <49B38FA6-0DF9-4667-BBC7-057E3DD99DEE@major-k.de> References: <32b.2ecf9b1a.32d673f4@aol.com> <49B38FA6-0DF9-4667-BBC7-057E3DD99DEE@major-k.de> Message-ID: <4308AC22-67F6-431B-94C2-2C509DD82220@Cox.Net> Interesting! That does not work from the msg box, but does work from the open stack handler; however, once the stack is open the Tools Menu does not allow you to show the Tools Palette, and the Menu item for the "Tools Palette" is still checked. Somewhat strange behavior. Joe Wilkins On Jan 10, 2007, at 9:33 AM, Klaus Major wrote: > hide stack "revTools" From klaus at major-k.de Wed Jan 10 12:51:26 2007 From: klaus at major-k.de (Klaus Major) Date: Wed, 10 Jan 2007 18:51:26 +0100 (MET) Subject: Command to hide the tool palette In-Reply-To: <4308AC22-67F6-431B-94C2-2C509DD82220@Cox.Net> References: <32b.2ecf9b1a.32d673f4@aol.com> <49B38FA6-0DF9-4667-BBC7-057E3DD99DEE@major-k.de> <4308AC22-67F6-431B-94C2-2C509DD82220@Cox.Net> Message-ID: Hi Joe, > Interesting! That does not work from the msg box, ??? Works here. > but does work from the open stack handler; > however, once the stack is open the Tools Menu does not allow you > to show the Tools Palette, This menu item is supposed to open/close the tools palette and is not prepared for weird user-actions like hiding the tools ;-) > and the Menu item for the "Tools Palette" is still checked. See above, the stack is still open, so no need for unchecking the menuitem! > Somewhat strange behavior. ...whose? :-D > Joe Wilkins > > On Jan 10, 2007, at 9:33 AM, Klaus Major wrote: > >> hide stack "revTools" Regards Klaus Major klaus at major-k.de http://www.major-k.de From david at openpartnership.net Wed Jan 10 12:58:53 2007 From: david at openpartnership.net (David Bovill) Date: Wed, 10 Jan 2007 18:58:53 +0100 Subject: The best way to store arrays as text file? Message-ID: Like a lot of people I use arrays a lot, and as it is generally good practice to store data external to the application it is usefull to be able to save array data to disk as a some sort of file. So my question is what is the best way of storing arbitrary array data in a cross platform way? You could do it using a stack - which works and while I cannot think of anything directly against it - well lets say we don't do that :) How about those annoying Apple pLists? While they are an ugly looking structure they do seem to have the right sort of structure to store arbitrary array data. The array keys can are not used as tags but tag contents of a " element, and I think it should be possible to create two general functions: - arrayToXML and xmlToArray for storing anything you have in (multidimensional) arrays to disk and back. One advantage of using pLists is that you get access to all sorts of other usefull data stored in that format - but is there a better format / option? From david at openpartnership.net Wed Jan 10 13:00:01 2007 From: david at openpartnership.net (David Bovill) Date: Wed, 10 Jan 2007 19:00:01 +0100 Subject: Contents of a field to XML... Message-ID: Related to the lastpost I'm looking for the most general way to take any text in field an put it into an XML document? I was hoping that htmltext would do the trick but is is not xHTML compliant, so I am thinking about using the unicode functions and UTF8 - would that be the way to go? And if so what are the issues in terms of making the document cross platform? From pepetoo at Cox.Net Wed Jan 10 13:03:05 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Wed, 10 Jan 2007 10:03:05 -0800 Subject: Command to hide the tool palette In-Reply-To: References: <32b.2ecf9b1a.32d673f4@aol.com> <49B38FA6-0DF9-4667-BBC7-057E3DD99DEE@major-k.de> <4308AC22-67F6-431B-94C2-2C509DD82220@Cox.Net> Message-ID: <74EC378C-0975-48AE-9328-756F7298751F@Cox.Net> Hi Klaus, Thanks, probably my strange behavior; and it did work from the msg box when I tried it again; and show then showed it as expected, but the Tools Menu wouldn't do anything to either show or hide after that. So it is still a little strange! (smile) Joe Wilkins On Jan 10, 2007, at 9:51 AM, Klaus Major wrote: > Hi Joe, > >> Interesting! That does not work from the msg box, > > ??? Works here. > >> but does work from the open stack handler; >> however, once the stack is open the Tools Menu does not allow you >> to show the Tools Palette, > > This menu item is supposed to open/close the tools palette and is > not prepared for > weird user-actions like hiding the tools ;-) > >> and the Menu item for the "Tools Palette" is still checked. > > See above, the stack is still open, so no need for unchecking the > menuitem! > >> Somewhat strange behavior. > > ...whose? :-D > >> Joe Wilkins >> >> On Jan 10, 2007, at 9:33 AM, Klaus Major wrote: >> >>> hide stack "revTools" > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Wed Jan 10 13:10:38 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 10 Jan 2007 19:10:38 +0100 Subject: Command to hide the tool palette In-Reply-To: <32b.2ecf9b1a.32d673f4@aol.com> References: <32b.2ecf9b1a.32d673f4@aol.com> Message-ID: <6E3A2E64-DDAB-4E93-8D36-69047FC5B44A@sosmartsoftware.com> Hi Steve, close stack "revTools" The IDE does not hide this palette but closes it: So just do the same ;-) Le 10 janv. 07 ? 17:53, Stgoldberg at aol.com a ?crit : > Can anyone suggest a script to hide the Tools Palette on > OpenStack? I have > not been able to find a way. Thanks. > Steve Goldberg > ______________ Best Regards from Paris, Eric Chatonet ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From JimAultWins at yahoo.com Wed Jan 10 13:10:48 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 10 Jan 2007 10:10:48 -0800 Subject: Command to hide the tool palette In-Reply-To: <74EC378C-0975-48AE-9328-756F7298751F@Cox.Net> Message-ID: On 1/10/07 10:03 AM, "Joe Lewis Wilkins" wrote: > > Thanks, probably my strange behavior; and it did work from the msg > box when I tried it again; and show then showed it as expected, but > the Tools Menu wouldn't do anything to either show or hide after > that. So it is still a little strange! (smile) You probably toggled the hide/show without also setting a flag and allowing a handler to do the menu update. After that, the flag variable (in the menu handler) is probably out of sync. Try finding the Rev lib handler and calling that to toggle the tools palette. Jim Ault Las Vegas > > Joe Wilkins > > On Jan 10, 2007, at 9:51 AM, Klaus Major wrote: > >> Hi Joe, >> >>> Interesting! That does not work from the msg box, >> >> ??? Works here. >> >>> but does work from the open stack handler; >>> however, once the stack is open the Tools Menu does not allow you >>> to show the Tools Palette, >> >> This menu item is supposed to open/close the tools palette and is >> not prepared for >> weird user-actions like hiding the tools ;-) >> >>> and the Menu item for the "Tools Palette" is still checked. >> >> See above, the stack is still open, so no need for unchecking the >> menuitem! >> >>> Somewhat strange behavior. >> >> ...whose? :-D >> >>> Joe Wilkins >>> >>> On Jan 10, 2007, at 9:33 AM, Klaus Major wrote: >>> >>>> hide stack "revTools" >> >> Regards >> >> Klaus Major >> klaus at major-k.de >> http://www.major-k.de >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From pepetoo at Cox.Net Wed Jan 10 13:14:06 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Wed, 10 Jan 2007 10:14:06 -0800 Subject: Command to hide the tool palette In-Reply-To: <6E3A2E64-DDAB-4E93-8D36-69047FC5B44A@sosmartsoftware.com> References: <32b.2ecf9b1a.32d673f4@aol.com> <6E3A2E64-DDAB-4E93-8D36-69047FC5B44A@sosmartsoftware.com> Message-ID: <59D86D27-B9D3-42BA-8F0A-E753408993B1@Cox.Net> Now that's the way it should be done. It handles the menu checking and then the Tools Menu item works just as it should. Thanks, Eric. Joe Wilkins On Jan 10, 2007, at 10:10 AM, Eric Chatonet wrote: > Hi Steve, > > close stack "revTools" > > The IDE does not hide this palette but closes it: > So just do the same ;-) > > Le 10 janv. 07 ? 17:53, Stgoldberg at aol.com a ?crit : > >> Can anyone suggest a script to hide the Tools Palette on >> OpenStack? I have >> not been able to find a way. Thanks. >> Steve Goldberg >> ______________ > > Best Regards from Paris, > Eric Chatonet > ---------------------------------------------------------------------- > ------------------------ > http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lists at mangomultimedia.com Wed Jan 10 13:28:39 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 10 Jan 2007 10:28:39 -0800 Subject: OMG!!!! Steve Jobs is launching the iPhone and it runs MacOS X. In-Reply-To: <4F5D4527-1FC2-4D03-B06E-5A05C625B30A@mangomultimedia.com> References: <0C8D89A5-CB03-43F4-99E4-18DE0D6B8BE2@mac.com> <70ed6b130701091128p44690a22k21c35f3a5f6eead0@mail.gmail.com> <952503E5-0184-4D02-973C-8BD8CA44035B@mangomultimedia.com> <5B540D18-767A-448E-8652-31F2ABB6B890@mangomultimedia.com> <2e0cf4750701091430l511e95c5o48543d2b7659c39@mail.gmail.com> <4F5D4527-1FC2-4D03-B06E-5A05C625B30A@mangomultimedia.com> Message-ID: <5F8B3AE1-D3DC-4647-B25E-21EBAB988AB7@mangomultimedia.com> On Jan 9, 2007, at 2:46 PM, Trevor DeVore wrote: > On Jan 9, 2007, at 2:30 PM, chris bohnert wrote: > >> Did I miss a spec? Does the phone actually have GPS or are you >> referring to >> the time differencing data that most carriers use to triangulate a >> phones >> location? > > I thought I heard that Google Maps knew where you were on the > iPhone so I assumed that some sort of GPS data was available. I watched the iPhone presentation last night and noticed when talking about Google Maps that Steve started at the Moscone center using a saved location. I think the live coverage I was reading mistakingly thought that Google Maps knew the actual location. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From r.venzl-schubert at t-online.de Wed Jan 10 13:54:55 2007 From: r.venzl-schubert at t-online.de (Reinhold Venzl-Schubert) Date: Wed, 10 Jan 2007 19:54:55 +0100 Subject: external editor for Revolution In-Reply-To: <20070110054536.5281D489059@mail.runrev.com> References: <20070110054536.5281D489059@mail.runrev.com> Message-ID: <3F82D41C-D938-4910-BB40-FC60C836E3B5@t-online.de> Hi Stephen, hi Ken, > Well you might try Galaxy. > http://www.runrev.com/section/revselect/galaxy/index.php > But that's a pro product - you said you were 'tinkering' - it costs a > little bit, but is quite more than just an 'external editor' - it's > an incredibly well-tested alternate IDE and well loved by this author. > > Or try BBEDIT or TextWrangler (free) > http://barebonessoftware.com/products/textwrangler/ > You can also use TextMate and SubEthaEdit, but make sure you download > the STS/MLXEditor plugin so you can have your text editor > automatically open when you choose to edit a script, and have it > automatically saved back again. Thanks for your advices. I tried them but all of them are too powerful for me (tinkering ;-). I helped myself in this way: I created a small stack with only a field. Then I wrote my script in the scripteditor of it. I can colorize and format it und compose it in my way until I copy it in its final place. And I can store it over night without changing my program. Reinhold From kray at sonsothunder.com Wed Jan 10 13:56:32 2007 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 10 Jan 2007 12:56:32 -0600 Subject: Option Key on Launch? In-Reply-To: References: <002a01c73371$87dbd2c0$6501a8c0@lynn><66FEDE67-FB65-4CEC-96A0-CB1CD9BECA7C@looktowindward.com><9FFBB5AF-F660-4436-AF31-BAFDE53F0D95@looktowindward.com> <532B185C-D560-4008-8388-995103291E0D@looktowindward.com> Message-ID: On Jan 10, 2007, at 8:39 AM, Bill Marriott wrote: > on openstack > if the optionkey is down then answer "OptionKey is down!" > end openstack It may be better to use the 'startup' handler instead of 'openstack' if you want to specifically trap for when the standalone is launched as 'startup' is ONLY sent to a standalone. Ken Ray Sons of Thunder Software, Inc. Web Site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From stephenREVOLUTION at barncard.com Wed Jan 10 14:00:43 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 10 Jan 2007 11:00:43 -0800 Subject: The best way to store arrays as text file? In-Reply-To: References: Message-ID: Well I use two ways to store arrays... Does the data need to be read outside of rev or not? If they're going to be read by a revolution app, then they can be stored and recovered intact as a custom property set in an external stack. I also pack them into a single custom property using tabbed fields for each record. One record on each line. First item is the key. If returns and other special characters are in the array then URLEncoding/Decoding can be used for certain data. If text files are needed to move that data to anywhere else, you're probably limited to tab delimited fields with linefeeds subbed for returns in data and returns for records unless you use XML. I would use like methods, but they all seem cumbersome compared to just rigidly formatting the data and using properties, at least for state and prefs purposes. >Like a lot of people I use arrays a lot, and as it is generally good >practice to store data external to the application it is usefull to be able >to save array data to disk as a some sort of file. So my question is what is >the best way of storing arbitrary array data in a cross platform way? > >You could do it using a stack - which works and while I cannot think of >anything directly against it - well lets say we don't do that :) >How about those annoying Apple pLists? While they are an ugly looking >structure they do seem to have the right sort of structure to store >arbitrary array data. The array keys can are not used as tags but tag >contents of a " element, and I think it should be possible to create >two general functions: > > - arrayToXML and xmlToArray for storing anything you have in >(multidimensional) arrays to disk and back. > >One advantage of using pLists is that you get access to all sorts of other >usefull data stored in that format - but is there a better format / option? -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From jacque at hyperactivesw.com Wed Jan 10 14:03:08 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 10 Jan 2007 13:03:08 -0600 Subject: Command to hide the tool palette In-Reply-To: <74EC378C-0975-48AE-9328-756F7298751F@Cox.Net> References: <32b.2ecf9b1a.32d673f4@aol.com> <49B38FA6-0DF9-4667-BBC7-057E3DD99DEE@major-k.de> <4308AC22-67F6-431B-94C2-2C509DD82220@Cox.Net> <74EC378C-0975-48AE-9328-756F7298751F@Cox.Net> Message-ID: <45A5386C.90601@hyperactivesw.com> Joe Lewis Wilkins wrote: > Hi Klaus, > > Thanks, probably my strange behavior; and it did work from the msg box > when I tried it again; and show then showed it as expected, but the > Tools Menu wouldn't do anything to either show or hide after that. So it > is still a little strange! (smile) Note the difference between a stack that is hidden (invisible but still open) and closed. The menu is toggling the open/closed state, not the visible state. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From janschenkel at yahoo.com Wed Jan 10 14:16:59 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 10 Jan 2007 11:16:59 -0800 (PST) Subject: Contents of a field to XML... In-Reply-To: Message-ID: <777963.70162.qm@web60519.mail.yahoo.com> --- David Bovill wrote: > Related to the lastpost I'm looking for the most > general way to take any > text in field an put it into an XML document? > > I was hoping that htmltext would do the trick but is > is not xHTML compliant, > so I am thinking about using the unicode functions > and UTF8 - would that be > the way to go? And if so what are the issues in > terms of making the document > cross platform? > Hi David, A while ago I needed a way to make the htmlText of a field XML-compliant. The main difficulty was in the img tags which aren't closed. Here's what I came up with: ## function htmlText2xml pHtmlText put "" into kCLOSETAG -- put 0 into tStart put offset(kOPENTAG,pHtmlText,tStart) into tOffset repeat until tOffset = 0 put offset(kCLOSETAG,pHtmlText,tStart+tOffset) into tEnd put " /" after char tStart+tOffset+tEnd of pHtmlText add tOffset + 10 to tStart put offset(kOPENTAG,tText,tStart) into tOffset end repeat return " & return & \ "" & return & pHtmlText & return & "" end htmlText2xml ## As the htmlText will automatically replace any non-Latin characters with enity numbers, you don't have to worry too much about Unicode. Some XML parsers will complain that these entities aren't specified anywhere. But at least you can process the resulting xml with Rev's xml library calls. Hope this helped, Jan Schenkel. Quartam Reports for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ____________________________________________________________________________________ Yahoo! Music Unlimited Access over 1 million songs. http://music.yahoo.com/unlimited From pepetoo at Cox.Net Wed Jan 10 15:55:23 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Wed, 10 Jan 2007 12:55:23 -0800 Subject: Command to hide the tool palette In-Reply-To: <45A5386C.90601@hyperactivesw.com> References: <32b.2ecf9b1a.32d673f4@aol.com> <49B38FA6-0DF9-4667-BBC7-057E3DD99DEE@major-k.de> <4308AC22-67F6-431B-94C2-2C509DD82220@Cox.Net> <74EC378C-0975-48AE-9328-756F7298751F@Cox.Net> <45A5386C.90601@hyperactivesw.com> Message-ID: Thanks, that would be the only thing that would account for the results. JW On Jan 10, 2007, at 11:03 AM, J. Landman Gay wrote: > Joe Lewis Wilkins wrote: >> Hi Klaus, >> Thanks, probably my strange behavior; and it did work from the msg >> box when I tried it again; and show then showed it as expected, >> but the Tools Menu wouldn't do anything to either show or hide >> after that. So it is still a little strange! (smile) > > Note the difference between a stack that is hidden (invisible but > still open) and closed. The menu is toggling the open/closed state, > not the visible state. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sarah.reichelt at gmail.com Wed Jan 10 16:01:18 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 11 Jan 2007 07:01:18 +1000 Subject: Working with Microsoft Exchange Server In-Reply-To: <45A4B769.3020106@anachreon.co.uk> References: <45A4B769.3020106@anachreon.co.uk> Message-ID: > I'd first suggest they turn on POP3 and IMAP services: I can't see any > decent reason to turn these off. Arm wrestle if you need to. > They wanna dictate? Dictate back. > Thanks Luis & Todd for your suggestions. The arm-wrestling one is looking much the best, but I'll study those examples and have at look at the RPC stuff just in case... Cheers, Sarah From Stgoldberg at aol.com Wed Jan 10 16:52:45 2007 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Wed, 10 Jan 2007 16:52:45 EST Subject: Command to hide the tool palette Message-ID: Thanks for the word "revTools" Klaus to refer to the tools palette. I didn't find it in the Rev dictionary. However, in order to hide the tools palette, I suggest modifying the command to CLOSE stack "revTools" rather than HIDE stack "revTools", since the HIDE command, while hiding the tools palette, does not uncheck the tools palette option in the Tools menu and it is then not possible to reshow the tools palette through the Tools menu. Switching the command to CLOSE stack "revTools", though, permits one to reopen the tools palette through the Tools menu. The value of having this command is that when someone else who is not a programmer uses the stack they will be less likely to mess things up through an open Tools palette. Steve Goldberg In a message dated 1/10/07 12:53:07 PM, use-revolution-request at lists.runrev.com writes: > From: Klaus Major > Subject: Re: Command to hide the tool palette > To: How to use Revolution > Message-ID: <49B38FA6-0DF9-4667-BBC7-057E3DD99DEE at major-k.de> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > Hi Steve, > > > Can anyone suggest a script to hide the Tools Palette on? > > OpenStack??? I have > > not been able to find a way.?? Thanks. > > Steve Goldberg > > Maybe this will do the job? > > on openstack > ?? hide stack "revTools" > end openstack > From jhj at jhj.com Wed Jan 10 17:01:14 2007 From: jhj at jhj.com (Jerry J) Date: Wed, 10 Jan 2007 14:01:14 -0800 Subject: OMG!!!! Steve Jobs is launching the iPhone and it runs MacOS X. In-Reply-To: <20070110054536.1587D48905B@mail.runrev.com> References: <20070110054536.1587D48905B@mail.runrev.com> Message-ID: > From: SimPLsol at aol.com > By this time next year the iPhone may even bake bread. > Paul Looney As Ralph Kramden once said: "Will it core a apple"? Cheer, Jerry Jensen From wow at together.net Wed Jan 10 17:20:27 2007 From: wow at together.net (Richard Miller) Date: Wed, 10 Jan 2007 17:20:27 -0500 Subject: RevRecordVideo- multiple instances within an app? In-Reply-To: <5A7A73808DCADE4CA77B67E0AD62AC0E64065D@EXCVS2.britannica.net> References: <5A7A73808DCADE4CA77B67E0AD62AC0E64065D@EXCVS2.britannica.net> Message-ID: <1B322AA0-7AB1-4F8F-AC61-08440EAF6B0C@together.net> Jon, Yes, you can use Rev to do this. Create two separate Rev apps that each capture from one camera. When the first program starts capturing, have it tell the second one to begin as well. One way to do that, as has been suggested to me here, is by having the first app set some kind of flag through a saved text file, which the second app will scan for. When it sees a change to the flag, it starts capturing. I've tried this on a relatively low-powered PC laptop with two firewire webcams. It works fine, though it takes a bit of tweaking to get it going. You can use a codec like 3ivx. No problem capturing 30 fps at 640 x 480, with excellent results. Richard Miller Imprinter Technologies On Jan 10, 2007, at 12:30 PM, Kotthoff, Jon wrote: > > Is there anyway that a I can creat a stack that captures from 2 > webcams concurrently....? > > I need to know this ASAP for a project I am working on... > > Thanks in advance > > Jon > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Wed Jan 10 17:34:09 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 10 Jan 2007 16:34:09 -0600 Subject: Command to hide the tool palette In-Reply-To: References: Message-ID: <45A569E1.7000309@hyperactivesw.com> Stgoldberg at aol.com wrote: > Thanks for the word "revTools" Klaus to refer to the tools palette. I > didn't find it in the Rev dictionary. The IDE stacks aren't generally listed there (you aren't really expected to mess with them,) but here is a handy trick: put the short name of the mousestack This will put the name of the stack the mouse is currently in. So just move your mouse someone over the stack you want to know about (no need to click) and then execute the line from the message box. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From programmer711 at gmail.com Wed Jan 10 18:23:56 2007 From: programmer711 at gmail.com (Brad Sampson) Date: Wed, 10 Jan 2007 16:23:56 -0700 Subject: mousemove crash In-Reply-To: References: Message-ID: <72bdb4b20701101523i30058fd2p908b23abae73c67a@mail.gmail.com> If you are just using mouseMove as a handler that you want to be sent a lot of times, I would suggest this. Also, if you are drawing a line, it might be more stable just to use this script anyway, and just ignoring any mouseLocs that are the same as the previous recorded mouseLoc. on openStack global backgroundMessageCount add 1 to backgroundMessageCount backgroundMessages end openstack on backgroundMessages global backgroundMessageCount add 1 to backgroundMessageCount if backgroundMessageCount mod 50 is 0 then -- Do whatever you need to here end if if backgroundMessageCount mod 1000 is 0 then -- Do whatever else you need to here end if if backgroundMessages is not in the pendingMessages then send pendingMessages to me in 1 millisecond end backgroundMessages This is just a sample script. The point of the backgroundMessageCount is that you can have multiple scripts running at different rates. For the example of substituting for a mouseMove script, I would use this: on backgroundMessages global backgroundMessageCount,theMouseLoc add 1 to backgroundMessageCount if the mouseLoc is not theMouseLoc then put the mouseLoc into theMouseLoc -- Do whatever you need to here end if if backgroundMessages is not in the pendingMessages then send pendingMessages to me in 1 millisecond end backgroundMessages I hope it helps! Brad CMSEC From JimAultWins at yahoo.com Wed Jan 10 18:24:52 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 10 Jan 2007 15:24:52 -0800 Subject: The best way to store arrays as text file? In-Reply-To: Message-ID: On 1/10/07 11:00 AM, "Stephen Barncard" wrote: > Well I use two ways to store arrays... > > Does the data need to be read outside of rev or not? > If they're going to be read by a revolution app, then > > they can be stored and recovered intact as a custom property set in > an external stack. > > I also pack them into a single custom property using tabbed fields > for each record. One record on each line. First item is the key. If > returns and other special characters are in the array then > URLEncoding/Decoding can be used for certain data. One handy, and very fast custom prop technique I use is ... Start with the concept that a custom property set *is* an array. on packCustomProps put the customproperties of this stack into tempArr combine tempArr using cr and tab --now tab delim put tempArr into url ("file:"& pathToFile & filename &".txt") --the current property set is now saved end packCustomProps --the reverse direction to use the data on openstack put url ("file:"& pathToFile & filename &".txt") into tempArr split tempArr using cr and tab --now an array set the customproperties of this stack into tempArr --the current property set is now restored end openstack --and the variable tempArr is purged by Rev when the handler ends ----------------- > If text files are needed to move that data to anywhere else, you're > probably limited to tab delimited fields with linefeeds subbed for > returns in data and returns for records unless you use XML. There are more options for storage if you consider Applescript for the Mac or VBA for Windows, but that gets into exchanging data with companion apps (which I do everyday), but definitely not simple. Caution about text file storage. Watch for the use of put cr & newData after url ("file:"& pathToFile & filename &".txt") --where over the weeks the file size can grow to over 2 Mb. Performance will slow dramatically, esp over 10 Mb. Jim Ault Las Vegas From programmer711 at gmail.com Wed Jan 10 18:39:29 2007 From: programmer711 at gmail.com (Brad Sampson) Date: Wed, 10 Jan 2007 16:39:29 -0700 Subject: beep-answer-freeze In-Reply-To: References: Message-ID: <72bdb4b20701101539g761d7fafj13908bec5d3c12f@mail.gmail.com> I was just recently experiencing problems that are probably attributed to the same thing. I had an image called image "Play Output". In the script, it said: wait 15 ticks with messages show image "Play Output" It would show the image, then it would get the error that image "Play Output" doesn't exist. It was because I was having an... imaginary error somewhere else in script. I tried for hours to track down the error, but everything else was working fine. Finally, I had to use a roundabout way to do it. The beep command takes time to execute, so another command might be getting an error that doesn't really exist... I mean... its not a real error, but revolution thinks it is... anyway, Revolution throws the error out and the very next line of code has problems. These are all roundabout, but one of them might work: 1. Put the line "wait 0 ticks" in between those lines of code 2. Try replacing "answer "hi"" with something else, and see if that line has problems instead 3. If nothing else works, and your desperate, write your own handler that makes a substack "answer box" On number 3, I had the same problem, but with the revCopyFile command. It would take 30 seconds to execute, even on miniscule files. I had to use a shell command, and then it took a matter of milliseconds. I hope one of those fixes your problem... although they're not fixing the problem, they're going around it. But if you can use a roundabout way and save a few hours of debuging, that's worth it, right? Brad CMESC From programmer711 at gmail.com Wed Jan 10 18:45:07 2007 From: programmer711 at gmail.com (Brad Sampson) Date: Wed, 10 Jan 2007 16:45:07 -0700 Subject: adding fields In-Reply-To: References: <20070110110714.og7hp9n2kt4cwkks@gp-racing.com> Message-ID: <72bdb4b20701101545u747e7064s992096a0458c2860@mail.gmail.com> To avoid problems with renaming fields, you can just: set the name of the templateField to fieldName You can set any property that you could a regular field of the templateField. Then, when you create a field, it will have all of those properties. Brad CMSEC From ambassador at fourthworld.com Wed Jan 10 19:51:27 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 10 Jan 2007 16:51:27 -0800 Subject: BUG: importing image files crash rev 2.7.5 Message-ID: <45A58A0F.6040200@fourthworld.com> Bill Marriott wrote: > Ah, I understand now: > > Rev 2.7.5-dp-1 = pre-beta (alpha?) release to Enterprise users only > Rev 2.7.5-dp-2 = Beta 1 release, part of "open beta" If the nomenclature describing these releases confuses the head of Q/A, imagine what it does for the rest of us. ;) Is there a plan to adopt the more common industry convention of simply "Development", "Alpha", "Beta", "Gamma", "Release"? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From bridgeyman at gmail.com Wed Jan 10 23:56:08 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Wed, 10 Jan 2007 21:56:08 -0700 Subject: Broadcasts On OS X Message-ID: <86ae76bb0701102056o651721f5w546c6635e3b0abdc@mail.gmail.com> Hey, Today I was trying to get broadcasts working for a simple (very simple) chat program for use on a LAN that sends using broadcasts. I was able to get the Windows version working fine, it sent to the IP 192.168.0.255 and all the other clients received it (PC and Mac), but I can't seem to send a broadcast on my OS X machine. I am sending it to the same address, but no one receives it. I ran the shell command ifconfig to divine the broadcast address (which was the same as the one the PC was using), but it didn't work. Is there a different address I should be sending it to? TTFN Bridger CMSEC From luis at anachreon.co.uk Thu Jan 11 04:45:07 2007 From: luis at anachreon.co.uk (Luis) Date: Thu, 11 Jan 2007 09:45:07 +0000 Subject: Broadcasts On OS X In-Reply-To: <86ae76bb0701102056o651721f5w546c6635e3b0abdc@mail.gmail.com> References: <86ae76bb0701102056o651721f5w546c6635e3b0abdc@mail.gmail.com> Message-ID: <45A60723.7020808@anachreon.co.uk> Hiya, .255 is usually used as the broadcast IP for any routers/routing in the network. The broadcast address is for _network broadcasts_. Change the IP address you're sending to so that it doesn't end in .222 or .0 Cheers, Luis. Bridger Maxwell wrote: > Hey, > Today I was trying to get broadcasts working for a simple (very simple) > chat program for use on a LAN that sends using broadcasts. I was able to > get the Windows version working fine, it sent to the IP 192.168.0.255 and > all the other clients received it (PC and Mac), but I can't seem to send a > broadcast on my OS X machine. I am sending it to the same address, but no > one receives it. I ran the shell command ifconfig to divine the broadcast > address (which was the same as the one the PC was using), but it didn't > work. Is there a different address I should be sending it to? > > TTFN > Bridger > CMSEC > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From luis at anachreon.co.uk Thu Jan 11 04:46:39 2007 From: luis at anachreon.co.uk (Luis) Date: Thu, 11 Jan 2007 09:46:39 +0000 Subject: Broadcasts On OS X - Oops! In-Reply-To: <45A60723.7020808@anachreon.co.uk> References: <86ae76bb0701102056o651721f5w546c6635e3b0abdc@mail.gmail.com> <45A60723.7020808@anachreon.co.uk> Message-ID: <45A6077F.5070903@anachreon.co.uk> That should have been 'doesn't end in .255' not .222 Cheers, Luis. Luis wrote: > Hiya, > > .255 is usually used as the broadcast IP for any routers/routing in the > network. > > The broadcast address is for _network broadcasts_. Change the IP address > you're sending to so that it doesn't end in .222 or .0 > > Cheers, > > Luis. > > > Bridger Maxwell wrote: >> Hey, >> Today I was trying to get broadcasts working for a simple (very simple) >> chat program for use on a LAN that sends using broadcasts. I was able to >> get the Windows version working fine, it sent to the IP 192.168.0.255 and >> all the other clients received it (PC and Mac), but I can't seem to >> send a >> broadcast on my OS X machine. I am sending it to the same address, >> but no >> one receives it. I ran the shell command ifconfig to divine the >> broadcast >> address (which was the same as the one the PC was using), but it didn't >> work. Is there a different address I should be sending it to? >> >> TTFN >> Bridger >> CMSEC >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From david at openpartnership.net Thu Jan 11 07:28:14 2007 From: david at openpartnership.net (David Bovill) Date: Thu, 11 Jan 2007 13:28:14 +0100 Subject: The best way to store arrays as text file? In-Reply-To: References: Message-ID: Thanks. I know what you suggest is faster - but it would not work for complex data containing tabs for instance. I don't want this to break when a user tries to store something odd in the future, and as i use arrays for all sorts of things including htmlText and possible unicode.... In general no delimiter is completely safe - safest would be XML is my guess - all though I was wandering about JSON as it is simpler. So how about a completely general function to store any arbitrary array? On 11/01/07, Jim Ault wrote: > > One handy, and very fast custom prop technique I use is ... > Start with the concept that a custom property set *is* an array. > > on packCustomProps > put the customproperties of this stack into tempArr > combine tempArr using cr and tab --now tab delim > put tempArr into url ("file:"& pathToFile & filename &".txt") > --the current property set is now saved > end packCustomProps > > > --the reverse direction to use the data > on openstack > put url ("file:"& pathToFile & filename &".txt") into tempArr > split tempArr using cr and tab --now an array > set the customproperties of this stack into tempArr > --the current property set is now restored > end openstack > --and the variable tempArr is purged by Rev when the handler ends > returns in data and returns for records unless you use XML. > There are more options for storage if you consider Applescript for the Mac > or VBA for Windows, but that gets into exchanging data with companion apps > (which I do everyday), but definitely not simple. Any links to these options? Stephen barncard wrote: If text files are needed to move that data to anywhere else, you're > probably limited to tab delimited fields with linefeeds subbed for > returns in data and returns for records unless you use XML. I am a bit shaky on this cross platform text file stuff - does anyone have any code / demo for using text files. I guess XML works as it inores the white space" right? From david at openpartnership.net Thu Jan 11 07:40:06 2007 From: david at openpartnership.net (David Bovill) Date: Thu, 11 Jan 2007 13:40:06 +0100 Subject: Contents of a field to XML... In-Reply-To: <777963.70162.qm@web60519.mail.yahoo.com> References: <777963.70162.qm@web60519.mail.yahoo.com> Message-ID: Thanks Jan - a couple of things. First I think Rev"s XML parser seems to complain with certian entities "Ä" for instance - which surprised me - I am looking into it now - does anyone now what XML parser RunRe uses - thought it was XPAT based??? And anyone know what other entities / quirks cause problems for the Runrev XML parser? Second xHtml compliance is what I am looking at - which means the "font" tags are a no-no. I did not notice the non-closure of the image tag - is that filed as a bug - should be dead easy for Rev to fix no? On 10/01/07, Jan Schenkel wrote: > > --- David Bovill wrote: > > Related to the lastpost I'm looking for the most > > general way to take any > > text in field an put it into an XML document? > > > > I was hoping that htmltext would do the trick but is > > is not xHTML compliant, > > so I am thinking about using the unicode functions > > and UTF8 - would that be > > the way to go? And if so what are the issues in > > terms of making the document > > cross platform? > > > > Hi David, > > A while ago I needed a way to make the htmlText of a > field XML-compliant. The main difficulty was in the > img tags which aren't closed. Here's what I came up > with: > ## > function htmlText2xml pHtmlText > put "" into kCLOSETAG > -- > put 0 into tStart > put offset(kOPENTAG,pHtmlText,tStart) into tOffset > repeat until tOffset = 0 > put offset(kCLOSETAG,pHtmlText,tStart+tOffset) > into tEnd > put " /" after char tStart+tOffset+tEnd of > pHtmlText > add tOffset + 10 to tStart > put offset(kOPENTAG,tText,tStart) into tOffset > end repeat > return " "?> & return & \ > "" & return & pHtmlText & return & > "" > end htmlText2xml > ## > > As the htmlText will automatically replace any > non-Latin characters with enity numbers, you don't > have to worry too much about Unicode. > Some XML parsers will complain that these entities > aren't specified anywhere. But at least you can > process the resulting xml with Rev's xml library > calls. > > Hope this helped, > > Jan Schenkel. > > Quartam Reports for Revolution > > > ===== > "As we grow older, we grow both wiser and more foolish at the same > time." (La Rochefoucauld) > > > > > ____________________________________________________________________________________ > Yahoo! Music Unlimited > Access over 1 million songs. > http://music.yahoo.com/unlimited > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From david at openpartnership.net Thu Jan 11 08:14:51 2007 From: david at openpartnership.net (David Bovill) Date: Thu, 11 Jan 2007 14:14:51 +0100 Subject: A couple of handlers... Message-ID: As I am not much good at regular expressions I thought I would share my ignorance with others :) Here is the best I can do with regard to extracting links from htmltext in fields - they only work on a single line and they do not find links with variable whitespace as you may get in html web pages. on html_DeconstructNameLink nextHtmlLine, @someText, @someLink -- Crossing The Bridge put "]*)" & quote & ">([^<]*)" into someReg return matchText(nextHtmlLine, someReg, someLink, someText) end html_DeconstructNameLink on html_DeconstructRefLink nextHtmlLine, @someText, @someLink -- Crossing The Bridge put "]*)" & quote & ">([^<]*)" into someReg return matchText(nextHtmlLine, someReg, someLink, someText) end html_DeconstructRefLink Is there a better way? From wjm at wjm.org Thu Jan 11 09:06:20 2007 From: wjm at wjm.org (Bill Marriott) Date: Thu, 11 Jan 2007 09:06:20 -0500 Subject: BUG: importing image files crash rev 2.7.5 References: <45A58A0F.6040200@fourthworld.com> Message-ID: Richard, > Is there a plan to adopt the more common industry convention of simply > "Development", "Alpha", "Beta", "Gamma", "Release"? We already are using the "Beta" label as the "public" naming scheme for releases. But in the immediate future, the "dp" internal naming system is not going to go away. It's baked into the "build tools" used to create releases. I suspect, for example, that "Beta 2" will be named "dp-3, build NNN." The build tools otherwise work reliably, and all resources are being directed to the Revolution product itself. For now we'll just have to wrap our heads around each release having three numbers: Beta #, dp #, and build #. If it helps, you might think of it the way that Rev buttons can have a label, a name, an ID number, and an ordinal number. From ambassador at fourthworld.com Thu Jan 11 09:15:49 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 11 Jan 2007 06:15:49 -0800 Subject: The best way to store arrays as text file? Message-ID: <45A64695.2040608@fourthworld.com> David Bovill wrote: > I know what you suggest is faster - but it would not work for complex data > containing tabs for instance. I don't want this to break when a user tries > to store something odd in the future, and as i use arrays for all sorts of > things including htmlText and possible unicode.... By "odd" do you mean binary? If the user is storing binary info, why not just use the most efficient binary format possible in Rev: a stack file If the data isn't binary then rather than using ASCII characters like tab and return as delimiters you could just as easily choose any non-ASCII characters, or a pair of low-ASCIII control characters. > In general no delimiter is completely safe - safest would be XML is my guess > - all though I was wandering about JSON as it is simpler. So how about a > completely general function to store any arbitrary array? Any delimited file will still requiring some sort of escape. With tab-delimited you need to escape tabs; with XML you need to escape angle brackets. The only way to avoid that modest cost is to use a binary format, such as a Rev stack file. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Thu Jan 11 10:53:00 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 11 Jan 2007 07:53:00 -0800 Subject: Extracting text from PDF Message-ID: <45A65D5C.1050303@fourthworld.com> Anyone here have an efficient algo for extracting text from PDFs? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From luis at anachreon.co.uk Thu Jan 11 10:58:51 2007 From: luis at anachreon.co.uk (Luis) Date: Thu, 11 Jan 2007 15:58:51 +0000 Subject: BUG: importing image files crash rev 2.7.5 In-Reply-To: References: <45A58A0F.6040200@fourthworld.com> Message-ID: <45A65EBB.7000907@anachreon.co.uk> A release date tagged onto the end of that would clear up most of the problems. Cheers, Luis. Bill Marriott wrote: > Richard, > >> Is there a plan to adopt the more common industry convention of simply >> "Development", "Alpha", "Beta", "Gamma", "Release"? > > We already are using the "Beta" label as the "public" naming scheme for > releases. But in the immediate future, the "dp" internal naming system is > not going to go away. It's baked into the "build tools" used to create > releases. I suspect, for example, that "Beta 2" will be named "dp-3, build > NNN." The build tools otherwise work reliably, and all resources are being > directed to the Revolution product itself. > > For now we'll just have to wrap our heads around each release having three > numbers: Beta #, dp #, and build #. If it helps, you might think of it the > way that Rev buttons can have a label, a name, an ID number, and an ordinal > number. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From Stgoldberg at aol.com Thu Jan 11 11:28:53 2007 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Thu, 11 Jan 2007 11:28:53 EST Subject: Command to hide the tool palette Message-ID: In a message dated 1/11/07 11:00:06 AM, use-revolution-request at lists.runrev.com writes: > The IDE stacks aren't generally listed there (you aren't really expected > to mess with them,) but here is a handy trick: > > ? put the short name of the mousestack > > This will put the name of the stack the mouse is currently in. So just > move your mouse somewhere over the stack you want to know about (no need > to click) and then execute the line from the message box. > > -- > Jacqueline Landman Gay? ? ? ?? |? ?? jacque at hyperactivesw.com > HyperActive Software? ? ? ? ?? |? ?? http://www.hyperactivesw.com > Thanks, Jacquie. As usual, you are right on the mark. Steve Goldberg From JimAultWins at yahoo.com Thu Jan 11 11:47:21 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 11 Jan 2007 08:47:21 -0800 Subject: A couple of handlers... In-Reply-To: Message-ID: On 1/11/07 5:14 AM, "David Bovill" wrote: > As I am not much good at regular expressions I thought I would share my > ignorance with others :) Here is the best I can do with regard to extracting > links from htmltext in fields - they only work on a single line and they do > not find links with variable whitespace as you may get in html web pages. > > on html_DeconstructNameLink nextHtmlLine, @someText, @someLink > -- Crossing The > Bridge > > put "]*)" & quote & ">([^<]*)" into someReg > return matchText(nextHtmlLine, someReg, someLink, someText) > end html_DeconstructNameLink > > on html_DeconstructRefLink nextHtmlLine, @someText, @someLink > -- Crossing The > Bridge > > put "]*)" & quote & ">([^<]*)" into someReg > return matchText(nextHtmlLine, someReg, someLink, someText) > end html_DeconstructRefLink > > Is there a better way? As much as I like and use RegEx, there are better of ways that I use for links depending on the web content you encounter. Some pages are driven by javascript, php, or other server program and become very nicely consistent. Others are done using templates and are haphazardly composed. One of the starting points I have sent to the list in the past couple months is the non-Regex method: replace cr with empty in pageText --remove all cr's replace " tags filter pageText with "href" -- now you only have the References: <0C8D89A5-CB03-43F4-99E4-18DE0D6B8BE2@mac.com> <70ed6b130701091128p44690a22k21c35f3a5f6eead0@mail.gmail.com> <952503E5-0184-4D02-973C-8BD8CA44035B@mangomultimedia.com> <5B540D18-767A-448E-8652-31F2ABB6B890@mangomultimedia.com> Message-ID: <6.2.1.2.2.20070111112107.06838990@exchange.slg.com> Actually, Intel is saying it is NOT providing the processor and this article says it is Samsung: http://arstechnica.com/journals/apple.ars/2007/1/10/6569 At 04:34 PM 1/9/2007, you wrote: >>I've got my fingers crossed but if Apple opens up the iPhone to apps >>other than widgets I will be in heaven. Especially if we can get access >>to the GPS data to determine where folks are. >> >>-- >>Trevor DeVore > >My guess is that there will have to be a special developer track at the >WWDC to cover iPhone applications. > >Also the keyboardless capability is interesting in that Apple is probably >using the iPhone to open up a whole new category of devices including >larger handheld computers that do not have keyboards but have larger screens. > >Either way, developing in Rev is the way to go as opposed to using XCode. > >Oh yes, I did find out on an article that the iPhone runs on an unknown >Intel processor. So that means that we can probably already generate >applications for it. http://techdigest.tv/2007/01/apple_iphone_th_1.html > > >Jesse >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 From brentj84062 at gmail.com Thu Jan 11 12:30:33 2007 From: brentj84062 at gmail.com (Brent Anderson) Date: Thu, 11 Jan 2007 10:30:33 -0700 Subject: Broadcasts On OS X - Oops! In-Reply-To: <20070111155857.47FF74893CD@mail.runrev.com> References: <20070111155857.47FF74893CD@mail.runrev.com> Message-ID: <670EA509-58C7-4155-BDC4-3E948B9167AE@gmail.com> Hello. I think that the point was to use broadcasts not to use another address. I've found the same problem on OS X where when you write packets to a .255 address they don't get routed across the network, as if it were a regular address. In looking back on other threads on this subject, it's been noted that this is a bug in Mac OS X, so it may not be possible. Am I mistaken in this, or is that just the sad truth of it all? Although this is more of a hack than anything, you could use a loop from 1 to 254 and use the current hosts IP address to emulate the effect of a broadcast. Thanks, Brent Anderson CMSEC From revolution at knowledgeworks.plus.com Thu Jan 11 12:36:20 2007 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Thu, 11 Jan 2007 17:36:20 +0000 Subject: The best way to store arrays as text file? Message-ID: <19375A49-AFDD-4FE6-99FF-6D39E584615B@knowledgeworks.plus.com> David said: >> In general no delimiter is completely safe - safest would be XML is my guess - all though I was wandering about JSON as it is simpler. << I'm with Richard on this. The ASCII character set provides the following delimiters: (communication controls) SOH = start of heading STX = start of text ETX = end of text and (informational separators) FS = file separator GS = group separator RS = record separator US = unit separator See the RFC for ASCII (from 1969): http://rfc.net/rfc20.html In fact, one could argue that these character codes are safer than the ">" and "<" of XML, as the former carry no textual meaning at all. When I had to provide structured data before, I used combinations of these rather than use XML (I was dynamically updating keyword lists in a web page, so I wanted to keep the transmitted data as small as possible). Bernard From stephenREVOLUTION at barncard.com Thu Jan 11 12:52:28 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 11 Jan 2007 09:52:28 -0800 Subject: The best way to store arrays as text file? In-Reply-To: <19375A49-AFDD-4FE6-99FF-6D39E584615B@knowledgeworks.plus.com> References: <19375A49-AFDD-4FE6-99FF-6D39E584615B@knowledgeworks.plus.com> Message-ID: And then there is the NULL character - Ascii 0. also if you know the data is text - URLEncoding and Decoding will make almost any, especially non printable, char usable as a delimiter when used outside the encoded text. keyword {TAB} %3Cp%3E%3Cfont+size%[-URLENCODED TEXT-]3D%2219%22+color% {TAB} {} = invisible char of course only useable if it's in and out within rev. REPEAT FOR EACH can make this data into an array in a flash. One can always URLdecode all text as it renders plain text as plain text. Web browsers do this. >David said: >>> >In general no delimiter is completely safe - safest would be XML is my guess >- all though I was wandering about JSON as it is simpler. ><< > >I'm with Richard on this. The ASCII character set provides the >following delimiters: > >(communication controls) >SOH = start of heading >STX = start of text >ETX = end of text > >and > >(informational separators) >FS = file separator >GS = group separator >RS = record separator >US = unit separator > >See the RFC for ASCII (from 1969): >http://rfc.net/rfc20.html > >In fact, one could argue that these character codes are safer than >the ">" and "<" of XML, as the former carry no textual meaning at >all. > >When I had to provide structured data before, I used combinations of >these rather than use XML (I was dynamically updating keyword lists >in a web page, so I wanted to keep the transmitted data as small as >possible). > >Bernard -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From alex at tweedly.net Thu Jan 11 12:56:01 2007 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 11 Jan 2007 17:56:01 +0000 Subject: Broadcasts On OS X - Oops! In-Reply-To: <670EA509-58C7-4155-BDC4-3E948B9167AE@gmail.com> References: <20070111155857.47FF74893CD@mail.runrev.com> <670EA509-58C7-4155-BDC4-3E948B9167AE@gmail.com> Message-ID: <45A67A31.7050801@tweedly.net> Brent Anderson wrote: > Hello. > > I think that the point was to use broadcasts not to use another > address. I've found the same problem on OS X where when you write > packets to a .255 address they don't get routed across the network, as > if it were a regular address. In looking back on other threads on this > subject, it's been noted that this is a bug in Mac OS X, so it may not > be possible. Am I mistaken in this, or is that just the sad truth of > it all? Hmmmm - what exactly do you mean by "they don't get routed across the network" ? A subnet broadcast packet (i.e. to a .255 address, for most of us), *should* be sent on the local network segment (i.e. delivered to each device connected on the same subnet). It should *not* be forwarded by any router attached to the network segment (ignore the special case where you send a subnet broadcast to a subnet other than the one you are connected to, and the router is suitably configured :-) It is certainly possible to send a broadcast packet from OSX (e.g. you can do "ping 192.168.1.255" and it works correctly), but I don't know whether or not it is possible to do it from Rev. I'll play with it some more later tonight when I can have more than one machine on my network .... > > Although this is more of a hack than anything, you could use a loop > from 1 to 254 and use the current hosts IP address to emulate the > effect of a broadcast. Indeed a hack - beware of flooding the network with back-to-back packets ..... -- Alex Tweedly mailto:alex at tweedly.net www.tweedly.net From Roger.E.Eller at sealedair.com Thu Jan 11 13:15:52 2007 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Thu, 11 Jan 2007 13:15:52 -0500 Subject: OMG!!!! Steve Jobs is launching the iPhone and it runs MacOS X. Message-ID: Now that there is a 'smaller' version of OS X , I wonder if the releases will be named something like: Tabby, Calico, and Persian. :-) Or, with the new company name change, the new releases could be different varieties of apple. I'm looking forward to Granny Smith (aka 11.0.0). Roger Eller From mwieder at ahsoftware.net Thu Jan 11 13:12:50 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 11 Jan 2007 10:12:50 -0800 Subject: Broadcasts On OS X - Oops! In-Reply-To: <45A67A31.7050801@tweedly.net> References: <20070111155857.47FF74893CD@mail.runrev.com> <670EA509-58C7-4155-BDC4-3E948B9167AE@gmail.com> <45A67A31.7050801@tweedly.net> Message-ID: <19194862975.20070111101250@ahsoftware.net> Alex- Thursday, January 11, 2007, 9:56:01 AM, you wrote: > It is certainly possible to send a broadcast packet from OSX (e.g. you > can do "ping 192.168.1.255" and it works correctly), but I don't know > whether or not it is possible to do it from Rev. I'll play with it some > more later tonight when I can have more than one machine on my network .... >> What Alex said. But if I'm remembering correctly, you can send broadcast packets from rev, but a bug in rev prevents them from being accepted and responded to. So the whole exercise is probably moot. Or in this case, mute. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Thu Jan 11 13:44:13 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 11 Jan 2007 12:44:13 -0600 Subject: The best way to store arrays as text file? In-Reply-To: References: Message-ID: <45A6857D.3030005@hyperactivesw.com> David Bovill wrote: > In general no delimiter is completely safe - safest would be XML is my > guess Au contraire. :) I routinely use non-printing characters as delimiters because the user cannot type them. My favorites are numtochar(3) and numtochar(8) which are the enter and delete keys. They work fine as delimiters, but there is no way a user can enter them into the actual data. There are others you can choose from too, down in the lower ascii levels. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From RGould8 at aol.com Thu Jan 11 13:50:36 2007 From: RGould8 at aol.com (RGould8 at aol.com) Date: Thu, 11 Jan 2007 13:50:36 EST Subject: Ways to get text from browser? Message-ID: Can anyone tell me the Applescript call to make in Revolution to retrieve the text that's presently in the browser window (either Safari or IE - - - I understand that Firefox is not Applescriptable yet) That is, unless I can use Altuit's browser inside Rev, but if I'm reading the runrev site correctly, it's not available just yet for Mac. From soapdog at mac.com Thu Jan 11 13:54:08 2007 From: soapdog at mac.com (Andre Garzia) Date: Thu, 11 Jan 2007 16:54:08 -0200 Subject: Ways to get text from browser? In-Reply-To: References: Message-ID: altBrowser is available for the mac since it's first version. I use it everyday. then you can just use the externals command to fetch the text. Andre On Jan 11, 2007, at 4:50 PM, RGould8 at aol.com wrote: > Can anyone tell me the Applescript call to make in Revolution to > retrieve the > text that's presently in the browser window (either Safari or IE - > - - I > understand that Firefox is not Applescriptable yet) > > That is, unless I can use Altuit's browser inside Rev, but if I'm > reading the > runrev site correctly, it's not available just yet for Mac. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From RGould8 at aol.com Thu Jan 11 13:55:56 2007 From: RGould8 at aol.com (RGould8 at aol.com) Date: Thu, 11 Jan 2007 13:55:56 EST Subject: Ways to get text from browser? Message-ID: Wow! That's great - - - I misread! In a message dated 1/11/07 1:54:35 PM, soapdog at mac.com writes: > altBrowser is available for the mac since it's first version. I use? > it everyday. > > then you can just use the externals command to fetch the text. > > Andre > > On Jan 11, 2007, at 4:50 PM, RGould8 at aol.com wrote: > > > Can anyone tell me the Applescript call to make in Revolution to? > > retrieve the > > text that's presently in the browser window (either Safari or IE -? > > - - I > > understand that Firefox is not Applescriptable yet) > > > > That is, unless I can use Altuit's browser inside Rev, but if I'm? > > reading the > > runrev site correctly, it's not available just yet for Mac. > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your? > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From JimAultWins at yahoo.com Thu Jan 11 14:24:36 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 11 Jan 2007 11:24:36 -0800 Subject: Ways to get text from browser? In-Reply-To: Message-ID: On 1/11/07 10:55 AM, "RGould8 at aol.com" wrote: >>> Can anyone tell me the Applescript call to make in Revolution to? >>> retrieve the >>> text that's presently in the browser window (either Safari or IE -? >>> - - I >>> understand that Firefox is not Applescriptable yet) You may not need this, but the applescript for Safari is a very useful technique to know. Some web sites require a login or other security and this is handled by Safari and the KeyChain. Also, there are certificates and other limiting factors that are difficult to do with simple Rev calls, or even AltBrowser. I have built a program that uses AltBrowser everyday and it has been working great for about 1.5 years. (1) simple rev call to revGoUrl revgourl "http://www.runrev.com/" --will open the browser If you are navigating using Rev, then you already know what you need in order to do the next step without Safari or AltBrowser. (2) putting source text directly into a Rev variable put url (" http://www.runrev.com/") into sourceText (3) If you use Safari and are displaying the page you want as the frontmost window, then use tell app "Safari" method as a one-liner put "tell app ""e&"Safari""e& \ " to return(the source of document 1)" into cmd do cmd as applescript put the result into sourceText put "tell app ""e&"Safari""e& \ " to return(the url of document 1)" into cmd do cmd as applescript put the result into urlToSave Hope this helps you. Jim Ault Las Vegas From durneybr at uvsc.edu Thu Jan 11 14:50:38 2007 From: durneybr at uvsc.edu (Brian Durney) Date: Thu, 11 Jan 2007 12:50:38 -0700 Subject: XML? Message-ID: Hello, I would like to write a stack that reads and displays data from an XML file. In the Revolution dictionary I found various functions and messages for working with XML. However, when I called the function revCreateXMLTreeFromFile, I got an error that said it couldn't find a handler. In the description of some of the XML functions and messages it says that when building a standalone application, the XML library must be included. I am not using a standalone app, but it seems like I might need to do something to tell it to use the XML library. Can anyone tell me how to use the XML library, and are there examples of using it other than the fragments in the dictionary? Thanks, Brian Durney From psahores at free.fr Thu Jan 11 14:53:17 2007 From: psahores at free.fr (Pierre Sahores) Date: Thu, 11 Jan 2007 20:53:17 +0100 Subject: Broadcasts On OS X - Oops! In-Reply-To: <19194862975.20070111101250@ahsoftware.net> References: <20070111155857.47FF74893CD@mail.runrev.com> <670EA509-58C7-4155-BDC4-3E948B9167AE@gmail.com> <45A67A31.7050801@tweedly.net> <19194862975.20070111101250@ahsoftware.net> Message-ID: <07096193-8E0C-4694-9005-BA6528F7E420@free.fr> Hi, As a workaround witch works for me with any Rev issues i still use (2.51 to 2.74) under the Windows, Mac OS X, Ubuntu or Solaris platforms : Build your stack under the Metacard (2.32 to 2.5 issues tested OK) first. Reopen and save this stack as "stack.rev" under the Rev environment and it will still run OK your TCP/IP sockets tasks, even if you are going head in continue to develop this stack under the Rev platform. Best Regards, Le 11 janv. 07 ? 19:12, Mark Wieder a ?crit : > Alex- > > Thursday, January 11, 2007, 9:56:01 AM, you wrote: > >> It is certainly possible to send a broadcast packet from OSX (e.g. >> you >> can do "ping 192.168.1.255" and it works correctly), but I don't know >> whether or not it is possible to do it from Rev. I'll play with it >> some >> more later tonight when I can have more than one machine on my >> network .... >>> > > What Alex said. But if I'm remembering correctly, you can send > broadcast packets from rev, but a bug in rev prevents them from being > accepted and responded to. So the whole exercise is probably moot. > > Or in this case, mute. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Pierre Sahores www.sahores-conseil.com From janschenkel at yahoo.com Thu Jan 11 14:57:51 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 11 Jan 2007 11:57:51 -0800 (PST) Subject: XML? In-Reply-To: Message-ID: <20070111195752.11328.qmail@web60512.mail.yahoo.com> --- Brian Durney wrote: > Hello, > I would like to write a stack that reads and > displays data from an > XML file. In the Revolution dictionary I found > various functions and > messages for working with XML. However, when I > called the function > revCreateXMLTreeFromFile, I got an error that said > it couldn't find a > handler. > > In the description of some of the XML functions and > messages it says > that when building a standalone application, the XML > library must be > included. I am not using a standalone app, but it > seems like I might > need to do something to tell it to use the XML > library. > > Can anyone tell me how to use the XML library, and > are there examples > of using it other than the fragments in the > dictionary? > Thanks, > Brian Durney > Hi Brian, 'revCreateXMLTreeFromFile' is actually a function, not a command; if the XML is parsed correctly, it returns a number - the ID of the tree that it has read into memory and that you can use in subsequent calls to the XML library. For learning hwo to work with XML in Revolution, your best resource is the excellent XML Guide that Sarah Reichelt put together - you can download it from the runrev.com website at the following URL: Also, the unsupported example stacks contain an outliner that displays XML data in a tree structure. You can find it at this URL: Hope this helped, Jan Schenkel. Quartam Reports for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ____________________________________________________________________________________ Never Miss an Email Stay connected with Yahoo! Mail on your mobile. Get started! http://mobile.yahoo.com/services?promote=mail From mwieder at ahsoftware.net Thu Jan 11 15:01:03 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 11 Jan 2007 12:01:03 -0800 Subject: Vista heads-up Message-ID: <67101356212.20070111120103@ahsoftware.net> Just got this on another listserv- Just as a note this path location will change under Vista. There is no 'Documents and Settings' folder under Windows Vista, unless they change the initial concept (It is now named 'Users'). I think the "My Documents" name changes as well. So don't hard code these names in if you are going to switch back and forth between these OSes. Use the API to determine the correct path name. -- -Mark Wieder mwieder at ahsoftware.net From mail at richard-hillen.de Thu Jan 11 15:24:12 2007 From: mail at richard-hillen.de (R. Hillen) Date: Thu, 11 Jan 2007 21:24:12 +0100 (MET) Subject: Decode xml-data of mac-adressbook In-Reply-To: <20070111180005.1ADA94893D9@mail.runrev.com> References: <20070111180005.1ADA94893D9@mail.runrev.com> Message-ID: <61DE8526-35A6-48DA-9E26-8C774330D569@richard-hillen.de> Hello list, on Mac OSX I try to get the contents of the adressbook; for each adress there is a xml-file in /Users/..../Library/Caches/ com.apple.AdressBook/Metadata. The xml-file starts with My adresses are german ones, so there are "umlauts" like ???... If in the adressbook the city is "H?rth" and I read the file contents by put url("file:/" & xmlfilename) into tdata, I get "H??rth" instead. As I don?t know enough about encoding, may you give me a tip, what to do to get the right chars? Thank you. Richard. From janschenkel at yahoo.com Thu Jan 11 15:42:35 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 11 Jan 2007 12:42:35 -0800 (PST) Subject: Extracting text from PDF In-Reply-To: <45A65D5C.1050303@fourthworld.com> Message-ID: <20070111204235.95459.qmail@web60513.mail.yahoo.com> --- Richard Gaskin wrote: > Anyone here have an efficient algo for extracting > text from PDFs? > > -- > Richard Gaskin > Fourth World Media Corporation > Well, one would hope I know a thing or two about PDF files ;-) There are a couple of things that make this a challenge: text can be either in Latin or Unicode / UTF-16 (Big Endian) encoding. You can use the BOM marker to figure out if a piece of text is Latin or Unicode. But PDF files can also be compressed and/or encrypted, making it nearly impossible to read from Revolution. If this is Mac-only, you might be able to AppleScript another application to get this information - Preiew.app doesn't seem to be scriptable, but perhaps another application could do the trick. Some googling turned up the texttopdf command line tool, which is open-source: There's also a build for MacOSX, which you can download at: Hope this helped, Jan Schenkel. Quartam Reports for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ____________________________________________________________________________________ Yahoo! Music Unlimited Access over 1 million songs. http://music.yahoo.com/unlimited From janschenkel at yahoo.com Thu Jan 11 15:45:37 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 11 Jan 2007 12:45:37 -0800 (PST) Subject: runrev export to pdf In-Reply-To: <946A3C4F-8E02-4D71-8959-0A0CA5762D19@azurevision.co.uk> Message-ID: <736565.19795.qm@web60525.mail.yahoo.com> --- Ian Wood wrote: > > On 2 Jan 2007, at 15:18, runrev at animabit.de wrote: > > > My question: Did Alejandro or anyone else continue > working in pdf > > export from metacard or runrev? Any pdf lib > abailable? > > > > Regards > > Franz B?hmisch > > Jan Schenkel has! His PDF library was announced on > the list a few > weeks ago. > > Ian > Thanks for pointing Franz to my recent announcement, Ian. I'm happy to say that we're now at public beta 2 - freshly uploaded to the Yahoo group - so come and join the testers! For a quick introduction to the library, visit our website at the URL : It is available for your testing purposes at the following URL : Best regards, Jan Schenkel. Quartam Reports for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com From brentj84062 at gmail.com Thu Jan 11 15:58:07 2007 From: brentj84062 at gmail.com (Brent Anderson) Date: Thu, 11 Jan 2007 13:58:07 -0700 Subject: AltBrowser licensing/documentation Message-ID: <2BC90FE9-B3E5-4CE2-8A4F-9BDA8ED4BA00@gmail.com> Hello. As we all know, RunRev has published the plugins from Altuit (altBrowser/Font/SQLite) to current Studio license holders via their newsletter. I downloaded the plugin pack and, after scouring Google caches for the documentation for altBrowser, I'm trying to get it online for testing. I've brought it to a point where it is requesting a registration code and email address in the error "error: could not validate regcode" when trying to fire the plugin up. I'm assuming this means that altBrowser needs an activation key of some sort. Has a generic username/code been released, is this a bug and it will be patched soon, do I use my Studio license to unlock it somehow, or am I up a creek for the time being. Thanks, Brent Anderson From JimAultWins at yahoo.com Thu Jan 11 17:11:06 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 11 Jan 2007 14:11:06 -0800 Subject: XML? In-Reply-To: <20070111195752.11328.qmail@web60512.mail.yahoo.com> Message-ID: >> Can anyone tell me how to use the XML library, and >> are there examples >> of using it other than the fragments in the >> dictionary? Also you could save a bit of time, depending on your goals, by visiting http://www.sonsothunder.com/products/xmllib/xmllib.htm ...where there is a free Basic version and a $20 (yes, twenty) Standard version written by one of the Rev gurus. This may get you down the road a little faster. Jim Ault Las Vegas On 1/11/07 11:57 AM, "Jan Schenkel" wrote: > --- Brian Durney wrote: >> Hello, >> I would like to write a stack that reads and >> displays data from an >> XML file. In the Revolution dictionary I found >> various functions and >> messages for working with XML. However, when I >> called the function >> revCreateXMLTreeFromFile, I got an error that said >> it couldn't find a >> handler. >> >> In the description of some of the XML functions and >> messages it says >> that when building a standalone application, the XML >> library must be >> included. I am not using a standalone app, but it >> seems like I might >> need to do something to tell it to use the XML >> library. >> >> Can anyone tell me how to use the XML library, and >> are there examples >> of using it other than the fragments in the >> dictionary? >> Thanks, >> Brian Durney >> > > Hi Brian, > > 'revCreateXMLTreeFromFile' is actually a function, not > a command; if the XML is parsed correctly, it returns > a number - the ID of the tree that it has read into > memory and that you can use in subsequent calls to the > XML library. > For learning hwo to work with XML in Revolution, your > best resource is the excellent XML Guide that Sarah > Reichelt put together - you can download it from the > runrev.com website at the following URL: > > Also, the unsupported example stacks contain an > outliner that displays XML data in a tree structure. > You can find it at this URL: > > > Hope this helped, > > Jan Schenkel. From janschenkel at yahoo.com Thu Jan 11 17:11:45 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 11 Jan 2007 14:11:45 -0800 (PST) Subject: Decode xml-data of mac-adressbook In-Reply-To: <61DE8526-35A6-48DA-9E26-8C774330D569@richard-hillen.de> Message-ID: <20070111221145.13236.qmail@web60520.mail.yahoo.com> --- "R. Hillen" wrote: > Hello list, > > on Mac OSX I try to get the contents of the > adressbook; > for each adress there is a xml-file in > /Users/..../Library/Caches/ > com.apple.AdressBook/Metadata. > > The xml-file starts with > > > My adresses are german ones, so there are "umlauts" > like ???... > If in the adressbook the city is "H?rth" and I read > the file contents by > put url("file:/" & xmlfilename) into tdata, > I get "H??rth" instead. > > As I don?t know enough about encoding, may you give > me a tip, what to > do to get the right chars? > > Thank you. > > Richard. > Hi Richard, You'll have to use the 'uniEncode' and 'uniDecode' functions to convert it from UTF-8 to UTF-16 and then back to 1-byte characters. Here's a link to a post by Mark Waddingham: Hope this helped, Jan Schenkel. Quartam Reports for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com From RGould8 at aol.com Thu Jan 11 17:40:24 2007 From: RGould8 at aol.com (RGould8 at aol.com) Date: Thu, 11 Jan 2007 17:40:24 EST Subject: AltBrowser licensing/documentation Message-ID: I _just_ bought Rev Studio yesterday, so if there's a newsletter with instructions on where to download altBrowser, I'd love to know where it is. In a message dated 1/11/07 3:58:43 PM, brentj84062 at gmail.com writes: > Hello. > > As we all know, RunRev has published the plugins from Altuit? > (altBrowser/Font/SQLite) to current Studio license holders via their? > newsletter. I downloaded the plugin pack and, after scouring Google? > caches for the documentation for altBrowser, I'm trying to get it? > online for testing. I've brought it to a point where it is requesting? > a registration code and email address in the error "error: could not? > validate regcode" when trying to fire the plugin up. I'm assuming? > this means that altBrowser needs an activation key of some sort. Has? > a generic username/code been released, is this a bug and it will be? > patched soon, do I use my Studio license to unlock it somehow, or am? > I up a creek for the time being. > > Thanks, > Brent Anderson > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From mwieder at ahsoftware.net Thu Jan 11 19:14:36 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 11 Jan 2007 16:14:36 -0800 Subject: iPhone Message-ID: <144116569387.20070111161436@ahsoftware.net> All- The iPhone as a not.for.development.get.your.hands.off device: http://gizmodo.com/gadgets/macworld2007/gizmodo-iphone-hands-on-part-deux-why-isnt-it-white-and-other-questions-227575.php ...and just out of curiosity, can anyone remember Apple announcing a product six months before the announced shipping date? -- -Mark Wieder mwieder at ahsoftware.net From revlist at azurevision.co.uk Thu Jan 11 19:18:23 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Fri, 12 Jan 2007 00:18:23 +0000 Subject: iPhone In-Reply-To: <144116569387.20070111161436@ahsoftware.net> References: <144116569387.20070111161436@ahsoftware.net> Message-ID: On 12 Jan 2007, at 00:14, Mark Wieder wrote: > ...and just out of curiosity, can anyone remember Apple announcing a > product six months before the announced shipping date? Best guess is that it would have been almost impossible to keep under wraps during the FCC approval process. Ian From mark at maseurope.net Thu Jan 11 19:20:33 2007 From: mark at maseurope.net (Mark Smith) Date: Fri, 12 Jan 2007 00:20:33 +0000 Subject: iPhone In-Reply-To: <144116569387.20070111161436@ahsoftware.net> References: <144116569387.20070111161436@ahsoftware.net> Message-ID: <0C67CF59-75C7-4771-AD67-D8DDFF54E837@maseurope.net> Mr. Jobs explains this in his key-note by saying that since it takes months to get all the necessary public licences (a fairly public process), they decided to announce it themselves, rather than effectively let the FCC (or whoever it is) do it for them. Or maybe he just couldn't wait :) Mark On 12 Jan 2007, at 00:14, Mark Wieder wrote: > ...and just out of curiosity, can anyone remember Apple announcing a > product six months before the announced shipping date? From scott at tactilemedia.com Thu Jan 11 21:20:08 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 11 Jan 2007 18:20:08 -0800 Subject: Any way to use BlueTooth Flic barcode scanner in Rev? In-Reply-To: Message-ID: Recently, RGould8 at aol.com wrote: > http://www.flicscanner.com/ > > I'd love to use this device with a Rev app I'm making if at all possible. I > have no idea how to interface with BlueTooth technology, however. I picked up this one at Macworld to do some experiments. http://www.intelliscanner.com/products/mini/index.html It already has software built for it, but not sure if any dev kit is available. I'll mention anything I find out. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From rgould8 at aol.com Thu Jan 11 21:24:05 2007 From: rgould8 at aol.com (rgould8 at aol.com) Date: Thu, 11 Jan 2007 21:24:05 -0500 Subject: Any way to use BlueTooth Flic barcode scanner in Rev? In-Reply-To: Message-ID: <8C90407DDF5AFDB-1290-4A2B@WEBMAIL-MA06.sysops.aol.com> That's great! I emailed them yesterday asking if I could obtain one as a developer, but I haven't heard back yet. I'm curious to know if the mini sends barcodes to Revolution as if you're using a keyboard, or if you have to write some special driver connections to get data out of it. -----Original Message----- From: scott at tactilemedia.com To: use-revolution at lists.runrev.com Sent: Thu, 11 Jan 2007 9:20 PM Subject: Re: Any way to use BlueTooth Flic barcode scanner in Rev? Recently, RGould8 at aol.com wrote: > http://www.flicscanner.com/ > > I'd love to use this device with a Rev app I'm making if at all possible. I > have no idea how to interface with BlueTooth technology, however. I picked up this one at Macworld to do some experiments. http://www.intelliscanner.com/products/mini/index.html It already has software built for it, but not sure if any dev kit is available. I'll mention anything I find out. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ________________________________________________________________________ Check out the new AOL. Most comprehensive set of free safety and security tools, free access to millions of high-quality videos from across the web, free AOL Mail and more. From dan at shafermedia.com Thu Jan 11 21:29:42 2007 From: dan at shafermedia.com (Dan Shafer) Date: Thu, 11 Jan 2007 18:29:42 -0800 Subject: iPhone In-Reply-To: <0C67CF59-75C7-4771-AD67-D8DDFF54E837@maseurope.net> References: <144116569387.20070111161436@ahsoftware.net> <0C67CF59-75C7-4771-AD67-D8DDFF54E837@maseurope.net> Message-ID: <70ed6b130701111829r5eea4c80v7be843fa8c07d9af@mail.gmail.com> He announced Apple TV last fall, so there is some precedent. And the regulatory issues are certainly at the heart of this. That process is so leaky it's worse than a sieve. A sieve at least has some parts holding it together. Dan On 1/11/07, Mark Smith wrote: > > Mr. Jobs explains this in his key-note by saying that since it takes > months to get all the necessary public licences (a fairly public > process), they decided to announce it themselves, rather than > effectively let the FCC (or whoever it is) do it for them. Or maybe > he just couldn't wait :) > > Mark > > On 12 Jan 2007, at 00:14, Mark Wieder wrote: > > > ...and just out of curiosity, can anyone remember Apple announcing a > > product six months before the announced shipping date? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From scott at tactilemedia.com Thu Jan 11 23:18:34 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 11 Jan 2007 20:18:34 -0800 Subject: Any way to use BlueTooth Flic barcode scanner in Rev? In-Reply-To: <8C90407DDF5AFDB-1290-4A2B@WEBMAIL-MA06.sysops.aol.com> Message-ID: Recently, rgould8 at aol.com wrote: > I'm curious to know if the mini sends barcodes to Revolution as if you're > using a keyboard, or if you have to write some special driver connections to > get data out of it. Here's the "official" word I got back from a representative: > IntelliScanner mini is not designed for use with our > business software (such as Inventory and the Business Integration Kit) > or third-party applications. > > You'll probably be able to use your mini with keyboard emulation for > your Revolution app, but third-party integration is unsupported with our > consumer product line. I'm still trying to get details on how to possibly connect the scanner output to Rev but they clearly do not support any app development with the consumer model -- you need to go with one of their business products for that. As it stands, the connection from the scanner to the computer is a little klunky. You use two cables and a Keyspan adapter in between. Apparently, once you connect the scanner to the computer and the data has transferred, the scanner is automatically wiped clean for the next scans. I'm using the kitchen software, which connects to an (online?) database in an attempt to match your scanned codes to products in the database. It's pretty cool, but several of the products I scanned have incomplete info or do not appear in the database at all. Because of the form factor (much like a keyring flashlight) it is quite easy to scan items around the house and one can see how scanning could become addictive. Their motto: "Scan responsibly". More as it comes in... 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 Jan 12 00:09:30 2007 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 11 Jan 2007 21:09:30 -0800 (PST) Subject: Ed-Media/AACE CFP In-Reply-To: Message-ID: Hi all, The AACE (Association for the Advancement of Computing in Education) has just mailed out the 2nd round of CFP for its annual Ed-Media conference, which will be held in Vancouver, Canada, June 25-29, 2007. The final CFP is due April 12. You can find more details here: http://www.aace.org/conf/edmedia/ One of the presentation types is Tutorials/Workshops: http://www.aace.org/conf/edmedia/categories.htm#TUTORIALS While another is Corporate Demonstrations/Literature: http://www.aace.org/conf/edmedia/categories.htm#CORPORATE%20DEMONSTRATIONS And another is Corporate Showcases: http://www.aace.org/conf/edmedia/categories.htm#CORPORATE%20SHOWCASES Here in the US, this is a fairly biggie for the ed community with respect to educational computer technologies. It would probably help Rev to make a good showing here to make inroads into the company's stated goals of getting into the ed-biz. Is anyone up to this? I'm willing to do what I can... but would prefer to work with another. Or for someone else to do the whole kit'n'kaboodle ;-) Judy From scott at tactilemedia.com Fri Jan 12 01:25:06 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 11 Jan 2007 22:25:06 -0800 Subject: Any way to use BlueTooth Flic barcode scanner in Rev? In-Reply-To: Message-ID: >> I'm curious to know if the mini sends barcodes to Revolution as if you're >> using a keyboard > I'm still trying to get details on how to possibly connect the scanner > output to Rev OK, it's pretty basic -- the scanner sends the barcode digits to any region on the screen that can accept text, which means you can scan a code into a Rev field that has focus. As you guessed above, the scanner sends barcodes in the form of keystrokes (keyDown message). I tried scanning an iTunes gift card barcode and it works. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From runrev260805 at m-r-d.de Fri Jan 12 02:23:14 2007 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Fri, 12 Jan 2007 07:23:14 +0000 Subject: Re-2: AltBrowser licensing/documentation Message-ID: Hi, i hope its ok, if i post the link where to enter license-key.After successfull verify of your license key you are directed to a site, where you can download the plugins. Unfortunately there is no documentation. So it might be a little difficult to use the plug-ins without that. http://www.runrev.com/offers/plugins.php Best regards, Matthias From klaus at major-k.de Fri Jan 12 04:28:29 2007 From: klaus at major-k.de (Klaus Major) Date: Fri, 12 Jan 2007 10:28:29 +0100 (MET) Subject: Re-2: AltBrowser licensing/documentation In-Reply-To: References: Message-ID: <6FD031CE-3162-4434-853F-5AB2E97CAB26@major-k.de> Hi Matthias, > Hi, > > i hope its ok, if i post the link where to enter license-key.After > successfull verify of your license key you are directed to a site, > where you can download the plugins. Unfortunately there is no > documentation. So it might be a little difficult to use the plug- > ins without that. > > http://www.runrev.com/offers/plugins.php thanks a bunch for this link! Why did we not get any official announcement about this link??? :-/ Or are this not the new OFFICIAL REV plugins, they are stil called "altXYZ"? > Best regards, > > Matthias Regards Klaus Major klaus at major-k.de http://www.major-k.de From r.venzl-schubert at t-online.de Fri Jan 12 05:21:51 2007 From: r.venzl-schubert at t-online.de (Reinhold Venzl-Schubert) Date: Fri, 12 Jan 2007 11:21:51 +0100 Subject: How to convert seconds to date and time? Message-ID: <4968F36B-AE9A-4D9D-AE68-402B8EDF13A4@t-online.de> Hi! In the documentation I find the way to "convert the date && the time to seconds" but I do not find a way to convert the seconds back the date && the time. Reinhold From r.venzl-schubert at t-online.de Fri Jan 12 05:22:55 2007 From: r.venzl-schubert at t-online.de (Reinhold Venzl-Schubert) Date: Fri, 12 Jan 2007 11:22:55 +0100 Subject: How to convert seconds to date and time? References: <4968F36B-AE9A-4D9D-AE68-402B8EDF13A4@t-online.de> Message-ID: Hi! In the documentation I find the way to "convert the date && the time to seconds" but I do not find a way to convert the seconds back the date && the time. Reinhold From runrev260805 at m-r-d.de Fri Jan 12 05:24:45 2007 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Fri, 12 Jan 2007 10:24:45 +0000 Subject: Re-4: AltBrowser licensing/documentation Message-ID: Hi, the link was in the email "Kick-start your Year with Revolution". I received this email yesterday. The link was in the last paragraph of that email ".... and get these three externals by going here". Clicking on HERE led me to the form, where to enter the license code. Best regards, Matthias -------- Original Message -------- Subject: Re: Re-2: AltBrowser licensing/documentation (12-Jan-2007 10:32) From: Klaus Major To: runrev260805 at m-r-d.de > Hi Matthias, > > > Hi, > > > > i hope its ok, if i post the link where to enter license-key.After > > successfull verify of your license key you are directed to a site, > > where you can download the plugins. Unfortunately there is no > > documentation. So it might be a little difficult to use the plug- > > ins without that. > > > > http://www.runrev.com/offers/plugins.php > > thanks a bunch for this link! > > Why did we not get any official announcement about this link??? :-/ > Or are this not the new OFFICIAL REV plugins, they are stil called > "altXYZ"? > > > Best regards, > > > > Matthias > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > To: use-revolution at lists.runrev.com From mark_powell at symantec.com Fri Jan 12 05:47:29 2007 From: mark_powell at symantec.com (Mark Powell) Date: Fri, 12 Jan 2007 02:47:29 -0800 Subject: How to convert seconds to date and time? Message-ID: This works in my code ... convert vTheSeconds to short system date and abbreviated system time ... where vTheSeconds is a value in seconds such as 1141690766 Mark -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Reinhold Venzl-Schubert Sent: Friday, January 12, 2007 3:23 AM To: use-revolution at lists.runrev.com Subject: How to convert seconds to date and time? Hi! In the documentation I find the way to "convert the date && the time to seconds" but I do not find a way to convert the seconds back the date && the time. Reinhold _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major-k.de Fri Jan 12 05:52:36 2007 From: klaus at major-k.de (Klaus Major) Date: Fri, 12 Jan 2007 11:52:36 +0100 (MET) Subject: Re-4: AltBrowser licensing/documentation In-Reply-To: References: Message-ID: <8E285C30-2FC1-4356-A9C1-D13591BE9C13@major-k.de> Hello Matthias, > Hi, > the link was in the email "Kick-start your Year with Revolution". I > received this email yesterday. I didn't :-/ > The link was in the last paragraph of that email ".... and get > these three externals by going here". Clicking on HERE led me to > the form, where to enter the license code. Thanks for the info. > Best regards, > > Matthias Regards and Gr??e Klaus Major klaus at major-k.de http://www.major-k.de From revolution at knowledgeworks.plus.com Fri Jan 12 05:54:43 2007 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Fri, 12 Jan 2007 10:54:43 +0000 Subject: How to convert seconds to date and time? Message-ID: get the seconds convert it to abbreviated system date put it The convert command needs to be given a value (or a container holding a value) you need to convert. This also works: convert value(quote & the seconds & quote) to abbreviated system date I've been caught out by convert before doing precisely what you are trying to do. This 'feature' of Rev does not seem consistent or intuitve to me. Bernard From dweeble at wi.rr.com Fri Jan 12 08:05:56 2007 From: dweeble at wi.rr.com (Michael D.) Date: Fri, 12 Jan 2007 07:05:56 -0600 Subject: AltBrowser licensing/documentation References: Message-ID: <004c01c7364a$65e673b0$0200a8c0@upthe> Hello I downloaded these plugins too and its great there available early, but of course how to use ? be great to have some documentation. Anyone have some direction ? Michael ----- Original Message ----- From: To: Sent: Friday, January 12, 2007 1:23 AM Subject: Re-2: AltBrowser licensing/documentation > Hi, > > i hope its ok, if i post the link where to enter license-key.After > successfull verify of your license key you are directed to a site, where > you can download the plugins. Unfortunately there is no documentation. So > it might be a little difficult to use the plug-ins without that. > > http://www.runrev.com/offers/plugins.php > > Best regards, > > Matthias > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jean-pierre.soto at wanadoo.fr Fri Jan 12 07:54:24 2007 From: jean-pierre.soto at wanadoo.fr (Jean-Pierre) Date: Fri, 12 Jan 2007 13:54:24 +0100 Subject: revOpenDatabase (GRRRR ....) Message-ID: Whats wrong with this ? put revOpenDatabase("MySQL","localHost :8889","Anagram",root,root) > unknow MySQL server host "localHost : 8889" (1) this is the setting of the database manager, and "connected" is true From m.schonewille at economy-x-talk.com Fri Jan 12 08:29:11 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 12 Jan 2007 14:29:11 +0100 Subject: revOpenDatabase (GRRRR ....) In-Reply-To: References: Message-ID: <091715DB-D9B2-4EC6-BFD9-DCEDF7397C4A@economy-x-talk.com> Hi On my Mac, Localhost is case-sensitive. Try Localhost instead of localHost. Also try removing the space. Are you sure that the port number is correct? Default is 3306. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 12-jan-2007, om 13:54 heeft Jean-Pierre het volgende geschreven: > Whats wrong with this ? > > put revOpenDatabase("MySQL","localHost :8889","Anagram",root,root) > > > unknow MySQL server host "localHost : 8889" (1) > > this is the setting of the database manager, and "connected" is true From wjm at wjm.org Fri Jan 12 08:39:15 2007 From: wjm at wjm.org (Bill Marriott) Date: Fri, 12 Jan 2007 08:39:15 -0500 Subject: AltBrowser licensing/documentation References: <004c01c7364a$65e673b0$0200a8c0@upthe> Message-ID: All I can say right now is that Rev's aware of the problem. Not sure when there will be an update. "Michael D." wrote in message news:004c01c7364a$65e673b0$0200a8c0 at upthe... > Hello > I downloaded these plugins too and its great there available early, but of > course how to use ? be great to have some documentation. Anyone have some > direction ? > Michael From rgould8 at aol.com Fri Jan 12 08:47:12 2007 From: rgould8 at aol.com (rgould8 at aol.com) Date: Fri, 12 Jan 2007 08:47:12 -0500 Subject: Any way to use BlueTooth Flic barcode scanner in Rev? In-Reply-To: Message-ID: <8C904674C4315E2-1454-739@WEBMAIL-MA14.sysops.aol.com> Scott - - this is great info, thanks! So it sounds like the only drawback is: 1) A clunky cable interface I forgot to ask - - - are you doing this on a Mac or Windows platform? Would this work with a Mac? How does the scanner know that the data actually made it into the computer before it deletes all it's contents? -----Original Message----- From: scott at tactilemedia.com To: use-revolution at lists.runrev.com Sent: Fri, 12 Jan 2007 1:25 AM Subject: Re: Any way to use BlueTooth Flic barcode scanner in Rev? >> I'm curious to know if the mini sends barcodes to Revolution as if you're >> using a keyboard > I'm still trying to get details on how to possibly connect the scanner > output to Rev OK, it's pretty basic -- the scanner sends the barcode digits to any region on the screen that can accept text, which means you can scan a code into a Rev field that has focus. As you guessed above, the scanner sends barcodes in the form of keystrokes (keyDown message). I tried scanning an iTunes gift card barcode and it works. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ________________________________________________________________________ Check out the new AOL. Most comprehensive set of free safety and security tools, free access to millions of high-quality videos from across the web, free AOL Mail and more. From revolution at knowledgeworks.plus.com Fri Jan 12 09:14:18 2007 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Fri, 12 Jan 2007 14:14:18 +0000 Subject: Virtual Custom Property Sample - Recursion Limit Problem Message-ID: I am looking into virtual custom properties (specifically: using them to provide default values if a custom property of an object is empty or does not exist). My understanding is that a getProp message should percolate up the message path, and when it finds a getProp handler it should be able to use whatever value is returned. This sample from the Dictionary looks like what I am trying to do should be reasonable: >> getProp expertSettings[thePropertyName] -- The thePropertyName parameter contains the name of -- the property that's being set switch thePropertyName case "fileMenuContents" if the expertSettings[fileMenuContents] of the target \ is empty then return "(No items" else pass expertSettings break case "editMenuContents" if the expertSettings[editMenuContents] of the target \ is empty then return \ the noviceSettings[editMenuContents] of the target else pass expertSettings break default pass expertSettings end switch end expertSettings << It seems to work fine when I put this in the MB: get the expertSettings["fileMenuContents"] of this stack However, if I type this instead: get the expertSettings["fileMenuContents"] of this card Then I get this error: Message execution error: Error description: recursionLimit: Recursion limit reached The stack I'm testing this in is a new stack with no controls on it (just the default card of any new stack). Is the documentation wrong, or is it my understanding of it that is mistaken? Bernard P.S. The recursionLimit is at the default of 400000. Incidentally, the TD says this should be 1000000 by default. Since it is global property, I'm assuming that even if I changed it to 400000 in the past, it should be resetting itself to 1000000 on restart. Is that right? From eric.chatonet at sosmartsoftware.com Fri Jan 12 09:33:37 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 12 Jan 2007 15:33:37 +0100 Subject: Virtual Custom Property Sample - Recursion Limit Problem In-Reply-To: References: Message-ID: <14A0CF3A-3D58-4DB6-AED5-53392FFE1BFF@sosmartsoftware.com> Hi Bernard, To avoid recursion when using get or setProp, just try to lock messages: lock messages put the expertSettings["fileMenuContents"] of this card -- in the msg In addition, you have to know that running code from the message box sometimes leads to weird results: Always prefer to create on-the-fly a new stack and put your code in a brand new button :-) As for global properties, you are right: recursion limit will be set to one million when launching Rev. If you set it to another value, this new value will be used in all open stacks during the current session only. Hope this helps. Best Regards from Paris, Eric Chatonet Le 12 janv. 07 ? 15:14, Bernard Devlin a ?crit : > I am looking into virtual custom properties (specifically: using > them to provide default values if a custom property of an object is > empty or does not exist). My understanding is that a getProp > message should percolate up the message path, and when it finds a > getProp handler it should be able to use whatever value is returned. > > This sample from the Dictionary looks like what I am trying to do > should be reasonable: > > >> > getProp expertSettings[thePropertyName] > -- The thePropertyName parameter contains the name of > -- the property that's being set > switch thePropertyName > case "fileMenuContents" > if the expertSettings[fileMenuContents] of the target \ > is empty then return "(No items" > else pass expertSettings > break > case "editMenuContents" > if the expertSettings[editMenuContents] of the target \ > is empty then return \ > the noviceSettings[editMenuContents] of the target > else pass expertSettings > break > default > pass expertSettings > end switch > end expertSettings > > << > > It seems to work fine when I put this in the MB: > > get the expertSettings["fileMenuContents"] of this stack > > However, if I type this instead: > > get the expertSettings["fileMenuContents"] of this card > > Then I get this error: > > Message execution error: > Error description: recursionLimit: Recursion limit reached > > The stack I'm testing this in is a new stack with no controls on it > (just the default card of any new stack). > > Is the documentation wrong, or is it my understanding of it that is > mistaken? > > Bernard > > P.S. The recursionLimit is at the default of 400000. Incidentally, > the TD says this should be 1000000 by default. Since it is global > property, I'm assuming that even if I changed it to 400000 in the > past, it should be resetting itself to 1000000 on restart. Is that > right? ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From r.venzl-schubert at t-online.de Fri Jan 12 09:43:24 2007 From: r.venzl-schubert at t-online.de (Reinhold Venzl-Schubert) Date: Fri, 12 Jan 2007 15:43:24 +0100 Subject: use-revolution Digest, Vol 40, Issue 17 In-Reply-To: <20070112105459.3F7EF48940A@mail.runrev.com> References: <20070112105459.3F7EF48940A@mail.runrev.com> Message-ID: Hi Mark, hi Bernard! Thanks for your help! It works fine :-) Reinhold > This works in my code > > ... > convert vTheSeconds to short system date and abbreviated system time > ... > > where vTheSeconds is a value in seconds such as 1141690766 > > Mark > get the seconds > convert it to abbreviated system date > put it > > The convert command needs to be given a value (or a container holding > a value) you need to convert. This also works: > > convert value(quote & the seconds & quote) to abbreviated system date > > I've been caught out by convert before doing precisely what you are > trying to do. This 'feature' of Rev does not seem consistent or > intuitve to me. > > Bernard From nealk3nc at gmail.com Fri Jan 12 09:50:04 2007 From: nealk3nc at gmail.com (Neal Campbell K3NC) Date: Fri, 12 Jan 2007 09:50:04 -0500 Subject: AltBrowser licensing/documentation In-Reply-To: References: <004c01c7364a$65e673b0$0200a8c0@upthe> Message-ID: I am new to all of this (and the list included) but the files download as bundles which are supposed to act like folders on OS X (per the Revolution documentation) but my system thinks they are excel files (??). How do I use bundles? Neal On Jan 12, 2007, at 8:39 AM, Bill Marriott wrote: > All I can say right now is that Rev's aware of the problem. Not > sure when > there will be an update. > > "Michael D." wrote in > message news:004c01c7364a$65e673b0$0200a8c0 at upthe... >> Hello >> I downloaded these plugins too and its great there available >> early, but of >> course how to use ? be great to have some documentation. Anyone >> have some >> direction ? >> Michael > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revolution at knowledgeworks.plus.com Fri Jan 12 10:06:29 2007 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Fri, 12 Jan 2007 15:06:29 +0000 Subject: Virtual Custom Property Sample - Recursion Limit Problem [solution] Message-ID: <6BB53D76-64F1-4A0B-94B5-BC8D5D89C667@knowledgeworks.plus.com> >> lock messages put the expertSettings["fileMenuContents"] of this card -- in the msg << Tres cool, Eric - that worked :-) I'm sure that you will find it surprising, but I've never had cause to look at "lock messages" before, and I probably would never have considered it in this context either. I get a warm and fuzzy feeling when I ask a question on this list and get an expert answer back within 30 minutes. I remember I once spent 4 weeks and 15 emails trying to get a solution to a trivial support issue from IBM. Many thanks, Bernard From cmsheffield at gmail.com Fri Jan 12 10:34:29 2007 From: cmsheffield at gmail.com (Chris Sheffield) Date: Fri, 12 Jan 2007 08:34:29 -0700 Subject: revOpenDatabase (GRRRR ....) In-Reply-To: References: Message-ID: Hi Jean-Pierre, The Rev docs are incorrect I believe. Someone (I can't recall who, I apologize) pointed me in the right direction not too long ago. The correct syntax is to put the port number in as the last parameter. So your code should look like: put revOpenDatabase("MySQL","localHost","Anagram",root,root,"8889") Also, if "root" is your user name and password, it should probably also be enclosed in quotes. Hopefully that'll get you going again. Chris On Jan 12, 2007, at 5:54 AM, Jean-Pierre wrote: > Whats wrong with this ? > > put revOpenDatabase("MySQL","localHost :8889","Anagram",root,root) > > > unknow MySQL server host "localHost : 8889" (1) > > this is the setting of the database manager, and "connected" is true > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From jc at spl21.net Fri Jan 12 10:41:08 2007 From: jc at spl21.net (John Craig) Date: Fri, 12 Jan 2007 15:41:08 +0000 Subject: AltBrowser licensing/documentation In-Reply-To: <004c01c7364a$65e673b0$0200a8c0@upthe> References: <004c01c7364a$65e673b0$0200a8c0@upthe> Message-ID: <45A7AC14.1070304@spl21.net> Google's cache may help; |http://www.google.com/search?q=cache:Kxz5_cCvTZYJ:www.altuit.com/webs/altuit2/AltBrowserSub/Documentation.htm+altBrowser+stack&hl=en&gl=uk&ct=clnk&cd=8&client=firefox-a| Michael D. wrote: > Hello > I downloaded these plugins too and its great there available early, > but of course how to use ? be great to have some documentation. Anyone > have some direction ? > Michael > > ----- Original Message ----- From: > To: > Sent: Friday, January 12, 2007 1:23 AM > Subject: Re-2: AltBrowser licensing/documentation > > >> Hi, >> >> i hope its ok, if i post the link where to enter license-key.After >> successfull verify of your license key you are directed to a site, >> where you can download the plugins. Unfortunately there is no >> documentation. So it might be a little difficult to use the plug-ins >> without that. >> >> http://www.runrev.com/offers/plugins.php >> >> Best regards, >> >> Matthias >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From kee at kagi.com Fri Jan 12 10:47:26 2007 From: kee at kagi.com (kee nethery) Date: Fri, 12 Jan 2007 07:47:26 -0800 Subject: Re-4: AltBrowser installation In-Reply-To: References: Message-ID: How do I install the downloads? Are they the thing I install and thus need all three or are they the installer and I need the one that matches my machine type and it will do the right thing so my apps can use altplugins on all the supported platforms? Or should I wait for something that comes with the next release? There are docs? where? Thanks for the links, it's a start. Kee From wow at together.net Fri Jan 12 10:50:55 2007 From: wow at together.net (Richard Miller) Date: Fri, 12 Jan 2007 10:50:55 -0500 Subject: Force interrupt In-Reply-To: References: Message-ID: <2ED0219E-C055-40B0-AD50-3E3B9B109B48@together.net> How can I send "command-period" to a running script through a button press rather than the message box? I want to be able to interrupt a running script by pressing a button. Thanks. Richard Miller Imprinter Technologies From pevensen at siboneylg.com Fri Jan 12 11:21:07 2007 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Fri, 12 Jan 2007 10:21:07 -0600 Subject: iPhone In-Reply-To: <144116569387.20070111161436@ahsoftware.net> References: <144116569387.20070111161436@ahsoftware.net> Message-ID: <6.2.1.2.2.20070112102030.0c880eb0@exchange.slg.com> This fact kills it for me (in addition to being Cingular-only). I don't consider it a true smart phone if you can't have 3rd party apps. I guess I'll be sticking with my Treo. At 06:14 PM 1/11/2007, you wrote: >All- > >The iPhone as a not.for.development.get.your.hands.off device: > >http://gizmodo.com/gadgets/macworld2007/gizmodo-iphone-hands-on-part-deux-why-isnt-it-white-and-other-questions-227575.php > >...and just out of curiosity, can anyone remember Apple announcing a >product six months before the announced shipping date? > >-- >-Mark Wieder > mwieder at ahsoftware.net Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 From stephenREVOLUTION at barncard.com Fri Jan 12 11:29:54 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 12 Jan 2007 08:29:54 -0800 Subject: Re-4: AltBrowser licensing/documentation In-Reply-To: <8E285C30-2FC1-4356-A9C1-D13591BE9C13@major-k.de> References: <8E285C30-2FC1-4356-A9C1-D13591BE9C13@major-k.de> Message-ID: Nor did I.. >Hello Matthias, > >>Hi, >>the link was in the email "Kick-start your Year with Revolution". I >>received this email yesterday. > >I didn't :-/ >Klaus Major -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From stephenREVOLUTION at barncard.com Fri Jan 12 11:34:46 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 12 Jan 2007 08:34:46 -0800 Subject: Force interrupt Message-ID: untested: Type "." with commandkey from the docs Use the type command to show text appearing in a field at typing pace or to send keyboard events to a stack. another way of course on beginloop repeat forever -- code -- code if the mouse is "down" then exit to top end repeat end beginloop >How can I send "command-period" to a running script through a button >press rather than the message box? I want to be able to interrupt a >running script by pressing a button. > >Thanks. >Richard Miller >Imprinter Technologies -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From runrev260805 at m-r-d.de Fri Jan 12 11:44:37 2007 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Fri, 12 Jan 2007 16:44:37 +0000 Subject: Re-6: AltBrowser licensing/documentation Message-ID: Oh. I received it at 5 different emailadresses. It came from sales. I think this email was addressed to users, which downloaded a trialversion of Revolution. I did not receive that email to my emailadress, which i used for registering/buying Revstudio. If you are interested in that mail, i?ll pass it to your emailadress. Just let me know. Matthias -------- Original Message -------- Subject: Re: Re-4: AltBrowser licensing/documentation (12-Jan-2007 17:34) From: Stephen Barncard To: runrev260805 at m-r-d.de > Nor did I.. > > >Hello Matthias, > > > >>Hi, > >>the link was in the email "Kick-start your Year with Revolution". I > >>received this email yesterday. > > > >I didn't :-/ > >Klaus Major > > -- > > > stephen barncard > s a n f r a n c i s c o > - - - - - - - - - - - - > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > To: use-revolution at lists.runrev.com From kevin at runrev.com Fri Jan 12 11:47:48 2007 From: kevin at runrev.com (Kevin Miller) Date: Fri, 12 Jan 2007 16:47:48 +0000 Subject: AltBrowser licensing/documentation In-Reply-To: <004c01c7364a$65e673b0$0200a8c0@upthe> Message-ID: On 12/1/07 13:05, "Michael D." wrote: > I downloaded these plugins too and its great there available early, but of > course how to use ? be great to have some documentation. Anyone have some > direction ? We have now posted license keys on the download page. We will post the documentation and examples next week. Please check back then. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools From wow at together.net Fri Jan 12 11:51:44 2007 From: wow at together.net (Richard Miller) Date: Fri, 12 Jan 2007 11:51:44 -0500 Subject: Force interrupt In-Reply-To: References: Message-ID: Thanks Steve, but I couldn't get your suggestion to work. Sounded like a good idea, though. Here's an example of what I'd like to have happen. Script of btn 1: on mouseup repeat with i = 1 to 10000 put i if i = 200 then tryit end repeat end mouseup on tryit ---do something here that stops the repeat loop from running end tryit Here's the tough part... I can't know in advance where the running script is originating. I simply know something is running somewhere in my stack, and whatever it is, I want to abort it via script control. Thanks. Richard On Jan 12, 2007, at 11:34 AM, Stephen Barncard wrote: > untested: > > Type "." with commandkey > > from the docs > Use the type command to show text appearing in a field at typing > pace or to send keyboard events to a stack. > > another way of course > > > on beginloop > repeat forever > -- code > -- code > if the mouse is "down" then exit to top > end repeat > end beginloop > > >> How can I send "command-period" to a running script through a >> button press rather than the message box? I want to be able to >> interrupt a running script by pressing a button. >> >> Thanks. >> Richard Miller >> Imprinter Technologies > > -- > > > stephen barncard > s a n f r a n c i s c o > - - - - - - - - - - - - > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sims at ezpzapps.com Fri Jan 12 11:56:30 2007 From: sims at ezpzapps.com (sims) Date: Fri, 12 Jan 2007 17:56:30 +0100 Subject: Re-4: AltBrowser licensing/documentation In-Reply-To: References: <8E285C30-2FC1-4356-A9C1-D13591BE9C13@major-k.de> Message-ID: At 8:29 AM -0800 1/12/07, Stephen Barncard wrote: >Nor did I.. > >>Hello Matthias, >> >>>Hi, >>>the link was in the email "Kick-start your Year with Revolution". >>>I received this email yesterday. >> >>I didn't :-/ >>Klaus Major Ummm....newsletter? Email? What email? Didn't make it here...of course, here is 50 or 500 years different than the rest of the planet. That is a good thing sometimes ;-) sims From stephenREVOLUTION at barncard.com Fri Jan 12 12:00:48 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 12 Jan 2007 09:00:48 -0800 Subject: Force interrupt In-Reply-To: References: Message-ID: I think part of the problem is that your scripts are "blocking". Rev is not multitasking really, but it can be simulated using "with messages". Can you put a script in the button that would just print some text to the msg box? Test it without the script running. Then try it with the script running. if it doesn't print, then it's blocking. cmd-period isn't something you want an end user to use from a button, usually. anyway, you could probably make this work, but you'd have to rewrite stuff. check out the 'Message Mechanics' stack for an explanation. (somebody help me here). sqb >Thanks Steve, but I couldn't get your suggestion to work. Sounded >like a good idea, though. Here's an example of what I'd like to have >happen. > >Script of btn 1: > >on mouseup > repeat with i = 1 to 10000 > put i > if i = 200 then tryit > end repeat >end mouseup > >on tryit > ---do something here that stops the repeat loop from running >end tryit > >Here's the tough part... I can't know in advance where the running >script is originating. I simply know something is running somewhere >in my stack, and whatever it is, I want to abort it via script >control. > >Thanks. >Richard -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From runrev260805 at m-r-d.de Fri Jan 12 12:06:47 2007 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Fri, 12 Jan 2007 17:06:47 +0000 Subject: Re-2: AltBrowser licensing/documentation Message-ID: Hi, @kevin @chipp as i?ve already purchased altBrowser2 and altFont from Altuit several month ago, i have a pdf-doc for altBrowser and a text-doc for altFont. Is it ok for you, if i put them online and post that link here? Matthias -------- Original Message -------- Subject: Re: AltBrowser licensing/documentation (12-Jan-2007 17:50) From: Kevin Miller To: runrev260805 at m-r-d.de > On 12/1/07 13:05, "Michael D." wrote: > > > I downloaded these plugins too and its great there available early, but of > > course how to use ? be great to have some documentation. Anyone have some > > direction ? > > We have now posted license keys on the download page. We will post the > documentation and examples next week. Please check back then. > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > Runtime Revolution - User-Centric Development Tools > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > To: use-revolution at lists.runrev.com From wow at together.net Fri Jan 12 12:20:28 2007 From: wow at together.net (Richard Miller) Date: Fri, 12 Jan 2007 12:20:28 -0500 Subject: Force interrupt In-Reply-To: References: Message-ID: Here's the problem I'm trying to address. I'll do my best to explain it, even though it doesn't make a lot of sense to me. We have a rather complex stack with almost 100 substacks. We're testing this app on several Windows machines. On many of the test units, the program runs fine. Never a problem. On some, though, the program comes to a halt at certain places. It sits there, with the cursor busy (the cursor had been previously set to busy), and will not proceed until I hit "command-period". The program then proceeds perfectly normally. The problem is that this "bug" is mostly random. It never happens on some computers, and when it happens on others, there's no telling exactly when and where it will occur.... though it will only occur in 3-5 possible places. I'm continuing to search for the source of this issue, but it's like a ghost. An easier solution would be to have a script that is triggered at certain key places which checks to see if the cursor remains stuck in a busy position for too long. If that happens, I want to send an interrupt to the stack, just like I do via keyboard. Any more thoughts on how to do that? Again, the problem isn't with finding out the software is "stuck" busy (I know how to do that), but telling it to interrupt whatever it's doing and simply continue. Thanks. Richard On Jan 12, 2007, at 12:00 PM, Stephen Barncard wrote: > I think part of the problem is that your scripts are "blocking". > Rev is not multitasking really, but it can be simulated using "with > messages". > > Can you put a script in the button that would just print some text > to the msg box? Test it without the script running. Then try it > with the script running. > if it doesn't print, then it's blocking. > > cmd-period isn't something you want an end user to use from a > button, usually. > > anyway, you could probably make this work, but you'd have to > rewrite stuff. > check out the 'Message Mechanics' stack for an explanation. > (somebody help me here). > > sqb > >> Thanks Steve, but I couldn't get your suggestion to work. Sounded >> like a good idea, though. Here's an example of what I'd like to >> have happen. >> >> Script of btn 1: >> >> on mouseup >> repeat with i = 1 to 10000 >> put i >> if i = 200 then tryit >> end repeat >> end mouseup >> >> on tryit >> ---do something here that stops the repeat loop from running >> end tryit >> >> Here's the tough part... I can't know in advance where the running >> script is originating. I simply know something is running >> somewhere in my stack, and whatever it is, I want to abort it via >> script control. >> >> Thanks. >> Richard > > -- > > > stephen barncard > s a n f r a n c i s c o > - - - - - - - - - - - - > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From kevin at runrev.com Fri Jan 12 12:32:25 2007 From: kevin at runrev.com (Kevin Miller) Date: Fri, 12 Jan 2007 17:32:25 +0000 Subject: Re-2: AltBrowser licensing/documentation In-Reply-To: Message-ID: On 12/1/07 17:06, "runrev260805 at m-r-d.de" wrote: > @kevin > @chipp > as i?ve already purchased altBrowser2 and altFont from Altuit several month > ago, i have a pdf-doc for altBrowser and a text-doc for altFont. Is it ok for > you, if i put them online and post that link here? Yes. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools From runrev260805 at m-r-d.de Fri Jan 12 12:34:52 2007 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Fri, 12 Jan 2007 17:34:52 +0000 Subject: Re-4: AltBrowser licensing/documentation Message-ID: Ok, here you go http://support.were-here.net/rc/altBrowser.pdf http://support.were-here.net/rc/alFont.pdf Best regards, Matthias -------- Original Message -------- Subject: Re: Re-2: AltBrowser licensing/documentation (12-Jan-2007 18:33) From: Kevin Miller To: runrev260805 at m-r-d.de > On 12/1/07 17:06, "runrev260805 at m-r-d.de" wrote: > > > @kevin > > @chipp > > as i?ve already purchased altBrowser2 and altFont from Altuit several month > > ago, i have a pdf-doc for altBrowser and a text-doc for altFont. Is it ok > > for > > you, if i put them online and post that link here? > > Yes. > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > Runtime Revolution - User-Centric Development Tools > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > To: use-revolution at lists.runrev.com From scott at tactilemedia.com Fri Jan 12 13:10:40 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 12 Jan 2007 10:10:40 -0800 Subject: Any way to use BlueTooth Flic barcode scanner in Rev? In-Reply-To: <8C904674C4315E2-1454-739@WEBMAIL-MA14.sysops.aol.com> Message-ID: Recently, rgould8 at aol.com wrote: > it sounds like the only drawback is: > > 1) A clunky cable interface Well, IMO, a scanner that has some kind of display on it would be the ideal. Because this unit has no display, there's no way to know how many items are on it or what you last scanned, but then again it's a relatively inexpensive unit. > I forgot to ask - - - are you doing this on a Mac or Windows platform? Would > this work with a Mac? Mac. > How does the scanner know that the data actually made it into the computer > before it deletes all it's contents? It doesn't care. It sends the text whether there's a field or not, the same as if you'd typed on your keyboard without being focused on a field. It works 2 ways: 1) without the cable connected, it stores scans and then dumps them when the cable is attached 2) with the cable connected, each scan is dumped immediately OK, enough [OT] for the list. Back to more important Rev matters. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From pepetoo at Cox.Net Fri Jan 12 13:21:56 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Fri, 12 Jan 2007 10:21:56 -0800 Subject: Re-4: AltBrowser licensing/documentation In-Reply-To: References: Message-ID: <689C4196-7BCD-4730-95D3-B755F5415E32@Cox.Net> The last link has a typo: should be altFont Joe Wilkins On Jan 12, 2007, at 9:34 AM, runrev260805 at m-r-d.de wrote: > http://support.were-here.net/rc/alFont.pdf From JimAultWins at yahoo.com Fri Jan 12 13:41:24 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 12 Jan 2007 10:41:24 -0800 Subject: Virtual Custom Property Sample - Recursion Limit Problem In-Reply-To: Message-ID: As Eric described, the getProp/setProp messages are unlike others in the respect that passing the message 'starts it at the card level' once again, thus trapping its own message and entering an inescapable recursion loop. Lock messages=true will mean the unwanted message will not be introduced into the hierarchy. Actually, I find little or no value to the getProp/setProp behavior and simply program a normal handler to do the task. Every time I think that getProp will be an advantage, it turns out not to be and no pesky recursion to thwart. Jim Ault Las Vegas On 1/12/07 6:14 AM, "Bernard Devlin" wrote: > I am looking into virtual custom properties (specifically: using them > to provide default values if a custom property of an object is empty > or does not exist). My understanding is that a getProp message > should percolate up the message path, and when it finds a getProp > handler it should be able to use whatever value is returned. > > This sample from the Dictionary looks like what I am trying to do > should be reasonable: > >>> > getProp expertSettings[thePropertyName] > -- The thePropertyName parameter contains the name of > -- the property that's being set > switch thePropertyName > case "fileMenuContents" > if the expertSettings[fileMenuContents] of the target \ > is empty then return "(No items" > else pass expertSettings > break > case "editMenuContents" > if the expertSettings[editMenuContents] of the target \ > is empty then return \ > the noviceSettings[editMenuContents] of the target > else pass expertSettings > break > default > pass expertSettings > end switch > end expertSettings > > << > > It seems to work fine when I put this in the MB: > > get the expertSettings["fileMenuContents"] of this stack > > However, if I type this instead: > > get the expertSettings["fileMenuContents"] of this card > > Then I get this error: > > Message execution error: > Error description: recursionLimit: Recursion limit reached > > The stack I'm testing this in is a new stack with no controls on it > (just the default card of any new stack). > > Is the documentation wrong, or is it my understanding of it that is > mistaken? > > Bernard > > P.S. The recursionLimit is at the default of 400000. Incidentally, > the TD says this should be 1000000 by default. Since it is global > property, I'm assuming that even if I changed it to 400000 in the > past, it should be resetting itself to 1000000 on restart. Is that > right? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From JimAultWins at yahoo.com Fri Jan 12 14:09:15 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 12 Jan 2007 11:09:15 -0800 Subject: Force interrupt In-Reply-To: Message-ID: >>> Here's the tough part... I can't know in advance where the running >>> script is originating. I simply know something is running >>> somewhere in my stack, and whatever it is, I want to abort it via >>> script control. >>> The most basic explanation that I have encountered for 'locked' routines is that you have triggered a repeat loop with a condition that makes it infinite. Rev runs code so quickly that it does not 'see' the ctrl period or escape and halt, at least in my experiences. Even if it does stop, you don't know where! Unfortunately for you, I am such a good programmer that I never write an infinite loop so have limited experience with this. You can stop laughing now. The standard technique for me is to write a stack or lib handler on debugAltStop if the altKey is down then breakpoint --optKey on Mac end debugAltStop repeat while tProcess is not empty debugAltStop --do my work end repeat Now if you drop into 'debugStop" you can step into the handler that is spinning when you held the altKey down. You could write a little stack/lib handler in Rev to edit all of your scripts and add the 'debugStop' line. --save a backup set of these stacks, then modify them like this. Rev can edit is own scripts, so you might want to consider that way. repeat with x = 1 to the number of controls --btns, flds, imgs, gps put the script of control x into scriptTemp if mm is empty then next repeat repeat for each line LNN in scriptTemp put LNN & cr after newScript if LNN contains "repeat while" then put LNN &cr& " debugAltStop" & cr after newScript if LNN contains "repeat until" then put LNN &cr& " debugAltStop" & cr after newScript end repeat set the script of btn x to "--mod with debugStop"& cr & newScript end repeat save this stack * also the card. stack scripts (back, front if you used them) After testing and locating the errors, you will fix the backups and put them into use. Hope this gives you some ideas about how to find those gremlins. Jim Ault Las Vegas From wjm at wjm.org Fri Jan 12 14:17:14 2007 From: wjm at wjm.org (Bill Marriott) Date: Fri, 12 Jan 2007 14:17:14 -0500 Subject: Re-4: AltBrowser licensing/documentation References: <689C4196-7BCD-4730-95D3-B755F5415E32@Cox.Net> Message-ID: And the altFont PDF doc at http://support.were-here.net/rc/altFont.pdf seems suspiciously short... just the first page. "Joe Lewis Wilkins" wrote in message news:689C4196-7BCD-4730-95D3-B755F5415E32 at Cox.Net... > The last link has a typo: should be altFont From wow at together.net Fri Jan 12 14:17:44 2007 From: wow at together.net (Richard Miller) Date: Fri, 12 Jan 2007 14:17:44 -0500 Subject: Force interrupt In-Reply-To: References: Message-ID: I wish it was a repeat loop, but if it was, it would certainly occur on all the computers we're testing on... or at least regularly on the same computer. This problem does not. It never occurs on half the computers and only occurs sometimes on some of them in the exact same spot. In other words, moving from a given card to another card will sometimes trigger the problem, and other times it won't. I can't see how that you be a problem with a repeat loop. Richard On Jan 12, 2007, at 2:09 PM, Jim Ault wrote: >>>> Here's the tough part... I can't know in advance where the running >>>> script is originating. I simply know something is running >>>> somewhere in my stack, and whatever it is, I want to abort it via >>>> script control. >>>> > > The most basic explanation that I have encountered for 'locked' > routines is > that you have triggered a repeat loop with a condition that makes it > infinite. Rev runs code so quickly that it does not 'see' the ctrl > period > or escape and halt, at least in my experiences. Even if it does > stop, you > don't know where! Unfortunately for you, I am such a good > programmer that I > never write an infinite loop so have limited experience with this. > > You can stop laughing now. The standard technique for me is to > write a > stack or lib handler > > on debugAltStop > if the altKey is down then breakpoint --optKey on Mac > end debugAltStop > > > repeat while tProcess is not empty > debugAltStop > --do my work > > end repeat > Now if you drop into 'debugStop" you can step into the handler that is > spinning when you held the altKey down. > > You could write a little stack/lib handler in Rev to edit all of your > scripts and add the 'debugStop' line. > > --save a backup set of these stacks, then modify them like this. > Rev can edit is own scripts, so you might want to consider that way. > > repeat with x = 1 to the number of controls --btns, flds, imgs, gps > put the script of control x into scriptTemp > if mm is empty then next repeat > repeat for each line LNN in scriptTemp > put LNN & cr after newScript > if LNN contains "repeat while" > then put LNN &cr& " debugAltStop" & cr after newScript > if LNN contains "repeat until" > then put LNN &cr& " debugAltStop" & cr after newScript > end repeat > > set the script of btn x to "--mod with debugStop"& cr & newScript > end repeat > save this stack > > * also the card. stack scripts (back, front if you used them) > After testing and locating the errors, you will fix the backups and > put them > into use. > > Hope this gives you some ideas about how to find those gremlins. > > Jim Ault > Las Vegas > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Fri Jan 12 14:20:32 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 12 Jan 2007 11:20:32 -0800 Subject: Virtual Custom Property Sample - Recursion Limit Problem Message-ID: <45A7DF80.2040303@fourthworld.com> Jim Ault wrote: > As Eric described, the getProp/setProp messages are unlike others in the > respect that passing the message 'starts it at the card level' once again, > thus trapping its own message and entering an inescapable recursion loop. > > Lock messages=true will mean the unwanted message will not be introduced > into the hierarchy. Actually, I find little or no value to the > getProp/setProp behavior and simply program a normal handler to do the task. > Every time I think that getProp will be an advantage, it turns out not to be > and no pesky recursion to thwart. And FWIW, using getProp/setProp benchmarks a tad slower than calling a handler, so it really depends on what you want to accomplish. One thing getProp/setProp do well is maintain a reference to a specific object, the target. So if all you need is something procedural a handler will do, but if you need something to act on a specific object which may not be the target of a user interaction then getProp/setProp can be helpful. There are a few nuances of getProp/setProp which may be worth noting: As the original post found, when using a setProp handler in the script of the affected object, if that setProp handler also sets a property of the object there will be no recursion error, since the engine does its own implicit sort of "lockMessages" for such instances. But if the setProp handler is further down the message path outside of the target object, then no implicit locking takes place and the setProp handler's setting of the same property will trigger recursion. In addition to locking the messages yourself, you can also use a different name for the property in which you actually store a value. I tend to use a convention in which actual properties set by setProp handlers are preceded by an underscore to distinguish them from the property name accessed by other handlers: setProp MyProperty pMyValue set the _MyProperty of the target to pMyValue end MyProperty If there's a case where I need to actual property name to be the same as the public property name (rare but it happens), I usually just do the lockMessages right in the setProp handler itself so there's less to do when calling it elsewhere: setProp MyProperty pMyValue lock messages set the MyProperty of the target to pMyValue unlock messages end MyProperty -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From runrev260805 at m-r-d.de Fri Jan 12 14:27:09 2007 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Fri, 12 Jan 2007 19:27:09 +0000 Subject: Re-6: AltBrowser licensing/documentation Message-ID: Yes, you are right. That?s all i got as an documentation for altFont. It contains all what you need to know to use it. Matthias -------- Original Message -------- Subject: Re: Re-4: AltBrowser licensing/documentation (12-Jan-2007 20:20) From: Bill Marriott To: runrev260805 at m-r-d.de > And the altFont PDF doc at > > http://support.were-here.net/rc/altFont.pdf > > seems suspiciously short... just the first page. > > "Joe Lewis Wilkins" wrote in message > news:689C4196-7BCD-4730-95D3-B755F5415E32 at Cox.Net... > > The last link has a typo: should be altFont > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > To: use-revolution at lists.runrev.com From runrev260805 at m-r-d.de Fri Jan 12 14:31:42 2007 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Fri, 12 Jan 2007 19:31:42 +0000 Subject: Re-6: AltBrowser licensing/documentation Message-ID: I am really sorry. I was in a hurry. Was out for dinner and was late as always. So i did not check the links. Please excuse. I uploaded the altFont.pdf also as alFont.pdf. So the provided link works. ;-) Matthias -------- Original Message -------- Subject: Re: Re-4: AltBrowser licensing/documentation (12-Jan-2007 19:26) From: Joe Lewis Wilkins To: runrev260805 at m-r-d.de > The last link has a typo: should be altFont > > Joe Wilkins > > On Jan 12, 2007, at 9:34 AM, runrev260805 at m-r-d.de wrote: > > > http://support.were-here.net/rc/alFont.pdf > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > To: use-revolution at lists.runrev.com From pepetoo at Cox.Net Fri Jan 12 14:47:19 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Fri, 12 Jan 2007 11:47:19 -0800 Subject: Re-6: AltBrowser licensing/documentation In-Reply-To: References: Message-ID: <7E62AB13-DB31-4B12-ADE2-8C596710A99E@Cox.Net> Strange. AlFont worked for me this time. The first time I had to fix the link. Oh, well. Regardless, thanks. Joe On Jan 12, 2007, at 11:31 AM, runrev260805 at m-r-d.de wrote: > I am really sorry. I was in a hurry. Was out for dinner and was > late as always. So i did not check the links. Please excuse. > > I uploaded the altFont.pdf also as alFont.pdf. > So the provided link works. ;-) > > Matthias > > > -------- Original Message -------- > Subject: Re: Re-4: AltBrowser licensing/documentation (12-Jan-2007 > 19:26) > From: Joe Lewis Wilkins > To: runrev260805 at m-r-d.de > >> The last link has a typo: should be altFont >> >> Joe Wilkins >> >> On Jan 12, 2007, at 9:34 AM, runrev260805 at m-r-d.de wrote: >> >>> http://support.were-here.net/rc/alFont.pdf >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> >> To: use-revolution at lists.runrev.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From JimAultWins at yahoo.com Fri Jan 12 16:13:34 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 12 Jan 2007 13:13:34 -0800 Subject: Force interrupt In-Reply-To: Message-ID: On 1/12/07 11:17 AM, "Richard Miller" wrote: > I wish it was a repeat loop, but if it was, it would certainly occur > on all the computers we're testing on... or at least regularly on the > same computer. This problem does not. It never occurs on half the > computers and only occurs sometimes on some of them in the exact same > spot. In other words, moving from a given card to another card will > sometimes trigger the problem, and other times it won't. I can't see > how that you be a problem with a repeat loop. Ahh, that is a bit trickier. The way it might be a repeat loop is that 'on opencard or closecard handlers will contain a repeat loop or trigger one. Another possibility is that there is a 'send' that has a pending message which depends on the current card will trigger and the new card is missing some required info. If this is not the case, then it could be something about the operating system or path names on the hard drive. One example would be reading a file into a variable, and if the path or file name was incorrect, the variable would be empty and the program expects something to be there. --eg. put lineoffset(the short id of this card, idListOfLinkedCards) into pos --where pos is 0 and you are expecting a positive integer Perhaps you could install a 'on closecard' handler in the back and trap for the particular condition in the 'exact spot', such as 'if the id of this card is 2343 then breakpoint'. What you are experiencing is my least favorite bug to track down. The technique I resort to is writing a log file to produce an audit trail, especially in my networking software that operates on different computers and runs asynchronously. Very difficult to isolate the bugs. --example ------- put tab into t put the short date into dateStr replace "/" with empty in dateStr get dateStr & t & the short time get it & t & var1 & t & var2 & t & var3 & t & the short id of this card put (it & cr) after url ("file:"& dateStr&"logOut.txt") --now if the force quit is necessary, the log file will have the last successful handler call as the last line of the logOut file. The tabs are so that Excel can be used to open the file for analysis. Be careful of very large logOut file sizes of > 2 Mb. Slower performance issues, but not crashing. I have had 34 Mb log files by accident and only saw slow perfomance. Hope this helps Jim Ault Las Vegas From chipp at chipp.com Fri Jan 12 21:54:53 2007 From: chipp at chipp.com (Chipp Walters) Date: Fri, 12 Jan 2007 20:54:53 -0600 Subject: Re-2: AltBrowser licensing/documentation In-Reply-To: References: Message-ID: <7aa52a210701121854r6ba0447h93109a7276283ace@mail.gmail.com> Certainly OK by us at Altuit-- and since Kevin now owns altBrowser, his okeydokey would allow for it. From stephenREVOLUTION at barncard.com Fri Jan 12 22:13:23 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 12 Jan 2007 19:13:23 -0800 Subject: Force interrupt In-Reply-To: References: Message-ID: try checking the allowinterrupts set the allowInterrupts to {true | false} Summary: Specifies whether the user can halt a handler with a key combination. One of the versions in the past had the default reversed. >I wish it was a repeat loop, but if it was, it would certainly occur >on all the computers we're testing on... or at least regularly on >the same computer. This problem does not. It never occurs on half >the computers and only occurs sometimes on some of them in the exact >same spot. In other words, moving from a given card to another card >will sometimes trigger the problem, and other times it won't. I >can't see how that you be a problem with a repeat loop. > >Richard > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From FlexibleLearning at aol.com Sat Jan 13 06:05:56 2007 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sat, 13 Jan 2007 06:05:56 EST Subject: [ANN] Scripter's Scrapbook 5.28 Update Message-ID: www.FlexibleLearning.com/ssbk or www.ssBk.co.uk UPDATE AVAILABLE Thanks to feedback, an incremental update has been uploaded and is now available that fixes some recent bugs and improves the 'interface experience'. 5.28 Update released 13-JAN-2007 - Interface: The hyperlink cursor now displays on standAlones. - Interface: The Home screen File menu is now active on Mac OSX. - Interface: The first Find match on a different Entry is now 'boxed' as expected. - Adjustment: All export files now default to a date and time stamped file name. - Bugfix: The Import window no longer throws a spurious error when closing. - Bugfix: The User Support now prints without overtyped text. NEXT STEP - Registered and Trial users should update through the Help menu or in the Preferences. - New users and those interested in reviewing the changes since an earlier trial may obtain a free 30-day starter-kit at www.FlexibleLearning.com/ssbk. You will be asked if you wish to obtain the most recent version, and it will automatically download this update for you - Full size screen shots for both Mac OSX and Windows XP are at www.FlexibleLearning.com/ssbk/preview including useful mouse shortcuts illustrations. FEEDBACK Finally, if you have a moment to suggest improvements or request additional features we would very much appreciate your feedback at www.flexiblelearning.com/ssbkFeedback.htm Hugh Senior FLCo Home of the Scripter's Scrapbook From m.schonewille at economy-x-talk.com Thu Jan 11 09:26:37 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 11 Jan 2007 15:26:37 +0100 Subject: BUG: importing image files crash rev 2.7.5 In-Reply-To: <9A5F2A87-7B67-434F-A7B1-54F9CC153D74@mac.com> References: <7A5BB65A-1194-481D-931D-B878CDA3C1F9@mac.com> <30C8C077-5ACB-4415-9273-A29A15F39BB5@mac.com> <45A50BB0.2000507@harryscollar.com> <9A5F2A87-7B67-434F-A7B1-54F9CC153D74@mac.com> Message-ID: <74AA4221-32EE-440B-A396-56EFE03C5B2C@economy-x-talk.com> Hi Andre, Whenever I imported an image with transparency, either PNG or GIF, Rev 2.7.5 beta 1 crashed (this version should equal 2.7.5-dp-2). Images without transparency would sometimes import correctly and sometimes not. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Salery is the easiest way to set up your own web store: http:// www.salery.biz/salery.html Op 10-jan-2007, om 16:56 heeft Andre Garzia het volgende geschreven: > I am afraid of my 2.7.5-dp-1, I think it mutated into something to > avoid expiration... what is lurking in the dark corners of the > message path, I do not know!!! anyway, it is running here and it > doesn't like importing images... can anyone confirm that 2.7.5-dp-1 > will not import images? > > Bill or RunRev team, am I doing something wrong running 2.7.5-dp-1? > is it illegal somehow? It did not expired for me, I've updated > during RevCon Malta after the team asked for our impressions... > > Andre > From wow at together.net Sat Jan 13 09:10:39 2007 From: wow at together.net (Richard Miller) Date: Sat, 13 Jan 2007 09:10:39 -0500 Subject: Force interrupt In-Reply-To: References: Message-ID: <41F8139D-FC36-4E0B-8124-1D90FDCC480C@together.net> Jim, I believe you gave me the clues I needed. It looks like the way we used the Send command in a few places was the problem. Thanks! Richard On Jan 12, 2007, at 4:13 PM, Jim Ault wrote: > On 1/12/07 11:17 AM, "Richard Miller" wrote: > >> I wish it was a repeat loop, but if it was, it would certainly occur >> on all the computers we're testing on... or at least regularly on the >> same computer. This problem does not. It never occurs on half the >> computers and only occurs sometimes on some of them in the exact same >> spot. In other words, moving from a given card to another card will >> sometimes trigger the problem, and other times it won't. I can't see >> how that you be a problem with a repeat loop. > > Ahh, that is a bit trickier. > The way it might be a repeat loop is that 'on opencard or closecard > handlers > will contain a repeat loop or trigger one. Another possibility is > that > there is a 'send' that has a pending message which depends on the > current > card will trigger and the new card is missing some required info. > > If this is not the case, then it could be something about the > operating > system or path names on the hard drive. One example would be > reading a file > into a variable, and if the path or file name was incorrect, the > variable > would be empty and the program expects something to be there. > --eg. > put lineoffset(the short id of this card, idListOfLinkedCards) into > pos > --where pos is 0 and you are expecting a positive integer > > Perhaps you could install a 'on closecard' handler in the back and > trap for > the particular condition in the 'exact spot', such as 'if the id of > this > card is 2343 then breakpoint'. > > What you are experiencing is my least favorite bug to track down. > > The technique I resort to is writing a log file to produce an audit > trail, > especially in my networking software that operates on different > computers > and runs asynchronously. Very difficult to isolate the bugs. > --example ------- > put tab into t > put the short date into dateStr > replace "/" with empty in dateStr > get dateStr & t & the short time > get it & t & var1 & t & var2 & t & var3 & t & the short id of this > card > put (it & cr) after url ("file:"& dateStr&"logOut.txt") > > --now if the force quit is necessary, the log file will have the last > successful handler call as the last line of the logOut file. The > tabs are > so that Excel can be used to open the file for analysis. > > Be careful of very large logOut file sizes of > 2 Mb. Slower > performance > issues, but not crashing. I have had 34 Mb log files by accident > and only > saw slow perfomance. > > Hope this helps > > Jim Ault > Las Vegas > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From programmer711 at gmail.com Sat Jan 13 09:49:25 2007 From: programmer711 at gmail.com (Brad Sampson) Date: Sat, 13 Jan 2007 07:49:25 -0700 Subject: Properties not locking in Message-ID: <72bdb4b20701130649r756d12a4ieb12f1d197d6b9f3@mail.gmail.com> On a project I'm currently working on, I have a script that sets the fileName of a player, then runs some script that resizes the player for optimal quality. However, the formattedHeight and formattedWidth of the player don't appear to be "locked in" when it trys to set them. They both appear as 0 for a very short time directly after setting the fileName. This is a problem, because it trys to resize my player to 0x0 pixels, which reverts back to 1x1. Is there any way to fix this problem? I tried wait (until the formattedWidth of player "Output")>0, but it just freezes up my stack and you can't apple+period out of it. Thanks! Brad CMSEC From meitnik at bellsouth.net Sat Jan 13 12:35:09 2007 From: meitnik at bellsouth.net (Andrew Meit) Date: Sat, 13 Jan 2007 12:35:09 -0500 Subject: Some thoughts on testings... Message-ID: <059562C7-7E6A-4D22-B902-478E0ABBCEEA@bellsouth.net> I recently had been forced to move all my files to my ibook and make it my main computer while I figure out what to do with my old iMac G4 LCD dying...while doing so, I came across a file I saved and thought it important to post on the list in light of the open beta of 2.7.5...read slowly: Subject: Should Testers Be Allowed to Do Their Job? From: ed at toa.com (Edward V. Berard) Date: Tue, 01 Aug 1995 07:35:23 -0400 Should testers be allowed to do their job? Before I can answer that, I need to define a few terms: - To slightly paraphrase Glen Myers (author of "The Art of Software Testing"), testing is the process of examining some material with the intention (or goal) of finding errors. The "material" can include the material produced during the development part of the software life- cycle (e.g., the products of the analysis, design, and coding efforts), and the specifications for the test cases themselves. - Testing is a comparison process. Specifically, it compares one set of material (e.g., object code) with some correspondingly related material (e.g., the specification for that object code). Symptoms of errors are detected when what is expressed in one set of material does not agree with what is expressed in its corresponding material. (It is not the job of the tester to find the exact source of the error. That is the job of the creator (developer) of the material.) - To be considered minimally adequate, the testing effort would have to detect the symptoms of all critical errors, and the symptoms of most, if not all, of the symptoms of all other errors. I propose that the job of the tester is to do at least minimally adequate testing, as defined above. Consider the following (unfortunately true) story. A few years ago, I was teaching a testing course at a firm that made implantable medical devices, e.g., pacemakers. Modern pacemakers not only contain software, but they are also programmed, monitored, and adjusted by systems that contain software. The people in the class were charged with testing the software associated with pacemaker systems. - During the class, the students were required to specify test cases for software. Part of any test case is the purpose for that test case. One of the students insisted that "the purpose of test case xyz is to _prove_ _that_ _some_ _particular_ _function_ _is_ _accomplished_." When I informed this person that, while this may have been the goal of the developer of the software, the goal of the tester was exactly the opposite. - Later, in the same class, one of the testers noted that developers "felt bad" when they were informed of errors in the software products for which the developers were responsible. The tester said that she felt it was part of her job to provide some encouragement to the developers. Other testers admitted that they were often uncomfortable with being "the bearers of bad bad news" (i.e., reports of errors). I was astonished. Was the ego of the developers more important than the health of the patients using the implanted medical devices? Were testers also required to be "psychological counselors" for the developers? Were both the testers and the developers aware of the negative impact on testing created by the reluctance of the testers to "make the developers feel bad?" Should testers be allowed to do their job? Based on my experience over the past 15 years, the answer to that question in most shops is" "up to a point." - Managers, developers, and testers often cannot distinguish between a _social_ situation and a _business_ situation. In a _social_ context, I would agree that people must seriously consider whether it is worthwhile to point out "problems." Specifically, one must weigh the feelings of the individuals involved against any "improvements" that might result from bringing a problem to light. In a business situation the rules change. The parties to a business arrangement are supposed to be aware of the terms and conditions of the business arrangement, and are required to act accordingly. One should _expect_ testers to find symptoms of errors. That is their job. Further, testers that routinely do not uncover symptoms of serious errors are not performing their jobs successfully. When a tester informs a developer of the symptoms of the errors he or she has uncovered, the tester is _not_ making a statement about the basic goodness or badness of the developer as a human being. The tester _is_ making a statement about some material for which the developer is responsible. - The time, staff, and other resources that are allocated to developers are often woefully inadequate. However, the time, staff, and resources that are allocated to the testing effort are, by in large, a joke. In all my years of training and consulting, I have run across fewer than 3 organizations that had anything even approaching an adequate assignment of resources to the testing effort. It is almost as if the managers know this. When testers point out errors, that "slows down" the development effort. Inadequate testing resources result in fewer errors being reported, and, consequently, faster development. - Many organizations make no secret of the fact that they consider developers to be more important than testers (or, for that matter, software quality assurance personnel, maintenance programmers, and others). I have had more than one manager inform me that "development requires true creativity, whereas testing does not require any special brilliance." The developers are often required to have university degrees, while many testers are non-degreed. Developers routinely receive more training, case tools, and other resources than do the testers. (At one of the public testing courses that I recently taught, one tester had a hard time believing that case tools for testers even existed.) - There is also a prevailing attitude that a separate testing group is "a luxury." Many managers (and developers) reason that, in addition to creating the software product, developers can also adequately test that product. This line of reasoning is very wrong. Consider: - Developers seldom have enough time to design and implement the product, much less to test the product. (In fact, one of the most common reasons for the creation of a separate testing group is "to relieve the pressure on the developers.") - Developers are seldom trained in software testing techniques. This often results in largely unfocused, hit or miss testing efforts. (When developers attend a software testing course, they are often astonished by the amount of work required for even minimal testing.) - Of course, developers suffer from all the problems of human beings who are asked to evaluate their own efforts, e.g., lack of objectivity, psychological blindness (to their own errors), and lack of perspective. Given the attitude that a separate testing group is a luxury, it is quite normal to deny resources to this group, or to cut it out entirely when budget constraints loom large. It is very sad to see a group of people who are given an assignment, and are then prevented from carrying out that assignment to the fullest of their abilities. -- Ed --------------------------------------------------------------------- Edward V. Berard | Voice: (301) 548-9090 The Object Agency, Inc. | Fax: (301) 548-9094 101 Lakeforest Blvd., Suite 380 | E-Mail: ed at toa.com Gaithersburg, Maryland 20877 Shalom, Andrew {Choose Life, Create Hope, Nurture Love...} From mdswindell at cruzio.com Sat Jan 13 13:01:26 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Sat, 13 Jan 2007 10:01:26 -0800 Subject: Properties not locking in In-Reply-To: <72bdb4b20701130649r756d12a4ieb12f1d197d6b9f3@mail.gmail.com> References: <72bdb4b20701130649r756d12a4ieb12f1d197d6b9f3@mail.gmail.com> Message-ID: <388921B7-AEBB-483B-8F67-0FBB8E0DA38F@cruzio.com> Would a simple lock/unlock screen solution work? Mark On Jan 13, 2007, at 6:49 AM, Brad Sampson wrote: > On a project I'm currently working on, I have a script that sets the > fileName of a player, then runs some script that resizes the player > for optimal quality. However, the formattedHeight and formattedWidth > of the player don't appear to be "locked in" when it trys to set them. > They both appear as 0 for a very short time directly after setting > the fileName. This is a problem, because it trys to resize my player > to 0x0 pixels, which reverts back to 1x1. Is there any way to fix > this problem? I tried wait (until the formattedWidth of player > "Output")>0, but it just freezes up my stack and you can't > apple+period out of it. > Thanks! > Brad > CMSEC > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sims at ezpzapps.com Sat Jan 13 13:29:28 2007 From: sims at ezpzapps.com (sims) Date: Sat, 13 Jan 2007 19:29:28 +0100 Subject: Properties not locking in In-Reply-To: <388921B7-AEBB-483B-8F67-0FBB8E0DA38F@cruzio.com> References: <72bdb4b20701130649r756d12a4ieb12f1d197d6b9f3@mail.gmail.com> <388921B7-AEBB-483B-8F67-0FBB8E0DA38F@cruzio.com> Message-ID: >On Jan 13, 2007, at 6:49 AM, Brad Sampson wrote: > >>On a project I'm currently working on, I have a script that sets the >>fileName of a player, then runs some script that resizes the player >>for optimal quality. However, the formattedHeight and formattedWidth >>of the player don't appear to be "locked in" when it trys to set them. >>They both appear as 0 for a very short time directly after setting >>the fileName. This is a problem, because it trys to resize my player >>to 0x0 pixels, which reverts back to 1x1. Is there any way to fix >>this problem? I tried wait (until the formattedWidth of player >>"Output")>0, but it just freezes up my stack and you can't >>apple+period out of it. >>Thanks! >>Brad >>CMSEC Maybe fiddling with the alwaysBuffer might help? sims From Roger.E.Eller at sealedair.com Sat Jan 13 13:41:21 2007 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Sat, 13 Jan 2007 13:41:21 -0500 Subject: Need to hide the Acrobat tools via scripting in AltBrowser on PC Message-ID: I am using altBrowser on a PC in Win2k & XP. Is it possible to instruct altBrowser to display the PDF alone, without the tools that are invoked by the Adobe Reader plugin? Roger Eller From cszasz at mac.com Sat Jan 13 13:36:53 2007 From: cszasz at mac.com (Charles Szasz) Date: Sat, 13 Jan 2007 13:36:53 -0500 Subject: Visible Problems Message-ID: I am using Klaus Major's excellent script to create four graphs based on data entered by the user. With the help of Klaus, I have the graphs working. However, I have encountered a problem with the visible property of two graphics used in the fourth graph. Although the Inspector shows that he visible of the graphics is visible (the check box is checked), they are not visible in the project. I checked the colors and they are set to blue and red respectively. I also checked the Application Browser for the card where the graphics for the fourth graph is located and it also indicates that it should be visible. When I checked in the Menu Show Invisible Objects it still is not visible! I tried the Message Box to see what was going on. When I entered the command: Show graphic "g9" and press return, it does not show the graphic. And finally one additional information. The graphs are scripted to show up when data has been entered and a checkbox is checked to show each graph. Each graph has two graphics. The check box works beautifully for the first three graphs but it does not work for the fourth graph. If the check box for the third graph is checked and the check box for the fourth graph is also checked, then both graphs will show. And here is something that is truly weird, if the check box for the three graph is NOT checked so it doesn't show the third graph, the fourth graph will not be presented despite the checkbox being checked! I have checked the scripts and the properties of the graphing code for both graphs 3 and 4 and could find a link to why this is happening. I could not find any script that had typos or the same variable names either. I have been working on this problem for three days! I welcome any comments or suggestions!! I am using Rev Studio v 2.7.4 Charles Szasz cszasz at mac.com From jacque at hyperactivesw.com Sat Jan 13 14:01:02 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 13 Jan 2007 13:01:02 -0600 Subject: Properties not locking in In-Reply-To: <72bdb4b20701130649r756d12a4ieb12f1d197d6b9f3@mail.gmail.com> References: <72bdb4b20701130649r756d12a4ieb12f1d197d6b9f3@mail.gmail.com> Message-ID: <45A92C6E.7060203@hyperactivesw.com> Brad Sampson wrote: > On a project I'm currently working on, I have a script that sets the > fileName of a player, then runs some script that resizes the player > for optimal quality. However, the formattedHeight and formattedWidth > of the player don't appear to be "locked in" when it trys to set them. > They both appear as 0 for a very short time directly after setting > the fileName. This is a problem, because it trys to resize my player > to 0x0 pixels, which reverts back to 1x1. Is there any way to fix > this problem? I tried wait (until the formattedWidth of player > "Output")>0, but it just freezes up my stack and you can't > apple+period out of it. It seems that sometimes properties are not recognized until the player actually does something with the movie. You could try starting the movie and playing only the first frame or the first few milliseconds, then stopping it. Anything that forces the player to do something with the movie data may work to jolt the player into recognizing the size properties. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Jan 13 14:17:17 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 13 Jan 2007 13:17:17 -0600 Subject: Some thoughts on testings... In-Reply-To: <059562C7-7E6A-4D22-B902-478E0ABBCEEA@bellsouth.net> References: <059562C7-7E6A-4D22-B902-478E0ABBCEEA@bellsouth.net> Message-ID: <45A9303D.101@hyperactivesw.com> Andrew Meit wrote: > I recently had been forced to move all my files to my ibook and make it > my main computer while I figure out what to do with my old iMac G4 LCD > dying...while doing so, I came across a file I saved and thought it > important to post on the list in light of the open beta of 2.7.5...read > slowly: This post was just excellent, thanks for passing it on. I couldn't agree more with the points the author makes. In almost every professional job I've done, the client says they will test the software themselves. This is usually disasterous. No one seems to recognize that the testing process should take as long as the development process and should be an integral part of the budget and schedule. Few realize the kind of talent and precision that goes into professional software testing. I am lucky enough to have a wonderful professional QA person who works with me when the client's budget allows it. I understand the author's comments about "hurting the developer's feelings" -- I always knew when my tester was at work because my mailbox would fill up with bug reports. My response was always a love/hate thing. I loved that he was so good at what he does and that he was finding flaws, because in the long run it would make my work much better. But I also hated that he was finding flaws because it meant more work for me. Every time I'd see another 20 reports in my mailbox my heart would sink. And then I'd have to go fix things again. But he's a great guy, and we're both pros, and we are able to easily separate critique from criticism. As a result, my last project was one of the best of my career. Note that this client originally told me he'd test it himself. He found three or four bugs over a couple of weeks. I insisted that we needed a professional QA engineer. Once my QA guy got his hands on it, he found 165 bugs. The client was astounded -- and grateful. There is a skill and talent involved in software testing, and not everyone has what it takes to do it well. The developer certainly doesn't, and the client rarely does either. A qualified, professional QA person is pure gold, and if you find a good one you should do whatever it takes to hang on to them. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mark at maseurope.net Sat Jan 13 14:17:47 2007 From: mark at maseurope.net (Mark Smith) Date: Sat, 13 Jan 2007 19:17:47 +0000 Subject: Visible Problems In-Reply-To: References: Message-ID: <66F5AADF-FB8D-4D7E-B724-1FFB7D663836@maseurope.net> Could it be that something is in front of the graphics (a background graphic or field, maybe)? If so, setting the layer of the graphics to "top" should do it. One other thought is that in very dense line graphics, if the antialiased of them is set to true, they can sometimes antialias themselves into invisibility, so you could try setting the antialiased of them to false. Best, Mark On 13 Jan 2007, at 18:36, Charles Szasz wrote: > I am using Klaus Major's excellent script to create four graphs > based on data entered by the user. With the help of Klaus, I have > the graphs working. However, I have encountered a problem with the > visible property of two graphics used in the fourth graph. Although > the Inspector shows that he visible of the graphics is visible (the > check box is checked), they are not visible in the project. I > checked the colors and they are set to blue and red respectively. I > also checked the Application Browser for the card where the > graphics for the fourth graph is located and it also indicates that > it should be visible. When I checked in the Menu Show Invisible > Objects it still is not visible! I tried the Message Box to see > what was going on. When I entered the command: Show graphic "g9" > and press return, it does not show the graphic. > > And finally one additional information. The graphs are scripted to > show up when data has been entered and a checkbox is checked to > show each graph. Each graph has two graphics. The check box works > beautifully for the first three graphs but it does not work for the > fourth graph. If the check box for the third graph is checked and > the check box for the fourth graph is also checked, then both > graphs will show. And here is something that is truly weird, if the > check box for the three graph is NOT checked so it doesn't show the > third graph, the fourth graph will not be presented despite the > checkbox being checked! I have checked the scripts and the > properties of the graphing code for both graphs 3 and 4 and could > find a link to why this is happening. I could not find any script > that had typos or the same variable names either. > > I have been working on this problem for three days! I welcome any > comments or suggestions!! I am using Rev Studio v 2.7.4 > > > Charles Szasz > cszasz at mac.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mark at maseurope.net Sat Jan 13 14:18:04 2007 From: mark at maseurope.net (Mark Smith) Date: Sat, 13 Jan 2007 19:18:04 +0000 Subject: Properties not locking in In-Reply-To: <72bdb4b20701130649r756d12a4ieb12f1d197d6b9f3@mail.gmail.com> References: <72bdb4b20701130649r756d12a4ieb12f1d197d6b9f3@mail.gmail.com> Message-ID: <4D5B8A74-CE61-41FC-9786-91E485FD8BB2@maseurope.net> You could simply put a fixed wait in, say 10 or 20 millisecs (not enough fro the user to notice, but enough for the player to sort itself out, you'll have to experiment to see what works well), or do a send in time that keeps going until the player is ready: on checkPlayer wait 10 millisecs if the formattedWidth of player "Output" > 0 then doFormatting else send "checkPlayer" to me in 10 millisecs end if end checkPlayer Best, Mark On 13 Jan 2007, at 14:49, Brad Sampson wrote: > On a project I'm currently working on, I have a script that sets the > fileName of a player, then runs some script that resizes the player > for optimal quality. However, the formattedHeight and formattedWidth > of the player don't appear to be "locked in" when it trys to set them. > They both appear as 0 for a very short time directly after setting > the fileName. This is a problem, because it trys to resize my player > to 0x0 pixels, which reverts back to 1x1. Is there any way to fix > this problem? I tried wait (until the formattedWidth of player > "Output")>0, but it just freezes up my stack and you can't > apple+period out of it. > Thanks! > Brad > CMSEC > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From JimAultWins at yahoo.com Sat Jan 13 14:25:41 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Sat, 13 Jan 2007 11:25:41 -0800 Subject: Force interrupt In-Reply-To: <41F8139D-FC36-4E0B-8124-1D90FDCC480C@together.net> Message-ID: On 1/13/07 6:10 AM, "Richard Miller" wrote: > I believe you gave me the clues I needed. It looks like the way we > used the Send command in a few places was the problem. > > Thanks! > Richard > Glad that you found the culprit. The asynchronous bugs are the most difficult to trace. Jim Ault Las Vegas From cszasz at mac.com Sat Jan 13 15:53:07 2007 From: cszasz at mac.com (Charles Szasz) Date: Sat, 13 Jan 2007 15:53:07 -0500 Subject: Visibility Problem Message-ID: <7146FD51-AECE-4411-AABD-72CB52C0F15F@mac.com> I am using Klaus Major's excellent script to create four graphs based on data entered by the user. With the help of Klaus, I have the graphs working. However, I have encountered a problem with the visible property of two graphics used in the fourth graph. Although the Inspector shows that he visible of the graphics is visible (the check box is checked), they are not visible in the project. I checked the colors and they are set to blue and red respectively. I also checked the Application Browser for the card where the graphics for the fourth graph is located and it also indicates that it should be visible. When I checked in the Menu Show Invisible Objects it still is not visible! I tried the Message Box to see what was going on. When I entered the command: Show graphic "g9" and press return, it does not show the graphic. And finally one additional information. The graphs are scripted to show up when data has been entered and a checkbox is checked to show each graph. Each graph has two graphics. The check box works beautifully for the first three graphs but it does not work for the fourth graph. If the check box for the third graph is checked and the check box for the fourth graph is also checked, then both graphs will show. And here is something that is truly weird, if the check box for the three graph is NOT checked so it doesn't show the third graph, the fourth graph will not be presented despite the checkbox being checked! I have checked the scripts and the properties of the graphing code for both graphs 3 and 4 and could find a link to why this is happening. I could not find any script that had typos or the same variable names either. I have been working on this problem for three days! I welcome any comments or suggestions!! I am using Rev Studio v 2.7.4 Charles Szasz cszasz at mac.com From Roger.E.Eller at sealedair.com Sat Jan 13 16:08:12 2007 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Sat, 13 Jan 2007 16:08:12 -0500 Subject: Visibility Problem Message-ID: > I tried the Message Box to see what was going on. > When I entered the command: Show graphic "g9" and press return, it > does not show the graphic. Sometimes, when referencing objects by name, I see this behavior when there are (accidentally created) duplicates with the same name. Try using the id, or delete the object to see if there is a duplicate. Roger Eller From martyknapp at comcast.net Sat Jan 13 16:11:08 2007 From: martyknapp at comcast.net (Marty Knapp) Date: Sat, 13 Jan 2007 13:11:08 -0800 Subject: Testing . . . In-Reply-To: <15CD4D33-5561-4C3D-B8D7-702B1885F237@sosmartsoftware.com> References: <001d01c71d02$ecdf0f50$0201010a@visualmicro> <15CD4D33-5561-4C3D-B8D7-702B1885F237@sosmartsoftware.com> Message-ID: <45A94AEC.5080602@comcast.net> Testing 1223 I haven't been getting anything from the user list for a while - I have emailed Runrev a couple of times with no response . . . Marty Knapp From pepetoo at Cox.Net Sat Jan 13 17:20:57 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Sat, 13 Jan 2007 14:20:57 -0800 Subject: Visibility Problem In-Reply-To: <7146FD51-AECE-4411-AABD-72CB52C0F15F@mac.com> References: <7146FD51-AECE-4411-AABD-72CB52C0F15F@mac.com> Message-ID: Charles, How about the layer in which the graph is drawn? Any chance it is behind something else? Joe Wilkins On Jan 13, 2007, at 12:53 PM, Charles Szasz wrote: > I am using Klaus Major's excellent script to create four graphs > based on data entered by the user. With the help of Klaus, I have > the graphs working. However, I have encountered a problem with the > visible property of two graphics used in the fourth graph. Although > the Inspector shows that he visible of the graphics is visible (the > check box is checked), they are not visible in the project. I > checked the colors and they are set to blue and red respectively. I > also checked the Application Browser for the card where the > graphics for the fourth graph is located and it also indicates that > it should be visible. When I checked in the Menu Show Invisible > Objects it still is not visible! I tried the Message Box to see > what was going on. When I entered the command: Show graphic "g9" > and press return, it does not show the graphic. > > And finally one additional information. The graphs are scripted to > show up when data has been entered and a checkbox is checked to > show each graph. Each graph has two graphics. The check box works > beautifully for the first three graphs but it does not work for the > fourth graph. If the check box for the third graph is checked and > the check box for the fourth graph is also checked, then both > graphs will show. And here is something that is truly weird, if the > check box for the three graph is NOT checked so it doesn't show the > third graph, the fourth graph will not be presented despite the > checkbox being checked! I have checked the scripts and the > properties of the graphing code for both graphs 3 and 4 and could > find a link to why this is happening. I could not find any script > that had typos or the same variable names either. > > I have been working on this problem for three days! I welcome any > comments or suggestions!! I am using Rev Studio v 2.7.4 > > > > > Charles Szasz > cszasz at mac.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From wjm at wjm.org Sat Jan 13 17:32:31 2007 From: wjm at wjm.org (Bill Marriott) Date: Sat, 13 Jan 2007 17:32:31 -0500 Subject: Cron job w/ Rev CGI Message-ID: Does anyone know how to run a cron job with Rev CGI for Linux? I would like to set up a script to execute every 15 minutes. From mdswindell at cruzio.com Sat Jan 13 17:39:42 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Sat, 13 Jan 2007 14:39:42 -0800 Subject: Appearance of buttons in OS X Message-ID: <1414DD79-2A29-4161-88C3-D7483281B78A@cruzio.com> In creating a standalone for OS X, buttons are losing their OS X appearance... shadings and textures. They are flat 2D outlines, more similar to a Windows look. I can't see a preference to get these to look right . An earlier build looks perfect, but I don't know what I've changed. Rev Studio 2.7.4 OS X 10.4 Thanks Mark From psahores at free.fr Sat Jan 13 18:20:54 2007 From: psahores at free.fr (Pierre Sahores) Date: Sun, 14 Jan 2007 00:20:54 +0100 Subject: Cron job w/ Rev CGI In-Reply-To: References: Message-ID: Bill, If i had to design, test and debug such a task, i would do it in using the CronniX freeware under the Mac OS X platform before installing the end result under Linux... Best Regards, PS: little bug report : When lauching Rev 2.1.2 under the Solaris 10 Sun 5.10 x86 platform (last version available for this OS/platform), there is no tool coming up to screen (wheel, watch, or so) to let us know that the launching process is starting : we have to wait until the Rev copyright windows pop up to be sure that rev is clearly starting... Le 13 janv. 07 ? 23:32, Bill Marriott a ?crit : > Does anyone know how to run a cron job with Rev CGI for Linux? I > would like > to set up a script to execute every 15 minutes. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Pierre Sahores www.sahores-conseil.com From sarah.reichelt at gmail.com Sat Jan 13 18:47:27 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 14 Jan 2007 09:47:27 +1000 Subject: Appearance of buttons in OS X In-Reply-To: <1414DD79-2A29-4161-88C3-D7483281B78A@cruzio.com> References: <1414DD79-2A29-4161-88C3-D7483281B78A@cruzio.com> Message-ID: On 1/14/07, Mark Swindell wrote: > In creating a standalone for OS X, buttons are losing their OS X > appearance... shadings and textures. They are flat 2D outlines, more > similar to a Windows look. I can't see a preference to get these to > look right . > > An earlier build looks perfect, but I don't know what I've changed. > > Rev Studio 2.7.4 OS X 10.4 The appearance plugins have not been copied into the bundle. Look inside the bundle for your actual Revolution app and in the Contents folder, you will find a Plugins folder with 4 .bundle files inside it (they may look like folders). Copy these bundles to the equivalent Plugins folder in your app and all will be well. Cheers, Sarah From ambassador at fourthworld.com Sat Jan 13 18:48:38 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 13 Jan 2007 15:48:38 -0800 Subject: export in v2.7? Message-ID: <45A96FD6.4050305@fourthworld.com> In the olden days the export command worked only on the screen buffer, which meant that you couldn't export anything that was offscreen, and anything overlapping the window you wanted to export from was included in the exported image. I have a vague recollection somewhere that v2.7's new buffer management has altered this to allow exporting portions of a specified window without regard for anything overlapping it. Am I dreaming? If not, what is the syntax to make this happen? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From scott at tactilemedia.com Sat Jan 13 19:05:41 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 13 Jan 2007 16:05:41 -0800 Subject: export in v2.7? In-Reply-To: <45A96FD6.4050305@fourthworld.com> Message-ID: Recently, Richard Gaskin wrote: > I have a vague recollection somewhere that v2.7's new buffer management > has altered this to allow exporting portions of a specified window > without regard for anything overlapping it. > > Am I dreaming? If not, what is the syntax to make this happen? If I understand your question, one way is to reference the card of the target stack: export snapshot from rect (rect of btn 1 of stack myStack) of cd 1 of stack myStack to url ("binfile:" & tPath) as PNG Hope this helps. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From chipp at chipp.com Sat Jan 13 19:31:28 2007 From: chipp at chipp.com (Chipp Walters) Date: Sat, 13 Jan 2007 18:31:28 -0600 Subject: Visibility Problem In-Reply-To: <7146FD51-AECE-4411-AABD-72CB52C0F15F@mac.com> References: <7146FD51-AECE-4411-AABD-72CB52C0F15F@mac.com> Message-ID: <7aa52a210701131631n6a697e1cta616bcd43a9cbe02@mail.gmail.com> Couple of thoughts. Try asking explicitly if the grc are visible..iow don't take the App browser's word for it. It sometimes has a difficult time updating. try in the message box: put the visible of grc "myGrc" also, to make sure you have only one grc with the name you're looking for. So try: repeat with x=1 to the number of grcs on this cd if the short name of grc x is "theOneToLookFor" then add 1 to tFoundCount end repeat answer tFoundCount From wjm at wjm.org Sat Jan 13 19:32:18 2007 From: wjm at wjm.org (Bill Marriott) Date: Sat, 13 Jan 2007 19:32:18 -0500 Subject: Cron job w/ Rev CGI References: Message-ID: Well, I have a little Rev CGI script that works exactly the way I want it to when I summon it from the address bar using a web browser... I just want it to do its thing every 15 minutes now. I don't even know the syntax/procedure for that. "Pierre Sahores" wrote in message news:E7F3E088-5EF4-4D56-B2D5-BCCA57792C38 at free.fr... Bill, If i had to design, test and debug such a task, i would do it in using the CronniX freeware under the Mac OS X platform before installing the end result under Linux... Best Regards, PS: little bug report : When lauching Rev 2.1.2 under the Solaris 10 Sun 5.10 x86 platform (last version available for this OS/platform), there is no tool coming up to screen (wheel, watch, or so) to let us know that the launching process is starting : we have to wait until the Rev copyright windows pop up to be sure that rev is clearly starting... Le 13 janv. 07 ? 23:32, Bill Marriott a ?crit : > Does anyone know how to run a cron job with Rev CGI for Linux? I would > like > to set up a script to execute every 15 minutes. > From mdswindell at cruzio.com Sat Jan 13 20:04:38 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Sat, 13 Jan 2007 17:04:38 -0800 Subject: Appearance of buttons in OS X In-Reply-To: References: <1414DD79-2A29-4161-88C3-D7483281B78A@cruzio.com> Message-ID: <0C62486E-A04D-42C3-A1DE-A3E169E41BF6@cruzio.com> Thanks Sarah. Isn't this something the Standalone builder should do automatically, though? Mark On Jan 13, 2007, at 3:47 PM, Sarah Reichelt wrote: > On 1/14/07, Mark Swindell wrote: >> In creating a standalone for OS X, buttons are losing their OS X >> appearance... shadings and textures. They are flat 2D outlines, more >> similar to a Windows look. I can't see a preference to get these to >> look right . >> >> An earlier build looks perfect, but I don't know what I've changed. >> >> Rev Studio 2.7.4 OS X 10.4 > > The appearance plugins have not been copied into the bundle. Look > inside the bundle for your actual Revolution app and in the Contents > folder, you will find a Plugins folder with 4 .bundle files inside it > (they may look like folders). Copy these bundles to the equivalent > Plugins folder in your app and all will be well. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dave.cragg at lacscentre.co.uk Sat Jan 13 20:15:58 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Sun, 14 Jan 2007 01:15:58 +0000 Subject: Cron job w/ Rev CGI In-Reply-To: References: Message-ID: <6F7C1897-7941-40E8-8A08-7FD2C6544D3B@lacscentre.co.uk> On 14 Jan 2007, at 00:32, Bill Marriott wrote: > Well, I have a little Rev CGI script that works exactly the way I > want it to > when I summon it from the address bar using a web browser... I just > want it > to do its thing every 15 minutes now. I don't even know the syntax/ > procedure > for that. There's a good tutorial here. http://www.linux-tutorial.info/modules.php?name=Tutorial&pageid=78 But basically, you need to enter a line in your crontab something like the following: */15 * * * * /path/to/cgi/script.rev > /dev/null This will run the script every 15 minutes. Like Pierre, I like to use Cronnix on OS X. I'm generally nervous around Linux, but I've used the following procedure before. 1. Export the existing crontab to a file. The command would be crontab -l > /path/to/file.txt 2. Edit the file by adding your new entry (similar to the above example) at the end. 3. Re-install the settings: crontab /path/to/file.txt I suggest reading the tutorial first. Be careful! :-) Dave From wjm at wjm.org Sat Jan 13 20:47:49 2007 From: wjm at wjm.org (Bill Marriott) Date: Sat, 13 Jan 2007 20:47:49 -0500 Subject: Cron job w/ Rev CGI References: <6F7C1897-7941-40E8-8A08-7FD2C6544D3B@lacscentre.co.uk> Message-ID: Got it working... The tricks were: 1) path to my script was ./sitename/cgi-bin/script 2) I have to use the full pathname to the engine, e.g.: #!./sitename/cgi-bin/revolution at the start of my scripts The only remaining problem is that the server emails me every time it runs: Could not open libgdk-x11-2.0.so: libgobject-2.0.so: cannot open shared object file: No such file or directory otherwise the script runs perfectly. Any ideas how to eliminate/suppress that error message? "Dave Cragg" wrote in message news:6F7C1897-7941-40E8-8A08-7FD2C6544D3B at lacscentre.co.uk... > > On 14 Jan 2007, at 00:32, Bill Marriott wrote: > >> Well, I have a little Rev CGI script that works exactly the way I want >> it to >> when I summon it from the address bar using a web browser... I just want >> it >> to do its thing every 15 minutes now. I don't even know the syntax/ >> procedure >> for that. > > There's a good tutorial here. > > http://www.linux-tutorial.info/modules.php?name=Tutorial&pageid=78 > > But basically, you need to enter a line in your crontab something like > the following: > > */15 * * * * /path/to/cgi/script.rev > /dev/null > > This will run the script every 15 minutes. > > Like Pierre, I like to use Cronnix on OS X. I'm generally nervous around > Linux, but I've used the following procedure before. > > 1. Export the existing crontab to a file. The command would be > > crontab -l > /path/to/file.txt > > 2. Edit the file by adding your new entry (similar to the above example) > at the end. > > 3. Re-install the settings: > > crontab /path/to/file.txt > > > I suggest reading the tutorial first. > Be careful! :-) > > Dave > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From cszasz at mac.com Sat Jan 13 22:21:19 2007 From: cszasz at mac.com (Charles Szasz) Date: Sat, 13 Jan 2007 22:21:19 -0500 Subject: Visibility Problem Message-ID: Mark, I tried both of your suggestions - setting antialiased to false and moving the graphic to top but no success. Charles Szasz cszasz at mac.com From cassj at earthlink.net Sat Jan 13 22:39:13 2007 From: cassj at earthlink.net (cassj at earthlink.net) Date: Sat, 13 Jan 2007 22:39:13 -0500 Subject: OMG!!!! Steve Jobs is launching the iPhone and it runs MacOS X. In-Reply-To: References: Message-ID: <45A9A5E1.7030005@earthlink.net> Yer a crazy GNUt!!! Roger.E.Eller at sealedair.com wrote: > Now that there is a 'smaller' version of OS X , I wonder if the releases > will be named something like: Tabby, Calico, and Persian. :-) Or, with > the new company name change, the new releases could be different varieties > of apple. I'm looking forward to Granny Smith (aka 11.0.0). > > Roger Eller > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From sarah.reichelt at gmail.com Sat Jan 13 23:58:55 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 14 Jan 2007 14:58:55 +1000 Subject: Appearance of buttons in OS X In-Reply-To: <0C62486E-A04D-42C3-A1DE-A3E169E41BF6@cruzio.com> References: <1414DD79-2A29-4161-88C3-D7483281B78A@cruzio.com> <0C62486E-A04D-42C3-A1DE-A3E169E41BF6@cruzio.com> Message-ID: Yes, and in 2.7.5 beta 1 & 2 this was fixed, but in 2.7.4 it was still a problem. Cheers, Sarah On 1/14/07, Mark Swindell wrote: > Thanks Sarah. Isn't this something the Standalone builder should do > automatically, though? > Mark > > On Jan 13, 2007, at 3:47 PM, Sarah Reichelt wrote: > > > On 1/14/07, Mark Swindell wrote: > >> In creating a standalone for OS X, buttons are losing their OS X > >> appearance... shadings and textures. They are flat 2D outlines, more > >> similar to a Windows look. I can't see a preference to get these to > >> look right . > >> > >> An earlier build looks perfect, but I don't know what I've changed. > >> > >> Rev Studio 2.7.4 OS X 10.4 > > > > The appearance plugins have not been copied into the bundle. Look > > inside the bundle for your actual Revolution app and in the Contents > > folder, you will find a Plugins folder with 4 .bundle files inside it > > (they may look like folders). Copy these bundles to the equivalent > > Plugins folder in your app and all will be well. > > > > Cheers, > > Sarah > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From palcibiades-first at yahoo.co.uk Sun Jan 14 03:25:52 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sun, 14 Jan 2007 08:25:52 +0000 Subject: Way to read from USB port with Rev (Bar Code Reader) Message-ID: <200701140825.52890.palcibiades-first@yahoo.co.uk> "say, can you tell me which barcode reader you've tried this with?" Sure, its a Datalogic Gryphon. Any reader which uses a Y cable to connect should work however. The only problem I can see with this method is that you have to ensure that the window in which your data is going to be entered has focus. And if the user does something with the mouse or keyboard, those events will be registered as well. So maybe some sort of script is necessary when the Rev application is opened that somehow locks down the input. If its for your own use rather than in a production environment that shouldn't be an issue. The Gryphon is a nice piece of gear. You press the trigger. A light bar shines out of the scanner end. You move the light bar to the bar code, it beeps, a green light appears, and the data appears in the field. Pretty robust and available used quite cheaply. From rjearp at hotmail.com Sun Jan 14 04:35:53 2007 From: rjearp at hotmail.com (Bob Earp) Date: Sun, 14 Jan 2007 01:35:53 -0800 Subject: Image Libraries Message-ID: Does anybody know where there is some good documentation on the care and use of the Image Library ? The on-line documentation says "see the Object & Image Library section", but such a section does not seem to be included. Tnx, Bob... Bob Earp - White Rock, British Columbia _________________________________________________________________ Be one of the first to try Windows Live Mail. http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d From scott at elementarysoftware.com Sun Jan 14 06:22:02 2007 From: scott at elementarysoftware.com (Scott Morrow) Date: Sun, 14 Jan 2007 03:22:02 -0800 Subject: Visibility Problem In-Reply-To: References: Message-ID: Charles, Is the loc of the graph where it would be visible to your eyes? Inadvertently placing an object outside the rect of the card has messed me up more than a few times. -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com ----------------------------------------------------------------- On Jan 13, 2007, at 7:21 PM, Charles Szasz wrote: > Mark, > > I tried both of your suggestions - setting antialiased to false > and moving the graphic to top but no success. > > > Charles Szasz > cszasz at mac.com From wjm at wjm.org Sun Jan 14 07:35:04 2007 From: wjm at wjm.org (Bill Marriott) Date: Sun, 14 Jan 2007 07:35:04 -0500 Subject: Cron job w/ Rev CGI References: <6F7C1897-7941-40E8-8A08-7FD2C6544D3B@lacscentre.co.uk> Message-ID: Well, I figured out how to suppress the error messages. I can add a second parameter to the end of the crontab entry which redirects error messages to the file/directory of my choice. 2>/dev/null So, the whole string is */15 * * * * /path/to/cgi/script.rev >/dev/null 2>/dev/null or simply */15 * * * * /path/to/cgi/script.rev >/dev/null 2>&1 The error seems to occur because the rev engine is looking for graphics libraries which either don't exist, or cannot be found (because my hosting provider does not provide environment variables to cron jobs). Next, I'll be experimenting with "send XX to me in NN minutes" to see if that kind of thing works in a CGI. Thanks! "Bill Marriott" wrote in message news:eoc25u$6ca$1 at sea.gmane.org... > Got it working... > > The tricks were: > > 1) path to my script was ./sitename/cgi-bin/script > > 2) I have to use the full pathname to the engine, e.g.: > > #!./sitename/cgi-bin/revolution > > at the start of my scripts > > The only remaining problem is that the server emails me every time it > runs: > > Could not open libgdk-x11-2.0.so: libgobject-2.0.so: cannot open shared > object file: No such file or directory > > otherwise the script runs perfectly. > > Any ideas how to eliminate/suppress that error message? > > > "Dave Cragg" wrote in > message > news:6F7C1897-7941-40E8-8A08-7FD2C6544D3B at lacscentre.co.uk... >> >> On 14 Jan 2007, at 00:32, Bill Marriott wrote: >> >>> Well, I have a little Rev CGI script that works exactly the way I want >>> it to >>> when I summon it from the address bar using a web browser... I just >>> want it >>> to do its thing every 15 minutes now. I don't even know the syntax/ >>> procedure >>> for that. >> >> There's a good tutorial here. >> >> http://www.linux-tutorial.info/modules.php?name=Tutorial&pageid=78 >> >> But basically, you need to enter a line in your crontab something like >> the following: >> >> */15 * * * * /path/to/cgi/script.rev > /dev/null >> >> This will run the script every 15 minutes. >> >> Like Pierre, I like to use Cronnix on OS X. I'm generally nervous around >> Linux, but I've used the following procedure before. >> >> 1. Export the existing crontab to a file. The command would be >> >> crontab -l > /path/to/file.txt >> >> 2. Edit the file by adding your new entry (similar to the above >> example) at the end. >> >> 3. Re-install the settings: >> >> crontab /path/to/file.txt >> >> >> I suggest reading the tutorial first. >> Be careful! :-) >> >> Dave >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From psahores at free.fr Sun Jan 14 08:23:41 2007 From: psahores at free.fr (Pierre Sahores) Date: Sun, 14 Jan 2007 14:23:41 +0100 Subject: Cron job w/ Rev CGI In-Reply-To: References: <6F7C1897-7941-40E8-8A08-7FD2C6544D3B@lacscentre.co.uk> Message-ID: Bill, Did you try to upload empty files named with the "lost libs" names behind your Rev engine in your cgi-bin directory. Some times, it does the trick if i right remember the Jacque's CGI courses. Best, Le 14 janv. 07 ? 13:35, Bill Marriott a ?crit : > The error seems to occur because the rev engine is looking for > graphics > libraries which either don't exist, or cannot be found (because my > hosting > provider does not provide environment variables to cron jobs). -- Pierre Sahores www.sahores-conseil.com From david at openpartnership.net Sun Jan 14 08:26:04 2007 From: david at openpartnership.net (David Bovill) Date: Sun, 14 Jan 2007 14:26:04 +0100 Subject: Ed-Media/AACE CFP In-Reply-To: References: Message-ID: Possibly Judy - we are looking to do some presentations with Internet 2, Re software and some EU and US universities... so keep us in touch? From david at openpartnership.net Sun Jan 14 08:49:18 2007 From: david at openpartnership.net (David Bovill) Date: Sun, 14 Jan 2007 14:49:18 +0100 Subject: Virtual Custom Property Sample - Recursion Limit Problem In-Reply-To: <45A7DF80.2040303@fourthworld.com> References: <45A7DF80.2040303@fourthworld.com> Message-ID: On 12/01/07, Jim Ault wrote: > Lock messages=true will mean the unwanted message will not be introduced > into the hierarchy. Actually, I find little or no value to the > getProp/setProp behavior and simply program a normal handler to do the > task. > Every time I think that getProp will be an advantage, it turns out not to > be > and no pesky recursion to thwart. I would strongly disagree with that. In nearly half of my handlers are now getprop and setprop handlers. They have a number of strengths and a few weaknesses. Recursion is not really one of the weaknesses as a call to a getprop or setprop handler is in effect equivalent to "sending" a handler to an object - you get recursion in exactly the same way in both cases. On 12/01/07, Richard Gaskin wrote: And FWIW, using getProp/setProp benchmarks a tad slower than calling a > handler, so it really depends on what you want to accomplish. > > One thing getProp/setProp do well is maintain a reference to a specific > object, the target. So if all you need is something procedural a > handler will do, but if you need something to act on a specific object > which may not be the target of a user interaction then getProp/setProp > can be helpful. I agree here - the syntax only really works if you are effectively thinking of a specific Rev control ("object"). In addition you should be liited to one or two parameters. I find both the thinking and the limitation very useful. It helps you think less in terms of "libraries" and more in terms of "objects" with properties, and it forces you to define interfaces which are simpler and involve less parameter passing. There are some other features which can be useful - for instance if you want to not have error called when the handler is not present. You can then either use "try" which slows things down - or use a getprop or setprop handler - if they are not there then the call just returns empty. There are a couple of problems / things I wish would be improved: 1) getprop handlers can return arrays but you cannot pass an array as a parameter to a setprop handler. Therefore "put the table_Array of fld 1 into someArray" works fine, but set the table_Array of fld 1 to someArray" will get you nowhere as the array is not passed. 2) lock messages locks stops messages being sent and therefore any recursion, but is badly designed in that it also blocks the initial call to the getprop or setprop handler. This prevents a couple of very useful things you could do when you start to try to design reuseable components. From cszasz at mac.com Sun Jan 14 09:02:25 2007 From: cszasz at mac.com (Charles Szasz) Date: Sun, 14 Jan 2007 09:02:25 -0500 Subject: Visibility Problem Message-ID: <7173C118-8D1C-4EA8-B07D-2D167A300D2F@mac.com> Scott, Thanks for that suggestion! The loc is within rec of the card. I have found through further study that the two graphics (g7 and g8) are not receiving the data points except when the third graphic has it checkbox checked. And the data points are not the same for graphics 3 and 4. I still cannot any duplicate code that allows for the data points to be passed when. I tried to post a snippet of this code but because of its size it was not posted. Charles Szasz cszasz at mac.com From david at openpartnership.net Sun Jan 14 10:54:38 2007 From: david at openpartnership.net (David Bovill) Date: Sun, 14 Jan 2007 16:54:38 +0100 Subject: Visibility Problem In-Reply-To: <7173C118-8D1C-4EA8-B07D-2D167A300D2F@mac.com> References: <7173C118-8D1C-4EA8-B07D-2D167A300D2F@mac.com> Message-ID: On 14/01/07, Charles Szasz wrote: > > I tried to post a snippet of this > code but because of its size it was not posted. Charles you can use a service like http://rafb.net/paste/ for this - then you just add the the url of the pasted code to the email? From ambassador at fourthworld.com Sun Jan 14 11:03:36 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 14 Jan 2007 08:03:36 -0800 Subject: Virtual Custom Property Sample - Recursion Limit Problem Message-ID: <45AA5458.9010104@fourthworld.com> David Bovill wrote: > 2) lock messages locks stops messages being sent and therefore any > recursion, but is badly designed in that it also blocks the initial call to > the getprop or setprop handler. This prevents a couple of very useful things > you could do when you start to try to design reuseable components. That's why if I do have a need to lock messages to prevent recursion in getProp/setProp I tend to do so inside the getProp/setProp handler, rather than in the handler that calls it. But more frequently I just use an internal name for any actual property that needs to be set, different from the virtual property name I'm using for the trigger: setProp MyProperty pMyValue DoSomething set the _MyProperty of the target to pMyValue DoSomethingElse end MyProperty -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From david at openpartnership.net Sun Jan 14 11:31:22 2007 From: david at openpartnership.net (David Bovill) Date: Sun, 14 Jan 2007 17:31:22 +0100 Subject: Virtual Custom Property Sample - Recursion Limit Problem In-Reply-To: <45AA5458.9010104@fourthworld.com> References: <45AA5458.9010104@fourthworld.com> Message-ID: On 14/01/07, Richard Gaskin wrote: > > That's why if I do have a need to lock messages to prevent recursion in > getProp/setProp I tend to do so inside the getProp/setProp handler, > rather than in the handler that calls it. > > But more frequently I just use an internal name for any actual property > that needs to be set, different from the virtual property name I'm using > for the trigger: > > setProp MyProperty pMyValue > DoSomething > set the _MyProperty of the target to pMyValue > DoSomethingElse > end MyProperty Richard these are good techniques but only work for "one level down" and not in general. If you want a group to set the property of one of its elements (a sub-group) and allow this behavior to recurse down the chain until a group no longer supports that property yu are pretty stuck - see quality report http://quality.runrev.com/qacenter/show_bug.cgi?id=4220. This is a very powerful technique which allows components to resize themselves to an arbitrary level of nesting. The only way I have found to do this at the moment is to pass the object calling the custom property as a parameter like this: setprop view_Rect [viewAbove] someRect put the long id of me into myView if viewAbove = myView then return empty -- resize my contents here -- cannot use lock messages as otherwise view_Rect is not called set the view_Rect [myView] of group 1 of me to innerRect end view_Rect This is a hack. You could use the executioncontexts but it is ugly and not supported. It also takes up an unecessary parameter, and is not the right behaviour. The current behaviour is the equivalent of (put the following into any script): on mouseUp lock messages test end mouseUp on test answer "Hello world!" end test and not having the test handler called as the messages are locked. The right thing and most flexible is for the "test" handler to be called within the objects script but not passed up the chain. For a getprop/setprop handler this would mean that: lock messages set the view_Rect of fld 1 to someRect would be trapped by a "view_Rect" handler in fld 1, but not by any handlers up the chain. Votes for bug 4220 appreciated as there is no real way round this - though unless you are interested in re-useable components it wont affect you (yet). From ambassador at fourthworld.com Sun Jan 14 11:35:21 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 14 Jan 2007 08:35:21 -0800 Subject: Virtual Custom Property Sample - Recursion Limit Problem Message-ID: <45AA5BC9.3060407@fourthworld.com> David Bovill wrote: > Richard these are good techniques but only work for "one level down" and not > in general. If you want a group to set the property of one of its elements > (a sub-group) and allow this behavior to recurse down the chain until a > group no longer supports that property yu are pretty stuck - see quality > report http://quality.runrev.com/qacenter/show_bug.cgi?id=4220. Very true, but I wonder if there's some way to get a similar benefit through different means. What is the specific goal being accomplished? What does the app in question do? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rcozens at pon.net Sun Jan 14 11:37:25 2007 From: rcozens at pon.net (Rob Cozens) Date: Sun, 14 Jan 2007 08:37:25 -0800 Subject: Some thoughts on testings... In-Reply-To: <059562C7-7E6A-4D22-B902-478E0ABBCEEA@bellsouth.net> References: <059562C7-7E6A-4D22-B902-478E0ABBCEEA@bellsouth.net> Message-ID: <7.0.1.0.0.20070114082259.01bab920@pon.net> Andrew, Jacque, et al: >- To be considered minimally adequate, the testing effort would have >to detect the symptoms of all critical errors, and the symptoms of >most, if not all, of the symptoms of all other errors. > >I propose that the job of the tester is to do at least minimally >adequate testing, as defined above. Would anyone care to comment on the potential role of testers to: A. Point out where the operational manifestation of the specifications creates illogical or inappropriate user experiences and B. Suggest alternative designs or approaches? 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 LunchnMeets at aol.com Sun Jan 14 11:51:35 2007 From: LunchnMeets at aol.com (LunchnMeets at aol.com) Date: Sun, 14 Jan 2007 11:51:35 EST Subject: Gray Background on Printing Message-ID: Hi Everyone, It seems the default background of a printed sheet is gray. How do I change it so it doesn?t have a colored background? Thanks in advance. Joe Orlando From ludovic.thebault at laposte.net Sun Jan 14 12:31:37 2007 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Sun, 14 Jan 2007 18:31:37 +0100 Subject: Display a text on a movie Message-ID: <20070114183137936581.ca33ad90@laposte.net> Hello, It's not possible to put a field on a movie (rev 2.6.1 on macOS X). But perhaps there is a workaround ? Thanks. Ludovic http://www.botanic06.com From david at openpartnership.net Sun Jan 14 12:37:43 2007 From: david at openpartnership.net (David Bovill) Date: Sun, 14 Jan 2007 18:37:43 +0100 Subject: Virtual Custom Property Sample - Recursion Limit Problem In-Reply-To: <45AA5BC9.3060407@fourthworld.com> References: <45AA5BC9.3060407@fourthworld.com> Message-ID: The aim is to release a re-useable component framework for Rev. A major part of this tool framework are "views" - which are MVC style components designed to replace or enhance the Rev Object Library. Views can be arbitrarily nested - so if you are constructing a complex layout you can take some "layout" views and drag and drop components onto the areas of the layout. Robustness is important and the views must be able to be replaceable with other views of the same type and continue to function. I guess you get the picture. One example of this is that most views can be resized to a rect you specify using the public property "view_Rect". The arbitrary nesting is then achieved by a top level view just kowing its own components and given its own rect where to position a subview. In this way you get a nested series of views each with there own "view_Rect" handler. A resizeStack event triggers the top-evel view to resize its contents using the "view_Rect" properties - all the way down the chain. There is no way in advance of knowing how many levels of nesting there will be - a simple view with a "title bar" may end up with a highly specialised "title bar" comprising of 3 or 4 sub-views. In this way a "View" author only needs to care about and test that his view does what it is supposed to. Good examples of applications of this are for arbitrary forms (think xforms) and modern MVC frameworks like ROR or better Django which can create user interfaces directly from the DB structure. The aim of doing this in Rev is to allow fully customizable interfaces using all the flexibility of the RunRev environment and IDE. I do not think there is any technique which will allow you to do this other than using a recursive type walk down the views. The views themselves need to calculate the sizes of their subviews given their own (new) rect and their own internal logic. Fixed properties wil not do, and whether you use a send or getprop/setprop handlers you have a danger of recursion which could easily be prevented using lock messages if only they worked properly with get/setprop handlers. From soapdog at mac.com Sun Jan 14 12:41:32 2007 From: soapdog at mac.com (Andre Garzia) Date: Sun, 14 Jan 2007 15:41:32 -0200 Subject: Cron job w/ Rev CGI In-Reply-To: References: <6F7C1897-7941-40E8-8A08-7FD2C6544D3B@lacscentre.co.uk> Message-ID: <9AFA2383-72A1-451C-8DA7-00BE5B8B4A44@mac.com> Bill, also, if your CGI uses any environment variable that is only present during CGI "execution time" then this cron job will not work as expected. Invoking your CGI like this in a cron job will not have the same default folder as the apache cgi one nor it will have the friendly variables for you to poke at. If your CGI uses URL parameters for configuration of itself then you know why invoking by the command line will fail. My take would use a cronjob to invoke wget with the CGI URL as a parameter such as: >> */15 * * * * wget http://localhost/cgi-bin/script.cgi Then your time execution would truly be the same thing as the browser being opened at a regular interval... Andre On Jan 13, 2007, at 11:47 PM, Bill Marriott wrote: > Got it working... > > The tricks were: > > 1) path to my script was ./sitename/cgi-bin/script > > 2) I have to use the full pathname to the engine, e.g.: > > #!./sitename/cgi-bin/revolution > > at the start of my scripts > > The only remaining problem is that the server emails me every time > it runs: > > Could not open libgdk-x11-2.0.so: libgobject-2.0.so: cannot open > shared > object file: No such file or directory > > otherwise the script runs perfectly. > > Any ideas how to eliminate/suppress that error message? > > > "Dave Cragg" wrote in > message news:6F7C1897-7941-40E8-8A08-7FD2C6544D3B at lacscentre.co.uk... >> >> On 14 Jan 2007, at 00:32, Bill Marriott wrote: >> >>> Well, I have a little Rev CGI script that works exactly the way >>> I want >>> it to >>> when I summon it from the address bar using a web browser... I >>> just want >>> it >>> to do its thing every 15 minutes now. I don't even know the syntax/ >>> procedure >>> for that. >> >> There's a good tutorial here. >> >> http://www.linux-tutorial.info/modules.php?name=Tutorial&pageid=78 >> >> But basically, you need to enter a line in your crontab something >> like >> the following: >> >> */15 * * * * /path/to/cgi/script.rev > /dev/null >> >> This will run the script every 15 minutes. >> >> Like Pierre, I like to use Cronnix on OS X. I'm generally nervous >> around >> Linux, but I've used the following procedure before. >> >> 1. Export the existing crontab to a file. The command would be >> >> crontab -l > /path/to/file.txt >> >> 2. Edit the file by adding your new entry (similar to the above >> example) >> at the end. >> >> 3. Re-install the settings: >> >> crontab /path/to/file.txt >> >> >> I suggest reading the tutorial first. >> Be careful! :-) >> >> Dave >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From pepetoo at Cox.Net Sun Jan 14 12:41:54 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Sun, 14 Jan 2007 09:41:54 -0800 Subject: Gray Background on Printing In-Reply-To: References: Message-ID: <8C9C1831-F69E-4B0B-8F02-C31437FBF2F3@Cox.Net> Hi Joe, Go into the card's inspector and make sure in the Colors and patterns that the default background color is white, or a nearly so as possible. HTH, Also Joe, Wilkins On Jan 14, 2007, at 8:51 AM, LunchnMeets at aol.com wrote: > Hi Everyone, > > It seems the default background of a printed sheet is gray. How do > I change > it so it doesn?t have a colored background? Thanks in advance. > > Joe > Orlando > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From pepetoo at Cox.Net Sun Jan 14 12:45:23 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Sun, 14 Jan 2007 09:45:23 -0800 Subject: Display a text on a movie In-Reply-To: <20070114183137936581.ca33ad90@laposte.net> References: <20070114183137936581.ca33ad90@laposte.net> Message-ID: <3B83D384-6A3B-46AF-A26F-B352D92AC046@Cox.Net> Hi Ludovic, Take your movie into iMovie. There you should be able to add text or all sorts. Save the movie and then use it in Rev. Obviously, I've never done this, but that's the beauty of Macs, everything usually works seamlessly together. Let me know if that does the trick. Joe Wilkins On Jan 14, 2007, at 9:31 AM, Ludovic Th?bault wrote: > Hello, > > It's not possible to put a field on a movie (rev 2.6.1 on macOS X). > > But perhaps there is a workaround ? > > Thanks. > > Ludovic > http://www.botanic06.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From cszasz at mac.com Sun Jan 14 12:47:29 2007 From: cszasz at mac.com (Charles Szasz) Date: Sun, 14 Jan 2007 12:47:29 -0500 Subject: Visibility Problem Message-ID: At the suggestion of David Bovill, I have posted the complete graph code at http://rafb.net/paste/ Thanks David for telling me about this site! Charles Szasz cszasz at mac.com From wjm at wjm.org Sun Jan 14 12:51:33 2007 From: wjm at wjm.org (Bill Marriott) Date: Sun, 14 Jan 2007 12:51:33 -0500 Subject: Cron job w/ Rev CGI References: <6F7C1897-7941-40E8-8A08-7FD2C6544D3B@lacscentre.co.uk> Message-ID: That was one of the first things I tried; but I might not have put them in the right spots, because the errors still persisted. I tried the cgi-bin folder, the website root folder, and my home directory. "Pierre Sahores" wrote in message news:BCBB332F-E533-4220-A5A4-8989EB54E8F3 at free.fr... Bill, Did you try to upload empty files named with the "lost libs" names behind your Rev engine in your cgi-bin directory. Some times, it does the trick if i right remember the Jacque's CGI courses. Best, Le 14 janv. 07 ? 13:35, Bill Marriott a ?crit : > The error seems to occur because the rev engine is looking for graphics > libraries which either don't exist, or cannot be found (because my > hosting > provider does not provide environment variables to cron jobs). -- Pierre Sahores www.sahores-conseil.com From ludovic.thebault at laposte.net Sun Jan 14 12:54:43 2007 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Sun, 14 Jan 2007 18:54:43 +0100 Subject: Display a text on a movie In-Reply-To: <3B83D384-6A3B-46AF-A26F-B352D92AC046@Cox.Net> References: <20070114183137936581.ca33ad90@laposte.net> <3B83D384-6A3B-46AF-A26F-B352D92AC046@Cox.Net> Message-ID: <20070114185443166482.80c0e93c@laposte.net> On Sun, 14 Jan 2007 09:45:23 -0800, Joe Lewis Wilkins wrote: > Hi Ludovic, > > Take your movie into iMovie. There you should be able to add text or > all sorts. Save the movie and then use it in Rev. Obviously, I've > never done this, but that's the beauty of Macs, everything usually > works seamlessly together. Let me know if that does the trick. Thanks, but i want add text in Rev. I've made a little stack to sync subtitles, and there is a video preview, but actually, subtitles are outside the video because i can't put it on the video. Look here (it's in french) : http://ludovic.thebault.free.fr/download/reSync.zip Ludovic http://www.botanic06.com From david at openpartnership.net Sun Jan 14 13:14:33 2007 From: david at openpartnership.net (David Bovill) Date: Sun, 14 Jan 2007 19:14:33 +0100 Subject: Display a text on a movie In-Reply-To: <20070114185443166482.80c0e93c@laposte.net> References: <20070114183137936581.ca33ad90@laposte.net> <3B83D384-6A3B-46AF-A26F-B352D92AC046@Cox.Net> <20070114185443166482.80c0e93c@laposte.net> Message-ID: Yes - just make sure that the player has the "alwaysbuffer" set to true - then you can put whatever you want in front of it - you can even use inks and transparency if you want From david at openpartnership.net Sun Jan 14 13:18:47 2007 From: david at openpartnership.net (David Bovill) Date: Sun, 14 Jan 2007 19:18:47 +0100 Subject: How to cancel drag and drop when it is in progress? Message-ID: Is there a way for a script to cancel a drag and drop event while it is in progress? set the dragdata to empty Does not seem to work? Am I right that if a mouseDown handler starts a drag-and-drop - then a mouseUp event is not sent (a dragdrop may be sent instead) - but a mouseDoubleUp is sent? From cszasz at mac.com Sun Jan 14 13:30:01 2007 From: cszasz at mac.com (Charles Szasz) Date: Sun, 14 Jan 2007 13:30:01 -0500 Subject: Visibility Problem - Correction Message-ID: At the suggestion of David Bovill, I have posted the complete graph code at: http://rafb.net/p/QM5cAF36.html Charles Szasz cszasz at mac.com From david at openpartnership.net Sun Jan 14 13:54:46 2007 From: david at openpartnership.net (David Bovill) Date: Sun, 14 Jan 2007 19:54:46 +0100 Subject: Visibility Problem - Correction In-Reply-To: References: Message-ID: OK - that was long :) Can't really spot anything... the only thing I can suggest is to debug it properly in stages: and cut out each possible cause one at a time. 1) It seems unlikely that it is an IDE issue as you are using ids - but exclude this by taking Chipps suggestion and write a little routine to check each graph... something like: "put the visibility of someGraph & CR & the rect of someGraph & the points of smeGraph" 2) Have you run through it in the debugger - sometimes an error with the points could cause the script to exit before the end and therefore not "show" the graph? 3) Finally if all else fails break the script up into separate functions and commands - one for each graph and seperate working out the points from actually drawing and show/hiding things - then you can test each seperately excluding one possible cause after the other - long scripts are harder to debug - break it up? that is check the show / hide logic with dummy points, check the functions for creating the points in seperate to the drawing stuff etc? Best I can suggest really? From mwieder at ahsoftware.net Sun Jan 14 14:20:49 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 14 Jan 2007 11:20:49 -0800 Subject: Some thoughts on testings... In-Reply-To: <7.0.1.0.0.20070114082259.01bab920@pon.net> References: <059562C7-7E6A-4D22-B902-478E0ABBCEEA@bellsouth.net> <7.0.1.0.0.20070114082259.01bab920@pon.net> Message-ID: <2193581723.20070114112049@ahsoftware.net> Rob- Sunday, January 14, 2007, 8:37:25 AM, you wrote: > Would anyone care to comment on the potential role of testers to: > A. Point out where the operational manifestation of the > specifications creates illogical or inappropriate user experiences and I think this is key to the user experience. If a user gets confused by the UI or finds an ambiguous situation then the app is not designed properly. Ideally you want this to show up in testing, before the app goes out the door. A good tester will flag situations in which, for example, modality hides or makes unavailable needed functions; label text is confusing; or it's not clear what the next step should be. This is one of the exceptions to part B below. > B. Suggest alternative designs or approaches? Nope. This shouldn't be a function of testing. The problem here is that if the tester/user gets involved in the design of the app they are then in the same myopic position as the developer. Then you have to get someone else to test it. You always know your own code much too well to be able to test it thoroughly. There are exceptions, of course. I've had to go back to developers and have them expose a particular functionality or display a value in a text field instead of a label field so that I could validate a change of state or a data point. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Jan 14 14:29:50 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 14 Jan 2007 11:29:50 -0800 Subject: Some thoughts on testings... In-Reply-To: <059562C7-7E6A-4D22-B902-478E0ABBCEEA@bellsouth.net> References: <059562C7-7E6A-4D22-B902-478E0ABBCEEA@bellsouth.net> Message-ID: <7794122661.20070114112950@ahsoftware.net> Andrew- Saturday, January 13, 2007, 9:35:09 AM, you wrote: > It is almost as if the managers know this. When testers point out > errors, that "slows down" the development effort. Inadequate testing > resources result in fewer errors being reported, and, consequently, > faster development. ROTFL. One classic piece of literature addressing this point is H. James Harrington's "Poor-Quality Cost". -- -Mark Wieder mwieder at ahsoftware.net From revolution at knowledgeworks.plus.com Sun Jan 14 15:28:07 2007 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Sun, 14 Jan 2007 20:28:07 +0000 Subject: Virtual Custom Property Sample - Recursion Limit Problem Message-ID: David Bovill said: >> The arbitrary nesting is then achieved by a top level view just kowing its own components and given its own rect where to position a subview. In this way you get a nested series of views each with there own "view_Rect" handler. A resizeStack event triggers the top-evel view to resize its contents using the "view_Rect" properties - all the way down the chain. << David, this is exactly the kind of layout managment technique that originally led me to ask the question about virtual custom properties :-) Bernard From david at openpartnership.net Sun Jan 14 15:30:59 2007 From: david at openpartnership.net (David Bovill) Date: Sun, 14 Jan 2007 21:30:59 +0100 Subject: Some thoughts on testings... In-Reply-To: <7794122661.20070114112950@ahsoftware.net> References: <059562C7-7E6A-4D22-B902-478E0ABBCEEA@bellsouth.net> <7794122661.20070114112950@ahsoftware.net> Message-ID: Just to add to this thread - a little tangentially maybe - a lot further can be got within the Rev development community by using the community to develop robust components and libraries. By this I mean developer testing using something akin to the philosophy of open source development and unit tests. This would not replace user testing in the sense being discussed - it would just pick up some of the bugs before this stage. The main advantage of this would be the cost - the testing comes as a by=product of developers using code. This is not happening a the moment while it does in other coding environments - which is why they have extensive libraries of well tested code. Of course well tested depends on both the community concerned and the testing and developing infrastructure they use? From cszasz at mac.com Sun Jan 14 15:35:37 2007 From: cszasz at mac.com (Charles Szasz) Date: Sun, 14 Jan 2007 15:35:37 -0500 Subject: Visibility Problem Resolved! Message-ID: The visibility problem that I was experiencing has been resolved! I am not really sure what the problem was in the script but after pasting the script of the first graph and making modifications in the script, the problem disappeared. Thanks to all who tried to help me on this problem! Charles Szasz cszasz at mac.com From david at openpartnership.net Sun Jan 14 15:39:17 2007 From: david at openpartnership.net (David Bovill) Date: Sun, 14 Jan 2007 21:39:17 +0100 Subject: Virtual Custom Property Sample - Recursion Limit Problem In-Reply-To: References: Message-ID: Yes - if you want to take a look at the way I am going about it write to me off list - its pretty near finished and will be open sourced with a separate commercial license for those wanting to include the code in closed projects. The idea is for component developers to get a revenue share on commercial projects, and for open source developers to get the lot for free :) On 14/01/07, Bernard Devlin wrote: > > David Bovill said: > > David, this is exactly the kind of layout managment technique that > originally led me to ask the question about virtual custom > properties :-) From cszasz at mac.com Sun Jan 14 15:42:40 2007 From: cszasz at mac.com (Charles Szasz) Date: Sun, 14 Jan 2007 15:42:40 -0500 Subject: Gray background on printing Message-ID: <5D2C3A4A-E70C-4535-A4AF-1EBE618D9856@mac.com> Joe, Put the following code in open stack: OpenStack set the backgroundcolor of this card to "white" end OpenStack Save it and close the stack and then reopen it and try printing. You can also the script in an opencard handler: openCard set the backgroundcolor of this card to "white" end openCard Charles Szasz cszasz at mac.com From rjearp at hotmail.com Sun Jan 14 15:45:31 2007 From: rjearp at hotmail.com (Bob Earp) Date: Sun, 14 Jan 2007 12:45:31 -0800 Subject: Setting the default source path for image controls Message-ID: First a rant, rave... call it what you will, maybe even me being more of a dufus these days after a recent birthday. Unfortunately I haven't had the luxury of spending a lot of time with Rev over the last year, and am just getting back into it, hence my reliance on its documentation, which has certainly improved greatly since I last looked. However I'm still getting extremely frustrated at having to rely on others to help me overcome what should be a simple "look-up" in some reference material. This time it's trying to find properties and messages for image controls. The documentation Dictionary says "To see a list of messages that can be sent to an image as a result of user actions or internal Revolution events, open the "Transcript Language Dictionary" page of the main Documentation window, and choose "Image Messages" from the Show menu at the top. To see a list of all the properties an image can have, choose "Image Properties" from the Show menu." Hmmmm........... doesn't seem to be a reference on the "main Documentation window" to the Transcript Libray and can't find no schtinkin "Show menu". Oh well, back to the source of all information, you folks :-) I wish to set the default path for image controls, can this be done? If so what is the property for it? Failing that, anybody know if a referenced image (in an image control) can be relative rather than absolute? Tnx, Bob... _________________________________________________________________ Be one of the first to try Windows Live Mail. http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d From david at openpartnership.net Sun Jan 14 16:32:25 2007 From: david at openpartnership.net (David Bovill) Date: Sun, 14 Jan 2007 22:32:25 +0100 Subject: Setting the default source path for image controls In-Reply-To: References: Message-ID: You can"t set the default of an image control directly. Instead you would script it - the technique i use is to add a handler like this: setprop image_File shortFile put the default_Folder of me into rootFolder put rootFolder & shortFile into someFile set the fileName of me to someFile end image_File getprop default_Folder -- you can use a cProp here instead -- or code your defaut folder here put specialFolderPath("Desktop") & "/" into whatever return whatever end default_Folder From list at dreamscapesoftware.com Sun Jan 14 16:37:10 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Sun, 14 Jan 2007 15:37:10 -0600 Subject: Dr. Strangelove (or: How I Learned to Stop Worrying and Love XML) Message-ID: <45AAA286.8080308@dreamscapesoftware.com> Well, I'm a little behind the game, but I'm trying to work with XML documents, and I'm running into walls. I am having difficulty understanding all the different variations of XML, or for that matter, making Regular Expressions that allow me to forget trying to understand XML and just pull the data I need. For example, I can get tags with no problems by using the following command: -- Example: Google get matchText(tData,"(.*)", tShortName) But I start running into problems with tags that have attributes: And tags that have attributes AND "slashes" at the end: Using Regular Expressions on "unpredictable" tags with attributes, nodes, parents, children, grandchildren, aunts, uncles and every other branch of the family tree will only result in problems (as with any large family). Is there any easy way of pulling data from XML? The XML library is definitely not what I would call easy, which is really a shame considering how easy Revolution has always been. So what's the hangup? I'm trying to parse the following data: Am I better off parsing with Revolution's XML code or just using offset, matchText and some regular expressions? Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ From bill at bluewatermaritime.com Sun Jan 14 17:12:15 2007 From: bill at bluewatermaritime.com (Bill) Date: Sun, 14 Jan 2007 18:12:15 -0400 Subject: Gray background on printing In-Reply-To: <5D2C3A4A-E70C-4535-A4AF-1EBE618D9856@mac.com> Message-ID: You can also set up another bug report complaining about the lack of WYSIWIG like I did and vote for it although when I did it the answer was that the invisible gray background is supposed to be like that. I, and it appears most everyone else, have given up and just manually set the backgroundcolor to white. I think the background color should on default be invisible and the color printed should also be invisible which is effectively white for most monitors and printers. If you search in the back messages you will find the explanation as to why presently, by design, it appears white and prints gray (I forgot the reason). I think it had something to do with the one button mouse (remember now we have a two-button mouse that appears to be one button). Bill On 1/14/07 4:42 PM, "Charles Szasz" wrote: > Joe, > > Put the following code in open stack: > > OpenStack > set the backgroundcolor of this card to "white" > end OpenStack > > Save it and close the stack and then reopen it and try printing. > > You can also the script in an opencard handler: > > openCard > set the backgroundcolor of this card to "white" > end openCard > > > Charles Szasz > cszasz at mac.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- http://www.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 2087 Rio Grande, PR 00745 From sarah.reichelt at gmail.com Sun Jan 14 17:29:20 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 15 Jan 2007 08:29:20 +1000 Subject: Dr. Strangelove (or: How I Learned to Stop Worrying and Love XML) In-Reply-To: <45AAA286.8080308@dreamscapesoftware.com> References: <45AAA286.8080308@dreamscapesoftware.com> Message-ID: On 1/15/07, Derek Bump wrote: > Well, I'm a little behind the game, but I'm trying to work with XML > documents, and I'm running into walls. I am having difficulty > understanding all the different variations of XML, or for that matter, > making Regular Expressions that allow me to forget trying to understand > XML and just pull the data I need. > > For example, I can get tags with no problems by using the following command: > > -- Example: Google > get matchText(tData,"(.*)", tShortName) > > But I start running into problems with tags that have attributes: > > > > > And tags that have attributes AND "slashes" at the end: > > > Hi Derek, I tried saving your XML as a text file with the official XML header: Then I opened it using the XML construction kit that is part of my XML demo . It worked perfectly and I was able to extract all the elements & their attributes perfectly. While the XML library has a learning curve, I would recommend that you use it for such parsing. Or use Ken Ray's third-party XML library. Cheers, Sarah From sarah.reichelt at gmail.com Sun Jan 14 17:46:01 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 15 Jan 2007 08:46:01 +1000 Subject: Way to read from USB port with Rev (Bar Code Reader) In-Reply-To: <200701140825.52890.palcibiades-first@yahoo.co.uk> References: <200701140825.52890.palcibiades-first@yahoo.co.uk> Message-ID: On 1/14/07, Peter Alcibiades wrote: > "say, can you tell me which barcode reader you've tried this with?" > > Sure, its a Datalogic Gryphon. Any reader which uses a Y cable to connect > should work however. > > The only problem I can see with this method is that you have to ensure that > the window in which your data is going to be entered has focus. And if the > user does something with the mouse or keyboard, those events will be > registered as well. So maybe some sort of script is necessary when the Rev > application is opened that somehow locks down the input. If its for your own > use rather than in a production environment that shouldn't be an issue. > > The Gryphon is a nice piece of gear. You press the trigger. A light bar > shines out of the scanner end. You move the light bar to the bar code, it > beeps, a green light appears, and the data appears in the field. Pretty > robust and available used quite cheaply. > I use various barcode scanners (Datalogic, Unitech, Symbol) and they all operate in the same manner - as a keyboard wedge. When the barcode is scanned, the text of the code is sent to the computer exactly as if the keys were being pressed, so as Peter says, you have to make sure your application has the focus - I have had the occasional problem were the hard drive has been renamed :-) Apart from that, I use the following scripts: on keyDown theKey if the short name of this Stack = "vicMain" then if the hilite of btn "readCodes" of cd 1 then put theKey after fld "Barcode" else pass keyDown end if else pass keyDown end if end keyDown on rawKeyDown theKey if the short name of this Stack = "vicMain" then if theKey = 65293 and the hilite of btn "readCodes" of cd 1 then autoLog "Scan: " & fld "Barcode" put the short name of this card into cardName send "processBarcode" to cd cardName else pass rawKeyDown end if else pass rawKeyDown end if end rawKeyDown The keyDown script stores any text coming from the barcode scanner. When the scanner finishes reading a code, it sends a key code of 65293 which is spotted by the rawKeyDown handler, which calls the relevant script to handle the complete barcode. I have a stack that tests the data coming from a barcode scanner, which you might find useful. Cheers, Sarah From jacque at hyperactivesw.com Sun Jan 14 18:34:23 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 14 Jan 2007 17:34:23 -0600 Subject: OT: SSH on OS X Message-ID: <45AABDFF.5090009@hyperactivesw.com> I have been trying to SSH to my desktop Mac from a remote location without success. After two days of failed attempts I am on the brink of insanity. The hundreds of web documents I've read about it all indicate it should be very easy, and there is no reference to the problem I'm having -- which is a timeout with no further error information. I can SSH from one Mac to another on the local network without any trouble. I was wondering if someone who understands SSH better than I do would be willing to contact me offlist and help me work though this. Jacque -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Jan 14 18:36:49 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 14 Jan 2007 17:36:49 -0600 Subject: Cron job w/ Rev CGI In-Reply-To: References: <6F7C1897-7941-40E8-8A08-7FD2C6544D3B@lacscentre.co.uk> Message-ID: <45AABE91.5030109@hyperactivesw.com> Bill Marriott wrote: > That was one of the first things I tried; but I might not have put them in > the right spots, because the errors still persisted. I tried the cgi-bin > folder, the website root folder, and my home directory. The fake files have to go in with all the other Unix installation files, which is usually something your ISP has to do for you. However, the last server I tried this on, it failed. Some people have reported success however. I'm not sure exactly where these files are supposed to go, except that you can't generally access them from your own account; they are part of the server installation. When I tell the ISP to do it, they always seem to know where they should be located. > > "Pierre Sahores" wrote in message > news:BCBB332F-E533-4220-A5A4-8989EB54E8F3 at free.fr... > Bill, > > Did you try to upload empty files named with the "lost libs" names > behind your Rev engine in your cgi-bin directory. Some times, it does > the trick if i right remember the Jacque's CGI courses. > > Best, > > Le 14 janv. 07 ? 13:35, Bill Marriott a ?crit : > >> The error seems to occur because the rev engine is looking for graphics >> libraries which either don't exist, or cannot be found (because my >> hosting >> provider does not provide environment variables to cron jobs). > > -- > Pierre Sahores > www.sahores-conseil.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tereza at califex.com Sun Jan 14 19:08:06 2007 From: tereza at califex.com (Tereza Snyder) Date: Sun, 14 Jan 2007 18:08:06 -0600 Subject: Setting the default source path for image controls In-Reply-To: References: Message-ID: <75C5F3DD-F882-4A0D-A796-07AD70A2619A@califex.com> On Jan 14, 2007, at 2:45 PM, Bob Earp wrote: > > I wish to set the default path for image controls, can this be > done? If so what is the property for it? Failing that, anybody > know if a referenced image (in an image control) can be relative > rather than absolute? I always use relative paths, e.g. "../gfx/myImage.png", where the start of the path is the default directory. I use ".." because, while I usually set the directory to a "gfx" folder inside a "resources" folder, ".." bails me out if I' happen to have reset it to another folder inside "resources". t -- Tereza Snyder Califex Software, Inc. www.califexsoftware.com From JimAultWins at yahoo.com Sun Jan 14 20:15:09 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Sun, 14 Jan 2007 17:15:09 -0800 Subject: Setting the default source path for image controls In-Reply-To: Message-ID: On 1/14/07 12:45 PM, "Bob Earp" wrote: > I wish to set the default path for image controls, can this be done? If so > what is the property for it? Failing that, anybody know if a referenced image > (in an image control) can be relative rather than absolute? you could try this solution --make a new mainstack --paste these two handlers in the stack script --save to the desktop as "testImage.rev" --close the stack, then --create a folder on the desktop named "controlsFldr" --put a graphic file "picture2.png" into that folder --now open the stack and --type "test" in the message box -----> you should now see the image you want add more graphics, mix, stir and salt to taste. on openstack put the filename of me into pathhFile set the itemdel to "/" put "controlsFldr/dummy.jpg" into item -1 of pathhFile set the filename of the templateimage to pathhFile end openstack on test put "picture2.png" into newFilename create image put the filename of the last image into holdName replace "dummy.jpg" with newFilename in holdName set the filename of the last image to holdName end test Jim Ault Las Vegas From martinblackman at gmail.com Mon Jan 15 04:21:14 2007 From: martinblackman at gmail.com (Martin Blackman) Date: Mon, 15 Jan 2007 18:21:14 +0900 Subject: Dr. Strangelove (or: How I Learned to Stop Worrying and Love XML) In-Reply-To: References: <45AAA286.8080308@dreamscapesoftware.com> Message-ID: <79d1bee70701150121v62fe95dcu124a65613bbcc6e@mail.gmail.com> I reckon people get put off by the long revXML function names and all the parameters. But if you are fortunate enough to have Galaxy, it makes things easier - you type the first few characters then use the autocomplete function! Before long you will find loops such as the following to be second nature: put revXMLrootnode(tID) into tnode put revXMLfirstchild(tID,tnode) into paramNode repeat get revXMLAttribute(tID,paramNode,"name") if not (it contains "xmlerr") then put it into tname put tname & comma after tparamlist end if put revXMLNextSibling(tID,paramNode) into paramNode if paramNode is empty then exit repeat end repeat delete char -1 of tparamlist regards Martin From viktoras at ekoinf.net Mon Jan 15 06:58:44 2007 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Mon, 15 Jan 2007 13:58:44 +0200 (FLE Standard Time) Subject: image overlay References: <79d1bee70701150121v62fe95dcu124a65613bbcc6e@mail.gmail.com> Message-ID: <45AB6C74.000001.03304@MAZYTIS> Is there a simple way to make an overlay of 2 or more different sized images into a single image ? What I am seeking for is overlaying a small map image on a larger one, displaying them and then saving this view as a single image. Are there any screen capture functions for a defined region in Rev or any other means to combine images ? Best wishes Viktoras From mark at maseurope.net Mon Jan 15 07:08:08 2007 From: mark at maseurope.net (Mark Smith) Date: Mon, 15 Jan 2007 12:08:08 +0000 Subject: image overlay In-Reply-To: <45AB6C74.000001.03304@MAZYTIS> References: <79d1bee70701150121v62fe95dcu124a65613bbcc6e@mail.gmail.com> <45AB6C74.000001.03304@MAZYTIS> Message-ID: <0ECE10E3-7EAA-4675-91CD-812E5117C825@maseurope.net> Viktoras, check out the 'import snapshot' command. Best, Mark On 15 Jan 2007, at 11:58, Viktoras Didziulis wrote: > Is there a simple way to make an overlay of 2 or more different > sized images > into a single image ? > > What I am seeking for is overlaying a small map image on a larger one, > displaying them and then saving this view as a single image. Are > there any > screen capture functions for a defined region in Rev or any other > means to > combine images ? > > Best wishes > Viktoras > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revlist at azurevision.co.uk Mon Jan 15 07:10:43 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Mon, 15 Jan 2007 12:10:43 +0000 Subject: image overlay In-Reply-To: <45AB6C74.000001.03304@MAZYTIS> References: <79d1bee70701150121v62fe95dcu124a65613bbcc6e@mail.gmail.com> <45AB6C74.000001.03304@MAZYTIS> Message-ID: <06AE1D35-3E3B-4088-93BE-BF69F2A79955@azurevision.co.uk> Have a look in the docs for 'import snapshot'. New in 2.7 was the ability to take snapshots of objects and groups, keeping the alpha channel intact. Ian On 15 Jan 2007, at 11:58, Viktoras Didziulis wrote: > Is there a simple way to make an overlay of 2 or more different > sized images > into a single image ? > > What I am seeking for is overlaying a small map image on a larger one, > displaying them and then saving this view as a single image. Are > there any > screen capture functions for a defined region in Rev or any other > means to > combine images ? > > Best wishes > Viktoras > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From viktoras at ekoinf.net Mon Jan 15 07:22:07 2007 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Mon, 15 Jan 2007 14:22:07 +0200 (FLE Standard Time) Subject: image overlay References: <06AE1D35-3E3B-4088-93BE-BF69F2A79955@azurevision.co.uk> Message-ID: <45AB71EF.000003.03304@MAZYTIS> Mark, Ian Thanks a lot! Import/export snapshot is exactly what I was looking for. Viktoras From henk at iglow-media.nl Mon Jan 15 09:27:33 2007 From: henk at iglow-media.nl (henk at iglow-media.nl) Date: Mon, 15 Jan 2007 15:27:33 +0100 Subject: Display a text on a movie (Ludovic Th?bault) In-Reply-To: <20070114180004.02D38489227@mail.runrev.com> References: <20070114180004.02D38489227@mail.runrev.com> Message-ID: <1168871253.45ab8f55a22d1@webmail.iglow-media.nl> Hi Ludovic, set the alwaysbuffer of your movie to true and you can put text fields on top of it. Henk >Thanks, but i want add text in Rev. > >I've made a little stack to sync subtitles, and there is a video >preview, but actually, subtitles are outside the video because i can't >put it on the video. >Look here (it's in french) : >http://ludovic.thebault.free.fr/download/reSync.zip > >Ludovic >http://www.botanic06.com ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From cmsheffield at gmail.com Mon Jan 15 10:44:21 2007 From: cmsheffield at gmail.com (Chris Sheffield) Date: Mon, 15 Jan 2007 08:44:21 -0700 Subject: Rev standalones and terminal services Message-ID: My company has several customers who are trying to run our application through terminal services. From what I understand, everything seems to be working okay, except for the fact that they're not hearing any audio. I'll admit that when it comes to terminal services, I'm somewhat ignorant. Can anyone think of a reason why this might be happening? We're using mp3 files for audio, playing in a normal player object. I'm sorry I don't have many details. If necessary, I can try to get more information. Thanks, Chris ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From luis at anachreon.co.uk Mon Jan 15 10:56:50 2007 From: luis at anachreon.co.uk (Luis) Date: Mon, 15 Jan 2007 15:56:50 +0000 Subject: Rev standalones and terminal services In-Reply-To: References: Message-ID: <45ABA442.5060603@anachreon.co.uk> Hiya, If they're using RDC (Remote Desktop Connection) there is an option under the 'Local Resources' tab to manage how the sound behaves. If this option is not visible then click the 'Options>>' button in the connection window. You can have a look yourself by typing 'mstsc' (without the quotes) in Start/Run. Cheers, Luis. Chris Sheffield wrote: > My company has several customers who are trying to run our application > through terminal services. From what I understand, everything seems to > be working okay, except for the fact that they're not hearing any audio. > I'll admit that when it comes to terminal services, I'm somewhat > ignorant. Can anyone think of a reason why this might be happening? > We're using mp3 files for audio, playing in a normal player object. > > I'm sorry I don't have many details. If necessary, I can try to get more > information. > > Thanks, > Chris > > > ------------------------------------------ > Chris Sheffield > Read Naturally > The Fluency Company > http://www.readnaturally.com > ------------------------------------------ > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From cmsheffield at gmail.com Mon Jan 15 11:38:40 2007 From: cmsheffield at gmail.com (Chris Sheffield) Date: Mon, 15 Jan 2007 09:38:40 -0700 Subject: Rev standalones and terminal services In-Reply-To: <45ABA442.5060603@anachreon.co.uk> References: <45ABA442.5060603@anachreon.co.uk> Message-ID: Thanks, Luis. Unfortunately, they're not using RDC. I did find out that in most cases where customers are having problems is when using Citrix. Anyone familiar with that? On Jan 15, 2007, at 8:56 AM, Luis wrote: > Hiya, > > If they're using RDC (Remote Desktop Connection) there is an option > under the 'Local Resources' tab to manage how the sound behaves. > If this option is not visible then click the 'Options>>' button in > the connection window. > You can have a look yourself by typing 'mstsc' (without the quotes) > in Start/Run. > > Cheers, > > Luis. > > > Chris Sheffield wrote: >> My company has several customers who are trying to run our >> application through terminal services. From what I understand, >> everything seems to be working okay, except for the fact that >> they're not hearing any audio. I'll admit that when it comes to >> terminal services, I'm somewhat ignorant. Can anyone think of a >> reason why this might be happening? We're using mp3 files for >> audio, playing in a normal player object. >> I'm sorry I don't have many details. If necessary, I can try to >> get more information. >> Thanks, >> Chris >> ------------------------------------------ >> Chris Sheffield >> Read Naturally >> The Fluency Company >> http://www.readnaturally.com >> ------------------------------------------ >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From soapdog at mac.com Mon Jan 15 12:48:55 2007 From: soapdog at mac.com (Andre Garzia) Date: Mon, 15 Jan 2007 15:48:55 -0200 Subject: [OT] 37signals book on web app development. Message-ID: Folks, many here are wanting to join the web app bandwagon. I suggest reading the "Getting real" book by 37signals which is by far the most successful start-up enterprise in this camp today. They out of nowhere created or provided the means for creation of: Ruby on Rails, prototype library, scriptaculous, basecamp, backpack and others. very good reading http://gettingreal.37signals.com/toc.php Andre From brentj84062 at gmail.com Mon Jan 15 13:36:48 2007 From: brentj84062 at gmail.com (Brent Anderson) Date: Mon, 15 Jan 2007 11:36:48 -0700 Subject: OT: SSH on OS X Message-ID: <4387FDFD-732A-4129-A5FD-D0E5747FC17D@gmail.com> Hello. It's very easy to set up SSH on your Mac (System Preferences > Sharing > Check "Remote Login" box) but you may have a few pitfalls in the way if you're trying to connect from anywhere other than your local network. You didn't specify too much detail, but I would assume you're trying to connect to your mac from outside your home network (From work, perhaps) and your problem is probably any firewall you have between your desktop Mac and your "remote location." The firewall at the remote location (if any) shouldn't be a problem as most firewalls only lock out outgoing connections rather than incoming ones. Since this is the case, you'll need to open port 22 on your firewall (Probably using port forwarding, but port triggering may work as well). I would highly recommend using Hamachi (http://www.hamachi.cc) if you're trying to make connections between remote computers. Hamachi sets up a virtual private network that effectively connects computers as if on a local area network. The free version works, but the premium version will overcome any firewall or NAT problems you may have. There is a client for Mac OS X Called HamachiX (http:// hamachix.spaceants.net/) that, although not officially supported by the Hamachi team, works great and does everything I've needed it too. I've tested using hamachi without any firewall settings and it works most of the time. If you have trouble with it, you can open a command line, type "hamachi logout" "hamachi stop" and "hamachi start debug" in one window to switch it all off and then turn on a window to monitor it's progress. From there open another window and type "hamachi login" to watch for any problems in the startup process. It will tell you where it is connecting (Including the port) and if it is successful or not. That way you can tune your firewall settings to fit any problems you may be having with Hamachi. Thanks, Brent Anderson CMSEC From jacque at hyperactivesw.com Mon Jan 15 14:57:49 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 15 Jan 2007 13:57:49 -0600 Subject: OT: SSH on OS X In-Reply-To: <4387FDFD-732A-4129-A5FD-D0E5747FC17D@gmail.com> References: <4387FDFD-732A-4129-A5FD-D0E5747FC17D@gmail.com> Message-ID: <45ABDCBD.5050809@hyperactivesw.com> Brent Anderson wrote: > Hello. Thanks very much for the response. > > It's very easy to set up SSH on your Mac (System Preferences > Sharing > > Check "Remote Login" box) but you may have a few pitfalls in the way if > you're trying to connect from anywhere other than your local network. > You didn't specify too much detail, but I would assume you're trying to > connect to your mac from outside your home network (From work, perhaps) > and your problem is probably any firewall you have between your desktop > Mac and your "remote location." The firewall at the remote location (if > any) shouldn't be a problem as most firewalls only lock out outgoing > connections rather than incoming ones. Since this is the case, you'll > need to open port 22 on your firewall (Probably using port forwarding, > but port triggering may work as well). Right. I can connect from within the local network just fine. When I try to connect from outside, I get no response from my home Mac and eventually a timeout. My local router is set up to forward port 22 to my desktop Mac. The router logs seem to indicate that my outside request is arriving and the router is forwarding. I didn't want to gum up the list with unrelated chatter, so I hope it's okay if I contact you privately. You're the only response I've received, so my last hope. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sarah.reichelt at gmail.com Mon Jan 15 16:00:59 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 16 Jan 2007 07:00:59 +1000 Subject: OT: SSH on OS X In-Reply-To: <45ABDCBD.5050809@hyperactivesw.com> References: <4387FDFD-732A-4129-A5FD-D0E5747FC17D@gmail.com> <45ABDCBD.5050809@hyperactivesw.com> Message-ID: I don't know about anyone else, but I am very interested in this thread and would like to see it remain on list. Cheers, Sarah On 1/16/07, J. Landman Gay wrote: > Brent Anderson wrote: > > Hello. > > Thanks very much for the response. > > > > > It's very easy to set up SSH on your Mac (System Preferences > Sharing > > > Check "Remote Login" box) but you may have a few pitfalls in the way if > > you're trying to connect from anywhere other than your local network. > > You didn't specify too much detail, but I would assume you're trying to > > connect to your mac from outside your home network (From work, perhaps) > > and your problem is probably any firewall you have between your desktop > > Mac and your "remote location." The firewall at the remote location (if > > any) shouldn't be a problem as most firewalls only lock out outgoing > > connections rather than incoming ones. Since this is the case, you'll > > need to open port 22 on your firewall (Probably using port forwarding, > > but port triggering may work as well). > > Right. I can connect from within the local network just fine. When I try > to connect from outside, I get no response from my home Mac and > eventually a timeout. My local router is set up to forward port 22 to my > desktop Mac. The router logs seem to indicate that my outside request is > arriving and the router is forwarding. > > I didn't want to gum up the list with unrelated chatter, so I hope it's > okay if I contact you privately. You're the only response I've received, > so my last hope. ;) > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jbv.silences at club-internet.fr Mon Jan 15 16:40:21 2007 From: jbv.silences at club-internet.fr (jbv) Date: Mon, 15 Jan 2007 22:40:21 +0100 Subject: [OT] 37signals book on web app development. References: Message-ID: <45ABF4C3.95138A04@club-internet.fr> Hi Andre, Do we really need such advices as "Don't have meetings" or "Design the interface before you start programming" or even "Build something you can manage" ? I thought these things were known for years if not decades (except by Microserfs perhaps)... JB > Folks, > > many here are wanting to join the web app bandwagon. I suggest > reading the "Getting real" book by 37signals which is by far the most > successful start-up enterprise in this camp today. They out of > nowhere created or provided the means for creation of: Ruby on Rails, > prototype library, scriptaculous, basecamp, backpack and others. > > very good reading > > http://gettingreal.37signals.com/toc.php > > Andre From soapdog at mac.com Mon Jan 15 16:22:56 2007 From: soapdog at mac.com (Andre Garzia) Date: Mon, 15 Jan 2007 19:22:56 -0200 Subject: [OT] 37signals book on web app development. In-Reply-To: <45ABF4C3.95138A04@club-internet.fr> References: <45ABF4C3.95138A04@club-internet.fr> Message-ID: JB, at least here in Brazil, we need those advises in big, bold, marquee- sized, letters!!!!! I've seen junior companies on my university conduct five or more meetings during a week window without no pratical application... common sense, is never, enough! ;-) PS: right now, I am struggling with javascript. On Jan 15, 2007, at 7:40 PM, jbv wrote: > > > Hi Andre, > > Do we really need such advices as "Don't have meetings" or > "Design the interface before you start programming" or even > "Build something you can manage" ? > > I thought these things were known for years if not decades > (except by Microserfs perhaps)... > > JB > >> Folks, >> >> many here are wanting to join the web app bandwagon. I suggest >> reading the "Getting real" book by 37signals which is by far the most >> successful start-up enterprise in this camp today. They out of >> nowhere created or provided the means for creation of: Ruby on Rails, >> prototype library, scriptaculous, basecamp, backpack and others. >> >> very good reading >> >> http://gettingreal.37signals.com/toc.php >> >> Andre > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From brentj84062 at gmail.com Mon Jan 15 16:34:18 2007 From: brentj84062 at gmail.com (Brent Anderson) Date: Mon, 15 Jan 2007 14:34:18 -0700 Subject: OT: SSH on OS X In-Reply-To: References: <4387FDFD-732A-4129-A5FD-D0E5747FC17D@gmail.com> <45ABDCBD.5050809@hyperactivesw.com> Message-ID: <895A71B8-1D17-4716-8FDE-EBDF5A9E32C3@gmail.com> Hello. Since it was off topic, we transferred the conversation to a private email thread. Here are the emails that were exchanged following the last public post. It's fine if you contact me privately. If your router is claiming to be forwarding correctly, then I'm not sure where the hang-up would be. Assuming you used Sharing to enable SSH, the firewall on your mac automatically opens the port it needs. Do you have Stealth Mode enabled, perhaps? On Tiger if you click the Advanced button on the Firewall tab you can access the firewall log. That may provide a little more insight into your problem. If the log is kept on previous versions of OS X, it should be located at /var/log/ipfw.log and is accessible using the application /Applications/Utillities/ Console.app. I hope that works for you. Thanks, Brent Anderson Hi. I hope it is okay to contact you offlist. I need to get SSH working from outside my local network. I've tried just about everything with no success. If you don't have time to help, I really do understand. Please don't feel obligated. Here is what I've done so far. I want my desktop Mac to receive the SSH requests. On that Mac, I have: Enabled Remote Login in the Sharing prefs Added ports 5900-5902 to the open ports in the firewall (for eventual VNC later on) Set my network router to forward port 22 to the local IP address of my Mac Then I get on my Powerbook. If I am on the local network and use the local IP for SSH, it works fine. I can SSH to the desktop Mac, and see everything in Terminal. If I turn on Remote Desktop on the desktop Mac, I can use a VNC viewer to see and work with the desktop Mac. Then I took my Powerbook to a nearby internet cafe. I issused this command from Terminal: ssh user at 75.72.193.146 where "user" is a non-priveleged account on the desktop Mac and "75.72.193.146" is the current IP of the WAN address on my router. Terminal is completely unresponsvie for about a minute, and then I get the message "Could not connect to 75.72.193.146. Operation timed out." There is no other info and I am never asked for a password. I tried this several times. Sometimes I used this command instead: ssh -L 5900:127.0.0.1:5900 user at 75.72.193.146 just to see if I could map ports for VNC, but that failed the same way, no connection with a timeout. When I got back home, I looked at the router logs. It showed that a connection request was received and forwarded to my desktop Mac: Sun, 01/14/2007 12:10:07 - SSH forwarded - Source:71.210.170.117, 52180, WAN - Destination:75.72.193.146, 22, LAN Sun, 01/14/2007 12:10:07 - SSH forwarded - Source:71.210.170.117, 52180, WAN - Destination:198.162.0.2, 22, WAN I'm not sure why there are two entries, but each attempt I made has the same 2 lines. Maybe there is something wrong with the port forwarding? The desktop Mac is correctly assigned at 198.162.0.2, which is a static local IP. Do you have any ideas? I know very little about this, but it looks to me like everything is going fine until the request hits my desktop Mac, which then never responds. There is a "stealth" checkbox in the "advanced" settings in the firewall pane in Sharing prefs, but I did not turn that on. Again, if you don't have time for any of this, I really do understand. Please don't feel obligated. But if you do have time, I'd really appreciate any advice you can offer. Thanks much. Jacque -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com Brent Anderson wrote: > It's fine if you contact me privately. If your router is claiming > to be forwarding correctly, then I'm not sure where the hang-up > would be. Assuming you used Sharing to enable SSH, the firewall on > your mac automatically opens the port it needs. Do you have Stealth > Mode enabled, perhaps? On Tiger if you click the Advanced button on > the Firewall tab you can access the firewall log. That may provide > a little more insight into your problem. If the log is kept on > previous versions of OS X, it should be located at /var/log/ > ipfw.log and is accessible using the application /Applications/ > Utillities/Console.app. I hope that works for you. > I have fixed it -- all because of you. :) Sometimes when you write it all down, you start to see things you didn't before. I had my router pointing to an incorrect local IP. I'd swapped a couple of numbers by mistake. When I fixed that and forwarded to the correct IP -- that is, 192.168.0.2 -- by george, it works. I feel both relieved and stupid. But I thank you for making me write it all down. :) I'm happy now. Jacque -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com Hello. Glad I could help. Thanks, Brent Anderson CMSEC **** END OF THREAD ***** There you have it. Everything was in place to begin with and the first rule of tech support (Which I neglected to apply when I responded to his query) has been justified once more: When you first have a problem, check everything over before looking any deeper. Sometimes it's as simple as an unplugged plug (Or, in this case, a mistaken IP address) Thanks, Brent Anderson CMSEC From pepetoo at Cox.Net Mon Jan 15 16:34:48 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Mon, 15 Jan 2007 13:34:48 -0800 Subject: [OT] 37signals book on web app development. In-Reply-To: References: <45ABF4C3.95138A04@club-internet.fr> Message-ID: JB, I have to agree with Andre. We have so many MBAs and bean counters controlling what is being done at the highest levels, mostly with very little in the world practical knowledge/experience that they need to be shown/told how to get out of the "book learning" and into the Real world. What else can you expect with a real idiot running the U.S.A. at the VERY highest level. I thought most of the advice was well conceived; although I already practice it myself - in my real world. Joe Wilkins On Jan 15, 2007, at 1:22 PM, Andre Garzia wrote: > JB, > > at least here in Brazil, we need those advises in big, bold, > marquee-sized, letters!!!!! > > I've seen junior companies on my university conduct five or more > meetings during a week window without no pratical application... > > common sense, is never, enough! > > ;-) > > PS: right now, I am struggling with javascript. > > On Jan 15, 2007, at 7:40 PM, jbv wrote: > >> >> >> Hi Andre, >> >> Do we really need such advices as "Don't have meetings" or >> "Design the interface before you start programming" or even >> "Build something you can manage" ? >> >> I thought these things were known for years if not decades >> (except by Microserfs perhaps)... >> >> JB >> >>> Folks, >>> >>> many here are wanting to join the web app bandwagon. I suggest >>> reading the "Getting real" book by 37signals which is by far the >>> most >>> successful start-up enterprise in this camp today. They out of >>> nowhere created or provided the means for creation of: Ruby on >>> Rails, >>> prototype library, scriptaculous, basecamp, backpack and others. >>> >>> very good reading >>> >>> http://gettingreal.37signals.com/toc.php >>> >>> Andre >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Mon Jan 15 16:44:28 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 15 Jan 2007 15:44:28 -0600 Subject: OT: SSH on OS X In-Reply-To: References: <4387FDFD-732A-4129-A5FD-D0E5747FC17D@gmail.com> <45ABDCBD.5050809@hyperactivesw.com> Message-ID: <45ABF5BC.1020605@hyperactivesw.com> Sarah Reichelt wrote: > I don't know about anyone else, but I am very interested in this > thread and would like to see it remain on list. Okay, I guess I owe it to the list to say what went wrong and how I solved it. I did solve it, by the way, because having to write everything up for Brent in a private mail forced me to re-read what I'd done. When I did that, I finally noticed -- after days of frustration -- that I had made a (oh, this is embarrasing) typo. When I fixed my typo, voila, it all worked. So I feel stupid. But relieved. The upshoot is that, yes, it is easy to enable remote SSH in OS X provided you can type correctly. Here is how: 1. In System Preferences, Sharing pane: turn on Remote Login. This opens up port 22 in the software firewall and allows SSH traffic to your Mac. 2. If you have a router connected to your internet pipe, forward port 22 to the local IP address of the Mac you want to connect to. For me this was 192.168.0.2, which is the static IP of my desktop Mac on our home LAN. (This is where I made the typo. I swapped a couple of the numbers. No wonder it didn't work, my router was sending info into the cybervoid.) 3. Find out what your public WAN IP is; this is the one the world sees on the internet. You can look at your router logs for that info, or else go here to find out: . This is the IP you need to use for SSH from a remote location. Note that most ISPs will change this number periodically. There are services you can use to accomodate that, but for my tests I just used the currently assigned IP. That should be all you need to do. Now take your laptop to an internet cafe somewhere, open Terminal, and type: ssh user at 123.123.123.123 Substitute a valid user account on your home Mac for "user" and your WAN IP address for the 123s. You should get a password prompt, and then you are in. Unless, of course, you make a typo. :) Now about the issue of dynamic WAN IPs. There are a few services you can sign up with for free that act sort of like a DNS service for private routers. They allow you to log in to an account name instead of an IP number, and will re-route the name to the current WAN IP of your home router. Every time your ISP changes the number, your router informs the service and they update the routing info. Most routers these days support this stuff, I think. My Netgear router supports any of three of these services, one of which is dyndns.org, which is what I will probably use. Once you sign up, you just set your router to notify the service at every IP change. Then when you SSH in to your Mac, you can use your assigned name/account info instead of a number: ssh user at my.assigned.name If your router doesn't support this service natively, I understand there is software you can run on your Mac that will do the same thing. Hope this helps. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sarah.reichelt at gmail.com Mon Jan 15 16:51:01 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 16 Jan 2007 07:51:01 +1000 Subject: OT: SSH on OS X In-Reply-To: <895A71B8-1D17-4716-8FDE-EBDF5A9E32C3@gmail.com> References: <4387FDFD-732A-4129-A5FD-D0E5747FC17D@gmail.com> <45ABDCBD.5050809@hyperactivesw.com> <895A71B8-1D17-4716-8FDE-EBDF5A9E32C3@gmail.com> Message-ID: > Since it was off topic, we transferred the conversation to a private > email thread. Here are the emails that were exchanged following the > last public post. > Thanks for that Brent & Jacque. I want to set that up for myself some time, so it was good to follow the path. Cheers, Sarah From soapdog at mac.com Mon Jan 15 16:57:55 2007 From: soapdog at mac.com (Andre Garzia) Date: Mon, 15 Jan 2007 19:57:55 -0200 Subject: Very weird bug, crashes mac os x. Message-ID: <4DE2619D-7C91-49F1-85A1-EFD3D8FC9657@mac.com> Folks, I am invoking a script from the command line in MacOS X. It executes fine till the end. Then I can briefly see some malloc() errors before the whole screen goes blue and everything reboots, all apps close, no saving whatsoever. No way to replicate this bug. The script is dead simple. The error is unavoidable. Code is inside a try/catch block and yet it fails just in time for quit. Anyone experienced anything remotely similar? Andre From sl at trackandfieldnews.com Mon Jan 15 17:38:57 2007 From: sl at trackandfieldnews.com (Sieg Lindstrom) Date: Mon, 15 Jan 2007 14:38:57 -0800 Subject: StackRunner and MySQL Message-ID: I am trying to use StackRunner 1.5 to run a stack created with Revolution 2.7.4. (on a PPC Mac). I use this stack to manage data in a MySQL database. The stack runs fine when opened with Revolution, but when I open with StackRunner none of the MySQL queries work and instead I get error messages; all other scripts in the stack seem to run OK in StackRunner. Can this be solved? How? Thanks for any suggestions! Sieg Lindstrom From kray at sonsothunder.com Mon Jan 15 20:44:33 2007 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 15 Jan 2007 19:44:33 -0600 Subject: StackRunner and MySQL In-Reply-To: References: Message-ID: On Jan 15, 2007, at 4:38 PM, Sieg Lindstrom wrote: > I am trying to use StackRunner 1.5 to run a stack created with > Revolution > 2.7.4. (on a PPC Mac). I use this stack to manage data in a MySQL > database. > The stack runs fine when opened with Revolution, but when I open with > StackRunner none of the MySQL queries work and instead I get error > messages; > all other scripts in the stack seem to run OK in StackRunner. Well, StackRunner 1.5 was built using the 2.7.2 engine (see the bottom of the page at http://www.sonsothunder.com/devres/revolution/ downloads/StackRunner.htm), so it's possible that the mySQL commands were changed between 2.7.2 and 2.7.4. However it's more likely that you don't have the mysQL database drivers in the right place... StackRunner has the revdb external in it so you can make database calls, but it is not bundled with all the database drivers. These drivers should be in the "Database Drivers" folder of your 2.7.4 installation and include something called "dbmysql.bundle" which you'll need to connect to in order to use mysQL from StackRunner. HTH, Ken Ray Sons of Thunder Software, Inc. Web Site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From brentj84062 at gmail.com Mon Jan 15 20:58:40 2007 From: brentj84062 at gmail.com (Brent Anderson) Date: Mon, 15 Jan 2007 18:58:40 -0700 Subject: OT: SSH on OS X In-Reply-To: References: <4387FDFD-732A-4129-A5FD-D0E5747FC17D@gmail.com> <45ABDCBD.5050809@hyperactivesw.com> <895A71B8-1D17-4716-8FDE-EBDF5A9E32C3@gmail.com> Message-ID: <6E9A08CB-B306-4658-A86E-48AB5CE1CDB7@gmail.com> Hello, Before finishing this thread, it is important to note that this technique applies to any service that you are trying to serve to the internet (www, ftp, ssh, my-favorite-internet-game) etc. Thanks, Brent Anderson CMSEC From sarah.reichelt at gmail.com Mon Jan 15 21:48:18 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 16 Jan 2007 12:48:18 +1000 Subject: OT: SSH on OS X In-Reply-To: <45ABF5BC.1020605@hyperactivesw.com> References: <4387FDFD-732A-4129-A5FD-D0E5747FC17D@gmail.com> <45ABDCBD.5050809@hyperactivesw.com> <45ABF5BC.1020605@hyperactivesw.com> Message-ID: > Now about the issue of dynamic WAN IPs. There are a few services you can > sign up with for free that act sort of like a DNS service for private > routers. They allow you to log in to an account name instead of an IP > number, and will re-route the name to the current WAN IP of your home > router. Every time your ISP changes the number, your router informs the > service and they update the routing info. Most routers these days > support this stuff, I think. My Netgear router supports any of three of > these services, one of which is dyndns.org, which is what I will > probably use. Once you sign up, you just set your router to notify the > service at every IP change. I use dyndns and fine it very satisfactory but be very careful about using your router to update it for you. I tried this using a Netgear router and got blacklisted for submitting changes every few minutes. Go to the dyndns site and find a client. For Mac OS X DNSUpdate works flawlessly and unobtrusively. Cheers, Sarah From sarah.reichelt at gmail.com Mon Jan 15 21:49:43 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 16 Jan 2007 12:49:43 +1000 Subject: Very weird bug, crashes mac os x. In-Reply-To: <4DE2619D-7C91-49F1-85A1-EFD3D8FC9657@mac.com> References: <4DE2619D-7C91-49F1-85A1-EFD3D8FC9657@mac.com> Message-ID: > I am invoking a script from the command line in MacOS X. It executes > fine till the end. Then I can briefly see some malloc() errors before > the whole screen goes blue and everything reboots, all apps close, no > saving whatsoever. No way to replicate this bug. The script is dead > simple. The error is unavoidable. Code is inside a try/catch block > and yet it fails just in time for quit. > What is the script Andre? And does it work OK from Terminal? I haven't had this happen, but maybe if you post the script, someone might come up with an idea. Cheers, Sarah From jacque at hyperactivesw.com Mon Jan 15 21:54:09 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 15 Jan 2007 20:54:09 -0600 Subject: OT: SSH on OS X In-Reply-To: References: <4387FDFD-732A-4129-A5FD-D0E5747FC17D@gmail.com> <45ABDCBD.5050809@hyperactivesw.com> <45ABF5BC.1020605@hyperactivesw.com> Message-ID: <45AC3E51.5050803@hyperactivesw.com> Sarah Reichelt wrote: >> Now about the issue of dynamic WAN IPs. There are a few services you can >> sign up with for free that act sort of like a DNS service for private >> routers. They allow you to log in to an account name instead of an IP >> number, and will re-route the name to the current WAN IP of your home >> router. Every time your ISP changes the number, your router informs the >> service and they update the routing info. Most routers these days >> support this stuff, I think. My Netgear router supports any of three of >> these services, one of which is dyndns.org, which is what I will >> probably use. Once you sign up, you just set your router to notify the >> service at every IP change. > > I use dyndns and fine it very satisfactory but be very careful about > using your router to update it for you. I tried this using a Netgear > router and got blacklisted for submitting changes every few minutes. > Go to the dyndns site and find a client. For Mac OS X DNSUpdate works > flawlessly and unobtrusively. Thanks very much for this. I was going to use the router. I did see the warning on dyndns's web site but assumed the router would handle things correctly. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From soapdog at mac.com Mon Jan 15 23:33:36 2007 From: soapdog at mac.com (Andre Garzia) Date: Tue, 16 Jan 2007 02:33:36 -0200 Subject: OT: lost everything, macbook and its HD broken. Message-ID: <8C7B763E-3A7D-4BDF-9FBF-D0A626B05D3D@mac.com> Friends, I was here coding some AJAX programs and developing libraries, my macbook just made a strange mechanical noise and then it was dead... when tried to boot, it made lots of mechanical noises and it never booted again. The noises are comming from the hard drive. I am assuming I lost everything. all my source code for the last year and everything I was working. I don't know what is broken... but I can't make it boot even from CDs... I don't know what I am to do now. I am writting from my old G4. I was doing some contract work and then it broke. The machine is now bricked. Can't boot from HD, Firewire, Network or CD, I've tried them all. The screen goes white, lot's of bad noises and the famous question mark of "no system folder". I can't even erase the PRAM... never chimes. sorry for this annoucement but it will be a while till I set everything up again. Tomorrow I'll go to apple repair service but they are making a fool of me for more than three months already. I was waiting for a replacement main board for this same machine. Now it appears, I'll need a new machine. My backup machine was broken some months ago, I had no money to buy the parts to build it up again. The G4 had no space for hosting the macbooks backup. I think I just lost all my revolution source code which was maybe 5 or 6 gb worth of code. andre From dan at shafermedia.com Mon Jan 15 23:56:02 2007 From: dan at shafermedia.com (Dan Shafer) Date: Mon, 15 Jan 2007 20:56:02 -0800 Subject: OT: lost everything, macbook and its HD broken. In-Reply-To: <8C7B763E-3A7D-4BDF-9FBF-D0A626B05D3D@mac.com> References: <8C7B763E-3A7D-4BDF-9FBF-D0A626B05D3D@mac.com> Message-ID: <70ed6b130701152056o21d75319u8e9fa3e6810a6512@mail.gmail.com> Andre, Wow, man, I am sorry to hear this. It reminded me once again of the necessity of keeping thiings backed up. I'm pretty meticulous about it but every once in a whlie I let it slide. Hope your woes can be solved soon. Dan On 1/15/07, Andre Garzia wrote: > > Friends, > > I was here coding some AJAX programs and developing libraries, my > macbook just made a strange mechanical noise and then it was dead... > when tried to boot, it made lots of mechanical noises and it never > booted again. The noises are comming from the hard drive. I am > assuming I lost everything. all my source code for the last year and > everything I was working. I don't know what is broken... but I can't > make it boot even from CDs... > > I don't know what I am to do now. I am writting from my old G4. I was > doing some contract work and then it broke. The machine is now > bricked. Can't boot from HD, Firewire, Network or CD, I've tried them > all. The screen goes white, lot's of bad noises and the famous > question mark of "no system folder". I can't even erase the PRAM... > never chimes. > > sorry for this annoucement but it will be a while till I set > everything up again. Tomorrow I'll go to apple repair service but > they are making a fool of me for more than three months already. I > was waiting for a replacement main board for this same machine. Now > it appears, I'll need a new machine. > > My backup machine was broken some months ago, I had no money to buy > the parts to build it up again. The G4 had no space for hosting the > macbooks backup. I think I just lost all my revolution source code > which was maybe 5 or 6 gb worth of code. > > andre > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From brentj84062 at gmail.com Mon Jan 15 23:58:14 2007 From: brentj84062 at gmail.com (Brent Anderson) Date: Mon, 15 Jan 2007 21:58:14 -0700 Subject: OT: lost everything, macbook and its HD broken. In-Reply-To: <8C7B763E-3A7D-4BDF-9FBF-D0A626B05D3D@mac.com> References: <8C7B763E-3A7D-4BDF-9FBF-D0A626B05D3D@mac.com> Message-ID: Hello. There are data recovery specialists that can take even a dead drive and extract the data off of it. Their services usually are aimed for corporations with hefty bankrolls, but you may be able to find someone who can do it within your budget. A google for "Data Recovery" will point you to a handful of these services. Some of them range from using specialized utility docks for the drive itself that interfaces with specific drive manufacturers and models while the extreme is the disassembly of the hard drive in a clean-room environment and reading the data off of the platters from another device. It's safe to say that this spectrum of simple to extreme is mirrored by cost, but there are options yet for your dead MacBook. A (very) brief exploration of services available indicates that the cost of recovery may be from $380 and up. If you have AppleCare (Or another insurance program), however, you may be in luck. I'm not too familiar with how much coverage AppleCare will give you, but it may cover data recovery in the event of defective hardware. Thanks, Brent Anderson CMSEC On Jan 15, 2007, at 9:33 PM, Andre Garzia wrote: > Friends, > > I was here coding some AJAX programs and developing libraries, my > macbook just made a strange mechanical noise and then it was > dead... when tried to boot, it made lots of mechanical noises and > it never booted again. The noises are comming from the hard drive. > I am assuming I lost everything. all my source code for the last > year and everything I was working. I don't know what is broken... > but I can't make it boot even from CDs... > > I don't know what I am to do now. I am writting from my old G4. I > was doing some contract work and then it broke. The machine is now > bricked. Can't boot from HD, Firewire, Network or CD, I've tried > them all. The screen goes white, lot's of bad noises and the famous > question mark of "no system folder". I can't even erase the PRAM... > never chimes. > > sorry for this annoucement but it will be a while till I set > everything up again. Tomorrow I'll go to apple repair service but > they are making a fool of me for more than three months already. I > was waiting for a replacement main board for this same machine. Now > it appears, I'll need a new machine. > > My backup machine was broken some months ago, I had no money to buy > the parts to build it up again. The G4 had no space for hosting the > macbooks backup. I think I just lost all my revolution source code > which was maybe 5 or 6 gb worth of code. > > andre > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From alex at harryscollar.com Tue Jan 16 01:06:16 2007 From: alex at harryscollar.com (Alex Shaw) Date: Tue, 16 Jan 2007 16:06:16 +1000 Subject: OT: lost everything, macbook and its HD broken. In-Reply-To: <8C7B763E-3A7D-4BDF-9FBF-D0A626B05D3D@mac.com> References: <8C7B763E-3A7D-4BDF-9FBF-D0A626B05D3D@mac.com> Message-ID: <45AC6B58.3010300@harryscollar.com> Hi Andre The same thing happened to my old ibook recently. I didn't get the noise but the S.M.A.R.T. status of the HD was "failed". I was only able to retrieve the data by booting up a live cd of Ubuntu (PPC) & followed the instructions below.. http://jclark.org/weblog/2005/05/24/ubuntumount/ Eventually the whole drive needed to be replaced because it wouldn't install either OSX or ubuntu. Good Luck! regards alex Andre Garzia wrote: > Friends, > > I was here coding some AJAX programs and developing libraries, my > macbook just made a strange mechanical noise and then it was dead... > when tried to boot, it made lots of mechanical noises and it never > booted again. The noises are comming from the hard drive. I am assuming > I lost everything. all my source code for the last year and everything I > was working. I don't know what is broken... but I can't make it boot > even from CDs... > SNIP From jean-pierre.soto at wanadoo.fr Tue Jan 16 01:08:22 2007 From: jean-pierre.soto at wanadoo.fr (Jean-Pierre) Date: Tue, 16 Jan 2007 07:08:22 +0100 Subject: Design stack as Desk accessory ... Message-ID: <68FF719D-6D48-4789-8760-50E49B5A85CB@wanadoo.fr> I create a stack . It ' s a virtual keyboard for child. Can I use it in another application like Word or Claris? If anyone can show me the way to do this ... thanks From JimAultWins at yahoo.com Tue Jan 16 01:52:49 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 15 Jan 2007 22:52:49 -0800 Subject: OT: lost everything, macbook and its HD broken. In-Reply-To: <8C7B763E-3A7D-4BDF-9FBF-D0A626B05D3D@mac.com> Message-ID: Andre, Very, very sorry to hear about your dire circumstances. There are a few times when having to reprogram an app or two can be a good thing, but not the whole working environment. If you get back up and running, let me know. It is so easy for me to set up an area on my web host for file storage for you (login and pswd protected). There would be no cost and 5 or 6 g would be just fine. You should have said something to someone in the group, since many of us have drive space available on the net somewhere. I don't know anything about drive recovery, but perhaps someone out here does. Sometimes a college or university will have someone who can work magic, especially with all the computer labs in the world these days. Even better, they might try to do it for very low cost. Good luck and let me know. Jim Ault Las Vegas On 1/15/07 8:33 PM, "Andre Garzia" wrote: > Friends, > > I was here coding some AJAX programs and developing libraries, my > macbook just made a strange mechanical noise and then it was dead... > when tried to boot, it made lots of mechanical noises and it never > booted again. The noises are comming from the hard drive. I am > assuming I lost everything. all my source code for the last year and > everything I was working. I don't know what is broken... but I can't > make it boot even from CDs... > > I don't know what I am to do now. I am writting from my old G4. I was > doing some contract work and then it broke. The machine is now > bricked. Can't boot from HD, Firewire, Network or CD, I've tried them > all. The screen goes white, lot's of bad noises and the famous > question mark of "no system folder". I can't even erase the PRAM... > never chimes. > > sorry for this annoucement but it will be a while till I set > everything up again. Tomorrow I'll go to apple repair service but > they are making a fool of me for more than three months already. I > was waiting for a replacement main board for this same machine. Now > it appears, I'll need a new machine. > > My backup machine was broken some months ago, I had no money to buy > the parts to build it up again. The G4 had no space for hosting the > macbooks backup. I think I just lost all my revolution source code > which was maybe 5 or 6 gb worth of code. > > andre > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jbv.silences at club-internet.fr Tue Jan 16 04:06:15 2007 From: jbv.silences at club-internet.fr (jbv) Date: Tue, 16 Jan 2007 10:06:15 +0100 Subject: [OT] 37signals book on web app development. References: <45ABF4C3.95138A04@club-internet.fr> Message-ID: <45AC9586.3409875C@club-internet.fr> Joe & Andre, I understand your point, although I wonder how many of these MBAs will ever read that kind of book, and how many of them will follow any of the advices it contains, because they're completely brain-locked... Hence the double meaning of my question : do we really need that kind of advice ? 1- because we, as programmers and/or ppl working in small structures know those advices and follow them for years 2- because "bean counters" will never take the time and energy to have a look at it... JB > JB, I have to agree with Andre. We have so many MBAs and bean > counters controlling what is being done at the highest levels, mostly > with very little in the world practical knowledge/experience that > they need to be shown/told how to get out of the "book learning" and > into the Real world. What else can you expect with a real idiot > running the U.S.A. at the VERY highest level. I thought most of the > advice was well conceived; although I already practice it myself - in > my real world. > > Joe Wilkins From sims at ezpzapps.com Tue Jan 16 06:54:12 2007 From: sims at ezpzapps.com (sims) Date: Tue, 16 Jan 2007 12:54:12 +0100 Subject: tempName() Message-ID: According to the doc's I can: Use the tempName function to find an appropriate place to put a temporary file. Would the fact that the machine a Rev application is installed on is on a network make any difference? IOW - will the tempName function provide me with a reliable path for placing a temporary file if the application is installed on a machine on a network? sims From david at openpartnership.net Tue Jan 16 07:28:25 2007 From: david at openpartnership.net (David Bovill) Date: Tue, 16 Jan 2007 04:28:25 -0800 Subject: tempName() In-Reply-To: References: Message-ID: It will return a string for a unique - that is new filename in the temporary folder of the machine that Rev is running on - regardless of what sort of network the machine that is running Rev is on. From david at openpartnership.net Tue Jan 16 07:45:15 2007 From: david at openpartnership.net (David Bovill) Date: Tue, 16 Jan 2007 04:45:15 -0800 Subject: OT: lost everything, macbook and its HD broken. In-Reply-To: References: <8C7B763E-3A7D-4BDF-9FBF-D0A626B05D3D@mac.com> Message-ID: Sorry to hear the news Andre - Ill keep my fingers crossed that you get most of the data back. If you want some online disk space when you get things sorted Id be more than happy to give you some subversion space. Again best of luck with getting your data back - I got good results one from using a bootable linux disk! From P.Jimmieson at csc.liv.ac.uk Tue Jan 16 07:55:28 2007 From: P.Jimmieson at csc.liv.ac.uk (Phil Jimmieson) Date: Tue, 16 Jan 2007 12:55:28 +0000 Subject: OT: lost everything, macbook and its HD broken. In-Reply-To: <8C7B763E-3A7D-4BDF-9FBF-D0A626B05D3D@mac.com> References: <8C7B763E-3A7D-4BDF-9FBF-D0A626B05D3D@mac.com> Message-ID: Hi Andre, have you tried removing the drive from your MacBook (easy to do with the new laptops) and seeing if the machine will boot from CD/DVD without it? If not then the machine is dead, and your disk may be recoverable. For that you'd need someone with an equivalent MacBook that you could put your messed-up (not dead we hope) drive into. You could firewire mount that onto yet another Mac system and copy your home filestore onto that, or back it up onto DVD-R. I've done variations on this in the past to recover dead systems. -- Phil Jimmieson phil at csc.liv.ac.uk (UK) 0151 795 4236 Computer Science Dept., Liverpool University, Ashton Building, Ashton Street Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. From viktoras at ekoinf.net Tue Jan 16 08:20:33 2007 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Tue, 16 Jan 2007 15:20:33 +0200 (FLE Standard Time) Subject: OT: lost everything, macbook and its HD broken. References: <8C7B763E-3A7D-4BDF-9FBF-D0A626B05D3D@mac.com> Message-ID: <45ACD121.000001.02668@MAZYTIS> Andre, Lets hope it is not hard drive, but motherboard of your laptop, in this case strange sounds may also come out from hard drive devices... There are external cases for hard drives to be connected through USB. They come in different sizes for laptop and desktop hard drives and prices vary (~30-70 Eur per device). Once my PC (well, not Mac, but there should be similar things in Mac world too) crashed like yours, so I took the drive out, connected to the external case and made backup of all the remaining contents using another computer with USB connection. Although that drive had lots of bad sectors too and PC did not boot from it or any other device, but, lucky I was, it worked this way... Just an idea to try... Viktoras -------Original Message------- From: Andre Garzia Date: 1/16/2007 6:34:01 AM To: Improvements to Revolution Subject: OT: lost everything, macbook and its HD broken. Friends, I was here coding some AJAX programs and developing libraries, my macbook just made a strange mechanical noise and then it was dead... when tried to boot, it made lots of mechanical noises and it never booted again. The noises are comming from the hard drive. I am assuming I lost everything. all my source code for the last year and everything I was working. I don't know what is broken... but I can't make it boot even from CDs... I don't know what I am to do now. I am writting from my old G4. I was doing some contract work and then it broke. The machine is now bricked. Can't boot from HD, Firewire, Network or CD, I've tried them all. The screen goes white, lot's of bad noises and the famous question mark of "no system folder". I can't even erase the PRAM... never chimes. sorry for this annoucement but it will be a while till I set everything up again. Tomorrow I'll go to apple repair service but they are making a fool of me for more than three months already. I was waiting for a replacement main board for this same machine. Now it appears, I'll need a new machine. My backup machine was broken some months ago, I had no money to buy the parts to build it up again. The G4 had no space for hosting the macbooks backup. I think I just lost all my revolution source code which was maybe 5 or 6 gb worth of code. andre _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From bobwarren at howsoft.com Tue Jan 16 09:34:13 2007 From: bobwarren at howsoft.com (Bob Warren) Date: Tue, 16 Jan 2007 12:34:13 -0200 Subject: Error in textFont reporting? Message-ID: <45ACE265.1000103@howsoft.com> Sorry if this question has been asked before (I suspect it might have been), but a quick answer from somebody could be quicker than searching. I have a single word (e.g. robert) in a field "test". The whole word is in the Courier font, but the middle 2 letters are of a size different to the others. I am doing something like this in the field's coding: on mouseMove if the selectedText is not empty then put the textFont of the selectedText into field "result" end if end mouseMove OR on mouseMove if the selectedChunk is not empty then put the textFont of the selectedChunk into field "result" end if end mouseMove If I select the whole word in field "test", instead of "courier" in the field "result" I get "mixed". But it is the SIZE that is mixed, NOT the font name! I am using Rev 2.6.1. Am I doing something silly, or is this a known error? If it is a known error, is there a workaround? Has it been fixed in Rev 2.7? Thanks in advance for your patience. Bob From mark at maseurope.net Tue Jan 16 10:23:02 2007 From: mark at maseurope.net (Mark Smith) Date: Tue, 16 Jan 2007 15:23:02 +0000 Subject: Error in textFont reporting? In-Reply-To: <45ACE265.1000103@howsoft.com> References: <45ACE265.1000103@howsoft.com> Message-ID: <7BC8CEEA-021D-4979-AACF-3250BDF8D755@maseurope.net> A workaround (assuming that the textfont is never actually going to be mixed) might be to get the textFont of char 1 of the selectedText. Best, Mark On 16 Jan 2007, at 14:34, Bob Warren wrote: > on mouseMove > if the selectedText is not empty then > put the textFont of the selectedText into field "result" > end if > end mouseMove > > OR > > on mouseMove if the selectedChunk is not empty then > put the textFont of the selectedChunk into field "result" > end if > end mouseMove > > If I select the whole word in field "test", instead of "courier" in > the field "result" I get "mixed". But it is the SIZE that is mixed, > NOT the font name! > > I am using Rev 2.6.1. > Am I doing something silly, or is this a known error? > If it is a known error, is there a workaround? > Has it been fixed in Rev 2.7? From jamesjrichards at lineone.net Tue Jan 16 10:17:07 2007 From: jamesjrichards at lineone.net (James Richards) Date: Tue, 16 Jan 2007 15:17:07 +0000 Subject: OT: lost everything, macbook and its HD broken. In-Reply-To: <45ACD121.000001.02668@MAZYTIS> References: <8C7B763E-3A7D-4BDF-9FBF-D0A626B05D3D@mac.com> <45ACD121.000001.02668@MAZYTIS> Message-ID: <4ff7e5542e5434e6a798c98e832be3d6@lineone.net> Andre This worked for my iBook too and is a cheap and easy diy solution if the actual drive and mechanism is OK. If there is a problem with the drive itself, and *no other means of recovery is open to you* then you may have nothing to lose by disassembling (or getting someone else to disassemble) the HD itself and transferring its platters to another mechanism. This is a high risk last resort strategy for the point at which you are already regarding the data as lost. Google under 'disassemble hard drive'. Best of luck James -- James J Richards jamesjrichards at lineone.net Tel. +44 (0)15394 43063 On 16 Jan, 2007, at 13:20, Viktoras Didziulis wrote: > Andre, > > Lets hope it is not hard drive, but motherboard of your laptop, in > this case > strange sounds may also come out from hard drive devices... There are > external cases for hard drives to be connected through USB. They come > in > different sizes for laptop and desktop hard drives and prices vary > (~30-70 > Eur per device). Once my PC (well, not Mac, but there should be similar > things in Mac world too) crashed like yours, so I took the drive out, > connected to the external case and made backup of all the remaining > contents > using another computer with USB connection. Although that drive had > lots of > bad sectors too and PC did not boot from it or any other device, but, > lucky > I was, it worked this way... Just an idea to try... > > Viktoras From JimCarwardine at OwnYourFuture-net.com Tue Jan 16 12:10:41 2007 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Tue, 16 Jan 2007 13:10:41 -0400 Subject: OT: lost everything, MacBook and its HD broken. In-Reply-To: Message-ID: Andre... It does sound like a head crash, which would have destroyed a chunk of your disk which you have to recover through heroic effort. If the noise was caused by something else, as it happened to me some time ago, I took the hard drive out of my cooked computer, put into a USB external housing, connected it to another computer and got my data back... Jim on 1/16/07 2:52 AM, Jim Ault wrote: > Andre, > > Very, very sorry to hear about your dire circumstances. There are a few > times when having to reprogram an app or two can be a good thing, but not > the whole working environment. > > If you get back up and running, let me know. It is so easy for me to set up > an area on my web host for file storage for you (login and pswd protected). > There would be no cost and 5 or 6 g would be just fine. > > You should have said something to someone in the group, since many of us > have drive space available on the net somewhere. > > I don't know anything about drive recovery, but perhaps someone out here > does. Sometimes a college or university will have someone who can work > magic, especially with all the computer labs in the world these days. Even > better, they might try to do it for very low cost. > > Good luck and let me know. > > Jim Ault > Las Vegas > > > On 1/15/07 8:33 PM, "Andre Garzia" wrote: > >> Friends, >> >> I was here coding some AJAX programs and developing libraries, my >> macbook just made a strange mechanical noise and then it was dead... >> when tried to boot, it made lots of mechanical noises and it never >> booted again. The noises are comming from the hard drive. I am >> assuming I lost everything. all my source code for the last year and >> everything I was working. I don't know what is broken... but I can't >> make it boot even from CDs... >> >> I don't know what I am to do now. I am writting from my old G4. I was >> doing some contract work and then it broke. The machine is now >> bricked. Can't boot from HD, Firewire, Network or CD, I've tried them >> all. The screen goes white, lot's of bad noises and the famous >> question mark of "no system folder". I can't even erase the PRAM... >> never chimes. >> >> sorry for this annoucement but it will be a while till I set >> everything up again. Tomorrow I'll go to apple repair service but >> they are making a fool of me for more than three months already. I >> was waiting for a replacement main board for this same machine. Now >> it appears, I'll need a new machine. >> >> My backup machine was broken some months ago, I had no money to buy >> the parts to build it up again. The G4 had no space for hosting the >> macbooks backup. I think I just lost all my revolution source code >> which was maybe 5 or 6 gb worth of code. >> >> andre >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- www.TalentSeeker.ca www.HiringSmart.ca/ns www.KeepingTheBest.ca/ns Own Your Future Consulting Services Limited, 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From cmsheffield at gmail.com Tue Jan 16 12:14:31 2007 From: cmsheffield at gmail.com (Chris Sheffield) Date: Tue, 16 Jan 2007 10:14:31 -0700 Subject: help with revZip Message-ID: <1F0C9F4F-1286-4E7C-BB18-16A8A16FF553@gmail.com> I'm having a problem all of a sudden. I'm running Rev 2.7.4 on OS X 10.4.8 and trying use the revZip functions/commands. Whenever I try to use the revZipOpenArchive command to open a zip file to work with, I'm getting a "can't find handler" message. I know this has worked in the past because I've used it. I can't figure out what's going on. It's like the revZip external is not loading. I'm just doing this in the IDE, so it should be available. Anyone have any ideas? I don't have to specifically set the externals to the revzip bundle do I? Not for working in the IDE? Thanks, Chris ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From JimAultWins at yahoo.com Tue Jan 16 12:21:37 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 16 Jan 2007 09:21:37 -0800 Subject: help with revZip In-Reply-To: <1F0C9F4F-1286-4E7C-BB18-16A8A16FF553@gmail.com> Message-ID: On 1/16/07 9:14 AM, "Chris Sheffield" wrote: > I'm having a problem all of a sudden. I'm running Rev 2.7.4 on OS X > 10.4.8 and trying use the revZip functions/commands. Whenever I try > to use the revZipOpenArchive command to open a zip file to work with, > I'm getting a "can't find handler" message. I know this has worked in > the past because I've used it. I can't figure out what's going on. > It's like the revZip external is not loading. I'm just doing this in > the IDE, so it should be available. Anyone have any ideas? I don't > have to specifically set the externals to the revzip bundle do I? Not > for working in the IDE? Usually this means that there is one or more lines in your handler that don't make sense at run time (like 'emtpy' instead of 'empty') Try the good old commenting-out if's and repeat's to see what works. Jim Ault Las Vegas From SimPLsol at aol.com Tue Jan 16 12:22:45 2007 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Tue, 16 Jan 2007 12:22:45 EST Subject: OT: lost everything, macbook and its HD broken. Message-ID: Andre, The fact that the computer will not boot from other drives is a good thing. It indicates that the problem is probably on the board not the HD. I trust you've tried removing the HD from the problem computer to see if it works in another. If it IS the HD, then the less tinkering the better. One of my customers had massive problems with one of his HDs (he reformatted it!) and a company called Drive Savers managed to save almost everything on it. On OLD drives the freezer trick "sometimes" works. You wrap up the drive so there is no moisture. Put it in the freezer. When chilled, you bring it out and hit it on the side with a rubber hammer. This solves a "stiction" problem where the drives are overparked or stuck to the disk - as I said, usually a problem with older drives. Obviously a last resort, all else failed, drive is considered lost anyway, situation. For future reference: Your data is too valuable to trust to a single computer. I've found SuperDuper (free trial) and an inexpensive Firewire HD to be priceless. You probably have more data than I do so it may take longer but, in my case, I can completely backup about 30 Gig in 50 minutes with a 2 1/2" Firewire 400 drive - other drives might be twice as fast. Anyway, I'm sorry to hear of you misfortune and wish you the best. Please keep all of us informed. We are rooting for you! Paul Looney From cmsheffield at gmail.com Tue Jan 16 12:34:31 2007 From: cmsheffield at gmail.com (Chris Sheffield) Date: Tue, 16 Jan 2007 10:34:31 -0700 Subject: help with revZip In-Reply-To: References: Message-ID: Thanks for responding Jim, but all I'm doing is running answer file "select" revZipOpenArchive it from the message box. Although I have also tried it from a button script as well. Neither works. I am currently reinstalling Rev 2.7.4. I'm wondering if something go hosed there. On Jan 16, 2007, at 10:21 AM, Jim Ault wrote: > On 1/16/07 9:14 AM, "Chris Sheffield" wrote: > >> I'm having a problem all of a sudden. I'm running Rev 2.7.4 on OS X >> 10.4.8 and trying use the revZip functions/commands. Whenever I try >> to use the revZipOpenArchive command to open a zip file to work with, >> I'm getting a "can't find handler" message. I know this has worked in >> the past because I've used it. I can't figure out what's going on. >> It's like the revZip external is not loading. I'm just doing this in >> the IDE, so it should be available. Anyone have any ideas? I don't >> have to specifically set the externals to the revzip bundle do I? Not >> for working in the IDE? > > Usually this means that there is one or more lines in your handler > that > don't make sense at run time (like 'emtpy' instead of 'empty') > Try the > good old commenting-out if's and repeat's to see what works. > > Jim Ault > Las Vegas > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From bobwarren at howsoft.com Tue Jan 16 13:11:49 2007 From: bobwarren at howsoft.com (Bob Warren) Date: Tue, 16 Jan 2007 16:11:49 -0200 Subject: Error in textFont reporting? Message-ID: <45AD1565.9050706@howsoft.com> Mark Smith wrote: >A workaround (assuming that the textfont is never actually going to be mixed) might be to get the textFont of char 1 of the selectedText. ----------------------------- Thanks Mark. But that's the problem. The selected text may or may not have mixed textFonts. Regards, Bob From sl at trackandfieldnews.com Tue Jan 16 13:18:25 2007 From: sl at trackandfieldnews.com (Sieg Lindstrom) Date: Tue, 16 Jan 2007 10:18:25 -0800 Subject: StackRunner and MySQL In-Reply-To: <20070116143423.879F1488FFE@mail.runrev.com> Message-ID: Thanks, Ken. Your suggestion would certainly explain why the database calls sent by this stack don't work on computers where Revolution is not installed, but my computer includes the "dbmysql.bundle" file in the "Database Drivers" folder, and the problem still occurs. Just to make sure I have files in the right places, I have StackRunner in the folder that contains the 2.7.4 installation. The "Database Drivers" is nested in that same folder, and the stack I'm trying to run is nested in a folder that's also in the main 2.7.4 installation folder. Should that work? Many thanks for your help. Sieg Lindstrom Ken Ray wrote: > Well, StackRunner 1.5 was built using the 2.7.2 engine (see the > bottom of the page at http://www.sonsothunder.com/devres/revolution/ > downloads/StackRunner.htm), so it's possible that the mySQL commands > were changed between 2.7.2 and 2.7.4. > > However it's more likely that you don't have the mysQL database > drivers in the right place... StackRunner has the revdb external in > it so you can make database calls, but it is not bundled with all the > database drivers. These drivers should be in the "Database Drivers" > folder of your 2.7.4 installation and include something called > "dbmysql.bundle" which you'll need to connect to in order to use > mysQL from StackRunner. From JimAultWins at yahoo.com Tue Jan 16 13:23:37 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 16 Jan 2007 10:23:37 -0800 Subject: help with revZip In-Reply-To: Message-ID: Sorry, cannot test, since I am only using 2.7.2 for the next several months Jim On 1/16/07 9:34 AM, "Chris Sheffield" wrote: > Thanks for responding Jim, but all I'm doing is running > > answer file "select" > revZipOpenArchive it > > from the message box. Although I have also tried it from a button > script as well. Neither works. > > I am currently reinstalling Rev 2.7.4. I'm wondering if something go > hosed there. > From cmsheffield at gmail.com Tue Jan 16 14:21:21 2007 From: cmsheffield at gmail.com (Chris Sheffield) Date: Tue, 16 Jan 2007 12:21:21 -0700 Subject: help with revZip In-Reply-To: References: Message-ID: <728E3EE7-7DD2-4AD9-A479-CB0FAA9C29EC@gmail.com> Jim, Thanks for taking the time to respond. I feel really stupid to even admit this, but it turns out I was failing to provide the second parameter to the command, which is the mode the file should be opened in: read, write, or update. I'm having a "brain dead" day. What can I say? Although it would be nice if the execution error messages were a little more specific in this case. Thanks again, Chris On Jan 16, 2007, at 11:23 AM, Jim Ault wrote: > Sorry, cannot test, since I am only using 2.7.2 for the next > several months > > Jim > > > On 1/16/07 9:34 AM, "Chris Sheffield" wrote: > >> Thanks for responding Jim, but all I'm doing is running >> >> answer file "select" >> revZipOpenArchive it >> >> from the message box. Although I have also tried it from a button >> script as well. Neither works. >> >> I am currently reinstalling Rev 2.7.4. I'm wondering if something go >> hosed there. >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From revdev at pdslabs.net Tue Jan 16 14:26:46 2007 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 16 Jan 2007 11:26:46 -0800 Subject: 'play' vs. 'start' ? Message-ID: <45AD26F6.2050406@pdslabs.net> I maintain an application that sometimes plays 100's of external digital audio files during a single usage session. Currently the app uses 'start player' method of playing them. Sometimes the app will freeze up, and I think it's related to audio processing. I want to improve the app's stability. Has anyone found the 'play [filepath]' form to be more stable or less stable than 'start player'? Also, does anyone have extra info about the two approaches to audio playing that shed light on differences between the two? Are they doing the exact same thing under the hood? Many thanks - Phil Davis From higginsta at mac.com Tue Jan 16 14:40:26 2007 From: higginsta at mac.com (Todd Higgins) Date: Tue, 16 Jan 2007 14:40:26 -0500 Subject: OT: lost everything, macbook and its HD broken. In-Reply-To: <8C7B763E-3A7D-4BDF-9FBF-D0A626B05D3D@mac.com> References: <8C7B763E-3A7D-4BDF-9FBF-D0A626B05D3D@mac.com> Message-ID: Andre, Do not have you macbook shipped out to Apple for repair before you recover your data. Apple will typically reformat (or even replace) a hard drive even when it is in for unrelated repairs. It is possible that the hard drive has failed and is keeping the system from booting from the other drives. As others have suggested, disconnect the drive from the machine and try to boot from another device. But before you do that, have you tried Firewire target disk mode? (Try to start the machine with the T key held down)? What was your backup machine and what's broken? I might have the spare part you need. Good Luck, Todd On Jan 15, 2007, at 11:33 PM, Andre Garzia wrote: > Friends, > > I was here coding some AJAX programs and developing libraries, my > macbook just made a strange mechanical noise and then it was > dead... when tried to boot, it made lots of mechanical noises and > it never booted again. The noises are comming from the hard drive. > I am assuming I lost everything. all my source code for the last > year and everything I was working. I don't know what is broken... > but I can't make it boot even from CDs... > > I don't know what I am to do now. I am writting from my old G4. I > was doing some contract work and then it broke. The machine is now > bricked. Can't boot from HD, Firewire, Network or CD, I've tried > them all. The screen goes white, lot's of bad noises and the famous > question mark of "no system folder". I can't even erase the PRAM... > never chimes. > > sorry for this annoucement but it will be a while till I set > everything up again. Tomorrow I'll go to apple repair service but > they are making a fool of me for more than three months already. I > was waiting for a replacement main board for this same machine. Now > it appears, I'll need a new machine. > > My backup machine was broken some months ago, I had no money to buy > the parts to build it up again. The G4 had no space for hosting the > macbooks backup. I think I just lost all my revolution source code > which was maybe 5 or 6 gb worth of code. > > andre > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From josh at dvcreators.net Tue Jan 16 14:42:07 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Tue, 16 Jan 2007 11:42:07 -0800 Subject: OT: SSH on OS X In-Reply-To: <6E9A08CB-B306-4658-A86E-48AB5CE1CDB7@gmail.com> References: <4387FDFD-732A-4129-A5FD-D0E5747FC17D@gmail.com> <45ABDCBD.5050809@hyperactivesw.com> <895A71B8-1D17-4716-8FDE-EBDF5A9E32C3@gmail.com> <6E9A08CB-B306-4658-A86E-48AB5CE1CDB7@gmail.com> Message-ID: <948F511A-23DE-4BA5-8065-1981D2F0992C@dvcreators.net> FWIW, I consider this very on topic since, if a Rev coder could enable VNC screen sharing/control with a client or other coder on the team, this could make certain remote workflows flow much more smoothly! Has anyone VNCed between two remote firewalled locations using port forwarding or hamachi? On Jan 15, 2007, at 5:58 PM, Brent Anderson wrote: > Hello, > > Before finishing this thread, it is important to note that this > technique applies to any service that you are trying to serve to > the internet (www, ftp, ssh, my-favorite-internet-game) etc. > > Thanks, > Brent Anderson > CMSEC > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From josh at dvcreators.net Tue Jan 16 14:49:32 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Tue, 16 Jan 2007 11:49:32 -0800 Subject: 'play' vs. 'start' ? In-Reply-To: <45AD26F6.2050406@pdslabs.net> References: <45AD26F6.2050406@pdslabs.net> Message-ID: I was having some trouble with "start player" that went away when I changed to "set the rate of player 1 to 1" I think the trouble was that it wasn't starting however :-) On Jan 16, 2007, at 11:26 AM, Phil Davis wrote: > I maintain an application that sometimes plays 100's of external > digital audio files during a single usage session. Currently the > app uses 'start player' method of playing them. Sometimes the app > will freeze up, and I think it's related to audio processing. > > I want to improve the app's stability. Has anyone found the 'play > [filepath]' form to be more stable or less stable than 'start player'? > > Also, does anyone have extra info about the two approaches to audio > playing that shed light on differences between the two? Are they > doing the exact same thing under the hood? > > Many thanks - > Phil Davis > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Tue Jan 16 15:09:04 2007 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 16 Jan 2007 14:09:04 -0600 Subject: StackRunner and MySQL In-Reply-To: References: Message-ID: <315B48E0-6E53-4376-ABDF-75834E59EF7A@sonsothunder.com> On Jan 16, 2007, at 12:18 PM, Sieg Lindstrom wrote: > Thanks, Ken. > > Your suggestion would certainly explain why the database calls sent > by this > stack don't work on computers where Revolution is not installed, > but my > computer includes the "dbmysql.bundle" file in the "Database Drivers" > folder, and the problem still occurs. Just to make sure I have > files in the > right places, I have StackRunner in the folder that contains the 2.7.4 > installation. The "Database Drivers" is nested in that same folder, > and the > stack I'm trying to run is nested in a folder that's also in the > main 2.7.4 > installation folder. Should that work? Have you executed "revSetDatabaseDriverPath" in your stack that opens before it starts making calls to the database? I believe this is done automatically by Rev when you launch it, but StackRunner doesn't do this, so your stack will need to do it before you start calling on the database... Ken Ray Sons of Thunder Software, Inc. Web Site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From stephenREVOLUTION at barncard.com Tue Jan 16 15:48:45 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 16 Jan 2007 12:48:45 -0800 Subject: OT: lost everything, macbook and its HD broken. In-Reply-To: <45ACD121.000001.02668@MAZYTIS> References: <8C7B763E-3A7D-4BDF-9FBF-D0A626B05D3D@mac.com> <45ACD121.000001.02668@MAZYTIS> Message-ID: Andre, here's another tip I ran across: The Unix program dd is a disk copying util that you can use at the command line in order to make a disk image. It makes a bit-by-bit copy of the drive it's copying, caring nothing about filesystem type, files, or anything else. It's a great way to workaround the need for Norton Ghost. http://www.macosxhints.com/article.php?story=20050302225659382 also when you get the drive hooked up to another machine use Data Rescue II FIRST to gather as much stuff from your drive as possible, even with a crashed TOC.... http://www.prosofteng.com/products/data_rescue.php this does the magic that Norton used to do years ago. It worked for me. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From pepetoo at Cox.Net Tue Jan 16 16:43:30 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Tue, 16 Jan 2007 13:43:30 -0800 Subject: 'play' vs. 'start' ? In-Reply-To: <45AD26F6.2050406@pdslabs.net> References: <45AD26F6.2050406@pdslabs.net> Message-ID: <22F4D6CC-9837-42A1-95A2-EFDD10202656@Cox.Net> Well, got my car back a little earlier than expected. The neoprene samples have not arrived yet, so I called. We can pick them up on our way to LB. It won't be much out of the way. RubberCal's (RubberCal.com) facility is located at 2920 Kilson Drive, Santa Ana, CA; phone number: 800-370-9152 Are we still planning to see the structural engineer tomorrow? On Jan 16, 2007, at 11:26 AM, Phil Davis wrote: > I maintain an application that sometimes plays 100's of external > digital audio files during a single usage session. Currently the > app uses 'start player' method of playing them. Sometimes the app > will freeze up, and I think it's related to audio processing. > > I want to improve the app's stability. Has anyone found the 'play > [filepath]' form to be more stable or less stable than 'start player'? > > Also, does anyone have extra info about the two approaches to audio > playing that shed light on differences between the two? Are they > doing the exact same thing under the hood? > > Many thanks - > Phil Davis > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From JimCarwardine at OwnYourFuture-net.com Tue Jan 16 17:02:30 2007 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Tue, 16 Jan 2007 18:02:30 -0400 Subject: OT: lost everything, MacBook and its HD broken. In-Reply-To: Message-ID: I also looked up and got Superduper as suggested in this thread, I forget who. It looks good - very simple - and the purchased version is only $29. on 1/16/07 4:48 PM, Stephen Barncard wrote: > Andre, here's another tip I ran across: > > The Unix program dd is a disk copying util that you can use at the > command line in order to make a disk image. It makes a bit-by-bit > copy of the drive it's copying, caring nothing about filesystem type, > files, or anything else. It's a great way to workaround the need for > Norton Ghost. > > > http://www.macosxhints.com/article.php?story=20050302225659382 > > > also when you get the drive hooked up to another machine use Data > Rescue II FIRST to gather as much stuff from your drive as possible, > even with a crashed TOC.... > > http://www.prosofteng.com/products/data_rescue.php > > this does the magic that Norton used to do years ago. It worked for me. -- www.TalentSeeker.ca www.HiringSmart.ca/ns www.KeepingTheBest.ca/ns Own Your Future Consulting Services Limited, 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From brentj84062 at gmail.com Tue Jan 16 17:10:34 2007 From: brentj84062 at gmail.com (Brent Anderson) Date: Tue, 16 Jan 2007 15:10:34 -0700 Subject: OT: SSH on OS X In-Reply-To: <948F511A-23DE-4BA5-8065-1981D2F0992C@dvcreators.net> References: <4387FDFD-732A-4129-A5FD-D0E5747FC17D@gmail.com> <45ABDCBD.5050809@hyperactivesw.com> <895A71B8-1D17-4716-8FDE-EBDF5A9E32C3@gmail.com> <6E9A08CB-B306-4658-A86E-48AB5CE1CDB7@gmail.com> <948F511A-23DE-4BA5-8065-1981D2F0992C@dvcreators.net> Message-ID: <49755B57-87A1-40CF-B787-4A123740DFC7@gmail.com> Hello, Using either Hamachi or a VPN should be all you need to connect any group of computers across the internet for any service, including VNC. Thanks, Brent Anderson CMSEC On Jan 16, 2007, at 12:42 PM, Josh Mellicker wrote: > FWIW, I consider this very on topic since, if a Rev coder could > enable VNC screen sharing/control with a client or other coder on > the team, this could make certain remote workflows flow much more > smoothly! > > Has anyone VNCed between two remote firewalled locations using port > forwarding or hamachi? > > > > On Jan 15, 2007, at 5:58 PM, Brent Anderson wrote: > >> Hello, >> >> Before finishing this thread, it is important to note that this >> technique applies to any service that you are trying to serve to >> the internet (www, ftp, ssh, my-favorite-internet-game) etc. >> >> Thanks, >> Brent Anderson >> CMSEC >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Tue Jan 16 17:36:13 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 16 Jan 2007 16:36:13 -0600 Subject: OT: SSH on OS X In-Reply-To: <49755B57-87A1-40CF-B787-4A123740DFC7@gmail.com> References: <4387FDFD-732A-4129-A5FD-D0E5747FC17D@gmail.com> <45ABDCBD.5050809@hyperactivesw.com> <895A71B8-1D17-4716-8FDE-EBDF5A9E32C3@gmail.com> <6E9A08CB-B306-4658-A86E-48AB5CE1CDB7@gmail.com> <948F511A-23DE-4BA5-8065-1981D2F0992C@dvcreators.net> <49755B57-87A1-40CF-B787-4A123740DFC7@gmail.com> Message-ID: <45AD535D.2050103@hyperactivesw.com> Brent Anderson wrote: > Hello, > > Using either Hamachi or a VPN should be all you need to connect any > group of computers across the internet for any service, including VNC. I was just looking at Hamachi but it is pretty much Windows-only. They say you can compile it for Linux and OS X but that's beyond me. Meanwhile, I am finding that I can ssh over the local network only to one machine. Attempts to connect to any other local machine are denied (they all have port 22 open on their firewalls.) I thought that if I was using local IPs (for example, ssh user at 192.168.0.6) that the router would allow traffic to pass anywhere inside the LAN. But it isn't working that way. I can ssh only to the computer that is receiving the port forward from the router. Is that correct behavior? Is it supposed to forward all traffic on port 22 from both the LAN and the WAN? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From wjm at wjm.org Tue Jan 16 16:50:16 2007 From: wjm at wjm.org (Bill Marriott) Date: Tue, 16 Jan 2007 16:50:16 -0500 Subject: lost everything, macbook and its HD broken. References: <8C7B763E-3A7D-4BDF-9FBF-D0A626B05D3D@mac.com> Message-ID: Andre, People have given some excellent advice here. I just want to underscore some of the items and give you a couple additional ones: 1) The weird noise may not be a physical failure of the hard disk. A bad controller or motherboard can instruct the hard disk to do unnatural things. You also mentioned something about the motherboard being replaced. The very cheapest thing to do is to yank that hard drive out of the Mac and put it into a USB/Firewire housing. They cost as low as $14 mail order and no more than $45 for the top-of-the-line models. There are two advantages to getting a housing: - You can try to boot from the drive using a borrowed Mac. - You can attach it to a working Mac (or even PC) to have someone try to get the data off it. I wouldn't let that MacBook talk to that hard disk anymore. Yank the HD out (well, carefully) and try getting it to mount on a known-good computer. 2) As someone mentioned before, don't let Apple get their hands on the drive. Like all manufacturers, they are a component-swap shop, not a hard drive recovery service. Sending it to Apple is one way to make sure you data goes bye-bye. 3) I'm sure just about anyone here would be willing to help you try to get your data back; let me add my name to the list. 4) I'm not sure how big your disk is, but an 80GB 3.5-in drive is about $45 and the external USB/Firewire housing for them is about another $20. (Check newegg.com out.) For $65 you get a pretty amazing external backup solution. Usually plenty of space for your data (you don't need to back up system software and applications that come on CD). You don't need one of those fancy pre-built external things; it's super easy to build your own. 5) Dreamhost may not be the ideal ISP but the reason I kept them is they give me 400GB of storage and 4TB of transfer, which increases weekly by 2GB/32GB, for $20/month (or much less if you prepay). They don't mind if you back up your drive to their servers, in fact they have a knowledgebase article on how to do it. What a huge peace of mind to have your files on a server that is offsite, redundant drives, air conditioned, UPS backed up, accessible from anywhere in the world, etc. (And they have improved their throughput and reliability a LOT since the summer.) Good luck! "Andre Garzia" wrote in message news:8C7B763E-3A7D-4BDF-9FBF-D0A626B05D3D at mac.com... > Friends, > > I was here coding some AJAX programs and developing libraries, my macbook > just made a strange mechanical noise and then it was dead... when tried > to boot, it made lots of mechanical noises and it never booted again. The > noises are comming from the hard drive. I am assuming I lost everything. > all my source code for the last year and everything I was working. I > don't know what is broken... but I can't make it boot even from CDs... > > I don't know what I am to do now. I am writting from my old G4. I was > doing some contract work and then it broke. The machine is now bricked. > Can't boot from HD, Firewire, Network or CD, I've tried them all. The > screen goes white, lot's of bad noises and the famous question mark of > "no system folder". I can't even erase the PRAM... never chimes. > > sorry for this annoucement but it will be a while till I set everything > up again. Tomorrow I'll go to apple repair service but they are making a > fool of me for more than three months already. I was waiting for a > replacement main board for this same machine. Now it appears, I'll need a > new machine. > > My backup machine was broken some months ago, I had no money to buy the > parts to build it up again. The G4 had no space for hosting the macbooks > backup. I think I just lost all my revolution source code which was maybe > 5 or 6 gb worth of code. > > andre > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From wjm at wjm.org Tue Jan 16 17:44:45 2007 From: wjm at wjm.org (Bill Marriott) Date: Tue, 16 Jan 2007 17:44:45 -0500 Subject: Dr. Strangelove (or: How I Learned to Stop Worrying and LoveXML) References: <45AAA286.8080308@dreamscapesoftware.com> <79d1bee70701150121v62fe95dcu124a65613bbcc6e@mail.gmail.com> Message-ID: The problem with XML is that people can do any old thing they want with it. While the RULES are ridiculously strict, the implementations can drive you nuts. For example, look at the cookies.plist file on a Mac. It has a really wacky setup that I think makes it all but impossible to parse with the RevXML library without "walking" through it. Its something like: Name Bill EyeColor Blue Whereas the Rev library seems to make it easier to do something like: To be honest, I usually poke around in Sarah's stack and then figure out which function(s) I need through trial and error. It's just harder for me to "visualize" what I want to accomplish with XML. I can say that once you figure out what two or three commands you need to use to parse an XML file, it's way faster than using chunk expressions or some other method. - Bill "Martin Blackman" wrote in message news:79d1bee70701150121v62fe95dcu124a65613bbcc6e at mail.gmail.com... >I reckon people get put off by the long revXML function names and all > the parameters. But if you are fortunate enough to have Galaxy, it > makes things easier - you type the first few characters then use the > autocomplete function! > Before long you will find loops such as the following to be second nature: > > put revXMLrootnode(tID) into tnode > put revXMLfirstchild(tID,tnode) into paramNode > repeat > get revXMLAttribute(tID,paramNode,"name") > if not (it contains "xmlerr") then > put it into tname > put tname & comma after tparamlist > end if > put revXMLNextSibling(tID,paramNode) into paramNode > if paramNode is empty then exit repeat > end repeat > delete char -1 of tparamlist > > regards > Martin > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From brentj84062 at gmail.com Tue Jan 16 17:54:00 2007 From: brentj84062 at gmail.com (Brent Anderson) Date: Tue, 16 Jan 2007 15:54:00 -0700 Subject: OT: SSH on OS X In-Reply-To: <45AD535D.2050103@hyperactivesw.com> References: <4387FDFD-732A-4129-A5FD-D0E5747FC17D@gmail.com> <45ABDCBD.5050809@hyperactivesw.com> <895A71B8-1D17-4716-8FDE-EBDF5A9E32C3@gmail.com> <6E9A08CB-B306-4658-A86E-48AB5CE1CDB7@gmail.com> <948F511A-23DE-4BA5-8065-1981D2F0992C@dvcreators.net> <49755B57-87A1-40CF-B787-4A123740DFC7@gmail.com> <45AD535D.2050103@hyperactivesw.com> Message-ID: <0D92F4A8-79CD-4413-8B6E-837E95511039@gmail.com> Hello. I'd assume that it would only port forward on incoming WAN traffic since the router is performing network address translation. The forwarding lets the router know where incoming traffic should go since you could have hundreds of computers behind the same router. What kind of denial messages are you getting, as that could hint at what is causing the problem. Also, Hamachi's GUI is Windows only IF you go through just Hamachi. There is a graphical client called HamachiX (http://hamachix.com) that does lack some of the functionality of the Windows version since it is not officially supported by the Hamachi team (Chatting, pings from in application, premium accounts, "magic ports") but does just as well and even lets you set up quick-connect options for FTP, AFP, SFTP, and other services. HamachiX is nice if you want the GUI, but the command line version (Which, I believe, is installed by HamachiX) is very functional and is sometimes preferable to the GUI if you're trying to troubleshoot your Hamachi connection. Type "hamachi -h" from the command line for usage information once it's installed on your system. If you're just looking for the command line, the source compilation instructions are rather lightweight and can be found in the included README file. It doesn't tell you that to do something as root you prepend the command with the command "sudo " and enter your administrator password. Thanks, Brent Anderson CMSEC On Jan 16, 2007, at 3:36 PM, J. Landman Gay wrote: > Brent Anderson wrote: >> Hello, >> Using either Hamachi or a VPN should be all you need to connect >> any group of computers across the internet for any service, >> including VNC. > > I was just looking at Hamachi but it is pretty much Windows-only. > They say you can compile it for Linux and OS X but that's beyond me. > > Meanwhile, I am finding that I can ssh over the local network only > to one machine. Attempts to connect to any other local machine are > denied (they all have port 22 open on their firewalls.) I thought > that if I was using local IPs (for example, ssh user at 192.168.0.6) > that the router would allow traffic to pass anywhere inside the > LAN. But it isn't working that way. I can ssh only to the computer > that is receiving the port forward from the router. Is that correct > behavior? Is it supposed to forward all traffic on port 22 from > both the LAN and the WAN? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revdev at pdslabs.net Tue Jan 16 18:01:15 2007 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 16 Jan 2007 15:01:15 -0800 Subject: 'play' vs. 'start' ? In-Reply-To: <22F4D6CC-9837-42A1-95A2-EFDD10202656@Cox.Net> References: <45AD26F6.2050406@pdslabs.net> <22F4D6CC-9837-42A1-95A2-EFDD10202656@Cox.Net> Message-ID: <45AD593B.4080006@pdslabs.net> Uhhhh... thanks Joe! But I was really hoping I wouldn't need neoprene OR a structural engineer to improve audio processing in my app. :o) But I must confess, I never really thought about it that way. LOL, Phil Let it never be said that you don't get real inside info on this list! Joe Lewis Wilkins wrote: > Well, got my car back a little earlier than expected. The neoprene > samples have not arrived yet, so I called. We can pick them up on our > way to LB. It won't be much out of the way. RubberCal's (RubberCal.com) > facility is located at 2920 Kilson Drive, Santa Ana, CA; phone number: > 800-370-9152 > > Are we still planning to see the structural engineer tomorrow? > > On Jan 16, 2007, at 11:26 AM, Phil Davis wrote: > >> I maintain an application that sometimes plays 100's of external >> digital audio files during a single usage session. Currently the app >> uses 'start player' method of playing them. Sometimes the app will >> freeze up, and I think it's related to audio processing. >> >> I want to improve the app's stability. Has anyone found the 'play >> [filepath]' form to be more stable or less stable than 'start player'? >> >> Also, does anyone have extra info about the two approaches to audio >> playing that shed light on differences between the two? Are they doing >> the exact same thing under the hood? >> >> Many thanks - >> Phil Davis From pepetoo at Cox.Net Tue Jan 16 18:07:09 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Tue, 16 Jan 2007 15:07:09 -0800 Subject: 'play' vs. 'start' ? In-Reply-To: <45AD593B.4080006@pdslabs.net> References: <45AD26F6.2050406@pdslabs.net> <22F4D6CC-9837-42A1-95A2-EFDD10202656@Cox.Net> <45AD593B.4080006@pdslabs.net> Message-ID: <8AA6108F-6B57-44D8-B5FA-C955C53E957D@Cox.Net> Phil and all the list, My face is Soooo red! Obviously, my email was intended for someone else - not this list. I was kind of hoping everyone would just ignore it, but no such luck. Thanks for treating me kindly. I'll try to do better in the future. Joe Wilkins On Jan 16, 2007, at 3:01 PM, Phil Davis wrote: > Uhhhh... thanks Joe! But I was really hoping I wouldn't need > neoprene OR a structural engineer to improve audio processing in my > app. :o) But I must confess, I never really thought about it that > way. > > LOL, > Phil > > Let it never be said that you don't get real inside info on this list! > > > Joe Lewis Wilkins wrote: >> Well, got my car back a little earlier than expected. The neoprene >> samples have not arrived yet, so I called. We can pick them up on >> our way to LB. It won't be much out of the way. RubberCal's >> (RubberCal.com) facility is located at 2920 Kilson Drive, Santa >> Ana, CA; phone number: 800-370-9152 >> Are we still planning to see the structural engineer tomorrow? >> On Jan 16, 2007, at 11:26 AM, Phil Davis wrote: >>> I maintain an application that sometimes plays 100's of external >>> digital audio files during a single usage session. Currently the >>> app uses 'start player' method of playing them. Sometimes the app >>> will freeze up, and I think it's related to audio processing. >>> >>> I want to improve the app's stability. Has anyone found the 'play >>> [filepath]' form to be more stable or less stable than 'start >>> player'? >>> >>> Also, does anyone have extra info about the two approaches to >>> audio playing that shed light on differences between the two? Are >>> they doing the exact same thing under the hood? >>> >>> Many thanks - >>> Phil Davis > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From JimAultWins at yahoo.com Tue Jan 16 19:49:36 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 16 Jan 2007 16:49:36 -0800 Subject: 'play' vs. 'start' ? In-Reply-To: <8AA6108F-6B57-44D8-B5FA-C955C53E957D@Cox.Net> Message-ID: Yep, this is another example of incomplete documentation in Rev... I immediately searched for 'neoprene' 'structural engineer' and found nothing, zip, nada. Hard to imagine that the Rev team did not anticipate such topics on the user list :-) Maybe in the next release? Jim Ault Las Vegas ... obviously avoiding work that needs to be done :-) On 1/16/07 3:07 PM, "Joe Lewis Wilkins" wrote: > Phil and all the list, > > My face is Soooo red! Obviously, my email was intended for someone > else - not this list. I was kind of hoping everyone would just ignore > it, but no such luck. Thanks for treating me kindly. I'll try to do > better in the future. > > Joe Wilkins > > On Jan 16, 2007, at 3:01 PM, Phil Davis wrote: > >> Uhhhh... thanks Joe! But I was really hoping I wouldn't need >> neoprene OR a structural engineer to improve audio processing in my >> app. :o) But I must confess, I never really thought about it that >> way. >> >> LOL, >> Phil >> Joe Lewis Wilkins wrote: >>> Well, got my car back a little earlier than expected. The neoprene >>> samples have not arrived yet, so I called. We can pick them up on >>> our way to LB. It won't be much out of the way. RubberCal's >>> (RubberCal.com) facility is located at 2920 Kilson Drive, Santa >>> Ana, CA; phone number: 800-370-9152 >>> Are we still planning to see the structural engineer tomorrow? >>> On Jan 16, 2007, at 11:26 AM, Phil Davis wrote: >>>> I maintain an application that sometimes plays 100's of external >>>> digital audio files during a single usage session. Currently the >>>> app uses 'start player' method of playing them. Sometimes the app >>>> will freeze up, and I think it's related to audio processing. >>>> >>>> I want to improve the app's stability. Has anyone found the 'play >>>> [filepath]' form to be more stable or less stable than 'start >>>> player'? >>>> >>>> Also, does anyone have extra info about the two approaches to >>>> audio playing that shed light on differences between the two? Are >>>> they doing the exact same thing under the hood? From mark at maseurope.net Tue Jan 16 20:08:02 2007 From: mark at maseurope.net (Mark Smith) Date: Wed, 17 Jan 2007 01:08:02 +0000 Subject: 'play' vs. 'start' ? In-Reply-To: References: Message-ID: <4952FAC1-588E-4C0A-8055-362B001B9E70@maseurope.net> I believe these are currently in beta. 'Neoprene' is a property that can be set in particularly loud stacks, and will help to insulate adjacent stacks from interference. 'Structural Engineer' is a smart scripting agent (think Microsoft Bob) that will help us to avoid programming errors such as infinite loops, and will suggest useful re-factorings etc. The future's bright! :) Mark On 17 Jan 2007, at 00:49, Jim Ault wrote: > Yep, this is another example of incomplete documentation in Rev... I > immediately searched for 'neoprene' 'structural engineer' and > found > nothing, zip, nada. Hard to imagine that the Rev team did not > anticipate > such topics on the user list :-) > > Maybe in the next release? From jacque at hyperactivesw.com Tue Jan 16 20:11:28 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 16 Jan 2007 19:11:28 -0600 Subject: OT: SSH on OS X In-Reply-To: <0D92F4A8-79CD-4413-8B6E-837E95511039@gmail.com> References: <4387FDFD-732A-4129-A5FD-D0E5747FC17D@gmail.com> <45ABDCBD.5050809@hyperactivesw.com> <895A71B8-1D17-4716-8FDE-EBDF5A9E32C3@gmail.com> <6E9A08CB-B306-4658-A86E-48AB5CE1CDB7@gmail.com> <948F511A-23DE-4BA5-8065-1981D2F0992C@dvcreators.net> <49755B57-87A1-40CF-B787-4A123740DFC7@gmail.com> <45AD535D.2050103@hyperactivesw.com> <0D92F4A8-79CD-4413-8B6E-837E95511039@gmail.com> Message-ID: <45AD77C0.6050504@hyperactivesw.com> Brent Anderson wrote: > Hello. > > I'd assume that it would only port forward on incoming WAN traffic since > the router is performing network address translation. The forwarding > lets the router know where incoming traffic should go since you could > have hundreds of computers behind the same router. What kind of denial > messages are you getting, as that could hint at what is causing the > problem. It said: ssh: connect to host 192.168.0.6 port 22: Connection refused Not much to go on. But then I tried it about an hour later and it worked. So I must have changed something, but I'm not sure what. It does help to know that internal IP addresses aren't affected by the router settings, so I could ignore that piece. > Also, Hamachi's GUI is Windows only IF you go through just Hamachi. > There is a graphical client called HamachiX (http://hamachix.com) that > does lack some of the functionality of the Windows version since it is > not officially supported by the Hamachi team (Chatting, pings from in > application, premium accounts, "magic ports") but does just as well and > even lets you set up quick-connect options for FTP, AFP, SFTP, and other > services. HamachiX is nice if you want the GUI, but the command line > version (Which, I believe, is installed by HamachiX) is very functional > and is sometimes preferable to the GUI if you're trying to troubleshoot > your Hamachi connection. Type "hamachi -h" from the command line for > usage information once it's installed on your system. If you're just > looking for the command line, the source compilation instructions are > rather lightweight and can be found in the included README file. It > doesn't tell you that to do something as root you prepend the command > with the command "sudo " and enter your administrator password. I'll bookmark this. They say that it doesn't work yet with Intel Macs, which is what I'd want to use, but they are working on it. I can put it on my Powerbook though. As for compiling -- lightweight or no -- you have to remember you are talking to a command line idiot here. (But I do know about five words in Unix now. ;)) My eventual goal is to get VNC working via ssh, so I can help my mother with her computer. For anyone who is following my stumbling around, I'm trying to implement this trick: I need to use reverse port mapping because my mom is behind a firewall that neither of us can control. I think I'm about 2/3 of the way there now. I made the self-running Terminal file and it seems to work (except for the warning I get once in a while that "checking getaddrinfo failed" and that I am a possible breakin attempt.) Thanks for being willing to help while I muddle through this. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brentj84062 at gmail.com Tue Jan 16 20:23:56 2007 From: brentj84062 at gmail.com (Brent Anderson) Date: Tue, 16 Jan 2007 18:23:56 -0700 Subject: OT: SSH on OS X In-Reply-To: <45AD77C0.6050504@hyperactivesw.com> References: <4387FDFD-732A-4129-A5FD-D0E5747FC17D@gmail.com> <45ABDCBD.5050809@hyperactivesw.com> <895A71B8-1D17-4716-8FDE-EBDF5A9E32C3@gmail.com> <6E9A08CB-B306-4658-A86E-48AB5CE1CDB7@gmail.com> <948F511A-23DE-4BA5-8065-1981D2F0992C@dvcreators.net> <49755B57-87A1-40CF-B787-4A123740DFC7@gmail.com> <45AD535D.2050103@hyperactivesw.com> <0D92F4A8-79CD-4413-8B6E-837E95511039@gmail.com> <45AD77C0.6050504@hyperactivesw.com> Message-ID: <572EA0A3-3D7A-42CC-9FB6-C99377AA862B@gmail.com> Hello. > They say that it doesn't work yet with Intel Macs, which is what > I'd want to use, but they are working on it. Taken from the ReadMe for HamachiX > Intel macs are not working very well to date since not all of the > underlying components are in universal binary format already. This is interesting, as Hamachi is marked as Universal on Hamachi.cc and I haven't had any troubles with it (Apart from dealing with getting my firewall configured appropriately). I'm going to test out Hamachi under parallels and see if it really is zero-configuration or if it does need a few firewall tweaks. Thanks, Brent Anderson CMSEC From harrison at all-auctions.com Tue Jan 16 20:30:07 2007 From: harrison at all-auctions.com (harrison at all-auctions.com) Date: Tue, 16 Jan 2007 20:30:07 -0500 Subject: OT: lost everything, macbook and its HD broken. Message-ID: <380-2200713171307921@M2W027.mail2web.com> Andre, Ouch!!! As a Macintosh Repair guy, what you're telling me isn't sounding good. Don't mess with your drive anymore as you could cause yet even more damage to the platters. You really don't want to be messing with drive platters yourself. Send it into a professional with a "Clean Room" like "Drive Saver's". They also have very professional disk tools etc. http://www.drivesavers.com/ It can be pricey, but then so is all of that time that you have invested in all of the software that you have developed. Which is irreplaceable. If you send your unit into Apple, Inc. they probably will not try at all to recover your data, but you will get a replacement MacBook since it is probably still under warranty. Good Luck! Rick Harrison -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . From list at dreamscapesoftware.com Tue Jan 16 20:38:51 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Tue, 16 Jan 2007 19:38:51 -0600 Subject: Dr. Strangelove (or: How I Learned to Stop Worrying and Love XML) In-Reply-To: References: <45AAA286.8080308@dreamscapesoftware.com> <79d1bee70701150121v62fe95dcu124a65613bbcc6e@mail.gmail.com> Message-ID: <45AD7E2B.4000306@dreamscapesoftware.com> Bill Marriott wrote: > I can say that once you figure out what two or three commands you need to > use to parse an XML file, it's way faster than using chunk expressions or > some other method. This is really what I ended up doing. I created my own "ripText" function which pulls the data I need, via offsets, provided it follows the XML format's rules. If it doesn't, I throw an error. And since it's standardized (it's the OpenSearch format), any errors generated are the result of the XML author and not my program. I tried Sarah's stack and was amazed as to how nicely it parses the XML, but I found that incorporating all of the RevXML commands into what should be a simple function was all too complicated (not Sarah's stack, but RevXML itself). There's a learning curve, and you're right, XML can get quite complicated depending on who's writing it. I mean look at RSS... depending on the version: you could be there for hours. ;) Thanks to everyone that helped me out. I really appreciate it! Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ From pepetoo at Cox.Net Tue Jan 16 20:53:36 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Tue, 16 Jan 2007 17:53:36 -0800 Subject: 'play' vs. 'start' ? In-Reply-To: References: Message-ID: <2FE953F8-0089-4966-A0DF-564EBD93555E@Cox.Net> Hey Jim, Since you're in Las Vegas, if you have the opportunity to stop by booth #N-3176 at the World of Concrete Conference all next week, I'll be there and be happy to meet you, or any of the other listers who are around. Won't be much about Rev (yet), but I am writing an application in Rev that will do our shop drawings - only just begun as the song goes! BTW, the Prelude to my Rev column on Macinstruct.com will be up on this Wednesday, or so I've been told. Thanks for the good humored taunting, Joe Wilkins On Jan 16, 2007, at 4:49 PM, Jim Ault wrote: > Yep, this is another example of incomplete documentation in Rev... I > immediately searched for 'neoprene' 'structural engineer' and > found > nothing, zip, nada. Hard to imagine that the Rev team did not > anticipate > such topics on the user list :-) > > Maybe in the next release? > > Jim Ault > Las Vegas > ... obviously avoiding work that needs to be done :-) > > On 1/16/07 3:07 PM, "Joe Lewis Wilkins" wrote: > >> Phil and all the list, >> >> My face is Soooo red! Obviously, my email was intended for someone >> else - not this list. I was kind of hoping everyone would just ignore >> it, but no such luck. Thanks for treating me kindly. I'll try to do >> better in the future. >> >> Joe Wilkins >> >> On Jan 16, 2007, at 3:01 PM, Phil Davis wrote: >> >>> Uhhhh... thanks Joe! But I was really hoping I wouldn't need >>> neoprene OR a structural engineer to improve audio processing in my >>> app. :o) But I must confess, I never really thought about it that >>> way. >>> >>> LOL, >>> Phil >>> Joe Lewis Wilkins wrote: >>>> Well, got my car back a little earlier than expected. The neoprene >>>> samples have not arrived yet, so I called. We can pick them up on >>>> our way to LB. It won't be much out of the way. RubberCal's >>>> (RubberCal.com) facility is located at 2920 Kilson Drive, Santa >>>> Ana, CA; phone number: 800-370-9152 >>>> Are we still planning to see the structural engineer tomorrow? >>>> On Jan 16, 2007, at 11:26 AM, Phil Davis wrote: >>>>> I maintain an application that sometimes plays 100's of external >>>>> digital audio files during a single usage session. Currently the >>>>> app uses 'start player' method of playing them. Sometimes the app >>>>> will freeze up, and I think it's related to audio processing. >>>>> >>>>> I want to improve the app's stability. Has anyone found the 'play >>>>> [filepath]' form to be more stable or less stable than 'start >>>>> player'? >>>>> >>>>> Also, does anyone have extra info about the two approaches to >>>>> audio playing that shed light on differences between the two? Are >>>>> they doing the exact same thing under the hood? > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jperryl at ecs.fullerton.edu Tue Jan 16 23:20:41 2007 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 16 Jan 2007 20:20:41 -0800 (PST) Subject: Ed-Media/AACE CFP In-Reply-To: Message-ID: Okay. I guess I'll throw something together and send it up the proverbial flagpole to see who, if anyone, salutes. I'll let you know... Judy On Sun, 14 Jan 2007, David Bovill wrote: > Possibly Judy - we are looking to do some presentations with Internet 2, Re > software and some EU and US universities... so keep us in touch? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bobwarren at howsoft.com Wed Jan 17 01:03:51 2007 From: bobwarren at howsoft.com (Bob Warren) Date: Wed, 17 Jan 2007 04:03:51 -0200 Subject: Error in textFont reporting? Message-ID: <45ADBC47.7030605@howsoft.com> Mark (Smith): You didn't solve my problem, but you gave me the inspiration to solve it! Roughly, what I did was to copy the selected (rich) text to a new "temp" field using HTMLtext, and then I examined "temp" char by char to see what the textFont was. If each char reported the same font name, then the whole selection was declared to be of the same font name (in spite of differing sizes). Thanks again! By the way, does anyone know whether this has been fixed in Rev 2.7? Or is it supposedly a "feature" and not a "bug"? A reminder of the original problem is below. Regards, Bob --------------------------------------------------------------------------------------------------------- I have a single word (e.g. robert) in a field "test". The whole word is in the Courier font, but the middle 2 letters are of a size different to the others. I am doing something like this in the field's coding: on mouseMove if the selectedText is not empty then put the textFont of the selectedText into field "result" end if end mouseMove If I select the whole word in field "test", instead of "courier" in the field "result" I get "mixed". But it is the SIZE that is mixed, NOT the font name! I am using Rev 2.6.1. From ambassador at fourthworld.com Wed Jan 17 02:28:00 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 16 Jan 2007 23:28:00 -0800 Subject: Common writable folders Message-ID: <45ADD000.5060809@fourthworld.com> I have an app which will be for Mac and Win, and maybe Linux down the road, in which I need to store some data in a folder which needs to be writable by all users. Both Mac and Win provide common folders for reading data: Mac /HD/System Folder/Application Support Win C:/Documents and Settings/All Users/Application Data ...but in my testing here only users with admin privileges can write to those folders. :( What is the OS-recommended place to store common data which can be written by any user? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From JimAultWins at yahoo.com Wed Jan 17 04:29:31 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 17 Jan 2007 01:29:31 -0800 Subject: Error in textFont reporting? In-Reply-To: <45ADBC47.7030605@howsoft.com> Message-ID: Another solution (workaround): using field 1 and field 2 (hidden) on action if the selectedText is empty then exit to top copy select char 1 to -1 of fld 2 paste set the textSize of char 1 to -1 of fld 2 to 12 --now same size put the effective textFont of char 1 to -1 of fld 2 into fontAnswer answer fontAnswer end action -- either the font or "mixed" On 1/16/07 10:03 PM, "Bob Warren" wrote: > Mark (Smith): > > You didn't solve my problem, but you gave me the inspiration to solve it! > Roughly, what I did was to copy the selected (rich) text to a new "temp" > field using HTMLtext, and then I examined "temp" char by char to see > what the textFont was. If each char reported the same font name, then > the whole selection was declared to be of the same font name (in spite > of differing sizes). > > Thanks again! > > By the way, does anyone know whether this has been fixed in Rev 2.7? > Or is it supposedly a "feature" and not a "bug"? > A reminder of the original problem is below. > > Regards, > Bob > > ------------------------------------------------------------------------------ > --------------------------- > > I have a single word (e.g. robert) in a field "test". > The whole word is in the Courier font, but the middle 2 letters are of a > size different to the others. > > I am doing something like this in the field's coding: > > on mouseMove > if the selectedText is not empty then > put the textFont of the selectedText into field "result" > end if > end mouseMove > > > If I select the whole word in field "test", instead of "courier" in the > field "result" I get "mixed". But it is the SIZE that is mixed, NOT the > font name! > > I am using Rev 2.6.1. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION at barncard.com Wed Jan 17 05:24:04 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 17 Jan 2007 02:24:04 -0800 Subject: Common writable folders In-Reply-To: <45ADD000.5060809@fourthworld.com> References: <45ADD000.5060809@fourthworld.com> Message-ID: On the Mac, can't one use the shared folder in Users? > >What is the OS-recommended place to store common data which can be >written by any user? > >-- > Richard Gaskin -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From m.schonewille at economy-x-talk.com Wed Jan 17 07:29:13 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 17 Jan 2007 13:29:13 +0100 Subject: Common writable folders In-Reply-To: <45ADD000.5060809@fourthworld.com> References: <45ADD000.5060809@fourthworld.com> Message-ID: <55CDB208-B21A-4E85-BED5-9F0715297240@economy-x-talk.com> Hi Richard, Only admins can install applications that are available to all users. If a user is not an admin, you will have to write to the user's application support/data folder, which means that only the current user can use the application. Operating systems are designed this way to prevent limited users from messing up the entire system. Stephen, the shared folder on the Mac is for sharing files with other users, not for storing data used by applications. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 17-jan-2007, om 8:28 heeft Richard Gaskin het volgende geschreven: > I have an app which will be for Mac and Win, and maybe Linux down > the road, in which I need to store some data in a folder which > needs to be writable by all users. > > Both Mac and Win provide common folders for reading data: > > Mac /HD/System Folder/Application Support > Win C:/Documents and Settings/All Users/Application Data > > ...but in my testing here only users with admin privileges can > write to those folders. :( > > What is the OS-recommended place to store common data which can be > written by any user? > > -- > Richard Gaskin > Fourth World Media Corporation From m.schonewille at economy-x-talk.com Wed Jan 17 08:14:59 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 17 Jan 2007 14:14:59 +0100 Subject: StartUp message Message-ID: <300BF896-8E82-441E-B676-41697FC8941C@economy-x-talk.com> Dear everyone, Whenever I want a script to run only once on preOpenStack, openStack, openCard, preOpenCard, openBackground, preOpenBackground etc., I put this script into the card script of the first card of the main stack of my project. All these messages are sent to the card, rather than the stack. Of course, if the card doesn't handle the message, it is passed to higher levels in the message hierarchy. The startUp message is different. The docs contain the following description of the startUp message: "Sent to the first stack opened when the application starts up." So, this appears to be exactly true: the message is sent to the stack and not to the card. This causes some confusion and it is inconvenient for me, because usually my preOpenstack and startUp handlers are connected and I would like to look at them in the same script editor. Moreover, HyperCard does send the startUp message to the card rather than the stack. I would like to know your opinion about this. Please, write me on- or off-list (m.schonewille at conomy-x-talk.com). If I get positive feedback, I'll create a feature request for which you can vote. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz From dave.cragg at lacscentre.co.uk Wed Jan 17 08:35:32 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 17 Jan 2007 13:35:32 +0000 Subject: StartUp message In-Reply-To: <300BF896-8E82-441E-B676-41697FC8941C@economy-x-talk.com> References: <300BF896-8E82-441E-B676-41697FC8941C@economy-x-talk.com> Message-ID: On 17 Jan 2007, at 13:14, Mark Schonewille wrote: > The startUp message is different. The docs contain the following > description of the startUp message: > > "Sent to the first stack opened when the application starts up." > > So, this appears to be exactly true: the message is sent to the > stack and not to the card. This causes some confusion and it is > inconvenient for me, because usually my preOpenstack and startUp > handlers are connected and I would like to look at them in the same > script editor. Moreover, HyperCard does send the startUp message to > the card rather than the stack. > > I would like to know your opinion about this. Not an opinion, just an observation. In "cardless" situations such as cgi scripts,the startup message is the only one available. I have no knowledge of the internal workings of the engine, but I wonder if this is relevant and is part of the reason why "startup" goes to the stack and not the card. But if it's possible to implement, I can't see any downside. Cheers Dave From ambassador at fourthworld.com Wed Jan 17 09:33:27 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 17 Jan 2007 06:33:27 -0800 Subject: Common writable folders Message-ID: <45AE33B7.1090007@fourthworld.com> Mark Schonewille wrote: > Only admins can install applications that are available to all users. > If a user is not an admin, you will have to write to the user's > application support/data folder, which means that only the current > user can use the application. Operating systems are designed this way > to prevent limited users from messing up the entire system. Of course, and I have no problem with the application installation requiring an admin. But after it's installed, there are some features which could benefit from being available to all users. To restrict the availability of these features to admins seriously limits their usefulness, esp. in university lab environments where there may be only one admin for a hundred users. For user-created documents it would be easy enough to just require them to navigate to any non-OS-restricted volume when saving. But in this case the data isn't explicitly user-generated; it's done automatically by the app for stuff used by the app internally, the sort of thing one might normally find in "Application Support" (Mac) or "Application Data" (Win), but of benefit to all users hence my question. I suppose I have an easy out: if users complain about not having certain features using the same data for all users, I can just tell them that it certainly isn't my decision, it was made for us by OS vendors, and point them to the OS vendor support page. But that seems a clumsy and ultimately unproductive option. I was hoping that OS vendors anticipated the usefulness of common data, and provided at least one directory accessible by all for that purpose. In the meantime I'll add an option for admins to assign a non-OS-restricted volume during install for such data as a workaround.... -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Wed Jan 17 09:42:08 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 17 Jan 2007 06:42:08 -0800 Subject: StartUp message Message-ID: <45AE35C0.9060703@fourthworld.com> Mark Schonewille wrote: > The startUp message is different. The docs contain the following > description of the startUp message: > > "Sent to the first stack opened when the application starts up." > > So, this appears to be exactly true: the message is sent to the stack > and not to the card. This causes some confusion and it is > inconvenient for me, because usually my preOpenstack and startUp > handlers are connected and I would like to look at them in the same > script editor. Moreover, HyperCard does send the startUp message to > the card rather than the stack. Fortunately it appears this isn't an error in the engine, just in the docs. I just made a standalone with this handler in both the card and stack scripts: on startup answer the params &cr& the name of the target end startup When I run the standalone the Answer box contains: startup card id 1002 So as far as I can tell, the Rev engine is consistent in this regard with HyperCard and other xTalks. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From m.schonewille at economy-x-talk.com Wed Jan 17 10:02:00 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 17 Jan 2007 16:02:00 +0100 Subject: StartUp message In-Reply-To: <45AE35C0.9060703@fourthworld.com> References: <45AE35C0.9060703@fourthworld.com> Message-ID: <3C2F93B4-06B8-4671-B786-32F29AE33188@economy-x-talk.com> Hi Richard, I just checked it, it appears you're right. I had a reason to ask this, but I'll check out a few more things and come back to the subject later. Thanks Richard for testing and Dave for your reply. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 17-jan-2007, om 15:42 heeft Richard Gaskin het volgende geschreven: > > Fortunately it appears this isn't an error in the engine, just in > the docs. > > I just made a standalone with this handler in both the card and > stack scripts: > > on startup > answer the params &cr& the name of the target > end startup > > When I run the standalone the Answer box contains: > > startup > card id 1002 > > So as far as I can tell, the Rev engine is consistent in this > regard with HyperCard and other xTalks. > > -- > Richard Gaskin > Fourth World Media Corporation From kray at sonsothunder.com Wed Jan 17 10:05:45 2007 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 17 Jan 2007 09:05:45 -0600 Subject: Dr. Strangelove (or: How I Learned to Stop Worrying and Love XML) In-Reply-To: <45AD7E2B.4000306@dreamscapesoftware.com> References: <45AAA286.8080308@dreamscapesoftware.com> <79d1bee70701150121v62fe95dcu124a65613bbcc6e@mail.gmail.com> <45AD7E2B.4000306@dreamscapesoftware.com> Message-ID: On Jan 16, 2007, at 7:38 PM, Derek Bump wrote: > Bill Marriott wrote: >> I can say that once you figure out what two or three commands you >> need to use to parse an XML file, it's way faster than using chunk >> expressions or some other method. > > This is really what I ended up doing. I created my own "ripText" > function which pulls the data I need, via offsets, provided it > follows the XML format's rules. If it doesn't, I throw an error. > And since it's standardized (it's the OpenSearch format), any > errors generated are the result of the XML author and not my program. > > I tried Sarah's stack and was amazed as to how nicely it parses the > XML, but I found that incorporating all of the RevXML commands into > what should be a simple function was all too complicated (not > Sarah's stack, but RevXML itself). > > There's a learning curve, and you're right, XML can get quite > complicated depending on who's writing it. I mean look at RSS... > depending on the version: you could be there for hours. ;) True! That's why I wrote a simple plugin to my XML parsing library for dealing with RSS feeds, so you could do things like: stsXML_GetRSSItemTitles() --> list of article titles stsXML_GetRSSItemProperty(,) --> retrieves a property for an item So you can do something like this: put stsXML_GetRSSItemProperty("MyApp receives kudos at MacWorld Expo","link") into tURL revGoURL tURL :-) Ken Ray Sons of Thunder Software, Inc. Web Site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com (BTW: If anyone's interested in my parsing library or the RSS Plugin, you can take a look at: http://www.sonsothunder.com/products/xmllib/xmllib.htm http://www.sonsothunder.com/products/xmllib/xmllib_rssplugin.htm ) From soapdog at mac.com Wed Jan 17 10:12:46 2007 From: soapdog at mac.com (Andre Garzia) Date: Wed, 17 Jan 2007 13:12:46 -0200 Subject: StartUp message In-Reply-To: References: <300BF896-8E82-441E-B676-41697FC8941C@economy-x-talk.com> Message-ID: Dave, also, when you're running a text CGI, the CGI script is "inserted" into a stack named "script". if your cgi is on startup put the script of stack "script" end startup then you'll see your own source code in the result. This is specially useful for debugging. So the startup context in executing text script files is stack "script", first card. Andre On Jan 17, 2007, at 11:35 AM, Dave Cragg wrote: > > On 17 Jan 2007, at 13:14, Mark Schonewille wrote: >> The startUp message is different. The docs contain the following >> description of the startUp message: >> >> "Sent to the first stack opened when the application starts up." >> >> So, this appears to be exactly true: the message is sent to the >> stack and not to the card. This causes some confusion and it is >> inconvenient for me, because usually my preOpenstack and startUp >> handlers are connected and I would like to look at them in the >> same script editor. Moreover, HyperCard does send the startUp >> message to the card rather than the stack. >> >> I would like to know your opinion about this. > > Not an opinion, just an observation. In "cardless" situations such > as cgi scripts,the startup message is the only one available. I > have no knowledge of the internal workings of the engine, but I > wonder if this is relevant and is part of the reason why "startup" > goes to the stack and not the card. > > But if it's possible to implement, I can't see any downside. > > Cheers > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobwarren at howsoft.com Wed Jan 17 10:53:43 2007 From: bobwarren at howsoft.com (Bob Warren) Date: Wed, 17 Jan 2007 13:53:43 -0200 Subject: Common writable folders Message-ID: <45AE4687.3050507@howsoft.com> Richard Gaskin wrote: >I have an app which will be for Mac and Win, and maybe Linux down the road, in which I need to store some data in a folder which needs to be writable by all users. Both Mac and Win provide common folders for reading data: Mac /HD/System Folder/Application Support Win C:/Documents and Settings/All Users/Application Data ...but in my testing here only users with admin privileges can write to those folders. :( What is the OS-recommended place to store common data which can be written by any user? ---------------------------------------------------------------------------------------------------------- Sounds like a perfect candidate for a Linux pendrive solution as outlined in my "Rev's Portability" thread! That is exactly the kind of problem I was trying to outline. It's an example of what I meant by "heavy" use of the file system described in the original post. Of course, it all depends on whether your app really needs to be run on the HD or not. If not, then no problem. If so, then I can't help very much, since "cross platform" apps at this level tend to become either highly complex or unviable. Regards, Bob From luis at anachreon.co.uk Wed Jan 17 11:09:10 2007 From: luis at anachreon.co.uk (Luis) Date: Wed, 17 Jan 2007 16:09:10 +0000 Subject: Common writable folders In-Reply-To: <45AE4687.3050507@howsoft.com> References: <45AE4687.3050507@howsoft.com> Message-ID: <45AE4A26.5050502@anachreon.co.uk> Hiya, Is this an app for a single workstation? If not, you could create a shortcut/symlink to a location on a server and use that as a default for the app. If it's for a single workstation (with many users): I heard that in Vista it will change from the current W2K/WXP setup. Other than that you could create this folder on the logged in users' default save location when the app starts up: Each user that uses the app would then have this folder on the HD in the default save location. Cheers, Luis. Bob Warren wrote: > Richard Gaskin wrote: > > > >I have an app which will be for Mac and Win, and maybe Linux down the > road, in which I need to store some data in a folder which needs to be > writable by all users. Both Mac and Win provide common folders for > reading data: Mac /HD/System Folder/Application Support Win C:/Documents > and Settings/All Users/Application Data ...but in my testing here only > users with admin privileges can write to those folders. :( What is the > OS-recommended place to store common data which can be written by any user? > > ---------------------------------------------------------------------------------------------------------- > > Sounds like a perfect candidate for a Linux pendrive solution as > outlined in my "Rev's Portability" thread! That is exactly the kind of > problem I was trying to outline. It's an example of what I meant by > "heavy" use of the file system described in the original post. Of > course, it all depends on whether your app really needs to be run on the > HD or not. If not, then no problem. If so, then I can't help very much, > since "cross platform" apps at this level tend to become either highly > complex or unviable. > > Regards, > Bob > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From lists at mangomultimedia.com Wed Jan 17 11:11:05 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 17 Jan 2007 08:11:05 -0800 Subject: Common writable folders In-Reply-To: <45AE33B7.1090007@fourthworld.com> References: <45AE33B7.1090007@fourthworld.com> Message-ID: <4E6A5373-6E73-46B8-A4CF-E34FAE118F9C@mangomultimedia.com> On Jan 17, 2007, at 6:33 AM, Richard Gaskin wrote: > Mark Schonewille wrote: > >> Only admins can install applications that are available to all >> users. If a user is not an admin, you will have to write to the >> user's application support/data folder, which means that only the >> current user can use the application. Operating systems are >> designed this way to prevent limited users from messing up the >> entire system. > > Of course, and I have no problem with the application installation > requiring an admin. Richard, Would it be wrong to set the permissions of your apps folder within the /System/Application Support/ folder to the same permissions as the /Users/Shared folder during the first run/install? I would think if you restrict it to your app folder and not the / System/Application Support/ folder there wouldn't be an issue but that may be breaking some great security rule. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From RGould8 at aol.com Wed Jan 17 11:14:42 2007 From: RGould8 at aol.com (RGould8 at aol.com) Date: Wed, 17 Jan 2007 11:14:42 EST Subject: Will revOpenDatabase work in a shared-hosting environment Message-ID: I'm having a rough time getting revOpenDatabase to work on a mySQL database that I am presently hosting at www.simplehost.com. I've checked the ports on simplehost, and they claim that the port is 3306 for mySQL. I've written lots of php scripts which successfully pull data from the database locally on the server. It's just the standalong application in Rev that's the roadblock at the moment. I've even downloaded the excellent MySQL tests demo, and it's not connecting either. The only variables I can think of that might be causing problems: 1) simplehost.com is blocking access from the outside 2) perhaps I need to try the SSL settings 3) perhaps it's something I'm doing wrong in the way I'm passing data into the revOpenDatabase command Partially, I don't trust my ISP, but partially, I don't trust me either - - - any help is greatly appreciated revOpenDatabase("MySQL","www.simplehost.com","mytestDB',robtest,) From m.schonewille at economy-x-talk.com Wed Jan 17 11:21:25 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 17 Jan 2007 17:21:25 +0100 Subject: Will revOpenDatabase work in a shared-hosting environment In-Reply-To: References: Message-ID: Hi, Are you sure that the MySQL server is using old-style password? Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 17-jan-2007, om 17:14 heeft RGould8 at aol.com het volgende geschreven: > I'm having a rough time getting revOpenDatabase to work on a mySQL > database > that I am presently hosting at www.simplehost.com. I've checked > the ports on > simplehost, and they claim that the port is 3306 for mySQL. I've > written > lots of php scripts which successfully pull data from the database > locally on the > server. It's just the standalong application in Rev that's the > roadblock at > the moment. I've even downloaded the excellent MySQL tests demo, > and it's > not connecting either. > > The only variables I can think of that might be causing problems: > > 1) simplehost.com is blocking access from the outside > 2) perhaps I need to try the SSL settings > 3) perhaps it's something I'm doing wrong in the way I'm passing > data into > the revOpenDatabase command > > Partially, I don't trust my ISP, but partially, I don't trust me > either - - - > any help is greatly appreciated > > revOpenDatabase > ("MySQL","www.simplehost.com","mytestDB',robtest,) From luis at anachreon.co.uk Wed Jan 17 11:25:28 2007 From: luis at anachreon.co.uk (Luis) Date: Wed, 17 Jan 2007 16:25:28 +0000 Subject: Common writable folders In-Reply-To: <45AE4A26.5050502@anachreon.co.uk> References: <45AE4687.3050507@howsoft.com> <45AE4A26.5050502@anachreon.co.uk> Message-ID: <45AE4DF8.3050409@anachreon.co.uk> Ooops, I meant to include: The folder created on the app startup would check to see if it has already been created. The folder would be created with permissions to enable sharing of the contents and copy across the contents of any other shared folders of the same name. I think I know what I mean... Cheers, Luis. Luis wrote: > Hiya, > > Is this an app for a single workstation? If not, you could create a > shortcut/symlink to a location on a server and use that as a default for > the app. > If it's for a single workstation (with many users): I heard that in > Vista it will change from the current W2K/WXP setup. > > Other than that you could create this folder on the logged in users' > default save location when the app starts up: Each user that uses the > app would then have this folder on the HD in the default save location. > > Cheers, > > Luis. > > > Bob Warren wrote: >> Richard Gaskin wrote: >> >> >> >I have an app which will be for Mac and Win, and maybe Linux down >> the road, in which I need to store some data in a folder which needs >> to be writable by all users. Both Mac and Win provide common folders >> for reading data: Mac /HD/System Folder/Application Support Win >> C:/Documents and Settings/All Users/Application Data ...but in my >> testing here only users with admin privileges can write to those >> folders. :( What is the OS-recommended place to store common data >> which can be written by any user? >> >> ---------------------------------------------------------------------------------------------------------- >> >> Sounds like a perfect candidate for a Linux pendrive solution as >> outlined in my "Rev's Portability" thread! That is exactly the kind of >> problem I was trying to outline. It's an example of what I meant by >> "heavy" use of the file system described in the original post. Of >> course, it all depends on whether your app really needs to be run on >> the HD or not. If not, then no problem. If so, then I can't help very >> much, since "cross platform" apps at this level tend to become either >> highly complex or unviable. >> >> Regards, >> Bob >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From soapdog at mac.com Wed Jan 17 11:26:31 2007 From: soapdog at mac.com (Andre Garzia) Date: Wed, 17 Jan 2007 14:26:31 -0200 Subject: Will revOpenDatabase work in a shared-hosting environment In-Reply-To: References: Message-ID: Rob, I'd try to connect using one of the available third party SQL clients from the net such as MacSQL or mySQLAdmin. If you can connect from such clients, then you'd be sure the problem is on Rev side or if you can't connect, then you'd better bug your ISP. Andre On Jan 17, 2007, at 2:14 PM, RGould8 at aol.com wrote: > I'm having a rough time getting revOpenDatabase to work on a mySQL > database > that I am presently hosting at www.simplehost.com. I've checked > the ports on > simplehost, and they claim that the port is 3306 for mySQL. I've > written > lots of php scripts which successfully pull data from the database > locally on the > server. It's just the standalong application in Rev that's the > roadblock at > the moment. I've even downloaded the excellent MySQL tests demo, > and it's > not connecting either. > > The only variables I can think of that might be causing problems: > > 1) simplehost.com is blocking access from the outside > 2) perhaps I need to try the SSL settings > 3) perhaps it's something I'm doing wrong in the way I'm passing > data into > the revOpenDatabase command > > Partially, I don't trust my ISP, but partially, I don't trust me > either - - - > any help is greatly appreciated > > revOpenDatabase > ("MySQL","www.simplehost.com","mytestDB',robtest,) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From luis at anachreon.co.uk Wed Jan 17 11:31:14 2007 From: luis at anachreon.co.uk (Luis) Date: Wed, 17 Jan 2007 16:31:14 +0000 Subject: Will revOpenDatabase work in a shared-hosting environment In-Reply-To: References: Message-ID: <45AE4F52.4040606@anachreon.co.uk> Hiya, Some ISPs will not allow database access from external sources. It's ok to use php and stuff on the hosting server, but anything outside their subnet is a no-no. This is the same setup for GoDaddy. Cheers, Luis. Mark Schonewille wrote: > Hi, > > Are you sure that the MySQL server is using old-style password? > > Best, > > Mark > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Get your store on-line within minutes with Salery Web Store software. > Download at http://www.salery.biz > > Op 17-jan-2007, om 17:14 heeft RGould8 at aol.com het volgende geschreven: > >> I'm having a rough time getting revOpenDatabase to work on a mySQL >> database >> that I am presently hosting at www.simplehost.com. I've checked the >> ports on >> simplehost, and they claim that the port is 3306 for mySQL. I've >> written >> lots of php scripts which successfully pull data from the database >> locally on the >> server. It's just the standalong application in Rev that's the >> roadblock at >> the moment. I've even downloaded the excellent MySQL tests demo, and >> it's >> not connecting either. >> >> The only variables I can think of that might be causing problems: >> >> 1) simplehost.com is blocking access from the outside >> 2) perhaps I need to try the SSL settings >> 3) perhaps it's something I'm doing wrong in the way I'm passing >> data into >> the revOpenDatabase command >> >> Partially, I don't trust my ISP, but partially, I don't trust me >> either - - - >> any help is greatly appreciated >> >> revOpenDatabase("MySQL","www.simplehost.com","mytestDB',robtest,) > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From ambassador at fourthworld.com Wed Jan 17 11:58:32 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 17 Jan 2007 08:58:32 -0800 Subject: Common writable folders Message-ID: <45AE55B8.5020008@fourthworld.com> Luis wrote: >> Other than that you could create this folder on the logged in users' >> default save location when the app starts up: Each user that uses >> the app would then have this folder on the HD in the default save >> location. > > Ooops, I meant to include: > > The folder created on the app startup would check to see if it has > already been created. The folder would be created with permissions to > enable sharing of the contents and copy across the contents of any > other shared folders of the same name. I think you're onto it. I ran a couple of quick tests and found that for Mac an admin can set permission on a folder inside of Applications to allow non-admin writes. On Win if you create a folder in: /Documents and Settings/All Users/Application Data/ ...and turn off Read Only, the folder can be written by other users. I just need to work out the command lines for these and add that to the custom installer and it should all be good. Thanks for the input - -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From RGould8 at aol.com Wed Jan 17 12:01:03 2007 From: RGould8 at aol.com (RGould8 at aol.com) Date: Wed, 17 Jan 2007 12:01:03 EST Subject: Will revOpenDatabase work in a shared-hosting environment Message-ID: Well, if that's the case, then simplehost.com is toast in my book. My dream hosting environment is one where I can connect to mySQL from Revolution remotely, and run Ruby on Rails. I think it may be time for me to switch. In a message dated 1/17/07 11:32:07 AM, luis at anachreon.co.uk writes: > Hiya, > > Some ISPs will not allow database access from external sources. It's ok > to use php and stuff on the hosting server, but anything outside their > subnet is a no-no. This is the same setup for GoDaddy. > > Cheers, > > Luis. > > > Mark Schonewille wrote: > > Hi, > > > > Are you sure that the MySQL server is using old-style password? > > > > Best, > > > > Mark > > > > -- > > > > Economy-x-Talk > > Consultancy and Software Engineering > > http://economy-x-talk.com > > http://www.salery.biz > > > > Get your store on-line within minutes with Salery Web Store software. > > Download at http://www.salery.biz > > > > Op 17-jan-2007, om 17:14 heeft RGould8 at aol.com het volgende geschreven: > > > >> I'm having a rough time getting revOpenDatabase to work on a mySQL > >> database > >> that I am presently hosting at www.simplehost.com.?? I've checked the > >> ports on > >> simplehost, and they claim that the port is 3306 for mySQL.?? I've > >> written > >> lots of php scripts which successfully pull data from the database > >> locally on the > >> server.?? It's just the standalong application in Rev that's the > >> roadblock at > >> the moment.?? I've even downloaded the excellent MySQL tests demo, and > >> it's > >> not connecting either. > >> > >> The only variables I can think of that might be causing problems: > >> > >> 1)?? simplehost.com is blocking access from the outside > >> 2)?? perhaps I need to try the SSL settings > >> 3)?? perhaps it's something I'm doing wrong in the way I'm passing > >> data into > >> the revOpenDatabase command > >> > >> Partially, I don't trust my ISP, but partially, I don't trust me > >> either - - - > >> any help is greatly appreciated > >> > >> revOpenDatabase("MySQL","www.simplehost.com","mytestDB',robtest,) > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From luis at anachreon.co.uk Wed Jan 17 12:12:07 2007 From: luis at anachreon.co.uk (Luis) Date: Wed, 17 Jan 2007 17:12:07 +0000 Subject: Will revOpenDatabase work in a shared-hosting environment In-Reply-To: References: Message-ID: <45AE58E7.7070400@anachreon.co.uk> Good luck with that, I haven't found many that will allow that. You might be better off with a virtual server, and setting your own custom permissions. Cheers, Luis. RGould8 at aol.com wrote: > Well, if that's the case, then simplehost.com is toast in my book. My dream > hosting environment is one where I can connect to mySQL from Revolution > remotely, and run Ruby on Rails. I think it may be time for me to switch. > > > In a message dated 1/17/07 11:32:07 AM, luis at anachreon.co.uk writes: > > >> Hiya, >> >> Some ISPs will not allow database access from external sources. It's ok >> to use php and stuff on the hosting server, but anything outside their >> subnet is a no-no. This is the same setup for GoDaddy. >> >> Cheers, >> >> Luis. >> >> >> Mark Schonewille wrote: >>> Hi, >>> >>> Are you sure that the MySQL server is using old-style password? >>> >>> Best, >>> >>> Mark >>> >>> -- >>> >>> Economy-x-Talk >>> Consultancy and Software Engineering >>> http://economy-x-talk.com >>> http://www.salery.biz >>> >>> Get your store on-line within minutes with Salery Web Store software. >>> Download at http://www.salery.biz >>> >>> Op 17-jan-2007, om 17:14 heeft RGould8 at aol.com het volgende geschreven: >>> >>>> I'm having a rough time getting revOpenDatabase to work on a mySQL >>>> database >>>> that I am presently hosting at www.simplehost.com. I've checked the >>>> ports on >>>> simplehost, and they claim that the port is 3306 for mySQL. I've >>>> written >>>> lots of php scripts which successfully pull data from the database >>>> locally on the >>>> server. It's just the standalong application in Rev that's the >>>> roadblock at >>>> the moment. I've even downloaded the excellent MySQL tests demo, and >>>> it's >>>> not connecting either. >>>> >>>> The only variables I can think of that might be causing problems: >>>> >>>> 1) simplehost.com is blocking access from the outside >>>> 2) perhaps I need to try the SSL settings >>>> 3) perhaps it's something I'm doing wrong in the way I'm passing >>>> data into >>>> the revOpenDatabase command >>>> >>>> Partially, I don't trust my ISP, but partially, I don't trust me >>>> either - - - >>>> any help is greatly appreciated >>>> >>>> revOpenDatabase("MySQL","www.simplehost.com","mytestDB',robtest,) >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From dave.cragg at lacscentre.co.uk Wed Jan 17 12:15:28 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 17 Jan 2007 17:15:28 +0000 Subject: StartUp message In-Reply-To: References: <300BF896-8E82-441E-B676-41697FC8941C@economy-x-talk.com> Message-ID: On 17 Jan 2007, at 15:12, Andre Garzia wrote: > Dave, > > also, when you're running a text CGI, the CGI script is "inserted" > into a stack named "script". if your cgi is > > on startup > put the script of stack "script" > end startup > > then you'll see your own source code in the result. This is > specially useful for debugging. So the startup context in executing > text script files is stack "script", first card. I didn't know that, Andre. Thanks for the info. Cheers Dave From RGould8 at aol.com Wed Jan 17 13:04:40 2007 From: RGould8 at aol.com (RGould8 at aol.com) Date: Wed, 17 Jan 2007 13:04:40 EST Subject: Will revOpenDatabase work in a shared-hosting environment Message-ID: Well know you've peaked my interest. You haven't found _many_ - - - but have you found _any_ hosting companies that allow Revolution to connect to mySQL remotely? In a message dated 1/17/07 12:12:33 PM, luis at anachreon.co.uk writes: > Good luck with that, I haven't found many that will allow that. > You might be better off with a virtual server, and setting your own > custom permissions. > > Cheers, > > Luis. > > > RGould8 at aol.com wrote: > > Well, if that's the case, then simplehost.com is toast in my book.?? My > dream > > hosting environment is one where I can connect to mySQL from Revolution > > remotely, and run Ruby on Rails.?? I think it may be time for me to > switch. > > > > > > In a message dated 1/17/07 11:32:07 AM, luis at anachreon.co.uk writes: > > > > > >> Hiya, > >> > >> Some ISPs will not allow database access from external sources. It's ok > >> to use php and stuff on the hosting server, but anything outside their > >> subnet is a no-no. This is the same setup for GoDaddy. > >> > >> Cheers, > >> > >> Luis. > >> > >> > >> Mark Schonewille wrote: > >>> Hi, > >>> > >>> Are you sure that the MySQL server is using old-style password? > >>> > >>> Best, > >>> > >>> Mark > >>> > >>> -- > >>> > >>> Economy-x-Talk > >>> Consultancy and Software Engineering > >>> http://economy-x-talk.com > >>> http://www.salery.biz > >>> > >>> Get your store on-line within minutes with Salery Web Store software. > >>> Download at http://www.salery.biz > >>> > >>> Op 17-jan-2007, om 17:14 heeft RGould8 at aol.com het volgende geschreven: > >>> > >>>> I'm having a rough time getting revOpenDatabase to work on a mySQL > >>>> database > >>>> that I am presently hosting at www.simplehost.com.?? I've checked the > >>>> ports on > >>>> simplehost, and they claim that the port is 3306 for mySQL.?? I've > >>>> written > >>>> lots of php scripts which successfully pull data from the database > >>>> locally on the > >>>> server.?? It's just the standalong application in Rev that's the > >>>> roadblock at > >>>> the moment.?? I've even downloaded the excellent MySQL tests demo, and > >>>> it's > >>>> not connecting either. > >>>> > >>>> The only variables I can think of that might be causing problems: > >>>> > >>>> 1)?? simplehost.com is blocking access from the outside > >>>> 2)?? perhaps I need to try the SSL settings > >>>> 3)?? perhaps it's something I'm doing wrong in the way I'm passing > >>>> data into > >>>> the revOpenDatabase command > >>>> > >>>> Partially, I don't trust my ISP, but partially, I don't trust me > >>>> either - - - > >>>> any help is greatly appreciated > >>>> > >>>> revOpenDatabase("MySQL","www.simplehost.com","mytestDB',robtest,) > >>> > >>> _______________________________________________ > >>> use-revolution mailing list > >>> use-revolution at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-revolution > >>> > >>> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription > >> preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > >> > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From stephenREVOLUTION at barncard.com Wed Jan 17 13:14:26 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 17 Jan 2007 10:14:26 -0800 Subject: Will revOpenDatabase work in a shared-hosting environment In-Reply-To: References: Message-ID: Dreamhost. http://dreamhost.com They use subdomains for each virtual server. Security accomplished by only allowing the SQL server to connect to specified IPs. Easily and instantly done through the web panel. >Well know you've peaked my interest. You haven't found _many_ - - - but >have you found _any_ hosting companies that allow Revolution to >connect to mySQL >remotely? > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From jacque at hyperactivesw.com Wed Jan 17 13:21:56 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 17 Jan 2007 12:21:56 -0600 Subject: Common writable folders In-Reply-To: <45ADD000.5060809@fourthworld.com> References: <45ADD000.5060809@fourthworld.com> Message-ID: <45AE6944.3080304@hyperactivesw.com> Richard Gaskin wrote: > I have an app which will be for Mac and Win, and maybe Linux down the > road, in which I need to store some data in a folder which needs to be > writable by all users. > > Both Mac and Win provide common folders for reading data: > > Mac /HD/System Folder/Application Support > Win C:/Documents and Settings/All Users/Application Data > > ...but in my testing here only users with admin privileges can write to > those folders. :( > > What is the OS-recommended place to store common data which can be > written by any user? > I had exactly the same problem with a currently-shipping app. I'm writing app-specific data to the two folders you mention above. The only way we could work around it was to wrap our app in an OS-approved installer and have the installer set the permissions for our application support folder to allow access by everyone. The app support/app data folders don't need their permissions reset; only your own standalone-specific folder has to be set. For Mac OS X, we used Apple's package installer. On Windows, most any installer will do this for you. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From soapdog at mac.com Wed Jan 17 13:29:21 2007 From: soapdog at mac.com (Andre Garzia) Date: Wed, 17 Jan 2007 16:29:21 -0200 Subject: Very weird bug, crashes mac os x. (Recipe found) In-Reply-To: References: <4DE2619D-7C91-49F1-85A1-EFD3D8FC9657@mac.com> Message-ID: <6B446486-5B3D-4510-AF60-4D3ECF6E9036@mac.com> Sarah, the script doesn't matter. If you try a simple hello world application the same thing happens. I've got a recipe, it's related to the engine that is used to run the script. If you pick the engine from inside the Standalone bundle (G4 here, so I've picked the engine for PowerPC) then it all runs fine till the point of exiting the script, then it all fails, all applications quit, all volumes are ejected, not a chance to act. I've just discovered it here by loosing all my work now. I was doing a 19gb backup restore here for my macbook is at the repair shop for analysis and trying to work out my contracts when I again, lost all the work because due to an engine malfunction in a script as silly as this one: #!./Standalone -ui on startup get URL "file:tips.txt" put "Content-Type: text/plain" & cr & cr put any line of it do format("tell application \"Finder\"\nactivate\ndisplay dialog \"hello\"\nend tell") as "applescript" put the result && the alternatelanguages && version() end startup the whole thing exploded!!! this is a major major major thing for me. Andre On Jan 16, 2007, at 12:49 AM, Sarah Reichelt wrote: >> I am invoking a script from the command line in MacOS X. It executes >> fine till the end. Then I can briefly see some malloc() errors before >> the whole screen goes blue and everything reboots, all apps close, no >> saving whatsoever. No way to replicate this bug. The script is dead >> simple. The error is unavoidable. Code is inside a try/catch block >> and yet it fails just in time for quit. >> > > What is the script Andre? And does it work OK from Terminal? > > I haven't had this happen, but maybe if you post the script, someone > might come up with an idea. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobwarren at howsoft.com Wed Jan 17 13:39:34 2007 From: bobwarren at howsoft.com (Bob Warren) Date: Wed, 17 Jan 2007 16:39:34 -0200 Subject: Error in textFont reporting? Message-ID: <45AE6D66.4050604@howsoft.com> Thanks for that Jim! Regards, Bob --------------------------------------------- Jim Ault wrote: >Another solution (workaround): using field 1 and field 2 (hidden) on action if the selectedText is empty then exit to top copy select char 1 to -1 of fld 2 paste set the textSize of char 1 to -1 of fld 2 to 12 --now same size put the effective textFont of char 1 to -1 of fld 2 into fontAnswer answer fontAnswer end action -- either the font or "mixed" From jacque at hyperactivesw.com Wed Jan 17 13:42:26 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 17 Jan 2007 12:42:26 -0600 Subject: Very weird bug, crashes mac os x. (Recipe found) In-Reply-To: <6B446486-5B3D-4510-AF60-4D3ECF6E9036@mac.com> References: <4DE2619D-7C91-49F1-85A1-EFD3D8FC9657@mac.com> <6B446486-5B3D-4510-AF60-4D3ECF6E9036@mac.com> Message-ID: <45AE6E12.9020400@hyperactivesw.com> Andre Garzia wrote: > Sarah, > > the script doesn't matter. If you try a simple hello world application > the same thing happens. I've got a recipe, it's related to the engine > that is used to run the script. If you pick the engine from inside the > Standalone bundle (G4 here, so I've picked the engine for PowerPC) then > it all runs fine till the point of exiting the script, then it all > fails, all applications quit, all volumes are ejected, not a chance to act. That explains it. The standalone engines are not meant for cgi work. I know you can tweak the flags so that they work sometimes, but really you need to be running the cgi Darwin engine on OS X. The last Darwin engine is old, but for cgi work I have found that it works fine. The sample script you posted, for example, would run okay with the older Darwin engine. I don't think this is a bug, since the standalone engines are only intended for building standalones and they expect a full GUI installation. You should replace the engine you are using with the last Darwin engine, available here: I have asked for a newer Darwin build, but I will remind RR again. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revdev at pdslabs.net Wed Jan 17 13:49:13 2007 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 17 Jan 2007 10:49:13 -0800 Subject: play vs. start Message-ID: <45AE6FA9.6040209@pdslabs.net> I still need the info, so... I maintain an application that sometimes plays 100's of external digital audio files during a single usage session. Currently the app uses 'start player' method of playing them. Sometimes the app will freeze up, and I think it's related to audio processing. I want to improve the app's stability. Has anyone found the 'play [filepath]' form to be more stable or less stable than 'start player'? Also, does anyone have extra info about the two approaches to audio playing that shed light on differences between the two? Are they doing the exact same thing under the hood? Many thanks - Phil Davis From ambassador at fourthworld.com Wed Jan 17 13:55:02 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 17 Jan 2007 10:55:02 -0800 Subject: Common writable folders Message-ID: <45AE7106.20506@fourthworld.com> J. Landman Gay wrote: > Richard Gaskin wrote: >> I have an app which will be for Mac and Win, and maybe Linux down the >> road, in which I need to store some data in a folder which needs to be >> writable by all users. >> >> Both Mac and Win provide common folders for reading data: >> >> Mac /HD/System Folder/Application Support >> Win C:/Documents and Settings/All Users/Application Data >> >> ...but in my testing here only users with admin privileges can write to >> those folders. :( >> >> What is the OS-recommended place to store common data which can be >> written by any user? > > I had exactly the same problem with a currently-shipping app. I'm > writing app-specific data to the two folders you mention above. The only > way we could work around it was to wrap our app in an OS-approved > installer and have the installer set the permissions for our application > support folder to allow access by everyone. The app support/app data > folders don't need their permissions reset; only your own > standalone-specific folder has to be set. For Mac OS X, we used Apple's > package installer. On Windows, most any installer will do this for you. Thanks for the input, Jacque. But now I wonder: Is there a way to do this from within a custom Rev-based installer? How does one trigger the OS X authentication dialog? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From jacque at hyperactivesw.com Wed Jan 17 14:08:03 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 17 Jan 2007 13:08:03 -0600 Subject: Common writable folders In-Reply-To: <45AE7106.20506@fourthworld.com> References: <45AE7106.20506@fourthworld.com> Message-ID: <45AE7413.4060303@hyperactivesw.com> Richard Gaskin wrote: > J. Landman Gay wrote: > >> Richard Gaskin wrote: >>> I have an app which will be for Mac and Win, and maybe Linux down the >>> road, in which I need to store some data in a folder which needs to >>> be writable by all users. >>> >>> Both Mac and Win provide common folders for reading data: >>> >>> Mac /HD/System Folder/Application Support >>> Win C:/Documents and Settings/All Users/Application Data >>> >>> ...but in my testing here only users with admin privileges can write >>> to those folders. :( >>> >>> What is the OS-recommended place to store common data which can be >>> written by any user? >> >> I had exactly the same problem with a currently-shipping app. I'm >> writing app-specific data to the two folders you mention above. The >> only way we could work around it was to wrap our app in an OS-approved >> installer and have the installer set the permissions for our >> application support folder to allow access by everyone. The app >> support/app data folders don't need their permissions reset; only your >> own standalone-specific folder has to be set. For Mac OS X, we used >> Apple's package installer. On Windows, most any installer will do this >> for you. > > Thanks for the input, Jacque. > > But now I wonder: Is there a way to do this from within a custom > Rev-based installer? How does one trigger the OS X authentication dialog? > Well, that's the deal. I couldn't find a way to do that without using Apple's installer. Most users wouldn't trust a home-made dialog that asks for their admin password; they want to see the "official" one. Ergo, package installer time. Our app is a very simple one-file thing that can easily be dragged to the Applications folder. The only reason we needed an installer was for the writable permissions problem. I have to admit though, it does lend a great deal of professionality when you use an OS-native installer. People trust your stuff more. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sl at trackandfieldnews.com Wed Jan 17 14:47:20 2007 From: sl at trackandfieldnews.com (Sieg Lindstrom) Date: Wed, 17 Jan 2007 11:47:20 -0800 Subject: StackRunner and MySQL In-Reply-To: <20070117072803.5DA77488E54@mail.runrev.com> Message-ID: Thanks for the suggestion, Ken. I tried it as follows. StackRunner is in the same folder that contains the folder "Externals." Here's the syntax I used... revSetDatabaseDriverPath "/Externals/Database Drivers" That didn't fix the problem. Any other suggestions? Many thanks for your advice. Sieg Lindstrom Ken Ray wrote: > > Have you executed "revSetDatabaseDriverPath" in your stack that opens > before it starts making calls to the database? I believe this is done > automatically by Rev when you launch it, but StackRunner doesn't do > this, so your stack will need to do it before you start calling on > the database... >> >> Sieg Lindstrom wrote: >> Thanks, Ken. >> >> Your suggestion would certainly explain why the database calls sent >> by this >> stack don't work on computers where Revolution is not installed, >> but my >> computer includes the "dbmysql.bundle" file in the "Database Drivers" >> folder, and the problem still occurs. Just to make sure I have >> files in the >> right places, I have StackRunner in the folder that contains the 2.7.4 >> installation. The "Database Drivers" is nested in that same folder, >> and the >> stack I'm trying to run is nested in a folder that's also in the >> main 2.7.4 >> installation folder. Should that work? From kray at sonsothunder.com Wed Jan 17 15:04:20 2007 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 17 Jan 2007 14:04:20 -0600 Subject: Common writable folders In-Reply-To: <45AE7413.4060303@hyperactivesw.com> References: <45AE7106.20506@fourthworld.com> <45AE7413.4060303@hyperactivesw.com> Message-ID: <0B03B9E7-9D35-4F38-AD55-D1930E9D3840@sonsothunder.com> On Jan 17, 2007, at 1:08 PM, J. Landman Gay wrote: > Richard Gaskin wrote: >> J. Landman Gay wrote: >>> Richard Gaskin wrote: >>>> I have an app which will be for Mac and Win, and maybe Linux >>>> down the road, in which I need to store some data in a folder >>>> which needs to be writable by all users. >>>> >>>> Both Mac and Win provide common folders for reading data: >>>> >>>> Mac /HD/System Folder/Application Support >>>> Win C:/Documents and Settings/All Users/Application Data >>>> >>>> ...but in my testing here only users with admin privileges can >>>> write to those folders. :( >>>> >>>> What is the OS-recommended place to store common data which can >>>> be written by any user? >>> >>> I had exactly the same problem with a currently-shipping app. I'm >>> writing app-specific data to the two folders you mention above. >>> The only way we could work around it was to wrap our app in an OS- >>> approved installer and have the installer set the permissions for >>> our application support folder to allow access by everyone. The >>> app support/app data folders don't need their permissions reset; >>> only your own standalone-specific folder has to be set. For Mac >>> OS X, we used Apple's package installer. On Windows, most any >>> installer will do this for you. >> Thanks for the input, Jacque. >> But now I wonder: Is there a way to do this from within a custom >> Rev-based installer? How does one trigger the OS X >> authentication dialog? > > Well, that's the deal. I couldn't find a way to do that without > using Apple's installer. Most users wouldn't trust a home-made > dialog that asks for their admin password; they want to see the > "official" one. Ergo, package installer time. One thing you can do (and I have done this before) is to make a mock duplicate of the authentication dialog and use shell() to do the stuff that requires authentication. Ken Ray Sons of Thunder Software, Inc. Web Site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From ambassador at fourthworld.com Wed Jan 17 15:23:05 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 17 Jan 2007 12:23:05 -0800 Subject: Common writable folders Message-ID: <45AE85A9.9060202@fourthworld.com> Ken Ray wrote: >>> J. Landman Gay wrote: >>>> Richard Gaskin wrote: >>> But now I wonder: Is there a way to do this from within a custom >>> Rev-based installer? How does one trigger the OS X >>> authentication dialog? >> >> Well, that's the deal. I couldn't find a way to do that without >> using Apple's installer. Most users wouldn't trust a home-made >> dialog that asks for their admin password; they want to see the >> "official" one. Ergo, package installer time. > > One thing you can do (and I have done this before) is to make a mock > duplicate of the authentication dialog and use shell() to do the > stuff that requires authentication. With all due respect, eeewwww! :) The last thing I want to do is start a trend of third-party apps mocking up the OS authentication dialog. I imagine that exploit will start happening sooner or later if it hasn't already, but I don't want anything with my name on it associated with such schemes. What I'm hoping to find instead is an option for chmod which will bring up the OS authentication dialog. I'll check the chmod's man for that and report back what I find. Jacque, I hear what you're saying about "standard" installers, but I build so frequently that it's a real time sink doing that for both platforms several times a week, relative to my one-click option for building the standalone and creating the installer all in one automated move. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Wed Jan 17 15:29:01 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 17 Jan 2007 14:29:01 -0600 Subject: play vs. start In-Reply-To: <45AE6FA9.6040209@pdslabs.net> References: <45AE6FA9.6040209@pdslabs.net> Message-ID: <45AE870D.9010604@hyperactivesw.com> Phil Davis wrote: > I still need the info, so... > > I maintain an application that sometimes plays 100's of external digital > audio > files during a single usage session. Currently the app uses 'start player' > method of playing them. Sometimes the app will freeze up, and I think it's > related to audio processing. > > I want to improve the app's stability. Has anyone found the 'play > [filepath]' > form to be more stable or less stable than 'start player'? I haven't had problems with either one, so I can't really say. > > Also, does anyone have extra info about the two approaches to audio > playing that > shed light on differences between the two? Are they doing the exact same > thing > under the hood? > They are different under the hood. Player objects use QuickTime or, if it isn't available, WMP on Windows. The "play" command uses internal libraries that are, I think, fairly dated now. The MC docs say that "play" is deprecated and all new stacks should use player objects instead -- however, as I said, I haven't had any problems with the play command. I don't usually ask much of it though. The play command is far more limited than a player object. Basically you can start, stop, and pause an audio file. It will only play a subset of audio file formats, basically only those that are not compressed in any way, and which are saved at only a few specific sample rates. You can't start playback at an arbitrary point, only at the beginning. I've used "play" for short sound segments, especially those I want to embed in a stack (like sound effects) but I don't use it for anything elaborate. I think you said you were using mp3 files, right? If so, "play" probably isn't an option as I don't believe it will work with that file format anyway. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revdev at pdslabs.net Wed Jan 17 15:42:33 2007 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 17 Jan 2007 12:42:33 -0800 Subject: play vs. start In-Reply-To: <45AE870D.9010604@hyperactivesw.com> References: <45AE6FA9.6040209@pdslabs.net> <45AE870D.9010604@hyperactivesw.com> Message-ID: <45AE8A39.2010208@pdslabs.net> Thanks Jackie. Actually I'm using .WAV and .AIF files, ranging in size from 200KB to maybe 5MB. I'll set up some all-night automated tests using both methods on both target platforms and see what happens. As they used to say in old-media days, "film at 11". I'll report back. Thanks - Phil J. Landman Gay wrote: > Phil Davis wrote: >> I still need the info, so... >> >> I maintain an application that sometimes plays 100's of external >> digital audio >> files during a single usage session. Currently the app uses 'start >> player' >> method of playing them. Sometimes the app will freeze up, and I think >> it's >> related to audio processing. >> >> I want to improve the app's stability. Has anyone found the 'play >> [filepath]' >> form to be more stable or less stable than 'start player'? > > I haven't had problems with either one, so I can't really say. > >> >> Also, does anyone have extra info about the two approaches to audio >> playing that >> shed light on differences between the two? Are they doing the exact >> same thing >> under the hood? >> > > They are different under the hood. Player objects use QuickTime or, if > it isn't available, WMP on Windows. The "play" command uses internal > libraries that are, I think, fairly dated now. The MC docs say that > "play" is deprecated and all new stacks should use player objects > instead -- however, as I said, I haven't had any problems with the play > command. I don't usually ask much of it though. > > The play command is far more limited than a player object. Basically you > can start, stop, and pause an audio file. It will only play a subset of > audio file formats, basically only those that are not compressed in any > way, and which are saved at only a few specific sample rates. You can't > start playback at an arbitrary point, only at the beginning. > > I've used "play" for short sound segments, especially those I want to > embed in a stack (like sound effects) but I don't use it for anything > elaborate. I think you said you were using mp3 files, right? If so, > "play" probably isn't an option as I don't believe it will work with > that file format anyway. > From kray at sonsothunder.com Wed Jan 17 15:50:38 2007 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 17 Jan 2007 14:50:38 -0600 Subject: Common writable folders In-Reply-To: <45AE85A9.9060202@fourthworld.com> References: <45AE85A9.9060202@fourthworld.com> Message-ID: On Jan 17, 2007, at 2:23 PM, Richard Gaskin wrote: > Ken Ray wrote: >>>> J. Landman Gay wrote: >>>>> Richard Gaskin wrote: >>>> But now I wonder: Is there a way to do this from within a >>>> custom Rev-based installer? How does one trigger the OS X >>>> authentication dialog? >>> >>> Well, that's the deal. I couldn't find a way to do that without >>> using Apple's installer. Most users wouldn't trust a home-made >>> dialog that asks for their admin password; they want to see the >>> "official" one. Ergo, package installer time. >> One thing you can do (and I have done this before) is to make a >> mock duplicate of the authentication dialog and use shell() to do >> the stuff that requires authentication. > > With all due respect, eeewwww! > > :) > > The last thing I want to do is start a trend of third-party apps > mocking up the OS authentication dialog. I imagine that exploit > will start happening sooner or later if it hasn't already, but I > don't want anything with my name on it associated with such schemes. > > What I'm hoping to find instead is an option for chmod which will > bring up the OS authentication dialog. I'll check the chmod's man > for that and report back what I find. That's basically the problem as I see it, Richard - chmod will work if you are logged in as root or with authority, but you need to get the authority through other means - I don't think there's a way to do it with just chmod - but I'd be very interested if you find out how to do it. Ken Ray Sons of Thunder Software, Inc. Web Site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From luis at anachreon.co.uk Wed Jan 17 17:59:42 2007 From: luis at anachreon.co.uk (Luis) Date: Wed, 17 Jan 2007 22:59:42 +0000 Subject: Will revOpenDatabase work in a shared-hosting environment In-Reply-To: References: Message-ID: <446AEFD0-8351-4ED9-9225-1AC448DBF565@anachreon.co.uk> Yep, there's that and some that run a VPN server. Maybe I should have rephrased it to: I haven't found any that will allow 'standard' remote connections, but some do provide other means of access... Cheers, Luis. On 17 Jan 2007, at 18:14, Stephen Barncard wrote: > Dreamhost. http://dreamhost.com > They use subdomains for each virtual server. Security accomplished > by only allowing the SQL server to connect to specified IPs. Easily > and instantly done through the web panel. > > > >> Well know you've peaked my interest. You haven't found _many_ - >> - - but >> have you found _any_ hosting companies that allow Revolution to >> connect to mySQL >> remotely? >> > > -- > > > stephen barncard > s a n f r a n c i s c o > - - - - - - - - - - - - > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From cszasz at mac.com Wed Jan 17 18:38:12 2007 From: cszasz at mac.com (Charles Szasz) Date: Wed, 17 Jan 2007 18:38:12 -0500 Subject: Printing Question Message-ID: <16A00EB3-4F78-411D-8A1A-A8018A212F65@mac.com> I have on my card six option menu buttons. One set has the year, months and days based on the system date. The other buttons have the year, months and days entered by the user. I want to print the card that has also text on it but I only want to print the label or content of the option menus without the option menu itself. Has anyone does this before? Charles Szasz cszasz at mac.com From sarah.reichelt at gmail.com Wed Jan 17 19:11:30 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 18 Jan 2007 10:11:30 +1000 Subject: Printing Question In-Reply-To: <16A00EB3-4F78-411D-8A1A-A8018A212F65@mac.com> References: <16A00EB3-4F78-411D-8A1A-A8018A212F65@mac.com> Message-ID: On 1/18/07, Charles Szasz wrote: > I have on my card six option menu buttons. One set has the year, > months and days based on the system date. The other buttons have the > year, months and days entered by the user. I want to print the card > that has also text on it but I only want to print the label or > content of the option menus without the option menu itself. Has > anyone does this before? In a similar case, I have had a text field positioned exactly underneath the menu buttons, so that it is not visible. Whenever the popup changes, put it's selected text into the field underneath. When printing, hide all the popups and the fields underneath become visible and will be printed. When printing is finished, show the popups again. Cheers, Sarah From hershf at rgllc.us Wed Jan 17 19:32:19 2007 From: hershf at rgllc.us (Hershel Fisch) Date: Wed, 17 Jan 2007 19:32:19 -0500 Subject: Very often crash Message-ID: Hello I'd wish how to go about this. When ever I need to edit any thing on the layout that has to do with a group my blood pressure is up the creek. 95% of the time it crashes Rev. I don't know if its a bug or I'm the bug?(lol) I don't remember form previous threads if the report to apple also reports to Rev because that?s what I did till know. Now I'll post it here. Looks like it didn't get to Rev I don't how to bugZilla it. vImage.framework/Versions/A/vImage 0x8a8f2000 - 0x8a902fff com.apple.Accelerate.vecLib 3.0.3 (vecLib 3.0.3) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib .framework/Versions/A/vecLib 0x8fd50000 - 0x8fd50fff com.apple.Accelerate 1.0.3 (Accelerate 1.0.3) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate 0x8fe00000 - 0x8fe4ffff dyld /usr/lib/dyld 0x90000000 - 0x9014ffff libSystem.B.dylib /usr/lib/libSystem.B.dylib 0x901c0000 - 0x9026efff com.apple.CoreFoundation 6.3.9 (299.37) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundatio n 0x902b0000 - 0x90529fff com.apple.CoreServices.CarbonCore 10.3.7 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Carb onCore.framework/Versions/A/CarbonCore 0x905a0000 - 0x90610fff com.apple.framework.IOKit 1.3.6 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x90640000 - 0x906c8fff com.apple.CoreServices.OSServices 3.0.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSSe rvices.framework/Versions/A/OSServices 0x9071d000 - 0x9072afff com.apple.CommonPanels 1.2.1 (1.0) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPane ls.framework/Versions/A/CommonPanels 0x90733000 - 0x90746fff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor ks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib 0x90810000 - 0x90810fff com.apple.ApplicationServices 1.0 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Applicat ionServices 0x90812000 - 0x9082ffff com.apple.audio.SoundManager 3.9 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSoun d.framework/Versions/A/CarbonSound 0x90860000 - 0x908cffff libobjc.A.dylib /usr/lib/libobjc.A.dylib 0x908f5000 - 0x9090ffff com.apple.openscripting 1.2.1 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScript ing.framework/Versions/A/OpenScripting 0x90940000 - 0x909b3fff com.apple.DesktopServices 1.2.5 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/D esktopServicesPriv 0x90a02000 - 0x90a0dfff com.apple.securityhi 1.2 (90) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI .framework/Versions/A/SecurityHI 0x90a20000 - 0x90b7bfff com.apple.Foundation 6.3.8 (500.61) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation 0x90c32000 - 0x90c4cfff libPDFRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor ks/CoreGraphics.framework/Versions/A/Resources/libPDFRIP.A.dylib 0x90c70000 - 0x90c8afff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib 0x90cb0000 - 0x90d12fff libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dyli b 0x90d40000 - 0x90d40fff com.apple.Carbon 10.3 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon 0x90d50000 - 0x90d6bfff com.apple.SystemConfiguration 1.7.1 (???) /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemCo nfiguration 0x90d7c000 - 0x90d8ffff com.apple.speech.synthesis.framework 3.2 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor ks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis 0x90db0000 - 0x90dbbfff com.apple.opengl 1.3.8 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL 0x90e13000 - 0x90e4bfff com.apple.LaunchServices 10.3.5 (98.4) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor ks/LaunchServices.framework/Versions/A/LaunchServices 0x910c3000 - 0x910d9fff com.apple.QuartzCore 1.3 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore 0x91329000 - 0x9137dfff com.apple.bom 1.2.8 (64.2) /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom 0x913a0000 - 0x9145ffff ColorSync /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor ks/ColorSync.framework/Versions/A/ColorSync 0x91760000 - 0x917f3fff com.apple.print.framework.PrintCore 3.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor ks/PrintCore.framework/Versions/A/PrintCore 0x91836000 - 0x91846fff com.apple.ImageCapture 2.1.5 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCaptu re.framework/Versions/A/ImageCapture 0x91951000 - 0x91951fff com.apple.CoreServices 10.3 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices 0x91953000 - 0x91953fff com.apple.audio.units.AudioUnit 1.3.3 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit 0x91970000 - 0x919befff com.apple.print.framework.Print 3.3 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.fram ework/Versions/A/Print 0x91a40000 - 0x91ab3fff com.apple.NavigationServices 3.3.3 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Navigation Services.framework/Versions/A/NavigationServices 0x91afb000 - 0x91b12fff com.apple.LangAnalysis 1.5.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor ks/LangAnalysis.framework/Versions/A/LangAnalysis 0x91b30000 - 0x91b44fff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor ks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib 0x91b60000 - 0x91b6bfff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor ks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib 0x92070000 - 0x92096fff com.apple.FindByContent 1.4 (1.2) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor ks/FindByContent.framework/Versions/A/FindByContent 0x92170000 - 0x92357fff com.apple.security 2.4 (179) /System/Library/Frameworks/Security.framework/Versions/A/Security 0x927f0000 - 0x92827fff com.apple.CFNetwork 1.2.4 (71.11) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNe twork.framework/Versions/A/CFNetwork 0x9283f000 - 0x92857fff com.apple.WebServices 1.1.1 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebS ervicesCore.framework/Versions/A/WebServicesCore 0x92a50000 - 0x93407fff com.apple.QuickTimeComponents.component 7.1.3 /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/Quick TimeComponents 0x93812000 - 0x938dafff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib 0x939d0000 - 0x939d4fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib 0x93a50000 - 0x93a64fff libcups.2.dylib /usr/lib/libcups.2.dylib 0x93da4000 - 0x93dadfff com.apple.DiskArbitration 2.0.5 /System/Library/PrivateFrameworks/DiskArbitration.framework/Versions/A/DiskA rbitration 0x94580000 - 0x9458cfff com.apple.help 1.0.1 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.frame work/Versions/A/Help 0x94596000 - 0x945a5fff libPSRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor ks/CoreGraphics.framework/Versions/A/Resources/libPSRIP.A.dylib 0x945b0000 - 0x945b9fff libz.1.dylib /usr/lib/libz.1.dylib 0x94650000 - 0x946affff com.apple.SearchKit 1.0.2 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Sear chKit.framework/Versions/A/SearchKit 0x946ed000 - 0x946fdfff com.apple.speech.recognition.framework 3.3 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechReco gnition.framework/Versions/A/SpeechRecognition 0x94800000 - 0x9488cfff com.apple.ink.framework 101.1.4 (55.12) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framew ork/Versions/A/Ink 0x94e7f000 - 0x94f38fff com.apple.QD 3.4.72 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor ks/QD.framework/Versions/A/QD 0x954c0000 - 0x95ac6fff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib .framework/Versions/A/libBLAS.dylib 0x95b20000 - 0x95df0fff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib .framework/Versions/A/libLAPACK.dylib 0x95f00000 - 0x95f20fff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib .framework/Versions/A/libvMisc.dylib 0x96028000 - 0x960e0fff com.apple.audio.toolbox.AudioToolbox 1.3.4 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox 0x962e6000 - 0x965b5fff com.apple.QuickTime 7.1.3 /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime 0x968d0000 - 0x969b2fff libicucore.A.dylib /usr/lib/libicucore.A.dylib 0x96a04000 - 0x96a6dfff com.apple.htmlrendering 1.1.2 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRender ing.framework/Versions/A/HTMLRendering 0x96aa0000 - 0x96acefff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib 0x96ade000 - 0x96b16fff com.apple.AE 1.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor ks/AE.framework/Versions/A/AE 0x96b50000 - 0x96bdffff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor ks/ATS.framework/Versions/A/ATS 0x96c00000 - 0x96c67fff com.apple.audio.CoreAudio 2.1.3 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio 0x96cb0000 - 0x96d9efff libiconv.2.dylib /usr/lib/libiconv.2.dylib 0x96de0000 - 0x96df0fff com.apple.vecLib 3.0.3 (vecLib 3.0.3) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib 0x96ee0000 - 0x96ee8fff libbsm.dylib /usr/lib/libbsm.dylib 0x96eec000 - 0x96f06fff libresolv.9.dylib /usr/lib/libresolv.9.dylib 0x971dd000 - 0x9722dfff com.apple.HIServices 1.4.1 (0.0.1d1) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor ks/HIServices.framework/Versions/A/HIServices 0x97345000 - 0x973b2fff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib .framework/Versions/A/libvDSP.dylib 0x973c7000 - 0x9769ffff com.apple.CoreGraphics 1.203.30 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor ks/CoreGraphics.framework/Versions/A/CoreGraphics 0x97d72000 - 0x980f7fff com.apple.HIToolbox 1.3.7 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox. framework/Versions/A/HIToolbox Sorry, Hershel From lists at mangomultimedia.com Wed Jan 17 20:28:20 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 17 Jan 2007 17:28:20 -0800 Subject: Common writable folders In-Reply-To: <45AE7106.20506@fourthworld.com> References: <45AE7106.20506@fourthworld.com> Message-ID: On Jan 17, 2007, at 10:55 AM, Richard Gaskin wrote: > But now I wonder: Is there a way to do this from within a custom > Rev-based installer? How does one trigger the OS X authentication > dialog? Richard, Last weekend I played experimented with an external that will display the OS X authentication dialog and then let you execute shell commands if the credentials are correct. My plan for my app updater is to create shell scripts (.sh) within Rev that runs all of the commands I need and then execute that script from Revolution after authenticating. If you want to play around with it I can send you a copy. Just email me. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From bridgeyman at gmail.com Wed Jan 17 23:05:52 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Wed, 17 Jan 2007 21:05:52 -0700 Subject: SFTP Message-ID: <86ae76bb0701172005g5098fd61r53a17c36d2e75fa5@mail.gmail.com> Hey, I am trying to get a server set up on a School District's network, but they won't let me open an FTP port to the internet unless it is an SFTP connection. As far as I can tell, Revolution is not able to open Secure FTP connections out of the box, but are there any workarounds that anyone knows about? Any tips would be greatly appreciated. TTFN Bridger Maxwell CMSEC From ambassador at fourthworld.com Wed Jan 17 23:48:01 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 17 Jan 2007 20:48:01 -0800 Subject: Common writable folders Message-ID: <45AEFC01.9020307@fourthworld.com> Trevor DeVore wrote: > On Jan 17, 2007, at 10:55 AM, Richard Gaskin wrote: > >> But now I wonder: Is there a way to do this from within a custom >> Rev-based installer? How does one trigger the OS X authentication >> dialog? > > Last weekend I played experimented with an external that will > display the OS X authentication dialog and then let you execute > shell commands if the credentials are correct. You mean Apple provides no way for any scripting language to request authorization on its own? Not even AppleScript? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From lists at mangomultimedia.com Wed Jan 17 23:58:31 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 17 Jan 2007 20:58:31 -0800 Subject: Common writable folders In-Reply-To: <45AEFC01.9020307@fourthworld.com> References: <45AEFC01.9020307@fourthworld.com> Message-ID: On Jan 17, 2007, at 8:48 PM, Richard Gaskin wrote: > Trevor DeVore wrote: > > > On Jan 17, 2007, at 10:55 AM, Richard Gaskin wrote: > > > >> But now I wonder: Is there a way to do this from within a custom > >> Rev-based installer? How does one trigger the OS X authentication > >> dialog? > > > > Last weekend I played experimented with an external that will > > display the OS X authentication dialog and then let you execute > > shell commands if the credentials are correct. > > You mean Apple provides no way for any scripting language to > request authorization on its own? Not even AppleScript? I'm not sure. I didn't research a means of authorizing via AppleScript. I have an external that I use in my projects already and there was lots of sample code for coding Authorization in C so I went that route. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From sims at ezpzapps.com Thu Jan 18 01:26:29 2007 From: sims at ezpzapps.com (sims) Date: Thu, 18 Jan 2007 07:26:29 +0100 Subject: Common writable folders In-Reply-To: <45AEFC01.9020307@fourthworld.com> References: <45AEFC01.9020307@fourthworld.com> Message-ID: At 8:48 PM -0800 1/17/07, Richard Gaskin wrote: >You mean Apple provides no way for any scripting language to request >authorization on its own? Not even AppleScript? For the dialog use AppleScript: do shell script "command" with administrator privileges To pass other items use: do shell script "command" user name "me" password "mypassword" with administrator privileges sims From kray at sonsothunder.com Thu Jan 18 01:45:19 2007 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 18 Jan 2007 00:45:19 -0600 Subject: Common writable folders In-Reply-To: References: <45AEFC01.9020307@fourthworld.com> Message-ID: <0A17741D-8EE4-48E7-B005-DF40FE57ACE3@sonsothunder.com> On Jan 18, 2007, at 12:26 AM, sims wrote: > At 8:48 PM -0800 1/17/07, Richard Gaskin wrote: >> You mean Apple provides no way for any scripting language to >> request authorization on its own? Not even AppleScript? > > > For the dialog use AppleScript: > do shell script "command" with administrator privileges > > To pass other items use: > do shell script "command" user name "me" password "mypassword" with > administrator privileges Son of a gun! I never knew this! would have saved me a lot of trouble... Thanks! Ken Ray Sons of Thunder Software, Inc. Web Site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From sims at ezpzapps.com Thu Jan 18 01:54:32 2007 From: sims at ezpzapps.com (sims) Date: Thu, 18 Jan 2007 07:54:32 +0100 Subject: Common writable folders In-Reply-To: <0A17741D-8EE4-48E7-B005-DF40FE57ACE3@sonsothunder.com> References: <45AEFC01.9020307@fourthworld.com> <0A17741D-8EE4-48E7-B005-DF40FE57ACE3@sonsothunder.com> Message-ID: At 12:45 AM -0600 1/18/07, Ken Ray wrote: >Son of a gun! I never knew this! would have saved me a lot of trouble... You should have come to Malta and asked me! ;-) Save up some more questions in case I am foolish enough to host another EuroRevCon. ;-) I have been known to be very foolish! sims From chipp at chipp.com Thu Jan 18 02:33:52 2007 From: chipp at chipp.com (Chipp Walters) Date: Thu, 18 Jan 2007 01:33:52 -0600 Subject: selectedchunk anyone? Message-ID: <7aa52a210701172333p2f86683bg107ea3f702bcdc9f@mail.gmail.com> I'm trying to figure out where the I-beam cursor sits in a field. Not hard, check the selectedChunk. But what if AFTER I've clicked a list field? Even with TraversalOn set to false for a list field, it still insists on resetting the selectedChunk to it's own 'hilitedline' even though the I-beam cursor is blinking in the other field. Any ideas on how to tell where the I-beam cursor is in the first field? I suppose I can 'send in time' a message to the field, but thought there must be an easier way... -Chipp From palcibiades-first at yahoo.co.uk Thu Jan 18 04:32:56 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Thu, 18 Jan 2007 09:32:56 +0000 Subject: Probably a silly question about 'find' Message-ID: <200701180932.56256.palcibiades-first@yahoo.co.uk> Feels like a very silly question, but it is stumping me. How do I use 'find' to find '4' when it occurs by itself but not 4 when it occurs in '4.1', when searching the contents of a field? I have a field with tab separated values in the form 1 1234 2 2.56 3 4.1 4 9.274 and I want to find only that line in which there is a match of the inputted string with the first item. The first item will always be a unique value. So I want in some way to do a find on 4 that will pick up only line 4, and not the occurrence of 4 in line 3. Find word doesn't seem to work, because presumably Rev sees the '.' as a word limiter. Whereas in fact, its a decimal.... Find string in item 1 doesn't work either. In fact, none of the parameters on find seem to work. The only thing that has occurred to me is a real kludge - just stick some character like # in front of or after the numbers in the first position, and then search for #4, and hope that it never occurs to anyone to put this character into the second field! But there must surely be a very simple and much better way? Peter From runrev at animabit.de Thu Jan 18 05:02:20 2007 From: runrev at animabit.de (runrev at animabit.de) Date: Thu, 18 Jan 2007 10:02:20 +0000 Subject: SFTP Message-ID: Hello, I once had to make a solution in ssh putting generated data from one server to another using ssh (about 2002). We used a win server and had to connect to a linux server. This solution works with any win client and a server with openssh or another ssh solution able to use ppk files and was last tested about 2 years ago. Perhaps the security standards concerning ssh have changed ... We used the putty programs http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html PSFTP (an SFTP client you can use by the commandline (shell) with batchfiles steps: 0. create a security key using PuTTYgen (an RSA and DSA key generation utility) and put it on the sftp-server for authentication. Make one connection with psftp to this server by hand and approve the first time the feeddback question concerning the connection "Do you know the server xyz.target.com and approve ...". Than this ssh-connection can be further used in batchprocesses also. 1. write a batchfile out of runrev 2. write a commandfile out of runrev with the commands in f.e. "c:\batchparameter.txt" (f.e. " cd client cd year2007 put fileA.txt get filefromServerA put xyzA.pdf" like you would do with any oldfashioned commandline ftp-client). 3. run this batchfile using the shell command (blocking) or the launch command or shell("start " & batchfile) (nonblocking). shell("psftp -batch -bc -b c:\batchparameter.txt -P 1234 -i c:\admin\ssh\dsa.ppk mylogin at xyz.target.com") Somewhat tricky but when properly set up working very stable. And you can use the commandline (shell) from any program which needs to connect to the server by ssh using port 1234. Regards, Franz Mit freundlichen Gr??en Franz B?hmisch boehmisch at animabit.de http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 -------- Original Message -------- Subject: SFTP (18-Jan-2007 5:05) From: Bridger Maxwell To: use-revolution at lists.runrev.com > Hey, > I am trying to get a server set up on a School District's network, but > they won't let me open an FTP port to the internet unless it is an SFTP > connection. As far as I can tell, Revolution is not able to open Secure > FTP > connections out of the box, but are there any workarounds that anyone knows > about? Any tips would be greatly appreciated. > > TTFN > Bridger Maxwell > CMSEC > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > To: use-revolution at lists.runrev.com From mark at maseurope.net Thu Jan 18 05:57:36 2007 From: mark at maseurope.net (Mark Smith) Date: Thu, 18 Jan 2007 10:57:36 +0000 Subject: Probably a silly question about 'find' In-Reply-To: <200701180932.56256.palcibiades-first@yahoo.co.uk> References: <200701180932.56256.palcibiades-first@yahoo.co.uk> Message-ID: <06FDC978-9D41-47D3-9872-A565263FA743@maseurope.net> Peter, in the specific case here, you could do this find "4" & tab Best, Mark On 18 Jan 2007, at 09:32, Peter Alcibiades wrote: > Feels like a very silly question, but it is stumping me. > > How do I use 'find' to find '4' when it occurs by itself but not 4 > when it > occurs in '4.1', when searching the contents of a field? > > I have a field with tab separated values in the form > > 1 1234 > 2 2.56 > 3 4.1 > 4 9.274 > > and I want to find only that line in which there is a match of the > inputted > string with the first item. The first item will always be a unique > value. > So I want in some way to do a find on 4 that will pick up only line > 4, and > not the occurrence of 4 in line 3. > > Find word doesn't seem to work, because presumably Rev sees the '.' > as a word > limiter. Whereas in fact, its a decimal.... Find string in item 1 > doesn't > work either. In fact, none of the parameters on find seem to work. > > The only thing that has occurred to me is a real kludge - just > stick some > character like # in front of or after the numbers in the first > position, and > then search for #4, and hope that it never occurs to anyone to put > this > character into the second field! But there must surely be a very > simple and > much better way? > > Peter > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From effendi at wanadoo.fr Thu Jan 18 06:38:26 2007 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Thu, 18 Jan 2007 12:38:26 +0100 Subject: revCopyFile and revCopyFolder to the "desktop" Message-ID: <6527fcd4aba24e5e1362b20508be330b@wanadoo.fr> Hi from Paris, I am confused about the commands "revCopyFile" and "revCopyFolder", on both my Mac and on my PC, especially in the context of "desktop". I want to create files, folders and shortcuts on the Mac and PC desktops. I am using Revolution DreamCard 2.6.1, build 152 on my Mac, and StackRunner 1.3.0.0 on my PC. I develop my stack on the Mac, and run it on both Mac and PC. Here we go : For "revCopyFile" and "revCopyFolder", documentation says " If you specify a name but not a location, Revolution assumes the destination file/folder is the defaultFolder." Does this mean that if the " folderToCopyTo " or "destinationFolder" DOES NOT begin with a "/", then defaultFolder is used as the destination folder ? Supposing that this is true : revCopyFile "/MyFolder/MyFile.rev","MyFile.rev" could be used to create a copy on my desktop ........... So I coded : put specialFolderPath("DeskTop") into GVDeskTop set the defaultFolder to GVDeskTop revCopyFile "/MyFolder/MyFile.rev","MyFile.rev" On my Mac, GVDeskTop contains "/Users/francisdixon/Desktop" On my PC, GVDeskTop contains "C:/Documents and Settings/francisdixon/Desktop" Because of my understanding of the documentation, I thought I would create a copy of my file on the deskTop. It didn't work ! The command appeared to execute, but no trace of my new file could be found, either on the desktop (or anywhere else on the disk). The Result showed no error. So I tried trickery and subterfuge (this is a built-in function for an Irishman !), by naming the destination file specifically as the desktop : put specialFolderPath("DeskTop") into GVDeskTop put GVDeskTop & "/" & "MyFile.rev" into GVMyDestination revCopyFile "/MyFolder/MyFile.rev,GVMyDestination -- On the Mac OR revCopyFile "C:/MyFolder/MyFile.rev,GVMyDestination -- On the PC This works on my Mac (the file appears immediately on the deskTop). On the PC, the file DOES NOT appear on the deskTop, but DOES APPEAR in the desktop folder itself : Is this because the PC desktop needs to be "refreshed" just like any other folder ? If so, how would I do this ? When I rebooted my PC, my file then showed on the deskTop. When I test "the Result" after a file copy, to see if the copy is successful, "the Result" should be empty (suggested by the documentation). I found that "the Result" contains the name of the file in quotes, after a successful copy. So how do I check for a failure in the copy ? I assumed that a "revCopyFile" could be used to create a copy of a file with a new name (Why Not - It does not say that "fileToCopy" and "folderToCopyTo" must NOT use different filenames !). So I tried : put specialFolderPath("DeskTop") into GVDeskTop put GVDeskTop & "/" & "MyFile.rev" into GVMySendingFile put GVDeskTop & "/" & "NewName.rev" into GVMyDestination revCopyFile GVMySendingFile,GVMyDestination On my Mac, this renames my original file on the desktop to "NewName.rev", and creates a file "MyFile.rev copy" on the desktop. As Alice once said - "Curiouser and curiouser !" (I haven't yet bothered to test this on my PC). I am also having problems creating a shortcut on the PC desktop, but I will experiment further before asking for help ! Has anybody got any experience with these commands, especially concerning the destination "desktop" ? -Francis "Nothing should ever be done for the first time !" From JimAultWins at yahoo.com Thu Jan 18 07:29:37 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 18 Jan 2007 04:29:37 -0800 Subject: revCopyFile and revCopyFolder to the "desktop" In-Reply-To: <6527fcd4aba24e5e1362b20508be330b@wanadoo.fr> Message-ID: A couple specific comments: > did not work > put specialFolderPath("DeskTop") into GVDeskTop > set the defaultFolder to GVDeskTop > revCopyFile "/MyFolder/MyFile.rev","MyFile.rev" In the last line of this ..it does not look like you are naming a folder as a destination. > I assumed that a "revCopyFile" could be used to create a copy of a file > with a new name (Why Not - It does not say that "fileToCopy" and > "folderToCopyTo" must NOT use different filenames !). The "folderToCopyTo" probably means 'folder' to copy to, not filename. from the docs The folderToCopyTo specifies the name and location of the FOLDER where the copied file should be placed. If you specify a name but not a location, Revolution assumes the destination folder is in the defaultFolder. location = full path name /Users/jault/Documents/agreement.jpg name = start with the default folder, thus nested. /MyFolder/subFolder/ = defautFolder/ MyFolder/subFolder/ ----------------- further reading, esp error checking code One tip for this: most likely one of your folder variables did not look like a folder or it has not been created yet, therefore setting the defaultFolder was not possible, and it was not changed. First always put the path name into its own variable and then put the filename into another. Sometimes you will want the path or file or both. Error checking is the main reason. Then get in the habit of put specialFolderPath("DeskTop") into destPathh if the last char of destPathh is not "/" then put "/" after destPathh put destPathh & "MyFolder/"into sourcePathh if there is not a folder sourcePathh then answer "Oops! There is no folder .." & sourcePathh breakpoint exit to top end if if there is not a folder destPathh then answer "Oops! There is no folder .." & destPathh breakpoint create folder destPathh end if put "MyFile.rev" into FN put the defaultFolder into temp breakpoint --be sure that it is where you think it should be if there is not a file sourcePathh&FN then answer "Oops! There is no file .." & sourcePathh&FN end if revCopyFile (sourcePathh&FN), destPathh if there is not a file destPathh&FN then answer "Oops! Did not copy.create file .." & destPathh&FN end if -------------------- another quick test method is to put this in the MULTI line message box answer folder "pick a fat one" put it & "/" --> a full folder path will be returned answer file "pick a crummy one" put it --> a full file path will be returned ------------------------------------ The way I do it does not use RevCopyFile or Folder Same result, different form. --for text files put url ("file:"&pathh&FN) into url ("file:"&pathh2&FN2) put fld 1 into url ("file:"&pathh&FN) put fld 2 after url ("file:"&pathh&FN) put fld 3 before url ("file:"&pathh&FN) --for images put url ("binfile:"&pathh&FN) into url ("binfile:"&pathh2&FN2) ----------------------------------------------------------- Hope this helps with your designs Jim Ault On 1/18/07 3:38 AM, "Francis Nugent Dixon" wrote: > Hi from Paris, > > I am confused about the commands "revCopyFile" and "revCopyFolder", on > both my Mac and on my PC, especially in the context of "desktop". I > want to create files, folders and shortcuts on the Mac and PC desktops. > > I am using Revolution DreamCard 2.6.1, build 152 on my Mac, and > StackRunner 1.3.0.0 on my PC. I develop my stack on the Mac, and run it > on both Mac and PC. > > Here we go : > > For "revCopyFile" and "revCopyFolder", documentation says " If you > specify a name but not a location, Revolution assumes the destination > file/folder is the defaultFolder." Does this mean that if the " > folderToCopyTo " or "destinationFolder" DOES NOT begin with a "/", then > defaultFolder is used as the destination folder ? > > Supposing that this is true : revCopyFile > "/MyFolder/MyFile.rev","MyFile.rev" could be used to create a copy on > my desktop ........... > > So I coded : > > put specialFolderPath("DeskTop") into GVDeskTop > set the defaultFolder to GVDeskTop > revCopyFile "/MyFolder/MyFile.rev","MyFile.rev" > > On my Mac, GVDeskTop contains "/Users/francisdixon/Desktop" > On my PC, GVDeskTop contains "C:/Documents and > Settings/francisdixon/Desktop" > > Because of my understanding of the documentation, I thought I would > create a copy of my file on the deskTop. It didn't work ! The command > appeared to execute, but no trace of my new file could be found, either > on the desktop (or anywhere else on the disk). The Result showed no > error. > > So I tried trickery and subterfuge (this is a built-in function for an > Irishman !), by naming the destination file specifically as the desktop > : > > put specialFolderPath("DeskTop") into GVDeskTop > put GVDeskTop & "/" & "MyFile.rev" into GVMyDestination > revCopyFile "/MyFolder/MyFile.rev,GVMyDestination -- On the Mac > OR > revCopyFile "C:/MyFolder/MyFile.rev,GVMyDestination -- On the PC > > This works on my Mac (the file appears immediately on the deskTop). > On the PC, the file DOES NOT appear on the deskTop, but DOES APPEAR in > the desktop folder itself : > > Is this because the PC desktop needs to be "refreshed" just like any > other folder ? If so, how would I do this ? > When I rebooted my PC, my file then showed on the deskTop. > > When I test "the Result" after a file copy, to see if the copy is > successful, "the Result" should be empty (suggested by the > documentation). I found that "the Result" contains the name of the file > in quotes, after a successful copy. So how do I check for a failure in > the copy ? > > I assumed that a "revCopyFile" could be used to create a copy of a file > with a new name (Why Not - It does not say that "fileToCopy" and > "folderToCopyTo" must NOT use different filenames !). So I tried : > > put specialFolderPath("DeskTop") into GVDeskTop > put GVDeskTop & "/" & "MyFile.rev" into GVMySendingFile > put GVDeskTop & "/" & "NewName.rev" into GVMyDestination > revCopyFile GVMySendingFile,GVMyDestination > > On my Mac, this renames my original file on the desktop to > "NewName.rev", and creates a file "MyFile.rev copy" on the desktop. As > Alice once said - "Curiouser and curiouser !" (I haven't yet bothered > to test this on my PC). > > I am also having problems creating a shortcut on the PC desktop, but I > will experiment further before asking for help ! > > Has anybody got any experience with these commands, especially > concerning the destination "desktop" ? > > -Francis > > "Nothing should ever be done for the first time !" > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From devin_asay at byu.edu Thu Jan 18 10:48:48 2007 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 18 Jan 2007 08:48:48 -0700 Subject: Probably a silly question about 'find' In-Reply-To: <200701180932.56256.palcibiades-first@yahoo.co.uk> References: <200701180932.56256.palcibiades-first@yahoo.co.uk> Message-ID: On Jan 18, 2007, at 2:32 AM, Peter Alcibiades wrote: > Feels like a very silly question, but it is stumping me. > > How do I use 'find' to find '4' when it occurs by itself but not 4 > when it > occurs in '4.1', when searching the contents of a field? > > I have a field with tab separated values in the form > > 1 1234 > 2 2.56 > 3 4.1 > 4 9.274 > > and I want to find only that line in which there is a match of the > inputted > string with the first item. The first item will always be a unique > value. > So I want in some way to do a find on 4 that will pick up only line > 4, and > not the occurrence of 4 in line 3. > > Find word doesn't seem to work, because presumably Rev sees the '.' > as a word > limiter. Whereas in fact, its a decimal.... Find string in item 1 > doesn't > work either. In fact, none of the parameters on find seem to work. Peter, Find is probably not the best choice in this case. I would use the lineOffset function and look for 4 & tab, like this: put lineOffset(4 & tab,fld "thevalues") into tLineFound HTH Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From mail at richard-hillen.de Thu Jan 18 10:49:17 2007 From: mail at richard-hillen.de (R. Hillen) Date: Thu, 18 Jan 2007 16:49:17 +0100 (MET) Subject: how to adress a users folder on Mac OSX In-Reply-To: <20070111155857.BA1B14893CF@mail.runrev.com> References: <20070111155857.BA1B14893CF@mail.runrev.com> Message-ID: Hello list, what should I write to get a list of files in the library of the actual user? somewhat like: put files(/Users/???/Library) into FileList ? Thank you for your help Richard. From revdev at pdslabs.net Thu Jan 18 11:00:01 2007 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 18 Jan 2007 08:00:01 -0800 Subject: how to adress a users folder on Mac OSX In-Reply-To: References: <20070111155857.BA1B14893CF@mail.runrev.com> Message-ID: <45AF9981.4050606@pdslabs.net> Hi Richard, Here's one way: -- button script on mouseUp put ($HOME & "/Library") into tTargetFolder set the defaultFolder to tTargetFolder put the files into fld 1 end mouseUp "$HOME" is an environment variable - always there, no need to define it. Phil Davis R. Hillen wrote: > Hello list, > > what should I write to get a list of files in the library of the actual > user? > > somewhat like: > > put files(/Users/???/Library) into FileList ? > > Thank you for your help > > Richard. From cmsheffield at gmail.com Thu Jan 18 11:02:02 2007 From: cmsheffield at gmail.com (Chris Sheffield) Date: Thu, 18 Jan 2007 09:02:02 -0700 Subject: Common writable folders In-Reply-To: References: <45AEFC01.9020307@fourthworld.com> Message-ID: <9290AC23-0D21-40AD-AE28-5EC8E2057B07@gmail.com> This is so cool! Has this been shared on the list before? If so, I have missed something major. Does anyone know if this will work with multi-line shell scripts? Chris On Jan 17, 2007, at 11:26 PM, sims wrote: > At 8:48 PM -0800 1/17/07, Richard Gaskin wrote: >> You mean Apple provides no way for any scripting language to >> request authorization on its own? Not even AppleScript? > > > For the dialog use AppleScript: > do shell script "command" with administrator privileges > > To pass other items use: > do shell script "command" user name "me" password "mypassword" with > administrator privileges > > > sims > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From devin_asay at byu.edu Thu Jan 18 11:23:27 2007 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 18 Jan 2007 09:23:27 -0700 Subject: how to adress a users folder on Mac OSX In-Reply-To: <45AF9981.4050606@pdslabs.net> References: <20070111155857.BA1B14893CF@mail.runrev.com> <45AF9981.4050606@pdslabs.net> Message-ID: <21D2D390-4F6E-4C26-91B9-E0F339AD6E3F@byu.edu> On Jan 18, 2007, at 9:00 AM, Phil Davis wrote: > Hi Richard, > > Here's one way: > > > -- button script > on mouseUp > put ($HOME & "/Library") into tTargetFolder > set the defaultFolder to tTargetFolder > put the files into fld 1 > end mouseUp > > > "$HOME" is an environment variable - always there, no need to > define it. Here's another approach: put put specialFolderPath("cusr") & "/Library" into tTargetFolder set the defaultFolder to tTargetFolder put the files into fld "LibContents" Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From kray at sonsothunder.com Thu Jan 18 11:25:42 2007 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 18 Jan 2007 10:25:42 -0600 Subject: Probably a silly question about 'find' In-Reply-To: References: <200701180932.56256.palcibiades-first@yahoo.co.uk> Message-ID: On Jan 18, 2007, at 9:48 AM, Devin Asay wrote: > On Jan 18, 2007, at 2:32 AM, Peter Alcibiades wrote: > >> Feels like a very silly question, but it is stumping me. >> >> How do I use 'find' to find '4' when it occurs by itself but not 4 >> when it >> occurs in '4.1', when searching the contents of a field? >> >> I have a field with tab separated values in the form >> >> 1 1234 >> 2 2.56 >> 3 4.1 >> 4 9.274 >> >> and I want to find only that line in which there is a match of the >> inputted >> string with the first item. The first item will always be a >> unique value. >> So I want in some way to do a find on 4 that will pick up only >> line 4, and >> not the occurrence of 4 in line 3. >> >> Find word doesn't seem to work, because presumably Rev sees the >> '.' as a word >> limiter. Whereas in fact, its a decimal.... Find string in item >> 1 doesn't >> work either. In fact, none of the parameters on find seem to work. > > Peter, > > Find is probably not the best choice in this case. I would use the > lineOffset function and look for 4 & tab, like this: > > put lineOffset(4 & tab,fld "thevalues") into tLineFound And I would add to that to precede the number to search for with a CR just to be on the safe side: put lineOffset(CR & 4 & tab,CR & fld "thevalues") into tLineFound This way, suppose you had a series of values where some lines may be skipped and you want to know if a line *was* skipped; something like: 1 1234 2 2.56 3 4.1 9 8.35 14 9.274 18 20.121 WIthout the "CR" in there, you would match the line starting with 14 if you just looked for ("4" & tab), but you wouldn't match it if you look for (CR & "4" & tab). Note that it is very important that you include the preceding CR with the list to find as well, otherwise your lineoffset will be off. So it can't be: lineOffset(CR & 4 & tab,fld "thevalues") but must be lineOffset(CR & 4 & tab,CR & fld "thevalues") HTH, Ken Ray Sons of Thunder Software, Inc. Web Site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From cmsheffield at gmail.com Thu Jan 18 11:28:38 2007 From: cmsheffield at gmail.com (Chris Sheffield) Date: Thu, 18 Jan 2007 09:28:38 -0700 Subject: how to adress a users folder on Mac OSX In-Reply-To: <21D2D390-4F6E-4C26-91B9-E0F339AD6E3F@byu.edu> References: <20070111155857.BA1B14893CF@mail.runrev.com> <45AF9981.4050606@pdslabs.net> <21D2D390-4F6E-4C26-91B9-E0F339AD6E3F@byu.edu> Message-ID: <08694AA5-55AE-4E9C-8D18-F4D31D52B8BC@gmail.com> You can also simply use the tilde character '~' to specify the user's home folder. So "~/Library" would give you the user's Library folder. Chris On Jan 18, 2007, at 9:23 AM, Devin Asay wrote: > > On Jan 18, 2007, at 9:00 AM, Phil Davis wrote: > >> Hi Richard, >> >> Here's one way: >> >> >> -- button script >> on mouseUp >> put ($HOME & "/Library") into tTargetFolder >> set the defaultFolder to tTargetFolder >> put the files into fld 1 >> end mouseUp >> >> >> "$HOME" is an environment variable - always there, no need to >> define it. > > Here's another approach: > > put put specialFolderPath("cusr") & "/Library" into tTargetFolder > set the defaultFolder to tTargetFolder > put the files into fld "LibContents" > > Devin > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From kray at sonsothunder.com Thu Jan 18 11:29:50 2007 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 18 Jan 2007 10:29:50 -0600 Subject: how to adress a users folder on Mac OSX In-Reply-To: <21D2D390-4F6E-4C26-91B9-E0F339AD6E3F@byu.edu> References: <20070111155857.BA1B14893CF@mail.runrev.com> <45AF9981.4050606@pdslabs.net> <21D2D390-4F6E-4C26-91B9-E0F339AD6E3F@byu.edu> Message-ID: <48BD2177-C2B5-4C32-9FD2-707D723A1604@sonsothunder.com> On Jan 18, 2007, at 10:23 AM, Devin Asay wrote: > > On Jan 18, 2007, at 9:00 AM, Phil Davis wrote: > >> Hi Richard, >> >> Here's one way: >> >> >> -- button script >> on mouseUp >> put ($HOME & "/Library") into tTargetFolder >> set the defaultFolder to tTargetFolder >> put the files into fld 1 >> end mouseUp >> >> >> "$HOME" is an environment variable - always there, no need to >> define it. > > Here's another approach: > > put put specialFolderPath("cusr") & "/Library" into tTargetFolder > set the defaultFolder to tTargetFolder > put the files into fld "LibContents" Also, for a quick lookup of specialFolderPath codes, see my tip on the subject: http://www.sonsothunder.com/devres/revolution/tips/file010.htm Ken Ray Sons of Thunder Software, Inc. Web Site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From devin_asay at byu.edu Thu Jan 18 12:03:48 2007 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 18 Jan 2007 10:03:48 -0700 Subject: Probably a silly question about 'find' In-Reply-To: References: <200701180932.56256.palcibiades-first@yahoo.co.uk> Message-ID: <44695281-63AF-4C9C-9737-84FFF34C8F57@byu.edu> On Jan 18, 2007, at 9:25 AM, Ken Ray wrote: > > On Jan 18, 2007, at 9:48 AM, Devin Asay wrote: >> >> Find is probably not the best choice in this case. I would use the >> lineOffset function and look for 4 & tab, like this: >> >> put lineOffset(4 & tab,fld "thevalues") into tLineFound > > And I would add to that to precede the number to search for with a > CR just to be on the safe side: > > put lineOffset(CR & 4 & tab,CR & fld "thevalues") into tLineFound > > This way, suppose you had a series of values where some lines may > be skipped and you want to know if a line *was* skipped; something > like: > > 1 1234 > 2 2.56 > 3 4.1 > 9 8.35 > 14 9.274 > 18 20.121 > > WIthout the "CR" in there, you would match the line starting with > 14 if you just looked for ("4" & tab), but you wouldn't match it if > you look for (CR & "4" & tab). Note that it is very important that > you include the preceding CR with the list to find as well, > otherwise your lineoffset will be off. So it can't be: > > lineOffset(CR & 4 & tab,fld "thevalues") > > but must be > > lineOffset(CR & 4 & tab,CR & fld "thevalues") Including the CR in the second argument also ensures that an entry on the first line of the field will not be overlooked in the search. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From cmsheffield at gmail.com Thu Jan 18 12:06:28 2007 From: cmsheffield at gmail.com (Chris Sheffield) Date: Thu, 18 Jan 2007 10:06:28 -0700 Subject: Common writable folders In-Reply-To: References: <45AEFC01.9020307@fourthworld.com> Message-ID: <3377DAEB-F6EF-435A-955B-45561FB4F57E@gmail.com> I've got another question about using this. Hope you don't mind. Is there anyway to suppress the dialog if it has already displayed once in a session? I realize there's a timeout thing with sudo that eventually expires (my Unix knowledge is limited), and at that point a new dialog would have to appear anyway. But here's my situation. I have a Rev script that performs a few different tasks in one swipe, some of which require admin privileges on the system. They involve changing a certain file's permissions, editing the file, then changing the permissions back. But it seems that every time the command changes, even if it's simply "chmod 750" to "chmod 755", a dialog comes up again. So I'm ending up with 2 or 3 dialogs right in a row. Any way to keep this from happening? Is there some way to extract the user name and password and then pass those like in your second example? That's probably not a very kosher thing to do, though. Thanks, Chris On Jan 17, 2007, at 11:26 PM, sims wrote: > At 8:48 PM -0800 1/17/07, Richard Gaskin wrote: >> You mean Apple provides no way for any scripting language to >> request authorization on its own? Not even AppleScript? > > > For the dialog use AppleScript: > do shell script "command" with administrator privileges > > To pass other items use: > do shell script "command" user name "me" password "mypassword" with > administrator privileges > > > sims > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From devin_asay at byu.edu Thu Jan 18 12:21:06 2007 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 18 Jan 2007 10:21:06 -0700 Subject: how to adress a users folder on Mac OSX In-Reply-To: <48BD2177-C2B5-4C32-9FD2-707D723A1604@sonsothunder.com> References: <20070111155857.BA1B14893CF@mail.runrev.com> <45AF9981.4050606@pdslabs.net> <21D2D390-4F6E-4C26-91B9-E0F339AD6E3F@byu.edu> <48BD2177-C2B5-4C32-9FD2-707D723A1604@sonsothunder.com> Message-ID: <6C91BFDA-58FE-494A-99BD-F1298B5F7CB6@byu.edu> On Jan 18, 2007, at 9:29 AM, Ken Ray wrote: > > On Jan 18, 2007, at 10:23 AM, Devin Asay wrote: > >> >> On Jan 18, 2007, at 9:00 AM, Phil Davis wrote: >> >>> Hi Richard, >>> >>> Here's one way: >>> >>> >>> -- button script >>> on mouseUp >>> put ($HOME & "/Library") into tTargetFolder >>> set the defaultFolder to tTargetFolder >>> put the files into fld 1 >>> end mouseUp >>> >>> >>> "$HOME" is an environment variable - always there, no need to >>> define it. >> >> Here's another approach: >> >> put put specialFolderPath("cusr") & "/Library" into tTargetFolder >> set the defaultFolder to tTargetFolder >> put the files into fld "LibContents" > > Also, for a quick lookup of specialFolderPath codes, see my tip on > the subject: > > http://www.sonsothunder.com/devres/revolution/tips/file010.htm A perusal of Apple's complete list of folder constants at (the URL cited in the specialFolderPath Rev dictionary entry) shows that Apple may have added a few since you put your reference together, Ken. They include useful ones like: cusr - the current user's home folder sdat - the shared user data folder (usually /Users/Shared in OSX) pubb - the current user's public folder ssnd - the system sounds folder info - the Documentation folder wcmp - the QuickTime components folder There are probably more nuggets there to be discovered. 8^) Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From cszasz at mac.com Thu Jan 18 12:58:44 2007 From: cszasz at mac.com (Charles Szasz) Date: Thu, 18 Jan 2007 12:58:44 -0500 Subject: Quartam Reports Sample Problem Message-ID: <5B23348E-1A7B-4C8F-A1F1-C39C628A2B4A@mac.com> I hope someone who is using Quartam Reports can answer my question. I trying to learn how to use Quartam Reports. In the first sample, after I created a Qrt page with the fields filled out as per instructions in the PDF manual. I made a one card stack with a print button and I added the following script as in the book: on mouseUp local tLayoutFile,tStackName,tShowPreview loadLibraries put "mystackreport.qrl" into tLayoutFile put "qrsContacts" into tStackName put true into tShowPreview -- print the report qrtReports_PrintReportForStack tLayoutFile, tStackName, tShowPreview end mouseUp After I click Apply in the script editor. Then go to run mode and press the mouse button I get the following error message: "An error occurred while printin the report: qrtReportsErr: no such stack." What did I do wrong here and how do I correct the problem? Charles Szasz cszasz at mac.com From revdev at pdslabs.net Thu Jan 18 12:59:41 2007 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 18 Jan 2007 09:59:41 -0800 Subject: Common writable folders In-Reply-To: <3377DAEB-F6EF-435A-955B-45561FB4F57E@gmail.com> References: <45AEFC01.9020307@fourthworld.com> <3377DAEB-F6EF-435A-955B-45561FB4F57E@gmail.com> Message-ID: <45AFB58D.8070704@pdslabs.net> Hi Chris, Is it possible to: - copy the files to a place where the user does have permission - do all your changes - copy them back to the original place? Then it seems like there might only be one dialog. Just a thought - Phil Davis Chris Sheffield wrote: > I've got another question about using this. Hope you don't mind. > > Is there anyway to suppress the dialog if it has already displayed once > in a session? I realize there's a timeout thing with sudo that > eventually expires (my Unix knowledge is limited), and at that point a > new dialog would have to appear anyway. > > But here's my situation. I have a Rev script that performs a few > different tasks in one swipe, some of which require admin privileges on > the system. They involve changing a certain file's permissions, editing > the file, then changing the permissions back. But it seems that every > time the command changes, even if it's simply "chmod 750" to "chmod > 755", a dialog comes up again. So I'm ending up with 2 or 3 dialogs > right in a row. Any way to keep this from happening? Is there some way > to extract the user name and password and then pass those like in your > second example? That's probably not a very kosher thing to do, though. > > Thanks, > Chris > > > On Jan 17, 2007, at 11:26 PM, sims wrote: > >> At 8:48 PM -0800 1/17/07, Richard Gaskin wrote: >>> You mean Apple provides no way for any scripting language to request >>> authorization on its own? Not even AppleScript? >> >> >> For the dialog use AppleScript: >> do shell script "command" with administrator privileges >> >> To pass other items use: >> do shell script "command" user name "me" password "mypassword" with >> administrator privileges >> >> >> sims >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > ------------------------------------------ > Chris Sheffield > Read Naturally > The Fluency Company > http://www.readnaturally.com > ------------------------------------------ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Thu Jan 18 13:13:39 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Jan 2007 12:13:39 -0600 Subject: Common writable folders In-Reply-To: References: <45AEFC01.9020307@fourthworld.com> Message-ID: <45AFB8D3.5090402@hyperactivesw.com> sims wrote: > At 8:48 PM -0800 1/17/07, Richard Gaskin wrote: >> You mean Apple provides no way for any scripting language to request >> authorization on its own? Not even AppleScript? > > > For the dialog use AppleScript: > do shell script "command" with administrator privileges > > To pass other items use: > do shell script "command" user name "me" password "mypassword" with > administrator privileges I'm having trouble with this. I do get the official Apple password dialog, but can't execute a command. I want to change permissions on a folder. This script fails with "execution error": put "chmod 777 /Library/Application Support/myfolder/" into tShellCmd put "do shell script" &"e& tShellCmd "e&& "with administrator privileges" into tCmd do tCmd as applescript put the result So I figured I needed to escape the space. When I do that, this script fails with "compiler error": put "chmod 777 /Library/Application\ Support/myfolder/" into tShellCmd put "do shell script" &"e& tShellCmd "e&& "with administrator privileges" into tCmd do tCmd as applescript put the result If I substitute colons instead of slashes I go back to "execution error". Adding "sudo" to the front of the command doesn't help (but I'm running as admin right now, so maybe that's why.) What's the right command to allow any user, admin or not, to type in an admin password and set the permissions on this folder? Am I using this feature correctly? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From cmsheffield at gmail.com Thu Jan 18 13:28:14 2007 From: cmsheffield at gmail.com (Chris Sheffield) Date: Thu, 18 Jan 2007 11:28:14 -0700 Subject: Common writable folders In-Reply-To: <45AFB8D3.5090402@hyperactivesw.com> References: <45AEFC01.9020307@fourthworld.com> <45AFB8D3.5090402@hyperactivesw.com> Message-ID: Hi Jacque, Couple questions. Have you tried running the command from Terminal? If so, does it work okay there? Also, have you tried running it from the AppleScript script editor? If it fails there, you might get a more descriptive error message. One thing that I'm doing different is instead of putting the entire command into a variable, I'm only putting in the actual shell script part. So my code would read something like: do "do shell script" && quote & tCmd & quote && "with administrator privileges" I don't know if that makes a difference or not. It shouldn't, but it is working for me just fine. Granted, I am only changing permissions on a single file, not on a folder. Just a couple ideas. Sorry I can't really provide more concrete help. Chris On Jan 18, 2007, at 11:13 AM, J. Landman Gay wrote: > sims wrote: >> At 8:48 PM -0800 1/17/07, Richard Gaskin wrote: >>> You mean Apple provides no way for any scripting language to >>> request authorization on its own? Not even AppleScript? >> For the dialog use AppleScript: >> do shell script "command" with administrator privileges >> To pass other items use: >> do shell script "command" user name "me" password "mypassword" >> with administrator privileges > > I'm having trouble with this. I do get the official Apple password > dialog, but can't execute a command. > > I want to change permissions on a folder. This script fails with > "execution error": > > put "chmod 777 /Library/Application Support/myfolder/" into tShellCmd > put "do shell script" &"e& tShellCmd "e&& "with > administrator privileges" into tCmd > do tCmd as applescript > put the result > > So I figured I needed to escape the space. When I do that, this > script fails with "compiler error": > > put "chmod 777 /Library/Application\ Support/myfolder/" into tShellCmd > put "do shell script" &"e& tShellCmd "e&& "with > administrator privileges" into tCmd > do tCmd as applescript > put the result > > If I substitute colons instead of slashes I go back to "execution > error". Adding "sudo" to the front of the command doesn't help (but > I'm running as admin right now, so maybe that's why.) > > What's the right command to allow any user, admin or not, to type > in an admin password and set the permissions on this folder? Am I > using this feature correctly? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From jacque at hyperactivesw.com Thu Jan 18 13:29:25 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Jan 2007 12:29:25 -0600 Subject: Very often crash In-Reply-To: References: Message-ID: <45AFBC85.5020101@hyperactivesw.com> Hershel Fisch wrote: > Hello I'd wish how to go about this. When ever I need to edit any thing on > the layout that has to do with a group my blood pressure is up the creek. > 95% of the time it crashes Rev. I don't know if its a bug or I'm the > bug?(lol) > > I don't remember form previous threads if the report to apple also reports > to Rev because that?s what I did till know. Now I'll post it here. Looks > like it didn't get to Rev I don't how to bugZilla it. > Reports to Apple don't get sent to Runtime, so RR never knows about them. To report a problem, you should enter the info into the bug database here: Or if you would rather, you can just send an email report to support at and someone will enter the bug into the database for you. Crashes are given first priority, so reporting them is important. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dbrooks at unlserve.unl.edu Thu Jan 18 13:29:57 2007 From: dbrooks at unlserve.unl.edu (David Brooks) Date: Thu, 18 Jan 2007 12:29:57 -0600 Subject: Wake Up, Work, and then Snooze In-Reply-To: References: Message-ID: <648BD2E0-9741-4155-B53A-8AA1ED11B8A5@unlserve.unl.edu> I'd like to have a stack wake up (say every hour), do some work, and then go back to sleep. Has anyone got something like that working? I'm nervous about setting the idlerate to a rather large number, and I'm seeking suggestions about prior experiences before I try a few experiments. Thanks. Dave Brooks From rkrivera at earthlink.net Thu Jan 18 13:30:49 2007 From: rkrivera at earthlink.net (Reuben Rivera) Date: Thu, 18 Jan 2007 10:30:49 -0800 Subject: Rev and RAM Message-ID: <8CCFBA7B-093F-44F0-BE2C-3BA018E255F7@earthlink.net> Hello, I know Rev uses memory in your system when you are running it. When you load data from a text file into a rev created app and later delete it, is the memory used during the loading process still unavailable or can it now be allocated to something else. I'm creating a app which manipulates a lot of text files and I want to make sure I don't slow down the app or crash it by placing to much demand on the ram available on the particular computer in use. Thanks, Reuben Rivera From jacque at hyperactivesw.com Thu Jan 18 13:35:55 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Jan 2007 12:35:55 -0600 Subject: Common writable folders In-Reply-To: References: <45AEFC01.9020307@fourthworld.com> <45AFB8D3.5090402@hyperactivesw.com> Message-ID: <45AFBE0B.2070303@hyperactivesw.com> Chris Sheffield wrote: > Hi Jacque, > > Couple questions. Have you tried running the command from Terminal? Yes, it works fine there. > If > so, does it work okay there? Also, have you tried running it from the > AppleScript script editor? If it fails there, you might get a more > descriptive error message. I'll try that. > > One thing that I'm doing different is instead of putting the entire > command into a variable, I'm only putting in the actual shell script > part. So my code would read something like: > > do "do shell script" && quote & tCmd & quote && "with administrator > privileges" Where are you indicating it should be executed as applescript? Could I see a sample of your entire command sequence? The above isn't accepted by Rev as-is. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Thu Jan 18 13:38:16 2007 From: klaus at major-k.de (Klaus Major) Date: Thu, 18 Jan 2007 19:38:16 +0100 (MET) Subject: Wake Up, Work, and then Snooze In-Reply-To: <648BD2E0-9741-4155-B53A-8AA1ED11B8A5@unlserve.unl.edu> References: <648BD2E0-9741-4155-B53A-8AA1ED11B8A5@unlserve.unl.edu> Message-ID: Hi David, > I'd like to have a stack wake up (say every hour), do some work, > and then go back to sleep. Has anyone got something like that working? This sounds like a case for "send xyz to ... in..." ... send "do_important_hourly_stuff" to stack xyz in 60*60 secs ... Then in the handler: on do_important_hourly_stuff ## do your important hourly stuff here ## .. send "do_important_hourly_stuff" to stack xyz in 60*60 secs end do_important_hourly_stuff > I'm nervous about setting the idlerate to a rather large number, > and I'm seeking suggestions about prior experiences before I try a > few experiments. Using "idle" and "idlerate" for this task is a very, very, very, very, very bad idea ;-) > Thanks. > > Dave Brooks Regards Klaus Major klaus at major-k.de http://www.major-k.de From chipp at chipp.com Thu Jan 18 14:19:33 2007 From: chipp at chipp.com (Chipp Walters) Date: Thu, 18 Jan 2007 13:19:33 -0600 Subject: selectedchunk anyone? In-Reply-To: <7aa52a210701172333p2f86683bg107ea3f702bcdc9f@mail.gmail.com> References: <7aa52a210701172333p2f86683bg107ea3f702bcdc9f@mail.gmail.com> Message-ID: <7aa52a210701181119h674576e4k59312401124dcc69@mail.gmail.com> OK, no takers then.. Here's how I've decided to solve it: (list field script) local lSelChk on mouseEnter put the selectedChunk into lSelChk end mouseEnter On 1/18/07, Chipp Walters wrote: > > I'm trying to figure out where the I-beam cursor sits in a field. Not > hard, check the selectedChunk. But what if AFTER I've clicked a list field? > Even with TraversalOn set to false for a list field, it still insists on > resetting the selectedChunk to it's own 'hilitedline' even though the I-beam > cursor is blinking in the other field. > > Any ideas on how to tell where the I-beam cursor is in the first field? I > suppose I can 'send in time' a message to the field, but thought there must > be an easier way... > > -Chipp > From cmsheffield at gmail.com Thu Jan 18 14:22:58 2007 From: cmsheffield at gmail.com (Chris Sheffield) Date: Thu, 18 Jan 2007 12:22:58 -0700 Subject: Common writable folders In-Reply-To: <45AFBE0B.2070303@hyperactivesw.com> References: <45AEFC01.9020307@fourthworld.com> <45AFB8D3.5090402@hyperactivesw.com> <45AFBE0B.2070303@hyperactivesw.com> Message-ID: <38C0F377-158D-4E1A-858A-320A25DC155F@gmail.com> On Jan 18, 2007, at 11:35 AM, J. Landman Gay wrote: > Where are you indicating it should be executed as applescript? > > Could I see a sample of your entire command sequence? The above > isn't accepted by Rev as-is. Oops, sorry about that. I do have it set to run as applescript. I just forgot to add that in my email. So my whole line of code, without putting the command in a variable, would be something like: do "do shell script" && quote & "chmod 755 /myfolder/myfile" & quote && "with administrator privileges" as AppleScript As I said before, I'm doing this on a single file, not on a folder. And my path does not contain any spaces. ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From jacque at hyperactivesw.com Thu Jan 18 14:25:17 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Jan 2007 13:25:17 -0600 Subject: selectedchunk anyone? In-Reply-To: <7aa52a210701181119h674576e4k59312401124dcc69@mail.gmail.com> References: <7aa52a210701172333p2f86683bg107ea3f702bcdc9f@mail.gmail.com> <7aa52a210701181119h674576e4k59312401124dcc69@mail.gmail.com> Message-ID: <45AFC99D.2030403@hyperactivesw.com> I was going to respond but I'm not sure I understand what you are trying to do. But maybe this will help: you can get the selectedchunk of a particular field like so: put the selectedchunk of fld 1 Is that what you mean? Chipp Walters wrote: > OK, no takers then.. > Here's how I've decided to solve it: > > (list field script) > > local lSelChk > > on mouseEnter > put the selectedChunk into lSelChk > end mouseEnter > > > On 1/18/07, Chipp Walters wrote: >> >> I'm trying to figure out where the I-beam cursor sits in a field. Not >> hard, check the selectedChunk. But what if AFTER I've clicked a list >> field? >> Even with TraversalOn set to false for a list field, it still insists on >> resetting the selectedChunk to it's own 'hilitedline' even though the >> I-beam >> cursor is blinking in the other field. >> >> Any ideas on how to tell where the I-beam cursor is in the first field? I >> suppose I can 'send in time' a message to the field, but thought there >> must >> be an easier way... >> >> -Chipp >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Jan 18 14:33:00 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Jan 2007 13:33:00 -0600 Subject: Rev and RAM In-Reply-To: <8CCFBA7B-093F-44F0-BE2C-3BA018E255F7@earthlink.net> References: <8CCFBA7B-093F-44F0-BE2C-3BA018E255F7@earthlink.net> Message-ID: <45AFCB6C.9020307@hyperactivesw.com> Reuben Rivera wrote: > Hello, > I know Rev uses memory in your system when you are running it. When > you load data from a text file into a rev created app and later delete it, > is the memory used during the loading process still unavailable or > can it now be allocated to something else. The only memory that is in use is the amount required to store the file contents. When you empty the variable, that memory is released. The actual I/O process of opening and reading the file is handled by the engine and you don't have to worry about that, it does a very good job of managing RAM allocation. As long as you aren't retaining the file contents in a variable, you should be able to open/read/close an unlimited number of files without any problem. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Thu Jan 18 14:35:20 2007 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 18 Jan 2007 13:35:20 -0600 Subject: how to adress a users folder on Mac OSX In-Reply-To: <6C91BFDA-58FE-494A-99BD-F1298B5F7CB6@byu.edu> References: <20070111155857.BA1B14893CF@mail.runrev.com> <45AF9981.4050606@pdslabs.net> <21D2D390-4F6E-4C26-91B9-E0F339AD6E3F@byu.edu> <48BD2177-C2B5-4C32-9FD2-707D723A1604@sonsothunder.com> <6C91BFDA-58FE-494A-99BD-F1298B5F7CB6@byu.edu> Message-ID: On Jan 18, 2007, at 11:21 AM, Devin Asay wrote: > > On Jan 18, 2007, at 9:29 AM, Ken Ray wrote: > >> >> On Jan 18, 2007, at 10:23 AM, Devin Asay wrote: >> >>> >>> On Jan 18, 2007, at 9:00 AM, Phil Davis wrote: >>> >>>> Hi Richard, >>>> >>>> Here's one way: >>>> >>>> >>>> -- button script >>>> on mouseUp >>>> put ($HOME & "/Library") into tTargetFolder >>>> set the defaultFolder to tTargetFolder >>>> put the files into fld 1 >>>> end mouseUp >>>> >>>> >>>> "$HOME" is an environment variable - always there, no need to >>>> define it. >>> >>> Here's another approach: >>> >>> put put specialFolderPath("cusr") & "/Library" into tTargetFolder >>> set the defaultFolder to tTargetFolder >>> put the files into fld "LibContents" >> >> Also, for a quick lookup of specialFolderPath codes, see my tip on >> the subject: >> >> http://www.sonsothunder.com/devres/revolution/tips/file010.htm > > A perusal of Apple's complete list of folder constants at developer.apple.com/documentation/Carbon/Reference/Folder_Manager/ > Reference/reference.html#//apple_ref/c/tdef/FolderType> (the URL > cited in the specialFolderPath Rev dictionary entry) shows that > Apple may have added a few since you put your reference together, Ken. Sweet! Thanks, Devin... I'll update the tip page... Ken Ray Sons of Thunder Software, Inc. Web Site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From rjearp at hotmail.com Thu Jan 18 14:37:26 2007 From: rjearp at hotmail.com (Bob Earp) Date: Thu, 18 Jan 2007 11:37:26 -0800 Subject: Setting the default source path for Image controls Message-ID: Many thanks David, Jim and especially Tereza for your help. I already use external folders for audio and video files, and set relative paths for them when opening the stack, saving them in globals. They're easy as you're setting the target file when you either "play" them or use a player. The images were more difficult as I didn't want to set the fileName property of every image control in the stack when opening it !! I ended up setting the defaultFolder to the graphics folder path on opening the stack (after doing the audio & video paths), and then I just set the fileName of each image control to the bare filename of the image (no path) when placing the image control on a cd, and all seems to work fine. The only weird thing is that if you are editing, you'll see the whole file path in the Source field of the Image control properties window even though you've only originally set it to just the filename. Maybe a logical way of doing things, but confusing none the less !! Thanks again, Bob... Bob Earp, in snowy White Rock, BC _________________________________________________________________ Be one of the first to try Windows Live Mail. http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d From jacque at hyperactivesw.com Thu Jan 18 14:41:09 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Jan 2007 13:41:09 -0600 Subject: Common writable folders In-Reply-To: <38C0F377-158D-4E1A-858A-320A25DC155F@gmail.com> References: <45AEFC01.9020307@fourthworld.com> <45AFB8D3.5090402@hyperactivesw.com> <45AFBE0B.2070303@hyperactivesw.com> <38C0F377-158D-4E1A-858A-320A25DC155F@gmail.com> Message-ID: <45AFCD55.4060704@hyperactivesw.com> Chris Sheffield wrote: > > On Jan 18, 2007, at 11:35 AM, J. Landman Gay wrote: > >> Where are you indicating it should be executed as applescript? >> >> Could I see a sample of your entire command sequence? The above isn't >> accepted by Rev as-is. > > > Oops, sorry about that. I do have it set to run as applescript. I just > forgot to add that in my email. So my whole line of code, without > putting the command in a variable, would be something like: > > do "do shell script" && quote & "chmod 755 /myfolder/myfile" & quote && > "with administrator privileges" as AppleScript > > > As I said before, I'm doing this on a single file, not on a folder. And > my path does not contain any spaces. Thanks. It's the space in "Application Support" that is causing the trouble. I ran it in the Applescript editor and it really doesn't like my file path. If I use slashes, it complains and won't compile. If I use colons, it puts out two errors: No such file or directory ":Library:Application:" No such file or directory "Support:myFolder:" Blech. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From JimAultWins at yahoo.com Thu Jan 18 14:53:11 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 18 Jan 2007 11:53:11 -0800 Subject: Setting the default source path for Image controls In-Reply-To: Message-ID: > The only weird thing is that if you are editing, you'll see the whole file > path in the Source field of the Image control properties window even though > you've only originally set it to just the filename. Maybe a logical way of > doing things, but confusing none the less !! Basically, Rev assumes the defaultfolder is the location since you supplied less than a full path, Rev does a check to see if there is a workable file and uses it, therefore the full path. What would happen if you changed the defaultfolder in another script but still wanted Rev to know where your original image file was? Tip: you can drag the lower right corner of the inspector palette to the right and make it as wide as the monitor. This lets you see the whole path. Jim Ault Las Vegas On 1/18/07 11:37 AM, "Bob Earp" wrote: > Many thanks David, Jim and especially Tereza for your help. > > I already use external folders for audio and video files, and set relative > paths for them when opening the stack, saving them in globals. They're easy > as you're setting the target file when you either "play" them or use a player. > The images were more difficult as I didn't want to set the fileName property > of every image control in the stack when opening it !! > > I ended up setting the defaultFolder to the graphics folder path on opening > the stack (after doing the audio & video paths), and then I just set the > fileName of each image control to the bare filename of the image (no path) > when placing the image control on a cd, and all seems to work fine. > > The only weird thing is that if you are editing, you'll see the whole file > path in the Source field of the Image control properties window even though > you've only originally set it to just the filename. Maybe a logical way of > doing things, but confusing none the less !! > > Thanks again, Bob... > > Bob Earp, in snowy White Rock, BC From JimAultWins at yahoo.com Thu Jan 18 15:10:50 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 18 Jan 2007 12:10:50 -0800 Subject: Common writable folders In-Reply-To: <45AFCD55.4060704@hyperactivesw.com> Message-ID: On 1/18/07 11:41 AM, "J. Landman Gay" wrote: > Thanks. It's the space in "Application Support" that is causing the > trouble. I ran it in the Applescript editor and it really doesn't like > my file path. If I use slashes, it complains and won't compile. If I use > colons, it puts out two errors: > > No such file or directory ":Library:Application:" > No such file or directory "Support:myFolder:" > > Blech. You might try the form: alias "path:folder:file" -- in quotes for Applescript syntax ------- test 1 ------------------ In the script editor, do a new script one-liner set daFile to choose file "Please make your click count" You will see the result is the form the AScript likes ------- test 2 ------------------ To do this from a Rev script put quote into q answer file "Make it count" if it is empty then exit to top put revMacFromUnixPath(it) into FName get "tell application "&q&"Finder"&q &cr get it &"return the modification date of alias " get it & q&FName&q &cr get it & "end tell" do (it) as AppleScript On 1/18/07 11:41 AM, "J. Landman Gay" wrote: > Chris Sheffield wrote: >> >> On Jan 18, 2007, at 11:35 AM, J. Landman Gay wrote: >> >>> Where are you indicating it should be executed as applescript? >>> >>> Could I see a sample of your entire command sequence? The above isn't >>> accepted by Rev as-is. >> >> >> Oops, sorry about that. I do have it set to run as applescript. I just >> forgot to add that in my email. So my whole line of code, without >> putting the command in a variable, would be something like: >> >> do "do shell script" && quote & "chmod 755 /myfolder/myfile" & quote && >> "with administrator privileges" as AppleScript >> >> >> As I said before, I'm doing this on a single file, not on a folder. And >> my path does not contain any spaces. > > Thanks. It's the space in "Application Support" that is causing the > trouble. I ran it in the Applescript editor and it really doesn't like > my file path. If I use slashes, it complains and won't compile. If I use > colons, it puts out two errors: > > No such file or directory ":Library:Application:" > No such file or directory "Support:myFolder:" > > Blech. From briany at qldlearning.com Thu Jan 18 15:21:36 2007 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 18 Jan 2007 12:21:36 -0800 Subject: Common writable folders In-Reply-To: <3377DAEB-F6EF-435A-955B-45561FB4F57E@gmail.com> References: <45AEFC01.9020307@fourthworld.com> <3377DAEB-F6EF-435A-955B-45561FB4F57E@gmail.com> Message-ID: <6E5A2672-E077-4E20-AC91-B516C0D701F0@qldlearning.com> Chris, Could you create a single shell script that contains multiple commands and execute that? i.e. create a file "commands.sh" that looks something like: #!/bin/sh chmod 755 $1 dosomethinghere chmod 750 $1 And then execute the whole file once with: do "do shell script" && quote & "commands.sh" & quote && "with administrator privileges" Or do you have to run other things in between shell scripts? > I've got another question about using this. Hope you don't mind. > > Is there anyway to suppress the dialog if it has already displayed > once in a session? I realize there's a timeout thing with sudo that > eventually expires (my Unix knowledge is limited), and at that > point a new dialog would have to appear anyway. From hershf at rgllc.us Thu Jan 18 15:22:23 2007 From: hershf at rgllc.us (Hershel Fisch) Date: Thu, 18 Jan 2007 15:22:23 -0500 Subject: Locking flds of group to scroll Message-ID: Hi, Is it possible to lock the scroll of flds of a group to scroll e.g. The scrolls are not checked but if the lines are more then the fld shows then the fld scrolls even without the bar, therefore id like to know if and "how" there is a possibility to lock that and only with the group scroll it should show the rest of the fld lines Thanks,Hershel Fisch From sims at ezpzapps.com Thu Jan 18 15:28:39 2007 From: sims at ezpzapps.com (sims) Date: Thu, 18 Jan 2007 21:28:39 +0100 Subject: Common writable folders In-Reply-To: References: Message-ID: At 12:10 PM -0800 1/18/07, Jim Ault wrote: >On 1/18/07 11:41 AM, "J. Landman Gay" wrote: >> Thanks. It's the space in "Application Support" that is causing the > > trouble. Sorry to be late to this...but experimenting cooking experiments & new wine usually comes first. You'll find more info on this at: http://developer.apple.com/technotes/tn2002/tn2065.html HTH sims ----------- Q: How do I get administrator privileges for a command? A: Use the administrator privileges, user name and password parameters like this: do shell script "command" user name "me" password "mypassword" with administrator privileges user name and password are optional; if you omit the user name, do shell script assumes it to be the current user; if you omit the password, it will ask for a password when it runs. Once a script is correctly authenticated, it will not ask for authentication again for five minutes. As of Mac OS X 10.4, this grace period does not extend to any other scripts or to the rest of the system; manually calling sudo -k is unnecessary. For security reasons, you may not tell another application to do shell script with administrator privileges. Put the command outside of any tell block, or put it inside a tell me block. Bear in mind that administrator privileges allow you to change any file anywhere in the system. You can render your system unbootable or even erase the entire disk with a few well-placed commands, so exercise caution. Better yet, don't use administrator privileges unless you absolutely have to. Unless you are doing system-level development, you should never need to change anything in /System - changing /Library should suffice. Note: Using sudo(8) with with administrator privileges is generally unnecessary and creates security holes; simply remove the "sudo". WARNING: In Mac OS X 10.4.0 and 10.4.1, with administrator privileges executes the command with only the effective user id set to root. This causes trouble for some commands that rely on the real user id - for example, Perl will turn on its "taint mode" security checks, and sudo(8) will hang. To work around the problem (assuming you cannot simply remove a use of sudo; see above), preface your command with a small Perl script to set the real user id, like this: do shell script "/usr/bin/perl -Ue '$< = $>; system(@ARGV)' my_command" with administrator privileges Mac OS X 10.4.2 sets both the real and effective user ids; the workaround described here will be unnecessary, but harmless. WARNING: Prior to Mac OS X 10.4, with administrator privileges did not work correctly with multiple commands. You had to turn your multiple commands into a single invocation of sh, like this: set normal_command to "command1; command2" do shell script "sh -c " & quoted form of normal_command with administrator privileges As of Mac OS X 10.4, you can use with administrator privileges with multiple commands as described in "how can I use more than one command" above; no workaround is necessary. From JimAultWins at yahoo.com Thu Jan 18 14:24:28 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 18 Jan 2007 11:24:28 -0800 Subject: Probably a silly question about 'find' In-Reply-To: <200701180932.56256.palcibiades-first@yahoo.co.uk> Message-ID: There are several strategies you could use. --if you only want to grab the data put 4 into tagg get fld numberedList filter it with tagg&tab&"*" --now the only lines that remain in it are those that start with tagg&tab --filter only looks at lines --- If you need to know which line number this match resides on then use the naturally occuring cr instead of a "#" sign put 4 into tagg put lineOffset(cr&tagg&tab, cr&fld numberedList) + 1 into hitLine --this only reports the first match --the line number will match the fld listing This should get you where you want to go without RegEx or matchChunk or set the wholematches to true (the decimal is the problem here) Let me know if you need a more rigorous solution. Jim Ault Las Vegas On 1/18/07 1:32 AM, "Peter Alcibiades" wrote: > Feels like a very silly question, but it is stumping me. > > How do I use 'find' to find '4' when it occurs by itself but not 4 when it > occurs in '4.1', when searching the contents of a field? > > I have a field with tab separated values in the form > > 1 1234 > 2 2.56 > 3 4.1 > 4 9.274 > > and I want to find only that line in which there is a match of the inputted > string with the first item. The first item will always be a unique value. > So I want in some way to do a find on 4 that will pick up only line 4, and > not the occurrence of 4 in line 3. > > Find word doesn't seem to work, because presumably Rev sees the '.' as a word > limiter. Whereas in fact, its a decimal.... Find string in item 1 doesn't > work either. In fact, none of the parameters on find seem to work. > > The only thing that has occurred to me is a real kludge - just stick some > character like # in front of or after the numbers in the first position, and > then search for #4, and hope that it never occurs to anyone to put this > character into the second field! But there must surely be a very simple and > much better way? > > Peter > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Thu Jan 18 15:42:37 2007 From: chipp at chipp.com (Chipp Walters) Date: Thu, 18 Jan 2007 14:42:37 -0600 Subject: selectedchunk anyone? In-Reply-To: <45AFC99D.2030403@hyperactivesw.com> References: <7aa52a210701172333p2f86683bg107ea3f702bcdc9f@mail.gmail.com> <7aa52a210701181119h674576e4k59312401124dcc69@mail.gmail.com> <45AFC99D.2030403@hyperactivesw.com> Message-ID: <7aa52a210701181242s3e75d5bbne510ddadb82a603e@mail.gmail.com> Yeah, I guess I'm not being too clear here. Thanks for the tip-- I didn't know selectedChunk was field dependant. Just what I was looking for. From jacque at hyperactivesw.com Thu Jan 18 16:05:57 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Jan 2007 15:05:57 -0600 Subject: Common writable folders In-Reply-To: References: Message-ID: <45AFE135.1010507@hyperactivesw.com> Jim Ault wrote: > On 1/18/07 11:41 AM, "J. Landman Gay" wrote: >> Thanks. It's the space in "Application Support" that is causing the >> trouble. I ran it in the Applescript editor and it really doesn't like >> my file path. If I use slashes, it complains and won't compile. If I use >> colons, it puts out two errors: >> >> No such file or directory ":Library:Application:" >> No such file or directory "Support:myFolder:" >> >> Blech. > > You might try the form: > > alias "path:folder:file" -- in quotes for Applescript syntax > ------- test 1 ------------------ Thanks. Tried it, but no go. Applescript won't compile if there is a space in the folder name, even though the above returns the correct path (with the space.) Can anyone try this? I need to point to a folder in "Application Support" and chmod the folder to 777. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Jan 18 16:26:58 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Jan 2007 15:26:58 -0600 Subject: Common writable folders In-Reply-To: References: Message-ID: <45AFE622.5090804@hyperactivesw.com> sims wrote: > You'll find more info on this at: > http://developer.apple.com/technotes/tn2002/tn2065.html Aha! Okay, I got it work. The above web page helped. Apparently applescript doesn't want you to escape spaces in shell commands even while it is using POSIX paths. And I was using the wrong quote marks. This now works, and it is a one-liner: do shell script "chmod 777 '/Library/Application Support/myFolder/'" with administrator privileges I wish AppleScript worked like Revolution. Life would be so much easier. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dbrooks at unlserve.unl.edu Thu Jan 18 16:28:52 2007 From: dbrooks at unlserve.unl.edu (David Brooks) Date: Thu, 18 Jan 2007 15:28:52 -0600 Subject: Wake Up, Work, and then Snooze In-Reply-To: References: <648BD2E0-9741-4155-B53A-8AA1ED11B8A5@unlserve.unl.edu> Message-ID: <47A84D0A-3D53-4C5D-B344-38A19DDED09E@unlserve.unl.edu> This approach seems to work very well. Thanks, Klaus. Best, Dave B. On Jan 18, 2007, at 12:38 PM, Klaus Major wrote: > Hi David, > >> I'd like to have a stack wake up (say every hour), do some work, >> and then go back to sleep. Has anyone got something like that >> working? > > This sounds like a case for "send xyz to ... in..." > > ... > send "do_important_hourly_stuff" to stack xyz in 60*60 secs > ... > > > Then in the handler: > > on do_important_hourly_stuff > ## do your important hourly stuff here > ## .. > send "do_important_hourly_stuff" to stack xyz in 60*60 secs > end do_important_hourly_stuff > >> I'm nervous about setting the idlerate to a rather large number, >> and I'm seeking suggestions about prior experiences before I try a >> few experiments. > > Using "idle" and "idlerate" for this task is a very, very, very, > very, very bad idea ;-) > >> Thanks. >> >> Dave Brooks > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Thu Jan 18 16:28:49 2007 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 18 Jan 2007 15:28:49 -0600 Subject: Common writable folders In-Reply-To: <45AFB8D3.5090402@hyperactivesw.com> References: <45AEFC01.9020307@fourthworld.com> <45AFB8D3.5090402@hyperactivesw.com> Message-ID: On Jan 18, 2007, at 12:13 PM, J. Landman Gay wrote: > sims wrote: >> At 8:48 PM -0800 1/17/07, Richard Gaskin wrote: >>> You mean Apple provides no way for any scripting language to >>> request authorization on its own? Not even AppleScript? >> For the dialog use AppleScript: >> do shell script "command" with administrator privileges >> To pass other items use: >> do shell script "command" user name "me" password "mypassword" >> with administrator privileges > > I'm having trouble with this. I do get the official Apple password > dialog, but can't execute a command. > > I want to change permissions on a folder. This script fails with > "execution error": > > put "chmod 777 /Library/Application Support/myfolder/" into tShellCmd > put "do shell script" &"e& tShellCmd "e&& "with > administrator privileges" into tCmd > do tCmd as applescript > put the result > > So I figured I needed to escape the space. When I do that, this > script fails with "compiler error": > > put "chmod 777 /Library/Application\ Support/myfolder/" into tShellCmd > put "do shell script" &"e& tShellCmd "e&& "with > administrator privileges" into tCmd > do tCmd as applescript > put the result Jacque, you needt to escape the backslash because AppleScript uses that for its own purposes. Try this: put "chmod 777 /Library/Application\\ Support/myfolder/" into tShellCmd put "do shell script" &"e& tShellCmd "e&& "with administrator privileges" into tCmd do tCmd as applescript put the result Ken Ray Sons of Thunder Software, Inc. Web Site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From jacque at hyperactivesw.com Thu Jan 18 16:46:38 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Jan 2007 15:46:38 -0600 Subject: Common writable folders In-Reply-To: References: <45AEFC01.9020307@fourthworld.com> <45AFB8D3.5090402@hyperactivesw.com> Message-ID: <45AFEABE.8050703@hyperactivesw.com> Ken Ray wrote: > you needt to escape the backslash because AppleScript uses that > for its own purposes. Try this: > > put "chmod 777 /Library/Application\\ Support/myfolder/" into tShellCmd > put "do shell script" &"e& tShellCmd "e&& "with administrator > privileges" into tCmd > do tCmd as applescript > put the result That seems to work too, good to know. But see my other note, I got it to work without any backslash at all. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From JimAultWins at yahoo.com Thu Jan 18 16:47:39 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 18 Jan 2007 13:47:39 -0800 Subject: Common writable folders In-Reply-To: <45AFE622.5090804@hyperactivesw.com> Message-ID: Wiki entry: How to escape a space character --step hard on left toe --swing elbow back to the side of captor's head --run behind nearest boulder I remember seeing this as a young lad, where Captain Evil freed himself from Buck Rogers, the most famous space character of all. This only required one backslash, and probably is the reason we use it to this day. Jim Ault Las Vegas On 1/18/07 1:26 PM, "J. Landman Gay" wrote: > sims wrote: > >> You'll find more info on this at: >> http://developer.apple.com/technotes/tn2002/tn2065.html > > Aha! Okay, I got it work. The above web page helped. Apparently > applescript doesn't want you to escape spaces in shell commands even > while it is using POSIX paths. And I was using the wrong quote marks. > > This now works, and it is a one-liner: > > do shell script "chmod 777 '/Library/Application Support/myFolder/'" > with administrator privileges > > I wish AppleScript worked like Revolution. Life would be so much easier. From JimAultWins at yahoo.com Thu Jan 18 16:56:14 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 18 Jan 2007 13:56:14 -0800 Subject: Common writable folders In-Reply-To: <45AFEABE.8050703@hyperactivesw.com> Message-ID: On 1/18/07 1:46 PM, "J. Landman Gay" wrote: > Ken Ray wrote: > >> you needt to escape the backslash because AppleScript uses that >> for its own purposes. Try this: >> >> put "chmod 777 /Library/Application\\ Support/myfolder/" into tShellCmd >> put "do shell script" &"e& tShellCmd "e&& "with administrator >> privileges" into tCmd >> do tCmd as applescript >> put the result > > That seems to work too, good to know. But see my other note, I got it to > work without any backslash at all. The reason for this is that there are two layers of escaping needed. 1) Applescript uses the \ character to escape things in any string; and 2) the shell itself uses \ to escape things. From jacque at hyperactivesw.com Thu Jan 18 17:03:08 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Jan 2007 16:03:08 -0600 Subject: Common writable folders In-Reply-To: <3377DAEB-F6EF-435A-955B-45561FB4F57E@gmail.com> References: <45AEFC01.9020307@fourthworld.com> <3377DAEB-F6EF-435A-955B-45561FB4F57E@gmail.com> Message-ID: <45AFEE9C.2030303@hyperactivesw.com> Chris Sheffield wrote: > I've got another question about using this. Hope you don't mind. > > Is there anyway to suppress the dialog if it has already displayed once > in a session? I realize there's a timeout thing with sudo that > eventually expires (my Unix knowledge is limited), and at that point a > new dialog would have to appear anyway. While I was reading Apple's web page, I think I stumbled on the answer to this. Bascially, every line of a shell command starts a new shell (which won't contain any state variables, and will therefore force the dialog to appear again.) To force it to execute in the same shell and retain the admin privileges, you separate commands with semicolons, like this: do shell script "command1;command2". If your Rev script has to use Rev commands in between shell commands, I don't see any way to avoid two admin dialogs because you will have to call "shell" twice. But then, I wasn't doing so well with my other question either so maybe someone else knows. If you could get the user and password back from the admin dialog, you could issue the second shell command by supplying the user and password to the applescript line. But I don't know how to do that. When I ask for the result, I only get back empty if it was successful. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revdev at pdslabs.net Thu Jan 18 17:23:31 2007 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 18 Jan 2007 14:23:31 -0800 Subject: Common writable folders In-Reply-To: References: Message-ID: <45AFF363.6090905@pdslabs.net> This is hilarious! I needed it about now. Thanks Jim. Phil Davis Jim Ault wrote: > Wiki entry: How to escape a space character > --step hard on left toe > --swing elbow back to the side of captor's head > --run behind nearest boulder > > I remember seeing this as a young lad, where Captain Evil freed himself from > Buck Rogers, the most famous space character of all. This only required one > backslash, and probably is the reason we use it to this day. > > Jim Ault > Las Vegas From LunchnMeets at aol.com Thu Jan 18 17:59:35 2007 From: LunchnMeets at aol.com (LunchnMeets at aol.com) Date: Thu, 18 Jan 2007 17:59:35 EST Subject: Scroll multiple fields together Message-ID: Hi Everyone, Is there an easy way to keep multiple scrolling fields in alignment when they are scrolled? Joe Orlando From rkrivera at earthlink.net Thu Jan 18 18:09:38 2007 From: rkrivera at earthlink.net (Reuben Rivera) Date: Thu, 18 Jan 2007 15:09:38 -0800 (GMT-08:00) Subject: Rev and RAM Message-ID: <18092106.1169161779339.JavaMail.root@elwamui-mouette.atl.sa.earthlink.net> Thanks for your reply. -----Original Message----- >From: "J. Landman Gay" >Sent: Jan 18, 2007 11:33 AM >To: How to use Revolution >Subject: Re: Rev and RAM > >Reuben Rivera wrote: >> Hello, >> I know Rev uses memory in your system when you are running it. When >> you load data from a text file into a rev created app and later delete it, >> is the memory used during the loading process still unavailable or >> can it now be allocated to something else. > >The only memory that is in use is the amount required to store the file >contents. When you empty the variable, that memory is released. The >actual I/O process of opening and reading the file is handled by the >engine and you don't have to worry about that, it does a very good job >of managing RAM allocation. > >As long as you aren't retaining the file contents in a variable, you >should be able to open/read/close an unlimited number of files without >any problem. > >-- >Jacqueline Landman Gay | jacque at hyperactivesw.com >HyperActive Software | http://www.hyperactivesw.com >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From sarah.reichelt at gmail.com Thu Jan 18 18:11:09 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 19 Jan 2007 09:11:09 +1000 Subject: Decode xml-data of mac-adressbook In-Reply-To: <20070111221145.13236.qmail@web60520.mail.yahoo.com> References: <61DE8526-35A6-48DA-9E26-8C774330D569@richard-hillen.de> <20070111221145.13236.qmail@web60520.mail.yahoo.com> Message-ID: > > on Mac OSX I try to get the contents of the > > adressbook; > > for each adress there is a xml-file in > > /Users/..../Library/Caches/ > > com.apple.AdressBook/Metadata. > > > > The xml-file starts with > > > > > > My adresses are german ones, so there are "umlauts" > > like ???... > > If in the adressbook the city is "H?rth" and I read > > the file contents by > > put url("file:/" & xmlfilename) into tdata, > > I get "H??rth" instead. > > > > As I don?t know enough about encoding, may you give > > me a tip, what to > > do to get the right chars? > > > > Thank you. > > > > Richard. > > > > Hi Richard, > > You'll have to use the 'uniEncode' and 'uniDecode' > functions to convert it from UTF-8 to UTF-16 and then > back to 1-byte characters. Here's a link to a post by > Mark Waddingham: > > This certainly helped for reading XML data correctly but I can't figure out how to write it back out to an XML file once it contains accented characters. I've tried numerous combinations of uniEncde, uniDecode, macToIso etc and I either lose the accented characters completely or they become something else or the file is empty or it doesn't read properly. Does anyone know how to write accented chars into an XML text file? I use the revXMLText() function to get the XML tree as text then save it to a file. TIA, Sarah From sarah.reichelt at gmail.com Thu Jan 18 18:18:20 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 19 Jan 2007 09:18:20 +1000 Subject: Scroll multiple fields together In-Reply-To: References: Message-ID: On 1/19/07, LunchnMeets at aol.com wrote: > Hi Everyone, > > Is there an easy way to keep multiple scrolling fields in alignment when they > are scrolled? > In each field, put a scrollBarDrag handler as follows: on scrollBarDrag pNewValue set the vScroll of fld "OtherField" to pNewValue set the vScroll of fld "SomeField" to pNewValue end scrollbarDrag pNewValue contains the setting for the scroll of the current field, so just apply that to all the others. Cheers, Sarah From R.Venzl-Schubert at T-Online.de Thu Jan 18 19:32:03 2007 From: R.Venzl-Schubert at T-Online.de (Reinhold Venzl-Schubert) Date: Fri, 19 Jan 2007 01:32:03 +0100 Subject: small lesson in using database wanted Message-ID: <5B2D6E82-FC24-4B56-893F-8671B0278725@T-Online.de> Hi, I need a small lesson in using database: 1. I created a db (using SQLite3) with several fields. One of them is a boolean field. It is corresponding to a checkbox button in the card of my stack. Only one record of the database is displayed on the card. 2. I built a query that selects some of the records of my db and sorts them by some fields. 3. With a forward and backward button >revdb_movenext(recordSetID)< and >revdb_moveprev(recordSetID)< I navigate through the records of the recordSet. 4. With a script >set the hilite of btn "checkbox" to revdb_columnbynumber(recordSetID,5)< I display the database fields of the actual record in the fields of my card. 5. Then I wrote a script for the checkbox button >revdb_execute (recordSetID,tSQL)< with tSQL like: >UPDATE my_db SET checkbox = "true" .... < and so on. I tested it with the SQLite Database Browser: the changes have been saved. 6. When I use my forward and backward button, to switch to the next record and then back to the changed record I do not see the change in my field or in my special case, the checkbox is not hilited. 7. When I close the current cursor (recordSet) and make a new query the checkbox is hilited. I learned that the UPDATE-script changes the database but it do not change the cursor (recordSet). But the forward/backward button do not display the content of the database but the content of the current cursor (recordSet). - How can I get the content of the database? - Do I have to make a new query after every change of fields? - Or is it better to use the revdb_query funktion only to get a sorted list of primary keys of the wanted records and to use the revdb_querylist funktion to display the content of the db fields on the card? I am rather confused. Reinhold From hershf at rgllc.us Thu Jan 18 20:27:31 2007 From: hershf at rgllc.us (Hershel Fisch) Date: Thu, 18 Jan 2007 20:27:31 -0500 Subject: Is it possible with rev Message-ID: Hi all I'v an beautiful phone dialer and wroks, written in real basic, is it possible to do it with RR? http://www.macronsoft.com/pages/en/products.html Thanks,Hershel From brentj84062 at gmail.com Thu Jan 18 19:39:29 2007 From: brentj84062 at gmail.com (Brent Anderson) Date: Thu, 18 Jan 2007 17:39:29 -0700 Subject: small lesson in using database wanted In-Reply-To: <5B2D6E82-FC24-4B56-893F-8671B0278725@T-Online.de> References: <5B2D6E82-FC24-4B56-893F-8671B0278725@T-Online.de> Message-ID: <556B2E9B-0F1E-447A-93A5-96FA51256BF9@gmail.com> Hello. Although there are many database functions provided with Revolution, I prefer opening a connection and making SQL calls using revDataFromQuery. A full tutorial on SQL can be found at www.w3schools.com/sql/ that goes over everything you need to know to work with any SQL database. Thanks, Brent Anderson CMSEC On Jan 18, 2007, at 5:32 PM, Reinhold Venzl-Schubert wrote: > Hi, > > I need a small lesson in using database: > > 1. I created a db (using SQLite3) with several fields. One of them > is a boolean field. It is corresponding to a checkbox button in the > card of my stack. Only one record of the database is displayed on > the card. > > 2. I built a query that selects some of the records of my db and > sorts them by some fields. > > 3. With a forward and backward button >revdb_movenext(recordSetID)< > and >revdb_moveprev(recordSetID)< I navigate through the records of > the recordSet. > > 4. With a script >set the hilite of btn "checkbox" to > revdb_columnbynumber(recordSetID,5)< I display the database fields > of the actual record in the fields of my card. > > 5. Then I wrote a script for the checkbox button >revdb_execute > (recordSetID,tSQL)< with tSQL like: >UPDATE my_db SET checkbox = > "true" .... < and so on. I tested it with the SQLite Database > Browser: the changes have been saved. > > 6. When I use my forward and backward button, to switch to the next > record and then back to the changed record I do not see the change > in my field or in my special case, the checkbox is not hilited. > > 7. When I close the current cursor (recordSet) and make a new query > the checkbox is hilited. > > I learned that the UPDATE-script changes the database but it do not > change the cursor (recordSet). > But the forward/backward button do not display the content of the > database but the content of the current cursor (recordSet). > > - How can I get the content of the database? > - Do I have to make a new query after every change of fields? > - Or is it better to use the revdb_query funktion only to get a > sorted list of primary keys of the wanted records and to use the > revdb_querylist funktion to display the content of the db fields on > the card? > > I am rather confused. > > Reinhold > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From hershf at rgllc.us Thu Jan 18 20:37:17 2007 From: hershf at rgllc.us (Hershel Fisch) Date: Thu, 18 Jan 2007 20:37:17 -0500 Subject: Locking flds of group to scroll In-Reply-To: Message-ID: On 1/18/07 3:22 PM, "Hershel Fisch" wrote: > Hi, Is it possible to lock the scroll of flds of a group to scroll e.g. The > scrolls are not checked but if the lines are more then the fld shows then > the fld scrolls even without the bar, therefore id like to know if and "how" > there is a possibility to lock that and only with the group scroll it should > show the rest of the fld lines Ok, figured that out by now. The question if and how it is possible to scroll the group with the scroll wheel? > Thanks,Hershel Fisch > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Thu Jan 18 21:29:15 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 18 Jan 2007 18:29:15 -0800 Subject: Is it possible with rev Message-ID: <45B02CFB.6090901@fourthworld.com> Hershel Fisch wrote: > Hi all I'v an beautiful phone dialer and wroks, written in real basic, is it > possible to do it with RR? > http://www.macronsoft.com/pages/en/products.html Looks like a nifty tool. I'm probably just missing something obvious here, but if it's already written and shipping with RB what's the benefit of rebuilding with Rev? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From sarah.reichelt at gmail.com Thu Jan 18 21:31:44 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 19 Jan 2007 12:31:44 +1000 Subject: Is it possible with rev In-Reply-To: References: Message-ID: On 1/19/07, Hershel Fisch wrote: > Hi all I'v an beautiful phone dialer and wroks, written in real basic, is it > possible to do it with RR? > http://www.macronsoft.com/pages/en/products.html > Thanks,Hershel It looks like it is AppleScriptable, so it should be possible, so long as they have put all the necessary commands in their AppleScript library. Cheers, Sarah From sarah.reichelt at gmail.com Thu Jan 18 21:33:22 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 19 Jan 2007 12:33:22 +1000 Subject: Locking flds of group to scroll In-Reply-To: References: Message-ID: > > Hi, Is it possible to lock the scroll of flds of a group to scroll e.g. The > > scrolls are not checked but if the lines are more then the fld shows then > > the fld scrolls even without the bar, therefore id like to know if and "how" > > there is a possibility to lock that and only with the group scroll it should > > show the rest of the fld lines > Ok, figured that out by now. > The question if and how it is possible to scroll the group with the scroll > wheel? Yes it is. You need to find out what key codes your scroll wheel sends to the rawKeyUp or rawKeyDown handlers, then use them to set the scroll of your group. I can't remember what the codes are, but if you write a fake rawKeyDown handler, you can get it to "put" the codes it is receiving and find out what they are. Cheers, Sarah From brentj84062 at gmail.com Thu Jan 18 22:19:36 2007 From: brentj84062 at gmail.com (Brent Anderson) Date: Thu, 18 Jan 2007 20:19:36 -0700 Subject: Is it possible with rev In-Reply-To: References: Message-ID: <54D1A2AE-58F2-48A5-BBFC-8AEEE5EEB1A0@gmail.com> Sarah, you're right that it would be accessible through AppleScript, but I believe the question was if it was possible or not. Touch-Tone dialing via speaker is definitely possible and you could probably do it in a few minutes. Modem dialing, however, is a different story. Revolution does have full driver support, so I'd assume that you could, but I don't know where you'd begin in sending touch-tone messages across the modem. Thanks, Brent Anderson On Jan 18, 2007, at 7:31 PM, Sarah Reichelt wrote: > On 1/19/07, Hershel Fisch wrote: >> Hi all I'v an beautiful phone dialer and wroks, written in real >> basic, is it >> possible to do it with RR? >> http://www.macronsoft.com/pages/en/products.html >> Thanks,Hershel > > It looks like it is AppleScriptable, so it should be possible, so long > as they have put all the necessary commands in their AppleScript > library. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From JimAultWins at yahoo.com Thu Jan 18 23:55:25 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 18 Jan 2007 20:55:25 -0800 Subject: Is it possible with rev In-Reply-To: <54D1A2AE-58F2-48A5-BBFC-8AEEE5EEB1A0@gmail.com> Message-ID: On 1/18/07 7:19 PM, "Brent Anderson" wrote: > Sarah, you're right that it would be accessible through AppleScript, > but I believe the question was if it was possible or not. > > Touch-Tone dialing via speaker is definitely possible and you could > probably do it in a few minutes. Modem dialing, however, is a > different story. Revolution does have full driver support, so I'd > assume that you could, but I don't know where you'd begin in sending > touch-tone messages across the modem. I don't know much about the auto dialer requirements but I would think you could start with modem: Mac open file "modem:" write "ATZ" to file "modem:" write "ATDT8008895555" to file "modem:" --- in the docs where you write, read, etc Win uses com1: To set the port parameters (such as baud rate, handshaking, and parity), set the serialControlString property before opening the port with the open file command. To read data from the modem port, use the read from file command, specifying the keyword modem: as the file to read from. Looks like it might do the job. Jim Ault Las Vegas From ambassador at fourthworld.com Fri Jan 19 00:31:30 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 18 Jan 2007 21:31:30 -0800 Subject: SoCal RUG mtg Monday, 12 Feb Message-ID: <45B057B2.9090700@fourthworld.com> The SoCal Revolution User Group will be having a meeting on Monday, 12 February, at 7PM at the Fourth World Embassy in downtown Los Angeles. We have an exciting lineup based around a theme: Collaboration 7PM: Richard Herz of UC San Diego will introduce a work-in-progress - a dynamic process simulator (e.g., water flowing in pipes between tanks) in which process units (e.g., tanks) can be distributed over the Internet to allow team collaboration. 8PM: Dinner at Barbara's, the restaurant here in the complex. 9PM: Josh Mellicker of DV Creators will present a mysterious technology called Green Bongo. He's come a long way since our last meeting -- I got a preview tour of Green Bongo last week and it's quite a treat. The meeting will officially adjourn at around 10PM, but any hardy souls who like can stay late for a game of Extreme Shuffleboard (be forewarned: Ken Ray will be in town and I have reason to believe he cheats ). All are welcome to attend. Please RSVP by sending me an email so I can make sure to have enough dessert on hand. If you need directions to the Embassy just drop me a note and I'll send the details. Looking forward to seeing all you RUG rats there - -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From Andre.Bisseret at inria.fr Fri Jan 19 03:14:16 2007 From: Andre.Bisseret at inria.fr (=?ISO-8859-1?Q? Andr=E9.Bisseret ?=) Date: Fri, 19 Jan 2007 09:14:16 +0100 Subject: Scroll multiple fields together In-Reply-To: References: Message-ID: <7ACA9CD4-4EDE-42CB-BF8C-29E82A379819@inria.fr> Le 19 janv. 07 ? 00:18, Sarah Reichelt a ?crit : > On 1/19/07, LunchnMeets at aol.com wrote: >> Hi Everyone, >> >> Is there an easy way to keep multiple scrolling fields in >> alignment when they >> are scrolled? >> > > In each field, put a scrollBarDrag handler as follows: > > on scrollBarDrag pNewValue > set the vScroll of fld "OtherField" to pNewValue > set the vScroll of fld "SomeField" to pNewValue > end scrollbarDrag > > pNewValue contains the setting for the scroll of the current field, so > just apply that to all the others. > > Cheers, > Sarah > _______________________________________________ Hi, If you want only one of the fld be controlling the others, you could use (in the controlling field script) : set the vScroll of fld "otherField" to the vScroll of me Best regards from Grenoble Andr? From scott at tactilemedia.com Fri Jan 19 03:57:08 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 19 Jan 2007 00:57:08 -0800 Subject: Scroll multiple fields together In-Reply-To: Message-ID: Recently, LunchnMeets at aol.com wrote: > Is there an easy way to keep multiple scrolling fields in alignment when they > are scrolled? You *might* get better performance (ie keeping the fields in sync) by placing non-scrolling fields in a group and scrolling the group, rather than using multiple scrolling fields. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From runrev at animabit.de Fri Jan 19 04:05:20 2007 From: runrev at animabit.de (runrev at animabit.de) Date: Fri, 19 Jan 2007 09:05:20 +0000 Subject: write to and read from a hardware address directly, possible? Message-ID: Hello, Is it possible to write to a hardware address directly from runrev? Did not find any command for this task in the docu. 0xA000 FF 8 bit 11111111 to the address A000. Can I set or get the value with native commands in runrev? Mit freundlichen Gr??en Franz B?hmisch boehmisch at animabit.de http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 From luis at anachreon.co.uk Fri Jan 19 04:40:31 2007 From: luis at anachreon.co.uk (Luis) Date: Fri, 19 Jan 2007 09:40:31 +0000 Subject: small lesson in using database wanted In-Reply-To: <556B2E9B-0F1E-447A-93A5-96FA51256BF9@gmail.com> References: <5B2D6E82-FC24-4B56-893F-8671B0278725@T-Online.de> <556B2E9B-0F1E-447A-93A5-96FA51256BF9@gmail.com> Message-ID: <45B0920F.2050107@anachreon.co.uk> Hiya, If you want to learn whilst having fun, try GalaxQL: http://sol.gfxile.net/galaxql.html Cheers, Luis. Brent Anderson wrote: > Hello. > > Although there are many database functions provided with Revolution, I > prefer opening a connection and making SQL calls using revDataFromQuery. > A full tutorial on SQL can be found at www.w3schools.com/sql/ that goes > over everything you need to know to work with any SQL database. > > Thanks, > Brent Anderson > CMSEC > > > On Jan 18, 2007, at 5:32 PM, Reinhold Venzl-Schubert wrote: > >> Hi, >> >> I need a small lesson in using database: >> >> 1. I created a db (using SQLite3) with several fields. One of them is >> a boolean field. It is corresponding to a checkbox button in the card >> of my stack. Only one record of the database is displayed on the card. >> >> 2. I built a query that selects some of the records of my db and sorts >> them by some fields. >> >> 3. With a forward and backward button >revdb_movenext(recordSetID)< >> and >revdb_moveprev(recordSetID)< I navigate through the records of >> the recordSet. >> >> 4. With a script >set the hilite of btn "checkbox" to >> revdb_columnbynumber(recordSetID,5)< I display the database fields of >> the actual record in the fields of my card. >> >> 5. Then I wrote a script for the checkbox button >> >revdb_execute(recordSetID,tSQL)< with tSQL like: >UPDATE my_db SET >> checkbox = "true" .... < and so on. I tested it with the SQLite >> Database Browser: the changes have been saved. >> >> 6. When I use my forward and backward button, to switch to the next >> record and then back to the changed record I do not see the change in >> my field or in my special case, the checkbox is not hilited. >> >> 7. When I close the current cursor (recordSet) and make a new query >> the checkbox is hilited. >> >> I learned that the UPDATE-script changes the database but it do not >> change the cursor (recordSet). >> But the forward/backward button do not display the content of the >> database but the content of the current cursor (recordSet). >> >> - How can I get the content of the database? >> - Do I have to make a new query after every change of fields? >> - Or is it better to use the revdb_query funktion only to get a sorted >> list of primary keys of the wanted records and to use the >> revdb_querylist funktion to display the content of the db fields on >> the card? >> >> I am rather confused. >> >> Reinhold >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From klaus at major-k.de Fri Jan 19 05:47:30 2007 From: klaus at major-k.de (Klaus Major) Date: Fri, 19 Jan 2007 11:47:30 +0100 (MET) Subject: Locking flds of group to scroll In-Reply-To: References: Message-ID: <4AF74A7A-D195-4772-9911-928470D725A0@major-k.de> Hi Sarah and Herschel, >> > Hi, Is it possible to lock the scroll of flds of a group to >> scroll e.g. The >> > scrolls are not checked but if the lines are more then the fld >> shows then >> > the fld scrolls even without the bar, therefore id like to know >> if and "how" >> > there is a possibility to lock that and only with the group >> scroll it should >> > show the rest of the fld lines >> Ok, figured that out by now. >> The question if and how it is possible to scroll the group with >> the scroll >> wheel? > > Yes it is. You need to find out what key codes your scroll wheel sends > to the rawKeyUp or rawKeyDown handlers, then use them to set the > scroll of your group. > > I can't remember what the codes are, but if you write a fake > rawKeyDown handler, you can get it to "put" the codes it is receiving > and find out what they are. These are the rawkey codes for the mousescrollwheel: 65309 (up) 65308 (down) > Cheers, > Sarah Regards Klaus Major klaus at major-k.de http://www.major-k.de From alptex2 at orwell.net Fri Jan 19 07:02:45 2007 From: alptex2 at orwell.net (Tim Ponn) Date: Fri, 19 Jan 2007 07:02:45 -0500 Subject: Physical Screen Size Message-ID: <5CC9AE0F-EAFA-4AD0-8BF3-1540755947FC@orwell.net> Hello! I'm working on a project and I would like to get the "physical" screen size of the system. Is there a way to do this? I see how to get many of the screen attributes...but as to physical siza...nadda. A cheesy way to do this, I suppose, would be to display an object when the app is started up and ask the user to measure it and enter the measurement. Based on that I could calculate the size of the screen. Has anyone discovered how to do this? Best Regards, Timothy R. Ponn ALPTEX, Inc. From m.schonewille at economy-x-talk.com Fri Jan 19 07:26:59 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 19 Jan 2007 13:26:59 +0100 Subject: Physical Screen Size In-Reply-To: <5CC9AE0F-EAFA-4AD0-8BF3-1540755947FC@orwell.net> References: <5CC9AE0F-EAFA-4AD0-8BF3-1540755947FC@orwell.net> Message-ID: Hi Tim, Normally, people set the screen resolution to a higher number because they want more to fit on their screen. They would be surprised to see that your application doesn't show more on screen despite a higher resolution, if you manage to do this. I don't think that the actual screen size is of any importance. Sometimes, it could be useful to adjust an application to the screen resolution, e.g. if you are making a full-screen interface. The physical screen size has nothing to do with this. So, why would you want to do this? Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 19-jan-2007, om 13:02 heeft Tim Ponn het volgende geschreven: > Hello! > > I'm working on a project and I would like to get the "physical" > screen size of the system. Is there a way to do this? I see how > to get many of the screen attributes...but as to physical > siza...nadda. > > A cheesy way to do this, I suppose, would be to display an object > when the app is started up and ask the user to measure it and enter > the measurement. Based on that I could calculate the size of the > screen. > > Has anyone discovered how to do this? > > > Best Regards, > > Timothy R. Ponn > ALPTEX, Inc. > From chipp at chipp.com Fri Jan 19 07:55:27 2007 From: chipp at chipp.com (Chipp Walters) Date: Fri, 19 Jan 2007 06:55:27 -0600 Subject: calling a remote function.. Message-ID: <7aa52a210701190455m3b2e3fe9x6de8d852e4efd481@mail.gmail.com> Trying to call function 'foo(param1,param2)' in button "bar" from somewhere outside the message path. So, I do this: put "1,000" into param1 put "Soldiers" into param2 get value("foo(param1,param2)",btn "bar") Sadly, the literals "param1" and "param2" are passed to foo instead of the variables. I've tried escaping, quoting, and waving a half dead chicken over foo. No good. Any ideas? TRY YOURSELF Create a new stack: create button "bar" with script: function foo param1,param2 answer param1 &cr& param2 end foo Create another button "PressMe" on mouseUp put "1,000" into param1 put "soldiers" into param2 answer value("foo(param1,param2)",btn "bar") end mouseUp From mark at maseurope.net Fri Jan 19 09:15:47 2007 From: mark at maseurope.net (Mark Smith) Date: Fri, 19 Jan 2007 14:15:47 +0000 Subject: calling a remote function.. In-Reply-To: <7aa52a210701190455m3b2e3fe9x6de8d852e4efd481@mail.gmail.com> References: <7aa52a210701190455m3b2e3fe9x6de8d852e4efd481@mail.gmail.com> Message-ID: Chipp, this seems to work for me: answer value("foo(" & param1 & comma & param2 & ")",btn "bar") Though you seem to have "answer" in both button scripts... Best, Mark On 19 Jan 2007, at 12:55, Chipp Walters wrote: > Trying to call function 'foo(param1,param2)' in button "bar" from > somewhere > outside the message path. > > So, I do this: > > put "1,000" into param1 > put "Soldiers" into param2 > get value("foo(param1,param2)",btn "bar") > > Sadly, the literals "param1" and "param2" are passed to foo instead > of the > variables. > I've tried escaping, quoting, and waving a half dead chicken over > foo. No > good. Any ideas? > > TRY YOURSELF > Create a new stack: > create button "bar" with script: > > function foo param1,param2 > answer param1 &cr& param2 > end foo > > Create another button "PressMe" > > on mouseUp > put "1,000" into param1 > put "soldiers" into param2 > answer value("foo(param1,param2)",btn "bar") > end mouseUp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From JimAultWins at yahoo.com Fri Jan 19 09:24:10 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 19 Jan 2007 06:24:10 -0800 Subject: calling a remote function.. In-Reply-To: <7aa52a210701190455m3b2e3fe9x6de8d852e4efd481@mail.gmail.com> Message-ID: Try using the Call, as this is supposed to keep the current variable environment even though you are outside the message path. This is from the original HCard navigation so you could travel across hard drives and computers and yet update the original variable space. I have never used this, so testing is required. If call "foo" does not work, then it is time to do a call "fooey". Jim Ault Las Vegas On 1/19/07 4:55 AM, "Chipp Walters" wrote: > Trying to call function 'foo(param1,param2)' in button "bar" from somewhere > outside the message path. > > So, I do this: > > put "1,000" into param1 > put "Soldiers" into param2 > get value("foo(param1,param2)",btn "bar") > > Sadly, the literals "param1" and "param2" are passed to foo instead of the > variables. > I've tried escaping, quoting, and waving a half dead chicken over foo. No > good. Any ideas? > > TRY YOURSELF > Create a new stack: > create button "bar" with script: > > function foo param1,param2 > answer param1 &cr& param2 > end foo > > Create another button "PressMe" > > on mouseUp > put "1,000" into param1 > put "soldiers" into param2 > answer value("foo(param1,param2)",btn "bar") > end mouseUp > From chipp at chipp.com Fri Jan 19 09:35:26 2007 From: chipp at chipp.com (Chipp Walters) Date: Fri, 19 Jan 2007 08:35:26 -0600 Subject: calling a remote function.. In-Reply-To: References: <7aa52a210701190455m3b2e3fe9x6de8d852e4efd481@mail.gmail.com> Message-ID: <7aa52a210701190635w3ec30362gb4942f7ae2f763ad@mail.gmail.com> Mark, That's close, but still no cigar. Because Param1 has a comma in it, it thinks it's two params. IOW, the answer is "1" & cr & "000". The "soldiers" is left behind :-( Any other ideas? -Chipp On 1/19/07, Mark Smith wrote: > > Chipp, this seems to work for me: > > answer value("foo(" & param1 & comma & param2 & ")",btn "bar") > > Though you seem to have "answer" in both button scripts... Yeah, I know, but it doesn't matter. From chipp at chipp.com Fri Jan 19 09:36:07 2007 From: chipp at chipp.com (Chipp Walters) Date: Fri, 19 Jan 2007 08:36:07 -0600 Subject: calling a remote function.. In-Reply-To: References: <7aa52a210701190455m3b2e3fe9x6de8d852e4efd481@mail.gmail.com> Message-ID: <7aa52a210701190636s297a5c51r18e97bdf1598556a@mail.gmail.com> Hi Jim, Call is supposed to used with handlers, not functions. Fooey ;-) On 1/19/07, Jim Ault wrote: > > Try using the Call, as this is supposed to keep the current variable > environment even though you are outside the message path. This is from > the > original HCard navigation so you could travel across hard drives and > computers and yet update the original variable space. > > I have never used this, so testing is required. > > If call "foo" does not work, then it is time to do a call "fooey". > > Jim Ault > Las Vegas > > > On 1/19/07 4:55 AM, "Chipp Walters" wrote: > > > Trying to call function 'foo(param1,param2)' in button "bar" from > somewhere > > outside the message path. > > > > So, I do this: > > > > put "1,000" into param1 > > put "Soldiers" into param2 > > get value("foo(param1,param2)",btn "bar") > > > > Sadly, the literals "param1" and "param2" are passed to foo instead of > the > > variables. > > I've tried escaping, quoting, and waving a half dead chicken over foo. > No > > good. Any ideas? > > > > TRY YOURSELF > > Create a new stack: > > create button "bar" with script: > > > > function foo param1,param2 > > answer param1 &cr& param2 > > end foo > > > > Create another button "PressMe" > > > > on mouseUp > > put "1,000" into param1 > > put "soldiers" into param2 > > answer value("foo(param1,param2)",btn "bar") > > end mouseUp > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From mark at maseurope.net Fri Jan 19 09:44:56 2007 From: mark at maseurope.net (Mark Smith) Date: Fri, 19 Jan 2007 14:44:56 +0000 Subject: calling a remote function.. In-Reply-To: <7aa52a210701190635w3ec30362gb4942f7ae2f763ad@mail.gmail.com> References: <7aa52a210701190455m3b2e3fe9x6de8d852e4efd481@mail.gmail.com> <7aa52a210701190635w3ec30362gb4942f7ae2f763ad@mail.gmail.com> Message-ID: Ah, I see. How about: answer value("foo(" & quote & p1 & quote & comma & p2 & ")",btn "bar") admittedly, this is going to be unwieldy if all your params might contain quotes, so then perhaps you need to use Ken Rays "q" function: answer value("foo(" & q(p1) & comma & q(p2) & ")", btn "bar") Best, Mark On 19 Jan 2007, at 14:35, Chipp Walters wrote: > Mark, > That's close, but still no cigar. Because Param1 has a comma in it, it > thinks it's two params. IOW, the answer is "1" & cr & "000". The > "soldiers" > is left behind :-( > > Any other ideas? > > -Chipp > > On 1/19/07, Mark Smith wrote: >> >> Chipp, this seems to work for me: >> >> answer value("foo(" & param1 & comma & param2 & ")",btn "bar") >> >> Though you seem to have "answer" in both button scripts... > > > Yeah, I know, but it doesn't matter. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revlist at azurevision.co.uk Fri Jan 19 09:52:20 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Fri, 19 Jan 2007 14:52:20 +0000 Subject: Physical Screen Size In-Reply-To: <5CC9AE0F-EAFA-4AD0-8BF3-1540755947FC@orwell.net> References: <5CC9AE0F-EAFA-4AD0-8BF3-1540755947FC@orwell.net> Message-ID: If you *have* to have the physical dimensions, remember that some of the odder screen resolution settings don't have the same vertical and horizontal pixels per inch, so the user will need to measure in both directions. Rather than asking the user to measure an object (and enter the measurement) it might be easier to vary the size of the object to match a ruler, i.e. "please line the ruler up with the left end of the bar, and drag the right end of the bar until it reaches the 10cm mark on the ruler". I don't know of ANY other way to find out the physical dimensions, even Apple don't manage it on their own hardware. Ian On 19 Jan 2007, at 12:02, Tim Ponn wrote: > Hello! > > I'm working on a project and I would like to get the "physical" > screen size of the system. Is there a way to do this? I see how > to get many of the screen attributes...but as to physical > siza...nadda. > > A cheesy way to do this, I suppose, would be to display an object > when the app is started up and ask the user to measure it and enter > the measurement. Based on that I could calculate the size of the > screen. > > Has anyone discovered how to do this? > > > Best Regards, > > Timothy R. Ponn > ALPTEX, Inc. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Fri Jan 19 10:00:07 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 19 Jan 2007 07:00:07 -0800 Subject: calling a remote function.. In-Reply-To: <7aa52a210701190455m3b2e3fe9x6de8d852e4efd481@mail.gmail.com> Message-ID: Recently, Chipp Walters wrote: > TRY YOURSELF > Create a new stack: > create button "bar" with script: > > function foo param1,param2 > answer param1 &cr& param2 > end foo > > Create another button "PressMe" > > on mouseUp > put "1,000" into param1 > put "soldiers" into param2 > answer value("foo(param1,param2)",btn "bar") > end mouseUp Not 100% solution, but when you remove the comma, this works: on mouseUp put "1000" into param1 put "soldiers" into param2 put "foo(" & param1,param2 & ")" into func answer value(func,btn "bar") end mouseUp Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From JimAultWins at yahoo.com Fri Jan 19 10:21:02 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 19 Jan 2007 07:21:02 -0800 Subject: calling a remote function.. In-Reply-To: <7aa52a210701190455m3b2e3fe9x6de8d852e4efd481@mail.gmail.com> Message-ID: perhaps urlEncode.. decode put urlEncode("1,000") into param1 -- %2C for comma Jim Ault Las Vegas On 1/19/07 4:55 AM, "Chipp Walters" wrote: > Trying to call function 'foo(param1,param2)' in button "bar" from somewhere > outside the message path. > > So, I do this: > > put "1,000" into param1 > put "Soldiers" into param2 > get value("foo(param1,param2)",btn "bar") > > Sadly, the literals "param1" and "param2" are passed to foo instead of the > variables. > I've tried escaping, quoting, and waving a half dead chicken over foo. No > good. Any ideas? > > TRY YOURSELF > Create a new stack: > create button "bar" with script: > > function foo param1,param2 > answer param1 &cr& param2 > end foo > > Create another button "PressMe" > > on mouseUp > put "1,000" into param1 > put "soldiers" into param2 > answer value("foo(param1,param2)",btn "bar") > end mouseUp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revlist at azurevision.co.uk Fri Jan 19 10:24:23 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Fri, 19 Jan 2007 15:24:23 +0000 Subject: calling a remote function.. In-Reply-To: References: Message-ID: <6F724C64-83CE-4A68-9A70-258D87B0DCAA@azurevision.co.uk> Something like that. I've got into the habit of replacing commas with "*comma*" in the parameters and then replacing it again with a comma within the function. Ian On 19 Jan 2007, at 15:21, Jim Ault wrote: > perhaps > urlEncode.. decode > > put urlEncode("1,000") into param1 -- %2C for comma > > Jim Ault > Las Vegas From alptex2 at orwell.net Fri Jan 19 10:26:31 2007 From: alptex2 at orwell.net (Tim Ponn) Date: Fri, 19 Jan 2007 10:26:31 -0500 Subject: Physical Screen Size In-Reply-To: References: <5CC9AE0F-EAFA-4AD0-8BF3-1540755947FC@orwell.net> Message-ID: <47C7135B-6A04-4FCF-952D-D885598D5315@orwell.net> Mark, I understand why folks set their screen res the way they do...I know someone who always sets it at the highest possible...never mind that it's nearly impossible to see the icons on their desktop without magnification! ;=) Here's my application and why it's important to me... We designed and built an extremely accurate 3 axis cnc micro-driller about 7 years ago which is controlled by a HyperCard stack. We use it in production to drill holes as small as .010" dia. through a variety of plastics with a guaranteed accuracy of .00025". The "work area" is small, just 4" square...but it has served our needs perfectly. In my stack, I represent the work area on screen in exactly the same size...WYSIWYG-in-extreme, if you will. When the file is loaded, the pattern is displayed. As each hole is drilled, the appropriate circle is "filled in" on the screen. I've used Rev for about 5 years now, and am converting this stack into a rev app. If we were only using it in house, no biggie, I would just tweak the display like I did last time. But now we're thinking of building and selling these machines (with perhaps a 12" square work area and higher RPM drill head to allow for smaller drills) to others. Now...it just occurred to me as I was writing this...a good work around may be to tweak it on my monitor until it's the same scale, then use my set resolution to recalculate and change size based on the resolution of the user. In fact, I'm certain that will work. Thanks for your poking, you got me to think! Best Regards, Timothy R. Ponn ALPTEX, Inc. On Jan 19, 2007, at 7:26 AM, Mark Schonewille wrote: > Hi Tim, > > Normally, people set the screen resolution to a higher number > because they want more to fit on their screen. They would be > surprised to see that your application doesn't show more on screen > despite a higher resolution, if you manage to do this. > > I don't think that the actual screen size is of any importance. > Sometimes, it could be useful to adjust an application to the > screen resolution, e.g. if you are making a full-screen interface. > The physical screen size has nothing to do with this. > > So, why would you want to do this? > > Best, > > Mark > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Get your store on-line within minutes with Salery Web Store > software. Download at http://www.salery.biz > From list at dreamscapesoftware.com Fri Jan 19 10:29:20 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Fri, 19 Jan 2007 09:29:20 -0600 Subject: Beta Testing for JPEGCompress 2.8 Message-ID: <45B0E3D0.7070207@dreamscapesoftware.com> Hello folks, I was just wondering if anyone was interested in beta testing JPEGCompress 2.8? Email me offlist if you're interested. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ From m.schonewille at economy-x-talk.com Fri Jan 19 10:34:36 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 19 Jan 2007 16:34:36 +0100 Subject: Physical Screen Size In-Reply-To: <47C7135B-6A04-4FCF-952D-D885598D5315@orwell.net> References: <5CC9AE0F-EAFA-4AD0-8BF3-1540755947FC@orwell.net> <47C7135B-6A04-4FCF-952D-D885598D5315@orwell.net> Message-ID: Hi TIm, Of course, you could make a few presets for the most common resolutions, but you won't be able to create presets for all current and future resolutions. Instead, I'd make a simple interface to adjust the size of the working space on screen. I don't think that people will mind that the size is not exactly the same as in reality, but they will appreciate the possibility to enlarge the view. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 19-jan-2007, om 16:26 heeft Tim Ponn het volgende geschreven: > Mark, > > > > Now...it just occurred to me as I was writing this...a good work > around may be to tweak it on my monitor until it's the same scale, > then use my set resolution to recalculate and change size based on > the resolution of the user. In fact, I'm certain that will work. > > Thanks for your poking, you got me to think! > > > Best Regards, > > Timothy R. Ponn > ALPTEX, Inc. From soapdog at mac.com Fri Jan 19 10:48:36 2007 From: soapdog at mac.com (Andre Garzia) Date: Fri, 19 Jan 2007 13:48:36 -0200 Subject: calling a remote function.. In-Reply-To: <7aa52a210701190455m3b2e3fe9x6de8d852e4efd481@mail.gmail.com> References: <7aa52a210701190455m3b2e3fe9x6de8d852e4efd481@mail.gmail.com> Message-ID: <226B2CEB-8201-4E21-BB0D-E54D2B4A5D0B@mac.com> Chipp, I use stuff like that all the time in the RevHTTP server for running the functions on cgis. But I don't usually use functions, I use handlers that like function return values. I assemble a line with a send call in a string and I execute that string using DO. then I check for the result variable for my return values. This works very fine. I know you're trying to call functions and not handlers but I've entered the same trouble you're in now and solved it by using handlers and send. I know this is no solution and just a hack, but it is working and it is easy to understand. cheers andre On Jan 19, 2007, at 10:55 AM, Chipp Walters wrote: > Trying to call function 'foo(param1,param2)' in button "bar" from > somewhere > outside the message path. > > So, I do this: > > put "1,000" into param1 > put "Soldiers" into param2 > get value("foo(param1,param2)",btn "bar") > > Sadly, the literals "param1" and "param2" are passed to foo instead > of the > variables. > I've tried escaping, quoting, and waving a half dead chicken over > foo. No > good. Any ideas? > > TRY YOURSELF > Create a new stack: > create button "bar" with script: > > function foo param1,param2 > answer param1 &cr& param2 > end foo > > Create another button "PressMe" > > on mouseUp > put "1,000" into param1 > put "soldiers" into param2 > answer value("foo(param1,param2)",btn "bar") > end mouseUp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Fri Jan 19 10:50:31 2007 From: chipp at chipp.com (Chipp Walters) Date: Fri, 19 Jan 2007 09:50:31 -0600 Subject: calling a remote function.. In-Reply-To: References: <7aa52a210701190455m3b2e3fe9x6de8d852e4efd481@mail.gmail.com> <7aa52a210701190635w3ec30362gb4942f7ae2f763ad@mail.gmail.com> Message-ID: <7aa52a210701190750o7d8c8c18ia89df393d4c31d6e@mail.gmail.com> Ding ding. You win the prize. answer value("foo(" & q(param1) & comma & q(param2) & ")", btn "bar") works. I had tried something similar: answer value("foo(" & q(param1) , q(param2) & ")", btn "bar") but couldn't get it to compile. I'm just used to the compiler not having to be explicitly told to concatenate comma delimited items. IOW, I'm used to: put tLeft,tTop,tRight,tBot into tRect and just assumed it would still work. My bad. Thanks Mark!!! -Chipp On 1/19/07, Mark Smith wrote: > > Ah, I see. How about: > > answer value("foo(" & quote & p1 & quote & comma & p2 & ")",btn "bar") > > admittedly, this is going to be unwieldy if all your params might > contain quotes, so then perhaps you need to use Ken Rays "q" function: > > answer value("foo(" & q(p1) & comma & q(p2) & ")", btn "bar") > > Best, > > Mark > > On 19 Jan 2007, at 14:35, Chipp Walters wrote: > > > Mark, > > That's close, but still no cigar. Because Param1 has a comma in it, it > > thinks it's two params. IOW, the answer is "1" & cr & "000". The > > "soldiers" > > is left behind :-( > > > > Any other ideas? > > > > -Chipp > > > > On 1/19/07, Mark Smith wrote: > >> > >> Chipp, this seems to work for me: > >> > >> answer value("foo(" & param1 & comma & param2 & ")",btn "bar") > >> > >> Though you seem to have "answer" in both button scripts... > > > > > > Yeah, I know, but it doesn't matter. > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From luis at anachreon.co.uk Fri Jan 19 11:00:10 2007 From: luis at anachreon.co.uk (Luis) Date: Fri, 19 Jan 2007 16:00:10 +0000 Subject: Physical Screen Size In-Reply-To: References: <5CC9AE0F-EAFA-4AD0-8BF3-1540755947FC@orwell.net> <47C7135B-6A04-4FCF-952D-D885598D5315@orwell.net> Message-ID: <45B0EB0A.60905@anachreon.co.uk> Hiya, If you can determine the monitor type you could probe a database of configurations/resolution/dpi settings etc and then calculate the image size (using its coordinates) based on this information. I haven't looked into this but I reckon OSX and WXP have these in the system somewhere (so they can 'plug and play'). Cheers, Luis. Mark Schonewille wrote: > Hi TIm, > > Of course, you could make a few presets for the most common resolutions, > but you won't be able to create presets for all current and future > resolutions. Instead, I'd make a simple interface to adjust the size of > the working space on screen. I don't think that people will mind that > the size is not exactly the same as in reality, but they will appreciate > the possibility to enlarge the view. > > Best, > > Mark > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Get your store on-line within minutes with Salery Web Store software. > Download at http://www.salery.biz > > Op 19-jan-2007, om 16:26 heeft Tim Ponn het volgende geschreven: > >> Mark, >> >> >> >> Now...it just occurred to me as I was writing this...a good work >> around may be to tweak it on my monitor until it's the same scale, >> then use my set resolution to recalculate and change size based on the >> resolution of the user. In fact, I'm certain that will work. >> >> Thanks for your poking, you got me to think! >> >> >> Best Regards, >> >> Timothy R. Ponn >> ALPTEX, Inc. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From palcibiades-first at yahoo.co.uk Fri Jan 19 11:13:50 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 19 Jan 2007 16:13:50 +0000 Subject: many thanks for everyone's help on find Message-ID: <200701191613.51021.palcibiades-first@yahoo.co.uk> Many thanks, very helpful comments, and thanks especially for pointing out some of the pitfalls. Peter From stephenREVOLUTION at barncard.com Fri Jan 19 11:24:21 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 19 Jan 2007 08:24:21 -0800 Subject: write to and read from a hardware address directly, possible? In-Reply-To: References: Message-ID: You are looking for a PEEK or POKE type command in Rev. ummm... I don't think it's advisable to do that directly anymore, certainly on macs. Most resources on modern hardware are managed. >Hello, > >Is it possible to write to a hardware address directly from runrev? >Did not find any command for this task in the docu. > >0xA000 FF > >8 bit 11111111 to the address A000. > >Can I set or get the value with native commands in runrev? > >Mit freundlichen Gr??en >Franz B?hmisch > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From m.schonewille at economy-x-talk.com Fri Jan 19 11:45:37 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 19 Jan 2007 17:45:37 +0100 Subject: Physical Screen Size In-Reply-To: <45B0EB0A.60905@anachreon.co.uk> References: <5CC9AE0F-EAFA-4AD0-8BF3-1540755947FC@orwell.net> <47C7135B-6A04-4FCF-952D-D885598D5315@orwell.net> <45B0EB0A.60905@anachreon.co.uk> Message-ID: <6D228917-2471-40A1-BFED-749EED2735C4@economy-x-talk.com> Hi Luis, Yup, my main monitor is of the brand "unknown". Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 19-jan-2007, om 17:00 heeft Luis het volgende geschreven: > Hiya, > > If you can determine the monitor type you could probe a database of > configurations/resolution/dpi settings etc and then calculate the > image size (using its coordinates) based on this information. > I haven't looked into this but I reckon OSX and WXP have these in > the system somewhere (so they can 'plug and play'). > > > Cheers, > > Luis. > From kray at sonsothunder.com Fri Jan 19 11:50:13 2007 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 19 Jan 2007 10:50:13 -0600 Subject: calling a remote function.. In-Reply-To: <7aa52a210701190750o7d8c8c18ia89df393d4c31d6e@mail.gmail.com> References: <7aa52a210701190455m3b2e3fe9x6de8d852e4efd481@mail.gmail.com> <7aa52a210701190635w3ec30362gb4942f7ae2f763ad@mail.gmail.com> <7aa52a210701190750o7d8c8c18ia89df393d4c31d6e@mail.gmail.com> Message-ID: <20070119105013448000.e8ddfcb2@sonsothunder.com> On Fri, 19 Jan 2007 09:50:31 -0600, Chipp Walters wrote: > Ding ding. You win the prize. > > answer value("foo(" & q(param1) & comma & q(param2) & ")", btn "bar") Boy, I long for the simplicity that SuperCard uses to do this kind of thing. They have a "via" keyword that lets you point to the object who should be processing the function. In SuperCard, this would be: answer foo(param1,param2) via btn "bar" Soooo much easier... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From luis at anachreon.co.uk Fri Jan 19 11:53:56 2007 From: luis at anachreon.co.uk (Luis) Date: Fri, 19 Jan 2007 16:53:56 +0000 Subject: Physical Screen Size In-Reply-To: <6D228917-2471-40A1-BFED-749EED2735C4@economy-x-talk.com> References: <5CC9AE0F-EAFA-4AD0-8BF3-1540755947FC@orwell.net> <47C7135B-6A04-4FCF-952D-D885598D5315@orwell.net> <45B0EB0A.60905@anachreon.co.uk> <6D228917-2471-40A1-BFED-749EED2735C4@economy-x-talk.com> Message-ID: <45B0F7A4.1000206@anachreon.co.uk> Hmmm, ok. What you could then do is open a dialogue box asking for dimensions (17 inch, 19 inch, etc), resolution, type (CRT, LCD or Plasma) and dpi. If the dpi is unknown by the user you could try to default to the most common dpi for that 'type' of monitor. Cheers, Luis. Mark Schonewille wrote: > Hi Luis, > > Yup, my main monitor is of the brand "unknown". > > Mark > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Get your store on-line within minutes with Salery Web Store software. > Download at http://www.salery.biz > > Op 19-jan-2007, om 17:00 heeft Luis het volgende geschreven: > >> Hiya, >> >> If you can determine the monitor type you could probe a database of >> configurations/resolution/dpi settings etc and then calculate the >> image size (using its coordinates) based on this information. >> I haven't looked into this but I reckon OSX and WXP have these in the >> system somewhere (so they can 'plug and play'). >> >> >> Cheers, >> >> Luis. >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From wjm at wjm.org Fri Jan 19 12:06:16 2007 From: wjm at wjm.org (Bill Marriott) Date: Fri, 19 Jan 2007 12:06:16 -0500 Subject: altBrowser + windowshape Message-ID: Hello everyone, I was wondering if anyone's had any luck getting an embedded web browser to work when the stack containing it has a WindowShape? Seems when I activate the window shape, the browser control refuses to appear. If it's impossible to get the windowshape thingy to work, does anyone has a nice handler to keep a substack (with decorations set to none) to follow along with another substack? (the one with my windowshape) In other news, the latest newsletter from Rev officially announces the plugins , and there is now documentation and stacks up! http://www.runrev.com/newsletter/january/issue18/newsletter1.php From soapdog at mac.com Fri Jan 19 12:24:43 2007 From: soapdog at mac.com (Andre Garzia) Date: Fri, 19 Jan 2007 15:24:43 -0200 Subject: calling a remote function.. In-Reply-To: <20070119105013448000.e8ddfcb2@sonsothunder.com> References: <7aa52a210701190455m3b2e3fe9x6de8d852e4efd481@mail.gmail.com> <7aa52a210701190635w3ec30362gb4942f7ae2f763ad@mail.gmail.com> <7aa52a210701190750o7d8c8c18ia89df393d4c31d6e@mail.gmail.com> <20070119105013448000.e8ddfcb2@sonsothunder.com> Message-ID: <6CC2BD43-49AF-4274-900F-F2C8CC4F4791@mac.com> show me a bugzilla enhancement request for this and I'll throw all my five votes in it, and buy a beer for everyone that does the same. This would make my life so much easier... andre On Jan 19, 2007, at 2:50 PM, Ken Ray wrote: > On Fri, 19 Jan 2007 09:50:31 -0600, Chipp Walters wrote: >> Ding ding. You win the prize. >> >> answer value("foo(" & q(param1) & comma & q(param2) & ")", btn "bar") > > Boy, I long for the simplicity that SuperCard uses to do this kind of > thing. They have a "via" keyword that lets you point to the object who > should be processing the function. In SuperCard, this would be: > > answer foo(param1,param2) via btn "bar" > > Soooo much easier... > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Fri Jan 19 12:58:50 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 19 Jan 2007 11:58:50 -0600 Subject: calling a remote function.. In-Reply-To: <20070119105013448000.e8ddfcb2@sonsothunder.com> References: <7aa52a210701190455m3b2e3fe9x6de8d852e4efd481@mail.gmail.com> <7aa52a210701190635w3ec30362gb4942f7ae2f763ad@mail.gmail.com> <7aa52a210701190750o7d8c8c18ia89df393d4c31d6e@mail.gmail.com> <20070119105013448000.e8ddfcb2@sonsothunder.com> Message-ID: <45B106DA.80700@hyperactivesw.com> Ken Ray wrote: > On Fri, 19 Jan 2007 09:50:31 -0600, Chipp Walters wrote: >> Ding ding. You win the prize. >> >> answer value("foo(" & q(param1) & comma & q(param2) & ")", btn "bar") > > Boy, I long for the simplicity that SuperCard uses to do this kind of > thing. They have a "via" keyword that lets you point to the object who > should be processing the function. In SuperCard, this would be: > > answer foo(param1,param2) via btn "bar" The cheap hack is: insert script of into back answer foo(param1,param2) remove script of from back I've had to do this a couple of times and it works fine. Easy too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mark at maseurope.net Fri Jan 19 13:19:14 2007 From: mark at maseurope.net (Mark Smith) Date: Fri, 19 Jan 2007 18:19:14 +0000 Subject: calling a remote function.. In-Reply-To: <45B106DA.80700@hyperactivesw.com> References: <7aa52a210701190455m3b2e3fe9x6de8d852e4efd481@mail.gmail.com> <7aa52a210701190635w3ec30362gb4942f7ae2f763ad@mail.gmail.com> <7aa52a210701190750o7d8c8c18ia89df393d4c31d6e@mail.gmail.com> <20070119105013448000.e8ddfcb2@sonsothunder.com> <45B106DA.80700@hyperactivesw.com> Message-ID: This is so simple and obvious that only a true genius would a have thought of it! I don't even accept that it's a hack. Thanks for this, Jacque, I honestly wonder how I get my head so far up my ****, sometimes. :) Best, Mark On 19 Jan 2007, at 17:58, J. Landman Gay wrote: > > The cheap hack is: > > insert script of into back > answer foo(param1,param2) > remove script of from back > > I've had to do this a couple of times and it works fine. Easy too. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From FlexibleLearning at aol.com Fri Jan 19 13:51:28 2007 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Fri, 19 Jan 2007 13:51:28 EST Subject: calling a remote function.. Message-ID: Ken Ray wrote: > On Fri, 19 Jan 2007 09:50:31 -0600, Chipp Walters wrote: >> Ding ding. You win the prize. >> >> answer value("foo(" & q(param1) & comma & q(param2) & ")", btn "bar") > > Boy, I long for the simplicity that SuperCard uses to do this kind of > thing. They have a "via" keyword that lets you point to the object who > should be processing the function. In SuperCard, this would be: > > answer foo(param1,param2) via btn "bar" J. Landman Gay wrote: >The cheap hack is: > > insert script of into back > answer foo(param1,param2) > remove script of from back >I've had to do this a couple of times and it works fine. Easy too. Hmmm... I see an opportunity to be contentious here. I used to really miss "via" as well, but with the message passing hierarchy and the rule of "write once use many", placing functions and handlers higher up the chain is far more logical. This is essentially what "insert" is doing, so why not just move the function and be done? Not a bug or missing feature but a nudge to implementing good writing style. 2c /H From josh at dvcreators.net Fri Jan 19 14:26:53 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 19 Jan 2007 11:26:53 -0800 Subject: need to manually package zip libraries with standalone? Message-ID: <1003529A-AD4D-4BF5-BE3B-BA845356FA56@dvcreators.net> Extracting a file from a zip archive works perfectly in the dev environment, but the standalone doesn't work. Do I need to package the zip library with the standalone manually? I couldn't find any doc on this. Thanks! From chipp at chipp.com Fri Jan 19 14:56:12 2007 From: chipp at chipp.com (Chipp Walters) Date: Fri, 19 Jan 2007 13:56:12 -0600 Subject: calling a remote function.. In-Reply-To: References: Message-ID: <7aa52a210701191156g2e4ad0ccm20475a08d78e0c7d@mail.gmail.com> Hugh, You certainly make a good point. I'm actually trying to keep the functions in the field where they originally are used. I only need call them occasionally, but the fact it's so difficult has got me thinking of re-architecting the group entirely. It's a spreadsheet object which will get a facelift. Boy, I can't wait for real OOP like controls in a future version. -Chipp > Hmmm... I see an opportunity to be contentious here. I used to really > miss > "via" as well, but with the message passing hierarchy and the rule of > "write > once use many", placing functions and handlers higher up the chain is far > more > logical. This is essentially what "insert" is doing, so why not just move > the function and be done? Not a bug or missing feature but a nudge to > implementing good writing style. > > > From dick.kriesel at mail.com Fri Jan 19 16:14:44 2007 From: dick.kriesel at mail.com (Dick Kriesel) Date: Fri, 19 Jan 2007 13:14:44 -0800 Subject: calling a remote function.. In-Reply-To: <7aa52a210701190750o7d8c8c18ia89df393d4c31d6e@mail.gmail.com> Message-ID: On 1/19/07 7:50 AM, "Chipp Walters" wrote: > Ding ding. You win the prize. > > answer value("foo(" & q(param1) & comma & q(param2) & ")", btn "bar") But note that if a param contains more than one line, the value function does not return the expected result. Ding dong. Try this script for button "PressMe" to see for yourself: on mouseUp pMouseBtnNum put "1,000" into param1 put "soldiers" & cr & "coming home" into param2 answer value("foo(" & quote & param1 & quote & comma & \ quote & param2 & quote & ")",btn "bar") end mouseUp If you'd like to use the value function with multi-line params, please consider voting for bug 2904: Allow 'value' to evaluate expressions containing returns like 'send' -- Dick From ambassador at fourthworld.com Fri Jan 19 16:32:36 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 19 Jan 2007 13:32:36 -0800 Subject: calling a remote function.. Message-ID: <45B138F4.4040609@fourthworld.com> Dick Kriesel wrote: > On 1/19/07 7:50 AM, "Chipp Walters" wrote: >> Ding ding. You win the prize. >> answer value("foo(" & q(param1) & comma & q(param2) & ")", btn "bar") > > But note that if a param contains more than one line, the value function > does not return the expected result. Ding dong. > > Try this script for button "PressMe" to see for yourself: > > on mouseUp pMouseBtnNum > put "1,000" into param1 > put "soldiers" & cr & "coming home" into param2 > answer value("foo(" & quote & param1 & quote & comma & \ > quote & param2 & quote & ")",btn "bar") > end mouseUp > > If you'd like to use the value function with multi-line params, please > consider voting for bug 2904: > Allow 'value' to evaluate expressions containing returns like 'send' Good considerations, Dick. Stepping back from it, even a very complete solution will yield code that's difficult to read/maintain/enhance. Out of sheer laziness if nothing else, if I was faced with this I'd probably either find some way to put what I need in the message path, or perhaps even consider a global array to hold any needed values between handlers. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From schaubeck at mac.com Fri Jan 19 16:51:03 2007 From: schaubeck at mac.com (Jim Schaubeck) Date: Fri, 19 Jan 2007 13:51:03 -0800 Subject: Open and Closing MySQL Message-ID: <8295E03B-0110-1000-9DBF-CD2275F2A6F9-Webmail-10016@mac.com> Folks, Is it good practice to close a connection to a database right after you use it (MySQL)? I don't have a problem writing the SQL every time, I just want to make sure it doesn't hurt anything if I did it that way. Also, is there any more documentation somewhere on the rev commands for SQL? Thanks for the help, Jim... From sanke at hrz.uni-kassel.de Fri Jan 19 17:01:19 2007 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Fri, 19 Jan 2007 23:01:19 +0100 Subject: altBrowser + windowshape Message-ID: <45B13FAF.2080902@hrz.uni-kassel.de> On Fri Jan 19, Bill Marriott wjm at wjm.org wrote: If it's impossible to get the windowshape thingy to work, does anyone has a nice handler to keep a substack (with decorations set to none) to follow along with another substack? (the one with my windowshape) What about "on movestack put the topright of me into tpos add 4 to item 1 of tpos set the topleft of stack "IFollowYou" to tpos end movestack" ? Regards, Wilhelm Sanke From klaus at major-k.de Fri Jan 19 17:11:53 2007 From: klaus at major-k.de (Klaus Major) Date: Fri, 19 Jan 2007 23:11:53 +0100 (MET) Subject: need to manually package zip libraries with standalone? In-Reply-To: <1003529A-AD4D-4BF5-BE3B-BA845356FA56@dvcreators.net> References: <1003529A-AD4D-4BF5-BE3B-BA845356FA56@dvcreators.net> Message-ID: <19647DA8-2B8B-47F0-A526-BDC189F33F5B@major-k.de> Hi Josh, > Extracting a file from a zip archive works perfectly in the dev > environment, but the standalone doesn't work. > Do I need to package the zip library with the standalone manually? > I couldn't find any doc on this. Yes, this is a long known bug on the Mac, some (or all) externals do not get copied by the StandaloneBuilder. > Thanks! Regards Klaus Major klaus at major-k.de http://www.major-k.de From scott at tactilemedia.com Fri Jan 19 18:00:12 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 19 Jan 2007 15:00:12 -0800 Subject: altBrowser + windowshape In-Reply-To: <45B13FAF.2080902@hrz.uni-kassel.de> Message-ID: Recently, Wilhelm Sanke wrote: > does anyone has a nice handler to > keep a substack (with decorations set to none) to follow along with another > substack? (the one with my windowshape) You'll probably need to use a custom drag routine. You can see the following stack for an example (execute in your message box): go url "http://www.tactilemedia.com/download/slider.rev" Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From josh at dvcreators.net Fri Jan 19 18:52:58 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 19 Jan 2007 15:52:58 -0800 Subject: need to manually package zip libraries with standalone? In-Reply-To: <19647DA8-2B8B-47F0-A526-BDC189F33F5B@major-k.de> References: <1003529A-AD4D-4BF5-BE3B-BA845356FA56@dvcreators.net> <19647DA8-2B8B-47F0-A526-BDC189F33F5B@major-k.de> Message-ID: <65BBC7CB-2087-4FBC-9C6C-8A7B81687BD4@dvcreators.net> Ah, found it! (Under "Select Inclusions") Thanks! On Jan 19, 2007, at 2:11 PM, Klaus Major wrote: > Hi Josh, > >> Extracting a file from a zip archive works perfectly in the dev >> environment, but the standalone doesn't work. >> Do I need to package the zip library with the standalone manually? >> I couldn't find any doc on this. > > Yes, this is a long known bug on the Mac, some (or all) externals > do not get copied by the StandaloneBuilder. > >> Thanks! > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Fri Jan 19 19:20:53 2007 From: chipp at chipp.com (Chipp Walters) Date: Fri, 19 Jan 2007 18:20:53 -0600 Subject: calling a remote function.. In-Reply-To: <45B138F4.4040609@fourthworld.com> References: <45B138F4.4040609@fourthworld.com> Message-ID: <7aa52a210701191620t6c1c595dvcb36d3bd14bc3aab@mail.gmail.com> Richard and Dick, Good points both of you. In fact I think Jacque has perhaps the most elegant solution. Ding ding. From chipp at chipp.com Fri Jan 19 19:22:18 2007 From: chipp at chipp.com (Chipp Walters) Date: Fri, 19 Jan 2007 18:22:18 -0600 Subject: altBrowser + windowshape In-Reply-To: References: <45B13FAF.2080902@hrz.uni-kassel.de> Message-ID: <7aa52a210701191622w68aacc55ga2712f3f95e06672@mail.gmail.com> Yep, I still mostly use Scott's window drag routine. I think it's been around for...going on 40 years now. How old is Scott anyway? From meitnik at bellsouth.net Fri Jan 19 19:22:38 2007 From: meitnik at bellsouth.net (Andrew Meit) Date: Fri, 19 Jan 2007 19:22:38 -0500 Subject: Altplug-ins demo stacks... Message-ID: I have found bugs using the altfont demo 1. installing the plug-in: Unzip problem: ditto: Couldn't read PKZip signature 3. running the demo after I installed manually the altfont bundle in externals, I ran demo. It crashed. Any help would be valued now.. :-) Shalom, Andrew {Choose Life, Create Hope, Nurture Love...} From scott at tactilemedia.com Fri Jan 19 20:16:58 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 19 Jan 2007 17:16:58 -0800 Subject: A Single SetProp? Message-ID: Howdy List: I'm just now coming to grips to with the SetProp control structure and was wondering if there is a way to trigger a single SetProp structure (that contains a switch statement) when setting *any* custom property, or do you have to use a separate SetProp structure for *each property* you want to monitor. Something like: setProp anyOfMyProps pValue switch anyOfMyProps case "propA" doSomeStuff break case "propB" doOtherStuff end switch end anyOfMyProps I have the feeling this isn't proper usage but I thought I'd ask anyway. Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From kray at sonsothunder.com Fri Jan 19 20:26:10 2007 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 19 Jan 2007 19:26:10 -0600 Subject: A Single SetProp? In-Reply-To: References: Message-ID: <20070119192610641671.67fde965@sonsothunder.com> On Fri, 19 Jan 2007 17:16:58 -0800, Scott Rossi wrote: > I'm just now coming to grips to with the SetProp control structure and was > wondering if there is a way to trigger a single SetProp structure (that > contains a switch statement) when setting *any* custom property, or do you > have to use a separate SetProp structure for *each property* you want to > monitor. Something like: > > setProp anyOfMyProps pValue > switch anyOfMyProps > case "propA" > doSomeStuff > break > case "propB" > doOtherStuff > end switch > end anyOfMyProps > > I have the feeling this isn't proper usage but I thought I'd ask anyway. Sorry, Scott - you need to define one setProp for each property being set. In a way it's kind of like trying to have an "on " handler to trap calls made to any handler... just ain't gonna happen. :-) Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From scott at tactilemedia.com Fri Jan 19 20:40:33 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 19 Jan 2007 17:40:33 -0800 Subject: altBrowser + windowshape In-Reply-To: <7aa52a210701191622w68aacc55ga2712f3f95e06672@mail.gmail.com> Message-ID: Recently, Chipp Walters wrote: > How old is Scott anyway? Younger than you. But nowhere near as talented in the 3D modeling arena. Dang (Texas expression) you do some amazing stuff, man. I don't know how you find the time to do your Rev projects *and* your jaw dropping 3D creations. Best Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From tereza at califex.com Fri Jan 19 20:44:12 2007 From: tereza at califex.com (Tereza Snyder) Date: Fri, 19 Jan 2007 19:44:12 -0600 Subject: A Single SetProp? In-Reply-To: References: Message-ID: On Jan 19, 2007, at 7:16 PM, Scott Rossi wrote: > Howdy List: > > I'm just now coming to grips to with the SetProp control structure > and was > wondering if there is a way to trigger a single SetProp structure > (that > contains a switch statement) when setting *any* custom property, or > do you > have to use a separate SetProp structure for *each property* you > want to > monitor. Something like: > > setProp anyOfMyProps pValue > switch anyOfMyProps > case "propA" > doSomeStuff > break > case "propB" > doOtherStuff > end switch > end anyOfMyProps > One way you can get close to it, is use a custompropertyset setprop: setprop MyCustomPropertySet[ pProp ] pValue switch pProp case "propA" doSomeStuff break case "propB" doOtherStuff break end switch end MyCustomPropertySet Incidentally, this is a way you can have two-parameter setprops! t -- Tereza Snyder Califex Software, Inc. www.califexsoftware.com From bridgeyman at gmail.com Fri Jan 19 20:52:03 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Fri, 19 Jan 2007 18:52:03 -0700 Subject: AltFont External On Intel Mac Message-ID: <86ae76bb0701191752g32244613x1dd5a83090197245@mail.gmail.com> Hey, I was trying to work with the AltFont external, but I couldn't get it to load as an external, while I was successful with the other externals. I looked at the AltFont bundle, and discovered it was PPC. I have been able to get it to work by forcing Revolution to run under Rosetta, but that is definitely not a solution I would like use permanently . Is there any other solution to this, or is there a Universal Binary external somewhere? TTFN Bridger Christa McAuliffe Space Education Center From bridgeyman at gmail.com Fri Jan 19 20:52:12 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Fri, 19 Jan 2007 18:52:12 -0700 Subject: Altplug-ins demo stacks... In-Reply-To: References: Message-ID: <86ae76bb0701191752t2fd679a6ld358692e748b2dd7@mail.gmail.com> It is a problem in the "initme" handler. Change line 2 (the non commented one) to to read: put "http://downloads.runrev.com/alt_externals/altFont.zip " into lMacExternalUrl They accidentally spelled Mac with an x when updating the code to reflect the new download site. Once that is fixed you will have to run openstack again, then click on the Update External button and it should work. I am not sure about the crashing stack, maybe someone else can help. I do know that the external is PPC, so if you are running an Intel Mac, you might have problems (see my post). TTFN Bridger Maxwell Christa McAuliffe Space Education Center On 1/19/07, Andrew Meit wrote: > > I have found bugs using the altfont demo > > 1. installing the plug-in: > Unzip problem: > ditto: Couldn't read PKZip signature > > 3. running the demo > after I installed manually the altfont bundle in externals, I ran > demo. It crashed. > > Any help would be valued now.. :-) > > Shalom, Andrew > {Choose Life, Create Hope, Nurture Love...} > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dick.kriesel at mail.com Fri Jan 19 20:55:37 2007 From: dick.kriesel at mail.com (Dick Kriesel) Date: Fri, 19 Jan 2007 17:55:37 -0800 Subject: A Single SetProp? In-Reply-To: Message-ID: On 1/19/07 5:16 PM, "Scott Rossi" wrote: > wondering if there is a way to trigger a single SetProp structure (that > contains a switch statement) when setting *any* custom property, or do you > have to use a separate SetProp structure for *each property* you want to > monitor. Something like: > > setProp anyOfMyProps pValue > switch anyOfMyProps > case "propA" > doSomeStuff > break > case "propB" > doOtherStuff > end switch > end anyOfMyProps Your suggestion is a lot like what you can do for any number of custom properties all in the same custom property set: setprop uMyCustomPropertySet[pCustomProperty] pValue switch pCustomProperty case "propA" put 1 into tValue break case "propB" put 2 into tValue default put 3 into tValue end switch ask the params & cr & tValue set the uMyCustomPropertySet[pCustomProperty] of the target to tValue end uMyCustomPropertySet[pCustomProperty] See "setprop" in the dictionary. -- Dick From chipp at chipp.com Fri Jan 19 21:35:30 2007 From: chipp at chipp.com (Chipp Walters) Date: Fri, 19 Jan 2007 20:35:30 -0600 Subject: altBrowser + windowshape In-Reply-To: References: <7aa52a210701191622w68aacc55ga2712f3f95e06672@mail.gmail.com> Message-ID: <7aa52a210701191835n2f6349a4rb5997f639d40eb59@mail.gmail.com> Hey, I may be old but I'm not dead yet! Your glowing words wax a premature eulogy. I've still got a few good years left ;-) From mcdomi at free.fr Sat Jan 20 04:35:15 2007 From: mcdomi at free.fr (Dom) Date: Sat, 20 Jan 2007 10:35:15 +0100 Subject: Pic-a-POD and Wikipedia Picture of the day woes Message-ID: <1hs8ii2.1w4lxa416cbmlwM%mcdomi@free.fr> Hi Sarah! I sent you a message some days ago to the "troz" address about this... By going on the Wikipedia web site, it seems that Wikipedia has changed its scheme for obtaining the Picture of the day as of January 1st; so Pic-a-POD has some trouble retrieving this image -- it gets an image some day and not another! By the way, I am a fan of Pic-a-POD to get great pictures :-) From klaus at major-k.de Sat Jan 20 08:41:33 2007 From: klaus at major-k.de (Klaus Major) Date: Sat, 20 Jan 2007 14:41:33 +0100 (MET) Subject: altFont etc. Message-ID: <6A398AD1-18E7-46B0-8CCE-B0B0A494286F@major-k.de> Hi friends, can someone give me a little technical hint about "altFont"? I can successfully "load" and "unload" a font, now my question: How long will the loaded font be available if I do NOT unistall the font? 1. As long as Rev is running or 2. as long as Windows/the Mac is running (read: until the next restart of either Rev or Win/ the Mac)? Another question: I just had a crash with Rev on Windows and the appropriate crashlog file is a "*.DMP" file of more than 12 (twelve!) MB!!!??? Is this the file I am supposed to attach to my bugzilla, ehm "Rev quality center" report? Thanks in advance. Regards Klaus Major klaus at major-k.de http://www.major-k.de From shari at gypsyware.com Sat Jan 20 09:04:17 2007 From: shari at gypsyware.com (Shari) Date: Sat, 20 Jan 2007 09:04:17 -0500 Subject: OT: Heather Nagey old interview Message-ID: I stumbled across an old interview done with Heather Nagey in the early years of Revolution. I cannot find a date anywhere on the interview, but from the Q and A, I'd guess quite early on. I enjoyed every word. It was quite refreshing to hear Heather's enthusiasm for Revolution, and the enthusiasm of everyone involved in its creation. My favorite question however, was: Q: What single thing do you think Revolution did better than the other clones? A: Sold. If anyone would like to read it, you'll find it here: http://www.zathras.de/angelweb/xtalkinterviews-heather-nagey.htm Thank you, Heather, and Kevin, and all the folks who've made Revolution possible for us :-D Shari -- Gypsy King Software Mac and Windows shareware games http://www.gypsyware.com From robmann at gp-racing.com Sat Jan 20 09:18:25 2007 From: robmann at gp-racing.com (Robert Mann) Date: Sat, 20 Jan 2007 09:18:25 -0500 Subject: (no subject) Message-ID: <069401c73c9d$dc22aae0$0f00a8c0@roblaptop> I know there is a way to get the column type using revDatabaseColumnTypes(firstcurID) is there also a way to get all the other information about the column such as PK, and the column type value int(10) Thanks Rob From chipp at chipp.com Sat Jan 20 09:17:51 2007 From: chipp at chipp.com (Chipp Walters) Date: Sat, 20 Jan 2007 08:17:51 -0600 Subject: Is this a bug? Message-ID: <7aa52a210701200617u6dda4a34p2ebb98bca8be37b1@mail.gmail.com> Exists function: Create 2 buttons: Name the first one "taxes" Name the second one "UFOs" Group each button independantly and set the name of each group to "America" Now you have 2 groups, each named "America", each with a differently named button within. Now, try the following in the msg box: put exists(button "taxes" in group "America") returns 'true' put exists(button "UFOs" in group "America") returns 'false' Furthermore, this statement no longer works either: edit script of button "UFOs" in group "America" Seems like this should work. From m.schonewille at economy-x-talk.com Sat Jan 20 09:24:48 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 20 Jan 2007 15:24:48 +0100 Subject: Is this a bug? In-Reply-To: <7aa52a210701200617u6dda4a34p2ebb98bca8be37b1@mail.gmail.com> References: <7aa52a210701200617u6dda4a34p2ebb98bca8be37b1@mail.gmail.com> Message-ID: <1787565E-C7A0-4F5C-A9F7-BA7400EB92F8@economy-x-talk.com> Chipp, No, this is not a bug. Revolution takes the first group with the name "America" it finds and that's how it should be IMHO. This is a gentle way to force the programmer to structure his/her work and avoids time wasting confusion. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 20-jan-2007, om 15:17 heeft Chipp Walters het volgende geschreven: > Exists function: > > Create 2 buttons: > > Name the first one "taxes" > Name the second one "UFOs" > > Group each button independantly and set the name of each group to > "America" > Now you have 2 groups, each named "America", each with a > differently named > button within. > > Now, try the following in the msg box: > > put exists(button "taxes" in group "America") > returns 'true' > > put exists(button "UFOs" in group "America") > returns 'false' > > Furthermore, this statement no longer works either: > edit script of button "UFOs" in group "America" > > Seems like this should work. From david at openpartnership.net Sat Jan 20 09:33:15 2007 From: david at openpartnership.net (David Bovill) Date: Sat, 20 Jan 2007 06:33:15 -0800 Subject: Is this a bug? In-Reply-To: <1787565E-C7A0-4F5C-A9F7-BA7400EB92F8@economy-x-talk.com> References: <7aa52a210701200617u6dda4a34p2ebb98bca8be37b1@mail.gmail.com> <1787565E-C7A0-4F5C-A9F7-BA7400EB92F8@economy-x-talk.com> Message-ID: Yes I agree it is not a bug in terms of naming - it would be perhaps be more natural if the "exists" function makes an exception here as clearly the object does exist. I use long ids every where and put them in a varaible: put the long id of group 1 into firstAmerican put the long id of group 2 into newRepublican put exists(button "taxes" of firstAmerican) put exists(button "UFOs" of newRepublican) From david at openpartnership.net Sat Jan 20 09:51:41 2007 From: david at openpartnership.net (David Bovill) Date: Sat, 20 Jan 2007 06:51:41 -0800 Subject: calling a remote function.. In-Reply-To: <7aa52a210701191620t6c1c595dvcb36d3bd14bc3aab@mail.gmail.com> References: <45B138F4.4040609@fourthworld.com> <7aa52a210701191620t6c1c595dvcb36d3bd14bc3aab@mail.gmail.com> Message-ID: Chipp I have been using "send" and command and function calls for several years now - like Andre I do not use "functions" but send "commands" - even better in my opinion is to use getprop and setprop handlers - in your case that would look like this: put "1,000" into line 1 of marshalledData put "Soldiers" into line 1 of marshalledData -- get value("foo(param1,param2)",btn "bar") get the foo [marshalledData] of btn "bar" Where instead of a function the btn contains: getprop foo [marshalledData] put line 1 of marshalledData into param1 put line 1 of marshalledData into param2 return param1 &cr& param2 end foo Now what would be great would be if you could use arrays to marshall the data, but unfortunately arrays cannot be passed as params on mouseUp pMouseBtnNum put "1,000" into dataArray["num"] put "soldiers" into dataArray["name"] put the foo [dataArray] of btn "bar" pass mouseUp end mouseUp getprop foo [dataArray] put dataArray["num"] into param1 put dataArray["name"] into param2 return param1 &cr& param2 end foo This would ore than overcome the limitation of 1 param + rev control passed to the called object (2 param2 + rev control for setprops). From chipp at chipp.com Sat Jan 20 09:57:21 2007 From: chipp at chipp.com (Chipp Walters) Date: Sat, 20 Jan 2007 08:57:21 -0600 Subject: Is this a bug? In-Reply-To: References: <7aa52a210701200617u6dda4a34p2ebb98bca8be37b1@mail.gmail.com> <1787565E-C7A0-4F5C-A9F7-BA7400EB92F8@economy-x-talk.com> Message-ID: <7aa52a210701200657i6b374521oc372d2896a562a50@mail.gmail.com> Well then, At least it's a bug in the documentation, where it clearly states: "Returns true if the specified object exists, false if it does not." I, personally think it is a bug. If the goal is to force uniqueness and 'avoid time wasting confusion', then why even allow controls or objects with the same name? I certainly understand if you have two fields with the same name, and you reference the second one and you 'get' the first one. But to say a control does not exist seems wrong, especially when 'object instancing' is not allowed. It's not a big deal, I, too use the id property to get around it. I can certainly see the potential for a lot of confusion and broken scripts, especially since the documentation also states: "Description Use the exists function to make sure an object exists before you try to perform an action on it, or to determine whether to create an object." From david at openpartnership.net Sat Jan 20 10:10:56 2007 From: david at openpartnership.net (David Bovill) Date: Sat, 20 Jan 2007 07:10:56 -0800 Subject: Is this a bug? In-Reply-To: <7aa52a210701200657i6b374521oc372d2896a562a50@mail.gmail.com> References: <7aa52a210701200617u6dda4a34p2ebb98bca8be37b1@mail.gmail.com> <1787565E-C7A0-4F5C-A9F7-BA7400EB92F8@economy-x-talk.com> <7aa52a210701200657i6b374521oc372d2896a562a50@mail.gmail.com> Message-ID: Chipp if you file it - I'll vote for it :) Existence is not to be quibbled with. By the way my understanding is that "bug" is not the official term - according to the documentation: the term 'bug' has been deprecated an the term "anomaly" is now the > preferred term. Errors or other anomalies within the Revolution programming > environment should be reported to the quality control department where they > will be dealt with appropriately. > From lists at mangomultimedia.com Sat Jan 20 10:16:31 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 20 Jan 2007 07:16:31 -0800 Subject: (no subject) In-Reply-To: <069401c73c9d$dc22aae0$0f00a8c0@roblaptop> References: <069401c73c9d$dc22aae0$0f00a8c0@roblaptop> Message-ID: On Jan 20, 2007, at 6:18 AM, Robert Mann wrote: > I know there is a way to get the column type using > > revDatabaseColumnTypes(firstcurID) > > is there also a way to get all the other information about the > column such > as PK, and the column type value int(10) I think you need to use the database specific queries for this information. Here are ones for mysql, sqlite and postgresql (I *think* the postgresql one is right): put "mytable" into pTable SWITCH theDBType # get query to extract table info CASE "mysql" put "SHOW FULL COLUMNS FROM `" & pTable & "`" into theSQL break CASE "sqlite" put "PRAGMA table_info(" & quote & pTable & quote & ")" into theSQL break CASE "postgresql" put "SELECT column_name FROM information_schema.columns WHERE table_name = '" & pTable & "'" into theSQL break END SWITCH Using one of the above queries and open a cursor. You should then get one record for each field. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From schaubeck at mac.com Sat Jan 20 10:17:39 2007 From: schaubeck at mac.com (Jim Schaubeck) Date: Sat, 20 Jan 2007 07:17:39 -0800 Subject: Open and Closing MySQL In-Reply-To: <8295E03B-0110-1000-9DBF-CD2275F2A6F9-Webmail-10016@mac.com> References: <8295E03B-0110-1000-9DBF-CD2275F2A6F9-Webmail-10016@mac.com> Message-ID: <1D41D33F-0110-1000-8418-CD2275F2A6F9-Webmail-10016@mac.com> Found the answer...open an closing db in mysql after each script is fine...sorry for the newbie question. The learning is going just fine! Jim... On Friday, January 19, 2007, at 01:51PM, "Jim Schaubeck" wrote: >Folks, >Is it good practice to close a connection to a database right after you use it (MySQL)? I don't have a problem writing the SQL every time, I just want to make sure it doesn't hurt anything if I did it that way. > >Also, is there any more documentation somewhere on the rev commands for SQL? > >Thanks for the help, >Jim... >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > From m.schonewille at economy-x-talk.com Sat Jan 20 13:25:00 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 20 Jan 2007 19:25:00 +0100 Subject: Open and Closing MySQL In-Reply-To: <1D41D33F-0110-1000-8418-CD2275F2A6F9-Webmail-10016@mac.com> References: <8295E03B-0110-1000-9DBF-CD2275F2A6F9-Webmail-10016@mac.com> <1D41D33F-0110-1000-8418-CD2275F2A6F9-Webmail-10016@mac.com> Message-ID: Hi Jim, It won't hurt to open and immediately close a database after using it, but if you keep it open, you are able to refer to queries made earlier. My advise would be to keep the database open until you have finished working with it. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 20-jan-2007, om 16:17 heeft Jim Schaubeck het volgende geschreven: > > > Found the answer...open an closing db in mysql after each script is > fine...sorry for the newbie question. The learning is going just > fine! > > Jim... > > > On Friday, January 19, 2007, at 01:51PM, "Jim Schaubeck" > wrote: >> Folks, >> Is it good practice to close a connection to a database right >> after you use it (MySQL)? I don't have a problem writing the SQL >> every time, I just want to make sure it doesn't hurt anything if I >> did it that way. >> >> Also, is there any more documentation somewhere on the rev >> commands for SQL? >> >> Thanks for the help, >> Jim... From scott at tactilemedia.com Sat Jan 20 13:49:58 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 20 Jan 2007 10:49:58 -0800 Subject: Is this a bug? In-Reply-To: <7aa52a210701200617u6dda4a34p2ebb98bca8be37b1@mail.gmail.com> Message-ID: Recently, Chipp Walters wrote: > Furthermore, this statement no longer works either: > edit script of button "UFOs" in group "America" That's weird -- I didn't even know this syntax was permitted. I always thought one had to use "of group" not "in group". But of course, this exposes the partial superfluousness in the language regarding "of", because the following also works: edit script of btn "UFOs" grp "America" this cd Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From scott at elementarysoftware.com Sat Jan 20 14:02:49 2007 From: scott at elementarysoftware.com (Scott Morrow) Date: Sat, 20 Jan 2007 11:02:49 -0800 Subject: Drag-Scrolling Message-ID: <674ADAFD-4B19-4F52-99F1-CA20C6DEE0F1@elementarysoftware.com> As an alternative to grabbing the scroll bars of the group I would like to be able to scroll a group of objects by clicking in the middle of the group and dragging. This hadn't seemed like it should be that tricky but I'm bumping my head. Any suggestions? -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com ----------------------------------------------------------------- From robmann at gp-racing.com Sat Jan 20 14:34:28 2007 From: robmann at gp-racing.com (Robert Mann) Date: Sat, 20 Jan 2007 14:34:28 -0500 Subject: (no subject) In-Reply-To: Message-ID: <06ef01c73cca$047b7a90$0f00a8c0@roblaptop> Thanks Trevor, I got this working but is there a way to do this for selected columns Something like gfields is a list of fields separated by comma put "SHOW "& gfields &" COLUMNS FROM `" & gtable & "`" into theSQL this does not work get revdberr,You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(addyrmodperm_id,tunername)COLUMNS FROM `addyrmodsize_permission`' at line 1 Thanks Rob From kray at sonsothunder.com Sat Jan 20 14:35:38 2007 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 20 Jan 2007 13:35:38 -0600 Subject: Drag-Scrolling In-Reply-To: <674ADAFD-4B19-4F52-99F1-CA20C6DEE0F1@elementarysoftware.com> References: <674ADAFD-4B19-4F52-99F1-CA20C6DEE0F1@elementarysoftware.com> Message-ID: <20070120133538953561.267753b1@sonsothunder.com> On Sat, 20 Jan 2007 11:02:49 -0800, Scott Morrow wrote: > As an alternative to grabbing the scroll bars of the group I would > like to be able to scroll a group of objects by clicking in the > middle of the group and dragging. This hadn't seemed like it should > be that tricky but I'm bumping my head. Any suggestions? Well, the first thing to know is that if you click in an area of the group that doesn't contain any other objects, you won't get the mouseDown event you want trap. So my suggestion would be to create a button or graphic that matches your background color and put it behind everything else in the group so you can trap the event. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From mwieder at ahsoftware.net Sat Jan 20 15:23:16 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 20 Jan 2007 12:23:16 -0800 Subject: Is this a bug? In-Reply-To: <7aa52a210701200657i6b374521oc372d2896a562a50@mail.gmail.com> References: <7aa52a210701200617u6dda4a34p2ebb98bca8be37b1@mail.gmail.com> <1787565E-C7A0-4F5C-A9F7-BA7400EB92F8@economy-x-talk.com> <7aa52a210701200657i6b374521oc372d2896a562a50@mail.gmail.com> Message-ID: <26256733433.20070120122316@ahsoftware.net> Chipp- Saturday, January 20, 2007, 6:57:21 AM, you wrote: > 'avoid time wasting confusion', then why even allow controls or objects with > the same name? Yep - this has bothered me for a long time, too. I'd certainly support a referendum to disallow objects with the same name, but I'm afraid it would break backward compatibility. VB supports object instancing in the form of group "America"[2], but I don't care much for the syntax. -- -Mark Wieder mwieder at ahsoftware.net From scott at tactilemedia.com Sat Jan 20 15:40:02 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 20 Jan 2007 12:40:02 -0800 Subject: Drag-Scrolling In-Reply-To: <674ADAFD-4B19-4F52-99F1-CA20C6DEE0F1@elementarysoftware.com> Message-ID: Recently, Scott Morrow wrote: > As an alternative to grabbing the scroll bars of the group I would > like to be able to scroll a group of objects by clicking in the > middle of the group and dragging. This hadn't seemed like it should > be that tricky but I'm bumping my head. Any suggestions? Hey Scott: I just found the following among some test stacks -- maybe it's close to what you're looking for. go url "http://www.tactilemedia.com/download/dragscroll.rev" Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From kray at sonsothunder.com Sat Jan 20 15:46:53 2007 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 20 Jan 2007 14:46:53 -0600 Subject: Is this a bug? In-Reply-To: <26256733433.20070120122316@ahsoftware.net> References: <7aa52a210701200617u6dda4a34p2ebb98bca8be37b1@mail.gmail.com> <1787565E-C7A0-4F5C-A9F7-BA7400EB92F8@economy-x-talk.com> <7aa52a210701200657i6b374521oc372d2896a562a50@mail.gmail.com> <26256733433.20070120122316@ahsoftware.net> Message-ID: <20070120144653445986.0dda988e@sonsothunder.com> On Sat, 20 Jan 2007 12:23:16 -0800, Mark Wieder wrote: > Chipp- > > Saturday, January 20, 2007, 6:57:21 AM, you wrote: > >> 'avoid time wasting confusion', then why even allow controls or >> objects with >> the same name? > > Yep - this has bothered me for a long time, too. I'd certainly support > a referendum to disallow objects with the same name, but I'm afraid it > would break backward compatibility. VB supports object instancing in > the form of group "America"[2], but I don't care much for the syntax. Maybe if there was an "instance" property of an object, so you could do: put the number of instances of group "America" put 10 into field 1 of instance 1 of group "America" put the long id of instance 2 of group "America" into tID (etc.) Just a thought... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From revdev at pdslabs.net Sat Jan 20 17:57:59 2007 From: revdev at pdslabs.net (Phil Davis) Date: Sat, 20 Jan 2007 14:57:59 -0800 Subject: Is this a bug? In-Reply-To: <26256733433.20070120122316@ahsoftware.net> References: <7aa52a210701200617u6dda4a34p2ebb98bca8be37b1@mail.gmail.com> <1787565E-C7A0-4F5C-A9F7-BA7400EB92F8@economy-x-talk.com> <7aa52a210701200657i6b374521oc372d2896a562a50@mail.gmail.com> <26256733433.20070120122316@ahsoftware.net> Message-ID: <45B29E77.2020400@pdslabs.net> Mark Wieder wrote: > Chipp- > > Saturday, January 20, 2007, 6:57:21 AM, you wrote: > >> 'avoid time wasting confusion', then why even allow controls or objects with >> the same name? > > Yep - this has bothered me for a long time, too. I'd certainly support > a referendum to disallow objects with the same name, but I'm afraid it > would break backward compatibility. VB supports object instancing in > the form of group "America"[2], but I don't care much for the syntax. > But the same-named object thing can sometimes be used to advantage. Consider this: on mouseUp put the groupIDs of this cd into tGroupList repeat for each line tTargetID in tGroupList switch (short name of grp id tTargetID) case "Section" doSectionStuff tTargetID break case "Page" doPageStuff tTargetID break case "Chapter" doChapterStuff tTargetID break end switch end repeat end mouseUp Admittedly, basing processing on the object name isn't the only way to do the above - just thought I would put my signature positive spin on yet another thing that can be an issue in certain contexts. :o) Phil Davis From dave.cragg at lacscentre.co.uk Sat Jan 20 19:45:08 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Sun, 21 Jan 2007 00:45:08 +0000 Subject: Is this a bug? In-Reply-To: <26256733433.20070120122316@ahsoftware.net> References: <7aa52a210701200617u6dda4a34p2ebb98bca8be37b1@mail.gmail.com> <1787565E-C7A0-4F5C-A9F7-BA7400EB92F8@economy-x-talk.com> <7aa52a210701200657i6b374521oc372d2896a562a50@mail.gmail.com> <26256733433.20070120122316@ahsoftware.net> Message-ID: On 20 Jan 2007, at 20:23, Mark Wieder wrote: > >> 'avoid time wasting confusion', then why even allow controls or >> objects with >> the same name? > > Yep - this has bothered me for a long time, too. I'd certainly support > a referendum to disallow objects with the same name, I assume any restriction on duplicate names would only apply at the same level within an object. Otherwise we'd have trouble with re- usable widgets made of grouped objects. For example, two "table widgets" on the same card should be named differently, but presumably not their component fields/buttons/sub-groups/etc. I.e. both tables can have buttons named "header". Dave From chipp at chipp.com Sat Jan 20 20:50:28 2007 From: chipp at chipp.com (Chipp Walters) Date: Sat, 20 Jan 2007 19:50:28 -0600 Subject: Is this a bug? In-Reply-To: References: <7aa52a210701200617u6dda4a34p2ebb98bca8be37b1@mail.gmail.com> <1787565E-C7A0-4F5C-A9F7-BA7400EB92F8@economy-x-talk.com> <7aa52a210701200657i6b374521oc372d2896a562a50@mail.gmail.com> <26256733433.20070120122316@ahsoftware.net> Message-ID: <7aa52a210701201750y714f3e55w743dd6f0f1caf966@mail.gmail.com> And Dave has demonstrated EXACTLY my problem with this. The simple fact is, I am creating grouped widgets, which I have differently named components within, which I would like to be able to address. Mark, your example also demonstrates the power of same named instances of object. I guess it all boils down to each of us trying our best to create reusable grouped components, each with the same codebase. A most difficult task. For instance, take altFldHeader which creates column headers for fields. ( go URL "http://www.gadgetplugins.com/altplugins/altFldHeader.rev" ) While it's been stable now for years, modifying old altFldHeaders still is a problem as each instance has all of the code embedded in the group. The same is true for many of my so called 'objects.' A benefit of this approach is it's easy to do exception programming and track code as well with everything being neatly packaged in a group. A big drawback is when you want to modify the codebase, you have to replace each group, especially if you end up adding a new control. Separating the 'object' into a GUI library group and a background library has it's own set of problems as well. You need to carefully track what libraries are still being used. For instanec, they have to be inited from a startup handler, so now you have at the minimum 3 different places for custom object 'pieces': the library stack script, the GUI control group, and a piece of init code in startup. You also need to be very careful using 'the target' and if you have other system handlers, you'll need to make sure they don't interfere, as they're called ALL THE TIME, instead of only when needed. I'm not crazy about this approach, unless you're coding something like libURL. (Note: this could be simplified a bit by inserting the script of the object into back, but the severe limitation on numbers of these makes it a poor idea. All you need is 10 altFldHeaders and you've used up all your allowed control inserts). Perhaps a dynamic pseudo-instancer scripted from an installer might be an interesting way to go. I don't know, I guess waiting until we get real objects is the best way to go. -Chipp On 1/20/07, Dave Cragg wrote: > > > > I assume any restriction on duplicate names would only apply at the > same level within an object. Otherwise we'd have trouble with re- > usable widgets made of grouped objects. For example, two "table > widgets" on the same card should be named differently, but presumably > not their component fields/buttons/sub-groups/etc. I.e. both tables > can have buttons named "header". > > Dave > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From chipp at chipp.com Sat Jan 20 21:09:35 2007 From: chipp at chipp.com (Chipp Walters) Date: Sat, 20 Jan 2007 20:09:35 -0600 Subject: Drag-Scrolling In-Reply-To: References: <674ADAFD-4B19-4F52-99F1-CA20C6DEE0F1@elementarysoftware.com> Message-ID: <7aa52a210701201809g1f0e431fia7379e08e4c6ada5@mail.gmail.com> Scott Rossi, I think it works, but I just keep seeing spots no matter where I scroll. Getting dizzy now. From sarah.reichelt at gmail.com Sat Jan 20 22:52:45 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 21 Jan 2007 13:52:45 +1000 Subject: Pic-a-POD and Wikipedia Picture of the day woes In-Reply-To: <1hs8ii2.1w4lxa416cbmlwM%mcdomi@free.fr> References: <1hs8ii2.1w4lxa416cbmlwM%mcdomi@free.fr> Message-ID: Hi Dom, I got your email and answered it. Then I wrote a fix and emailed you again asking if you would test it for me. I guess they got lost in some spam filter, so hopefully this will get through... If this gets to youand you don't mind, I will email you a new OS X version. Do you want UB or PPC? Cheers, Sarah On 1/20/07, Dom wrote: > Hi Sarah! > I sent you a message some days ago to the "troz" address about this... > > By going on the Wikipedia web site, it seems that Wikipedia has changed > its scheme for obtaining the Picture of the day as of January 1st; so > Pic-a-POD has some trouble retrieving this image -- it gets an image > some day and not another! > > By the way, I am a fan of Pic-a-POD to get great pictures :-) > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Sat Jan 20 23:46:55 2007 From: chipp at chipp.com (Chipp Walters) Date: Sat, 20 Jan 2007 22:46:55 -0600 Subject: altFont etc. In-Reply-To: <6A398AD1-18E7-46B0-8CCE-B0B0A494286F@major-k.de> References: <6A398AD1-18E7-46B0-8CCE-B0B0A494286F@major-k.de> Message-ID: <7aa52a210701202046l6e14e503yefc393421cad96a5@mail.gmail.com> Hi Klaus, altFont on Windows installs the font as long as the app is running, but then removes it when it quits. I forget how the Mac works, but I expect the documentation has the info. best, Chipp On 1/20/07, Klaus Major wrote: > > Hi friends, > > can someone give me a little technical hint about "altFont"? > > I can successfully "load" and "unload" a font, now my question: > How long will the loaded font be available if I do NOT unistall the > font? > > 1. As long as Rev is running or > 2. as long as Windows/the Mac is running (read: until the next > restart of either Rev or Win/ the Mac)? > > > Another question: > I just had a crash with Rev on Windows and the appropriate crashlog > file is a "*.DMP" > file of more than 12 (twelve!) MB!!!??? > > Is this the file I am supposed to attach to my bugzilla, ehm "Rev > quality center" report? > > Thanks in advance. > > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From lists at mangomultimedia.com Sun Jan 21 01:00:32 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 20 Jan 2007 22:00:32 -0800 Subject: (no subject) In-Reply-To: <06ef01c73cca$047b7a90$0f00a8c0@roblaptop> References: <06ef01c73cca$047b7a90$0f00a8c0@roblaptop> Message-ID: <56144E1C-7606-4355-AC5E-DA7C135214B5@mangomultimedia.com> On Jan 20, 2007, at 11:34 AM, Robert Mann wrote: > Thanks Trevor, > I got this working but is there a way to do this for selected columns > Something like > > gfields is a list of fields separated by comma > > > put "SHOW "& gfields &" COLUMNS FROM `" & gtable & "`" into theSQL > > this does not work get > > revdberr,You have an error in your SQL syntax; check the manual that > corresponds to your MySQL server version for the right syntax to > use near > '(addyrmodperm_id,tunername)COLUMNS FROM `addyrmodsize_permission`' > at line > 1 I haven't tried filtering before but maybe you can get some ideas from this page: -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From klaus at major-k.de Sun Jan 21 06:13:28 2007 From: klaus at major-k.de (Klaus Major) Date: Sun, 21 Jan 2007 12:13:28 +0100 (MET) Subject: altFont etc. In-Reply-To: <7aa52a210701202046l6e14e503yefc393421cad96a5@mail.gmail.com> References: <6A398AD1-18E7-46B0-8CCE-B0B0A494286F@major-k.de> <7aa52a210701202046l6e14e503yefc393421cad96a5@mail.gmail.com> Message-ID: <75D1AE7A-31F9-4EB5-91C0-9F5A91E5C475@major-k.de> Hi Chipp, > Hi Klaus, > > altFont on Windows installs the font as long as the app is running, > but then > removes it when it quits. I forget how the Mac works, but I expect the > documentation has the info. thank you very much for the info, that's what I guessed, but was not sure. Anyone any hint on my other question below? The 12 MB DMP crashlog file on windows? > best, > Chipp >> ... >> Another question: >> I just had a crash with Rev on Windows and the appropriate crashlog >> file is a "*.DMP" file of more than 12 (twelve!) MB!!!??? >> >> Is this the file I am supposed to attach to my bugzilla, ehm "Rev >> quality center" report? >> >> Thanks in advance. >> ... Regards Klaus Major klaus at major-k.de http://www.major-k.de From JimAultWins at yahoo.com Sun Jan 21 06:49:45 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Sun, 21 Jan 2007 03:49:45 -0800 Subject: calling a remote function.. In-Reply-To: Message-ID: On 1/20/07 6:51 AM, "David Bovill" wrote: > Now what would be great would be if you could use arrays to marshall the > data, but unfortunately arrays cannot be passed as params I am using arrays all the time and do the following when I want to 'delimit' an array for a variety of reasons. put userDataArray into pVar combine tempVar using cr and tab send "updateLog pVar" --and on the other end split pVar using cr and tab put pVar into userLogArr Split and combine are very fast in my experience. Of course you can now purge pVar before sending by: put userDataArray into pVar combine tempVar using cr and tab filter pVar with "*desiredDataRows*" filter pVar without "*unNeededDataRows*" send "updateLog pVar" Another (array.combine + filter) technique is to: set the itemDel to tab put tab into t get dataArray combine it using cr and tab filter it with ("*"&t& "toDo" &t&"*") repeat for each line LNN in it --maintenance task here put "done" into item 3 of dataArray[item 1 of LNN] end repeat --discard (it) since we are done updating -- assumes "toDo" is in a tab-delim column of the array element maryJohnArrive.jpg t 640 t 480 t toDo t resize t Party Photos t 1/1/07 t Jim Ault Las Vegas From robmann at gp-racing.com Sun Jan 21 09:02:11 2007 From: robmann at gp-racing.com (Robert Mann) Date: Sun, 21 Jan 2007 09:02:11 -0500 Subject: (no subject) In-Reply-To: <56144E1C-7606-4355-AC5E-DA7C135214B5@mangomultimedia.com> Message-ID: <07b501c73d64$c371d670$0f00a8c0@roblaptop> Thanks I looked at that site but did not find a way to filter it so I just ran the complete query then filtered it after seems to work fine Thanks Rob -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Trevor DeVore Sent: Sunday, January 21, 2007 1:01 AM To: How to use Revolution Subject: Re: (no subject) On Jan 20, 2007, at 11:34 AM, Robert Mann wrote: > Thanks Trevor, > I got this working but is there a way to do this for selected columns > Something like > > gfields is a list of fields separated by comma > > > put "SHOW "& gfields &" COLUMNS FROM `" & gtable & "`" into theSQL > > this does not work get > > revdberr,You have an error in your SQL syntax; check the manual that > corresponds to your MySQL server version for the right syntax to > use near > '(addyrmodperm_id,tunername)COLUMNS FROM `addyrmodsize_permission`' > at line > 1 I haven't tried filtering before but maybe you can get some ideas from this page: -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From mcdomi at free.fr Sun Jan 21 09:11:28 2007 From: mcdomi at free.fr (Dom) Date: Sun, 21 Jan 2007 15:11:28 +0100 Subject: Pic-a-POD and Wikipedia Picture of the day woes In-Reply-To: Message-ID: <1hsanbg.1ijb7eu17gqp3fM%mcdomi@free.fr> private answer sent From lan.kc.macmail at gmail.com Sun Jan 21 09:55:43 2007 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 21 Jan 2007 22:55:43 +0800 Subject: Extracting text from PDF In-Reply-To: <20070111204235.95459.qmail@web60513.mail.yahoo.com> References: <45A65D5C.1050303@fourthworld.com> <20070111204235.95459.qmail@web60513.mail.yahoo.com> Message-ID: On 1/12/07, Jan Schenkel wrote: > > > If this is Mac-only, you might be able to AppleScript > another application to get this information - > Preiew.app doesn't seem to be scriptable, but perhaps > another application could do the trick. Richard, if you are still looking for a solution, and it can be Mac only, have a look at TextEdit. It will open pdf files and is AppleScriptable. It wont work for all pdfs but if you are working with a 'standard' pdf that TextEdit will handle then it is easy to get the text into Rev. The company I work for produces reports in pdf and they are always in the same format that TextEdit will open and extract 100% of the text, no errors. Problems can arise if there are columns, tables, or text under images that is incorrectly places in the body of the text in the TextEdit version. HTH From robmann at gp-racing.com Sun Jan 21 10:23:22 2007 From: robmann at gp-racing.com (Robert Mann) Date: Sun, 21 Jan 2007 10:23:22 -0500 Subject: matchText Message-ID: <07c301c73d70$1b2b1bf0$0f00a8c0@roblaptop> I was using the following to match text matchText(tword1,tword) but I just relized that it is also selecting any strings that have that pattern, is there a way to only select exact matches? example tword1= record_id tword = record_id matchtext returns record_id orig_record_id only want it to return record_id Thanks Rob From got at mindspring.com Sun Jan 21 10:41:51 2007 From: got at mindspring.com (Gordon Tillman) Date: Sun, 21 Jan 2007 09:41:51 -0600 Subject: matchText In-Reply-To: <07c301c73d70$1b2b1bf0$0f00a8c0@roblaptop> References: <07c301c73d70$1b2b1bf0$0f00a8c0@roblaptop> Message-ID: <9BD56DDC-4479-470A-A929-800DEA8F23AB@mindspring.com> On Jan 21, 2007, at 09:23, Robert Mann wrote: > but I just relized that it is also selecting any strings that have > that > pattern, is there a way to only select exact matches? Robert you just need to add a bit to the regular expression part to tell it that you want to match the entire string. For example: matchText("record_id","^record_id$") -- returns true But matchText("orig_record_id","^record_id$") -- returns false The "^" at the start of the regex binds whatever follows to the very beginning of the string. The "$" at the end of the regex binds whatever comes before it to the very end of the string. --gordy From wjm at wjm.org Sun Jan 21 11:41:58 2007 From: wjm at wjm.org (Bill Marriott) Date: Sun, 21 Jan 2007 11:41:58 -0500 Subject: altFont etc. References: <6A398AD1-18E7-46B0-8CCE-B0B0A494286F@major-k.de> Message-ID: Klaus, > I just had a crash with Rev on Windows and the appropriate crashlog file > is a "*.DMP" file of more than 12 (twelve!) MB!!!??? > > Is this the file I am supposed to attach to my bugzilla, ehm "Rev quality > center" report? Yes. You probably have your Rev crash report setting set to "Medium" which is why it's giving you such a big file. (No wonder they didn't include a "Large" option!) At the small setting, I'm finding my crash files to be about 50K in size. As step 8 of the "create a new report" instructions say: "You can supply a URL to large files (>500K) such as sample stacks and detailed crash logs." This is because you cannot "attach" a file larger than that (i.e.: upload it directly) to the Quality Control Center. Of course, I would compress the file to a .zip archive before putting it on your server. From wjm at wjm.org Sun Jan 21 11:55:53 2007 From: wjm at wjm.org (Bill Marriott) Date: Sun, 21 Jan 2007 11:55:53 -0500 Subject: AltFont External On Intel Mac References: <86ae76bb0701191752g32244613x1dd5a83090197245@mail.gmail.com> Message-ID: Yes I'm having the same problem! The alFont external says it's universal binary, but doesn't load in my standalone... Ideas? > I was trying to work with the AltFont external, but I couldn't get it to > load as an external, while I was successful with the other externals. I > looked at the AltFont bundle, and discovered it was PPC. I have been able > to get it to work by forcing Revolution to run under Rosetta, but that is > definitely not a solution I would like use permanently . Is there any > other > solution to this, or is there a Universal Binary external somewhere? From wjm at wjm.org Sun Jan 21 12:07:52 2007 From: wjm at wjm.org (Bill Marriott) Date: Sun, 21 Jan 2007 12:07:52 -0500 Subject: Is this a bug? References: <7aa52a210701200617u6dda4a34p2ebb98bca8be37b1@mail.gmail.com> Message-ID: Scott, > That's weird -- I didn't even know this syntax was permitted. Actually when I was trying this stuff out I got an error, Script compile error: Error description: Function: missing ')' when using put exists (btn "UFOs" in grp "America") from the message box. Anyway about the original question -- the exists function works if you take out the "group" aspect. So I don't think this is a bug. From wjm at wjm.org Sun Jan 21 12:11:51 2007 From: wjm at wjm.org (Bill Marriott) Date: Sun, 21 Jan 2007 12:11:51 -0500 Subject: Is this a bug? References: <7aa52a210701200617u6dda4a34p2ebb98bca8be37b1@mail.gmail.com><1787565E-C7A0-4F5C-A9F7-BA7400EB92F8@economy-x-talk.com><7aa52a210701200657i6b374521oc372d2896a562a50@mail.gmail.com><26256733433.20070120122316@ahsoftware.net> <7aa52a210701201750y714f3e55w743dd6f0f1caf966@mail.gmail.com> Message-ID: Chipp, > And Dave has demonstrated EXACTLY my problem with this. The simple fact > is, > I am creating grouped widgets, which I have differently named components > within, which I would like to be able to address. Can't you name your groups "America[1]" and so on? If you need to make it easier to process with chunk expressions, you could name them "America 1" and use word 1, word 2. - Bill From robmann at gp-racing.com Sun Jan 21 12:14:47 2007 From: robmann at gp-racing.com (Robert Mann) Date: Sun, 21 Jan 2007 12:14:47 -0500 Subject: matchText In-Reply-To: <9BD56DDC-4479-470A-A929-800DEA8F23AB@mindspring.com> Message-ID: <07e501c73d7f$a888ff80$0f00a8c0@roblaptop> Don't think I am getting the syntext correct this is returning nothing matchText("tword1","^tword$") tword1 and tword are both variables Thanks Rob -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Gordon Tillman Sent: Sunday, January 21, 2007 10:42 AM To: How to use Revolution Subject: Re: matchText On Jan 21, 2007, at 09:23, Robert Mann wrote: > but I just relized that it is also selecting any strings that have > that > pattern, is there a way to only select exact matches? Robert you just need to add a bit to the regular expression part to tell it that you want to match the entire string. For example: matchText("record_id","^record_id$") -- returns true But matchText("orig_record_id","^record_id$") -- returns false The "^" at the start of the regex binds whatever follows to the very beginning of the string. The "$" at the end of the regex binds whatever comes before it to the very end of the string. --gordy _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major-k.de Sun Jan 21 12:24:48 2007 From: klaus at major-k.de (Klaus Major) Date: Sun, 21 Jan 2007 18:24:48 +0100 (MET) Subject: altFont etc. In-Reply-To: References: <6A398AD1-18E7-46B0-8CCE-B0B0A494286F@major-k.de> Message-ID: <69E113B9-339D-47AD-9535-828C2F26E5AC@major-k.de> Hi Bill, > Klaus, >> I just had a crash with Rev on Windows and the appropriate >> crashlog file >> is a "*.DMP" file of more than 12 (twelve!) MB!!!??? >> Is this the file I am supposed to attach to my bugzilla, ehm "Rev >> quality >> center" report? > Yes. You probably have your Rev crash report setting set to > "Medium" which > is why it's giving you such a big file. (No wonder they didn't > include a > "Large" option!) At the small setting, I'm finding my crash files > to be > about 50K in size. I see, thanks! > As step 8 of the "create a new report" instructions say: > "You can supply a URL to large files (>500K) such as sample stacks and > detailed crash logs." > > This is because you cannot "attach" a file larger than that (i.e.: > upload it > directly) to the Quality Control Center. Of course, I would > compress the > file to a .zip archive before putting it on your server. OK, the bug is reproducable, so I will set the crash setting to small and let it crash again :-) Regards Klaus Major klaus at major-k.de http://www.major-k.de From tereza at califex.com Sun Jan 21 12:44:10 2007 From: tereza at califex.com (Tereza Snyder) Date: Sun, 21 Jan 2007 11:44:10 -0600 Subject: Is this a bug? In-Reply-To: <45B29E77.2020400@pdslabs.net> References: <7aa52a210701200617u6dda4a34p2ebb98bca8be37b1@mail.gmail.com> <1787565E-C7A0-4F5C-A9F7-BA7400EB92F8@economy-x-talk.com> <7aa52a210701200657i6b374521oc372d2896a562a50@mail.gmail.com> <26256733433.20070120122316@ahsoftware.net> <45B29E77.2020400@pdslabs.net> Message-ID: <658F0666-71CC-4F75-ACF8-0BFF7C9A6613@califex.com> On Jan 20, 2007, at 4:57 PM, Phil Davis wrote: > Mark Wieder wrote: >> Chipp- >> Saturday, January 20, 2007, 6:57:21 AM, you wrote: >>> 'avoid time wasting confusion', then why even allow controls or >>> objects with >>> the same name? >> Yep - this has bothered me for a long time, too. I'd certainly >> support >> a referendum to disallow objects with the same name, but I'm >> afraid it >> would break backward compatibility. VB supports object instancing in >> the form of group "America"[2], but I don't care much for the syntax. > But the same-named object thing can sometimes be used to advantage. > Consider this: > > on mouseUp > put the groupIDs of this cd into tGroupList > repeat for each line tTargetID in tGroupList > switch (short name of grp id tTargetID) > case "Section" > doSectionStuff tTargetID > break > case "Page" > doPageStuff tTargetID > break > case "Chapter" > doChapterStuff tTargetID > break > end switch > end repeat > end mouseUp > I use Phil's suggested strategy - of having multiple objects with the same name, and using the name as a kind of visible and easily scriptable 'type' property - all the time. I find it a great convenience. In addition, when I deploy compound objects that I want to update and refine (like Chipp's AltFldHeader), I append a suffix to the control name of each instance, e.g. MyComplexGroup_1, and update the groups with a utility script that locates and replaces all the groups in a project stack. The tricky part was getting the layer right, preserving the size, and transferring custom properties. But now that the work is done, I just click a button in the stack where I develop the group and presto! all instances are updated. It does take a bit of discipline though, to be strict about naming. I too long for the day when we have real custom controls! t - Tereza Snyder Califex Software, Inc. www.califexsoftware.com From got at mindspring.com Sun Jan 21 12:50:19 2007 From: got at mindspring.com (Gordon Tillman) Date: Sun, 21 Jan 2007 11:50:19 -0600 Subject: matchText In-Reply-To: <07e501c73d7f$a888ff80$0f00a8c0@roblaptop> References: <07e501c73d7f$a888ff80$0f00a8c0@roblaptop> Message-ID: <51338EC9-465E-4FA9-AD9A-DA9B2258C9FE@mindspring.com> Howdy Robert, On Jan 21, 2007, at 11:14, Robert Mann wrote: > Don't think I am getting the syntext correct this is returning nothing > matchText("tword1","^tword$") > tword1 and tword are both variables Yep for the second argument to the matchText() function, you need to construct the regular expression so that it contains "^" as the first character, followed by the contents of your variable, followed by the "$" character. In RR you can concatenate strings with the "&" operator, so you could do something like this for your second argument: "^ & tword & "$" For your first argument, you would just your tword1 by itself. If you put it in quotes like in your example, you are matching the literal string "tword1". --g From cszasz at mac.com Sun Jan 21 12:57:15 2007 From: cszasz at mac.com (Charles Szasz) Date: Sun, 21 Jan 2007 12:57:15 -0500 Subject: Printing question Message-ID: I have been using Dan Shafer's excellent book on printing has help me a great deal iwith my project. But I have a question. I have three cards that I want to print. Each card has a button that has to be hidden and one card has a group three radio buttons that have to be hidden. I am using lock screen and unlock screen with the hide and show commands to hide the buttons and radio buttons. Here is my question, how do I incorporate printing each card with different elements to be hidden and shown in the printing script that is in one print button? Charles Szasz cszasz at mac.com From mwieder at ahsoftware.net Sun Jan 21 13:21:12 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 21 Jan 2007 10:21:12 -0800 Subject: Is this a bug? In-Reply-To: <45B29E77.2020400@pdslabs.net> References: <7aa52a210701200617u6dda4a34p2ebb98bca8be37b1@mail.gmail.com> <1787565E-C7A0-4F5C-A9F7-BA7400EB92F8@economy-x-talk.com> <7aa52a210701200657i6b374521oc372d2896a562a50@mail.gmail.com> <26256733433.20070120122316@ahsoftware.net> <45B29E77.2020400@pdslabs.net> Message-ID: <1886369128.20070121102112@ahsoftware.net> Phil- Saturday, January 20, 2007, 2:57:59 PM, you wrote: > Admittedly, basing processing on the object name isn't the only way to do the > above - just thought I would put my signature positive spin on yet another thing > that can be an issue in certain contexts. :o) That's actually quite clever. It wouldn't have occured to me to use the object name that way. Of course, you're cheating by doing things the Right Way: using the id of the object to generate a unique identifier, then using the name as Just Another Property. You could just as easily have set a custom property and said switch (the uTagType of grp id tTargetID) -- -Mark Wieder mwieder at ahsoftware.net From david at openpartnership.net Sun Jan 21 13:27:27 2007 From: david at openpartnership.net (David Bovill) Date: Sun, 21 Jan 2007 10:27:27 -0800 Subject: calling a remote function.. In-Reply-To: References: Message-ID: The pity is you cannot use arrays with getprop and setprop handlers - that is you cant pass them as parameters to getprop and setprop handlers. This would completely overcome the limitations regarding the number of params you can use with getprop and setprop handlers and alow more elegant syntax for general message passing. From scott at elementarysoftware.com Sun Jan 21 00:30:42 2007 From: scott at elementarysoftware.com (Scott Morrow) Date: Sat, 20 Jan 2007 21:30:42 -0800 Subject: Drag-Scrolling In-Reply-To: References: Message-ID: <8178C53F-FF48-4828-8326-AB9AF3DC8277@elementarysoftware.com> Scott, Thank you so much! That did the trick beautifully and I'm sure saved me a bunch of time. -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com ----------------------------------------------------------------- On Jan 20, 2007, at 12:40 PM, Scott Rossi wrote: > Recently, Scott Morrow wrote: > >> As an alternative to grabbing the scroll bars of the group I would >> like to be able to scroll a group of objects by clicking in the >> middle of the group and dragging. This hadn't seemed like it should >> be that tricky but I'm bumping my head. Any suggestions? > > Hey Scott: > > I just found the following among some test stacks -- maybe it's > close to > what you're looking for. > > go url "http://www.tactilemedia.com/download/dragscroll.rev" > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Sun Jan 21 13:43:18 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 21 Jan 2007 10:43:18 -0800 Subject: Is this a bug? In-Reply-To: <7aa52a210701201750y714f3e55w743dd6f0f1caf966@mail.gmail.com> References: <7aa52a210701200617u6dda4a34p2ebb98bca8be37b1@mail.gmail.com> <1787565E-C7A0-4F5C-A9F7-BA7400EB92F8@economy-x-talk.com> <7aa52a210701200657i6b374521oc372d2896a562a50@mail.gmail.com> <26256733433.20070120122316@ahsoftware.net> <7aa52a210701201750y714f3e55w743dd6f0f1caf966@mail.gmail.com> Message-ID: <1367694854.20070121104318@ahsoftware.net> Chipp- Saturday, January 20, 2007, 5:50:28 PM, you wrote: > Mark, your example also demonstrates the power of same named instances of > object. I guess it all boils down to each of us trying our best to create > reusable grouped components, each with the same codebase. A most difficult > task. Indeed. I've resorted to using the long id of objects in order to sort things out. This mostly works, as long as you keep things dynamic so you don't get stuck with referring to an object that has since been placed inside another group. -- -Mark Wieder mwieder at ahsoftware.net From david at openpartnership.net Sun Jan 21 13:55:31 2007 From: david at openpartnership.net (David Bovill) Date: Sun, 21 Jan 2007 10:55:31 -0800 Subject: Is this a bug? In-Reply-To: <7aa52a210701201750y714f3e55w743dd6f0f1caf966@mail.gmail.com> References: <7aa52a210701200617u6dda4a34p2ebb98bca8be37b1@mail.gmail.com> <1787565E-C7A0-4F5C-A9F7-BA7400EB92F8@economy-x-talk.com> <7aa52a210701200657i6b374521oc372d2896a562a50@mail.gmail.com> <26256733433.20070120122316@ahsoftware.net> <7aa52a210701201750y714f3e55w743dd6f0f1caf966@mail.gmail.com> Message-ID: On 20/01/07, Chipp Walters wrote: > > And Dave has demonstrated EXACTLY my problem with this. The simple fact > is, > I am creating grouped widgets, which I have differently named components > within, which I would like to be able to address. I have gone through using names (the problem you have now) - then ids (don"t work when you copy the object to another stack = new id, - id indexes automatically updated - a pain - and at the moment I use long ids and getprop handlers - which seems to be working OK. I am not quite sure hw to use simple names at the moment - my inclination is to leave this up to the user and allow them to rename them as they see fit to make it easy for them to use the components in a natural way - the trick is then to have a "meta" way to refer to the "views" and their classes. Mark, your example also demonstrates the power of same named instances of > object. I guess it all boils down to each of us trying our best to create > reusable grouped components, each with the same codebase. A most difficult > task. I have a library of components I call views and a way of automatically keeping an index of all instances of the views so that they can then be all updated . I use newgroup and deletegroup messages and search down througn the groups for nested compnents. For instance, take altFldHeader which creates column headers for fields. > ( go URL "http://www.gadgetplugins.com/altplugins/altFldHeader.rev" ) > > While it's been stable now for years, modifying old altFldHeaders still is > a > problem as each instance has all of the code embedded in the group. The > same > is true for many of my so called 'objects.' A benefit of this approach is > it's easy to do exception programming and track code as well with > everything > being neatly packaged in a group. A big drawback is when you want to > modify > the codebase, you have to replace each group, especially if you end up > adding a new control. If you are looking at this Chipp - I'd appreciate some feedback on the way I am doing it _ I've got a copy of altFldHeader as a view that I made a while back now as a test on principle. Separating the 'object' into a GUI library group and a background library > has it's own set of problems as well. You need to carefully track what > libraries are still being used. For instanec, they have to be inited from > a > startup handler, so now you have at the minimum 3 different places for > custom object 'pieces': the library stack script, the GUI control group, > and > a piece of init code in startup. At the moment "views" (the GUI control group) can use libraries - and therefore have a dependency property for this. I think the only way is to have a global database of keeping track of the connections such as these and using system events to ensure they are kept up to date. That is a "model" of these connections kept in memory. > You also need to be very careful using 'the > target' and if you have other system handlers, you'll need to make sure > they > don't interfere, as they're called ALL THE TIME, instead of only when > needed. I'm not crazy about this approach, unless you're coding something > like libURL A naming convention like uRIP is the only way to go here at the moment for libraries - I use over 20 libraries at the moment and have renamed all the handlers (nearly) to fit the naming convention. I am intrigued at the moment by how useful naming conventions are - as they also allow scripts to auto-magically use the names to refer to other properties - I picked this up from the MVC frameworks like RubyOnRails. For instance in you have a property like "view_Colour" a script can automatically look for a property called "view_Colours" to draw a menu or check for a legal value. From david at openpartnership.net Sun Jan 21 14:16:10 2007 From: david at openpartnership.net (David Bovill) Date: Sun, 21 Jan 2007 11:16:10 -0800 Subject: Load and stacks... Message-ID: I have not used "load" much... just starting some experiments. Am I right that you can "load" stacks and then go to the url and it will fetch the stack from the cache? The other thing I cannot figure out is how to find out the name of the file in the cache (and where the cache is). Has anyone hacked this? It would be nice to store the cache somewhere permanent and take advantage of the asynch load. From cszasz at mac.com Sun Jan 21 14:43:38 2007 From: cszasz at mac.com (Charles Szasz) Date: Sun, 21 Jan 2007 14:43:38 -0500 Subject: Rev Printing Problem Message-ID: <0A371B9F-ED28-4AFD-8333-39933442D3EB@mac.com> I have been using Dan Shafer's excellent book on printing has help me a great deal with my project. But I have a question. I have three cards that I want to print. Each card has a button that has to be hidden and one card has a group three radio buttons that have to be hidden. I am using lock screen and unlock screen with the hide and show commands to hide the buttons and radio buttons. Here is my question, how do I incorporate printing each card with different elements to be hidden and shown in the printing script that is in one print button? Charles Szasz cszasz at mac.com From list at dreamscapesoftware.com Sun Jan 21 15:12:54 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Sun, 21 Jan 2007 14:12:54 -0600 Subject: ANN: JPEGCompress 2.8 Message-ID: <45B3C946.4000800@dreamscapesoftware.com> Fellow Developers, I have finally released JPEGCompress 2.8! Made with Runtime Revolution (and a few other programs as well), this version includes some much needed improvements like better batch processing, improved QuickTime support and Image Effects. While not a specific RunRev utility, I would appreciate any feedback regarding the software and any errors you may encounter. http://www.dreamscapesoftware.com/products/jpegcompress/ Thanks to everyone for the help, and thanks to the folks at RunRev for making such an excellent development environment! Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ From mail at richard-hillen.de Sun Jan 21 15:26:26 2007 From: mail at richard-hillen.de (R. Hillen) Date: Sun, 21 Jan 2007 21:26:26 +0100 (MET) Subject: html to pure text In-Reply-To: <20070121180005.7D7534891B5@mail.runrev.com> References: <20070121180005.7D7534891B5@mail.runrev.com> Message-ID: Hello list, I suspect, there is a very simple solution, which I dont?t find: How to transcode "&" to "&" or "ß" to "?"? Thank you in advance, Richard. From mark at maseurope.net Sun Jan 21 15:34:34 2007 From: mark at maseurope.net (Mark Smith) Date: Sun, 21 Jan 2007 20:34:34 +0000 Subject: html to pure text In-Reply-To: References: <20070121180005.7D7534891B5@mail.runrev.com> Message-ID: <4319DEB1-8ABF-4FE5-8146-2697A5BB565A@maseurope.net> Well, assuming that you want to display the text, if your HTML in a variable "someHtml" then you can set the htmlText of fld "someField" to someHtml. Best, Mark On 21 Jan 2007, at 20:26, R. Hillen wrote: > Hello list, > > I suspect, there is a very simple solution, which I dont?t find: > > How to transcode "&" to "&" or "ß" to "?"? > > Thank you in advance, > > Richard._______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From r.venzl-schubert at t-online.de Sun Jan 21 16:49:15 2007 From: r.venzl-schubert at t-online.de (Reinhold Venzl-Schubert) Date: Sun, 21 Jan 2007 22:49:15 +0100 Subject: use-revolution Digest, Vol 40, Issue 30 In-Reply-To: <20070119152644.898284890D7@mail.runrev.com> References: <20070119152644.898284890D7@mail.runrev.com> Message-ID: Hello Brent, I had studied thoroughly the database library of Revolution and the SQL-Tutorial before. But that did not saved me from going a wrong way. Unfortunately I became aware of it, when I worked some time at my database junction. Creating the db, filling it, selecting information and at least changing them. Now I use revDataFromQuery too and hope I will be more successful. Thanks for your suggestion! Reinhold Am 19.01.2007 um 16:26 schrieb use-revolution-request at lists.runrev.com: > Hello. > > Although there are many database functions provided with Revolution, > I prefer opening a connection and making SQL calls using > revDataFromQuery. A full tutorial on SQL can be found at > www.w3schools.com/sql/ that goes over everything you need to know to > work with any SQL database. > > Thanks, > Brent Anderson > CMSEC > > > On Jan 18, 2007, at 5:32 PM, Reinhold Venzl-Schubert wrote: > >> Hi, >> >> I need a small lesson in using database: >> >> 1. I created a db (using SQLite3) with several fields. One of them >> is a boolean field. It is corresponding to a checkbox button in the >> card of my stack. Only one record of the database is displayed on >> the card. >> >> 2. I built a query that selects some of the records of my db and >> sorts them by some fields. >> >> 3. With a forward and backward button >revdb_movenext(recordSetID)< >> and >revdb_moveprev(recordSetID)< I navigate through the records of >> the recordSet. >> >> 4. With a script >set the hilite of btn "checkbox" to >> revdb_columnbynumber(recordSetID,5)< I display the database fields >> of the actual record in the fields of my card. >> >> 5. Then I wrote a script for the checkbox button >revdb_execute >> (recordSetID,tSQL)< with tSQL like: >UPDATE my_db SET checkbox = >> "true" .... < and so on. I tested it with the SQLite Database >> Browser: the changes have been saved. >> >> 6. When I use my forward and backward button, to switch to the next >> record and then back to the changed record I do not see the change >> in my field or in my special case, the checkbox is not hilited. >> >> 7. When I close the current cursor (recordSet) and make a new query >> the checkbox is hilited. >> >> I learned that the UPDATE-script changes the database but it do not >> change the cursor (recordSet). >> But the forward/backward button do not display the content of the >> database but the content of the current cursor (recordSet). >> >> - How can I get the content of the database? >> - Do I have to make a new query after every change of fields? >> - Or is it better to use the revdb_query funktion only to get a >> sorted list of primary keys of the wanted records and to use the >> revdb_querylist funktion to display the content of the db fields on >> the card? >> >> I am rather confused. >> >> Reinhold From robmann at gp-racing.com Sun Jan 21 17:34:54 2007 From: robmann at gp-racing.com (Robert Mann) Date: Sun, 21 Jan 2007 17:34:54 -0500 Subject: last char Message-ID: <083601c73dac$63149130$0f00a8c0@roblaptop> I have a list that is separated by commas and need to check to make sure that the last char is not a comma I tried this but does not remove the comma, it does however see that the last char is a comma, just not sure how to remove it? IF last char of colnames is comma THEN replace last char with empty in colnames END IF Thanks Rob From klaus at major-k.de Sun Jan 21 17:39:46 2007 From: klaus at major-k.de (Klaus Major) Date: Sun, 21 Jan 2007 23:39:46 +0100 (MET) Subject: last char In-Reply-To: <083601c73dac$63149130$0f00a8c0@roblaptop> References: <083601c73dac$63149130$0f00a8c0@roblaptop> Message-ID: Hi Robert, > I have a list that is separated by commas and need to check to make > sure > that the last char is not a comma I tried this but does not remove the > comma, it does however see that the last char is a comma, just not > sure how > to remove it? > > > IF last char of colnames is comma THEN delete last char of colnames > END IF :-) > Thanks > > Rob Regards Klaus Major klaus at major-k.de http://www.major-k.de From hershf at rgllc.us Sun Jan 21 17:54:15 2007 From: hershf at rgllc.us (Hershel Fisch) Date: Sun, 21 Jan 2007 17:54:15 -0500 Subject: Is it possible with rev In-Reply-To: <45B02CFB.6090901@fourthworld.com> Message-ID: On 1/18/07 9:29 PM, "Richard Gaskin" wrote: > Hershel Fisch wrote: >> Hi all I'v an beautiful phone dialer and wroks, written in real basic, is it >> possible to do it with RR? >> http://www.macronsoft.com/pages/en/products.html > > Looks like a nifty tool. > > I'm probably just missing something obvious here, but if it's already > written and shipping with RB what's the benefit of rebuilding with Rev? I do just don't feel like rewriting my rev app to RB because of this thing. Hershel From rishi at puredata.com.au Sun Jan 21 18:00:10 2007 From: rishi at puredata.com.au (Rishi Viner) Date: Mon, 22 Jan 2007 10:00:10 +1100 Subject: StackRunner and MySQL In-Reply-To: References: Message-ID: <200701221000.10609.rishi@puredata.com.au> On Thursday 18 January 2007 06:47, Sieg Lindstrom wrote: > Thanks for the suggestion, Ken. I tried it as follows. StackRunner is in > the same folder that contains the folder "Externals." Here's the syntax I > used... > > revSetDatabaseDriverPath "/Externals/Database Drivers" > > That didn't fix the problem. Any other suggestions? Not sure if you have the right syntax here. Should it be looking relevant to the StackRunner path or the actual stack path (which may be different). Anyway, following your example you would want to drop the leading "/" wouldn't you? try: revSetDatabaseDriverPath "Externals/Database Drivers" Good luck, Rishi. From cszasz at mac.com Sun Jan 21 18:03:17 2007 From: cszasz at mac.com (Charles Szasz) Date: Sun, 21 Jan 2007 18:03:17 -0500 Subject: A Standalone Win Build Problem Message-ID: <8168D888-699B-4044-8A34-E8A2CD7DCD91@mac.com> I finally completed my project. I compiled for both the Macintosh and Windows. The Mac version looks true to what was on my Mac laptop. However, the Windows version of my project does not show any of the text I used in label and buttons cannot be seen. And if you enter text or numbers in the entry fields they cannot be seen! I used Arial fonts throughout the project. How can I correct this problem. Charles Szasz cszasz at mac.com From kray at sonsothunder.com Sun Jan 21 18:04:32 2007 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 21 Jan 2007 17:04:32 -0600 Subject: last char In-Reply-To: References: <083601c73dac$63149130$0f00a8c0@roblaptop> Message-ID: <20070121170432072084.86f001b8@sonsothunder.com> On Sun, 21 Jan 2007 23:39:46 +0100 (MET), Klaus Major wrote: > Hi Robert, > >> I have a list that is separated by commas and need to check to make sure >> that the last char is not a comma I tried this but does not remove the >> comma, it does however see that the last char is a comma, just not sure how >> to remove it? >> >> >> IF last char of colnames is comma THEN > delete last char of colnames >> END IF Yeah, I have a generic fuction called "KLC" (kill last character) that does it... like this: put KLC(colnames,",") into colnames function KLC pWhat, pChar if char -1 of pWhat = pChar then delete char -1 of pWhat return pWhat end KLC HTH, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From dan at shafermedia.com Sun Jan 21 18:17:03 2007 From: dan at shafermedia.com (Dan Shafer) Date: Sun, 21 Jan 2007 15:17:03 -0800 Subject: Printing question In-Reply-To: References: Message-ID: <70ed6b130701211517q29496cdan5dcfada10ffe83c4@mail.gmail.com> Charles, While it's a little hard for me to be sure what you're trying to do here, I think I get it. At least this should get you headed in the right direction. Faced with the task I think you're asking about, I'd do the following: 1. Lock the screen 2. Hide the appropriate elements on each of the cards to be printed. (You can use "hide button 1 of card 43" for example without navigating to the card in question. 3. Use open printing to set up a batch print job. 4. Order the printing of the three cards in a loop or just by separate print commands 5. Close printing to force the queue to print. 6. Show the hidden controls 7. Unlock the screen if necessary Make sense? Dan On 1/21/07, Charles Szasz wrote: > > I have been using Dan Shafer's excellent book on printing has help me > a great deal iwith my project. But I have a question. I have three > cards that I want to print. Each card has a button that has to be > hidden and one card has a group three radio buttons that have to be > hidden. I am using lock screen and unlock screen with the hide and > show commands to hide the buttons and radio buttons. Here is my > question, how do I incorporate printing each card with different > elements to be hidden and shown in the printing script that is in one > print button? > > > > > Charles Szasz > cszasz at mac.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From hershf at rgllc.us Sun Jan 21 18:39:28 2007 From: hershf at rgllc.us (Hershel Fisch) Date: Sun, 21 Jan 2007 18:39:28 -0500 Subject: Is it possible with rev In-Reply-To: Message-ID: On 1/18/07 11:55 PM, "Jim Ault" wrote: > > On 1/18/07 7:19 PM, "Brent Anderson" wrote: > >> Sarah, you're right that it would be accessible through AppleScript, >> but I believe the question was if it was possible or not. >> >> Touch-Tone dialing via speaker is definitely possible and you could >> probably do it in a few minutes. Modem dialing, however, is a >> different story. Revolution does have full driver support, so I'd >> assume that you could, but I don't know where you'd begin in sending >> touch-tone messages across the modem. > I don't know much about the auto dialer requirements but I would think you > could start with modem: I goggled around a bit, this is the most I came up with but I don't see it working Thanks, Hershel > > Mac > open file "modem:" > write "ATZ" to file "modem:" > write "ATDT8008895555" to file "modem:" > --- in the docs where you write, read, etc > > Win uses com1: > > To set the port parameters (such as baud rate, handshaking, and parity), set > the serialControlString property before opening the port with the open file > command. > > To read data from the modem port, use the read from file command, specifying > the keyword modem: as the file to read from. > > Looks like it might do the job. > > Jim Ault > Las Vegas > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dave.cragg at lacscentre.co.uk Sun Jan 21 18:53:01 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Sun, 21 Jan 2007 23:53:01 +0000 Subject: Load and stacks... In-Reply-To: References: Message-ID: <26DFB2B5-F673-4784-B16F-9F4032540B1C@lacscentre.co.uk> On 21 Jan 2007, at 19:16, David Bovill wrote: > I have not used "load" much... just starting some experiments. Am I > right > that you can "load" stacks and then go to the url and it will fetch > the > stack from the cache? That's right. But don't be misled by thinking this is a special feature of stacks that are downloaded by "load url". You can "go" to any stack whose file data is held in any kind of "data container" such as a variable, custom property or url. The following will work too: on mouseUp answer file "" if it is not empty then put url ("binfile:" & it) into tStackData go tStackData end if end mouseUp As any data retrieved by "load url" is held in a cache, and as subsequent calls using "get url" will retrieve the data from the cache, using "go url "http://whatever/whatever.rev" is just taking advantage of the above feature. (What I'm trying to say is that "load/ get url" wasn't designed with the idea of opening stacks in mind. The ability to do that is just a consequence of an already existing feature.) > > The other thing I cannot figure out is how to find out the name of > the file > in the cache Do you mean the name of the file, or the name of the stack? The cachedUrls() function will return of the currently cached URLs. I don't know of a straightforward way to get the name of a stack in the url cache. Possible ways are to "toplevel" the url and then immediately get the name of the topStack, or write the url to a local file and get the stack name from the file. > (and where the cache is). It's just a local script variable in the libUrl script. > It would be > nice to store the cache somewhere permanent and take advantage of > the asynch > load. You could use libUrlDownloadToFile to do an asynchronous load directly to a file instead of the cache. Or in the callback message for load, save the url to a local file. For example: load url myUrl with message "loaded" on loaded pUrl, pStatus if pStatus = "cached" then put url pUrl into url ("binfile:" & pathToLocalFile) end if unload url pUrl end loaded Cheers Dave From hershf at rgllc.us Sun Jan 21 19:12:45 2007 From: hershf at rgllc.us (Hershel Fisch) Date: Sun, 21 Jan 2007 19:12:45 -0500 Subject: Is it possible with rev In-Reply-To: Message-ID: > I don't know much about the auto dialer requirements but I would think you > could start with modem: > > Mac > open file "modem:" > write "ATZ" to file "modem:" > write "ATDT8008895555" to file "modem:" > --- in the docs where you write, read, etc > I tried the above and played around a bit and all it did is created a file in my RR folder named "modem\" and put the above into it. What I understand is that it needs to be located the modem port or file in order to do that Thanks, Hershel From revdev at pdslabs.net Sun Jan 21 19:39:06 2007 From: revdev at pdslabs.net (Phil Davis) Date: Sun, 21 Jan 2007 16:39:06 -0800 Subject: html to pure text In-Reply-To: <4319DEB1-8ABF-4FE5-8146-2697A5BB565A@maseurope.net> References: <20070121180005.7D7534891B5@mail.runrev.com> <4319DEB1-8ABF-4FE5-8146-2697A5BB565A@maseurope.net> Message-ID: <45B407AA.1020206@pdslabs.net> This is also a good way to make sure 'entity' chars display correctly in the field of a cross-platform Rev app regardless of the platform. Set up the field text on your favorite platform, store the htmlText of the field in a custom property; then upon openStack (or whatever your trigger is) set the htmlText of the field to what's in the custom prop. This bypasses the need for using macToIso() and isoToMac() functions. Phil Davis Mark Smith wrote: > Well, assuming that you want to display the text, if your HTML in a > variable "someHtml" then you can > set the htmlText of fld "someField" to someHtml. > > Best, > > Mark > > On 21 Jan 2007, at 20:26, R. Hillen wrote: > >> Hello list, >> >> I suspect, there is a very simple solution, which I dont?t find: >> >> How to transcode "&" to "&" or "ß" to "?"? >> >> Thank you in advance, >> >> Richard From wjm at wjm.org Sun Jan 21 22:35:45 2007 From: wjm at wjm.org (Bill Marriott) Date: Sun, 21 Jan 2007 22:35:45 -0500 Subject: A Standalone Win Build Problem References: <8168D888-699B-4044-8A34-E8A2CD7DCD91@mac.com> Message-ID: Just an idea -- turn ClearType on, on the Windows platform. Control Panel--> Display--> Appearance Tab--> Effects--> [x] Font Smoothing: ClearType "Charles Szasz" wrote in message news:8168D888-699B-4044-8A34-E8A2CD7DCD91 at mac.com... >I finally completed my project. I compiled for both the Macintosh and >Windows. The Mac version looks true to what was on my Mac laptop. However, >the Windows version of my project does not show any of the text I used in >label and buttons cannot be seen. And if you enter text or numbers in the >entry fields they cannot be seen! I used Arial fonts throughout the >project. How can I correct this problem. From revolution at jaedworks.com Sun Jan 21 15:07:06 2007 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Sun, 21 Jan 2007 12:07:06 -0800 Subject: Printing question In-Reply-To: References: Message-ID: At 12:57 PM -0500 1/21/2007, Charles Szasz wrote: >I have been using Dan Shafer's excellent book on printing has help >me a great deal iwith my project. But I have a question. I have >three cards that I want to print. Each card has a button that has to >be hidden and one card has a group three radio buttons that have to >be hidden. I am using lock screen and unlock screen with the hide >and show commands to hide the buttons and radio buttons. Here is my >question, how do I incorporate printing each card with different >elements to be hidden and shown in the printing script that is in >one print button? If I understand your question right, you want to print all three cards (with the controls correctly hidden) in a single print job - is that right? You can do this by using open printing and close printing: open printing -- optionally add "with dialog" if you want the print dialog box hide button "Unprintable" of card 1 print card 1 show button "Unprintable" of card 1 hide button "Dont Print Me" of card 2 print card 2 show button "Dont Print Me" of card 2 hide button "Please no pictures" of card 3 hide group "Eek!" of card 3 print card 3 show group "Eek!" of card 3 show button "Please no pictures" of card 3 close printing -- prints all three cards -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From rev at armbase.com Mon Jan 22 04:28:06 2007 From: rev at armbase.com (rev at armbase.com) Date: Mon, 22 Jan 2007 09:28:06 +0000 Subject: mac help needed Message-ID: <20070122092806.nid7h2etcsy88s04@webmail.armbase.com> Hi All. I've not been around recently, see you all soon, however....I Need your help. THis is not a rev question but a mac question. One of the Prof's here is giving a statistics tutorial. He uses a program called SuperANOVA. He is the registered user, but has it on an old blueberry iMac running OS 9.2. He has lost the discs and the iMac doesn't have video out to an external projector (well I cant see one). He would like to use this on his powerbook. I thought he could simply copy the app folder over, however, it wont run. I cannot see anything related to the app in another folder. He cannot contact the company (abacus systems) because they are defunct (website is now a financial company). Is there a way to find the files associated with this app on his machine (he needs a backup anyway) so we can run it to show the students proper stats. If we copied the hard disc over to an external hard drive and ran it from that disc would the app run or are mac apps pathway specific? Any help appreciated. Cheers Bob From m.schonewille at economy-x-talk.com Mon Jan 22 05:00:55 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 22 Jan 2007 11:00:55 +0100 Subject: [OT] mac help needed In-Reply-To: <20070122092806.nid7h2etcsy88s04@webmail.armbase.com> References: <20070122092806.nid7h2etcsy88s04@webmail.armbase.com> Message-ID: Hi Bob, Is the PowerBook running Mac OS X or Mac OS 9? What does "it won't run" mean exactly, does it do anything at all, like starting up and quitting immediately? You should be able to copy the entire hard disk, but it won't help if you don't run it on exactly the same machine, because the system software will run on the same type of iMac only. (If you decide to copy the hard disk over the network, don't copy more than 2 Gig at a time). Normally, Mac programmes are not "path specific", but there may be safety measures built into the application, making it path-specific. Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 22-jan-2007, om 10:28 heeft rev at armbase.com het volgende geschreven: > Hi All. > I've not been around recently, see you all soon, however....I Need > your help. > > THis is not a rev question but a mac question. > > One of the Prof's here is giving a statistics tutorial. He uses a > program called > SuperANOVA. He is the registered user, but has it on an old > blueberry iMac > running OS 9.2. > > He has lost the discs and the iMac doesn't have video out to an > external > projector (well I cant see one). > > He would like to use this on his powerbook. I thought he could > simply copy the > app folder over, however, it wont run. I cannot see anything > related to the app > in another folder. > > He cannot contact the company (abacus systems) because they are > defunct (website > is now a financial company). Is there a way to find the files > associated with > this app on his machine (he needs a backup anyway) so we can run it > to show the > students proper stats. > > If we copied the hard disc over to an external hard drive and ran > it from that > disc would the app run or are mac apps pathway specific? > > Any help appreciated. > > Cheers > Bob > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From rev at armbase.com Mon Jan 22 05:12:10 2007 From: rev at armbase.com (rev at armbase.com) Date: Mon, 22 Jan 2007 10:12:10 +0000 Subject: [OT] mac help needed In-Reply-To: References: <20070122092806.nid7h2etcsy88s04@webmail.armbase.com> Message-ID: <20070122101210.kr65r0nq67mogooc@webmail.armbase.com> Quoting Mark Schonewille : > Hi Bob, Hi Mark > > Is the PowerBook running Mac OS X or Mac OS 9? What does "it won't > run" mean exactly, does it do anything at all, like starting up and > quitting immediately? You should be able to copy the entire hard > disk, but it won't help if you don't run it on exactly the same > machine, because the system software will run on the same type of > iMac only. (If you decide to copy the hard disk over the network, The powerbook is a new one and runs OSX but he as the classic environment as well. When you double click on the app icon it wont run. He is not in yet so I'll check the fine details with him. > don't copy more than 2 Gig at a time). Normally, Mac programmes are > not "path specific", but there may be safety measures built into the > application, making it path-specific. This is quite an expensive app so it is probably secured in some way. My app (statview) is a cut down version and cost about $450 so his app is, no doubt, protected. I just thought of something. Could he run it from the powerbook in classic mode via appletalk. I remember years ago running apps on my powerbook that was on another machines HD? Is this possible from classic to OS9.2? More later Bob > > Mark > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Get your store on-line within minutes with Salery Web Store software. > Download at http://www.salery.biz > > Op 22-jan-2007, om 10:28 heeft rev at armbase.com het volgende geschreven: > >> Hi All. >> I've not been around recently, see you all soon, however....I Need >> your help. >> >> THis is not a rev question but a mac question. >> >> One of the Prof's here is giving a statistics tutorial. He uses a >> program called >> SuperANOVA. He is the registered user, but has it on an old blueberry iMac >> running OS 9.2. >> >> He has lost the discs and the iMac doesn't have video out to an external >> projector (well I cant see one). >> >> He would like to use this on his powerbook. I thought he could >> simply copy the >> app folder over, however, it wont run. I cannot see anything >> related to the app >> in another folder. >> >> He cannot contact the company (abacus systems) because they are >> defunct (website >> is now a financial company). Is there a way to find the files >> associated with >> this app on his machine (he needs a backup anyway) so we can run it >> to show the >> students proper stats. >> >> If we copied the hard disc over to an external hard drive and ran >> it from that >> disc would the app run or are mac apps pathway specific? >> >> Any help appreciated. >> >> Cheers >> Bob >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From m.schonewille at economy-x-talk.com Mon Jan 22 05:39:16 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 22 Jan 2007 11:39:16 +0100 Subject: [OT] mac help needed In-Reply-To: <20070122101210.kr65r0nq67mogooc@webmail.armbase.com> References: <20070122092806.nid7h2etcsy88s04@webmail.armbase.com> <20070122101210.kr65r0nq67mogooc@webmail.armbase.com> Message-ID: <5AB31E18-3121-4851-8141-6C1517461424@economy-x-talk.com> Hi Bob, You could install VNC on both computers. With VNC, you can display the screen of the iMac on the PowerBook and control it remotely, or work on the iMac and just show the action on the PowerBook. This is rather slow, however. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 22-jan-2007, om 11:12 heeft rev at armbase.com het volgende geschreven: > > I just thought of something. > > Could he run it from the powerbook in classic mode via appletalk. I > remember > years ago running apps on my powerbook that was on another machines > HD? > > Is this possible from classic to OS9.2? > > More later > Bob From livfoss at mac.com Mon Jan 22 07:10:54 2007 From: livfoss at mac.com (Graham Samuel) Date: Mon, 22 Jan 2007 13:10:54 +0100 Subject: FormatForPrinting Message-ID: I am reluctantly using FormatForPrinting to gain control over exact layout in Windows printouts. It seems to me an amazingly awkward beast, requiring one to remove a stack from memory before setting this property; not being editable once the property is set (meaning you have to save the stack before using it); not being cross- platform; and giving viewing difficulties if one wants to show an accurate preview. According to the docs > Comments: > Windows systems may use different font versions for printing and > for screen display, and the spacing of the print version may differ > from the spacing of the screen version. This can result in layouts > and line breaks differing between the screen display and the > printed result. For the best appearance of printed cards in a > stack, make sure the stack is closed (and not in memory), then set > the stack's formatForPrinting property to true before opening the > stack to print it. > > Important! Do not edit field text in a stack whose > formatForPrinting is true. Doing so can cause display anomalies. > Set the formatForPrinting property to false before you make changes > to text in fields. > > The spacing of printer font versions usually results in a difficult- > to-read display when these fonts are used for screen viewing. To > avoid display problems, set the formatForPrinting property to true > only when printing. To let the user preview the appearance of the > printed output, set the formatForPrinting property to true before > opening the stack. This all makes me wonder whether it's worth doing, especially for an app that's supposed to work both on Macs and PCs. Has anyone any experience of using this stuff that they would like to share? TIA Graham ---------------------------------------- Graham Samuel / The Living Fossil Co. / UK and France From mpetrides at earthlink.net Mon Jan 22 07:17:14 2007 From: mpetrides at earthlink.net (Marian Petrides) Date: Mon, 22 Jan 2007 06:17:14 -0600 Subject: [OT] mac help needed In-Reply-To: <5AB31E18-3121-4851-8141-6C1517461424@economy-x-talk.com> References: <20070122092806.nid7h2etcsy88s04@webmail.armbase.com> <20070122101210.kr65r0nq67mogooc@webmail.armbase.com> <5AB31E18-3121-4851-8141-6C1517461424@economy-x-talk.com> Message-ID: <891CB71B-4E93-48FB-A8F7-09156FDCD9B6@earthlink.net> You might be able to run the iMac's HD in Firewire target mode from the Powerbook, if you can connect the two via firewire. If this works, then the iMac will appear just like any other an external HD on the Powerbook. For exact instructions, check Apple's support pages and search for firewire target mode. Most Macs can do this but some cannot and, I think, the instructions may be slightly different depending on model. HTH. Marian On Jan 22, 2007, at 4:39 AM, Mark Schonewille wrote: > Hi Bob, > > You could install VNC on both computers. With VNC, you can display > the screen of the iMac on the PowerBook and control it remotely, or > work on the iMac and just show the action on the PowerBook. This is > rather slow, however. > > Best, > > Mark > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Get your store on-line within minutes with Salery Web Store > software. Download at http://www.salery.biz > > Op 22-jan-2007, om 11:12 heeft rev at armbase.com het volgende > geschreven: > > > >> >> I just thought of something. >> >> Could he run it from the powerbook in classic mode via appletalk. >> I remember >> years ago running apps on my powerbook that was on another >> machines HD? >> >> Is this possible from classic to OS9.2? >> >> More later >> Bob > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From cszasz at mac.com Mon Jan 22 09:06:38 2007 From: cszasz at mac.com (Charles Szasz) Date: Mon, 22 Jan 2007 09:06:38 -0500 Subject: A Standalone Win Build Problem Message-ID: <29999D71-7941-4FA0-8464-94BBC887A1B2@mac.com> Bill, I made the changes you suggested but that did not work. My question now is if changed the appearance of the card to have a gray background how do I maintain a white background for printing purposes so I don't get a gray background? Charles Szasz cszasz at mac.com From chipp at chipp.com Mon Jan 22 09:13:19 2007 From: chipp at chipp.com (Chipp Walters) Date: Mon, 22 Jan 2007 08:13:19 -0600 Subject: Rev Crashing.. Message-ID: <7aa52a210701220613u39c8999dv715d0b2292ec6f7d@mail.gmail.com> When using Rev 2.7.4 build 291, the latest 'official' release. I've narrowed down a bug which I think is happening when trying to select text and drag/drop itself in the same single line field with the htmlText having a font attribute of 'bgColor'. IOW, I've successfully crashed Rev when I'm trying to select/deselect text repeatedly in a grouped field with the htmlText set to: try to select THIS and move it after the period. Anyone else seeing this same problem? It's very disconcerting. If I can find a reproducable recipe, I'll post it to bugzilla, as this one's really nasty. From chipp at chipp.com Mon Jan 22 09:15:06 2007 From: chipp at chipp.com (Chipp Walters) Date: Mon, 22 Jan 2007 08:15:06 -0600 Subject: FormatForPrinting In-Reply-To: References: Message-ID: <7aa52a210701220615w60fb1f61odea6dd01c8233363@mail.gmail.com> Hi Graham, Yeah, I use it on Windows for printing, and you do have to jump through some hoops. As I recall, if you don't use it, your font metrics may be off and you may not get what you think you're printing. I've also found setting the text field's margins to something really large (20) helped from characters at the end of a line form getting clipped off. HTH, Chipp From Roger.E.Eller at sealedair.com Mon Jan 22 09:32:38 2007 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Mon, 22 Jan 2007 09:32:38 -0500 Subject: A Standalone Win Build Problem Message-ID: On 01/22/2007 at 09:06 AM Charles Szasz wrote: > Bill, > > I made the changes you suggested but that did not work. My question > now is if changed the appearance of the card to have a gray > background how do I maintain a white background for printing purposes > so I don't get a gray background? > > Charles Szasz > cszasz at mac.com Try this: put the bgColor of this card into tMyGrayBG set the bgColor of this card to white -- or 255,255,255 print this card set the bgColor of this card to tMyGrayBG The above is untested, but should work. ---------- Roger Eller From mdswindell at cruzio.com Mon Jan 22 09:50:56 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Mon, 22 Jan 2007 06:50:56 -0800 Subject: FormatForPrinting In-Reply-To: <7aa52a210701220615w60fb1f61odea6dd01c8233363@mail.gmail.com> References: <7aa52a210701220615w60fb1f61odea6dd01c8233363@mail.gmail.com> Message-ID: Are these printing issues among those being fixed in the next "bug- free" release? i.e. Are they top priority at this point in Revs evolution? Mark On Jan 22, 2007, at 6:15 AM, Chipp Walters wrote: > Hi Graham, > > Yeah, I use it on Windows for printing, and you do have to jump > through some > hoops. As I recall, if you don't use it, your font metrics may be > off and > you may not get what you think you're printing. > > I've also found setting the text field's margins to something > really large > (20) helped from characters at the end of a line form getting > clipped off. > > HTH, Chipp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From devin_asay at byu.edu Mon Jan 22 10:13:27 2007 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 22 Jan 2007 08:13:27 -0700 Subject: Rev Printing Problem In-Reply-To: <0A371B9F-ED28-4AFD-8333-39933442D3EB@mac.com> References: <0A371B9F-ED28-4AFD-8333-39933442D3EB@mac.com> Message-ID: Charles, Can you just include the hiding/showing in the same button script? on mouseUp hideStuff ## print command here showStuff end mouseUp on hideStuff ## hide controls here end hideStuff on showStuff ## show controls here end showStuff Am I missing something? Is the problem that the show happens too fast after the print command, so they are already visible again before the print command has done its thing? Devin On Jan 21, 2007, at 12:43 PM, Charles Szasz wrote: > I have been using Dan Shafer's excellent book on printing has help > me a great deal with my project. But I have a question. I have > three cards that I want to print. Each card has a button that has > to be hidden and one card has a group three radio buttons that have > to be hidden. I am using lock screen and unlock screen with the > hide and show commands to hide the buttons and radio buttons. Here > is my question, how do I incorporate printing each card with > different elements to be hidden and shown in the printing script > that is in one print button? > > > Charles Szasz > cszasz at mac.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Devin Asay Humanities Technology and Research Support Center Brigham Young University From chipp at chipp.com Mon Jan 22 10:55:26 2007 From: chipp at chipp.com (Chipp Walters) Date: Mon, 22 Jan 2007 09:55:26 -0600 Subject: FormatForPrinting In-Reply-To: References: <7aa52a210701220615w60fb1f61odea6dd01c8233363@mail.gmail.com> Message-ID: <7aa52a210701220755l8443fd6o6fe6a1acacd07306@mail.gmail.com> I seem to remember one of the reasons for the complete graphics overhaul of the engine in 2.7+ was to better support printing. From chipp at chipp.com Mon Jan 22 10:58:16 2007 From: chipp at chipp.com (Chipp Walters) Date: Mon, 22 Jan 2007 09:58:16 -0600 Subject: last char In-Reply-To: <20070121170432072084.86f001b8@sonsothunder.com> References: <083601c73dac$63149130$0f00a8c0@roblaptop> <20070121170432072084.86f001b8@sonsothunder.com> Message-ID: <7aa52a210701220758i622ee903xd9786d821fd56e70@mail.gmail.com> Here's something which may be interesting regarding last char: I typically do this sort of thing: repeat for each line L in tList put item 1 of L & cr after tList2 end repeat delete last char of tList2 This works fine, even if tList2 is empty. IOW, I don't have to check to see if tList2 has cr as it's last char before deleting. From viktoras at ekoinf.net Mon Jan 22 11:38:25 2007 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Mon, 22 Jan 2007 18:38:25 +0200 (FLE Standard Time) Subject: displaying imported images from within htmltext References: <7aa52a210701220758i622ee903xd9786d821fd56e70@mail.gmail.com> Message-ID: <45B4E880.000001.03296@MAZYTIS> how do we display an image imported into the stack's or substack's image library within a field using htmltext img src="" ? Is this possible ? I tried various combinations without any success, and it is likely that the only way to display an image in htmltext of the field is to have it as a file on a hard drive... Or am I wrong ? Viktoras From david at openpartnership.net Mon Jan 22 11:39:50 2007 From: david at openpartnership.net (David Bovill) Date: Mon, 22 Jan 2007 08:39:50 -0800 Subject: Load and stacks... In-Reply-To: <26DFB2B5-F673-4784-B16F-9F4032540B1C@lacscentre.co.uk> References: <26DFB2B5-F673-4784-B16F-9F4032540B1C@lacscentre.co.uk> Message-ID: On 21/01/07, Dave Cragg wrote: You could use libUrlDownloadToFile to do an asynchronous load > directly to a file instead of the cache. Or in the callback message > for load, save the url to a local file. For example: > > load url myUrl with message "loaded" > > on loaded pUrl, pStatus > if pStatus = "cached" then > put url pUrl into url ("binfile:" & pathToLocalFile) > end if > unload url pUrl > end loaded Ah - thanks that should work. NB as "libUrlDownloadToFile" uses "ftp" rather than "http" which "load" uses... I am wondering which is the faster and most reliable method? I"ve never really trusted ftp and prefer to use http whenever possible - but is that an unfounded prejudice? Is http faster? Are there any differences in terms of firewalls? I am thinking in cases where you control both the http web server and the ftp server. From m.schonewille at economy-x-talk.com Mon Jan 22 12:04:12 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 22 Jan 2007 18:04:12 +0100 Subject: displaying imported images from within htmltext In-Reply-To: <45B4E880.000001.03296@MAZYTIS> References: <7aa52a210701220758i622ee903xd9786d821fd56e70@mail.gmail.com> <45B4E880.000001.03296@MAZYTIS> Message-ID: <569924FA-2059-41BA-9201-C836904C3E73@economy-x-talk.com> Viktoras, Use the imageSource property. Examples from the docs: set the imageSource of char 1 of line 2 of field "This" to 2533 set the imageSource of char thisChar of field 1 to "Arrow" set the imageSource of last char of me to "binfile:My Image" Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 22-jan-2007, om 17:38 heeft Viktoras Didziulis het volgende geschreven: > how do we display an image imported into the stack's or substack's > image > library within a field using htmltext img src="" ? Is this > possible ? I > tried various combinations without any success, and it is likely > that the > only way to display an image in htmltext of the field is to have it > as a > file on a hard drive... Or am I wrong ? > > Viktoras > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mark_powell at symantec.com Mon Jan 22 12:11:00 2007 From: mark_powell at symantec.com (Mark Powell) Date: Mon, 22 Jan 2007 09:11:00 -0800 Subject: How do I query 'What object is on top?' Message-ID: Can't find this anywhere in docs or archives. How can I determine what object is occupying the top layer of a card at a given moment? Mark From vokey at uleth.ca Mon Jan 22 12:12:10 2007 From: vokey at uleth.ca (John Vokey) Date: Mon, 22 Jan 2007 10:12:10 -0700 Subject: mac help needed In-Reply-To: <20070122141324.ABBDC48906B@mail.runrev.com> References: <20070122141324.ABBDC48906B@mail.runrev.com> Message-ID: <67D8EB85-13B2-46A6-978C-5CA4E787D229@uleth.ca> Bob, SuperAnova runs fine under Classic---at least I have never had any problems, and is not locked in anyway, so it should work following a simple copy. I suspect the Classic system files on the OS X machine are not complete. SuperAnova even runs fine under Sheepshaver (system 8.6), and miniVMac, with systems 7.x. Indeed, it even works in miniVMac with system 6.08! On 22-Jan-07, at 7:13 AM, use-revolution-request at lists.runrev.com wrote: > Hi All. > I've not been around recently, see you all soon, however....I Need > your help. > > THis is not a rev question but a mac question. > > One of the Prof's here is giving a statistics tutorial. He uses a > program called > SuperANOVA. He is the registered user, but has it on an old > blueberry iMac > running OS 9.2. > > He has lost the discs and the iMac doesn't have video out to an > external > projector (well I cant see one). > > He would like to use this on his powerbook. I thought he could > simply copy the > app folder over, however, it wont run. I cannot see anything > related to the app > in another folder. > > He cannot contact the company (abacus systems) because they are > defunct (website > is now a financial company). Is there a way to find the files > associated with > this app on his machine (he needs a backup anyway) so we can run it > to show the > students proper stats. > > If we copied the hard disc over to an external hard drive and ran > it from that > disc would the app run or are mac apps pathway specific? > > Any help appreciated. > > Cheers > Bob From m.schonewille at economy-x-talk.com Mon Jan 22 12:21:36 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 22 Jan 2007 18:21:36 +0100 Subject: How do I query 'What object is on top?' In-Reply-To: References: Message-ID: <3CEC0D49-C6B6-418C-B7F2-2E60331AAB4F@economy-x-talk.com> Hi Mark, put the layer of the last control Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 22-jan-2007, om 18:11 heeft Mark Powell het volgende geschreven: > Can't find this anywhere in docs or archives. How can I determine > what > object is occupying the top layer of a card at a given moment? > > Mark > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mark_powell at symantec.com Mon Jan 22 12:26:03 2007 From: mark_powell at symantec.com (Mark Powell) Date: Mon, 22 Jan 2007 09:26:03 -0800 Subject: How do I query 'What object is on top?' Message-ID: Hi Mark, Thanks, but that tells me the layer number, right? What I need to know is what *object* occupies the layer. For example, a pseudo function like put whatObjectOnTop() might return image id 2834 Mark P. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Mark Schonewille Sent: Monday, January 22, 2007 10:22 AM To: How to use Revolution Subject: Re: How do I query 'What object is on top?' Hi Mark, put the layer of the last control Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 22-jan-2007, om 18:11 heeft Mark Powell het volgende geschreven: > Can't find this anywhere in docs or archives. How can I determine > what object is occupying the top layer of a card at a given moment? > > Mark > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Mon Jan 22 12:31:33 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 22 Jan 2007 18:31:33 +0100 Subject: How do I query 'What object is on top?' In-Reply-To: <3CEC0D49-C6B6-418C-B7F2-2E60331AAB4F@economy-x-talk.com> References: <3CEC0D49-C6B6-418C-B7F2-2E60331AAB4F@economy-x-talk.com> Message-ID: <5B01C018-0AF0-4DAF-957B-1B578604B144@economy-x-talk.com> Mark, On second thought, maybe this is what you want: function topControl repeat with x = 1 to number of controls if the layer of control x is the number of layers then return the id of control x end repeat end topControl It would be nice to do this without repeat loop, though. Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 22-jan-2007, om 18:21 heeft Mark Schonewille het volgende geschreven: > > Op 22-jan-2007, om 18:11 heeft Mark Powell het volgende geschreven: > >> Can't find this anywhere in docs or archives. How can I determine >> what >> object is occupying the top layer of a card at a given moment? >> >> Mark From ambassador at fourthworld.com Mon Jan 22 12:34:09 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 22 Jan 2007 09:34:09 -0800 Subject: How do I query 'What object is on top?' Message-ID: <45B4F591.5090609@fourthworld.com> Why not this?: get the long id of the last control -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dave.cragg at lacscentre.co.uk Mon Jan 22 12:37:49 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 22 Jan 2007 17:37:49 +0000 Subject: Load and stacks... In-Reply-To: References: <26DFB2B5-F673-4784-B16F-9F4032540B1C@lacscentre.co.uk> Message-ID: On 22 Jan 2007, at 16:39, David Bovill wrote: > On 21/01/07, Dave Cragg wrote: > > You could use libUrlDownloadToFile to do an asynchronous load >> directly to a file instead of the cache. Or in the callback message >> for load, save the url to a local file. For example: >> >> load url myUrl with message "loaded" >> >> on loaded pUrl, pStatus >> if pStatus = "cached" then >> put url pUrl into url ("binfile:" & pathToLocalFile) >> end if >> unload url pUrl >> end loaded > > > Ah - thanks that should work. NB as "libUrlDownloadToFile" uses > "ftp" rather > than "http" which "load" uses... You can use both load and libUrlDownloadToFile with http and ftp urls. Cheers Dave From m.schonewille at economy-x-talk.com Mon Jan 22 12:38:26 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 22 Jan 2007 18:38:26 +0100 Subject: How do I query 'What object is on top?' In-Reply-To: <45B4F591.5090609@fourthworld.com> References: <45B4F591.5090609@fourthworld.com> Message-ID: Because this returns the number and not the layer. Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 22-jan-2007, om 18:34 heeft Richard Gaskin het volgende geschreven: > Why not this?: > > get the long id of the last control > > > -- > Richard Gaskin > Fourth World Media Corporation From livfoss at mac.com Mon Jan 22 13:22:09 2007 From: livfoss at mac.com (Graham Samuel) Date: Mon, 22 Jan 2007 19:22:09 +0100 Subject: FormatForPrinting Message-ID: <594E1A1B-56E2-4077-8B04-16DA1DCDB644@mac.com> Thanks Chipp - and Mark, I have no idea if better printing is coming along but it certainly should: I do not think RunRev's support for printing is adequate for a modern RAD tool: one very old issue is that one can't get at the settings made by the user in the Page Setup dialog, but others do include the kludge which is FormatForPrinting, the great difficulty you have now about working out exactly how many pages are needed for a printout of a given field, and the fact that you can't find out the limits of the marking engine within the printed page for a given printer, despite the fact that many other apps obviously do have access to this info, some of them on more than one platform. I would really like a packaged printing library offering a simple reporting feature one could build on, with page numbers, headings, previews, back and forth views and so on. I do not believe such a thing could be constructed in pure Transcript (or Revscript or whatever) today, because not all the building blocks are there. The usual 2 Eurocents Graham On Mon, 22 Jan 2007 06:50:56 -0800, Mark Swindell wrote: > Are these printing issues among those being fixed in the next "bug- > free" release? i.e. Are they top priority at this point in Revs > evolution? > Mark > > On Jan 22, 2007, at 6:15 AM, Chipp Walters wrote: > > >> Hi Graham, >> >> Yeah, I use it on Windows for printing, and you do have to jump >> through some >> hoops. As I recall, if you don't use it, your font metrics may be >> off and >> you may not get what you think you're printing. >> >> I've also found setting the text field's margins to something >> really large >> (20) helped from characters at the end of a line form getting >> clipped off. >> >> HTH, Chipp >> ---------------------------------------- Graham Samuel / The Living Fossil Co. / UK and France From chipp at chipp.com Mon Jan 22 13:27:07 2007 From: chipp at chipp.com (Chipp Walters) Date: Mon, 22 Jan 2007 12:27:07 -0600 Subject: displaying imported images from within htmltext In-Reply-To: <569924FA-2059-41BA-9201-C836904C3E73@economy-x-talk.com> References: <7aa52a210701220758i622ee903xd9786d821fd56e70@mail.gmail.com> <45B4E880.000001.03296@MAZYTIS> <569924FA-2059-41BA-9201-C836904C3E73@economy-x-talk.com> Message-ID: <7aa52a210701221027k1b2fdaf0w48442a7a75b675e8@mail.gmail.com> Or, Just set the htmlText of a given line of a field..like this: set the htmlText of line 3 of fld "hello" to \ "

Click Here To EXPAND

" Assumes there is an image named "downArrow" on the card. Chipp From mark at maseurope.net Mon Jan 22 13:27:38 2007 From: mark at maseurope.net (Mark Smith) Date: Mon, 22 Jan 2007 18:27:38 +0000 Subject: How do I query 'What object is on top?' In-Reply-To: References: Message-ID: Not tested but should work: get the name of control (the number of controls of this cd) of this cd Best, Mark On 22 Jan 2007, at 17:11, Mark Powell wrote: > Can't find this anywhere in docs or archives. How can I determine > what > object is occupying the top layer of a card at a given moment? > > Mark > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From rev at armbase.com Mon Jan 22 13:35:55 2007 From: rev at armbase.com (Bob Hartley) Date: Mon, 22 Jan 2007 18:35:55 +0000 Subject: [OT] mac help needed PROBLEM SOLVED In-Reply-To: <891CB71B-4E93-48FB-A8F7-09156FDCD9B6@earthlink.net> References: <20070122092806.nid7h2etcsy88s04@webmail.armbase.com> <20070122101210.kr65r0nq67mogooc@webmail.armbase.com> <5AB31E18-3121-4851-8141-6C1517461424@economy-x-talk.com> <891CB71B-4E93-48FB-A8F7-09156FDCD9B6@earthlink.net> Message-ID: You wrote: Hi All I feel really stupid now. I assumed he ws up on file extensions etc..... He was using a PC form,atted USB pen to transfer the files. It was so simple I never even thought of asking him. :-) Anyway all have a quiet chuckle on me.:-) Using a MAC formatted stick it now works. :-) Thanks for all the help Cheers Bob; Sunny Scotland > You might be able to run the iMac's HD in Firewire target mode from the > Powerbook, if you can connect the two via firewire. If this works, then > the iMac will appear just like any other an external HD on the Powerbook. > > For exact instructions, check Apple's support pages and search for > firewire target mode. Most Macs can do this but some cannot and, I think, > the instructions may be slightly different depending on model. > > HTH. > > Marian On Jan 22, 2007, at 4:39 AM, Mark Schonewille wrote: > > > Hi Bob, > > > > You could install VNC on both computers. With VNC, you can display the > > screen of the iMac on the PowerBook and control it remotely, or work on > > the iMac and just show the action on the PowerBook. This is rather slow, > > however. > > > > Best, > > > > Mark > > > > -- > > > > Economy-x-Talk Consultancy and Software Engineering > > http://economy-x-talk.com http://www.salery.biz > > > > Get your store on-line within minutes with Salery Web Store software. > > Download at http://www.salery.biz > > > > Op 22-jan-2007, om 11:12 heeft rev at armbase.com het volgende geschreven: > > > > > > > >> > > > I just thought of something. > >> > > > Could he run it from the powerbook in classic mode via appletalk. I > > > remember years ago running apps on my powerbook that was on another > > > machines HD? > >> > > > Is this possible from classic to OS9.2? > >> > > > More later Bob > > > > _______________________________________________ use-revolution mailing > > list use-revolution at lists.runrev.com Please visit this url to subscribe, > > unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ use-revolution mailing > list use-revolution at lists.runrev.com Please visit this url to subscribe, > unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From david at openpartnership.net Mon Jan 22 13:44:46 2007 From: david at openpartnership.net (David Bovill) Date: Mon, 22 Jan 2007 10:44:46 -0800 Subject: Load and stacks... In-Reply-To: References: <26DFB2B5-F673-4784-B16F-9F4032540B1C@lacscentre.co.uk> Message-ID: Ah... well I guess the docs need changeing :) Summary: Downloads a file from an Internet server asynchronously via FTP. On 22/01/07, Dave Cragg wrote: > > > On 22 Jan 2007, at 16:39, David Bovill wrote: > > > On 21/01/07, Dave Cragg wrote: > > > > You could use libUrlDownloadToFile to do an asynchronous load > >> directly to a file instead of the cache. Or in the callback message > >> for load, save the url to a local file. For example: > >> > >> load url myUrl with message "loaded" > >> > >> on loaded pUrl, pStatus > >> if pStatus = "cached" then > >> put url pUrl into url ("binfile:" & pathToLocalFile) > >> end if > >> unload url pUrl > >> end loaded > > > > > > Ah - thanks that should work. NB as "libUrlDownloadToFile" uses > > "ftp" rather > > than "http" which "load" uses... > > You can use both load and libUrlDownloadToFile with http and ftp urls. > > Cheers > Dave > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From eric.chatonet at sosmartsoftware.com Mon Jan 22 13:49:05 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 22 Jan 2007 19:49:05 +0100 Subject: displaying imported images from within htmltext In-Reply-To: <45B4E880.000001.03296@MAZYTIS> References: <7aa52a210701220758i622ee903xd9786d821fd56e70@mail.gmail.com> <45B4E880.000001.03296@MAZYTIS> Message-ID: <59D95D5D-0DA8-4533-A2D0-163F9120A230@sosmartsoftware.com> Hi Viktoras, Mark told you about using the imageSource property. As for me I don't like too much to use it: even if it works, it sounds like a workaround: You display an image but it is referenced by a char. When building lists, for instance, you have to plan fake chars then set their imageSource, etc. This does not sound good to me ;-) I prefer the way building correct html at first :-) Just as you thought of. Here is an example of a function that builds a list of usernames with a specific icon in front of each username according to the fact that its account is password protected or not (to give you the idea): function BuildUsersHtmlList pArray local tHtml,tID ----- repeat with i = 1 to pArray["length"] if pArray["Data",i,"uPassword"] = empty then put 60079 into tID else put 60080 into tID put "

" && pArray ["Data",i,"uName"] & "

" & cr after tHtml end repeat delete last char of tHtml return tHtml end BuildUsersHtmlList tID is a variable that contains the ID of an image: this image can be in the current stack or in any open stack (visible or not). Note how the html is built using quotes and concatenating text and variables values. On the other hand, my "Encoded Text Picker" plugin might help you: It's an HTML and URLencode translator: Ability to translate both to and from HTML and/or URLEncode. Integrated search and replace features (including tab and return.) Ability to determine text style and color, include images. Copy function. Playing with it should make html easier ;-) You will find it by going to http://www.sosmartsoftware.com/. Hope this helps. Le 22 janv. 07 ? 17:38, Viktoras Didziulis a ?crit : > how do we display an image imported into the stack's or substack's > image > library within a field using htmltext img src="" ? Is this > possible ? I > tried various combinations without any success, and it is likely > that the > only way to display an image in htmltext of the field is to have it > as a > file on a hard drive... Or am I wrong ? Best Regards from Paris, Eric Chatonet ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From m.schonewille at economy-x-talk.com Mon Jan 22 13:54:32 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 22 Jan 2007 19:54:32 +0100 Subject: How do I query 'What object is on top?' In-Reply-To: References: Message-ID: <473E9910-86C8-4928-B9F2-0DCB137060C6@economy-x-talk.com> That won't work because number and layer is not the same. It would be exactly equal to put the name of the last control Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 22-jan-2007, om 19:27 heeft Mark Smith het volgende geschreven: > Not tested but should work: > > get the name of control (the number of controls of this cd) of this cd > > Best, > > Mark From soapdog at mac.com Mon Jan 22 14:25:31 2007 From: soapdog at mac.com (Andre Garzia) Date: Mon, 22 Jan 2007 17:25:31 -0200 Subject: help with a multi process http server. Message-ID: <52BF4DAC-3027-473A-B4B4-49C7E0BE7F47@mac.com> Hello Folks, I am here experimenting with a new approach to building revolution based servers. We've been asking for threads or forks for a while but until the day of such implementation comes, we need to use what we can. One other language I always liked (to the point that we created a whole company around it some years ago) was REBOL. I remember from the blogosphere that someone did a REBOL based webserver with some nice benchmarks, I decided to check it out because last I remembered, REBOL was also a single thread language. After checking many sites, I discovered that they along with other people around are using a process pool and a scheduler that handles the connections and redirect them to the next free process on the pool. I decided to take the same approach, I made a tweeked version of my RevHTTP server that can be launched from a shell() call so that I can create a scheduler that can launch some number of processes to make the pool. I created a simple communicating scheme using wget to make little semaphores so that each server instance can tell the scheduler where it is busy or free. So far, so good but there's one problem. Suppose the scheduler is running 8080 and each server instance in the pool is running from 8081 onwards. When the client connects to 8080, the scheduler sends back a redirection response so that the client refreshes to a different port (of a free instance in the pool). The problem is that a http client such as a browser will then request favico and all the links in the html from the same port for it re- uses data from the connection that yielded that result to fill missing data in the URL. For example, if you make a link that goes to /newpage.html, then the server will make it http://yourserver/ newpage.html. If I answered from port 8081, all links in the page will "inherit" that port and I want all the connections to come to the scheduler running on a different port. One approach to solve this is to parse all the response and change all the html responses to include the correct URLs. This is very boring and slow for we must cope with href, src, link, rel and all kinds of css includes and stuff. What I hoped to find was some HTTP header field that would tell like: "hey this server is acutally running at port bla bla bla" such as: host: localhost:8080 despite the fact that that answer came thru 8081. This way the whole thing would work and maybe we would have a a web server built with Rev that could see some real world use... Anyone has two cents? Andre From dave.cragg at lacscentre.co.uk Mon Jan 22 14:39:57 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 22 Jan 2007 19:39:57 +0000 Subject: Load and stacks... In-Reply-To: References: <26DFB2B5-F673-4784-B16F-9F4032540B1C@lacscentre.co.uk> Message-ID: <848C6245-E133-41C3-B426-5852A949A44B@lacscentre.co.uk> On 22 Jan 2007, at 18:44, David Bovill wrote: > Ah... well I guess the docs need changeing :) So they do. I've just QCized it. :-) Dave From ambassador at fourthworld.com Mon Jan 22 15:02:12 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 22 Jan 2007 12:02:12 -0800 Subject: How do I query 'What object is on top?' Message-ID: <45B51844.9080400@fourthworld.com> To get the topmost object: get the long id of last control To get its name: get the short name of the last control To get its layer: get the layer of the last control To get its type-specific number: get the number of the last control What else is needed? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dave.cragg at lacscentre.co.uk Mon Jan 22 15:18:21 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 22 Jan 2007 20:18:21 +0000 Subject: help with a multi process http server. In-Reply-To: <52BF4DAC-3027-473A-B4B4-49C7E0BE7F47@mac.com> References: <52BF4DAC-3027-473A-B4B4-49C7E0BE7F47@mac.com> Message-ID: <300F6B3C-FB4D-43BC-B9D1-770E088775FA@lacscentre.co.uk> On 22 Jan 2007, at 19:25, Andre Garzia wrote: > Suppose the scheduler is running 8080 and each server instance in > the pool is running from 8081 onwards. When the client connects to > 8080, the scheduler sends back a redirection response so that the > client refreshes to a different port (of a free instance in the > pool). The problem is that a http client such as a browser will > then request favico and all the links in the html from the same > port for it re-uses data from the connection that yielded that > result to fill missing data in the URL. For example, if you make a > link that goes to /newpage.html, then the server will make it > http://yourserver/newpage.html. If I answered from port 8081, all > links in the page will "inherit" that port and I want all the > connections to come to the scheduler running on a different port. > > One approach to solve this is to parse all the response and change > all the html responses to include the correct URLs. This is very > boring and slow for we must cope with href, src, link, rel and all > kinds of css includes and stuff. What I hoped to find was some HTTP > header field that would tell like: "hey this server is acutally > running at port bla bla bla" such as: > > host: localhost:8080 > > despite the fact that that answer came thru 8081. This way the > whole thing would work and maybe we would have a a web server built > with Rev that could see some real world use... > > Anyone has two cents? This is very interesting, Andre. I wish I had your energy. One thought. If I understand correctly, under this system, the scheduler immediately responds to the client with a redirect to the same url but on a different port. Intead of using a redirect, is it not possible for the scheduler to hand off the request directly to an available process (for example, on localhost:8082), wait for the response, and then the scheduler writes the response directly back to the client? This would preserve the socket details for the client. This would put an extra burden on the scheduler when it has to write back large quantities of data to simulataneous requests from different clients. But I think it should be possible to slice up the responses so that you only write back to the client sockets in small chunks (say 4096 KB at a time). This should allow simultaneous connections to appear to work simultaneously. Also, is there not a problem in redirecting clients that have made a POST request? My memory of the http rfc is that redirects only use the GET method. The above idea would get round that problem. Cheers Dave From ambassador at fourthworld.com Mon Jan 22 15:22:59 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 22 Jan 2007 12:22:59 -0800 Subject: Is this a bug? Message-ID: <45B51D23.1010000@fourthworld.com> Chipp Walters wrote: > Mark, your example also demonstrates the power of same named instances of > object. I guess it all boils down to each of us trying our best to create > reusable grouped components, each with the same codebase. A most difficult > task. In the absence of parentScripts (a shared library that is specific to assigned objects) I have yet to find an ideal solution, but here's a convention Ken and I tend to use for custom controls and other reusable groups, with three parts: - a prefab template object - an inspector for copying it and manipulating its properties - a library to drive it I have a table object that best exemplifies this arrangement. The library stack also contains a group which is coped by the inspector onto the card to create a new one. The template object has almost no code; where needed it has stub handlers that just make calls to the library. For example, the column resizing controls simply contain mousedown, mouseMove, mouseUp, and mouseRelease handlers which call _lib4wTableHeaderMouseDown, _lib4wTableHeaderMouseMove, _lib4wTableHeaderMouseUp, and _lib4wTableHeaderMouseRelease messages, respectively. Note the preceding underscore. That distinguishes handlers in the library which are used internally only, as opposed to those which are part of the API (when we get truly private handlers that convention can go away). Most of the object's behaviors are established as property settings. For example, setting the ufwTableData of the group puts the specified columnar data into the table; setting the ufwTableHeaderInfo of the control sets up the column heading labels and widths; setting the ufwTableSortColumn of the group establishes which column the data is currently sorted by, and colors that heading differently from the others as per the OS HIG. These property settings are handled in getProp/setProp handlers in the library. They keep track of the target object, so any number of tables can be used in a layout without conflict. Having as much code as possible in the library means I never need to update any controls to enhance functionality. Having a template object means all instances get implemented consistently with reasonable default settings. Having an inspector means I get to install tables and modify their settings quickly without having to write a line of code. If I get some time I'll publish my table widget, but with my current workload it's hard to say exactly when that'll be.... -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From david at openpartnership.net Mon Jan 22 15:23:13 2007 From: david at openpartnership.net (David Bovill) Date: Mon, 22 Jan 2007 12:23:13 -0800 Subject: Emergency - (sort of) "a stack name with the same name..." Message-ID: I have done this so many times - but wandering if someone can tell me how to get out of it... Rev is stuck in an infinite loop... it keeps infinitely saving two files and has the error dialogue stuck in the back. Command period and nothing I can think of exits the loop. I have almost never got out of this without a force quite - and I have just finished some complex coding. Is there any way to get out of it??? I am sure you all know what I mean - it happens pretty well all the time if you change stacks name and then"Save as..." I can never quite believe that it will do this so occasionally I try a "Save as..." - deadly! I'll go and have a beer and hope some guru has a hack to get out of this? From runrev at animabit.de Mon Jan 22 15:37:16 2007 From: runrev at animabit.de (runrev at animabit.de) Date: Mon, 22 Jan 2007 20:37:16 +0000 Subject: help with a multi process http server. Message-ID: Hi Andre, I hope I understood you correctly: did you try the old tag? If you use in the header of the first html file: all will be loaded from the server2 at port 9999. A declaration like will become like . If you put in ANY html page delivered from your servers all requests will be loaded from schedulerserver.com at port 80 even if the parent page was delivered from another server. Even in the old days of HTML one could send a tag in the head of the html-file and all the following relational links have been calculated in the browsers according to this base. I think this works in all browsers on the market. If you have a php or shtml generated index file on the main server which sends a first html page with such a base href tag, the browsers will connect to the declared server for downloading and so on - you do not need to parse any pages, the relational base mechanism makes the rest. Even the favicon can be declared explicitely: compare http://www.selfhtml.org/ http://de.selfhtml.org/navigation/suche/index.htm?Suchanfrage=base+href there might be english versions also and any stuff comes from the second server ... http://de.selfhtml.org/html/kopfdaten/beziehungen.htm#quellen favicon in line 4 of the header: Regards, Franz Mit freundlichen Gr??en Franz B?hmisch boehmisch at animabit.de http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 From soapdog at mac.com Mon Jan 22 15:52:19 2007 From: soapdog at mac.com (Andre Garzia) Date: Mon, 22 Jan 2007 18:52:19 -0200 Subject: help with a multi process http server. In-Reply-To: References: Message-ID: <8F4D99DF-9D5A-42D3-BB11-1BC39BF0D5A2@mac.com> Franz, I own you a beer! :-) You just saved my life... I'll experiment with this and post the result on this list! :D Cheers andre On Jan 22, 2007, at 6:37 PM, runrev at animabit.de wrote: > Hi Andre, > > I hope I understood you correctly: > > did you try the old tag? > > If you use in the header of the first html file: > > > > > > > all will be loaded from the server2 at port 9999. > A declaration like > > will become like > . > > > If you put in ANY html page delivered from your servers > > > > > > all requests will be loaded from schedulerserver.com at port 80 > even if the parent page was delivered from another server. > > > Even in the old days of HTML one could send a tag in > the head of the html-file and all the following relational links > have been calculated in the browsers according to this base. I > think this works in all browsers on the market. > If you have a php or shtml generated index file on the main server > which sends a first html page with such a base href tag, the > browsers will connect to the declared server for downloading and so > on - you do not need to parse any pages, the relational base > mechanism makes the rest. > > Even the favicon can be declared explicitely: > compare > http://www.selfhtml.org/ > http://de.selfhtml.org/navigation/suche/index.htm?Suchanfrage=base > +href > there might be english versions also > > > and any stuff comes from the second server ... > > http://de.selfhtml.org/html/kopfdaten/beziehungen.htm#quellen > favicon in line 4 of the header: > > > > > > > > > > > > > > > > href="durchsuchbarkeit.htm"> > href="basis.htm"> > > href="durchsuchbarkeit.htm"> > > > Regards, Franz > > Mit freundlichen Gr??en > Franz B?hmisch > > boehmisch at animabit.de > http://www.animabit.de > GF Animabit Multimedia Software GmbH > Am Sonnenhang 22 > D-94136 Thyrnau > Tel +49 (0)8501-8538 > Fax +49 (0)8501-8537 > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mark_powell at symantec.com Mon Jan 22 15:54:11 2007 From: mark_powell at symantec.com (Mark Powell) Date: Mon, 22 Jan 2007 12:54:11 -0800 Subject: How do I query 'What object is on top?' Message-ID: Richard, This does do what I was asking about, thanks! Mark -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Richard Gaskin Sent: Monday, January 22, 2007 1:02 PM To: How to use Revolution Subject: Re: How do I query 'What object is on top?' To get the topmost object: get the long id of last control To get its name: get the short name of the last control To get its layer: get the layer of the last control To get its type-specific number: get the number of the last control What else is needed? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From soapdog at mac.com Mon Jan 22 15:54:49 2007 From: soapdog at mac.com (Andre Garzia) Date: Mon, 22 Jan 2007 18:54:49 -0200 Subject: help with a multi process http server. In-Reply-To: <300F6B3C-FB4D-43BC-B9D1-770E088775FA@lacscentre.co.uk> References: <52BF4DAC-3027-473A-B4B4-49C7E0BE7F47@mac.com> <300F6B3C-FB4D-43BC-B9D1-770E088775FA@lacscentre.co.uk> Message-ID: <6A2E9EB0-7A93-4048-9BF8-3FA2EE7DFC56@mac.com> Dave, I didn't want to add that burden to the scheduler because I am afraid of denial of service, my whole quest in the field of revolution based servers is trying to avoid such situations. I need to check if I can redirect POST requests... If I can't then I'll need to implement a solution like you outlined here at least for POST calls. If I managed to build such thing, I'll post here on the list. Cheers andre On Jan 22, 2007, at 6:18 PM, Dave Cragg wrote: > On 22 Jan 2007, at 19:25, Andre Garzia wrote: > >> Suppose the scheduler is running 8080 and each server instance in >> the pool is running from 8081 onwards. When the client connects to >> 8080, the scheduler sends back a redirection response so that the >> client refreshes to a different port (of a free instance in the >> pool). The problem is that a http client such as a browser will >> then request favico and all the links in the html from the same >> port for it re-uses data from the connection that yielded that >> result to fill missing data in the URL. For example, if you make a >> link that goes to /newpage.html, then the server will make it >> http://yourserver/newpage.html. If I answered from port 8081, all >> links in the page will "inherit" that port and I want all the >> connections to come to the scheduler running on a different port. >> >> One approach to solve this is to parse all the response and change >> all the html responses to include the correct URLs. This is very >> boring and slow for we must cope with href, src, link, rel and all >> kinds of css includes and stuff. What I hoped to find was some >> HTTP header field that would tell like: "hey this server is >> acutally running at port bla bla bla" such as: >> >> host: localhost:8080 >> >> despite the fact that that answer came thru 8081. This way the >> whole thing would work and maybe we would have a a web server >> built with Rev that could see some real world use... >> >> Anyone has two cents? > > This is very interesting, Andre. I wish I had your energy. > > One thought. > > If I understand correctly, under this system, the scheduler > immediately responds to the client with a redirect to the same url > but on a different port. Intead of using a redirect, is it not > possible for the scheduler to hand off the request directly to an > available process (for example, on localhost:8082), wait for the > response, and then the scheduler writes the response directly back > to the client? This would preserve the socket details for the client. > > This would put an extra burden on the scheduler when it has to > write back large quantities of data to simulataneous requests from > different clients. But I think it should be possible to slice up > the responses so that you only write back to the client sockets in > small chunks (say 4096 KB at a time). This should allow > simultaneous connections to appear to work simultaneously. > > Also, is there not a problem in redirecting clients that have made > a POST request? My memory of the http rfc is that redirects only > use the GET method. The above idea would get round that problem. > > Cheers > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From david at openpartnership.net Mon Jan 22 16:09:31 2007 From: david at openpartnership.net (David Bovill) Date: Mon, 22 Jan 2007 13:09:31 -0800 Subject: Oh well.. force quit I guess? Message-ID: :( From david at openpartnership.net Mon Jan 22 16:29:45 2007 From: david at openpartnership.net (David Bovill) Date: Mon, 22 Jan 2007 13:29:45 -0800 Subject: help with a multi process http server. In-Reply-To: <6A2E9EB0-7A93-4048-9BF8-3FA2EE7DFC56@mac.com> References: <52BF4DAC-3027-473A-B4B4-49C7E0BE7F47@mac.com> <300F6B3C-FB4D-43BC-B9D1-770E088775FA@lacscentre.co.uk> <6A2E9EB0-7A93-4048-9BF8-3FA2EE7DFC56@mac.com> Message-ID: Not sure if this text give you some arguments :) http://www.nightmare.com/medusa/medusa.html From dave.cragg at lacscentre.co.uk Mon Jan 22 16:37:15 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 22 Jan 2007 21:37:15 +0000 Subject: help with a multi process http server. In-Reply-To: <6A2E9EB0-7A93-4048-9BF8-3FA2EE7DFC56@mac.com> References: <52BF4DAC-3027-473A-B4B4-49C7E0BE7F47@mac.com> <300F6B3C-FB4D-43BC-B9D1-770E088775FA@lacscentre.co.uk> <6A2E9EB0-7A93-4048-9BF8-3FA2EE7DFC56@mac.com> Message-ID: <31C76827-B62A-4AD6-8C89-9E0FB86CC5EA@lacscentre.co.uk> On 22 Jan 2007, at 20:54, Andre Garzia wrote: > I need to check if I can redirect POST requests... If I can't then > I'll need to implement a solution like you outlined here at least > for POST calls. Andre, I just looked up the rfc to see if this was the case. This is the intro to the section describing the various redirect responses (301, 302, etc.): > 10.3 Redirection 3xx > > This class of status code indicates that further action needs to be > taken by the user agent in order to fulfill the request. The > action > required MAY be carried out by the user agent without interaction > with the user if and only if the method used in the second > request is > GET or HEAD. So it looks like POST requests can't be redirected, at least not without the browser asking the user for some interaction. Cheers Dave From david at openpartnership.net Mon Jan 22 16:52:03 2007 From: david at openpartnership.net (David Bovill) Date: Mon, 22 Jan 2007 13:52:03 -0800 Subject: What is causing this bug? Message-ID: OK - so I've had to force quit. Now the start-up routing loads some libraries. One of them is the the original one I "Saved as..." - remember folks at home never do this. On starting up I get that dreaded dialogue again... Now what could be wrong with this script? repeat for each line stackObject in stackObjects if exists(stackObject) and word 1 of stackObjects is "stack" then if boolean is false then stop using stackObject else start using stackObject end if end if end repeat It cholks on start using stack "libOPN_Menus" and tries to load stack "libOPN_ExtraMenus" which is the "saved as" stack. The stackfiles knows nothing about "libOPN_ExtraMenus" and the script is not even trying to lad that stack... I'll check the actual stack names and see... but really what should I avoid doing to stop this happening... saving as is not such a crime is it? From david at openpartnership.net Mon Jan 22 17:02:07 2007 From: david at openpartnership.net (David Bovill) Date: Mon, 22 Jan 2007 14:02:07 -0800 Subject: Some clues... Message-ID: Well the actual stack name of original "libOPN_Menus" stack somehow also got changed and saved as "libOPN_MenuExtras". So I have two stack named "libOPN_MenuExtras" - fine. But why when I do this - (no stacks in memory): put exists(stack "libOPN_Menus") The result is true, and the original stack which has been renamed somehow is loaded into memory - ie "libOPN_menus.rev" which has the name "libOPN_ExtraMenus". So no big deal - the right stack is loaded with the wrong name by the stackfiles. But doing this again: put exists(stack "libOPN_Menus") Results in that annoying dialogue which caused the inifinite loop... surely existence is not such a problem ? What is the rev IDE checking for and does anyone else know what the bug is here? From vokey at uleth.ca Mon Jan 22 17:55:23 2007 From: vokey at uleth.ca (John Vokey) Date: Mon, 22 Jan 2007 15:55:23 -0700 Subject: Rev Graphics Gurus Message-ID: <568ED1D5-5313-4E88-9F0B-862351951EA5@uleth.ca> Dar, An old thread, and I hope you don't mind me contacting you directly. I asked a while back about presenting the average of two images, and you suggested that I a) group them, b) set the ink property of each, including the group, to blendSrcOver, and c) then set the opacity 0% and 50%. I am only know trying this stuff out, only to find that that there is no ink called blendSrcOver, but there is an ink called blend, and there is a basic property called blend. Are these what you meant? Second, what is the function of grouping the images? Wouldn't the inks work the same without the grouping? Dr. John R. Vokey From jacque at hyperactivesw.com Mon Jan 22 19:16:28 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 22 Jan 2007 18:16:28 -0600 Subject: Some clues... In-Reply-To: References: Message-ID: <45B553DC.2070005@hyperactivesw.com> David Bovill wrote: > Well the actual stack name of original "libOPN_Menus" stack somehow also > got > changed and saved as "libOPN_MenuExtras". > > So I have two stack named "libOPN_MenuExtras" - fine. > > But why when I do this - (no stacks in memory): > > put exists(stack "libOPN_Menus") > > The result is true, and the original stack which has been renamed somehow > is loaded into memory - ie "libOPN_menus.rev" which has the name > "libOPN_ExtraMenus". There is a difference between a stack's name and its filename. Do you mean it was renamed on disk? That won't affect its stack name. > > So no big deal - the right stack is loaded with the wrong name by the > stackfiles. > > But doing this again: > > put exists(stack "libOPN_Menus") > > Results in that annoying dialogue which caused the inifinite loop... surely > existence is not such a problem ? What is the rev IDE checking for and does > anyone else know what the bug is here? When you check for a stack's existence, the engine will open the stack (without sending any messages) much as it does when you start using a stack. If another stack has the same name, then you have two of them open, which can be a problem. Before checking for existence, try: if there is a stack then delete stack assuming the stack is not a substack. If it is a substack, just close it instead. You'll probably want to remove the stack after the existence check too, if you aren't going to use it immediately. Try this test: answer file "Choose a stack file:" put there is a stack it -- if you chose a stack, this is true answer the mainstacks When you look at the mainstacks, you will see the stack you chose, even though you never specifically opened it. One way to get around this auto-opening is to check for a "file" instead of a "stack": if there is a file then... Checking for a file does not open the file, even if it is a stack. It just checks to make sure some kind of file with that name is at the path you specify. This is different than checking for the existence of a stack, because the engine needs to open and read the stack file header to determine whether it is a stack or not. It doesn't bother opening and reading anything when you just check for the existence of a "file". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sarah.reichelt at gmail.com Mon Jan 22 19:54:59 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 23 Jan 2007 10:54:59 +1000 Subject: Rev Crashing.. In-Reply-To: <7aa52a210701220613u39c8999dv715d0b2292ec6f7d@mail.gmail.com> References: <7aa52a210701220613u39c8999dv715d0b2292ec6f7d@mail.gmail.com> Message-ID: On 1/23/07, Chipp Walters wrote: > When using Rev 2.7.4 build 291, the latest 'official' release. > > I've narrowed down a bug which I think is happening when trying to select > text and drag/drop itself in the same single line field with the htmlText > having a font attribute of 'bgColor'. > > IOW, I've successfully crashed Rev when I'm trying to select/deselect text > repeatedly in a grouped field with the htmlText set to: > > try to select THIS and move it after the > period. > > Anyone else seeing this same problem? It's very disconcerting. If I can find > a reproducable recipe, I'll post it to bugzilla, as this one's really nasty. Using the same build but Mac OS X 10.4.8 this works fine for me with no crashes. It's hard to see what I have selected since the bgcolor is the same as my hilite color, but selecting and dragging works perfectly. Cheers, Sarah From markgreenberg at cox.net Mon Jan 22 20:56:08 2007 From: markgreenberg at cox.net (Mark Greenberg) Date: Mon, 22 Jan 2007 18:56:08 -0700 Subject: Stop Repeating Keys Message-ID: <9AC3F81F-D9DC-47DC-ADDD-B5A2D662C9C0@cox.net> I have an application where the user types in numbers, but I don't want the keys to automatically repeat. For instance, if the user holds down the 5 key too long, I don't want 5555 to appear. I am already capturing the keystroke with an ON KeyDown handler and manipulating the user's input. Using KeyUp instead causes a problem when two keys are pressed, so that won't work. Any help would be appreciated, Mark Greenberg From macstacks at earthlink.net Mon Jan 22 21:36:45 2007 From: macstacks at earthlink.net (Bruce A. Pokras) Date: Mon, 22 Jan 2007 21:36:45 -0500 Subject: Crash of Windows standalone made on Intel iMac Message-ID: This was the first time I had built a Windows standalone on my new Intel iMac. I am using Rev Studio 2.7.4, Build 291. The standalone contains two cards. The first card shows up fine, and everything operates normally. The "fun" starts when I either try to go to the second card or click the "Close" box to quit. On my IBM laptop (Windows 2000), when I click a button whose script is simply "Go next", nothing happens for a few moments except that the title bar now shows (2) (for card 2) rather than (1). Then the standalone crashes. The title bar of the error alert says: 9d4: [application name.exe] - Application error The body of the error alert says: The instruction at "0x00161100" referenced memory at "0x00050007". The memory could not be "written". (The quotation marks are actually in the alert text). Click on OK to terminate the program Click on CANCEL to debug the program Now if I don't try to go to the second card, and simply close the standalone, it crashes with the following error alert: The title bar of the alert says: MCdummy: [application name.exe] - Application error The body of the alert says: The instruction at "0x77fcc8e3" referenced memory at "0x00565878". The memory could not be "written". (The quotation marks are actually in the alert text). There has never been any problem like this with my Classic iMac running Rev 2.6.1. I looked through Bugzilla, and could not find anything similar. Has anyone experienced this? Regards, Bruce Pokras Blazing Dawn Software mac-stacks at kagi.com macstacks at earthlink.net From sarah.reichelt at gmail.com Mon Jan 22 22:11:45 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 23 Jan 2007 13:11:45 +1000 Subject: Stop Repeating Keys In-Reply-To: <9AC3F81F-D9DC-47DC-ADDD-B5A2D662C9C0@cox.net> References: <9AC3F81F-D9DC-47DC-ADDD-B5A2D662C9C0@cox.net> Message-ID: On 1/23/07, Mark Greenberg wrote: > I have an application where the user types in numbers, but I don't > want the keys to automatically repeat. For instance, if the user > holds down the 5 key too long, I don't want 5555 to appear. I am > already capturing the keystroke with an ON KeyDown handler and > manipulating the user's input. Using KeyUp instead causes a problem > when two keys are pressed, so that won't work. > How about something like this (untested): local sKeyPressed on keyDown pKey if sKeyPressed <> true then put true into sKeyPressed pass keyDown end if end keyDown on keyUp put false into sKeyPressed end keyUp When a key is pressed, it checks the flag. If it is not true, then the keyDown message gets passed so the key will be typed. Then the flag is set to true. Any more keyDowns will be ignored until the flag is reset which happens on keyUp. Cheers, Sarah From bridgeyman at gmail.com Mon Jan 22 22:30:44 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Mon, 22 Jan 2007 20:30:44 -0700 Subject: Emergency - (sort of) "a stack name with the same name..." In-Reply-To: References: Message-ID: <86ae76bb0701221930u64c832dbx21affa249c916c02@mail.gmail.com> Hey, I have had a few experiences with an answer box popping up, but then making itself inaccessible, either by hiding itself or by simply lacking an "OK" button. Revolution will not let you do anything until you have responded, and you are unable to respond. I have been able to fix this by opening another stack with networking enabled (I found I am still able to open stacks, even with Rev stuck) and then remote-administering from a different computer. This usually includes: close stack "Answer dialog" and: lock messages; wait 5 seconds with messages I don't know if you happen to have two computers and a good networking stack lying around, but it is one possibility. Sorry if this wasn't much help, I was just sharing how I usually get myself out of that situation. Best of luck! TTFN Bridger Christa McAuliffe Space Education Center On 1/22/07, David Bovill wrote: > > I have done this so many times - but wandering if someone can tell me how > to > get out of it... Rev is stuck in an infinite loop... it keeps infinitely > saving two files and has the error dialogue stuck in the back. Command > period and nothing I can think of exits the loop. > > I have almost never got out of this without a force quite - and I have > just > finished some complex coding. Is there any way to get out of it??? I am > sure > you all know what I mean - it happens pretty well all the time if you > change > stacks name and then"Save as..." > > I can never quite believe that it will do this so occasionally I try a > "Save as..." - deadly! I'll go and have a beer and hope some guru has a > hack > to get out of this? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Tue Jan 23 03:34:09 2007 From: chipp at chipp.com (Chipp Walters) Date: Tue, 23 Jan 2007 02:34:09 -0600 Subject: Emergency - (sort of) "a stack name with the same name..." In-Reply-To: <86ae76bb0701221930u64c832dbx21affa249c916c02@mail.gmail.com> References: <86ae76bb0701221930u64c832dbx21affa249c916c02@mail.gmail.com> Message-ID: <7aa52a210701230034i7d63e6b0x409b0096a7abc97a@mail.gmail.com> Try clicking on the 'messages button' to turn them off. Also, try working the task manager, sometimes it will 'interrupt' Rev long enough for a command-period exit. If you sometimes hit the enter or return key, it will default the hidden dialog, and there's a moment when you might be able to command-periode as well. If you can see the dialog, try ctrl-clicking on it and see if a menu won't popup where you can close it. Hope you get it fixed...Always Backup. From chipp at chipp.com Tue Jan 23 03:39:00 2007 From: chipp at chipp.com (Chipp Walters) Date: Tue, 23 Jan 2007 02:39:00 -0600 Subject: What is causing this bug? In-Reply-To: References: Message-ID: <7aa52a210701230039g41f3ad28n6e694c603b185305@mail.gmail.com> Do you have a reference in libOPN_Menus to other stacks in the same directory? You of course are trapping the libraryStack message which is sent to a library when it first starts up. Try using my free altSave plugin which auto-increments backups and places them in an archive folder as you manually save them (does NOT auto-save-- I hate that). It works with altPluginToolbar which can be found at Altuit's website. -Chipp On 1/22/07, David Bovill wrote: > > OK - so I've had to force quit. > > Now the start-up routing loads some libraries. One of them is the the > original one I "Saved as..." - remember folks at home never do this. On > starting up I get that dreaded dialogue again... > > > Now what could be wrong with this script? > > repeat for each line stackObject in stackObjects > if exists(stackObject) and word 1 of stackObjects is "stack" then > if boolean is false then > stop using stackObject > else > start using stackObject > end if > end if > end repeat > > It cholks on start using stack "libOPN_Menus" and tries to load stack > "libOPN_ExtraMenus" which is the "saved as" stack. The stackfiles knows > nothing about "libOPN_ExtraMenus" and the script is not even trying to lad > that stack... > > I'll check the actual stack names and see... but really what should I > avoid > doing to stop this happening... saving as is not such a crime is it? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From david at openpartnership.net Tue Jan 23 06:18:24 2007 From: david at openpartnership.net (David Bovill) Date: Tue, 23 Jan 2007 03:18:24 -0800 Subject: What is causing this bug? In-Reply-To: <7aa52a210701230039g41f3ad28n6e694c603b185305@mail.gmail.com> References: <7aa52a210701230039g41f3ad28n6e694c603b185305@mail.gmail.com> Message-ID: On 23/01/07, Chipp Walters wrote: > > Do you have a reference in libOPN_Menus to other stacks in the same > directory? Not that I can find - it is a strange one to me. I have the same thing happening with another stak I "saved as..." - that is often when I open it - the original version gets automatically loaded into memory! It's the sort of bug that is hard to track down - I have serached the scripts for any reference to the old stack name and looked at the stack files - I am not sure if it is me, Revs IDE, or Galaxy. So i figure the best place to figure it out is on this list - its happened often enough to be worth a discussion I think. You of course are trapping the libraryStack message which is sent > to a library when it first starts up. No - why would I trap that? It gets sent but I have no need to perform and action when the library is used. Try using my free altSave plugin which auto-increments backups and places > them in an archive folder as you manually save them (does NOT auto-save-- > I > hate that). It works with altPluginToolbar which can be found at Altuit's > website. Will do - sounds like the archives are saved in their own directory - not in lots of archive directories within the users application directory structure - that would be very useful! NB - whats the latest on the SVN external - are you still planning to open source it? From david at openpartnership.net Tue Jan 23 06:25:18 2007 From: david at openpartnership.net (David Bovill) Date: Tue, 23 Jan 2007 03:25:18 -0800 Subject: Some clues... (and 3 handlers) Message-ID: Thanks for that Jack - in response here are 3 handlers you can use to check stacks without getting these error messages and without ending up with them loaded into memory: function stack_Exists someName -- will not add stack to memory set lockmessages to true put the mainstacks into stacksInMemory put empty into shortStackName if exists(stack someName) then put true into safeExistence put not(shortStackName is among the lines of stacksInMemory) into needToClose if needToClose then stack_CloseMain someFile end if else put false into safeExistence end if set lockmessages to false return safeExistence end stack_Exists function stack_GetShortName someName -- will not add stack to memory set lockmessages to true put the mainstacks into stacksInMemory put empty into shortStackName if exists(stack someName) then put the filename of stack someName into someFile put the short name of stack someName into shortStackName put not(shortStackName is among the lines of stacksInMemory) into needToClose if needToClose then stack_CloseMain someFile end if end if set lockmessages to false return shortStackName end stack_GetShortName function stack_GetFileName someName -- will not add stack to memory set lockmessages to true put the mainstacks into stacksInMemory put empty into someFile if exists(stack someName) then put the filename of stack someName into someFile put the short name of stack someName into shortStackName put not(shortStackName is among the lines of stacksInMemory) into needToClose if needToClose then stack_CloseMain someFile end if end if set lockmessages to false return someFile end stack_GetFileName Now my question is if there can be a confusion with stacks of the same name - while the above handlers do not set anything so are safe I think - where and when exactly can things o wrong? As an example: set the name of stack somefile Would I guess always work as expected (even if there are two stacks in memory with the same short name). So is there never any harm if you refer to things with the long id - and you can then safely script away using lockmessages as in the above script? That is this "problem" - basically an IDE problem, and if you properly script your own application - Transcript wont goof up on you? From asgg35 at dsl.pipex.com Tue Jan 23 08:18:25 2007 From: asgg35 at dsl.pipex.com (asgg35 at dsl.pipex.com) Date: Tue, 23 Jan 2007 13:18:25 +0000 Subject: get URL "Bad request error" Message-ID: <1169558305.45b60b21d0828@netmail.pipex.net> Hello all - can anyone help with this? if I enter: put url ("http://www.northyorkmoors.pwp.blueyonder.co.uk/Arded watermill.jpg") into the message box, it returns: >>>> Error 400 Bad Request

Error 400 Bad Request

Powered by Zeus Technology <<<< But if I paste the url into Safari it correctly loads the url (a jpg of ditched car) What's going on? Any Ideas? Chris From m.schonewille at economy-x-talk.com Tue Jan 23 08:31:32 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 23 Jan 2007 14:31:32 +0100 Subject: get URL "Bad request error" In-Reply-To: <1169558305.45b60b21d0828@netmail.pipex.net> References: <1169558305.45b60b21d0828@netmail.pipex.net> Message-ID: <74F2DE1F-5AC2-4631-B1FC-FE13E6E526E8@economy-x-talk.com> This works: put url ("http://www.northyorkmoors.pwp.blueyonder.co.uk/Arded% 20watermill.jpg") Check the UrlEncode function in the docs. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 23-jan-2007, om 14:18 heeft asgg35 at dsl.pipex.com het volgende geschreven: > Hello all - > > can anyone help with this? if I enter: > > put url ("http://www.northyorkmoors.pwp.blueyonder.co.uk/Arded > watermill.jpg") > > into the message box, it returns: > >>>>> > Error 400 Bad Request > >

Error 400 Bad Request > >

Powered by Zeus > Technology i> > <<<< > > > But if I paste the url into Safari it correctly loads the url (a > jpg of ditched > car) > > What's going on? Any Ideas? > > Chris > From runrev260805 at m-r-d.de Tue Jan 23 08:35:11 2007 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Tue, 23 Jan 2007 13:35:11 +0000 Subject: get URL "Bad request error" Message-ID: Hi, semms that the "blank" in the url is not accepted. Try put url ("http://www.northyorkmoors.pwp.blueyonder.co.uk/Arded%20watermill.jpg") replace the blank with %20. That works for me. Matthias -------- Original Message -------- Subject: get URL "Bad request error" (23-Jan-2007 14:25) From: asgg35 at dsl.pipex.com To: runrev260805 at m-r-d.de > Hello all - > > can anyone help with this? if I enter: > > put url ("http://www.northyorkmoors.pwp.blueyonder.co.uk/Arded watermill. > jpg") > > into the message box, it returns: > > >>>> > Error 400 Bad Request > >

Error 400 Bad Request > >

Powered by Zeus Technology< > / > i> > <<<< > > > But if I paste the url into Safari it correctly loads the url (a jpg of > ditched > car) > > What's going on? Any Ideas? > > Chris > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > To: use-revolution at lists.runrev.com From asgg35 at dsl.pipex.com Tue Jan 23 08:35:19 2007 From: asgg35 at dsl.pipex.com (asgg35 at dsl.pipex.com) Date: Tue, 23 Jan 2007 13:35:19 +0000 Subject: get URL "Bad request error" In-Reply-To: <1169558305.45b60b21d0828@netmail.pipex.net> References: <1169558305.45b60b21d0828@netmail.pipex.net> Message-ID: <1169559319.45b60f178e518@netmail.pipex.net> Folks - Ah - sorted. I think Safari was "helpfully" converting spaces in the url to "% 20". Think I'm ok now. Chris Quoting asgg35 at dsl.pipex.com: > Hello all - > > can anyone help with this? if I enter: > > put url ("http://www.northyorkmoors.pwp.blueyonder.co.uk/Arded > watermill.jpg") > > into the message box, it returns: > > >>>> > Error 400 Bad Request > >

Error 400 Bad Request > >

Powered by Zeus > Technology i> > <<<< > > > But if I paste the url into Safari it correctly loads the url (a jpg of > ditched > car) > > What's going on? Any Ideas? > > Chris > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- From alex at harryscollar.com Tue Jan 23 09:23:04 2007 From: alex at harryscollar.com (Alex Shaw) Date: Wed, 24 Jan 2007 00:23:04 +1000 Subject: help with a multi process http server. In-Reply-To: <300F6B3C-FB4D-43BC-B9D1-770E088775FA@lacscentre.co.uk> References: <52BF4DAC-3027-473A-B4B4-49C7E0BE7F47@mac.com> <300F6B3C-FB4D-43BC-B9D1-770E088775FA@lacscentre.co.uk> Message-ID: <45B61A48.3010008@harryscollar.com> Hi Dave I see two situations where this can be a problem (particularly when related to file serving) which would need a lot of extra code to work properly. 1. Large files. Using the "seek" command would get around this. 2. Dynamic environments where file contents can change. So serving ever-changing large files would need a few locks & checks. I haven't tried this but if you use the for write form to open a file for writing does this mean the same file cannot be opened for a read? regards alex Dave Cragg wrote: > This would put an extra burden on the scheduler when it has to write > back large quantities of data to simulataneous requests from different > clients. But I think it should be possible to slice up the responses so > that you only write back to the client sockets in small chunks (say 4096 > KB at a time). This should allow simultaneous connections to appear to > work simultaneously. From JimAultWins at yahoo.com Tue Jan 23 14:07:19 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 23 Jan 2007 11:07:19 -0800 Subject: What is causing this bug? In-Reply-To: Message-ID: On 1/23/07 3:18 AM, "David Bovill" wrote: >(Chipp- Try using my free altSave plugin which auto-increments backups) > Will do - sounds like the archives are saved in their own directory - not in > lots of archive directories within the users application directory structure > - that would be very useful! Archives are saved in a directory named "^archive" in the same directory as the stack filename. I, too, have changed the way I use Save As, since it can produce problems. For most computer users, the intuitive leads to consequences because of the way Rev handles the filename vs stack name and memory loading. AltArchive solves the situation you are describing, I think. My problems were related to graphics stored with the stack triggering the opening of all the previous 'save as' versions, which had the same stack name. The only way to get past this was to move the older stacks to another folder so Rev could not find them, therefore skipping the open stack. I do not do that anymore. Jim Ault Las Vegas On 1/23/07 3:18 AM, "David Bovill" wrote: > On 23/01/07, Chipp Walters wrote: >> >> Do you have a reference in libOPN_Menus to other stacks in the same >> directory? > > > Not that I can find - it is a strange one to me. I have the same thing > happening with another stak I "saved as..." - that is often when I open it > - the original version gets automatically loaded into memory! It's the sort > of bug that is hard to track down - I have serached the scripts for any > reference to the old stack name and looked at the stack files - I am not > sure if it is me, Revs IDE, or Galaxy. So i figure the best place to figure > it out is on this list - its happened often enough to be worth a discussion > I think. > > You of course are trapping the libraryStack message which is sent >> to a library when it first starts up. > > > No - why would I trap that? It gets sent but I have no need to perform and > action when the library is used. > > Try using my free altSave plugin which auto-increments backups and places >> them in an archive folder as you manually save them (does NOT auto-save-- >> I >> hate that). It works with altPluginToolbar which can be found at Altuit's >> website. > > > Will do - sounds like the archives are saved in their own directory - not in > lots of archive directories within the users application directory structure > - that would be very useful! > > NB - whats the latest on the SVN external - are you still planning to open > source it? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From JimAultWins at yahoo.com Tue Jan 23 15:21:22 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 23 Jan 2007 12:21:22 -0800 Subject: Has this been bugz'd Message-ID: This seems like it should have already been reported, but I could not find it, so... Approximate recipe since exact events are very difficult to determine. Script editor open Error report stack open Working in script editor window Doing many stack design operations and script editing. Copy-paste script lines in same container working... then suddenly Copy works but paste does not cmd-V causes the Error report stack to move a vertical divider to the midway point. Cannot paste into the script area or Find field Can paste into the msg box or another app Closing the script editor, reopening restores the paste capability Works for a while, then stops again. Could this be related to using Rev Find to search scripts? I do this rarely. This may not happen for 2-3 days, or weeks, then several times in one day. Hopefully this is a bug that has been reported and fixed, otherwise I will report it. Rev 2.7.2 build 261, OSX 10.4.7 Jim Ault Las Vegas From david at openpartnership.net Tue Jan 23 15:24:44 2007 From: david at openpartnership.net (David Bovill) Date: Tue, 23 Jan 2007 12:24:44 -0800 Subject: What is causing this bug? In-Reply-To: References: Message-ID: On 23/01/07, Jim Ault wrote: > > On 1/23/07 3:18 AM, "David Bovill" wrote: > >(Chipp- Try using my free altSave plugin which auto-increments backups) > > > Will do - sounds like the archives are saved in their own directory - > not in > > lots of archive directories within the users application directory > structure > > - that would be very useful! > Archives are saved in a directory named "^archive" in the same directory > as > the stack filename. Ah that's a pity as it means if you have lots of nested folders - you cant easiy remove the archive folders for distribution? From david at openpartnership.net Tue Jan 23 15:28:14 2007 From: david at openpartnership.net (David Bovill) Date: Tue, 23 Jan 2007 12:28:14 -0800 Subject: Has this been bugz'd In-Reply-To: References: Message-ID: On 23/01/07, Jim Ault wrote: > > Closing the script editor, reopening restores the paste capability > Works for a while, then stops again. This has always been there from back in Metacard days - along with occassional lines missing with large copy and pastes - AFAIK it only happens in the script editor but then I don"t do much copy and pasting anywhere else:) Firefox used to do the same thing on OSX at least - so i always figured it was a system / engine thing??? From JimAultWins at yahoo.com Tue Jan 23 16:31:17 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 23 Jan 2007 13:31:17 -0800 Subject: What is causing this bug? In-Reply-To: Message-ID: On 1/23/07 12:24 PM, "David Bovill" wrote: >> Archives are saved in a directory named "^archive" in the same directory >> as >> the stack filename. > > Ah that's a pity as it means if you have lots of nested folders - you cant > easiy remove the archive folders for distribution? So, just open the stack named 'revAltArchive', open the stack script, and change the archive path logic. The sequential renaming should work and you are good to go with your version of the plugin. Jim Ault Las Vegas From janschenkel at yahoo.com Tue Jan 23 17:15:32 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 23 Jan 2007 14:15:32 -0800 (PST) Subject: help with a multi process http server. In-Reply-To: <52BF4DAC-3027-473A-B4B4-49C7E0BE7F47@mac.com> Message-ID: <40089.82698.qm@web60512.mail.yahoo.com> --- Andre Garzia wrote: > Hello Folks, > > I am here experimenting with a new approach to > building revolution > based servers. We've been asking for threads or > forks for a while but > until the day of such implementation comes, we need > to use what we > can. One other language I always liked (to the point > that we created > a whole company around it some years ago) was REBOL. > I remember from > the blogosphere that someone did a REBOL based > webserver with some > nice benchmarks, I decided to check it out because > last I remembered, > REBOL was also a single thread language. After > checking many sites, I > discovered that they along with other people around > are using a > process pool and a scheduler that handles the > connections and > redirect them to the next free process on the pool. > > I decided to take the same approach, I made a > tweeked version of my > RevHTTP server that can be launched from a shell() > call so that I can > create a scheduler that can launch some number of > processes to make > the pool. I created a simple communicating scheme > using wget to make > little semaphores so that each server instance can > tell the scheduler > where it is busy or free. So far, so good but > there's one problem. > > Suppose the scheduler is running 8080 and each > server instance in the > pool is running from 8081 onwards. When the client > connects to 8080, > the scheduler sends back a redirection response so > that the client > refreshes to a different port (of a free instance in > the pool). The > problem is that a http client such as a browser will > then request > favico and all the links in the html from the same > port for it re- > uses data from the connection that yielded that > result to fill > missing data in the URL. For example, if you make a > link that goes > to /newpage.html, then the server will make it > http://yourserver/ > newpage.html. If I answered from port 8081, all > links in the page > will "inherit" that port and I want all the > connections to come to > the scheduler running on a different port. > > One approach to solve this is to parse all the > response and change > all the html responses to include the correct URLs. > This is very > boring and slow for we must cope with href, src, > link, rel and all > kinds of css includes and stuff. What I hoped to > find was some HTTP > header field that would tell like: "hey this server > is acutally > running at port bla bla bla" such as: > > host: localhost:8080 > > despite the fact that that answer came thru 8081. > This way the whole > thing would work and maybe we would have a a web > server built with > Rev that could see some real world use... > > Anyone has two cents? > > Andre > Hi Andre et al, During one of my similar experiments, I ended up with an http server that didn't do any of the serving itself, but acted as a router between the client computer and the server apps. The server apps ran on ports that were blocked from outside access, instead of using redirects. The housekeeping can be done fairly easily, and you can use a chunking approach along with asynchronous write to socket commands. However, rapidly refreshing the browser can result in a serious overload of the routing/scheduling app so you'll want to add the necessary logic to cancel requests that are being processed by the server apps. Just my two eurocents, Jan. Quartam Reports for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ____________________________________________________________________________________ Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games. http://games.yahoo.com/games/front From janschenkel at yahoo.com Tue Jan 23 17:27:20 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 23 Jan 2007 14:27:20 -0800 (PST) Subject: FormatForPrinting In-Reply-To: <594E1A1B-56E2-4077-8B04-16DA1DCDB644@mac.com> Message-ID: <20070123222720.23078.qmail@web60518.mail.yahoo.com> --- Graham Samuel wrote: > Thanks Chipp - and Mark, I have no idea if better > printing is coming > along but it certainly should: I do not think > RunRev's support for > printing is adequate for a modern RAD tool: one very > old issue is > that one can't get at the settings made by the user > in the Page Setup > dialog, but others do include the kludge which is > FormatForPrinting, > the great difficulty you have now about working out > exactly how many > pages are needed for a printout of a given field, > and the fact that > you can't find out the limits of the marking engine > within the > printed page for a given printer, despite the fact > that many other > apps obviously do have access to this info, some of > them on more than > one platform. > > I would really like a packaged printing library > offering a simple > reporting feature one could build on, with page > numbers, headings, > previews, back and forth views and so on. I do not > believe such a > thing could be constructed in pure Transcript (or > Revscript or > whatever) today, because not all the building blocks > are there. > > The usual 2 Eurocents > > Graham > Hi Graham et al, As you can imagine, I'm all in favour of extended printing support in the Revolution engine. The whole formatForPrinting construct is confusing at best and deserves retirement. Displaying the page setup and printing dialog boxes should be extended to letting developers fetch the necessary printing information as well as sending printouts to specific printers without having to jump through hoops with shell or applescript calls. Previews could be handled by expanding the 'open printing' command to let you print into a GIF image so that you can flip through the pages by changing the currentFrame of an image control. Nonetheless, I think that Quartam Reports has shown that you can go quite a long way with pure scripting. And the combination of 'open printing', 'print into rect' and 'close printing' allows you to script a great deal of reports by yourself. Of course, this is all at the pixel level, unless you include logic to blow up all the content and scale it along the way - not an easy exercise. If you want pin-point precision, you ought to take a look at the Quartam PDF Library that is now in public beta test, as this ensures the best cross-platform output. Best regards, Jan Schenkel. Quartam Reports for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html From JimAultWins at yahoo.com Tue Jan 23 21:20:33 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 23 Jan 2007 18:20:33 -0800 Subject: Has this been reported (continued) Message-ID: Sorry about losing the thread, but the messages were purged. David Bovill wrote that the bug was true back in the metacard days and thought it might be a system quirk. The main issue is the copy-paste text in a script window using the keyboard. If it is a system problem, then why does --the Edit menu in Rev highlight briefly? --workaround by using the mouse and doing Edit:Paste Text work? I don't know the recipe to get this to happen, but every few days now I get a rash of occurances. My original question was "is this a bug that has been reported", if not I will try to do so. Jim Ault Las Vegas From bridgeyman at gmail.com Wed Jan 24 00:30:15 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Tue, 23 Jan 2007 22:30:15 -0700 Subject: Formatting XML Data Message-ID: <86ae76bb0701232130x5238df4ct6255572a964d4794@mail.gmail.com> Hey, I am a first time XML user, just testing it out. I noticed that the text returned by the revXMLText() function has no formatting (returns, tabs) and isn't very easy to read. Is there a way to format this so it is easier to read, or would it be best to keep the XML how it is now? I am not sure what the standard is, but I thought XML should be formatted to be easy to read, like HTML. TTFN Bridger Maxwell Christa McAuliffe Space Education Center From list at dreamscapesoftware.com Wed Jan 24 00:40:38 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Tue, 23 Jan 2007 23:40:38 -0600 Subject: Formatting XML Data In-Reply-To: <86ae76bb0701232130x5238df4ct6255572a964d4794@mail.gmail.com> References: <86ae76bb0701232130x5238df4ct6255572a964d4794@mail.gmail.com> Message-ID: <45B6F156.8030605@dreamscapesoftware.com> Hello Bridger, It must have been 2 week ago that I was asking the list the very same question. The answers I got were excellent and put a lot of my questions to rest. First, you should check out Sarah Reichelt's excellent demo for revXML, which is located at: http://www.troz.net/Rev/tutorials/XMLdemo1.rev.gz After that, check out Ken Ray's XML Parsing Library, which is located at: http://www.sonsothunder.com/ And finally, I quote Bill Marriott: > The problem with XML is that people can do any old thing they want with it. > While the RULES are ridiculously strict, the implementations can drive you > nuts. For example, look at the cookies.plist file on a Mac. It has a really > wacky setup that I think makes it all but impossible to parse with the > RevXML library without "walking" through it. Its something like: > > > > Name > Bill > EyeColor > Blue > > > > Whereas the Rev library seems to make it easier to do something like: > > > > To be honest, I usually poke around in Sarah's stack and then figure out > which function(s) I need through trial and error. It's just harder for me to > "visualize" what I want to accomplish with XML. > > I can say that once you figure out what two or three commands you need to > use to parse an XML file, it's way faster than using chunk expressions or > some other method. I hope that helps! Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ Bridger Maxwell wrote: > Hey, I am a first time XML user, just testing it out. I noticed that > the text returned by the revXMLText() function has no formatting > (returns, tabs) and isn't very easy to read. Is there a way to > format this so it is easier to read, or would it be best to keep the > XML how it is now? I am not sure what the standard is, but I thought > XML should be formatted to be easy to read, like HTML. > > > TTFN Bridger Maxwell Christa McAuliffe Space Education Center > _______________________________________________ use-revolution > mailing list use-revolution at lists.runrev.com Please visit this url to > subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From sarah.reichelt at gmail.com Wed Jan 24 00:41:48 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 24 Jan 2007 15:41:48 +1000 Subject: Formatting XML Data In-Reply-To: <86ae76bb0701232130x5238df4ct6255572a964d4794@mail.gmail.com> References: <86ae76bb0701232130x5238df4ct6255572a964d4794@mail.gmail.com> Message-ID: On 1/24/07, Bridger Maxwell wrote: > Hey, > I am a first time XML user, just testing it out. I noticed that the text > returned by the revXMLText() function has no formatting (returns, tabs) and > isn't very easy to read. Is there a way to format this so it is easier to > read, or would it be best to keep the XML how it is now? I am not sure what > the standard is, but I thought XML should be formatted to be easy to read, > like HTML. There is an un-documented feature that might help. Instead of using put revXMLText(tDocID) into tXMLtext try put revXMLText(tDocID,,true) into tXMLtext The "true" does a bit of formatting for you, although not very much. If you want more formatting, you might be interested in my XML demo stack . It includes a function called formatXMLText() that does a better job of laying out the text, although I'm not sure that it would cope well with very large files. HTH, Sarah From dave at looktowindward.com Wed Jan 24 07:15:33 2007 From: dave at looktowindward.com (Dave) Date: Wed, 24 Jan 2007 12:15:33 +0000 Subject: Beta Program In-Reply-To: <66FEDE67-FB65-4CEC-96A0-CB1CD9BECA7C@looktowindward.com> References: <002a01c73371$87dbd2c0$6501a8c0@lynn> <66FEDE67-FB65-4CEC-96A0-CB1CD9BECA7C@looktowindward.com> Message-ID: <4823F428-91B5-497F-9CD5-1793C84313A3@looktowindward.com> Hi All, I signed up for this on the 9th of Jan, got an email back saying that I would hear something "Next Week", but still nothing????? Is there something else I need to do? All the Best Dave On 9 Jan 2007, at 13:41, Dave wrote: > Hi, > > I signed up! > > One question though: > > How do you manage to use 2.7.x and 2.6.6. at the same time? > > When I installed the 2.7.x evaluation, it changed all owner of my > stacks to the latest version. I got rid of it, but now I have to > manually change the owner for each stack on my system! > > Any help or advice very welcome. > > Thank a lot and All the Best > Dave > > > On 8 Jan 2007, at 22:08, Lynn Fredricks wrote: > >>> No, I haven't but did promise I would. To be honest I've been >>> swamped for the last 5 or 6 weeks and forgot all about it. >>> What's the drill for signing up? I'll do it tomorrow. >> >> http://support.runrev.com/beta_test.php >> >> Best regards, >> >> >> Lynn Fredricks >> Worldwide Business Operations >> Runtime Revolution, Ltd >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major-k.de Wed Jan 24 07:18:12 2007 From: klaus at major-k.de (Klaus Major) Date: Wed, 24 Jan 2007 13:18:12 +0100 (MET) Subject: Beta Program In-Reply-To: <4823F428-91B5-497F-9CD5-1793C84313A3@looktowindward.com> References: <002a01c73371$87dbd2c0$6501a8c0@lynn> <66FEDE67-FB65-4CEC-96A0-CB1CD9BECA7C@looktowindward.com> <4823F428-91B5-497F-9CD5-1793C84313A3@looktowindward.com> Message-ID: Hi Dave, > Hi All, > > I signed up for this on the 9th of Jan, got an email back saying > that I would hear something "Next Week", but still nothing????? > Is there something else I need to do? Except waiting? No :-) > All the Best > Dave Regards Klaus Major klaus at major-k.de http://www.major-k.de From martinblackman at gmail.com Wed Jan 24 07:21:12 2007 From: martinblackman at gmail.com (Martin Blackman) Date: Wed, 24 Jan 2007 21:21:12 +0900 Subject: XML & memory use/release Message-ID: <79d1bee70701240421h1d338d07w661ce839f7c28cb9@mail.gmail.com> Dear listfolks, I've noticed that creating an xml tree from a file using 'revcreatexmltree' can take up anything from 15 to 30 times the size of the file on disk in memory. Does that sound like Rev is doing anything peculiar to those with more understanding of the underlying behaviour ? I need to deal with some reasonably large files and so need to consider ways to avoid changing the user's computer into treacle. ( I've been able to grind my 512MB laptop practically to standstill but my desktop seems to manage OK even when its physical memory available is very low) I've had a look at the 'hasmemory' function but the docs say not to trust it ! It works to some extent , but seems to play it safe by returning false if you want more than about 2/3 of the available physical memory. The other thing I've found is that revdeleteXMLltree does not seem to free up any memory, at least looking at the Windows Task manager 'physical memory available' and 'commit charge'. This looks to be worth a Bugzilla entry to me but I'm outside my knowledge zone here. At this stage it looks like I should check the hasmemory and then split up the xml file if need be, but I could still run into problems thanks to the above memory-releasing problem. Or maybe my laptop is just problematic... Any thoughts ? Many thanks Martin Blackman From david at openpartnership.net Wed Jan 24 09:00:44 2007 From: david at openpartnership.net (David Bovill) Date: Wed, 24 Jan 2007 06:00:44 -0800 Subject: What is causing this bug? In-Reply-To: References: Message-ID: OK - done :) On 23/01/07, Jim Ault wrote: > > On 1/23/07 12:24 PM, "David Bovill" wrote: > > >> Archives are saved in a directory named "^archive" in the same > directory > >> as > >> the stack filename. > > > > Ah that's a pity as it means if you have lots of nested folders - you > cant > > easiy remove the archive folders for distribution? > > So, just open the stack named 'revAltArchive', open the stack script, and > change the archive path logic. The sequential renaming should work and > you > are good to go with your version of the plugin. > > Jim Ault > Las Vegas > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From david at openpartnership.net Wed Jan 24 09:01:53 2007 From: david at openpartnership.net (David Bovill) Date: Wed, 24 Jan 2007 06:01:53 -0800 Subject: Has this been reported (continued) In-Reply-To: References: Message-ID: Yes it is a bug - and for me at least it's been there a few years. From m.schonewille at economy-x-talk.com Wed Jan 24 10:25:56 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 24 Jan 2007 16:25:56 +0100 Subject: Visual Basic expert Message-ID: <6B6A0670-54E3-4F8B-9FCA-DC2A2115FA6F@economy-x-talk.com> Hello, Economy-x-Talk is looking for a Visual Basic expert who has at least minimal experience with Revolution. We have a task to do that would take an experienced VB programmer probably no more than a few hours. Please, write me off-list. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz From kray at sonsothunder.com Wed Jan 24 13:44:30 2007 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 24 Jan 2007 12:44:30 -0600 Subject: Formatting XML Data In-Reply-To: <45B6F156.8030605@dreamscapesoftware.com> References: <86ae76bb0701232130x5238df4ct6255572a964d4794@mail.gmail.com> <45B6F156.8030605@dreamscapesoftware.com> Message-ID: <20070124124430476384.258c6782@sonsothunder.com> On Tue, 23 Jan 2007 23:40:38 -0600, Derek Bump wrote: > Hello Bridger, > > It must have been 2 week ago that I was asking the list the very same > question. The answers I got were excellent and put a lot of my > questions to rest. > > First, you should check out Sarah Reichelt's excellent demo for revXML, > which is located at: http://www.troz.net/Rev/tutorials/XMLdemo1.rev.gz > > After that, check out Ken Ray's XML Parsing Library, which is located > at: http://www.sonsothunder.com/ Thanks for the plug, Derek... here's the full URL for anyone who's interested: http://www.sonsothunder.com/products/xmllib/xmllib.htm Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From cszasz at mac.com Wed Jan 24 14:31:21 2007 From: cszasz at mac.com (Charles Szasz) Date: Wed, 24 Jan 2007 14:31:21 -0500 Subject: Problem with altBrowser Message-ID: <0FF18B93-93F0-45D1-BE65-12E110205717@mac.com> After downloading the altBrowser stack and following the steps in the stack, I get the following error message when I try to run the demo: executing at 2:24:19 PM Type Handler: can't find handler ObjecbrowserTest Line XBrowser_Open tWinID,pURL Hint XBrowser_Open The offending code is the line that XBrowser_open on abOpenBrowser pURL --> MAKE SURE YOU USE WINDOW ID FOR MAC put the windowid of this stack into tWinID XBrowser_Open tWinID,pURL ----> the problem code! put the result into tBrowserID if tBrowserID contains "error" then answer warning lBrowserID exit to top end if set the altBrowserID of this stack to tBrowserID end abOpenBrowser Charles Szasz cszasz at mac.com From jacque at hyperactivesw.com Wed Jan 24 15:01:00 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 24 Jan 2007 14:01:00 -0600 Subject: Problem with altBrowser In-Reply-To: <0FF18B93-93F0-45D1-BE65-12E110205717@mac.com> References: <0FF18B93-93F0-45D1-BE65-12E110205717@mac.com> Message-ID: <45B7BAFC.30307@hyperactivesw.com> Tech support is receiving a high volume of questions about the alt-plugins, and the problems are all due to incorrect installation. These are externals, not plugin stacks, and you need to put the externals in the proper location so they will load. To install the altBrowser external on Windows: Look in your My Documents folder and find the "My Revolution" folder inside that. Inside the "My Revolution" folder there should be a folder called Externals. If there isn't one, create an Externals folder yourself. Then put all the .dll files in there. You can keep the other files (the ones without the .dll extension) anywhere you like. Only the .dll files need to be placed in the Externals folder. If you are on a Mac: Look in your Documents folder and find the "My Revolution" folder inside that. Inside the "My Revolution" folder there should be a folder called Externals. If there isn't one, create an Externals folder yourself. Then put all the .bundle files in there. You can keep the other files (the ones without the .bundle extension) anywhere you like. Only the .bundle files need to be placed in the Externals folder. Once you have moved the files, quit and restart Revolution, and then the externals will load automatically the first time you try to use them. If you haven't visited the externals page recently, documentation has been added to the downloads page. You may want to revisit it and download the pdf files that contain instructions. Charles Szasz wrote: > After downloading the altBrowser stack and following the steps in the > stack, I get the following error message when I try to run the demo: > > executing at 2:24:19 PM > Type Handler: can't find handler > ObjecbrowserTest > Line XBrowser_Open tWinID,pURL > Hint XBrowser_Open > > The offending code is the line that XBrowser_open > > on abOpenBrowser pURL > --> MAKE SURE YOU USE WINDOW ID FOR MAC > put the windowid of this stack into tWinID > XBrowser_Open tWinID,pURL ----> the problem code! > put the result into tBrowserID > if tBrowserID contains "error" then > answer warning lBrowserID > exit to top > end if > set the altBrowserID of this stack to tBrowserID > end abOpenBrowser > > > > > Charles Szasz > cszasz at mac.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From list at dreamscapesoftware.com Wed Jan 24 15:36:46 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Wed, 24 Jan 2007 14:36:46 -0600 Subject: Problem with altBrowser In-Reply-To: <45B7BAFC.30307@hyperactivesw.com> References: <0FF18B93-93F0-45D1-BE65-12E110205717@mac.com> <45B7BAFC.30307@hyperactivesw.com> Message-ID: <45B7C35E.6020409@dreamscapesoftware.com> > Look in your My Documents folder and find the "My Revolution" folder > inside that. Inside the "My Revolution" folder there should be a folder > called Externals. If there isn't one, create an Externals folder > yourself. Then put all the .dll files in there. You can keep the other > files (the ones without the .dll extension) anywhere you like. Only the > .dll files need to be placed in the Externals folder. I just tested this out, and it appears that putting extensions in this folder, or the "My Revolution " folder, does not result in the stack binding to the external... unless of course you reference it directly. Also, please see Bug Report #3988, in which the IDE does not create a "My Revolution " directory anywhere on the user's hard drive, either at install or upon launching. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ From list at dreamscapesoftware.com Wed Jan 24 15:52:52 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Wed, 24 Jan 2007 14:52:52 -0600 Subject: Problem with altBrowser In-Reply-To: <45B7C35E.6020409@dreamscapesoftware.com> References: <0FF18B93-93F0-45D1-BE65-12E110205717@mac.com> <45B7BAFC.30307@hyperactivesw.com> <45B7C35E.6020409@dreamscapesoftware.com> Message-ID: <45B7C724.1090707@dreamscapesoftware.com> Derek Bump wrote: > I just tested this out, and it appears that putting extensions in this > folder, or the "My Revolution " folder, does not result in the > stack binding to the external... unless of course you reference it > directly. Just filed this issue on the Quality Control Center. Bug #4264. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ From jacque at hyperactivesw.com Wed Jan 24 16:37:28 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 24 Jan 2007 15:37:28 -0600 Subject: Problem with altBrowser In-Reply-To: <45B7C35E.6020409@dreamscapesoftware.com> References: <0FF18B93-93F0-45D1-BE65-12E110205717@mac.com> <45B7BAFC.30307@hyperactivesw.com> <45B7C35E.6020409@dreamscapesoftware.com> Message-ID: <45B7D198.5070201@hyperactivesw.com> Derek Bump wrote: >> Look in your My Documents folder and find the "My Revolution" folder >> inside that. Inside the "My Revolution" folder there should be a >> folder called Externals. If there isn't one, create an Externals >> folder yourself. Then put all the .dll files in there. You can keep >> the other files (the ones without the .dll extension) anywhere you >> like. Only the .dll files need to be placed in the Externals folder. > > I just tested this out, and it appears that putting extensions in this > folder, or the "My Revolution " folder, does not result in the > stack binding to the external... unless of course you reference it > directly. You're right. The downloads have changed since I last looked at them; sorry. I haven't been able to get it to run at all on OS X, to be honest. I need to find out more. The last download I did had no "launcher" stack, only the individual pieces. I should have checked before posting. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From list at dreamscapesoftware.com Wed Jan 24 16:56:11 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Wed, 24 Jan 2007 15:56:11 -0600 Subject: Problem with altBrowser In-Reply-To: <45B7D198.5070201@hyperactivesw.com> References: <0FF18B93-93F0-45D1-BE65-12E110205717@mac.com> <45B7BAFC.30307@hyperactivesw.com> <45B7C35E.6020409@dreamscapesoftware.com> <45B7D198.5070201@hyperactivesw.com> Message-ID: <45B7D5FB.4010406@dreamscapesoftware.com> J. Landman Gay wrote: > You're right. The downloads have changed since I last looked at them; > sorry. I haven't been able to get it to run at all on OS X, to be > honest. I need to find out more. What I have found to work the best with regards to altBrowser2 is to set the externals in the stack to "altbrowser2.dll" and then place the external directly inside of the Revolution 2.7.4 folder (on Windows). I would like to see the "My Revolution " issue squashed, as it saves me the hassel of copying all of my plugins and externals from one folder to another after each update. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ From jacque at hyperactivesw.com Wed Jan 24 17:17:06 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 24 Jan 2007 16:17:06 -0600 Subject: Problem with altBrowser In-Reply-To: <45B7D5FB.4010406@dreamscapesoftware.com> References: <0FF18B93-93F0-45D1-BE65-12E110205717@mac.com> <45B7BAFC.30307@hyperactivesw.com> <45B7C35E.6020409@dreamscapesoftware.com> <45B7D198.5070201@hyperactivesw.com> <45B7D5FB.4010406@dreamscapesoftware.com> Message-ID: <45B7DAE2.2010904@hyperactivesw.com> Derek Bump wrote: > J. Landman Gay wrote: >> You're right. The downloads have changed since I last looked at them; >> sorry. I haven't been able to get it to run at all on OS X, to be >> honest. I need to find out more. > > What I have found to work the best with regards to altBrowser2 is to set > the externals in the stack to "altbrowser2.dll" and then place the > external directly inside of the Revolution 2.7.4 folder (on Windows). Okay, I'll look at it again. I need to find which stack in the demo has its externals property set. > I would like to see the "My Revolution " issue squashed, as it > saves me the hassel of copying all of my plugins and externals from one > folder to another after each update. That is the whole idea behind the "My Revolution" folder -- installing stuff there once will make everything in it available to any version of Rev you are running (provided it is version 2.7.x and up.) If you haven't set up that folder yet, I recommend it. Just make a folder called Extensions inside the "My Revolution " folder and dump your extensions in there. You can also make a folder in the same "My Rev" folder called "Plugins" and put all your personal plugin stacks in there. I haven't had to move any files since 2.7 was released. It's a nice arrangement. Or did you mean, the Rev installer should create those folders? Agreed. I think the team is aware of that. I wonder if this folder arrangement may be thwarting the alt-stacks. They are installing the externals loose in the Rev folder, and version 2.7 doesn't look for externals there any more. However, it should work to move the externals to one of the "approved" Externals folders...but it doesn't. We may need to change the externals path in the demo stack to accomodate. I'll have to go find that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From JimAultWins at yahoo.com Wed Jan 24 17:27:32 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 24 Jan 2007 14:27:32 -0800 Subject: workaround - paste in script does not work Message-ID: This is a good workaround for me. MenuMaster $10 US http://www.unsanity.com/haxies/menumaster I have been using this utility for quite awhile on OSX 10.4+ Basically, use the mouse to select a menu choice, and before releasing the mouse button, use the keyboard to assign a key combo. In Rev, I chose control-V. If all is well, then both the cmd & ctrl-V work. When cmd fails, the cntl works fine. So now I have ctrl-X, C, V, F, Z so I can hold the ctrl key down and do all in a sequence. using ctrl-V will probably also avoid the weirdness with cmd-V causing a problem with the Errors stack. --------- By the way, MenuMaster is great for those programs that don't have key combos for the items you want, eg. Photoshop. Jim Ault Las Vegas From JimAultWins at yahoo.com Wed Jan 24 17:27:28 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 24 Jan 2007 14:27:28 -0800 Subject: Problem with altBrowser In-Reply-To: <45B7D5FB.4010406@dreamscapesoftware.com> Message-ID: On 1/24/07 1:56 PM, "Derek Bump" wrote: > > I would like to see the "My Revolution " issue squashed, as it > saves me the hassel of copying all of my plugins and externals from one > folder to another after each update. Derek, Do you mean that the installer should be more capable and informative? ------- answer "Do you want Rev to move the plugins found in "" if they look like they are compatible?" create logFileVar containing new files added, old files found and not moved, old files found and moved (eg. plugins, which may not be compatible) log < "these are the versions of Rev currently installed" write to log file "installLog_the short date & time" in My Revolution Enterprise ------ answer "Do you wish to open the folders Revolution has created and changed?" -- Mac uses Applescript, Win uses VBA tell application "Finder" to open folder "Applications: Revolution Enterprise" of the startup disk tell application "Finder" to open folder "Documents: My Revolution Enterprise" of home etc. ----------------------------------------- I find the installations of Rev rather confusing, esp since they keep evolving. Users should not have to struggle, be mystified (like I am) or have to ask the list. Most users would probably not try contacting the list. Jim Ault Las Vegas From chipp at chipp.com Wed Jan 24 17:38:31 2007 From: chipp at chipp.com (Chipp Walters) Date: Wed, 24 Jan 2007 16:38:31 -0600 Subject: Problem with altBrowser In-Reply-To: References: <45B7D5FB.4010406@dreamscapesoftware.com> Message-ID: <7aa52a210701241438x39f1fe98n62d4c85cf03cffd2@mail.gmail.com> Yep, it is all very complicated...installing everything in the right place. That's why we always shipped our alt'things' with an installer, which auto-updated the externals and installed them automagically. It makes for MUCH LESS tech support. (thinking of you Jacque ;-) From list at dreamscapesoftware.com Wed Jan 24 17:53:03 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Wed, 24 Jan 2007 16:53:03 -0600 Subject: Problem with altBrowser In-Reply-To: References: Message-ID: <45B7E34F.70601@dreamscapesoftware.com> Jim Ault wrote: > Derek, > Do you mean that the installer should be more capable and informative? Well, that's not what I mean, but a more capable and informative installer is never a bad idea. What I'm talking about is fixing the following Bugs: #3988 - 2.7.4 Installer does not create a My Revolution folder #4264 - Externals in "My Revolution /Externals/" folder do not bind Now I am aware that the IDE is in charge of creating the "My Revolution " folder, but the IDE does not in fact do this, which I reported in Bug #3988. But I have to wonder... If the Revolution Installer/Updater is in charge of setting up the system with the software, why would it not create the "My Revolution " folder? With the IDE creating the folder, it would have to be assumed that if the folder was removed by the user, then IDE would put it back. Is that proper program etiquette? I mean as the user, do I not have the right to remove a folder that I consider un-needed? > I find the installations of Rev rather confusing, esp since they keep > evolving. Users should not have to struggle, be mystified (like I am) or > have to ask the list. Most users would probably not try contacting the > list. I agree with this highly. The release of the altExternals from RunRev was, well, I think it could have been handled better. But no one's perfect, as I too have made the mistake of releasing software prematurely. Happens to every developer at one time or another. :) Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ From jacque at hyperactivesw.com Wed Jan 24 18:58:04 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 24 Jan 2007 17:58:04 -0600 Subject: Problem with altBrowser In-Reply-To: <7aa52a210701241438x39f1fe98n62d4c85cf03cffd2@mail.gmail.com> References: <45B7D5FB.4010406@dreamscapesoftware.com> <7aa52a210701241438x39f1fe98n62d4c85cf03cffd2@mail.gmail.com> Message-ID: <45B7F28C.3050001@hyperactivesw.com> Chipp Walters wrote: > Yep, it is all very complicated...installing everything in the right place. > That's why we always shipped our alt'things' with an installer, which > auto-updated the externals and installed them automagically. It makes for > MUCH LESS tech support. (thinking of you Jacque ;-) So that's what those hallucinations were about. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From hershf at rgllc.us Wed Jan 24 20:26:07 2007 From: hershf at rgllc.us (Hershel Fisch) Date: Wed, 24 Jan 2007 20:26:07 -0500 Subject: Locking flds of group to scroll In-Reply-To: <4AF74A7A-D195-4772-9911-928470D725A0@major-k.de> Message-ID: On 1/19/07 5:47 AM, "Klaus Major" wrote: Thanks to both of you Hershel > >> Cheers, >> Sarah > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From trancepacific at gmail.com Wed Jan 24 22:46:06 2007 From: trancepacific at gmail.com (kevin) Date: Wed, 24 Jan 2007 19:46:06 -0800 Subject: Popup Menus on Windows vs. Mac Message-ID: Hi All - I am using the "popup button" command to open a menu and on Windows you have to keep the mouse held down in order to select from the menu that "pops up". On the Mac, you only need to click the button generating the popup once and may then select from the menu without the need to keep the mouse held down. Just wondering if there is a way to replicate this behavior on Windows? Cheers, Kevin From ambassador at fourthworld.com Thu Jan 25 00:46:01 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Jan 2007 21:46:01 -0800 Subject: Problems with externals API Message-ID: <45B84419.4080708@fourthworld.com> I've been reading the thread "Problem with altBrowser", and it got me thinking: Why do we have this silly mess with files in the first place? Can we imagine a world in which externals are copied directly into a stack, even those for multiple platforms, and they get loaded and used, like the old XCMDs? Then can we build it? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From list at dreamscapesoftware.com Thu Jan 25 00:53:29 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Wed, 24 Jan 2007 23:53:29 -0600 Subject: Problems with externals API In-Reply-To: <45B84419.4080708@fourthworld.com> References: <45B84419.4080708@fourthworld.com> Message-ID: <45B845D9.3070802@dreamscapesoftware.com> Richard Gaskin wrote: > I've been reading the thread "Problem with altBrowser", and it got me > thinking: Why do we have this silly mess with files in the first place? > > Can we imagine a world in which externals are copied directly into a > stack, even those for multiple platforms, and they get loaded and used, > like the old XCMDs? > > Then can we build it? Well, I'm unfamiliar with external-binding, but if you can embed a audio or video clip into a Rev stack, then there's no reason why an external couldn't be embedded either. In fact, it would be wonderful to see externals listed directly inside the Application Browser. This way you can see exactly what stack it's attached to, and you can hopefully help clear up some confusion for novice users (though that's just a theory at this point). Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ From jperryl at ecs.fullerton.edu Thu Jan 25 01:19:10 2007 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 24 Jan 2007 22:19:10 -0800 (PST) Subject: OT: Simple Computer Simulator, Anyone?? In-Reply-To: <45B84419.4080708@fourthworld.com> Message-ID: Hi, Does anyone know of a good, *simple* computer simulator that could be used to help demystify computers to someone who's never taken a computer course? I already did the requisite "computer simulator" google search. I found examples of Java simulators that are not comprehensible to normal humans (e.g., non-programmers). I did likewise for "how do computers work"; I found pages that listed "the main components of a typical desktop computer" as the following: _Central processing unit (CPU)_ The microprocessor 'brain' of the computer is called the cpu. Everything that a computer does is overseen by the cpu. _Memory_ - This is very fast storage used to hold data. It has to be fast because it connects directly to the mikcroprocessor..." Okay -- this is like telling them that their computer works and is composed of such units as...: "_The Hocus-Pocus Unit (HPU)_: This is where electronic signals are magically converted into your term paper. _The Abracadabra Box (AbcB)_: This is the magic storage place where all the incantations are temporarily stored until required for use by the Hocus-Pocus Unit. ... and, of course, this box contains such sub-boxes as the Random-Access Abracadabra, the Read-only Abracadabra, the BIOS Abracadabra, and the Cache Abracadabra. There is also the Virtual Abracadabra," which only serves to further confuse them as to the difference between RAM and long-term storage. Has anyone seen or created something that could help demystify how a computer works for non-geeks and that is intended to be digested in 15 minutes or less? Asking alot, I know. But I seek it for 3rd year university students taking a general education course entitled "The Computer Impact on Society", which course is likely to be the *only* computer class they will take. Kindest thanks for any suggestions... Judy From JimAultWins at yahoo.com Thu Jan 25 01:23:38 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 24 Jan 2007 22:23:38 -0800 Subject: Problems with externals API In-Reply-To: <45B84419.4080708@fourthworld.com> Message-ID: On 1/24/07 9:46 PM, "Richard Gaskin" wrote: > > I've been reading the thread "Problem with altBrowser", and it got me > thinking: Why do we have this silly mess with files in the first place? > It gives true professionals an advantage over psuedo-programmers like me. In the old days I used good ol' ResCopy to put the externals (Rinaldi, et al) into the resource fork of a Hypercard stack, and it ends up one stack file. Apple's file structure has both a resource and data fork. Moving files to another operating system will delete the resource fork (where the icons, dialogs, strings, XCMDs, XCFNs and many other essentials are stored.) How can you tell... Are the externals in the right place? Are they loaded? and when? Where are they in the message path? Why aren't they copied to standalones? How can you tell if things are right... or what's wrong? Is there a utility that will tell what is wrong when something is wrong? ... like "hey, dummy, you need to put the external here <..>" with "OK" or "Huh?" > Can we imagine a world in which externals are copied directly into a > stack, even those for multiple platforms, and they get loaded and used, > like the old XCMDs? > > Then can we build it? Well, I can't. Jim Ault Las Vegas Just good at throwing stones. From palcibiades-first at yahoo.co.uk Thu Jan 25 02:17:16 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Thu, 25 Jan 2007 07:17:16 +0000 Subject: the alt plugins on Linux Message-ID: <200701250717.16930.palcibiades-first@yahoo.co.uk> Has anyone got them to work, and if so how? Peter From cowhead at mac.com Thu Jan 25 02:58:24 2007 From: cowhead at mac.com (mark) Date: Thu, 25 Jan 2007 16:58:24 +0900 Subject: crash, crash, crash Message-ID: Recently I noted that compared to the old Rev (2.02) the new Rev seems to be more crash-prone, especially with mousemove handlers. Now I find that the slightest little error in unicode input (I'm doing Japanese, so something like you choose the wrong kanji and try to hit back space before you hit return happens all the time) also leads to a crash with, of course, loss of all work before last save. In fact, rev has become sooooo crash prone (on several different computers, power mac G4, power Book, all running OS 10.4x) that it is almost unusable. I certainly could never sell a project in Japan like this. Looks like we might have to develop in something else for Japan, unless there is some sort of update in the works which can cure things. Anyone else having crash problems? Side note: I ordered a rev product, as far as I know, they took my money, I received an order acknowledgment saying that I would receive my unlock codes in 2 working days. That was 10 days ago and I never got anything. I wrote twice asking what happened and never got a reply. I've checked my junk folders carefully and there is nothing there. Did the Rev guys skip town with my money? What the hell is going on? Anyone out there? Hello, hello???? mark in Japan From JimAultWins at yahoo.com Thu Jan 25 05:50:57 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 25 Jan 2007 02:50:57 -0800 Subject: crash, crash, crash In-Reply-To: Message-ID: On 1/24/07 11:58 PM, "mark" wrote: > Side note: I ordered a rev product, as far as I know, they took my > money, I received an order acknowledgment saying that I would receive > my unlock codes in 2 working days. That was 10 days ago and I never > got anything. I wrote twice asking what happened and never got a > reply. I've checked my junk folders carefully and there is nothing > there. Did the Rev guys skip town with my money? What the hell is > going on? Anyone out there? Hello, hello???? I understand your pain, but I am sure that Rev did not skip town. My experience over the last 3 years has been always positive with customer support. I do not work for Rev, nor am I on any inside track as a developer, just a very happy user. You have been on the list long enough to know that there is a big push to quash as many cross-platform bugs as possible for the next beta release. This is a huge undertaking given the complexities of modern operating systems. The crash problems you describe below should be of keen interest to the Rev team. I am sure that someone will be in contact within a few hours. I believe Jacqueline Landman Gay is part of the tech support network and she is on this list nearly every day. At this writing it is about 4 AM in her time zone, so it won't be in the next couple hours. > Recently I noted that compared to the old Rev (2.02) the new Rev > seems to be more crash-prone, especially with mousemove handlers. > Now I find that the slightest little error in unicode input (I'm > doing Japanese, so something like you choose the wrong kanji and try > to hit back space before you hit return happens all the time) also > leads to a crash with, of course, loss of all work before last save. > In fact, rev has become sooooo crash prone (on several different > computers, power mac G4, power Book, all running OS 10.4x) that it is > almost unusable. I certainly could never sell a project in Japan > like this. Looks like we might have to develop in something else for > Japan, unless there is some sort of update in the works which can > cure things. Anyone else having crash problems? As far as the crash problems, this sounds like something strange is going on. There are others who are doing unicode and not reporting such problems, for example Dar Scott, Devin Assay come to mind. If things work out well, please post again to the list. Thanks and good luck. Jim Ault Las Vegas > > > mark in Japan From revolution at derbrill.de Thu Jan 25 05:54:00 2007 From: revolution at derbrill.de (Malte Brill) Date: Thu, 25 Jan 2007 11:54:00 +0100 (MET) Subject: OT: Simple Computer Simulator, Anyone?? In-Reply-To: <20061207180005.223974891A8@mail.runrev.com> References: <20061207180005.223974891A8@mail.runrev.com> Message-ID: <4D96676B-11A2-4AB4-AC77-2AD5EC5FF1E4@derbrill.de> Hi Judy! I suggest you do a google search on "non geeks guide" Also I like these 2: http://www.noendpress.com/caleb/computer_help/index.php http://davidrothman.net/2006/07/08/how-to-explain-ram-to-non-geeks/ Hope that helps a bit, Malte From index at kenjikojima.com Thu Jan 25 08:54:11 2007 From: index at kenjikojima.com (Kenji Kojima) Date: Thu, 25 Jan 2007 08:54:11 -0500 Subject: crash, crash, crash In-Reply-To: References: Message-ID: <586B4947-0ECC-4C9A-96EC-34CE22083469@kenjikojima.com> mark, I do not know about the problem of mousemove handlers in Japanese. Did you type Japanese into the script? When you type Japanese into a menu button text, you can crash frequently. And not only that, there are many other Japanese problems. We have discussed them on a Japanese mailing list for the last several years, and made some work around. If you can read Japanese, go to http://groups.yahoo.co.jp/group/Runtime_Revolution_Users_Japan/ You may find some answers. or you can read and write, join the Japanese Revolution Forums http://forums.runrev.com/jp/phpBB2/index.php It's a new discussion place. -- Kenji Kojima / ???? http://www.kenjikojima.com/ On Jan 25, 2007, at 2:58 AM, mark wrote: > Recently I noted that compared to the old Rev (2.02) the new Rev > seems to be more crash-prone, especially with mousemove handlers. > Now I find that the slightest little error in unicode input (I'm > doing Japanese, so something like you choose the wrong kanji and > try to hit back space before you hit return happens all the time) > also leads to a crash with, of course, loss of all work before last > save. In fact, rev has become sooooo crash prone (on several > different computers, power mac G4, power Book, all running OS > 10.4x) that it is almost unusable. I certainly could never sell a > project in Japan like this. Looks like we might have to develop in > something else for Japan, unless there is some sort of update in > the works which can cure things. Anyone else having crash problems? > > Side note: I ordered a rev product, as far as I know, they took my > money, I received an order acknowledgment saying that I would > receive my unlock codes in 2 working days. That was 10 days ago > and I never got anything. I wrote twice asking what happened and > never got a reply. I've checked my junk folders carefully and > there is nothing there. Did the Rev guys skip town with my money? > What the hell is going on? Anyone out there? Hello, hello???? > > mark in Japan > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From david at openpartnership.net Thu Jan 25 08:57:47 2007 From: david at openpartnership.net (David Bovill) Date: Thu, 25 Jan 2007 05:57:47 -0800 Subject: help with a multi process http server. In-Reply-To: <40089.82698.qm@web60512.mail.yahoo.com> References: <52BF4DAC-3027-473A-B4B4-49C7E0BE7F47@mac.com> <40089.82698.qm@web60512.mail.yahoo.com> Message-ID: Along hose lines Andre - why not just put the Rev HTTP servers behind a mature http proxy as they do in the Java and Zope world? Here is an article: http://www.vmunix.com/mark/blog/archives/2006/01/02/fastcgi-scgi-and-apache-background-and-future And a quote from the above: What Java and Zope app servers do (for the unfamiliar) is run their own > solid HTTP servers that do intelligent URL parsing/generation for you to > make sticking them behind a HTTP proxy (like Apache's mod_proxy, or Squid, > or whatever) at an arbitrary point in the URI a piece of cake. Typically you > redirect some URL's traffic (a virtual host, subdirectory, etc.) off to the > dedicated app server the same way a proxy server sits between your web > browser and the web server. It works just like directing requests off to a > Handler in Apache, except the request is actually sent off to another HTTP > server instead of handed off to a module or CGI script. And of course the > reply comes back as a HTTP object that's sent back to the originator. > There's a bunch of reasons why doing this with HTTP instead of CGI is a > really nice approach. One is that setting up these app servers becomes > pretty simple for sysadmins and doing the configs on the upstream > webserver/proxy is IDENTICAL no matter what kind of downstream app server > you're talking to. That's reduces errors. It's flexible, too, allowing you > start up an app server instance (which, of course, acts like a web server) > on a port, run it as whatever system user you want, jail it, zone it, > firewall it, whatever, and then you send HTTP requests to the thing. You can > go straight to the app server in your web browser to debug stuff. Since it's > HTTP we already have a full suite of tools that can do intelligent things > with the protocol. Firewalls, load balancers, proxies, and so on. There's a > huge market of mature "HTTP brokers" both free and commercial, including > Apache itself (mod_proxy, which can be hooked into rewrites). On 23/01/07, Jan Schenkel wrote: > > --- Andre Garzia wrote: > > Hello Folks, > > > > I am here experimenting with a new approach to > > building revolution > > based servers. We've been asking for threads or > > forks for a while but > > until the day of such implementation comes, we need > > to use what we > > can. One other language I always liked (to the point > > that we created > > a whole company around it some years ago) was REBOL. > > I remember from > > the blogosphere that someone did a REBOL based > > webserver with some > > nice benchmarks, I decided to check it out because > > last I remembered, > > REBOL was also a single thread language. After > > checking many sites, I > > discovered that they along with other people around > > are using a > > process pool and a scheduler that handles the > > connections and > > redirect them to the next free process on the pool. > > > > I decided to take the same approach, I made a > > tweeked version of my > > RevHTTP server that can be launched from a shell() > > call so that I can > > create a scheduler that can launch some number of > > processes to make > > the pool. I created a simple communicating scheme > > using wget to make > > little semaphores so that each server instance can > > tell the scheduler > > where it is busy or free. So far, so good but > > there's one problem. > > > > Suppose the scheduler is running 8080 and each > > server instance in the > > pool is running from 8081 onwards. When the client > > connects to 8080, > > the scheduler sends back a redirection response so > > that the client > > refreshes to a different port (of a free instance in > > the pool). The > > problem is that a http client such as a browser will > > then request > > favico and all the links in the html from the same > > port for it re- > > uses data from the connection that yielded that > > result to fill > > missing data in the URL. For example, if you make a > > link that goes > > to /newpage.html, then the server will make it > > http://yourserver/ > > newpage.html. If I answered from port 8081, all > > links in the page > > will "inherit" that port and I want all the > > connections to come to > > the scheduler running on a different port. > > > > One approach to solve this is to parse all the > > response and change > > all the html responses to include the correct URLs. > > This is very > > boring and slow for we must cope with href, src, > > link, rel and all > > kinds of css includes and stuff. What I hoped to > > find was some HTTP > > header field that would tell like: "hey this server > > is acutally > > running at port bla bla bla" such as: > > > > host: localhost:8080 > > > > despite the fact that that answer came thru 8081. > > This way the whole > > thing would work and maybe we would have a a web > > server built with > > Rev that could see some real world use... > > > > Anyone has two cents? > > > > Andre > > > > Hi Andre et al, > > During one of my similar experiments, I ended up with > an http server that didn't do any of the serving > itself, but acted as a router between the client > computer and the server apps. > The server apps ran on ports that were blocked from > outside access, instead of using redirects. The > housekeeping can be done fairly easily, and you can > use a chunking approach along with asynchronous write > to socket commands. > However, rapidly refreshing the browser can result in > a serious overload of the routing/scheduling app so > you'll want to add the necessary logic to cancel > requests that are being processed by the server apps. > > Just my two eurocents, > > Jan. > > Quartam Reports for Revolution > > > ===== > "As we grow older, we grow both wiser and more foolish at the same > time." (La Rochefoucauld) > > > > > ____________________________________________________________________________________ > Bored stiff? Loosen up... > Download and play hundreds of games for free on Yahoo! Games. > http://games.yahoo.com/games/front > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Thu Jan 25 08:58:12 2007 From: chipp at chipp.com (Chipp Walters) Date: Thu, 25 Jan 2007 07:58:12 -0600 Subject: AltFont External On Intel Mac In-Reply-To: References: <86ae76bb0701191752g32244613x1dd5a83090197245@mail.gmail.com> Message-ID: <7aa52a210701250558u781c94c7he0b8a4bbacd5248f@mail.gmail.com> RunRev has the source code for the UB version of altFont, but it may not be compiled yet. I suggest you contact them and ask. -Chipp From ambassador at fourthworld.com Thu Jan 25 09:00:18 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Jan 2007 06:00:18 -0800 Subject: crash, crash, crash Message-ID: <45B8B7F2.5050307@fourthworld.com> mark in Japan wrote: > Side note: I ordered a rev product, as far as I know, they took my > money, I received an order acknowledgment saying that I would receive > my unlock codes in 2 working days. That was 10 days ago and I never > got anything. I wrote twice asking what happened and never got a > reply. I've checked my junk folders carefully and there is nothing > there. Did the Rev guys skip town with my money? What the hell is > going on? Anyone out there? Hello, hello???? I can't speak for them, but with my own customers I get several complaints like yours each month, and in every case it turns out that the registration email was sent immediately after purchase but the customer's over-aggressive spam filters trapped it. I even have some customers who have so little control over their email that my reply to their "Where is my reg code?" email never gets to them either. Fortunately for them I have a toll-free number. :) -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From klaus at major-k.de Thu Jan 25 09:05:31 2007 From: klaus at major-k.de (Klaus Major) Date: Thu, 25 Jan 2007 15:05:31 +0100 (MET) Subject: AltFont External On Intel Mac In-Reply-To: <7aa52a210701250558u781c94c7he0b8a4bbacd5248f@mail.gmail.com> References: <86ae76bb0701191752g32244613x1dd5a83090197245@mail.gmail.com> <7aa52a210701250558u781c94c7he0b8a4bbacd5248f@mail.gmail.com> Message-ID: <4B60910E-BA93-4DCC-8392-58B38F6E7FC2@major-k.de> Hi all, > RunRev has the source code for the UB version of altFont, but it > may not be > compiled yet. I suggest you contact them and ask. the downloadable file was named: "alt_externals_ub.zip", so one would exspect the content to be UB! Or does it mean they were posted "under bressure"? :-D > -Chipp Regards Klaus Major klaus at major-k.de http://www.major-k.de From soapdog at mac.com Thu Jan 25 11:06:40 2007 From: soapdog at mac.com (Andre Garzia) Date: Thu, 25 Jan 2007 14:06:40 -0200 Subject: help with a multi process http server. In-Reply-To: References: <52BF4DAC-3027-473A-B4B4-49C7E0BE7F47@mac.com> <40089.82698.qm@web60512.mail.yahoo.com> Message-ID: <17288392-2419-42B0-8188-8B659E240575@mac.com> David, my current idea is to keep everything in 100% transcript with maybe some shell() calls. What I have right now is: * An 100% transcript based webserver. * A lot of CGI libraries and utilities. * an experimental FastCGI Daemon written in transcript. That blog post is very interesting and I too follow some ideas outlined in there. The only thing I am trying to solve is the denial of service problem during blocking calls. Even with FastCGI we do have such trouble. None of my web apps running under FastCGI can contain a single blocking call for even if a smal "wait 10 ticks" happen inside the app, the whole engine will block. Thats why I (and others) recommend using plain old CGI for real world scenarios. Spawning one rev instance per request is not that bad, the interpreter is small enough and starts very fast. As for your question on putting RevHTTP behind a good proxy, the problem again is blocking calls. If the engine is busy figuring out some lenghty calculation and the master proxy tries to send something more, then we're pretty much in denial of service. any clue? Andre On Jan 25, 2007, at 11:57 AM, David Bovill wrote: > Along hose lines Andre - why not just put the Rev HTTP servers > behind a > mature http proxy as they do in the Java and Zope world? Here is an > article: > > > http://www.vmunix.com/mark/blog/archives/2006/01/02/fastcgi-scgi- > and-apache-background-and-future > > And a quote from the above: > > What Java and Zope app servers do (for the unfamiliar) is run their > own >> solid HTTP servers that do intelligent URL parsing/generation for >> you to >> make sticking them behind a HTTP proxy (like Apache's mod_proxy, >> or Squid, >> or whatever) at an arbitrary point in the URI a piece of cake. >> Typically you >> redirect some URL's traffic (a virtual host, subdirectory, etc.) >> off to the >> dedicated app server the same way a proxy server sits between your >> web >> browser and the web server. It works just like directing requests >> off to a >> Handler in Apache, except the request is actually sent off to >> another HTTP >> server instead of handed off to a module or CGI script. And of >> course the >> reply comes back as a HTTP object that's sent back to the originator. >> There's a bunch of reasons why doing this with HTTP instead of CGI >> is a >> really nice approach. One is that setting up these app servers >> becomes >> pretty simple for sysadmins and doing the configs on the upstream >> webserver/proxy is IDENTICAL no matter what kind of downstream app >> server >> you're talking to. That's reduces errors. It's flexible, too, >> allowing you >> start up an app server instance (which, of course, acts like a web >> server) >> on a port, run it as whatever system user you want, jail it, zone it, >> firewall it, whatever, and then you send HTTP requests to the >> thing. You can >> go straight to the app server in your web browser to debug stuff. >> Since it's >> HTTP we already have a full suite of tools that can do intelligent >> things >> with the protocol. Firewalls, load balancers, proxies, and so on. >> There's a >> huge market of mature "HTTP brokers" both free and commercial, >> including >> Apache itself (mod_proxy, which can be hooked into rewrites). From robmann at gp-racing.com Thu Jan 25 11:11:10 2007 From: robmann at gp-racing.com (robmann at gp-racing.com) Date: Thu, 25 Jan 2007 11:11:10 -0500 Subject: U3 version of rev Message-ID: <20070125111110.ybz2gvjjmkcg8400@gp-racing.com> on my U3 drive I have rev for U3, xampplite for Mysql, I can not call revOpenDatabase command with rev,I get error in function handler, is the mysql database library not included with this version? if not can I add them? or is there something else I need to set up to get them working? I have checked to make sure that MYSQL is running. Thanks Rob From lists at mangomultimedia.com Thu Jan 25 11:26:18 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 25 Jan 2007 08:26:18 -0800 Subject: crash, crash, crash In-Reply-To: References: Message-ID: <594D089B-CA43-4F82-964B-500A4B4E1931@mangomultimedia.com> On Jan 25, 2007, at 2:50 AM, Jim Ault wrote: > As far as the crash problems, this sounds like something strange is > going > on. There are others who are doing unicode and not reporting such > problems, > for example Dar Scott, Devin Assay come to mind. I think this is in fact a Rev bug. I received an email the other day from someone using a free trial of one of our programs about a crash. He was in Finland and had the following keyboard setup: - System preferences / International / Language / English - System preferences / International / Input Menu (= keyboard layout) / Finnish Extended He said that typing work fine until he entered the first scandinavic letter (ex. a-umlaut). He said all text after that will become strange and also the keyboard layout (in the menubar) tries to change to british. If he continues to type in the program it crashes. I have seen similar behavior when using Russian input but I haven't tracked down what the problem is yet. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From ambassador at fourthworld.com Thu Jan 25 11:26:37 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Jan 2007 08:26:37 -0800 Subject: help with a multi process http server. Message-ID: <45B8DA3D.70009@fourthworld.com> Andre Garzia wrote: > Thats why I (and others) recommend using plain old CGI for real world > scenarios. Spawning one rev instance per request is not that bad, the > interpreter is small enough and starts very fast. I enjoyed that blog post as well (thanks for posting it, David), and among other things it offers one of the clearest explanations of the various CGI alternatives I've come across. That said, I think you raise a good point here, Andre. There's a lot of concern about "scalability", but perhaps not enough about "right-sizing". Not every system will need to handle the traffic load Google Maps gets. And the relative few that do have budget concerns far bigger than picking a CGI alternative; if they can address those, the interface is a no-brainer. Where I see Andre's work as being very useful is the other 99% of web services that serve a smaller audience. Look at Base Camp: most teams using a Base Camp installation number in the dozens, maybe the low hundreds, rarely much larger. The number of concurrent users in any given group is of course a fraction of that. Being able to snap together instant web services for small and medium businesses with an ROI greater than the alternatives would seem a worthy goal, and it seems Andre's work moves us all a bit closer to that goal. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From m.schonewille at economy-x-talk.com Thu Jan 25 11:49:56 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 25 Jan 2007 17:49:56 +0100 Subject: U3 version of rev In-Reply-To: <20070125111110.ybz2gvjjmkcg8400@gp-racing.com> References: <20070125111110.ybz2gvjjmkcg8400@gp-racing.com> Message-ID: <9F819CA2-74F6-4719-9A7E-AB759C631663@economy-x-talk.com> Hi Rob, Are you sure that the parameters are correct? Usually, revOpenDatabase () returns this error if no or incorrect parameters were passed. As far as I know, the Revolution version for U3 is identical to the regular Windows version. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 25-jan-2007, om 17:11 heeft robmann at gp-racing.com het volgende geschreven: > on my U3 drive I have rev for U3, xampplite for Mysql, > I can not call revOpenDatabase command with rev,I get error in > function handler, is the mysql database library not included with > this version? if not can I add them? or is there something else I > need to set up to get them working? > > I have checked to make sure that MYSQL is running. > Thanks > > Rob From soapdog at mac.com Thu Jan 25 11:53:07 2007 From: soapdog at mac.com (Andre Garzia) Date: Thu, 25 Jan 2007 14:53:07 -0200 Subject: U3 version of rev In-Reply-To: <9F819CA2-74F6-4719-9A7E-AB759C631663@economy-x-talk.com> References: <20070125111110.ybz2gvjjmkcg8400@gp-racing.com> <9F819CA2-74F6-4719-9A7E-AB759C631663@economy-x-talk.com> Message-ID: Rob, could this be a problem with database drivers path? Try setting revSetDatabaseDriverPath to the correct Rev U3 drivers folder... maybe the engine is a little lost in such small package... ;-) Andre On Jan 25, 2007, at 2:49 PM, Mark Schonewille wrote: > Hi Rob, > > Are you sure that the parameters are correct? Usually, > revOpenDatabase() returns this error if no or incorrect parameters > were passed. > > As far as I know, the Revolution version for U3 is identical to the > regular Windows version. > > Best, > > Mark > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Get your store on-line within minutes with Salery Web Store > software. Download at http://www.salery.biz > > Op 25-jan-2007, om 17:11 heeft robmann at gp-racing.com het volgende > geschreven: > >> on my U3 drive I have rev for U3, xampplite for Mysql, >> I can not call revOpenDatabase command with rev,I get error in >> function handler, is the mysql database library not included with >> this version? if not can I add them? or is there something else I >> need to set up to get them working? >> >> I have checked to make sure that MYSQL is running. >> Thanks >> >> Rob > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From robmann at gp-racing.com Thu Jan 25 12:35:17 2007 From: robmann at gp-racing.com (robmann at gp-racing.com) Date: Thu, 25 Jan 2007 12:35:17 -0500 Subject: U3 version of rev In-Reply-To: <9F819CA2-74F6-4719-9A7E-AB759C631663@economy-x-talk.com> References: <20070125111110.ybz2gvjjmkcg8400@gp-racing.com> <9F819CA2-74F6-4719-9A7E-AB759C631663@economy-x-talk.com> Message-ID: <20070125123517.pc1ekwqv6pegcgks@gp-racing.com> it is definitly something in the U3 rev open my standard desktop rev, open the stack that is on the U3 drive and have no problem connecting to the database close this rev down, open the U3 rev and the same stack and I cannot connect to database? Thanks Rob From jperryl at ecs.fullerton.edu Thu Jan 25 12:49:21 2007 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 25 Jan 2007 09:49:21 -0800 (PST) Subject: OT: Simple Computer Simulator, Anyone?? In-Reply-To: <4D96676B-11A2-4AB4-AC77-2AD5EC5FF1E4@derbrill.de> Message-ID: Hi Malte, Thanks! I'll give them a try! Judy On Thu, 25 Jan 2007, Malte Brill wrote: > Hi Judy! > > I suggest you do a google search on "non geeks guide" > > Also I like these 2: > > http://www.noendpress.com/caleb/computer_help/index.php > http://davidrothman.net/2006/07/08/how-to-explain-ram-to-non-geeks/ > > Hope that helps a bit, > > Malte > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From soapdog at mac.com Thu Jan 25 12:54:09 2007 From: soapdog at mac.com (Andre Garzia) Date: Thu, 25 Jan 2007 15:54:09 -0200 Subject: A wondeful tool: A little cumpliment on MagicCarpet Message-ID: <2C445B3F-3641-47CD-841A-31F1DEBDD055@mac.com> Hi folks, as many people in here know, I've lost my HD with all my tools and stacks. During the last weeks, most of my work was trying to make my old G4 iBook into a development machine since I had erased it and allowed my mom to use it as a desktop. I remember when I first saw Altuits MagicCarpet program, it was during RMS in Monterey, I was amazed. Finally a version control system that was sane! I always hated CVS and I am not into subversion. I became a heavy user of MagicCarpet when I started working with the fine monks of Kauai Aadheenam. All our work is inside MagicCarpet, lots of projects and files. And we never lost a file even when doing rollbacks and stuff. Sometime ago, I migrated most of my code to my own MagicCarpet repository on my server somewhere in Texas, I moved things there as a backup and also so I could work away from my computer, for example, using an U3 thumbdrive at the university. My machine is still at apple, now waiting replacement cdrom drive before they try to see if the HD is recoverable or not (I won't allow them to replace that HD) but most of my work is safe. I was just a matter of reinstalling Rev in the G4, copying my plugins and settings from the thumbdrive and launching magiccarpet... couple hours later, all my current source was back in here... The point is, If it was not MagicCarpet, then I would not be doing backups of my stuff in remote servers. MagicCarpet has it all: * it works accross networks, volumes, FTP, HTTP. * It has a simple interface with simple useful options, very easy to learn. * It works from inside Revolution IDE, no tedious task of using an external program. Your topstack is a button away from remote backup. Chipp, Chris and Altuit have given us so many wonderful tools during the last years, I make daily use of many of them, altBrowser, altSQLite3, MagicCarpet, altSplash. This is just a simple thank you message from a very pleased user and also a notice for readers here that don't know about MagicCarpet to take a look into it. It's a very nice tool and can save lots of screams and cries on your side. It also is very pleasant to work in teams. http://www.altuit.com/webs/altuit2/MagicCarpetCover/default.htm Cheers andre From chipp at chipp.com Thu Jan 25 13:35:36 2007 From: chipp at chipp.com (Chipp Walters) Date: Thu, 25 Jan 2007 12:35:36 -0600 Subject: A wondeful tool: A little cumpliment on MagicCarpet In-Reply-To: <2C445B3F-3641-47CD-841A-31F1DEBDD055@mac.com> References: <2C445B3F-3641-47CD-841A-31F1DEBDD055@mac.com> Message-ID: <7aa52a210701251035t18c97952g51744a6b1537431e@mail.gmail.com> Hi Andre, Thanks for the fine words. There's also a newer beta version in the works. New features include: - The ability to use a staging folder for all files - Deleting the file from the staging folder after uploading (of course keeping a backup version locally) - Launching the file after download. There's also been a few bug fixes, too. best, Chipp From jacque at hyperactivesw.com Thu Jan 25 14:02:00 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 25 Jan 2007 13:02:00 -0600 Subject: crash, crash, crash In-Reply-To: <45B8B7F2.5050307@fourthworld.com> References: <45B8B7F2.5050307@fourthworld.com> Message-ID: <45B8FEA8.1070203@hyperactivesw.com> Richard Gaskin wrote: > mark in Japan wrote: > >> Side note: I ordered a rev product, as far as I know, they took my >> money, I received an order acknowledgment saying that I would receive >> my unlock codes in 2 working days. That was 10 days ago and I never >> got anything. I wrote twice asking what happened and never got a >> reply. I've checked my junk folders carefully and there is nothing >> there. Did the Rev guys skip town with my money? What the hell is >> going on? Anyone out there? Hello, hello???? > > I can't speak for them, but with my own customers I get several > complaints like yours each month, and in every case it turns out that > the registration email was sent immediately after purchase but the > customer's over-aggressive spam filters trapped it. I even have some > customers who have so little control over their email that my reply to > their "Where is my reg code?" email never gets to them either. > Fortunately for them I have a toll-free number. :) > This is almost always the case. Tech support has had occasions where we've replied repeatedly and none of our responses have made it through. Sometimes the spam filters are out of the customer's control -- for example, Comcast blocks all sorts of mail before it ever reaches the customer's account (I am on a mailing list that gets blocked by Comcast all the time.) I will look up Mark's records. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Jan 25 14:17:42 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 25 Jan 2007 13:17:42 -0600 Subject: crash, crash, crash In-Reply-To: References: Message-ID: <45B90256.8040708@hyperactivesw.com> mark wrote: > Side note: I ordered a rev product, as far as I know, they took my > money, I received an order acknowledgment saying that I would receive my > unlock codes in 2 working days. That was 10 days ago and I never got > anything. I wrote twice asking what happened and never got a reply. > I've checked my junk folders carefully and there is nothing there. Did > the Rev guys skip town with my money? What the hell is going on? > Anyone out there? Hello, hello???? I'm answering here because apparently tech support responses aren't getting through to you. I see both your notes in our support queue, and I see two responses from Heather, each sent the same day you wrote. Make sure your spam filters aren't blocking mail from runrev.com, or if you can provide a different address, use that when you write. Support needs a valid way to respond to you. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Jan 25 14:59:47 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 25 Jan 2007 13:59:47 -0600 Subject: Alt-things re-uploaded Message-ID: <45B90C33.9030205@hyperactivesw.com> Some problems with the alt-externals have been corrected. If you tried before and they didn't work, try again. New, fixed versions have just been uploaded to the same web page. I'm not sure if I am supposed to post the URL here or not, so check your RR email announcement for it. The fixes include correcting the installation directory and externals path, as well as an error that occured unzipping the altFont file. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From josh at dvcreators.net Thu Jan 25 16:55:45 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 25 Jan 2007 13:55:45 -0800 Subject: limitation on vScroll? In-Reply-To: <447DB52F.1040000@fourthworld.com> References: <447DB52F.1040000@fourthworld.com> Message-ID: I have a large scrolling group. If I set the vScroll of this group to 32780 (or any smaller number), no problem, works perfectly. If I set the vScroll of this group to 32781 (or any higher number), the vScroll is set to zero (and the group scroll jumps to the top). Not sure if this has anything to do with the below, just thought I'd include it in the off chance... So, anyone know wat up? On May 31, 2006, at 8:24 AM, Richard Gaskin wrote: > Jonathan Lynch wrote: >> my psuedo-table object works pretty well - Marielle made it >> available on his >> site. It addresses many of these concerns. >> However, I would not use it for thousands of rows. For a couple >> hundred >> rows, it works ok, but for 2 or 3 thousand rows - well, that is >> just too >> many sub groups for the engine to handle quickly. > > I've been using nested groups as custom tables for quite some time, > but curious about the threshold for bad behavior I did some testing: > > 1. Make a group -- two buttons, two fields, each 23px high, in a row > 2. Group it, name the group "record" > 3. Make a copy of that group, group both groups, and name the new > master > group "main" > 4. Make a button with this script: > > on mouseUp > put 2113 into n > -- > lock screen > lock messages > -- > -- delete old groups: > repeat with 1 = the number of grps of grp "main" down to 2 > delete grp 2 of grp "main" > end repeat > -- > set the vscroll of grp "main" to 0 > put 0 into i > if the optionKey is "down" then exit to top > repeat n > add 1 to i > clone grp "record" of grp "main" > set the topleft of it to the bottomleft of grp i of grp "Main" > end repeat > -- > put the formattedheight of grp "main" > end mouseUp > > > What I found is that the number shown above assigned to N is the > max I can create here without odd positioning of objects. If I > exceed that I start getting row groups positioned over other row > groups. > > The formattedHeight of the "main" group is shown as 32806 -- > suspiciously close to 32767 (32k), the old buffer limit for QuickDraw. > > So this may suggest that the internal routines for buffering groups > is either using the old QD API, or has internal limits about the > same as QD's. > > It's worth noting that 32,806 is almost 38 feet at 72dpi, which is > plenty for most uses so I can't really call this a bug. > > But it might make a useful enhancement request to explore extending > that buffer size. > > Or would it? There's already a request for compound-object tables, > so if that gets done will we need position objects for any other > purpose farther than 38 feet in either direction? > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From herz at ucsd.edu Thu Jan 25 17:07:39 2007 From: herz at ucsd.edu (Richard K. Herz) Date: Thu, 25 Jan 2007 14:07:39 -0800 Subject: OT: Simple Computer Simulator, Anyone?? Message-ID: <45B92A2B.5090305@ucsd.edu> Judy, Intel has web pages which may be of interest, although I haven't seen a "simulator" there: http://www.intel.com/museum/onlineexhibits.htm See for example, see page 3 of 7 of "How Microprocessors Work": http://www.intel.com/education/mpworks/step1.htm Depending on how simple-minded you want to get, you might check out the animations in my program "TB Ref" http://maeresearch.ucsd.edu/herz/basicRef/ See Category "Assignment", Topic "sample programs # assign." Also see, Category "Arrays", Topic "sample program # sort", a screen shot of which is shown on the web page. From revolution at derbrill.de Thu Jan 25 17:12:58 2007 From: revolution at derbrill.de (Malte Brill) Date: Thu, 25 Jan 2007 23:12:58 +0100 (MET) Subject: [fun] Valid rev syntax. The silly scripts thread. In-Reply-To: <20061207180005.223974891A8@mail.runrev.com> References: <20061207180005.223974891A8@mail.runrev.com> Message-ID: <63927498-E579-4A19-85CE-63BAEA603339@derbrill.de> Hi all, this is a silly post. Complete nonesense, but I am somewhat overworked and need some fun. Try this in msg: put there is coffee if there is coffee then drink it Anyone else wants to share her / his favourite silly script? All the best, Malte For explicitVars addicts: put there is "coffee" if there is "coffee" then "drink" it Explicit vars are not that much fun it seems. ;-) From lists at mangomultimedia.com Thu Jan 25 17:19:25 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 25 Jan 2007 14:19:25 -0800 Subject: limitation on vScroll? In-Reply-To: References: <447DB52F.1040000@fourthworld.com> Message-ID: <5614F69C-3FB0-4B66-934E-E30969D60606@mangomultimedia.com> On Jan 25, 2007, at 1:55 PM, Josh Mellicker wrote: > I have a large scrolling group. > > If I set the vScroll of this group to 32780 (or any smaller > number), no problem, works perfectly. > > If I set the vScroll of this group to 32781 (or any higher number), > the vScroll is set to zero (and the group scroll jumps to the top). > > Not sure if this has anything to do with the below, just thought > I'd include it in the off chance... > > So, anyone know wat up? Yep, groups won't scroll beyond that number. It's a limitation in the engine design. What I have done in the past is split my groups up into smaller segments and use code to scroll them in the proper order. So if you split your group up into two segments then you would scroll group 1 using a scroll bar control. As the right edge of group 1 entered the viewable area you would start scrolling group 2 along with it so that it appeared you had one big scrolling group. Kind of a bummer. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From brentj84062 at gmail.com Thu Jan 25 17:21:16 2007 From: brentj84062 at gmail.com (Brent Anderson) Date: Thu, 25 Jan 2007 15:21:16 -0700 Subject: [fun] Valid rev syntax. The silly scripts thread. In-Reply-To: <63927498-E579-4A19-85CE-63BAEA603339@derbrill.de> References: <20061207180005.223974891A8@mail.runrev.com> <63927498-E579-4A19-85CE-63BAEA603339@derbrill.de> Message-ID: I actually intro my students to the idea of other handlers besides "mouseUp" with the basic psuedo-code for... on makeToast Put "bread" into toaster start toaster get Jam get Knife butter "toast" end makeToast Brent Anderson CMESC From jacque at hyperactivesw.com Thu Jan 25 17:35:32 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 25 Jan 2007 16:35:32 -0600 Subject: [fun] Valid rev syntax. The silly scripts thread. In-Reply-To: <63927498-E579-4A19-85CE-63BAEA603339@derbrill.de> References: <20061207180005.223974891A8@mail.runrev.com> <63927498-E579-4A19-85CE-63BAEA603339@derbrill.de> Message-ID: <45B930B4.4080300@hyperactivesw.com> Malte Brill wrote: > Anyone else wants to share her / his favourite silly script? Back in the dark ages on the HC list we had a HC poetry contest. The rules were: 1. The script had to rhyme, or close 2. The script had to run I've been wanting to repost my entry somewhere ever since. :) on theAnswerToEverything put "Why do I keep wasting time" \ & "striving for a script in rhyme?" \ into query wait 2 ticks put "'Cause you're stupid" into x get word 1 of "What's my line" && \ word 1 of "the summertime" && \ word 4 of "what do you mean" && \ word 1 of "life is a dream." put "i" & "n" & "g" & " of" \ after word 3 of it -- above put 6 * 7 into reckoned answer it wait one second put "You can run this script all day." answer reckoned with "Okay" end theAnswerToEverything This does produce a working handler with a secret message. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pevensen at siboneylg.com Thu Jan 25 17:46:36 2007 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 25 Jan 2007 16:46:36 -0600 Subject: Nested tab buttons on XP Message-ID: <6.2.1.2.2.20070125164245.0b670cb0@exchange.slg.com> Has anyone noticed this? I have a tab button that contains a tab button. If I point to tab #2 on the main tab button, tab #2 on the sub tab button hilights as well. Is this the way it is supposed to work? Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 From jperryl at ecs.fullerton.edu Thu Jan 25 17:53:44 2007 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 25 Jan 2007 14:53:44 -0800 (PST) Subject: OT: Simple Computer Simulator, Anyone?? In-Reply-To: <45B92A2B.5090305@ucsd.edu> Message-ID: Thanks, Richard! I'll definitely have a look (I have a week to decide what I'm going to use or have to roll my own). How simple-minded do I need to get? It's a one-week fly-by of what a computer is for 3rd year general education (e.g., non-CS majors) students at CSU Fullerton. Thanks again for the pointers! Judy On Thu, 25 Jan 2007, Richard K. Herz wrote: > Judy, Intel has web pages which may be of interest, although I haven't > seen a "simulator" there: > http://www.intel.com/museum/onlineexhibits.htm > > See for example, see page 3 of 7 of "How Microprocessors Work": > http://www.intel.com/education/mpworks/step1.htm > > Depending on how simple-minded you want to get, you might check out the > animations in my program "TB Ref" > http://maeresearch.ucsd.edu/herz/basicRef/ > See Category "Assignment", Topic "sample programs # assign." > Also see, Category "Arrays", Topic "sample program # sort", a screen > shot of which is shown on the web page. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jinjenator at googlemail.com Thu Jan 25 18:17:41 2007 From: jinjenator at googlemail.com (Jinjenator) Date: Thu, 25 Jan 2007 23:17:41 +0000 Subject: Control Webcam from rev Message-ID: <26b986890701251517u75debca8s82d9d7c2ac8ebc67@mail.gmail.com> Hi all Is it possible to control a webcam from revolution - with a view to streaming the captured images? Not sure where to start with this one :/ J From brentj84062 at gmail.com Thu Jan 25 18:20:48 2007 From: brentj84062 at gmail.com (Brent Anderson) Date: Thu, 25 Jan 2007 16:20:48 -0700 Subject: Control Webcam from rev In-Reply-To: <26b986890701251517u75debca8s82d9d7c2ac8ebc67@mail.gmail.com> References: <26b986890701251517u75debca8s82d9d7c2ac8ebc67@mail.gmail.com> Message-ID: <5352C2F0-5DF0-4BCC-8EF6-8B69DFA72C41@gmail.com> Hello. Look in your Revolution Installation Folder (2.7.4-gm-1) and in the Resources/Sample Projects folder you'll find the "Video Capture" stack that leverages the VideoGrabber external. That should get you started. If you're on a mac, you can also use Quartz Composer to directly access the camera from a Quicktime Player. Thanks, Brent Anderson CMSEC On Jan 25, 2007, at 4:17 PM, Jinjenator wrote: > Hi all > > Is it possible to control a webcam from revolution - with a view to > streaming the captured images? > > Not sure where to start with this one :/ > > J > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From josh at dvcreators.net Thu Jan 25 18:57:53 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 25 Jan 2007 15:57:53 -0800 Subject: limitation on vScroll? In-Reply-To: <5614F69C-3FB0-4B66-934E-E30969D60606@mangomultimedia.com> References: <447DB52F.1040000@fourthworld.com> <5614F69C-3FB0-4B66-934E-E30969D60606@mangomultimedia.com> Message-ID: <1D63FB45-E720-41D9-A5DC-529557B6793C@dvcreators.net> Thanks Trevor! On Jan 25, 2007, at 2:19 PM, Trevor DeVore wrote: > On Jan 25, 2007, at 1:55 PM, Josh Mellicker wrote: > >> I have a large scrolling group. >> >> If I set the vScroll of this group to 32780 (or any smaller >> number), no problem, works perfectly. >> >> If I set the vScroll of this group to 32781 (or any higher >> number), the vScroll is set to zero (and the group scroll jumps to >> the top). >> >> Not sure if this has anything to do with the below, just thought >> I'd include it in the off chance... >> >> So, anyone know wat up? > > Yep, groups won't scroll beyond that number. It's a limitation in > the engine design. What I have done in the past is split my groups > up into smaller segments and use code to scroll them in the proper > order. > > So if you split your group up into two segments then you would > scroll group 1 using a scroll bar control. As the right edge of > group 1 entered the viewable area you would start scrolling group 2 > along with it so that it appeared you had one big scrolling group. > Kind of a bummer. > > > -- > Trevor DeVore > Blue Mango Learning Systems - www.bluemangolearning.com > trevor at bluemangolearning.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Thu Jan 25 20:01:36 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 25 Jan 2007 17:01:36 -0800 Subject: Trap Hilite Command? Message-ID: Is there any way to trap the hilite command? So if "hilite btn 1" is sent anywhere via script, I can intercept that command in front script? Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From cszasz at mac.com Thu Jan 25 20:47:16 2007 From: cszasz at mac.com (Charles Szasz) Date: Thu, 25 Jan 2007 20:47:16 -0500 Subject: Windows Standalone Problem Still Persist Message-ID: Hi everyone! Despite the number of suggestions that I received from the Rev community, I still have been unable to resolve a problem with my Windows Standalone. The background is white, which is what I want but a little bit of text is visible. The text that is visible is some of the label text. I have changed the size of the text entry fields, size of the Arial font used throughout the program, turning Clear- Type on, using a script suggested by Roger Eller. Only one button, which was created with ButtonGadget2 is visible. I also checked the color ink and visibility. I made a sample app with entry field boxes and buttons using both Arial and Tacona fonts and made a Windows Standalone without any problems with the appearance. I am using the latest version of Parallels (build 2130) to run my project on. I am using OS X 10.4.8 and Rev. 2.7.4. Any more suggestions? Charles Szasz cszasz at mac.com From bridgeyman at gmail.com Thu Jan 25 20:55:52 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Thu, 25 Jan 2007 18:55:52 -0700 Subject: XML Woes Message-ID: <86ae76bb0701251755j351c6e29sd247d7dbe99435ce@mail.gmail.com> Hey, I am new to XML and I am having troubles again. I have a handler that makes XML, and in some cases it recursively calls itself and uses the revAppendXML command to combine the recursively called tree into the tree it is working on. For some reason though, after I insert the second XML tree into the first, some of the XML nodes in the second tree get messed up. Any node in the second tree that doesn't contain any data gets messed up. becomes: What does that mean? When the second tree is returned it looks fine, it only gets messed up after the revAppendXML command is called. Is it even legal to have an XML tag with the forward slash character at the end of the name? And where did the closing tag go? Any help would be greatly appreciated. In case I wasn't very clear here is some sample XML to show what is happening: 20 20 <--- Problem area Thank You, Bridger Maxwell Christa McAuliffe Space Education Center From list at dreamscapesoftware.com Thu Jan 25 20:57:08 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Thu, 25 Jan 2007 19:57:08 -0600 Subject: Windows Standalone Problem Still Persist In-Reply-To: References: Message-ID: <45B95FF4.9030808@dreamscapesoftware.com> Hi Charles, I'm unfamilar with the problem you're having, but if I may make a suggestion: Take the problem stack and standalone, zip them, and upload them to a server. Let us know where we can download it and we'll take a look. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ Charles Szasz wrote: > Hi everyone! > > > Despite the number of suggestions that I received from the Rev > community, I still have been unable to resolve a problem with my Windows > Standalone. The background is white, which is what I want but a little > bit of text is visible. The text that is visible is some of the label > text. I have changed the size of the text entry fields, size of the > Arial font used throughout the program, turning Clear-Type on, using a > script suggested by Roger Eller. Only one button, which was created > with ButtonGadget2 is visible. I also checked the color ink and visibility. > > I made a sample app with entry field boxes and buttons using both Arial > and Tacona fonts and made a Windows Standalone without any problems with > the appearance. > > I am using the latest version of Parallels (build 2130) to run my > project on. I am using OS X 10.4.8 and Rev. 2.7.4. Any more suggestions? > > Charles Szasz > cszasz at mac.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From lists at mangomultimedia.com Thu Jan 25 21:28:04 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 25 Jan 2007 18:28:04 -0800 Subject: XML Woes In-Reply-To: <86ae76bb0701251755j351c6e29sd247d7dbe99435ce@mail.gmail.com> References: <86ae76bb0701251755j351c6e29sd247d7dbe99435ce@mail.gmail.com> Message-ID: <77B574B6-169A-4314-B3EF-8B7926DB3766@mangomultimedia.com> On Jan 25, 2007, at 5:55 PM, Bridger Maxwell wrote: > Hey, > I am new to XML and I am having troubles again. I have a handler > that > makes XML, and in some cases it recursively calls itself and uses the > revAppendXML command to combine the recursively called tree into > the tree it > is working on. For some reason though, after I insert the second > XML tree > into the first, some of the XML nodes in the second tree get messed > up. Any > node in the second tree that doesn't contain any data gets messed up. > > becomes: > > > What does that mean? When the second tree is returned it looks > fine, it > only gets messed up after the revAppendXML command is called. Is > it even > legal to have an XML tag with the forward slash character at the > end of the > name? And where did the closing tag go? Any help would be greatly > appreciated. Hi Bridger, That is valid XML. It is a way to close a tag that has no content. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From bridgeyman at gmail.com Thu Jan 25 22:01:58 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Thu, 25 Jan 2007 20:01:58 -0700 Subject: XML Woes In-Reply-To: <77B574B6-169A-4314-B3EF-8B7926DB3766@mangomultimedia.com> References: <86ae76bb0701251755j351c6e29sd247d7dbe99435ce@mail.gmail.com> <77B574B6-169A-4314-B3EF-8B7926DB3766@mangomultimedia.com> Message-ID: <86ae76bb0701251901y61a12db3n4bbb641e3653acfc@mail.gmail.com> Ah, well, that goes to show how new I am at XML. Thanks a ton for the help. TTFN Bridger Maxwell Christa McAuliffe Space Education Center From bridgeyman at gmail.com Fri Jan 26 02:13:53 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Fri, 26 Jan 2007 00:13:53 -0700 Subject: CDATA Message-ID: <86ae76bb0701252313v66a1b629p9eed65cf94bd39a@mail.gmail.com> Hey, Here I am on the usergroup again needing even more help on XML. I am trying to use CDATA to store HTML-formatted text inside a node, but I am not having much luck. The text starts out looking like this:

Hey! 20857

How are you?

Then I wrap it in the CDATA tag: Hey! 20857

How are you?

]]> Then I store it in the XML. It looks like this in the XML: <![CDATA[ <p>Hey!</p <p>How are you?</p> ]]> Then upon retrieving it, I only get the first line. In this case: Hey! In an earlier post on this Ken Ray said: > Yes, it is AFAIK - if you have *just* CDATA, you should be able to read it, > but if you have both text contents of a node AND CDATA, the CDATA is not > read. It's odd that it works on Windows, though, and not Mac since I thought > it used the same library code under the hood. I am running OS X and plan to release for OS X, so there is a bug, but because I am not storing anything else inside the CDATA text, I didn't think it would affect me. Thanks again for all the help you guys have given me throughout my struggle with XML. TTFN Bridger Maxwell Christa McAuliffe Space Education Center From lists at mangomultimedia.com Fri Jan 26 03:51:04 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 26 Jan 2007 00:51:04 -0800 Subject: crash, crash, crash In-Reply-To: <594D089B-CA43-4F82-964B-500A4B4E1931@mangomultimedia.com> References: <594D089B-CA43-4F82-964B-500A4B4E1931@mangomultimedia.com> Message-ID: On Jan 25, 2007, at 8:26 AM, Trevor DeVore wrote: > On Jan 25, 2007, at 2:50 AM, Jim Ault wrote: > >> As far as the crash problems, this sounds like something strange >> is going >> on. There are others who are doing unicode and not reporting such >> problems, >> for example Dar Scott, Devin Assay come to mind. > > I think this is in fact a Rev bug. I received an email the other > day from someone using a free trial of one of our programs about a > crash. He was in Finland and had the following keyboard setup: > > - System preferences / International / Language / English > - System preferences / International / Input Menu (= keyboard > layout) / Finnish Extended > > He said that typing work fine until he entered the first > scandinavic letter (ex. a-umlaut). He said all text after that will > become strange and also the keyboard layout (in the menubar) tries > to change to british. If he continues to type in the program it > crashes. > > I have seen similar behavior when using Russian input but I haven't > tracked down what the problem is yet. To follow up on this - I tracked down what was causing the problem in our software. I have a text entry field that resizes the height while you type in order to fit the contents of the field. I was capturing the keyDown message in a frontscript, inserting the character manually and then checking to see if the field needed to be resized. It turns out that this makes Rev fields sad and led to odd characters being inserted into the field. I'm not sure why though. In any case, I now process the rawKeyUp message and let the engine insert the characters in the field and everything seems to be working (though my resize behavior doesn't behave exactly how I would like it to). What would be nice is a rawKeyDownAndCharacterHasBeenInsertedIntoFieldButIsntVisibleToTheUserYet message that was called after the character was inserted into the field but before it was displayed to the user. It seems that a message like this would make auto resizing fields cleaner. Or am I missing an existing feature that facilitates this? -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From palcibiades-first at yahoo.co.uk Fri Jan 26 03:57:34 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 26 Jan 2007 08:57:34 +0000 Subject: Alt-things re-uploaded In-Reply-To: <45B90C33.9030205@hyperactivesw.com> References: <45B90C33.9030205@hyperactivesw.com> Message-ID: <200701260857.34937.palcibiades-first@yahoo.co.uk> It would be very nice if someone could post some instructions, even one or two lines, on how to (a) install these things (b) use them, under Linux. The Linux versions consist of three .rev files. The documentation tells you what to do with either the Windows or the Mac versions, but there are no instructions about Linux. This is what I have tried so far: - put them in the top level Rev folder - put them in plugins folder - put them in third party folder - created an Externals folder at the top level and put them in that restarting Rev on each occasion. There are no perceptible effects from any of the above. - looked for a home stack to try to set it to use them Can't find one. - run them as a shell script with root privileges and with user priveliges Permission is denied. - open message box on Rev start and try 'set the external of this stack to....' one of them. Compile error, double binaries. - open them in an editor to see what they do They will open in Kate, but it detects binaries and warns of corruption on save. Is there some very simple process which I've simply failed to grasp? Or do they maybe just not work in Linux? Peter On Thursday 25 January 2007 19:59, J. Landman Gay wrote: > Some problems with the alt-externals have been corrected. If you tried > before and they didn't work, try again. New, fixed versions have just > been uploaded to the same web page. I'm not sure if I am supposed to > post the URL here or not, so check your RR email announcement for it. > > The fixes include correcting the installation directory and externals > path, as well as an error that occured unzipping the altFont file. From palcibiades-first at yahoo.co.uk Fri Jan 26 04:03:41 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 26 Jan 2007 09:03:41 +0000 Subject: Alt-things re-uploaded In-Reply-To: <45B90C33.9030205@hyperactivesw.com> References: <45B90C33.9030205@hyperactivesw.com> Message-ID: <200701260903.41277.palcibiades-first@yahoo.co.uk> One other thing I tried was to open them from within Rev. You can't. Peter From palcibiades-first at yahoo.co.uk Fri Jan 26 04:17:34 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 26 Jan 2007 09:17:34 +0000 Subject: Alt-things re-uploaded, more In-Reply-To: <45B90C33.9030205@hyperactivesw.com> References: <45B90C33.9030205@hyperactivesw.com> Message-ID: <200701260917.35075.palcibiades-first@yahoo.co.uk> And another thing was, open a stack, then set the externals of the stack to one of them using the properties popup. This was sqlite. Again, no effect that I can see. Maybe if there is a user guide someplace on the commands it would be possible to try sending a few commands to the external from that stack? Is there one anywhere? Peter From david at openpartnership.net Fri Jan 26 08:18:55 2007 From: david at openpartnership.net (David Bovill) Date: Fri, 26 Jan 2007 05:18:55 -0800 Subject: [fun] Valid rev syntax. The silly scripts thread. In-Reply-To: <45B930B4.4080300@hyperactivesw.com> References: <20061207180005.223974891A8@mail.runrev.com> <63927498-E579-4A19-85CE-63BAEA603339@derbrill.de> <45B930B4.4080300@hyperactivesw.com> Message-ID: This aspect of Transcript is undersold I would say. Legibility and comprehensibility of code are important to both novice and advanced programmers. It also of course makes it much easier to learn. Rev is "Natural language programming"! From soapdog at mac.com Fri Jan 26 08:23:01 2007 From: soapdog at mac.com (Andre Garzia) Date: Fri, 26 Jan 2007 11:23:01 -0200 Subject: CDATA In-Reply-To: <86ae76bb0701252313v66a1b629p9eed65cf94bd39a@mail.gmail.com> References: <86ae76bb0701252313v66a1b629p9eed65cf94bd39a@mail.gmail.com> Message-ID: <9B69073B-43F9-4D7A-A530-7FB03E69E814@mac.com> Bridger, try not using CDATA, just escape your <, > and & to < > & that should do the trick. Andre On Jan 26, 2007, at 5:13 AM, Bridger Maxwell wrote: > Hey, > Here I am on the usergroup again needing even more help on XML. > I am > trying to use CDATA to store HTML-formatted text inside a node, but > I am not > having much luck. The text starts out looking like this: >

Hey! 20857

>

How are you?

> > Then I wrap it in the CDATA tag: > Hey! 20857

>

How are you?

]]> > > Then I store it in the XML. It looks like this in the XML: > <![CDATA[ <p>Hey!</p > <p>How are you?</p> ]]> > > Then upon retrieving it, I only get the first line. In this case: > Hey! > > In an earlier post on this Ken Ray said: > >> Yes, it is AFAIK - if you have *just* CDATA, you should be able to >> read > it, >> but if you have both text contents of a node AND CDATA, the CDATA >> is not >> read. It's odd that it works on Windows, though, and not Mac since I > thought >> it used the same library code under the hood. > > I am running OS X and plan to release for OS X, so there is a bug, but > because I am not storing anything else inside the CDATA text, I > didn't think > it would affect me. Thanks again for all the help you guys have > given me > throughout my struggle with XML. > > TTFN > Bridger Maxwell > Christa McAuliffe Space Education Center > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From soapdog at mac.com Fri Jan 26 08:27:11 2007 From: soapdog at mac.com (Andre Garzia) Date: Fri, 26 Jan 2007 11:27:11 -0200 Subject: Control Webcam from rev In-Reply-To: <5352C2F0-5DF0-4BCC-8EF6-8B69DFA72C41@gmail.com> References: <26b986890701251517u75debca8s82d9d7c2ac8ebc67@mail.gmail.com> <5352C2F0-5DF0-4BCC-8EF6-8B69DFA72C41@gmail.com> Message-ID: Brent, but by using quartz composer you can't record it right? Andre On Jan 25, 2007, at 9:20 PM, Brent Anderson wrote: > Hello. > > Look in your Revolution Installation Folder (2.7.4-gm-1) and in the > Resources/Sample Projects folder you'll find the "Video Capture" > stack that leverages the VideoGrabber external. That should get you > started. If you're on a mac, you can also use Quartz Composer to > directly access the camera from a Quicktime Player. > > Thanks, > Brent Anderson > CMSEC > > > On Jan 25, 2007, at 4:17 PM, Jinjenator wrote: > >> Hi all >> >> Is it possible to control a webcam from revolution - with a view to >> streaming the captured images? >> >> Not sure where to start with this one :/ >> >> J >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From soapdog at mac.com Fri Jan 26 08:30:09 2007 From: soapdog at mac.com (Andre Garzia) Date: Fri, 26 Jan 2007 11:30:09 -0200 Subject: Trap Hilite Command? In-Reply-To: References: Message-ID: Scott, can't you use setprop since the line set the hilite of btn 1 to true is the same thing? Andre On Jan 25, 2007, at 11:01 PM, Scott Rossi wrote: > Is there any way to trap the hilite command? So if "hilite btn 1" > is sent > anywhere via script, I can intercept that command in front script? > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From geradamas at yahoo.com Fri Jan 26 08:37:20 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Fri, 26 Jan 2007 13:37:20 +0000 (GMT) Subject: [OT] MacFuse Message-ID: <119871.80430.qm@web37513.mail.mud.yahoo.com> http://code.google.com/p/macfuse/ interesting stuff! sincerely, Richmond Mathewson ____________________________________________________________ I have read and signed the online petition: "The Devils (1971) Special Edition, Uncut, remastered DVD release." hosted on the web by PetitionOnline.com, the free online petition service, at: http://www.PetitionOnline.com/Grandier/ I personally agree with what this petition says, and I think you might agree, too. If you can spare a moment, please take a look, and consider signing yourself. Richmond Mathewson ____________________________________________________________ ___________________________________________________________ New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk From soapdog at mac.com Fri Jan 26 08:37:39 2007 From: soapdog at mac.com (Andre Garzia) Date: Fri, 26 Jan 2007 11:37:39 -0200 Subject: [fun] Valid rev syntax. The silly scripts thread. In-Reply-To: References: <20061207180005.223974891A8@mail.runrev.com> <63927498-E579-4A19-85CE-63BAEA603339@derbrill.de> <45B930B4.4080300@hyperactivesw.com> Message-ID: <9F2A6F4C-7613-475B-8954-D7DF49F2FBFD@mac.com> on wakeUp send coffee to me end wakeUp On Jan 26, 2007, at 11:18 AM, David Bovill wrote: > This aspect of Transcript is undersold I would say. Legibility and > comprehensibility of code are important to both novice and advanced > programmers. It also of course makes it much easier to learn. Rev is > "Natural language programming"! > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Fri Jan 26 08:41:38 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 26 Jan 2007 14:41:38 +0100 Subject: Trap Hilite Command? In-Reply-To: References: Message-ID: <43FF9A66-61E6-4F9F-B22D-5ED8ECFED7BE@economy-x-talk.com> Hi Scott, This is impossible, because commands are sent directly to the engine, as Jacque kindly explained a few times. Recently, I tried something similar with a setprop handler, but that didn't work either, even though the compiler accepted it. Still, I would be very interested if you found an elegant workaround. Currently, the only way seems to be to create your own customHilite handler, which hilites the target if not intercepted. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 26-jan-2007, om 2:01 heeft Scott Rossi het volgende geschreven: > Is there any way to trap the hilite command? So if "hilite btn 1" > is sent > anywhere via script, I can intercept that command in front script? > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com From jbv.silences at club-internet.fr Fri Jan 26 10:00:16 2007 From: jbv.silences at club-internet.fr (jbv) Date: Fri, 26 Jan 2007 16:00:16 +0100 Subject: [fun] Valid rev syntax. The silly scripts thread. References: <20061207180005.223974891A8@mail.runrev.com> <63927498-E579-4A19-85CE-63BAEA603339@derbrill.de> <45B930B4.4080300@hyperactivesw.com> Message-ID: <45BA1774.5B11E6BC@club-internet.fr> David, > This aspect of Transcript is undersold I would say. Legibility and > comprehensibility of code are important to both novice and advanced > programmers. It also of course makes it much easier to learn. Rev is > "Natural language programming"! although I fully agree with you, I've met many experienced programmers who think that this : if(a.indexOf(".")!=-1){a=a.replace(".",",")} is much easier to read than this : if a contains dot then replace dot with comma in a end if Those programmers believe that programming languages HAVE to be cryptic and cumbersome, so that few people will master them, and that it will lower the risk to have their job stolen by some stupid young boys... Oddly they seem to apply to programming the old double function of natural languages : to act as a cohesion force for the group (the happy few who master programming languages) while keeping away aliens (those who don't understand it)... In some ways thay're acting / thinking like suburbs gangs protecting their own territory... [grin] JB From brentj84062 at gmail.com Fri Jan 26 10:03:57 2007 From: brentj84062 at gmail.com (Brent Anderson) Date: Fri, 26 Jan 2007 08:03:57 -0700 Subject: Control Webcam from rev In-Reply-To: References: <26b986890701251517u75debca8s82d9d7c2ac8ebc67@mail.gmail.com> <5352C2F0-5DF0-4BCC-8EF6-8B69DFA72C41@gmail.com> Message-ID: True, I just re-read Jinjenator's idea and initially I thought he just wanted to capture images, not stream them. RevVideoGrabber isn't built for streaming images from your webcam. If you're just looking for recording video clips, it's perfect. Streaming will require either your own external or if you aren't needing a good framerate, you could setup your stack to screenshot the camera view and stream those images. I'm not familiar enough with Quartz, but you *might* be able to create something that can accomplish this task from there. Your milage may vary with Quartz on Windows deployments. Thanks, Brent Anderson CMSEC On Jan 26, 2007, at 6:27 AM, Andre Garzia wrote: > Brent, > > but by using quartz composer you can't record it right? > > Andre > On Jan 25, 2007, at 9:20 PM, Brent Anderson wrote: > >> Hello. >> >> Look in your Revolution Installation Folder (2.7.4-gm-1) and in >> the Resources/Sample Projects folder you'll find the "Video >> Capture" stack that leverages the VideoGrabber external. That >> should get you started. If you're on a mac, you can also use >> Quartz Composer to directly access the camera from a Quicktime >> Player. >> >> Thanks, >> Brent Anderson >> CMSEC >> >> >> On Jan 25, 2007, at 4:17 PM, Jinjenator wrote: >> >>> Hi all >>> >>> Is it possible to control a webcam from revolution - with a view to >>> streaming the captured images? >>> >>> Not sure where to start with this one :/ >>> >>> J >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jhonken at webdsp.com Fri Jan 26 11:11:28 2007 From: jhonken at webdsp.com (Jeff Honken) Date: Fri, 26 Jan 2007 11:11:28 -0500 Subject: Hilite Line of option box Message-ID: <000401c74164$a511ca10$dc0ab50a@DellLaptop> I'm trying to use an option box and program it so I don't have to use the mouse. When I enter the box I'd like to use my down arrow and have the options displayed in the pull down. I can do this by: on arrowKey theKey if theKey is "down" then click at the loc of btn "PIC" end if end arrowKey The menu box pulls down but the problem is that it doesn't hilite the first line in the choices. I've tried something like hitlite line 1 of me but that seem to work. Any help would be greatly appreciated. From ambassador at fourthworld.com Fri Jan 26 11:32:04 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 26 Jan 2007 08:32:04 -0800 Subject: Trap Hilite Command? Message-ID: <45BA2D04.80004@fourthworld.com> Mark Schonewille wrote: > This is impossible, because commands are sent directly to the engine, > as Jacque kindly explained a few times. Recently, I tried something > similar with a setprop handler, but that didn't work either, even > though the compiler accepted it. Still, I would be very interested if > you found an elegant workaround. Currently, the only way seems to be > to create your own customHilite handler, which hilites the target if > not intercepted. Many years ago I'd inherited a HyperCard project that relied in part on overloading built-in commands. I asked Scott Raney why this wasn't supported in Rev (back then it was MetaCard), and he explained about the impact allowing that has on performance by increasing the size of the token table. His explanation was appreciated, but still I argued with him on the usefulness of overloading and he left me with a challenge: Come up with a case in which it's absolutely necessary, and resulted in better coding practices than not, and he'd consider it. I never did. But we might possibly have one here. Scott, if you feel your situation has merit maybe we could thrash it around a bit to see if we've found the elusive example? Now that all major OSes use the same microchip instruction set (Intel), I can imagine a world in which true machine-level compilation becomes a possibility. In such a system the size of the token table would have no effect on runtime. Why shouldn't this be explored? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From kray at sonsothunder.com Fri Jan 26 12:05:04 2007 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 26 Jan 2007 11:05:04 -0600 Subject: CDATA In-Reply-To: <86ae76bb0701252313v66a1b629p9eed65cf94bd39a@mail.gmail.com> References: <86ae76bb0701252313v66a1b629p9eed65cf94bd39a@mail.gmail.com> Message-ID: <20070126110504158645.f8216a6f@sonsothunder.com> On Fri, 26 Jan 2007 00:13:53 -0700, Bridger Maxwell wrote: > Hey, > Here I am on the usergroup again needing even more help on XML. I am > trying to use CDATA to store HTML-formatted text inside a node, but I am not > having much luck. The text starts out looking like this: >

Hey! 20857

>

How are you?

> > Then I wrap it in the CDATA tag: > Hey! 20857

>

How are you?

]]> > > Then I store it in the XML. It looks like this in the XML: > <![CDATA[ <p>Hey!</p > <p>How are you?</p> ]]> > > Then upon retrieving it, I only get the first line. First of all, there should be no replacement of angle bracket characters with entities inside a CDATA node - that's the whole point of the node. Secondly, there is obviously a bug in the external. If you want to, you could use my XML Library that handles this properly (I just tested), and since it's Transcript-only, you can use it in tandem with the revXML external if you like. Here's the URL: http://www.sonsothunder.com/products/xmllib/xmllib.htm HTH, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From meitnik at bellsouth.net Fri Jan 26 12:10:55 2007 From: meitnik at bellsouth.net (Andrew Meit) Date: Fri, 26 Jan 2007 12:10:55 -0500 Subject: Crash reporter, Apples for use in Rev?? Message-ID: <26779500-C7A9-44EA-B43B-C1986C85EFB2@bellsouth.net> Is there a reason Rev has yet to make use of Crash reporter to email crash logs to them?? And btw, so when is the next open beta coming????????? Shalom, Andrew {Choose Life, Create Hope, Nurture Love...} From meitnik at bellsouth.net Fri Jan 26 12:15:56 2007 From: meitnik at bellsouth.net (Andrew Meit) Date: Fri, 26 Jan 2007 12:15:56 -0500 Subject: cursor problems in Altbrowser?? Message-ID: <114F7AF6-E99C-40F1-A883-C657E5245E3B@bellsouth.net> Anybody else seeing their cursor hacked up when used in the browser demo of AltBrowser?? Shalom, Andrew {Choose Life, Create Hope, Nurture Love...} From meitnik at bellsouth.net Fri Jan 26 12:27:00 2007 From: meitnik at bellsouth.net (Andrew Meit) Date: Fri, 26 Jan 2007 12:27:00 -0500 Subject: Altbrowser chews on cursor for links... Message-ID: Narrowed down the hacked cursor.... when the cursor is over any link object (text or button) it hacks the cursor shape... Anyone else can confirm this? Shalom, Andrew {Choose Life, Create Hope, Nurture Love...} From pevensen at siboneylg.com Fri Jan 26 12:32:36 2007 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Fri, 26 Jan 2007 11:32:36 -0600 Subject: CDATA In-Reply-To: <86ae76bb0701252313v66a1b629p9eed65cf94bd39a@mail.gmail.com > References: <86ae76bb0701252313v66a1b629p9eed65cf94bd39a@mail.gmail.com> Message-ID: <6.2.1.2.2.20070126113146.0c2602c0@exchange.slg.com> I don't think Rev's XML library properly supports CDATA. This is a problem I ran into, so I did what Andre suggested, and replaced < and > with something else I wouldn't use and then replaced them when I read the node. At 01:13 AM 1/26/2007, you wrote: >Hey, > Here I am on the usergroup again needing even more help on XML. I am >trying to use CDATA to store HTML-formatted text inside a node, but I am not >having much luck. The text starts out looking like this: >

Hey! 20857

>

How are you?

> >Then I wrap it in the CDATA tag: >Hey! 20857

>

How are you?

]]> > >Then I store it in the XML. It looks like this in the XML: >Hey!

How are you?

]]> Then upon retrieving it, I >only get the first line. In this case: Hey! In an earlier post on this Ken >Ray said: > Yes, it is AFAIK - if you have *just* CDATA, you should be >able to read it, > but if you have both text contents of a node AND CDATA, >the CDATA is not > read. It's odd that it works on Windows, though, and >not Mac since I thought > it used the same library code under the hood. I >am running OS X and plan to release for OS X, so there is a bug, but >because I am not storing anything else inside the CDATA text, I didn't >think it would affect me. Thanks again for all the help you guys have >given me throughout my struggle with XML. TTFN Bridger Maxwell Christa >McAuliffe Space Education Center >_______________________________________________ use-revolution mailing >list use-revolution at lists.runrev.com Please visit this url to subscribe, >unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 From list at dreamscapesoftware.com Fri Jan 26 12:36:17 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Fri, 26 Jan 2007 11:36:17 -0600 Subject: Altbrowser chews on cursor for links... In-Reply-To: References: Message-ID: <45BA3C11.6000206@dreamscapesoftware.com> Andrew, I've been using altBrowser for more than 2 years now and this has never happened to me. I cannot confirm the bug. It would help to know a little about what's going on: - What version of Revolution are you using? - What Operating System and Version are you using? Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ Andrew Meit wrote: > Narrowed down the hacked cursor.... > when the cursor is over any link object (text or button) it hacks the > cursor shape... > Anyone else can confirm this? > > Shalom, Andrew > {Choose Life, Create Hope, Nurture Love...} > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From kray at sonsothunder.com Fri Jan 26 12:35:58 2007 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 26 Jan 2007 11:35:58 -0600 Subject: CDATA In-Reply-To: <20070126110504158645.f8216a6f@sonsothunder.com> References: <86ae76bb0701252313v66a1b629p9eed65cf94bd39a@mail.gmail.com> <20070126110504158645.f8216a6f@sonsothunder.com> Message-ID: <20070126113558883790.c8b62ed6@sonsothunder.com> On Fri, 26 Jan 2007 11:05:04 -0600, Ken Ray wrote: > If you want to, you could use my XML Library that handles this properly > (I just tested), and since it's Transcript-only, you can use it in > tandem with the revXML external if you like. Sorry, forgot to show how to do it: Suppose your XML was: Hey! 20857

How are you?

]]>
and was in a variable called "myXMLData". You'd do: get stsXML_LoadData(myXMLData) put stsXML_GetNodeData("/test") which would put this in the message box:

Hey! 20857

How are you?

Anyway, you get the picture, and there's full docs if you need it... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From m.schonewille at economy-x-talk.com Fri Jan 26 13:12:43 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 26 Jan 2007 19:12:43 +0100 Subject: Hilite Line of option box In-Reply-To: <000401c74164$a511ca10$dc0ab50a@DellLaptop> References: <000401c74164$a511ca10$dc0ab50a@DellLaptop> Message-ID: Hi Jeff, On Mac OS X, I had no problems selecting a line of a menu button using arrow keys. On Windows, it simply didn't work. The following scripts might help to get you started with a work-around. Card script can be anything like this: on arrowkey foo set the screenmouseloc to globalloc(the loc of of btn 1) if foo is "down" then click at the loc of btn 1 else pass arrowkey end if end arrowkey Script for the menu button: on arrowkey theKey if the platform is "Win32" then if theKey is "up" then put 1 into myDirection else if theKey is "down" then put -1 into myDirection end if put 0 into myV repeat until keysDown() is empty add myDirection to myV set the screenmouseLoc to (item 1 of the screenmouseloc & ? comma & (item 2 of the screenmouseloc - myV)) wait 50 millisecs with messages end repeat else pass arrowKey end if end arrowkey best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 26-jan-2007, om 17:11 heeft Jeff Honken het volgende geschreven: > I'm trying to use an option box and program it so I don't have to use > the mouse. When I enter the box I'd like to use my down arrow and > have > the options displayed in the pull down. I can do this by: > > on arrowKey theKey > if theKey is "down" then > > click at the loc of btn "PIC" > > end if > end arrowKey > > > The menu box pulls down but the problem is that it doesn't hilite the > first line in the choices. I've tried something like > > hitlite line 1 of me > > but that seem to work. Any help would be greatly appreciated. From meitnik at bellsouth.net Fri Jan 26 13:45:11 2007 From: meitnik at bellsouth.net (Andrew Meit) Date: Fri, 26 Jan 2007 13:45:11 -0500 Subject: altbrowser chewing on link cursor...,i In-Reply-To: <20070126180004.DC137488F8D@mail.runrev.com> References: <20070126180004.DC137488F8D@mail.runrev.com> Message-ID: I am using OSX 10.4.8, Rev studio 2.7.4. Shalom, Andrew {Choose Life, Create Hope, Nurture Love...} On Jan 26, 2007, at 1:00 PM, use-revolution-request at lists.runrev.com wrote: > It would help to know a little about what's going on: > - What version of Revolution are you using? > - What Operating System and Version are you using? From chipp at chipp.com Fri Jan 26 13:56:36 2007 From: chipp at chipp.com (Chipp Walters) Date: Fri, 26 Jan 2007 12:56:36 -0600 Subject: Anyone got one of these? Message-ID: <7aa52a210701261056j468320eas19c648f94ada47be@mail.gmail.com> function stripAllTagsBut pHtml,pTagsList --> pTagsList IS A LIST OF TAGS NOT TO EXCLUDE FROM PARSING --> EX. LINE 1 OF pTagsList CAN BE "img" AND LINE 2 CAN BE "b", etc.. It's used to strip all tags from HTML but those in the pTagsList parameter. IOW, it can be used to grab the HTML of a page, and strip everything but the img tags. I'm starting to write it, but thought I'd ask-- just in case. -Chipp From jacque at hyperactivesw.com Fri Jan 26 14:06:24 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 26 Jan 2007 13:06:24 -0600 Subject: Alt-things re-uploaded, more In-Reply-To: <200701260917.35075.palcibiades-first@yahoo.co.uk> References: <45B90C33.9030205@hyperactivesw.com> <200701260917.35075.palcibiades-first@yahoo.co.uk> Message-ID: <45BA5130.5040200@hyperactivesw.com> Peter Alcibiades wrote: > And another thing was, open a stack, then set the externals of the stack to > one of them using the properties popup. This was sqlite. Again, no effect > that I can see. Maybe if there is a user guide someplace on the commands it > would be possible to try sending a few commands to the external from that > stack? Is there one anywhere? The externals don't necessarily have to be installed in the "preferred" IDE locations. The advantage to doing that is so that the IDE will load them on startup, but you can actually put them anywhere you want. The generic instructions for working with externals: 1. Open the stack that will use the external. Set its externals property to the relative path of the external file on disk: set the externals of this stack to "/path/to/external/file" 2. Save the stack. Close the stack and remove it from memory. This is the important step. 3. Reopen the stack. If your path is correct, the external will load. Now you can use it in scripts. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Fri Jan 26 14:11:38 2007 From: klaus at major-k.de (Klaus Major) Date: Fri, 26 Jan 2007 20:11:38 +0100 (MET) Subject: Alt-things re-uploaded In-Reply-To: <45B90C33.9030205@hyperactivesw.com> References: <45B90C33.9030205@hyperactivesw.com> Message-ID: <3DD2D6EB-159F-4D8A-A6E6-820E837DE805@major-k.de> Hi all, > Some problems with the alt-externals have been corrected. If you > tried before and they didn't work, try again. New, fixed versions > have just been uploaded to the same web page. I'm not sure if I am > supposed to post the URL here or not, so check your RR email > announcement for it. > > The fixes include correcting the installation directory and > externals path, as well as an error that occured unzipping the > altFont file. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com the altBrowser PDF docs on the web appear to be for the first version of altBrowser and not for the actual downloadable version 2 Example: -> altBrowser does not support multiple instancing Currently altBrowser does not support multiple instancing, and only one altBrowser stack can be active at a given time. This limitation is due to the fact the original version had no need for multiple instancing, and we haven't yet added support for it. If needed, please contact us and we can discuss a customized version for you. The latest version (altBrowser2) DOES support multiple instancing. Don't get me wrong, but as much as I appreciate the fact that we can load these externals right now, I do not think that RunRev does itself a favour in supplying this half-baked solution. And I dont think that new users will completely understand why the new loadable files (installers) show up as "Altuit" products. Besides the fact that "AltSQLite Homepage" will point to "http:// www.altuit.com/webs/altuit2/altSQLiteCover/default.htm" and show a "The page cannot be found" error... Regards Klaus Major klaus at major-k.de http://www.major-k.de From kray at sonsothunder.com Fri Jan 26 14:31:22 2007 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 26 Jan 2007 13:31:22 -0600 Subject: Anyone got one of these? In-Reply-To: <7aa52a210701261056j468320eas19c648f94ada47be@mail.gmail.com> References: <7aa52a210701261056j468320eas19c648f94ada47be@mail.gmail.com> Message-ID: <20070126133122169333.fe30ab60@sonsothunder.com> On Fri, 26 Jan 2007 12:56:36 -0600, Chipp Walters wrote: > function stripAllTagsBut pHtml,pTagsList > --> pTagsList IS A LIST OF TAGS NOT TO EXCLUDE FROM PARSING > --> EX. LINE 1 OF pTagsList CAN BE "img" AND LINE 2 CAN BE "b", etc.. > > > It's used to strip all tags from HTML but those in the pTagsList parameter. > > IOW, it can be used to grab the HTML of a page, and strip everything but the > img tags. > > I'm starting to write it, but thought I'd ask-- just in case. Closest thing I have is: function stsStripHTML what put replaceText(what,"(?si)","") into what put replaceText(what,"(?si)","") into what put replaceText(what,"<.*?>","") into what put replaceText(what,tab,"") into what put replaceText(what,CR & "{3,}","") into what return what end stsStripHTML But this strips all tags... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From lists at mangomultimedia.com Fri Jan 26 15:13:34 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 26 Jan 2007 12:13:34 -0800 Subject: Anyone got one of these? In-Reply-To: <7aa52a210701261056j468320eas19c648f94ada47be@mail.gmail.com> References: <7aa52a210701261056j468320eas19c648f94ada47be@mail.gmail.com> Message-ID: <71C1ADB6-9A5C-4123-B993-A808802E8737@mangomultimedia.com> On Jan 26, 2007, at 10:56 AM, Chipp Walters wrote: > function stripAllTagsBut pHtml,pTagsList > --> pTagsList IS A LIST OF TAGS NOT TO EXCLUDE FROM PARSING > --> EX. LINE 1 OF pTagsList CAN BE "img" AND LINE 2 CAN BE "b", etc.. > > > It's used to strip all tags from HTML but those in the pTagsList > parameter. > > IOW, it can be used to grab the HTML of a page, and strip > everything but the > img tags. > > I'm starting to write it, but thought I'd ask-- just in case. Well, I have one I've been working on that takes a list of things to strip. You could modify it to fit your needs maybe. The first version was much more compact and use matchText. Then I stress tested it and it was slooooow and I had to call it quite often and with large amounts of text. So I came up with the attached version. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com /** * Cleanses a string of the specified Revolution HTML tags. * * @param pHTML HTML to act on. * @param pStripFilter List of tags to strip: p,size,face,lang,color,bgcolor,b,i,u,strike,sub,sup,box,threedbox,expand ed,condensed,img,a. * @param pStripTrailingCR pass true to strip any trailing CR from END of the pHTML. * * @return empty */ FUNCTION str_stripHTML pHTML, pStripFilter, pStripTrailingCR local tProp,tFontFilter,tInlineFilter,tAttributeFilter,tStart,tEnd local tSkip,tOffset1,tOffset2,tDeleteChars,i set the wholematches to true --> PROCESS pStripFilter REPEAT for each item tProp in pStripFilter IF tProp is among the items of "p,b,i,u,strike,sub,sup,box,threedbox,expanded,condensed" THEN put tProp &comma after tAttributeFilter ELSE IF tProp is among the items of "face,size,color,bgcolor,lang" THEN put tProp &comma after tFontFilter ELSE IF tProp is among the items of "img,a" THEN put tProp & comma after tInlineFilter END IF END REPEAT --> PROCESS REPEAT forever --> OK, I TRIED USING MATCHCHUNK WITH THIS BUT IT WAS A GAZILLION TIMES SLOWER put offset(" 0 THEN put offset(">", pHTML, tSkip + tOffset1) into tOffset2 -- > GET CLOSING TAG --> LOOP THROUGH PROPS AND ERASE REPEAT for each item tProp in tFontFilter put offset(space & tProp & "=" & quote, pHTML, tSkip + tOffset1) into tStart IF tStart > 0 AND tSkip + tOffset1 + tStart < tSkip + tOffset1 + tOffset2 THEN --> ONLY LOOK FOR PROPS IN CURRENT FONT TAG get tSkip + tOffset1 + tStart + length(tProp) + 2 put offset(quote, pHTML, it) into tEnd IF tEnd > 0 THEN put tSkip + tStart + tOffset1 & comma & it + tEnd & cr after tDeleteChars END IF END IF END REPEAT --> NOW MOVE BACKWARDS THROUGH LIST AND DELETE REPEAT with i = the number of lines of tDeleteChars down to 1 delete char (item 1 of line i of tDeleteChars) to (item 2 of line i of tDeleteChars) of pHTML END REPEAT put empty into tDeleteChars ELSE exit REPEAT END IF add tOffset1 + 4 to tSkip END REPEAT REPEAT for each item tProp in tAttributeFilter replace "<"&tProp&">" with empty in pHTML replace "" with empty in pHTML END REPEAT REPEAT for each item tProp in tInlineFilter REPEAT forever put offset("<"&tProp, pHTML) into tStart IF tStart > 0 THEN put offset(">", pHTML, tStart) into tEnd IF tEnd > 0 THEN delete char tStart to (tStart+tEnd) of pHTML ELSE exit REPEAT END IF ELSE exit REPEAT END IF END REPEAT END REPEAT IF "a" is among the items of tInlineFilter THEN replace "" with empty in pHTML END IF --> REMOVE ANY LONELY TAGS REPEAT forever put offset("", pHTML) into tStart IF tStart > 0 THEN put offset("", pHTML, tStart) into tEnd IF tEnd > 0 THEN delete char tStart+tEnd to tStart+tEnd+6 of pHTML delete char tStart to tStart+5 of pHTML ELSE exit REPEAT END IF ELSE exit REPEAT END IF END REPEAT --> REMOVE TRAILING RETURNS IF pStripTrailingCR THEN REPEAT forever IF char -8 to -1 of pHTML is cr&"

" THEN delete char -8 to -1 of pHTML ELSE exit REPEAT END IF END REPEAT END IF return pHTML END str_stripHTML From chipp at chipp.com Fri Jan 26 16:01:02 2007 From: chipp at chipp.com (Chipp Walters) Date: Fri, 26 Jan 2007 15:01:02 -0600 Subject: Anyone got one of these? In-Reply-To: <71C1ADB6-9A5C-4123-B993-A808802E8737@mangomultimedia.com> References: <7aa52a210701261056j468320eas19c648f94ada47be@mail.gmail.com> <71C1ADB6-9A5C-4123-B993-A808802E8737@mangomultimedia.com> Message-ID: <7aa52a210701261301na621b68r7cbffc4980448c39@mail.gmail.com> Thanks both Ken and Trevor...I'll take a look at these. :-) From pevensen at siboneylg.com Fri Jan 26 16:05:29 2007 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Fri, 26 Jan 2007 15:05:29 -0600 Subject: Anyone got one of these? In-Reply-To: <20070126133122169333.fe30ab60@sonsothunder.com> References: <7aa52a210701261056j468320eas19c648f94ada47be@mail.gmail.com> <20070126133122169333.fe30ab60@sonsothunder.com> Message-ID: <6.2.1.2.2.20070126150415.0feb1310@exchange.slg.com> I use a field to strip my HTML. I just put it in the htmlText of a hidden field and then get the text of that filed and all HTML tags are conveniently gone... That doesn't help Chipp, but is a short two-liner replacement for Ken's algorithm. At 01:31 PM 1/26/2007, you wrote: >On Fri, 26 Jan 2007 12:56:36 -0600, Chipp Walters wrote: > > > function stripAllTagsBut pHtml,pTagsList > > --> pTagsList IS A LIST OF TAGS NOT TO EXCLUDE FROM PARSING > > --> EX. LINE 1 OF pTagsList CAN BE "img" AND LINE 2 CAN BE "b", etc.. > > > > > > It's used to strip all tags from HTML but those in the pTagsList parameter. > > > > IOW, it can be used to grab the HTML of a page, and strip everything > but the > > img tags. > > > > I'm starting to write it, but thought I'd ask-- just in case. > >Closest thing I have is: > >function stsStripHTML what > put replaceText(what,"(?si)","") into what > put replaceText(what,"(?si)","") into what > put replaceText(what,"<.*?>","") into what > put replaceText(what,tab,"") into what > put replaceText(what,CR & "{3,}","") into what > return what >end stsStripHTML > >But this strips all tags... > >Ken Ray >Sons of Thunder Software, Inc. >Email: kray at sonsothunder.com >Web Site: http://www.sonsothunder.com/ >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 From klaus at major-k.de Fri Jan 26 16:14:00 2007 From: klaus at major-k.de (Klaus Major) Date: Fri, 26 Jan 2007 22:14:00 +0100 (MET) Subject: Alt-things re-uploaded In-Reply-To: <3DD2D6EB-159F-4D8A-A6E6-820E837DE805@major-k.de> References: <45B90C33.9030205@hyperactivesw.com> <3DD2D6EB-159F-4D8A-A6E6-820E837DE805@major-k.de> Message-ID: <248A75F8-3927-4C49-905B-BE8EBFD4E833@major-k.de> Hi all, > ... > the altBrowser PDF docs on the web appear to be for the first > version of altBrowser > and not for the actual downloadable version 2 > > Example: > -> altBrowser does not support multiple instancing > Currently altBrowser does not support multiple instancing, and only > one altBrowser stack can be active at > a given time. This limitation is due to the fact the original > version had no need for multiple instancing, and > we haven't yet added support for it. If needed, please contact us > and we can discuss a customized > version for you. > > The latest version (altBrowser2) DOES support multiple instancing. > > Don't get me wrong, but as much as I appreciate the fact that we > can load these externals right now, > I do not think that RunRev does itself a favour in supplying this > half-baked solution. Sorry, I was completely wrong in the following sentence: > And I dont think that new users will completely understand why the > new loadable files (installers) show up as "Altuit" products. I got so used to the look of Chipps nice stacks and products that I immedialtey assumed this is "still" an "Altuit" product, just by the "not Rev- like" look of it. > ... Regards Klaus Major klaus at major-k.de http://www.major-k.de From JimAultWins at yahoo.com Fri Jan 26 16:20:39 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 26 Jan 2007 13:20:39 -0800 Subject: Anyone got one of these? In-Reply-To: <7aa52a210701261056j468320eas19c648f94ada47be@mail.gmail.com> Message-ID: On 1/26/07 10:56 AM, "Chipp Walters" wrote: > function stripAllTagsBut pHtml,pTagsList > --> pTagsList IS A LIST OF TAGS NOT TO EXCLUDE FROM PARSING > --> EX. LINE 1 OF pTagsList CAN BE "img" AND LINE 2 CAN BE "b", etc.. > It's used to strip all tags from HTML but those in the pTagsList parameter. > > IOW, it can be used to grab the HTML of a page, and strip everything but the > img tags. > Do you need them in the sequencial order? assuming Yes I would start with the idea of making the 'un-naughty bits' a list to be used in an optional repeat loop below, then --------------- start copy here --Short, fast, sweet. on test put fld 1 into htmlStr --assumes sorce is in fld 1 replace Null with empty in htmlStr --clean out --numtochar(3) works just as well replace cr with "?" in htmlStr --preserve --repeat for each tag you want to preserve replace "" repeat for each line LNN in (line 2 to -1 of htmlStr) put item 1 of LNN & null after newHtmlStr put item 2 of LNN & cr after newHtmlStr end repeat put newHtmlstr into line 2 to -1 of htmlStr --end repeat for each tag you want to preserve ------------- -- Now line 2 to last start with "img" and have a null char as the end tag -- You can strip all then restore the html by ------- --Now restore all the protected tags replace cr with "<" in htmlStr replace null with ">" in htmlStr replace "?" with cr in htmlStr put htmlStr into fld 2 end test -- although this last replace step may not make any sense since HTML pages don't use cr to format or delimit anything. This is very fast and protects/restores the targeted tags. Jim Ault Las Vegas From JimAultWins at yahoo.com Fri Jan 26 16:46:12 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 26 Jan 2007 13:46:12 -0800 Subject: Anyone got one of these? [correction-typo] In-Reply-To: Message-ID: Obviously > put item 2 of LNN & cr after newHtmlStr should be put item 2 to -1 of LNN & cr after newHtmlStr Jim On 1/26/07 1:20 PM, "Jim Ault" wrote: > On 1/26/07 10:56 AM, "Chipp Walters" wrote: > >> function stripAllTagsBut pHtml,pTagsList >> --> pTagsList IS A LIST OF TAGS NOT TO EXCLUDE FROM PARSING >> --> EX. LINE 1 OF pTagsList CAN BE "img" AND LINE 2 CAN BE "b", etc.. >> It's used to strip all tags from HTML but those in the pTagsList parameter. >> >> IOW, it can be used to grab the HTML of a page, and strip everything but the >> img tags. >> > Do you need them in the sequencial order? > assuming Yes > > I would start with the idea of making the 'un-naughty bits' a list to be > used in an optional repeat loop below, then > > --------------- start copy here > --Short, fast, sweet. > on test > put fld 1 into htmlStr --assumes sorce is in fld 1 > replace Null with empty in htmlStr --clean out > --numtochar(3) works just as well > replace cr with "?" in htmlStr --preserve > > --repeat for each tag you want to preserve > replace " > set the itemDel to ">" > repeat for each line LNN in (line 2 to -1 of htmlStr) > put item 1 of LNN & null after newHtmlStr > put item 2 of LNN & cr after newHtmlStr > end repeat > put newHtmlstr into line 2 to -1 of htmlStr > --end repeat for each tag you want to preserve > ------------- > -- Now line 2 to last start with "img" and have a null char as the end > tag > -- You can strip all then restore the html by > ------- > --Now restore all the protected tags > replace cr with "<" in htmlStr > replace null with ">" in htmlStr > replace "?" with cr in htmlStr > put htmlStr into fld 2 > end test > > -- although this last replace step may not make any sense since HTML pages > don't use cr to format or delimit anything. > > This is very fast and protects/restores the targeted tags. > > Jim Ault > Las Vegas > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lists at mangomultimedia.com Fri Jan 26 16:51:02 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 26 Jan 2007 13:51:02 -0800 Subject: Anyone got one of these? In-Reply-To: <71C1ADB6-9A5C-4123-B993-A808802E8737@mangomultimedia.com> References: <7aa52a210701261056j468320eas19c648f94ada47be@mail.gmail.com> <71C1ADB6-9A5C-4123-B993-A808802E8737@mangomultimedia.com> Message-ID: On Jan 26, 2007, at 12:13 PM, Trevor DeVore wrote: > Well, I have one I've been working on that takes a list of things > to strip. You could modify it to fit your needs maybe. The first > version was much more compact and use matchText. Then I stress > tested it and it was slooooow and I had to call it quite often and > with large amounts of text. So I came up with the attached version. Chipp - One thing I should point out about my version. One of the requirements was being able to strip out attributes of the font tag such as color, size or lang but maintain the other attributes. It then strips out any font tags that just have (because all attributes were stripped). The code might be overkill for what you are trying to do. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From janschenkel at yahoo.com Fri Jan 26 17:02:22 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 26 Jan 2007 14:02:22 -0800 (PST) Subject: XML & memory use/release In-Reply-To: <79d1bee70701240421h1d338d07w661ce839f7c28cb9@mail.gmail.com> Message-ID: <93688.47407.qm@web60514.mail.yahoo.com> --- Martin Blackman wrote: > Dear listfolks, > > I've noticed that creating an xml tree from a file > using > 'revcreatexmltree' can take up anything from 15 to > 30 times the size > of the file on disk in memory. Does that sound like > Rev is doing > anything peculiar to those with more understanding > of the underlying > behaviour ? > > I need to deal with some reasonably large files and > so need to > consider ways to avoid changing the user's computer > into treacle. ( > I've been able to grind my 512MB laptop practically > to standstill but > my desktop seems to manage OK even when its physical > memory available > is very low) > > [snip] > > Any thoughts ? > Many thanks > Martin Blackman > Hi Martin, If you're handling huge XML files and don't actually need to manipulate the data in the DOM tree (Document Object Model), you could use the SAX approach (Simple API for XML). Rather than going through the entire file and building up a huge tree structure in memory, SAX parsers send messages as they traverse the XML text. Messages are sent at the start and end of the parsing process, as well as at the start abnd end of a tag, and the element data. So if you're just pulling information out of an XML file, SAX parsers can save you a lot of memory. In Revolution, you'll use a variation on the 'revCreateXMLTreeFromFile' function and trap the 'revXMLStartTree', 'revStartXMLNode', 'revStartXMLData', 'revEndXMLNode' and 'revXMLEndTree' messages. See the dictionary for more information on the peculiarities of these messages. In a nutshell, when you pass 'true' as the final parameter of the 'revCreateXMLTreeFromFile' function, the above collection of messages will be sent to the current card as it parses the XML structure. I recently made a little stack that uses this approach to 'pretty print' XML files that were produced by another app and weren't meant for human consumption. You can download this as a sample stack at the following URL: For those who just want the script, here's what I put in the card script: ## on PrettyPrint pFilePath get revCreateXMLTreeFromFile(pFilePath,false,false,true) end PrettyPrint on DisplayStatus pStatus put pStatus into field "fCurrentMessage" end DisplayStatus -- local sCurrentDepth on revXMLStartTree DisplayStatus "revXMLStartTree" put "" into field "fPrettyPrint" put 0 into sCurrentDepth end revXMLStartTree on revXMLEndTree DisplayStatus "revXMLEndTree" set the clipboardData["text"] to field "fPrettyPrint" answer "Done..." end revXMLEndTree on revStartXMLNode pNodeName, pAttributes DisplayStatus "revStartXMLNode" && pNodeName add 1 to sCurrentDepth if char -1 of field "fPrettyPrint" is not return then put return after field "fPrettyPrint" repeat with i = 2 to sCurrentDepth put " " after field "fPrettyPrint" end repeat put "<" & pNodeName after field "fPrettyPrint" repeat for each line tAttributeKVP in pAttributes put space & item 1 of tAttributeKVP & "=" after field "fPrettyPrint" put quote & item 2 to -1 of tAttributeKVP & quote after field "fPrettyPrint" end repeat put ">" & return after field "fPrettyPrint" end revStartXMLNode on revEndXMLNode pNodeName DisplayStatus "revEndXMLNode" && pNodeName then put return after field "fPrettyPrint" repeat with i = 2 to sCurrentDepth put " " after field "fPrettyPrint" end repeat put "" after field "fPrettyPrint" subtract 1 from sCurrentDepth end revEndXMLNode on revStartXMLData pElementData DisplayStatus "revStartXMLData" && pElementData put word 1 to -1 of pElementData after field "fPrettyPrint" end revStartXMLData ## Hope this helped, Jan Schenkel. Quartam Reports for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com From sarah.reichelt at gmail.com Fri Jan 26 17:54:57 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 27 Jan 2007 08:54:57 +1000 Subject: A wondeful tool: A little cumpliment on MagicCarpet In-Reply-To: <2C445B3F-3641-47CD-841A-31F1DEBDD055@mac.com> References: <2C445B3F-3641-47CD-841A-31F1DEBDD055@mac.com> Message-ID: I would like to add my appreciation for Magic Carpet. When updating a crucial app, the knowledge that you have all your old stacks saved and annotated so you can easily revert is just priceless. Thanks Chipp. Sarah On 1/26/07, Andre Garzia wrote: > Hi folks, > > as many people in here know, I've lost my HD with all my tools and > stacks. During the last weeks, most of my work was trying to make my > old G4 iBook into a development machine since I had erased it and > allowed my mom to use it as a desktop. > > I remember when I first saw Altuits MagicCarpet program, it was > during RMS in Monterey, I was amazed. Finally a version control > system that was sane! I always hated CVS and I am not into > subversion. I became a heavy user of MagicCarpet when I started > working with the fine monks of Kauai Aadheenam. All our work is > inside MagicCarpet, lots of projects and files. And we never lost a > file even when doing rollbacks and stuff. Sometime ago, I migrated > most of my code to my own MagicCarpet repository on my server > somewhere in Texas, I moved things there as a backup and also so I > could work away from my computer, for example, using an U3 thumbdrive > at the university. > > My machine is still at apple, now waiting replacement cdrom drive > before they try to see if the HD is recoverable or not (I won't allow > them to replace that HD) but most of my work is safe. I was just a > matter of reinstalling Rev in the G4, copying my plugins and settings > from the thumbdrive and launching magiccarpet... couple hours later, > all my current source was back in here... > > The point is, If it was not MagicCarpet, then I would not be doing > backups of my stuff in remote servers. MagicCarpet has it all: > * it works accross networks, volumes, FTP, HTTP. > * It has a simple interface with simple useful options, very easy to > learn. > * It works from inside Revolution IDE, no tedious task of using an > external program. Your topstack is a button away from remote backup. > > Chipp, Chris and Altuit have given us so many wonderful tools during > the last years, I make daily use of many of them, altBrowser, > altSQLite3, MagicCarpet, altSplash. > > This is just a simple thank you message from a very pleased user and > also a notice for readers here that don't know about MagicCarpet to > take a look into it. It's a very nice tool and can save lots of > screams and cries on your side. It also is very pleasant to work in > teams. > > http://www.altuit.com/webs/altuit2/MagicCarpetCover/default.htm > > Cheers > andre > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarah.reichelt at gmail.com Fri Jan 26 17:57:18 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 27 Jan 2007 08:57:18 +1000 Subject: Windows Standalone Problem Still Persist In-Reply-To: References: Message-ID: > Despite the number of suggestions that I received from the Rev > community, I still have been unable to resolve a problem with my > Windows Standalone. The background is white, which is what I want but > a little bit of text is visible. The text that is visible is some of > the label text. I have changed the size of the text entry fields, > size of the Arial font used throughout the program, turning Clear- > Type on, using a script suggested by Roger Eller. Only one button, > which was created with ButtonGadget2 is visible. I also checked the > color ink and visibility. > > I made a sample app with entry field boxes and buttons using both > Arial and Tacona fonts and made a Windows Standalone without any > problems with the appearance. > > I am using the latest version of Parallels (build 2130) to run my > project on. I am using OS X 10.4.8 and Rev. 2.7.4. Any more > suggestions? I wonder is this a Parallels problem rather than a Windows problem? If you want to send me the app, I'll test it on a real Windows box and see what happens. Cheers, Sarah From cszasz at mac.com Fri Jan 26 18:21:18 2007 From: cszasz at mac.com (Charles Szasz) Date: Fri, 26 Jan 2007 18:21:18 -0500 Subject: Icons question Message-ID: In the Standalone Application settings, what size icons do you for the Application Icon and Document Icon for the following platforms? Mac OSX (Universal only) Mac OX (Power PC only) Mac OS (Intel Only) Windows And what size icons for display on ask and answer dialogs for the Macintosh? Charles Szasz cszasz at mac.com From cszasz at mac.com Fri Jan 26 18:31:34 2007 From: cszasz at mac.com (Charles Szasz) Date: Fri, 26 Jan 2007 18:31:34 -0500 Subject: Standalone Problem Stills Persists - Resolved! Message-ID: I had the background color set to white in my stack. When I cleared it it did not correct the problem.. I did resolve my problem by making a new stack and making new cards and copying the controls and scripts from the original stack to the new one. The Windows now display text the way it is supposed to. Despite checking all of the settings, I still don't what happened here! But in any case, I suggest that you NOT change the background color in the stack or cards. I had changed it to make it easier to print. Now I will use a script to change it to white when printing and change back to normal when the printing is completed. Thanks to everyone for their suggestions and help! Charles Szasz cszasz at mac.com From sarah.reichelt at gmail.com Fri Jan 26 18:50:46 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 27 Jan 2007 09:50:46 +1000 Subject: Icons question In-Reply-To: References: Message-ID: On 1/27/07, Charles Szasz wrote: > In the Standalone Application settings, what size icons do you for > the Application Icon and Document Icon for the following platforms? > Mac OSX (Universal only) > Mac OX (Power PC only) > Mac OS (Intel Only) > Windows I use Iconographer which is a Mac program that can make icons for Mac (UB, PPC or Intel) and Windows from a 128 x 128 image. The answer & ask dialogs need smaller icons. If you look up gRevIcon (I think that's what it's called) in the docs it will say the required size. Cheers, Sarah From revolution at derbrill.de Fri Jan 26 19:05:42 2007 From: revolution at derbrill.de (Malte Brill) Date: Sat, 27 Jan 2007 01:05:42 +0100 (MET) Subject: [fun] Valid rev syntax. The silly scripts thread. In-Reply-To: <20061207125101.998B34890F6@mail.runrev.com> References: <20061207125101.998B34890F6@mail.runrev.com> Message-ID: <8074D690-6615-48FC-B31B-8CDE938CAC09@derbrill.de> Thanks for putting a smile on my face. I really appreciate it. All the best, Malte From bridgeyman at gmail.com Fri Jan 26 20:03:05 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Fri, 26 Jan 2007 18:03:05 -0700 Subject: [fun] Valid rev syntax. The silly scripts thread. In-Reply-To: <63927498-E579-4A19-85CE-63BAEA603339@derbrill.de> References: <20061207180005.223974891A8@mail.runrev.com> <63927498-E579-4A19-85CE-63BAEA603339@derbrill.de> Message-ID: <86ae76bb0701261703m399cf968n884dcc89fa61f6e4@mail.gmail.com> This silly script actually has a story to go along with it. It was a very frustrating day for programming. Bugs were absolutely everywhere. There was one handler that was particularly troublesome that I kept modifying, but it would inevitably crash the program and cause me to lose all my work since the last save. I was growing more frustrated, and decided to put a script in the handler to make sure that the stack saved each time it ran. Because the script was in the stack the handler looked like this: save me Wow, talk about a high-level language. This particular line of Transcript sounded exactly like my thoughts at the time. TTFN Bridger Maxwell Christa McAuliffe Space Education Center From palcibiades-first at yahoo.co.uk Sat Jan 27 03:25:42 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 27 Jan 2007 08:25:42 +0000 Subject: Alt-things re-uploaded, more In-Reply-To: <45BA5130.5040200@hyperactivesw.com> References: <45B90C33.9030205@hyperactivesw.com> <200701260917.35075.palcibiades-first@yahoo.co.uk> <45BA5130.5040200@hyperactivesw.com> Message-ID: <200701270825.42266.palcibiades-first@yahoo.co.uk> OK, did all this to the best of my ability. 1) Put the downloaded file into an Externals folder in the top level Rev folder. The file is SQLite3Demo-1.rev. Is this what it should be? Its what there was to download. 2) Start up Rev, new mainstack. 3) set externals of the stack to the file in one of two ways, either in the message box by command, or using the stack properties inspector browsing to the location. Result is the same. For completeness the command used was set the external of this stack to /home/peter/Desktop/Revolution-2.6.1/SQLite3Demo-1.rev but the other way using the properties inspector was just to navigate to it and click on it and open. 4) Save the stack 5) Close it and purge from memory 6) Re-open it. There is a perceptible delay on opening. About 4 or 5 seconds. After which the stack opens just as it did when first created. Subsequent openings do not have this delay. 7) Check in the stack properties inspector. Yes, the external file is still selected. 8) Try, using the multiline message box get the externalCommands of this stack put it (also tried it with functions and packages) Nothing. Presumably at some point there should be an opportunity to use the name and password Rev supplies on the download site? At one point in all the googling to try to make this work, I came on a demo screen. Presumably at some point this should come up. How? I am sorry to plague the list with what may be very elementary queries. However, the zero documentation policy leaves one no other place to turn. It cannot be sensible. I also still do wonder whether anyone has ever made this stuff work on Linux. There was no reply to the question last time, which was interesting. Peter On Friday 26 January 2007 19:06, J. Landman Gay wrote: > The generic instructions for working with externals: > > 1. Open the stack that will use the external. Set its externals property > to the relative path of the external file on disk: > > ? ?set the externals of this stack to "/path/to/external/file" > > 2. Save the stack. Close the stack and remove it from memory. This is > the important step. > > 3. Reopen the stack. If your path is correct, the external will load. > Now you can use it in scripts. From runrev260805 at m-r-d.de Sat Jan 27 05:30:14 2007 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Sat, 27 Jan 2007 10:30:14 +0000 Subject: Re-2: Alt-things re-uploaded, more Message-ID: Hi, the SQLite3Demo-1.rev is not the external. You have to run the SQLLite3Demo-1.rev. From that app you can update/install the external and run the demo. This apps downloads the external from runrev and puts it into the folder "Database Drivers" within the folder "externals. -------- Original Message -------- Subject: Re: Alt-things re-uploaded, more (27-Jan-2007 9:31) From: Peter Alcibiades To: runrev260805 at m-r-d.de > OK, did all this to the best of my ability. > > 1) Put the downloaded file into an Externals folder in the top level Rev > folder. The file is SQLite3Demo-1.rev. Is this what it should be? Its > what > there was to download. > > 2) Start up Rev, new mainstack. > > 3) set externals of the stack to the file in one of two ways, either in > the > message box by command, or using the stack properties inspector browsing to > > the location. Result is the same. For completeness the command used was > > set the external of this stack > to /home/peter/Desktop/Revolution-2.6.1/SQLite3Demo-1.rev > > but the other way using the properties inspector was just to navigate to it > > and click on it and open. > > 4) Save the stack > > 5) Close it and purge from memory > > 6) Re-open it. > > There is a perceptible delay on opening. About 4 or 5 seconds. After > which > the stack opens just as it did when first created. Subsequent openings do > not have this delay. > > 7) Check in the stack properties inspector. Yes, the external file is > still > selected. > > 8) Try, using the multiline message box > > get the externalCommands of this stack > put it > > (also tried it with functions and packages) > > Nothing. > > Presumably at some point there should be an opportunity to use the name and > > password Rev supplies on the download site? At one point in all the > googling > to try to make this work, I came on a demo screen. Presumably at some > point > this should come up. How? > > I am sorry to plague the list with what may be very elementary queries. > However, the zero documentation policy leaves one no other place to turn. > It > cannot be sensible. I also still do wonder whether anyone has ever made > this stuff work on Linux. There was no reply to the question last time, > which was interesting. > > > Peter > > > > > On Friday 26 January 2007 19:06, J. Landman Gay wrote: > > The generic instructions for working with externals: > > > > 1. Open the stack that will use the external. Set its externals property > > to the relative path of the external file on disk: > > > > ? ?set the externals of this stack to "/path/to/external/file" > > > > 2. Save the stack. Close the stack and remove it from memory. This is > > the important step. > > > > 3. Reopen the stack. If your path is correct, the external will load. > > Now you can use it in scripts. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > To: use-revolution at lists.runrev.com From palcibiades-first at yahoo.co.uk Sat Jan 27 07:15:10 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 27 Jan 2007 12:15:10 +0000 Subject: Re-2: Alt-things re-uploaded, more Message-ID: <200701271215.10695.palcibiades-first@yahoo.co.uk> No, it doesn't work. The file will not open from within Rev. The file will not run as a shell script. Yes, I have set it to executable, and yes I have tried as root and as root in root's environment. Is this possibly due to the install being 64bit Linux? I will have a go on a 32 bit installation later today. Is there a direct link to the needed files? Or can they be emailed over? Peter > > the SQLite3Demo-1.rev is not the external. > You have to run the SQLLite3Demo-1.rev. From that app you can > update/install the external and run the demo. This apps downloads the > external from runrev and puts it into the folder "Database Drivers" within > the folder "externals. From palcibiades-first at yahoo.co.uk Sat Jan 27 07:59:07 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 27 Jan 2007 12:59:07 +0000 Subject: Re-2: Alt-things re-uploaded, more Message-ID: <200701271259.07599.palcibiades-first@yahoo.co.uk> Its not 32 vs 64 bit. Same exact message, unable to execute binary. Still on Debian Etch, but this one is 32bit on a laptop. Maybe I'm doing something wrong with invoking it? I just cd to the directory, which is the Externals directory I created in the Rev top level directory, and then do ./SQLite3Demo-1.rev the user is the owner, and permissions are set to allow execution. The directory structure by the way, in case it makes any difference, is not Revolution-2.6.1 Externals Database Drivers Its instead: Revolution-2.6.1 components global environment database drivers There was no Externals folder till I created one. Peter > > the SQLite3Demo-1.rev is not the external. > You have to run the SQLLite3Demo-1.rev. From that app you can > update/install the external and run the demo. This apps downloads the > external from runrev and puts it into the folder "Database Drivers" within > the folder "externals. From soapdog at mac.com Sat Jan 27 08:07:50 2007 From: soapdog at mac.com (Andre Garzia) Date: Sat, 27 Jan 2007 11:07:50 -0200 Subject: Re-2: Alt-things re-uploaded, more In-Reply-To: <200701271259.07599.palcibiades-first@yahoo.co.uk> References: <200701271259.07599.palcibiades-first@yahoo.co.uk> Message-ID: <0DB071E2-DD77-4B5B-B79D-3A6B3D2E300B@mac.com> Peter, go to your message box in rev and type: answer file "where's it?"; go stack it then select your SQLite3Demo.rev. I don't think the external will run on 64bit linux but I am not the one who built it to really express an opinion. On Jan 27, 2007, at 10:59 AM, Peter Alcibiades wrote: > Its not 32 vs 64 bit. Same exact message, unable to execute > binary. Still on > Debian Etch, but this one is 32bit on a laptop. > > Maybe I'm doing something wrong with invoking it? I just cd to the > directory, > which is the Externals directory I created in the Rev top level > directory, > and then do > > ./SQLite3Demo-1.rev > > the user is the owner, and permissions are set to allow execution. > > The directory structure by the way, in case it makes any > difference, is not > > Revolution-2.6.1 > Externals > Database Drivers > > Its instead: > > Revolution-2.6.1 > components > global environment > database drivers > > There was no Externals folder till I created one. > > Peter > >> >> the SQLite3Demo-1.rev is not the external. >> You have to run the SQLLite3Demo-1.rev. From that app you can >> update/install the external and run the demo. This apps downloads the >> external from runrev and puts it into the folder "Database >> Drivers" within >> the folder "externals. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Sat Jan 27 12:31:12 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 27 Jan 2007 11:31:12 -0600 Subject: Standalone Problem Stills Persists - Resolved! In-Reply-To: References: Message-ID: <45BB8C60.1000409@hyperactivesw.com> Charles Szasz wrote: > I had the background color set to white in my stack. When I cleared it > it did not correct the problem.. I did resolve my problem by making a > new stack and making new cards and copying the controls and scripts from > the original stack to the new one. The Windows now display text the way > it is supposed to. Despite checking all of the settings, I still don't > what happened here! But in any case, I suggest that you NOT change the > background color in the stack or cards. I had changed it to make it > easier to print. Now I will use a script to change it to white when > printing and change back to normal when the printing is completed. I don't think the backgroundcolor is the culprit. I routinely set that on almost every stack I make. Maybe you mean the textcolor? That would do it. Remember that textcolor is inherited, so even if the fields don't have textcolor set, they will inherit a color if it is set in the card or the stack. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Jan 27 12:43:29 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 27 Jan 2007 11:43:29 -0600 Subject: Alt-things re-uploaded, more In-Reply-To: <200701270825.42266.palcibiades-first@yahoo.co.uk> References: <45B90C33.9030205@hyperactivesw.com> <200701260917.35075.palcibiades-first@yahoo.co.uk> <45BA5130.5040200@hyperactivesw.com> <200701270825.42266.palcibiades-first@yahoo.co.uk> Message-ID: <45BB8F41.6070807@hyperactivesw.com> Peter Alcibiades wrote: > OK, did all this to the best of my ability. I got some more info yesterday. The stacks, as shipped, do not support Linux. I think you'll have to wait until these externals are integrated into the Rev distribution. For anyone else who is experimenting, it was pointed out to me that these are a preliminary release for people who don't mind a few rough edges and like to be on the cutting edge. They are not officially supported (which means no tech support) and were only offered as an advance preview. The externals will be more polished and integrated for the official release. So if you are having problems, probably the best thing is just to wait until they are integrated into the Rev distribution. If you like experimenting and want to try these out, the mailing list is the only avenue for help so don't feel shy about asking here. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Jan 27 12:48:43 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 27 Jan 2007 11:48:43 -0600 Subject: Icons question In-Reply-To: References: Message-ID: <45BB907B.2080806@hyperactivesw.com> Charles Szasz wrote: > In the Standalone Application settings, what size icons do you for the > Application Icon and Document Icon for the following platforms? > Mac OSX (Universal only) > Mac OX (Power PC only) > Mac OS (Intel Only) > Windows These all need to be created by a dedicated icon creation tool. There are countless numbers of shareware tools for Windows. All three Mac systems you list use the same type of icon set. There are fewer creation tools for Mac icons. Apple has a free one as part of its developer tools, Iconographer is an old one (there's a bug in it now but it may be suitable still) and Photoshop has a commercial plugin you can purchase. There may be other tools that will create these, try a web search. Once you find an icon-creation utility the sizes will become obvious, they will be listed in the utility or created automatically. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From palcibiades-first at yahoo.co.uk Sat Jan 27 14:17:34 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 27 Jan 2007 19:17:34 +0000 Subject: Re-2: Alt-things re-uploaded, more In-Reply-To: <0DB071E2-DD77-4B5B-B79D-3A6B3D2E300B@mac.com> References: <200701271259.07599.palcibiades-first@yahoo.co.uk> <0DB071E2-DD77-4B5B-B79D-3A6B3D2E300B@mac.com> Message-ID: <200701271917.34502.palcibiades-first@yahoo.co.uk> On Saturday 27 January 2007 13:07, Andre Garzia wrote: > Peter, > > go to your message box in rev and type: > > answer file "where's it?"; go stack it > > then select your SQLite3Demo.rev. > Andre, thanks for the suggestion, did this. The response is, not a stack. Which tallies with what Rev says, that it is a shell script and you have to run it to download the externals. And it looks like a shell script when you open it in Firefox instead of right clicking and downloading. But why in that case it will not run on either 32bit or 64 bit Debian is really a mystery. I will see if I can have a bash on a Mandriva machine later in the week, unless Rev support has any better ideas in the meantime? The thing I would like greatly to hear from Rev is something like the following: we went over to our machine running Debian, we did this....and it worked just fine. And this.....is how we knew it had worked fine. Peter From cszasz at mac.com Sat Jan 27 15:21:14 2007 From: cszasz at mac.com (Charles Szasz) Date: Sat, 27 Jan 2007 15:21:14 -0500 Subject: Standalone Problem Stills Persists - Resolved Message-ID: Sarah, The textcolor was never changed. I had check textcolor anyway to see if was changed by accident but it was not changed. Charles Szasz cszasz at mac.com From stephenREVOLUTION at barncard.com Sat Jan 27 21:33:18 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sat, 27 Jan 2007 18:33:18 -0800 Subject: Quicktime / player limits? In-Reply-To: References: Message-ID: I've created a player in rev that reads Quicktime movies from a web server. Rev 2.7.4, enterprise, Mac OS X latest. It works quite well, and I was happily in the process of making the tutorials, when the third, longer movie I made would seem to load without errors, but would not show. Is there a limit to the size of a QT movie that can be displayed? I can show a 3mb movie, but 4 and 5 mb movies don't show. Right now I'm just loading them right in via http: and the URL command. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From jacque at hyperactivesw.com Sat Jan 27 22:58:54 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 27 Jan 2007 21:58:54 -0600 Subject: Quicktime / player limits? In-Reply-To: References: Message-ID: <45BC1F7E.4080803@hyperactivesw.com> Stephen Barncard wrote: > I've created a player in rev that reads Quicktime movies from a web > server. Rev 2.7.4, enterprise, Mac OS X latest. > > It works quite well, and I was happily in the process of making the > tutorials, when the third, longer movie I made would seem to load > without errors, but would not show. > > Is there a limit to the size of a QT movie that can be displayed? I can > show a 3mb movie, but 4 and 5 mb movies don't show. > > Right now I'm just loading them right in via http: and the URL command. I've displayed 60 meg movies in a player object so I don't think there's a size limitation, but the movies I ran were saved to disk. Could it be there's not enough RAM? Or that it is taking a long time to download that much movie? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From martinblackman at gmail.com Sat Jan 27 23:45:12 2007 From: martinblackman at gmail.com (Martin Blackman) Date: Sun, 28 Jan 2007 13:45:12 +0900 Subject: XML & memory use/releas In-Reply-To: <93688.47407.qm@web60514.mail.yahoo.com> References: <79d1bee70701240421h1d338d07w661ce839f7c28cb9@mail.gmail.com> <93688.47407.qm@web60514.mail.yahoo.com> Message-ID: <79d1bee70701272045m133af8ebp477ad579d638709e@mail.gmail.com> Thanks a lot for that Jan, that may be the way for me to go. The prettyprint stack is nice, by the way, and I'm sure you're aware but for the benefit of any newbies the stack can be sped up a lot by putting everything into a global variable first before putting it into the field at the end. regards Martin On 27/01/07, Jan Schenkel wrote: > --- Martin Blackman wrote: > > Dear listfolks, > > > > I've noticed that creating an xml tree from a file > > using > > 'revcreatexmltree' can take up anything from 15 to > > 30 times the size > > of the file on disk in memory. Does that sound like > > Rev is doing > > anything peculiar to those with more understanding > > of the underlying > > behaviour ? > > > > I need to deal with some reasonably large files and > > so need to > > consider ways to avoid changing the user's computer > > into treacle. ( > > I've been able to grind my 512MB laptop practically > > to standstill but > > my desktop seems to manage OK even when its physical > > memory available > > is very low) > > > > [snip] > > > > Any thoughts ? > > Many thanks > > Martin Blackman > > > > Hi Martin, > > If you're handling huge XML files and don't actually > need to manipulate the data in the DOM tree (Document > Object Model), you could use the SAX approach (Simple > API for XML). > Rather than going through the entire file and building > up a huge tree structure in memory, SAX parsers send > messages as they traverse the XML text. Messages are > sent at the start and end of the parsing process, as > well as at the start abnd end of a tag, and the > element data. > So if you're just pulling information out of an XML > file, SAX parsers can save you a lot of memory. > > In Revolution, you'll use a variation on the > 'revCreateXMLTreeFromFile' function and trap the > 'revXMLStartTree', 'revStartXMLNode', > 'revStartXMLData', 'revEndXMLNode' and 'revXMLEndTree' > messages. > See the dictionary for more information on the > peculiarities of these messages. In a nutshell, when > you pass 'true' as the final parameter of the > 'revCreateXMLTreeFromFile' function, the above > collection of messages will be sent to the current > card as it parses the XML structure. > > I recently made a little stack that uses this approach > to 'pretty print' XML files that were produced by > another app and weren't meant for human consumption. > You can download this as a sample stack at the > following URL: > > > For those who just want the script, here's what I put > in the card script: > ## > on PrettyPrint pFilePath > get > revCreateXMLTreeFromFile(pFilePath,false,false,true) > end PrettyPrint > > on DisplayStatus pStatus > put pStatus into field "fCurrentMessage" > end DisplayStatus > > -- > > local sCurrentDepth > > on revXMLStartTree > DisplayStatus "revXMLStartTree" > put "" into field > "fPrettyPrint" > put 0 into sCurrentDepth > end revXMLStartTree > > on revXMLEndTree > DisplayStatus "revXMLEndTree" > set the clipboardData["text"] to field > "fPrettyPrint" > answer "Done..." > end revXMLEndTree > > on revStartXMLNode pNodeName, pAttributes > DisplayStatus "revStartXMLNode" && pNodeName > add 1 to sCurrentDepth > if char -1 of field "fPrettyPrint" is not return > then put return after field "fPrettyPrint" > repeat with i = 2 to sCurrentDepth > put " " after field "fPrettyPrint" > end repeat > put "<" & pNodeName after field "fPrettyPrint" > repeat for each line tAttributeKVP in pAttributes > put space & item 1 of tAttributeKVP & "=" after > field "fPrettyPrint" > put quote & item 2 to -1 of tAttributeKVP & quote > after field "fPrettyPrint" > end repeat > put ">" & return after field "fPrettyPrint" > end revStartXMLNode > > on revEndXMLNode pNodeName > DisplayStatus "revEndXMLNode" && pNodeName > > then put return after field "fPrettyPrint" > repeat with i = 2 to sCurrentDepth > put " " after field "fPrettyPrint" > end repeat > put "" after field > "fPrettyPrint" > subtract 1 from sCurrentDepth > end revEndXMLNode > > on revStartXMLData pElementData > DisplayStatus "revStartXMLData" && pElementData > put word 1 to -1 of pElementData after field > "fPrettyPrint" > end revStartXMLData > ## > > Hope this helped, > > Jan Schenkel. > > Quartam Reports for Revolution > > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) > > > > ____________________________________________________________________________________ > Do you Yahoo!? > Everyone is raving about the all-new Yahoo! Mail beta. > http://new.mail.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From martinblackman at gmail.com Sun Jan 28 00:02:22 2007 From: martinblackman at gmail.com (Martin Blackman) Date: Sun, 28 Jan 2007 14:02:22 +0900 Subject: Popup Menus on Windows vs. Mac In-Reply-To: References: Message-ID: <79d1bee70701272102j5eb6fanb0841a8aa19fa12e@mail.gmail.com> I don't get that behaviour on Windows, maybe check that the button menumode is 'popup'. On 25/01/07, kevin wrote: > Hi All - > > I am using the "popup button" command to open a menu and on Windows you > have to keep the mouse held down in order to select from the menu that > "pops up". On the Mac, you only need to click the button generating the > popup once and may then select from the menu without the need to keep > the mouse held down. Just wondering if there is a way to replicate this > behavior on Windows? > > Cheers, > > Kevin > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From list at dreamscapesoftware.com Sun Jan 28 00:50:38 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Sat, 27 Jan 2007 23:50:38 -0600 Subject: does working with URL's slow down the engine? Message-ID: <45BC39AE.1030207@dreamscapesoftware.com> Has anyone noticed a slowdown in message passing after a get/put URL command has been issued? If so, does anyone know how to resolve the slowdown? I've got a "buildtree" handler that uses message passing to build a directory tree. I've noticed through testing that it can parse a 20 Gig hard drive in under a second, as long as no get/put URL commands have been issued. If any have been issued, the "buildtree" handler takes forever (like 1 or 2 minutes). I have an example if anyone can confirm this for me (or tell me what's wrong)... http://www.dreamscapesoftware.com/buildtree.rev This is happening on Revolution Studio 2.7.4 on Windows XP Home Edition (Service Pack 2). Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ From list at dreamscapesoftware.com Sun Jan 28 01:00:31 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Sun, 28 Jan 2007 00:00:31 -0600 Subject: does working with URL's slow down the engine? In-Reply-To: <45BC39AE.1030207@dreamscapesoftware.com> References: <45BC39AE.1030207@dreamscapesoftware.com> Message-ID: <45BC3BFF.2060104@dreamscapesoftware.com> Why is it that you find the answer to a problem ONLY after you tell the world you can't figure it out?!! Disregard this thread as I have figured out the problem. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ Derek Bump wrote: > Has anyone noticed a slowdown in message passing after a get/put URL > command has been issued? If so, does anyone know how to resolve the > slowdown? > > I've got a "buildtree" handler that uses message passing to build a > directory tree. I've noticed through testing that it can parse a 20 Gig > hard drive in under a second, as long as no get/put URL commands have > been issued. If any have been issued, the "buildtree" handler takes > forever (like 1 or 2 minutes). > > I have an example if anyone can confirm this for me (or tell me what's > wrong)... > > http://www.dreamscapesoftware.com/buildtree.rev > > This is happening on Revolution Studio 2.7.4 on Windows XP Home Edition > (Service Pack 2). > > > Derek Bump > Dreamscape Software > http://www.dreamscapesoftware.com/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From stephenREVOLUTION at barncard.com Sun Jan 28 02:16:51 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sat, 27 Jan 2007 23:16:51 -0800 Subject: Quicktime / player limits? In-Reply-To: <45BC1F7E.4080803@hyperactivesw.com> References: <45BC1F7E.4080803@hyperactivesw.com> Message-ID: Hi Jacque, no, tons of ram (2 gigs, 4 apps running, and the download time difference between 3 and 5 mb is negligible on a 6mbs cable modem. other interesting developments: alwaysbuffer set to true does not seem to improve things. setting the alwaysbuffer to true also seems to lock out mouseclicks on the controller. stopping and starting can then only be accomplished with the spacebar in this mode, play/pause and forward/reverse are disabled. I got the video to stream from a real quicktime streaming server, and it worked. However, it did not automatically size to its proper height and width as it does using a http or local file reference, but instead shrunk to the default size. In that case it appears one must know the dimensions in advance. > >I've displayed 60 meg movies in a player object so I don't think >there's a size limitation, but the movies I ran were saved to disk. >Could it be there's not enough RAM? Or that it is taking a long time >to download that much movie? > >-- >Jacqueline Landman Gay | jacque at hyperactivesw.com > >Stephen Barncard wrote: >>I've created a player in rev that reads Quicktime movies from a web >>server. Rev 2.7.4, enterprise, Mac OS X latest. >> >>It works quite well, and I was happily in the process of making the >>tutorials, when the third, longer movie I made would seem to load >>without errors, but would not show. >> >>Is there a limit to the size of a QT movie that can be displayed? I >>can show a 3mb movie, but 4 and 5 mb movies don't show. >> >>Right now I'm just loading them right in via http: and the URL command. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From psahores at free.fr Sun Jan 28 08:12:44 2007 From: psahores at free.fr (Pierre Sahores) Date: Sun, 28 Jan 2007 14:12:44 +0100 Subject: Quicktime / player limits? In-Reply-To: References: Message-ID: <6989EC9D-1ED3-4C8F-A513-2D84F086D279@free.fr> Hi, No limit in streaming mode (DSS 5 server). Don't know about downloading mode. Hope this help, Best Regards, Le 28 janv. 07 ? 03:33, Stephen Barncard a ?crit : > I've created a player in rev that reads Quicktime movies from a web > server. Rev 2.7.4, enterprise, Mac OS X latest. > > It works quite well, and I was happily in the process of making the > tutorials, when the third, longer movie I made would seem to load > without errors, but would not show. > > Is there a limit to the size of a QT movie that can be displayed? I > can show a 3mb movie, but 4 and 5 mb movies don't show. > > Right now I'm just loading them right in via http: and the URL > command. > -- > > > stephen barncard > s a n f r a n c i s c o > - - - - - - - - - - - - > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Pierre Sahores www.sahores-conseil.com From LunchnMeets at aol.com Sun Jan 28 08:55:19 2007 From: LunchnMeets at aol.com (LunchnMeets at aol.com) Date: Sun, 28 Jan 2007 08:55:19 EST Subject: Format Message-ID: Hi Everyone, Is it possible to use the format command to change: 2125551212 into (212) 555-1212 Thanks in advance for your continuing help. Joe Orlando, Florida From mark at maseurope.net Sun Jan 28 10:41:07 2007 From: mark at maseurope.net (Mark Smith) Date: Sun, 28 Jan 2007 15:41:07 +0000 Subject: Format In-Reply-To: References: Message-ID: <07BB6D01-B4A7-45D8-B5DF-8084B2B99934@maseurope.net> I don't think format will do this, but it shouldn't be too hard to write a function to do it, if you're sure the numbers will be consistently 10 digits. function formatAsPhoneNumber pNumber put "(" & char 1 to 3 of pNumber & ")" & space into tFormattedNumber put char 4 to 6 of pNumber & "-" & char 7 to 10 of pNumber after tFormattedNumber return tFormattedNumber end formatAsPhoneNumber Best, Mark On 28 Jan 2007, at 13:55, LunchnMeets at aol.com wrote: > Hi Everyone, > > Is it possible to use the format command to change: > > 2125551212 > > into > > (212) 555-1212 > > Thanks in advance for your continuing help. > > Joe > Orlando, Florida > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION at barncard.com Sun Jan 28 10:43:59 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sun, 28 Jan 2007 07:43:59 -0800 Subject: Quicktime / player limits? In-Reply-To: <6989EC9D-1ED3-4C8F-A513-2D84F086D279@free.fr> References: <6989EC9D-1ED3-4C8F-A513-2D84F086D279@free.fr> Message-ID: Pierre, how do you determine the rect of the player when playing a stream if the rect of the particular file is not known? >Hi, > >No limit in streaming mode (DSS 5 server). Don't know about downloading mode. > >Hope this help, > >Best Regards, > >Le 28 janv. 07 ? 03:33, Stephen Barncard a ?crit : > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From psahores at free.fr Sun Jan 28 11:17:09 2007 From: psahores at free.fr (Pierre Sahores) Date: Sun, 28 Jan 2007 17:17:09 +0100 Subject: Quicktime / player limits? In-Reply-To: References: <6989EC9D-1ED3-4C8F-A513-2D84F086D279@free.fr> Message-ID: Hi Stephan, Just pick inside those prod state scripts what you need ;-) > on dofullscreen > lock screen > put the screenrect into eee > hide fld "userpanel" of stack "iStream" > set the rect of stack "iStream" to eee > subtract 20 from last item of eee > set the rect of player "mainplayer" to eee > set the showController of player "mainplayer" of stack "iStream" > to false > set the loc of player "mainplayer" of stack "istream" to the loc > of window "iStream" > hide menubar > set the backgroundcolor of this cd to "black" > unlock screen > end dofullscreen > > > > on dofullscreen2 > lock screen > put the screenrect into eee > hide fld "userpanel" of stack "iStream" > set the rect of stack "iStream" to eee > show graphic "graphic1" > subtract (last item of eee div 2.4) from last item of eee > set the rect of player "mainplayer" to eee > set the showController of player "mainplayer" of stack "iStream" > to false > set the loc of player "mainplayer" of stack "istream" to the loc > of window "iStream" > hide menubar > set the backgroundcolor of this cd to "black" > unlock screen > end dofullscreen2 > > > > on doresizebtn > lock screen > set the backgroundcolor of this cd to "" > hide fld "userpanel" of stack "iStream" > set the left of player "mainplayer" of stack "iStream" to the > left of fld "commandpanel" of stack "iStream" > set the width of player "mainplayer" of stack "iStream" to -44 > +the width of window "istream" > set the top of player "mainplayer" of stack "iStream" to 20 > set the height of player "mainplayer" of stack "iStream" to -38 > +the height of window "istream" > set the showController of player "mainplayer" of stack "iStream" > to true > unlock screen > end doresizebtn > > > > on doresizeplayer > global StSzTemp > lock screen > set the backgroundcolor of this cd to "" > if the left of player "mainplayer" of stack "iStream" is not > "254" then > show menubar > set the rect of stack "istream" to the screenrect > set the loc of stack "istream" to the screenloc > set the top of window "istream" to 20 > set the height of window "istream" to -40+the height of window > "istream" > set the showController of player "mainplayer" of stack > "iStream" to true > set the left of player "mainplayer" of stack "iStream" to 254 > set the width of player "mainplayer" of stack "iStream" to -276 > +the width of window "istream" > set the top of player "mainplayer" of stack "iStream" to 84 > set the height of player "mainplayer" of stack "iStream" to > -46-60+the height of window "istream" > set the width of fld "userpanel" of stack "iStream" to the -44 > +width of window "istream" > hide graphic "graphic1" > show fld "userpanel" of stack "iStream" > revChangeWindowSize the width of stack "iStream", the height of > stack "iStream" > else if "mainplayer" is not in the target then > hide fld "userpanel" of stack "iStream" > set the left of player "mainplayer" of stack "iStream" to the > left of fld "commandpanel" of stack "iStream" > set the width of player "mainplayer" of stack "iStream" to -44 > +the width of window "istream" > set the top of player "mainplayer" of stack "iStream" to 20 > set the height of player "mainplayer" of stack "iStream" to -38 > +the height of window "istream" > end if > unlock screen > end doresizeplayer Best Regards, Le 28 janv. 07 ? 16:43, Stephen Barncard a ?crit : > Pierre, how do you determine the rect of the player when playing a > stream if the rect of the particular file is not known? > >> Hi, >> >> No limit in streaming mode (DSS 5 server). Don't know about >> downloading mode. >> >> Hope this help, >> >> Best Regards, >> >> Le 28 janv. 07 ? 03:33, Stephen Barncard a ?crit : >> > > -- > > > stephen barncard > s a n f r a n c i s c o > - - - - - - - - - - - - > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Pierre Sahores www.sahores-conseil.com From soapdog at mac.com Sun Jan 28 11:20:37 2007 From: soapdog at mac.com (Andre Garzia) Date: Sun, 28 Jan 2007 14:20:37 -0200 Subject: will libURL accept chunked responses? Message-ID: <63702448-FAFF-4D06-9652-431DD974F10C@mac.com> Folks, do anyone here know if libURL will accept chunked transfers and if it will process and concatenate them for me? Cheers andre From ludovic.thebault at laposte.net Sun Jan 28 11:27:36 2007 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Sun, 28 Jan 2007 17:27:36 +0100 Subject: HyperCard Flash effect Message-ID: <20070128172736585644.0f6f94bb@laposte.net> Hello With hypercard we could use the "Flash" command to have a "flashy effect" of the screen but this command doesn't exist on Rev. How simulate it ? Thanks Ludovic http://www.botanic06.com From stephenREVOLUTION at barncard.com Sun Jan 28 11:52:00 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sun, 28 Jan 2007 08:52:00 -0800 Subject: Quicktime / player limits? In-Reply-To: References: <6989EC9D-1ED3-4C8F-A513-2D84F086D279@free.fr> Message-ID: Thanks, Pierre however there seems to be a lot of resizing of elements, and I don't want the stack window to conform to the size of the movie - I have my own geometry that uses a static stack size and moves and centers the player. What I didn't get from your code and what I'm trying to figure out is how one obtains the native rect of a movie to assign the player when playing a stream from that file from a QT server. In my case a 640x480 movie appears and plays in the small, default (connecting to stream) size. >Hi Stephan, > >Just pick inside those prod state scripts what you need ;-) > >>on dofullscreen >> lock screen >> put the screenrect into eee -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From mark at maseurope.net Sun Jan 28 12:16:07 2007 From: mark at maseurope.net (Mark Smith) Date: Sun, 28 Jan 2007 17:16:07 +0000 Subject: will libURL accept chunked responses? In-Reply-To: <63702448-FAFF-4D06-9652-431DD974F10C@mac.com> References: <63702448-FAFF-4D06-9652-431DD974F10C@mac.com> Message-ID: Andre, this is from a correspondence with Dave Cragg a while ago: > A quick answer. (I have to go out.) But, yes, liburl does handle > "chunked" transfer-encoding. It's commonly used, especially by CGI > and other "non-static html" responses. Best, Mark On 28 Jan 2007, at 16:20, Andre Garzia wrote: > Folks, > > do anyone here know if libURL will accept chunked transfers and if > it will process and concatenate them for me? > > Cheers > andre > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Sun Jan 28 12:17:39 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 28 Jan 2007 18:17:39 +0100 Subject: HyperCard Flash effect In-Reply-To: <20070128172736585644.0f6f94bb@laposte.net> References: <20070128172736585644.0f6f94bb@laposte.net> Message-ID: Hi Ludovic, You might export the screen to an image object in a hidden stack and use an ink to invert the image. Set the rect of the stack to the screenrect and the rect of the image to the rect of the card. Now show and hide the stack. Unfortunately, importing the image takes time. If the delay is too big, e.g. on slow computers, this trick may not be feasible. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 28-jan-2007, om 17:27 heeft Ludovic Th?bault het volgende geschreven: > Hello > > With hypercard we could use the "Flash" command to have a "flashy > effect" of the screen > but this command doesn't exist on Rev. > How simulate it ? > > Thanks > > Ludovic > http://www.botanic06.com From geradamas at yahoo.com Sun Jan 28 12:25:48 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sun, 28 Jan 2007 17:25:48 +0000 (GMT) Subject: HyperCard Flash effect Message-ID: <20070128172548.79233.qmail@web37502.mail.mud.yahoo.com> The "Quick, Lazy, Richmond Way" - not the HyperTalk Guru Way with Mark Schonewille: see "Flasher.rev" that I have just uploaded to revOnline. Anybody unable to access revOnline can obtain it from: http://tech.groups.yahoo.com/group/RRgraphix/files/ and, if even that is too complicated, Please contact me OFF-LIST ( geradamas at yahoo.com ) and I can send you the stack as an attachment. sincerely, Richmond Mathewson ____________________________________________________________ I have read and signed the online petition: "The Devils (1971) Special Edition, Uncut, remastered DVD release." hosted on the web by PetitionOnline.com, the free online petition service, at: http://www.PetitionOnline.com/Grandier/ I personally agree with what this petition says, and I think you might agree, too. If you can spare a moment, please take a look, and consider signing yourself. Richmond Mathewson ____________________________________________________________ ___________________________________________________________ New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk From geradamas at yahoo.com Sun Jan 28 12:30:58 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sun, 28 Jan 2007 17:30:58 +0000 (GMT) Subject: Hairlines and Scaling Message-ID: <315996.29258.qm@web37509.mail.mud.yahoo.com> Well, my hairline has been receding for a number of years, and my troubles seem to get bigger and bigger; however, I am back with a vengeance and would ne grateful if you could look at the petition at the bottom of this message. sincerely, Richmond Mathewson ____________________________________________________________ I have read and signed the online petition: "The Devils (1971) Special Edition, Uncut, remastered DVD release." hosted on the web by PetitionOnline.com, the free online petition service, at: http://www.PetitionOnline.com/Grandier/ I personally agree with what this petition says, and I think you might agree, too. If you can spare a moment, please take a look, and consider signing yourself. Richmond Mathewson ____________________________________________________________ ___________________________________________________________ All New Yahoo! Mail ? Tired of unwanted email come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html From psahores at free.fr Sun Jan 28 12:34:09 2007 From: psahores at free.fr (Pierre Sahores) Date: Sun, 28 Jan 2007 18:34:09 +0100 Subject: Quicktime / player limits? In-Reply-To: References: <6989EC9D-1ED3-4C8F-A513-2D84F086D279@free.fr> Message-ID: My code don't care about the original size of the movie... This code resize the movie to the stack rect instead ! I knox that it's not exactly what you was searching for but it's the onest code i found to share. Best, Pierre Le 28 janv. 07 ? 17:52, Stephen Barncard a ?crit : > Thanks, Pierre however there seems to be a lot of resizing of > elements, and I don't want the stack window to conform to the size > of the movie - I have my own geometry that uses a static stack size > and moves and centers the player. > > What I didn't get from your code and what I'm trying to figure out > is how one obtains the native rect of a movie to assign the player > when playing a stream from that file from a QT server. In my case a > 640x480 movie appears and plays in the small, default (connecting > to stream) size. > > > > >> Hi Stephan, >> >> Just pick inside those prod state scripts what you need ;-) >> >>> on dofullscreen >>> lock screen >>> put the screenrect into eee > > -- > > > stephen barncard > s a n f r a n c i s c o > - - - - - - - - - - - - > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Pierre Sahores www.sahores-conseil.com From tvawter at austincc.edu Sun Jan 28 13:11:06 2007 From: tvawter at austincc.edu (Tom Vawter) Date: Sun, 28 Jan 2007 12:11:06 -0600 Subject: Average function Message-ID: <20070128181106.146626895@smtp.localnet.com> Is there an average function that will not consider blank fields? For instance, if I have 10 and 8 in two fields and an empty third field, I want to take the average of the numbers in the three fields and get 9 rather than 6. Thanks Tom Vawter From scott at tactilemedia.com Sun Jan 28 13:19:19 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 28 Jan 2007 10:19:19 -0800 Subject: Average function In-Reply-To: <20070128181106.146626895@smtp.localnet.com> Message-ID: Recently, Tom Vawter wrote: > Is there an average function that will not consider blank fields? For > instance, if I have 10 and 8 in two fields and an empty third field, I > want to take the average of the numbers in the three fields and get 9 > rather than 6. Could you do this? function nonemtpyAverage put 0 into N put 0 into tTotal repeat with F = 1 to number of flds add fld F to tTotal if fld F <> "" then add 1 to N end repeat return tTotal/N end nonemtpyAverage You may need to limit the number of fields you want to check. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From JimAultWins at yahoo.com Sun Jan 28 14:07:58 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Sun, 28 Jan 2007 11:07:58 -0800 Subject: Average function In-Reply-To: Message-ID: On 1/28/07 10:19 AM, "Scott Rossi" wrote: > Recently, Tom Vawter wrote: > >> Is there an average function that will not consider blank fields? For >> instance, if I have 10 and 8 in two fields and an empty third field, I >> want to take the average of the numbers in the three fields and get 9 >> rather than 6. > > Could you do this? > > function nonemtpyAverage > put 0 into N > put 0 into tTotal > repeat with F = 1 to number of flds > add fld F to tTotal > if fld F <> "" then add 1 to N > end repeat > return tTotal/N > end nonemtpyAverage > > You may need to limit the number of fields you want to check. Or you could do one of these: get fld distance1 & cr & fld distance2 & cr & fld distance3 filter it without empty replace cr with comma in it get sum(it)/the number of items in it answer it for numerous fields ------------------- get empty repeat for each word FN in "apples oranges bananas pears" get it & fld FN & cr end repeat filter it without empty replace cr with comma in it get sum(it)/ the number of items in it answer it to get all "distance" fields [1,2,5,10]---------------- repeat with x = 1 to the number of controls if ("field ""e& "distance") is in the name of control x then put control x & cr after newList end if end repeat filter newList without empty replace cr with comma in newList get sum( newList )/ the number of items in newList answer newList Hope this helps Jim Ault Las Vegas On 1/28/07 10:19 AM, "Scott Rossi" wrote: > Recently, Tom Vawter wrote: > >> Is there an average function that will not consider blank fields? For >> instance, if I have 10 and 8 in two fields and an empty third field, I >> want to take the average of the numbers in the three fields and get 9 >> rather than 6. > > Could you do this? > > function nonemtpyAverage > put 0 into N > put 0 into tTotal > repeat with F = 1 to number of flds > add fld F to tTotal > if fld F <> "" then add 1 to N > end repeat > return tTotal/N > end nonemtpyAverage > > You may need to limit the number of fields you want to check. From JimAultWins at yahoo.com Sun Jan 28 14:12:54 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Sun, 28 Jan 2007 11:12:54 -0800 Subject: Format In-Reply-To: Message-ID: On 1/28/07 5:55 AM, "LunchnMeets at aol.com" wrote: > Is it possible to use the format command to change: > > 2125551212 > into > (212) 555-1212 Why not just use chunking in Rev? get 2125551212 get "("&char 1 to 3 of it &") " &char 4 to 6 of it & "-" &char 7 to -1 of it answer it Jim Ault Las Vegas From tvawter at austincc.edu Sun Jan 28 14:21:33 2007 From: tvawter at austincc.edu (Tom Vawter) Date: Sun, 28 Jan 2007 13:21:33 -0600 Subject: Average function In-Reply-To: References: <20070128181106.146626895@smtp.localnet.com> Message-ID: <20070128192133.113780345@smtp.localnet.com> >Recently, Tom Vawter wrote: > >> Is there an average function that will not consider blank fields? For >> instance, if I have 10 and 8 in two fields and an empty third field, I >> want to take the average of the numbers in the three fields and get 9 >> rather than 6. > >Could you do this? > > function nonemtpyAverage > put 0 into N > put 0 into tTotal > repeat with F = 1 to number of flds > add fld F to tTotal > if fld F <> "" then add 1 to N > end repeat > return tTotal/N > end nonemtpyAverage > >You may need to limit the number of fields you want to check. > >Regards, > >Scott Rossi >Creative Director >Tactile Media, Multimedia & Design >----- >E: scott at tactilemedia.com >W: http://www.tactilemedia.com > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Thanks, Scott. It works fine. The only problem I had was with other label fields crashing the party. I temporarily remedied this by putting a 3 in for "number of flds" - mine are fortunately numbered 1 to 3. What I need to know is how to code to restrict the fields considered. Thanks again Tom Vawter From scott at tactilemedia.com Sun Jan 28 14:36:33 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 28 Jan 2007 11:36:33 -0800 Subject: Average function In-Reply-To: <20070128192133.113780345@smtp.localnet.com> Message-ID: Recently, Tom Vawter wrote: > The only problem I had was with other > label fields crashing the party. I temporarily remedied this by > putting a 3 in for "number of flds" - mine are fortunately numbered 1 to > 3. What I need to know is how to code to restrict the fields considered. There are several ways to do this. If the fields checked will always be the same, you can place their references in a list in the function. Or you can build the list as needed and pass the list to the function: on mouseUp put long id of fld 1 & cr & long id of fld 2 & cr & long id of fld 3 \ into pFieldList answer nonemtpyAverage(pFieldList) end mouseUp function nonemtpyAverage pFieldList put 0 into N put 0 into tTotal repeat for each line tField in pFieldList get value( tField ) if it <> "" then add it to tTotal add 1 to N end if end repeat return tTotal/N end nonemtpyAverage Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From tvawter at austincc.edu Sun Jan 28 14:49:01 2007 From: tvawter at austincc.edu (Tom Vawter) Date: Sun, 28 Jan 2007 13:49:01 -0600 Subject: Average function In-Reply-To: References: <20070128192133.113780345@smtp.localnet.com> Message-ID: <20070128194901.1775370786@smtp.localnet.com> >on mouseUp > put long id of fld 1 & cr & long id of fld 2 & cr & long id of fld 3 \ > into pFieldList > answer nonemtpyAverage(pFieldList) >end mouseUp > > >function nonemtpyAverage pFieldList > put 0 into N > put 0 into tTotal > repeat for each line tField in pFieldList > get value( tField ) > if it <> "" then > add it to tTotal > add 1 to N > end if > end repeat > return tTotal/N >end nonemtpyAverage Very good, Scott. Thanks. Tom Vawter From jacque at hyperactivesw.com Sun Jan 28 14:46:31 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 28 Jan 2007 13:46:31 -0600 Subject: does working with URL's slow down the engine? In-Reply-To: <45BC3BFF.2060104@dreamscapesoftware.com> References: <45BC39AE.1030207@dreamscapesoftware.com> <45BC3BFF.2060104@dreamscapesoftware.com> Message-ID: <45BCFD97.5050200@hyperactivesw.com> Derek Bump wrote: > Why is it that you find the answer to a problem ONLY after you tell the > world you can't figure it out?!! > > Disregard this thread as I have figured out the problem. Can you tell us what it was? Was it really related to the url container? That would be good to know, if true. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tvawter at austincc.edu Sun Jan 28 14:54:49 2007 From: tvawter at austincc.edu (Tom Vawter) Date: Sun, 28 Jan 2007 13:54:49 -0600 Subject: Average function In-Reply-To: References: Message-ID: <20070128195449.2126502630@smtp.localnet.com> >On 1/28/07 10:19 AM, "Scott Rossi" wrote: > >> Recently, Tom Vawter wrote: >> >>> Is there an average function that will not consider blank fields? For >>> instance, if I have 10 and 8 in two fields and an empty third field, I >>> want to take the average of the numbers in the three fields and get 9 >>> rather than 6. >> >> Could you do this? >> >> function nonemtpyAverage >> put 0 into N >> put 0 into tTotal >> repeat with F = 1 to number of flds >> add fld F to tTotal >> if fld F <> "" then add 1 to N >> end repeat >> return tTotal/N >> end nonemtpyAverage >> >> You may need to limit the number of fields you want to check. > >Or you could do one of these: > >get fld distance1 & cr & fld distance2 & cr & fld distance3 >filter it without empty >replace cr with comma in it >get sum(it)/the number of items in it >answer it > >for numerous fields ------------------- >get empty >repeat for each word FN in "apples oranges bananas pears" > get it & fld FN & cr >end repeat >filter it without empty >replace cr with comma in it >get sum(it)/ the number of items in it >answer it > >to get all "distance" fields [1,2,5,10]---------------- >repeat with x = 1 to the number of controls > if ("field ""e& "distance") is in the name of control x then > put control x & cr after newList >end if >end repeat >filter newList without empty >replace cr with comma in newList >get sum( newList )/ the number of items in newList >answer newList > >Hope this helps > >Jim Ault >Las Vegas > >On 1/28/07 10:19 AM, "Scott Rossi" wrote: > >> Recently, Tom Vawter wrote: >> >>> Is there an average function that will not consider blank fields? For >>> instance, if I have 10 and 8 in two fields and an empty third field, I >>> want to take the average of the numbers in the three fields and get 9 >>> rather than 6. >> >> Could you do this? >> >> function nonemtpyAverage >> put 0 into N >> put 0 into tTotal >> repeat with F = 1 to number of flds >> add fld F to tTotal >> if fld F <> "" then add 1 to N >> end repeat >> return tTotal/N >> end nonemtpyAverage >> >> You may need to limit the number of fields you want to check. > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Jim, Thanks. Your first script works very well. I don't quite get what you are doing with the second one. I will have to study it. I do like your "filter without empty." Thanks again Tom Vawter From list at dreamscapesoftware.com Sun Jan 28 15:08:28 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Sun, 28 Jan 2007 14:08:28 -0600 Subject: does working with URL's slow down the engine? In-Reply-To: <45BCFD97.5050200@hyperactivesw.com> References: <45BC39AE.1030207@dreamscapesoftware.com> <45BC3BFF.2060104@dreamscapesoftware.com> <45BCFD97.5050200@hyperactivesw.com> Message-ID: <45BD02BC.50501@dreamscapesoftware.com> J. Landman Gay wrote: > Can you tell us what it was? Was it really related to the url container? > That would be good to know, if true. I'm sorry about that, it was late and I was a little wired. The problem was that the "buildtree" handler would not continue until pendingMessages() was empty. When you request a URL with get/put, pending messages are sent. I just had to modify the script so it would check to see if there were any remaining pending messages for "buildtree" and then it worked fine. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ From jbv.silences at club-internet.fr Sun Jan 28 15:48:31 2007 From: jbv.silences at club-internet.fr (jbv) Date: Sun, 28 Jan 2007 21:48:31 +0100 Subject: does working with URL's slow down the engine? References: <45BC39AE.1030207@dreamscapesoftware.com> <45BC3BFF.2060104@dreamscapesoftware.com> <45BCFD97.5050200@hyperactivesw.com> Message-ID: <45BD0C1E.F33864C5@club-internet.fr> > Derek Bump wrote: > > Why is it that you find the answer to a problem ONLY after you tell the > > world you can't figure it out?!! > > just in case you really want to know, it's a very well known fact in psychology : putting your problem into words for others is the first step on the way to the solution (see Piaget and others)... AFAIR this has been discussed already on this very list, and must be burried deep inside the archives... The silly part of the story is that very often the solution pops-up in your mind not as soon as you finished putting the problem into words in an email, but rather right after you pressed the "send" button... JB From cszasz at mac.com Sun Jan 28 16:46:49 2007 From: cszasz at mac.com (Charles Szasz) Date: Sun, 28 Jan 2007 16:46:49 -0500 Subject: Simply way to launch a PDF document Message-ID: <0A161AD8-8F4C-4040-B5D4-D235E4BE58E5@mac.com> Is there a simple way to launch a PDF document for both the windows and Mac platform? Charles Szasz cszasz at mac.com From soapdog at mac.com Sun Jan 28 16:55:40 2007 From: soapdog at mac.com (Andre Garzia) Date: Sun, 28 Jan 2007 19:55:40 -0200 Subject: Simply way to launch a PDF document In-Reply-To: <0A161AD8-8F4C-4040-B5D4-D235E4BE58E5@mac.com> References: <0A161AD8-8F4C-4040-B5D4-D235E4BE58E5@mac.com> Message-ID: Charles, use the shell() command. For the mac call "open yourpath/yourfile.pdf" For win32 call "start yourpath/yourfile.pdf" I am not sure about the windows one, I am writting those from memory. Andre On Jan 28, 2007, at 7:46 PM, Charles Szasz wrote: > Is there a simple way to launch a PDF document for both the windows > and Mac platform? > > > Charles Szasz > cszasz at mac.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From markgreenberg at cox.net Sun Jan 28 17:14:45 2007 From: markgreenberg at cox.net (Mark Greenberg) Date: Sun, 28 Jan 2007 15:14:45 -0700 Subject: Infinity Char on Windows In-Reply-To: <20070123033052.9B5AB489008@mail.runrev.com> References: <20070123033052.9B5AB489008@mail.runrev.com> Message-ID: <39308B8D-5958-4A87-8FA0-C53B6E01A91D@cox.net> I am trying to port my math stacks from Mac to Windows. Some of the stacks use the infinity character (like a sideways 8), but in Windows it displays as a box instead. Does anyone know how I might make that display properly in Windows? If the solution involves Unicode, be explicit because I've never tried to make Unicode work for me in Rev. TIA, Mark Greenberg From list at dreamscapesoftware.com Sun Jan 28 17:24:00 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Sun, 28 Jan 2007 16:24:00 -0600 Subject: Simply way to launch a PDF document In-Reply-To: References: <0A161AD8-8F4C-4040-B5D4-D235E4BE58E5@mac.com> Message-ID: <45BD2280.9060908@dreamscapesoftware.com> I know that a lot of people use the shell() method of launching documents, but what about the transcript method: launch document "path/to/file.pdf" Both methods will result in the document being opened with a designated program. Additionally, the launch command allows you to launch web sites before the common library (where revGoURL is located) has been loaded. So is there any advantage of one over the other? Launch vs. Shell()? Launch vs. RevGoURL? Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ Andre Garzia wrote: > Charles, > > use the shell() command. > > For the mac call "open yourpath/yourfile.pdf" > For win32 call "start yourpath/yourfile.pdf" > > I am not sure about the windows one, I am writting those from memory. > > Andre > > > On Jan 28, 2007, at 7:46 PM, Charles Szasz wrote: > >> Is there a simple way to launch a PDF document for both the windows >> and Mac platform? >> >> >> Charles Szasz >> cszasz at mac.com >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From tominjapan at excite.com Sun Jan 28 18:44:32 2007 From: tominjapan at excite.com (Thomas McCarthy) Date: Sun, 28 Jan 2007 18:44:32 -0500 (EST) Subject: HyperCard Flash effect Message-ID: <20070128234432.42E3E8B30F@xprdmxin.myway.com> How about placing a graphic object on your card. Set the ink of it to something funky and then when you want to flash, show, hide, show, hide.... t. mccarthy _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From sarah.reichelt at gmail.com Sun Jan 28 18:52:35 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 29 Jan 2007 09:52:35 +1000 Subject: HyperCard Flash effect In-Reply-To: <20070128234432.42E3E8B30F@xprdmxin.myway.com> References: <20070128234432.42E3E8B30F@xprdmxin.myway.com> Message-ID: On 1/29/07, Thomas McCarthy wrote: > > How about placing a graphic object on your card. Set the ink of it to something funky and then when you want to flash, show, hide, show, hide.... > > t. mccarthy > This is the way I do it. I have a graphic with it's ink set to srcXor then I just show & hide it to create a flash effect. Sarah From lists at mangomultimedia.com Sun Jan 28 19:48:42 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sun, 28 Jan 2007 16:48:42 -0800 Subject: Quicktime / player limits? In-Reply-To: References: <6989EC9D-1ED3-4C8F-A513-2D84F086D279@free.fr> Message-ID: <2CFA0FA6-6BD9-43B1-A298-8802BD250018@mangomultimedia.com> On Jan 28, 2007, at 7:43 AM, Stephen Barncard wrote: > Pierre, how do you determine the rect of the player when playing a > stream if the rect of the particular file is not known? Stephen Try formattedHeight and formattedWidth of the player object after setting the url. For a streaming movie, you may need to wait a little while before this information becomes available. I'm not sure how Rev handles it under the hood. The EnhancedQT external lets you query the download state of the url being loaded in the player using qtGetMovieLoadState() if you end up needing to monitor that. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From kray at sonsothunder.com Sun Jan 28 23:26:31 2007 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 28 Jan 2007 22:26:31 -0600 Subject: Infinity Char on Windows In-Reply-To: <39308B8D-5958-4A87-8FA0-C53B6E01A91D@cox.net> References: <20070123033052.9B5AB489008@mail.runrev.com> <39308B8D-5958-4A87-8FA0-C53B6E01A91D@cox.net> Message-ID: <20070128222631943870.7356ebb2@sonsothunder.com> On Sun, 28 Jan 2007 15:14:45 -0700, Mark Greenberg wrote: > I am trying to port my math stacks from Mac to Windows. Some of the > stacks use the infinity character (like a sideways 8), but in Windows > it displays as a box instead. Does anyone know how I might make that > display properly in Windows? If the solution involves Unicode, be > explicit because I've never tried to make Unicode work for me in Rev. Well, first of all, I'm a bit surprised you get a box on Windows instead of a degree symbol. You see the infinity symbol on Macs is ASCII 176, which in Windows is the degree symbol. Unfortunately, Most Windows fonts do not include the infinity symbol in their high-ASCII (ID 128-256) character sets. Personally, I'd suggest replacing your Mac-only infinity symbols with the symbol from the Symbol font (ASCII 165), which is cross-platform so you won't have to do anything special for Windows. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From cszasz at mac.com Mon Jan 29 00:21:27 2007 From: cszasz at mac.com (Charles Szasz) Date: Mon, 29 Jan 2007 00:21:27 -0500 Subject: Visibility Problem in Windows XP Message-ID: <07AA0663-FB50-450F-8174-E87995518709@mac.com> I reported this problem related to fonts not showing up in Windows builds before. And it came back after I recreated my original stack by copying and pasting. I downloaded a Windows version of Revolution and began to fiddle around with the fonts that were not showing up. The problem is definitely related to the font that is being used. In my case I used Arial, which does not work well even with the Windows version of Rev! Aria was highly recommended as one of the fonts you could use on both Windows and the Mac. So far I found that the Tahoma font works better but it has problems with formating. If you format for center alignment, it will not be in the center. i have not had the opportunity to check the other Window fonts, which I will do tomorrow. My first question then is what Windows XP fonts do Rev Windows developers used? My second question: Has the "owner's font" problem associated with formating (bold, etc) been corrected? I find it unusual that the Rev Manual only gives a fleeing mention of owner's fonts. I did not know about owner's font until I used the text menu in the menu bar. I always used the inspector, which does not list it. I would greatly appreciate any information on this subject!! Charles Szasz cszasz at mac.com From runrev at animabit.de Mon Jan 29 03:59:32 2007 From: runrev at animabit.de (runrev at animabit.de) Date: Mon, 29 Jan 2007 08:59:32 +0000 Subject: Re-2: write to and read from a hardware address directly, possible? Message-ID: Hi Stephen, There are some hardware tasks (f.e. drivers for special PCI cards to manage relais or OPTOIN cards) which need to communicate through one byte in a hardware address. And the status has to be read fast ... As in Perl it should be possible, but not recommended ... But it seems not to be possible, because nobody could tell me a solution in runrev. Thanks, Franz Original Message processed by David InfoCenter Subject: Re: write to and read from a hardware address directly, possible? (19-Jan-2007 17:24) From: Stephen Barncard To: use-revolution at lists.runrev.com You are looking for a PEEK or POKE type command in Rev. ummm... I don't think it's advisable to do that directly anymore, certainly on macs. Most resources on modern hardware are managed. >Hello, > >Is it possible to write to a hardware address directly from runrev? >Did not find any command for this task in the docu. > >0xA000 FF > >8 bit 11111111 to the address A000. > >Can I set or get the value with native commands in runrev? > From m.schonewille at economy-x-talk.com Mon Jan 29 11:41:41 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 29 Jan 2007 17:41:41 +0100 Subject: Show file and application icons in stacks Message-ID: Hello, I have been working on a Mac OS X version of a library that is able to display file and application icons in stacks. Now, I am looking for hints to do the same in Windows, Linux and Mac OS 9. Any ideas? Thanks, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz From stephenREVOLUTION at barncard.com Mon Jan 29 12:41:20 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 29 Jan 2007 09:41:20 -0800 Subject: Re-2: write to and read from a hardware address directly, possible? In-Reply-To: References: Message-ID: Franz, I didn't say it was impossible, but you'll have to write some XCMDs to access special hardware. This would be true in most other 3GLs as well. If you want to try to write an XCMD, check out Mark Waddingham's most excellent article about writing one. http://www.runrev.com/newsletter/november/issue13/newsletter5.php NEWSLETTER ARTICLE ABOUT WRITING AN XCMD >Before going any further you will need: > * Revolution 2.7.x (any edition should do) > * Visual C++ 2005 - any edition including Express > (if you want to build >externals on Windows) > * XCode 2.4.x (if want to build externals on Mac OS X) > * The Revolution externals build environment: > * A set of pre-constructed environments for each step >in the tutorial article: > * A cup of coffee (not strictly required, but I find it >helps when coding in lower-level languages...) I sympathize, as this was my first complaint when I first touched a mac after coming from the super-open Apple II, where all the hardware addresses were IN THE BOOK. On the mac, until Hypercard arrived, there was no way to get to anything except by using Pascal. I also understand about the speed issue. Most data acquisition I've seen is 8 or 16 bit, and not particularly fast (compared to audio DSP, say), so a quick PEEK or POKE command could be quickly created, and even with the overhead of going in and out of the API, it could be fast enough for most data acquisition. if you're not up to writing an external, it might be cheaper or easier to find some alternative relay-OPTO cards that have drivers already made that will talk to your chosen OS. There are MANY out there now... You also might consider controlling and acquiring through the serial port using a Keyspan USB adapter. Some systems can acquire on the hardware side while streaming to the computer at its convenience. in 1989 I built a huge cassette controller system using the serial port, a hardware chip (cybernetics Cy-233), and hypercard. Controller Chip A&M tape copy room run with hypercard this is a big industry. There are scores of companies that make acquisition equipment. sqb >Hi Stephen, > >There are some hardware tasks (f.e. drivers for special PCI cards to >manage relais or OPTOIN cards) which need to communicate through one >byte in a hardware address. And the status has to be read fast ... >As in Perl it should be possible, but not recommended ... >But it seems not to be possible, because nobody could tell me a >solution in runrev. > >Thanks, >Franz > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From stephenREVOLUTION at barncard.com Mon Jan 29 13:47:21 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 29 Jan 2007 10:47:21 -0800 Subject: Re-2: write to and read from a hardware address directly, possible? In-Reply-To: References: Message-ID: I might add that unless one is intimately knowledgeable about the hardware or it was self-made, that one should avoid touching anything in the memory map directly, 'behind the back' of your OS, so to speak., unless the makers of the I/O card have made a certain memory space available. These addresses, still, are not 'fixed' but must be calculated carefully. Computers these days don't like us poking around without 'management'. Major damage could result. This is probably why there is no PEEK and especially POKE commands are available in REV! We'd all blow up our computers. I'd add another plug for using serial based data acquisition: expand ability isolation from host long wire lengths use any software, even a dumb terminal, to test in early stages. if one uses good wire, one can get pretty high speeds. There are even ways to send 'serial' data over a Ethernet network to a remote box which has several serial ports. If I've underestimated your knowledge or your applications, I apologize. sqb -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From jonseymour at mac.com Mon Jan 29 16:17:25 2007 From: jonseymour at mac.com (Jon Seymour) Date: Mon, 29 Jan 2007 15:17:25 -0600 Subject: current handler(s) Message-ID: I use the "wait with messages" command frequently. Is there a way to determine which handler(s) are currently executing and/or unfinished? Whereas the "waitdepth" function returns the number of currently paused handlers, what about their names? From revolution at jaedworks.com Mon Jan 29 16:15:41 2007 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Mon, 29 Jan 2007 13:15:41 -0800 Subject: Infinity Char on Windows In-Reply-To: <39308B8D-5958-4A87-8FA0-C53B6E01A91D@cox.net> References: <20070123033052.9B5AB489008@mail.runrev.com> <39308B8D-5958-4A87-8FA0-C53B6E01A91D@cox.net> Message-ID: At 3:14 PM -0700 1/28/2007, Mark Greenberg wrote: >I am trying to port my math stacks from Mac to Windows. Some of the >stacks use the infinity character (like a sideways 8), but in >Windows it displays as a box instead. Does anyone know how I might >make that display properly in Windows? If the solution involves >Unicode, be explicit because I've never tried to make Unicode work >for me in Rev. Are these characters stored in a field or custom property? -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From stephenREVOLUTION at barncard.com Mon Jan 29 16:34:45 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 29 Jan 2007 13:34:45 -0800 Subject: current handler(s) In-Reply-To: References: Message-ID: check out pendingMessages >I use the "wait with messages" command frequently. Is there a way to >determine which handler(s) are currently executing and/or >unfinished? Whereas the "waitdepth" function returns the number of >currently paused handlers, what about their names? -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From stephenREVOLUTION at barncard.com Mon Jan 29 16:41:03 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 29 Jan 2007 13:41:03 -0800 Subject: current handler(s) In-Reply-To: References: Message-ID: sorry, I didn't read your request properly. you might use a global array to log the ids created every time you use 'send in' or 'wait' get the message id from the result right after executing 'wait with messages' - then you could associate the id with the handler it's in. >check out pendingMessages > >>I use the "wait with messages" command frequently. Is there a way >>to determine which handler(s) are currently executing and/or >>unfinished? Whereas the "waitdepth" function returns the number of >>currently paused handlers, what about their names? > >-- > > >stephen barncard >s a n f r a n c i s c o >- - - - - - - - - - - - -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From scott at tactilemedia.com Mon Jan 29 17:03:02 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 29 Jan 2007 14:03:02 -0800 Subject: [OT] Building Mac Installers Message-ID: This is an off-topic request for anyone who has experience building installers on the Mac platform that rely on scripts. I received a request from a client to build installers that need to do some condition checking and be editable on the client's end, via text-editing a script or similar. DMG drag-install is not an option due to file-checking needs, and packages that charge per seat/year usage fees are not acceptable. I came across a package called MacInstallerBuilder which looks promising, but am wondering if any folks around here have other experience and/or suggestions. Please contact off-list. Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From soapdog at mac.com Mon Jan 29 17:23:36 2007 From: soapdog at mac.com (Andre Garzia) Date: Mon, 29 Jan 2007 20:23:36 -0200 Subject: [OT] Building Mac Installers In-Reply-To: References: Message-ID: <4EEFED56-7B90-40D4-AD9A-4BD2A8AF0C9C@mac.com> Scott, the installer must be a .pkg? can't you build a stack that is an installer and will execute the scripts and everything? it might be easier... Andre On Jan 29, 2007, at 8:03 PM, Scott Rossi wrote: > This is an off-topic request for anyone who has experience building > installers on the Mac platform that rely on scripts. I received a > request > from a client to build installers that need to do some condition > checking > and be editable on the client's end, via text-editing a script or > similar. > DMG drag-install is not an option due to file-checking needs, and > packages > that charge per seat/year usage fees are not acceptable. > > I came across a package called MacInstallerBuilder which looks > promising, > but am wondering if any folks around here have other experience and/or > suggestions. Please contact off-list. > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Mon Jan 29 21:00:38 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 29 Jan 2007 18:00:38 -0800 Subject: Reminder: SoCal RUG mtg Monday, 12 Feb Message-ID: <45BEA6C6.6070806@fourthworld.com> Just a quick reminder about the upcoming soCal Rev User Group meeting -- please RSVP if you plan to attend: The SoCal Revolution User Group will be having a meeting on Monday, 12 February, at 7PM at the Fourth World Embassy in downtown Los Angeles. We have an exciting lineup based around a theme: Collaboration 7PM: Richard Herz of UC San Diego will introduce a work-in-progress - a dynamic process simulator (e.g., water flowing in pipes between tanks) in which process units (e.g., tanks) can be distributed over the Internet to allow team collaboration. 8PM: Dinner at Barbara's, the restaurant here in the complex. 9PM: Josh Mellicker of DV Creators will present a mysterious technology called Green Bongo. He's come a long way since our last meeting -- I got a preview tour of Green Bongo last week and it's quite a treat. The meeting will officially adjourn at around 10PM, but any hardy souls who like can stay late for a game of Extreme Shuffleboard (be forewarned: Ken Ray will be in town and I have reason to believe he cheats ). All are welcome to attend. Please RSVP by sending me an email so I can make sure to have enough dessert on hand. If you need directions to the Embassy just drop me a note and I'll send the details. Looking forward to seeing all you RUG rats there - -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bridgeyman at gmail.com Mon Jan 29 22:18:05 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Mon, 29 Jan 2007 20:18:05 -0700 Subject: XML Question Message-ID: <86ae76bb0701291918nb8a33a0i392c0aad2861327d@mail.gmail.com> Hey, I was just debugging the project I have been working on (with all of your help) and it kept getting erratic results. I ran my XML through a parser, and it came up with several errors. I think I had a giant misconception when making this project. Is the following legal: In other words, can nodes with the same name be nested within each other? The parser keeps claiming that it expected the end of the Object node every time it encounters another Object node within the first. Does this mean that I did it all wrong? Thank You, Bridger Maxwell Christa McAuliffe Space Education Center From bridgeyman at gmail.com Mon Jan 29 23:07:54 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Mon, 29 Jan 2007 21:07:54 -0700 Subject: XML Question In-Reply-To: <86ae76bb0701291918nb8a33a0i392c0aad2861327d@mail.gmail.com> References: <86ae76bb0701291918nb8a33a0i392c0aad2861327d@mail.gmail.com> Message-ID: <86ae76bb0701292007n9a9a230w656b86f3db858f35@mail.gmail.com> Never mind guys. I made a horrible mistake. In my format handler, I accidentally replaced something with a lowercase letter that should have been uppercase, which matters in XML. I fixed it, not major harm done, just wasted time. Sigh... Good thing the rest of Revolution isn't case-sensitive. Thank You, Bridger Maxwell Christa McAuliffe Space Education Center From cszasz at mac.com Mon Jan 29 23:42:50 2007 From: cszasz at mac.com (Charles Szasz) Date: Mon, 29 Jan 2007 23:42:50 -0500 Subject: Fonts on Windows Message-ID: I reported this problem related to fonts not showing up in Windows builds before. And it came back after I recreated my original stack by copying and pasting. I downloaded a Windows version of Revolution and began to fiddle around with the fonts that were not showing up. The problem is definitely related to the font that is being used. In my case I used Arial, which does not work well even with the Windows version of Rev! Aria was highly recommended as one of the fonts you could use on both Windows and the Mac. So far I found that the Tahoma font works better but it has problems with formating. If you format for center alignment, it will not be in the center. i have not had the opportunity to check the other Window fonts, which I will do tomorrow. My first question then is what Windows XP fonts do Rev Windows developers used? My second question: Has the "owner's font" problem associated with formating (bold, etc) been corrected? I find it unusual that the Rev Manual only gives a fleeing mention of owner's fonts. I did not know about owner's font until I used the text menu in the menu bar. I always used the inspector, which does not list it. I would greatly appreciate any information on this subject!! Charles Szasz cszasz at mac.com From jacque at hyperactivesw.com Tue Jan 30 00:49:39 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 29 Jan 2007 23:49:39 -0600 Subject: Visibility Problem in Windows XP In-Reply-To: <07AA0663-FB50-450F-8174-E87995518709@mac.com> References: <07AA0663-FB50-450F-8174-E87995518709@mac.com> Message-ID: <45BEDC73.9080009@hyperactivesw.com> Charles Szasz wrote: > I reported this problem related to fonts not showing up in Windows > builds before. And it came back after I recreated my original stack by > copying and pasting. I downloaded a Windows version of Revolution and > began to fiddle around with the fonts that were not showing up. The > problem is definitely related to the font that is being used. In my case > I used Arial, which does not work well even with the Windows version of > Rev! Aria was highly recommended as one of the fonts you could use on > both Windows and the Mac. > I've been waiting to see if anyone has anything to add about this, but I guess not. I suspect the reason is that no one has seen it (I never have.) I regularly use Ariel in stacks on Windows without any problem, so I'm not sure why you aren't seeing a display. Does your field text contain high-ascii characters? Maybe the Ariel font doesn't contain the characters you're using; each font is a little different. That's about all I can think of. Ariel does fine on Windows for me. I've never seen a centering problem either. As an experiment, try making a new stack with a single field and no scripts. Type some words in the field and make the field's textfont Ariel. Now open it in Windows. Does it display there? If so, then the problem is something in your particular stack rather than in the field or font. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From JimAultWins at yahoo.com Tue Jan 30 04:38:04 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 30 Jan 2007 01:38:04 -0800 Subject: Visibility Problem in Windows XP In-Reply-To: <45BEDC73.9080009@hyperactivesw.com> Message-ID: Aren't there some example fonts stacks on the user area of goRev? This is not my area at all, but it would seem that downloading something that works would be a good test. Also, you might want to build a little test loop that gave you info about each char in the field, such as repeat with x = 1 to the number of chars in fld targ get (x) && char x of fld targ get it && chartonum(char x of fld targ) get it && the font of char x of targ get it && the fontsize of char x of targ get it && the fontcolor of char x of targ put it into line x of charDisplay end repeat put "-" & the textfont of fld targ & " ---field text font" & cr before charDisplay put the fontnames & cr before charDisplay put charDisplay into the msg You might be a little surprised at the listing, but perhaps not. Jim Ault Las Vegas On 1/29/07 9:49 PM, "J. Landman Gay" wrote: > Charles Szasz wrote: >> I reported this problem related to fonts not showing up in Windows >> builds before. And it came back after I recreated my original stack by >> copying and pasting. I downloaded a Windows version of Revolution and >> began to fiddle around with the fonts that were not showing up. The >> problem is definitely related to the font that is being used. In my case >> I used Arial, which does not work well even with the Windows version of >> Rev! Aria was highly recommended as one of the fonts you could use on >> both Windows and the Mac. >> > > I've been waiting to see if anyone has anything to add about this, but I > guess not. I suspect the reason is that no one has seen it (I never > have.) I regularly use Ariel in stacks on Windows without any problem, > so I'm not sure why you aren't seeing a display. Does your field text > contain high-ascii characters? Maybe the Ariel font doesn't contain the > characters you're using; each font is a little different. That's about > all I can think of. Ariel does fine on Windows for me. I've never seen a > centering problem either. > > As an experiment, try making a new stack with a single field and no > scripts. Type some words in the field and make the field's textfont > Ariel. Now open it in Windows. Does it display there? If so, then the > problem is something in your particular stack rather than in the field > or font. From martinblackman at gmail.com Tue Jan 30 06:11:07 2007 From: martinblackman at gmail.com (Martin Blackman) Date: Tue, 30 Jan 2007 20:11:07 +0900 Subject: Rev and Zlib compression Message-ID: <79d1bee70701300311p62277dbfu8557f42a60c2d0b3@mail.gmail.com> I'd like to be able to open files compressed using zlib ( www.zlib.net ), but it seems the revzip library doesn't handle this file type. Has anyone ever worked with zlib in Rev ? Maybe I have to knuckle down and learn how to work with DLL's as there is one provided on the site regards Martin Blackman From dweeble at wi.rr.com Tue Jan 30 06:39:56 2007 From: dweeble at wi.rr.com (Michael D.) Date: Tue, 30 Jan 2007 05:39:56 -0600 Subject: Package tools Message-ID: <002701c74463$5dc39ba0$0200a8c0@upthe> Hi everyone, I was looking for an option to cexe executable compressor and ran across this site, some nice tools. The builder Packed one of my 2.5meg exe's down to 990k. http://www.gdgsoft.com/ Michael From mark_powell at symantec.com Tue Jan 30 06:46:00 2007 From: mark_powell at symantec.com (Mark Powell) Date: Tue, 30 Jan 2007 03:46:00 -0800 Subject: In standalone, closing a modal closes everything Message-ID: Here is a distillation of my problem. From my main stack, I call a stack with modal stack "MyAnswerDialog" On that modal stack, there is an OK button with the script ending with close this stack In the development environment, the modal is closed as expected and you return to the main stack. As an executable, clicking the OK button quits the application (i.e. OK closes both main and modal stacks). I am using Rev 2.7.2. Am I doing something wrong? I could have sworn this has worked in the past. Mark From m.schonewille at economy-x-talk.com Tue Jan 30 06:54:13 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 30 Jan 2007 12:54:13 +0100 Subject: Fonts on Windows In-Reply-To: References: Message-ID: <5DDCD949-189D-4489-BE2E-CE8E95B67179@economy-x-talk.com> Charles, Just a guess, but make sure to set the formatForPrinting of your stacks and fields to false when you don't print :-) Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 30-jan-2007, om 5:42 heeft Charles Szasz het volgende geschreven: > I reported this problem related to fonts not showing up in Windows > builds before. And it came back after I recreated my original stack > by copying and pasting. I downloaded a Windows version of > Revolution and began to fiddle around with the fonts that were not > showing up. The problem is definitely related to the font that is > being used. In my case I used Arial, which does not work well even > with the Windows version of Rev! Aria was highly recommended as one > of the fonts you could use on both Windows and the Mac. > > So far I found that the Tahoma font works better but it has > problems with formating. If you format for center alignment, it > will not be in the center. i have not had the opportunity to check > the other Window fonts, which I will do tomorrow. > > My first question then is what Windows XP fonts do Rev Windows > developers used? My second question: Has the "owner's font" problem > associated with formating (bold, etc) been corrected? I find it > unusual that the Rev Manual only gives a fleeing mention of owner's > fonts. I did not know about owner's font until I used the text menu > in the menu bar. I always used the inspector, which does not list it. > > I would greatly appreciate any information on this subject!! > > > > Charles Szasz > cszasz at mac.com From jbv.silences at club-internet.fr Tue Jan 30 07:26:38 2007 From: jbv.silences at club-internet.fr (jbv) Date: Tue, 30 Jan 2007 13:26:38 +0100 Subject: Rev and Zlib compression References: <79d1bee70701300311p62277dbfu8557f42a60c2d0b3@mail.gmail.com> Message-ID: <45BF3976.4C698A1F@club-internet.fr> Martin , I put my nose into that issue a couple of years ago as I was working on a pdf library. I got an answer from Rev support featuring details about which parameters are used in the Rev implementation of zlib, which AFAIR is significantly different from what is used in pdf files. I too had the project to implement zlib as an external, but had to postpone that project endlessly, being somewhat more than busy for the last couple of years... If you are interested, I'll try to find the time to dig my archives and forward these infos to you off-list... JB > I'd like to be able to open files compressed using zlib ( www.zlib.net > ), but it seems the revzip library doesn't handle this file type. Has > anyone ever worked with zlib in Rev ? > > Maybe I have to knuckle down and learn how to work with DLL's as there > is one provided on the site > > regards > Martin Blackman From m.schonewille at economy-x-talk.com Tue Jan 30 08:21:12 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 30 Jan 2007 14:21:12 +0100 Subject: Firefox search plugin for this list on GMane Message-ID: <3F33311B-7283-4C30-AEF7-03738C8ABB07@economy-x-talk.com> Hello, I have put a Firefox search plugin on the Economy-x-Talk website, which searches the archives of this list on GMane. You can obtain it by going to the Developers section of the Economy-x-Talk homepage. At the bottom of the page, you will find the plugin. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz From ambassador at fourthworld.com Tue Jan 30 08:55:23 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 30 Jan 2007 05:55:23 -0800 Subject: In standalone, closing a modal closes everything Message-ID: <45BF4E4B.3010600@fourthworld.com> Mark Powell wrote: > Here is a distillation of my problem. From my main stack, I call a > stack with > > modal stack "MyAnswerDialog" > > On that modal stack, there is an OK button with the script ending with > > close this stack It ends with that -- what comes before it? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From martinblackman at gmail.com Tue Jan 30 08:58:53 2007 From: martinblackman at gmail.com (Martin Blackman) Date: Tue, 30 Jan 2007 22:58:53 +0900 Subject: Rev and Zlib compression In-Reply-To: <45BF3976.4C698A1F@club-internet.fr> References: <79d1bee70701300311p62277dbfu8557f42a60c2d0b3@mail.gmail.com> <45BF3976.4C698A1F@club-internet.fr> Message-ID: <79d1bee70701300558m4f1357ffu23172f733d584b7d@mail.gmail.com> Thanks JBV I should have done a gmane search, from what I gather there maybe a couple of developers with existing solutions. So don't trouble yourself there. regds Martin On 30/01/07, jbv wrote: > > > Martin , > > I put my nose into that issue a couple of years ago as I was working on > a pdf library. I got an answer from Rev support featuring details about > which parameters are used in the Rev implementation of zlib, which > AFAIR is significantly different from what is used in pdf files. > I too had the project to implement zlib as an external, but had to postpone > that project endlessly, being somewhat more than busy for the last > couple of years... > If you are interested, I'll try to find the time to dig my archives and > forward these infos to you off-list... > > JB > > > I'd like to be able to open files compressed using zlib ( www.zlib.net > > ), but it seems the revzip library doesn't handle this file type. Has > > anyone ever worked with zlib in Rev ? > > > > Maybe I have to knuckle down and learn how to work with DLL's as there > > is one provided on the site > > > > regards > > Martin Blackman > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From soapdog at mac.com Tue Jan 30 09:27:14 2007 From: soapdog at mac.com (Andre Garzia) Date: Tue, 30 Jan 2007 12:27:14 -0200 Subject: [OT] Building Mac Installers In-Reply-To: <4EEFED56-7B90-40D4-AD9A-4BD2A8AF0C9C@mac.com> References: <4EEFED56-7B90-40D4-AD9A-4BD2A8AF0C9C@mac.com> Message-ID: Scott, I assume you have the Developers Tools installed on your mac. There's an application called PackageMaker that is bundled with it. It allows you to build .pkg files with all the options you want including scripts. a quote: "You can bundle executable files within your package and Installer.app will run these executables during the install. Generally these files will be shell scripts." Just launch it and look into the help file, everything is there!!! Cheers andre On Jan 29, 2007, at 8:23 PM, Andre Garzia wrote: > Scott, > > the installer must be a .pkg? can't you build a stack that is an > installer and will execute the scripts and everything? it might be > easier... > > Andre > > On Jan 29, 2007, at 8:03 PM, Scott Rossi wrote: > >> This is an off-topic request for anyone who has experience building >> installers on the Mac platform that rely on scripts. I received a >> request >> from a client to build installers that need to do some condition >> checking >> and be editable on the client's end, via text-editing a script or >> similar. >> DMG drag-install is not an option due to file-checking needs, and >> packages >> that charge per seat/year usage fees are not acceptable. >> >> I came across a package called MacInstallerBuilder which looks >> promising, >> but am wondering if any folks around here have other experience >> and/or >> suggestions. Please contact off-list. >> >> Thanks & Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, Multimedia & Design >> ----- >> E: scott at tactilemedia.com >> W: http://www.tactilemedia.com >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From luis at anachreon.co.uk Tue Jan 30 11:04:33 2007 From: luis at anachreon.co.uk (Luis) Date: Tue, 30 Jan 2007 16:04:33 +0000 Subject: Physical Screen Size In-Reply-To: <45B0F7A4.1000206@anachreon.co.uk> References: <5CC9AE0F-EAFA-4AD0-8BF3-1540755947FC@orwell.net> <47C7135B-6A04-4FCF-952D-D885598D5315@orwell.net> <45B0EB0A.60905@anachreon.co.uk> <6D228917-2471-40A1-BFED-749EED2735C4@economy-x-talk.com> <45B0F7A4.1000206@anachreon.co.uk> Message-ID: <45BF6C91.1010207@anachreon.co.uk> Found this under the 'print' entry in the Rev Dictionary: 'The pageRect is the rectangle into which the card is printed, and consists of four integers separated by commas: the left, top, right, and bottom edges of the printed card, in points. (There are 72 points to an inch.) The card is scaled to fit the specified pageRect. If you don't specify a pageRect, the card's size depends on the printScale property.' Might help in calibrating the size. Cheers, Luis. Luis wrote: > Hmmm, ok. What you could then do is open a dialogue box asking for > dimensions (17 inch, 19 inch, etc), resolution, type (CRT, LCD or > Plasma) and dpi. If the dpi is unknown by the user you could try to > default to the most common dpi for that 'type' of monitor. > > Cheers, > > Luis. > > > Mark Schonewille wrote: >> Hi Luis, >> >> Yup, my main monitor is of the brand "unknown". >> >> Mark >> >> -- >> >> Economy-x-Talk >> Consultancy and Software Engineering >> http://economy-x-talk.com >> http://www.salery.biz >> >> Get your store on-line within minutes with Salery Web Store software. >> Download at http://www.salery.biz >> >> Op 19-jan-2007, om 17:00 heeft Luis het volgende geschreven: >> >>> Hiya, >>> >>> If you can determine the monitor type you could probe a database of >>> configurations/resolution/dpi settings etc and then calculate the >>> image size (using its coordinates) based on this information. >>> I haven't looked into this but I reckon OSX and WXP have these in the >>> system somewhere (so they can 'plug and play'). >>> >>> >>> Cheers, >>> >>> Luis. >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From devin_asay at byu.edu Tue Jan 30 11:28:46 2007 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 30 Jan 2007 09:28:46 -0700 Subject: Infinity Char on Windows In-Reply-To: <39308B8D-5958-4A87-8FA0-C53B6E01A91D@cox.net> References: <20070123033052.9B5AB489008@mail.runrev.com> <39308B8D-5958-4A87-8FA0-C53B6E01A91D@cox.net> Message-ID: <9D115CC4-C16D-4E73-BF4C-169D172E24B8@byu.edu> On Jan 28, 2007, at 3:14 PM, Mark Greenberg wrote: > I am trying to port my math stacks from Mac to Windows. Some of > the stacks use the infinity character (like a sideways 8), but in > Windows it displays as a box instead. Does anyone know how I might > make that display properly in Windows? If the solution involves > Unicode, be explicit because I've never tried to make Unicode work > for me in Rev. Using html entities is a reliable way to preserve symbols and special characters cross platform. Try this: set the htmlText of fld "myMathFld" to "" Of course, you'd have to include whatever other characters were needed in the html string. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From devin_asay at byu.edu Tue Jan 30 11:57:25 2007 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 30 Jan 2007 09:57:25 -0700 Subject: In standalone, closing a modal closes everything In-Reply-To: References: Message-ID: <86C3A29F-11D7-4A27-BD1A-71F6E52A945A@byu.edu> Mark, On Jan 30, 2007, at 4:46 AM, Mark Powell wrote: > Here is a distillation of my problem. From my main stack, I call a > stack with > > modal stack "MyAnswerDialog" > > On that modal stack, there is an OK button with the script ending with > > close this stack > > In the development environment, the modal is closed as expected and > you > return to the main stack. As an executable, clicking the OK button > quits the application (i.e. OK closes both main and modal stacks). > I am > using Rev 2.7.2. Am I doing something wrong? I could have sworn > this > has worked in the past. If you use the following, does it still happen in the standalone: close stack "MyAnswerDialog" ? I'm wondering if, for some reason, the closeStack message is being sent up the hierarchy when running in standalone mode. In other words, maybe "close this stack" is being executed by the mainstack (the engine in the standalone.) Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From ambassador at fourthworld.com Tue Jan 30 12:02:28 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 30 Jan 2007 09:02:28 -0800 Subject: U3 questions Message-ID: <45BF7A24.5030701@fourthworld.com> I have a client who wants U3 deployment, and two questions come to mind right off the bat: 1. Where are the U3 docs? I searched the User Guide and Dictionary for "U3" and came up empty except for "u3eject". Where does one learn more? 2. How does one save files to the U3 drive if it's yanked from the computer? The example of the only U3 token currently in the dictionary, u3Eject, is: on u3eject saveFiles end u3eject If the device is removed, how is that possible? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From m.schonewille at economy-x-talk.com Tue Jan 30 12:06:38 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 30 Jan 2007 18:06:38 +0100 Subject: U3 questions In-Reply-To: <45BF7A24.5030701@fourthworld.com> References: <45BF7A24.5030701@fourthworld.com> Message-ID: <682CD230-2990-4F5B-B60A-931A8226DF1F@economy-x-talk.com> Hi Richard, There is some important information in the "What's New" files that come with Revolution. You handle the u3Eject message in the startUp handler, which is sent to your standalone together with a parameter. The parameters are described in aforementioned file. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 30-jan-2007, om 18:02 heeft Richard Gaskin het volgende geschreven: > I have a client who wants U3 deployment, and two questions come to > mind right off the bat: > > > 1. Where are the U3 docs? > I searched the User Guide and Dictionary for "U3" and came up empty > except for "u3eject". > > Where does one learn more? > > > 2. How does one save files to the U3 drive if it's yanked from the > computer? > The example of the only U3 token currently in the dictionary, > u3Eject, is: > > on u3eject > saveFiles > end u3eject > > If the device is removed, how is that possible? > > > -- > Richard Gaskin > Fourth World Media Corporation From list at dreamscapesoftware.com Tue Jan 30 12:30:41 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Tue, 30 Jan 2007 11:30:41 -0600 Subject: U3 questions In-Reply-To: <45BF7A24.5030701@fourthworld.com> References: <45BF7A24.5030701@fourthworld.com> Message-ID: <45BF80C1.20702@dreamscapesoftware.com> Richard Gaskin wrote: > 2. How does one save files to the U3 drive if it's yanked from the > computer? Short answer: You can't. You can only prepare for it. Long answer: Users of U3 are instructed over and over again to click the "Eject" button within the U3 program. If they do not, and eject the drive anyways, the next time they plug it in they are re-warned of data loss. The best way to handle this type of behavior in my own opinion is to employ a "HyperCard" type of mentality... write everything. In HyperCard, the stack would automatically save when the browse tool is used. If you employ the same tactic with your U3 app, even if the stick is removed, the data will have already been written. Obviously this tactic will not work for every type of program, but it should work for most. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ From ambassador at fourthworld.com Tue Jan 30 12:43:45 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 30 Jan 2007 09:43:45 -0800 Subject: U3 questions Message-ID: <45BF83D1.3060602@fourthworld.com> Mark Schonewille wrote: > There is some important information in the "What's New" files that > come with Revolution. Thanks. I did some sleuthing and turned up the PDF with the details: /Resources/Examples/U3 Documentation.pdf > You handle the u3Eject message in the startUp handler, which is sent > to your standalone together with a parameter. I don't understand. If I'm responding to the startup message, how does one also respond to u3eject within that handler? :\ In practice though think we're okay on that one, since my original hunch that u3eject is of limited value seems to be the case. New question: It wasn't clear from the docs how I could get my app to auto-launch instead of U3's launcher app. Is there a way to do that? If I'm required to make my own custom-built drive to do that I may not bother with U3 at all, since we also need Mac and Linux support as well and the complications of U3 may not be worth it just to get auto-launch on one platform. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From saxtell at megavision.com Tue Jan 30 13:11:22 2007 From: saxtell at megavision.com (Steven Axtell) Date: Tue, 30 Jan 2007 12:11:22 -0600 Subject: $279 Sale Price on Studio Message-ID: <001501c7449a$10778870$cfcef9d0@axtell> I got an e-mail indicating that Studio is on sale for $279 until Jan. 31. When I went to purchase it, it was indicated to be $399. Where do we get the 30% discount? Steve Axtell From list at dreamscapesoftware.com Tue Jan 30 13:20:55 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Tue, 30 Jan 2007 12:20:55 -0600 Subject: U3 questions In-Reply-To: <45BF83D1.3060602@fourthworld.com> References: <45BF83D1.3060602@fourthworld.com> Message-ID: <45BF8C87.5010100@dreamscapesoftware.com> Richard Gaskin wrote: > If I'm required to make my own custom-built drive to do that I may not > bother with U3 at all, since we also need Mac and Linux support as well > and the complications of U3 may not be worth it just to get auto-launch > on one platform. If you want auto-launch, you'd be better of writing your own Application to do it. A program that sits on a Mac, Windows and Linux box that constantly polls for the device, and then launches the program when found. And something to ponder... The only reason I have U3 on my flash drive is because I can now develop for it. Before Rev supported U3, I removed it from my flash drive as I saw no benefit from it. Just my two cents. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ From joel.guillod at net2000.ch Tue Jan 30 13:44:03 2007 From: joel.guillod at net2000.ch (Joel Guillod) Date: Tue, 30 Jan 2007 19:44:03 +0100 Subject: SQLite and multiuser In-Reply-To: <20070130180006.78166488D9C@mail.runrev.com> References: <20070130180006.78166488D9C@mail.runrev.com> Message-ID: The SQLite documentation under topic ?File Locking And Concurrency? states: ?SQLite uses POSIX advisory locks to implement locking on Unix. On windows it uses the LockFile(), LockFileEx(), and UnlockFile () system calls. SQLite assumes that these system calls all work as advertised. If that is not the case, then database corruption can result. One should note that POSIX advisory locking is known to be buggy or even unimplemented on many NFS implementations (including recent versions of Mac OS X) and that there are reports of locking problems for network filesystems under windows. Your best defense is to not use SQLite for files on a network filesystem.? The last sentence clearly demonstrates that SQLite files should not be used on a network. So, I would be pleased to have advices on how to access SQLite database throught network in a multiuser environment. There is one relatively easy implementation scenario I think about: to write a Rev application which works as a SQLite server and to which any client Rev application connects to in order to query the databases. In such a way only the server is dealing with database files and this probably works okay for small network traffic. Any other suggestion for a solution would be welcome. Thanks, JG From mark_powell at symantec.com Tue Jan 30 13:45:58 2007 From: mark_powell at symantec.com (Mark Powell) Date: Tue, 30 Jan 2007 10:45:58 -0800 Subject: In standalone, closing a modal closes everything References: <45BF4E4B.3010600@fourthworld.com> Message-ID: > It ends with that -- what comes before it? --in main stack, button script is... on mouseUp openLicenseDialog end mouseUp --in main stack, stack script is... on openLicenseDialog modal stack "License" end openLicenseDialog --in stack "License", button script is... on mouseUp RequestDone end mouseUp --in stack "License", stack script is... on RequestDone close this stack end RequestDone BTW, Devin, I have tried saying specifically close stack "License" but the result is the same. I should clarify one thing. In development it works as expected. In the standalone model, I am using the altSplash methodology, so the splash screen is technically the executable, while the main stack referenced above is an un-compiled stack. Also, I know there has been a bug in one version of Rev or another of focus switching out of Rev into another application. I experience that with 2.7.2. I can hack together a small sample of what I am talking about later today, but any idea beforehand are greatly appreciated. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From wsumner at im.wustl.edu Tue Jan 30 13:52:56 2007 From: wsumner at im.wustl.edu (Walton Sumner) Date: Tue, 30 Jan 2007 12:52:56 -0600 Subject: Physical Screen Size Message-ID: I have a survey instrument which can require interface elements to have exact physical lengths, especially a "visual analog scale" that is traditionally 10 cm. Not knowing what the screen settings will be on client machines, I have for the time being put a button on the first screen of the survey instrument that allows a survey administrator to drag it's right edge until it is 2 cm long. Then anything else in the stack that needs an absolute size can be rescaled accordingly. You can put some constraints on the assertions, like expecting no more than 100 pixels/2cm and no less than 50 (one real value is 83 on this iMac). So far I've assumed that pixels are squares, hope that's safe. As long as the survey instrument resides on a given machine, this is a one-time, set-and-forget event. The rev program reads instructions (including VAS lengths) in text files to implement new surveys, so the client holding the pixels/cm data should not be replaced very often. It is not at all elegant, but I expect that the obvious variations on this theme are pretty reliable (eg, "How long is this line?", "Click 3 cm from the end of this line"), and perhaps less trouble for the user than asking for several unfamiliar measurements. Still, if there is a transparent way, I'd like to use it! To use the info that Luis found, it seems like you would have to assert a pagerect in a print command, then get the printscale used in printing the page, then calculate the absolute size of the card on screen. Has anyone tried that? Seems like the simplest thing to do should be to read the diagonal of used screen space from the hardware, but I do not see a rev command to do that. Maybe there is a shell command to read the diagonal on some systems, but I have not found it. Walton Sumner > Found this under the 'print' entry in the Rev Dictionary: > > 'The pageRect is the rectangle into which the card is printed, and > consists of four integers separated by commas: the left, top, right, and > bottom edges of the printed card, in points. (There are 72 points to an > inch.) The card is scaled to fit the specified pageRect. If you don't > specify a pageRect, the card's size depends on the printScale property.' > > Might help in calibrating the size. > > Cheers, > > Luis. > > > > Luis wrote: >> Hmmm, ok. What you could then do is open a dialogue box asking for >> dimensions (17 inch, 19 inch, etc), resolution, type (CRT, LCD or >> Plasma) and dpi. If the dpi is unknown by the user you could try to >> default to the most common dpi for that 'type' of monitor. >> >> Cheers, >> >> Luis. >> >> >> Mark Schonewille wrote: >>> Hi Luis, >>> >>> Yup, my main monitor is of the brand "unknown". >>> >>> Mark >>> >>> -- >>> >>> Economy-x-Talk >>> Consultancy and Software Engineering >>> http://economy-x-talk.com >>> http://www.salery.biz >>> >>> Get your store on-line within minutes with Salery Web Store software. >>> Download at http://www.salery.biz >>> >>> Op 19-jan-2007, om 17:00 heeft Luis het volgende geschreven: >>> >>>> Hiya, >>>> >>>> If you can determine the monitor type you could probe a database of >>>> configurations/resolution/dpi settings etc and then calculate the >>>> image size (using its coordinates) based on this information. >>>> I haven't looked into this but I reckon OSX and WXP have these in the >>>> system somewhere (so they can 'plug and play'). >>>> >>>> >>>> Cheers, >>>> >>>> Luis. From runrev260805 at m-r-d.de Tue Jan 30 14:04:13 2007 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Tue, 30 Jan 2007 19:04:13 +0000 Subject: $279 Sale Price on Studio Message-ID: Did you enter the coupon code JANSALE3 ? Cheers, Matthias -------- Original Message -------- Subject: $279 Sale Price on Studio (30-Jan-2007 19:09) From: Steven Axtell To: runrev260805 at m-r-d.de > I got an e-mail indicating that Studio is on sale for $279 until Jan. 31. > When I went to purchase it, it was indicated to be $399. Where do we get > the 30% discount? > > Steve Axtell > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > To: use-revolution at lists.runrev.com From sunshine at public.kherson.ua Tue Jan 30 14:04:18 2007 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue, 30 Jan 2007 21:04:18 +0200 Subject: SQLite and multiuser In-Reply-To: Message-ID: On 30/1/07 8:44 PM, "Joel Guillod" wrote: Hi Joel, > The SQLite documentation under topic ?File Locking And Concurrency? > states: ?SQLite uses POSIX advisory locks to implement locking on > Unix. On windows it uses the LockFile(), LockFileEx(), and UnlockFile > () system calls. SQLite assumes that these system calls all work as > advertised. If that is not the case, then database corruption can > result. One should note that POSIX advisory locking is known to be > buggy or even unimplemented on many NFS implementations (including > recent versions of Mac OS X) and that there are reports of locking > problems for network filesystems under windows. Your best defense is > to not use SQLite for files on a network filesystem.? 1) > The last sentence clearly demonstrates that SQLite files should not > be used on a network. 2) > So, I would be pleased to have advices on how > to access SQLite database throught network in a multiuser environment. See above (1) :-) > There is one relatively easy implementation scenario I think about: > to write a Rev application which works as a SQLite server and to > which any client Rev application connects to in order to query the > databases. In such a way only the server is dealing with database > files and this probably works okay for small network traffic. I.e. You want invent a bike? :-) and develop ala-Oracle / ala-mySQL / ala-Valentina Server ? Yes with some N developer/months/years its possible I think. Also solve issues when you need send/get few queries to do logical step...interesting how this is possible using db level locks ... And a lots of other issues. > Any other suggestion for a solution would be welcome. Use existed bikes? :-) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From chipp at chipp.com Tue Jan 30 14:11:00 2007 From: chipp at chipp.com (Chipp Walters) Date: Tue, 30 Jan 2007 13:11:00 -0600 Subject: In standalone, closing a modal closes everything In-Reply-To: References: <45BF4E4B.3010600@fourthworld.com> Message-ID: <7aa52a210701301111w100e33dby982704e64558cfc2@mail.gmail.com> I imagine the closeStack message is being sent to your mainStack (not the altSplash stack). If you don't change the originating call, then handle it in the card or stack script of the mainStack. From chipp at chipp.com Tue Jan 30 14:21:02 2007 From: chipp at chipp.com (Chipp Walters) Date: Tue, 30 Jan 2007 13:21:02 -0600 Subject: [OT] Building Mac Installers In-Reply-To: References: <4EEFED56-7B90-40D4-AD9A-4BD2A8AF0C9C@mac.com> Message-ID: <7aa52a210701301121u6a4f7a94r4d92b990bed3f52@mail.gmail.com> Scott, Let us know what you find out! I would like a Mac installer which would do the following: 1) Create an Internet compatible DMG 2) Create an install finder window like: http://www.altuit.com/webs/altuit2/StandaloneBuilderTutorial/16.jpg 3) Display the README.txt and LICENSE.txt files BEFORE allowing install (with checkboxes of course) 4) Extra bonus points if it actually installs anything. For some reason, Apple thinks mounting a DMG as a volume is the same as installing an application. Unless one knows to drag/drop the contents TO the APPS folder, the program is GONE next reboot (not to mention it is a write-only partition). An installer, which installs (like every other platform uses) would be nice. -Chipp From mpetrides at earthlink.net Tue Jan 30 14:33:56 2007 From: mpetrides at earthlink.net (Marian Petrides) Date: Tue, 30 Jan 2007 13:33:56 -0600 Subject: [OT] Building Mac Installers In-Reply-To: <7aa52a210701301121u6a4f7a94r4d92b990bed3f52@mail.gmail.com> References: <4EEFED56-7B90-40D4-AD9A-4BD2A8AF0C9C@mac.com> <7aa52a210701301121u6a4f7a94r4d92b990bed3f52@mail.gmail.com> Message-ID: <05233382-34F7-4789-A8F8-DF5E56DD4367@earthlink.net> I think you meant, read only, correct Chipp? On Jan 30, 2007, at 1:21 PM, Chipp Walters wrote: > not to mention it is a write-only partition From soapdog at mac.com Tue Jan 30 14:36:11 2007 From: soapdog at mac.com (Andre Garzia) Date: Tue, 30 Jan 2007 17:36:11 -0200 Subject: [OT] Building Mac Installers In-Reply-To: <7aa52a210701301121u6a4f7a94r4d92b990bed3f52@mail.gmail.com> References: <4EEFED56-7B90-40D4-AD9A-4BD2A8AF0C9C@mac.com> <7aa52a210701301121u6a4f7a94r4d92b990bed3f52@mail.gmail.com> Message-ID: Chipp, why don't you use a .pkg file? The Developers Tools come with PackageMaker, it allows you to build nice installers that actually install something. Andre On Jan 30, 2007, at 5:21 PM, Chipp Walters wrote: > Scott, > Let us know what you find out! > I would like a Mac installer which would do the following: > > 1) Create an Internet compatible DMG > 2) Create an install finder window like: > http://www.altuit.com/webs/altuit2/StandaloneBuilderTutorial/16.jpg > 3) Display the README.txt and LICENSE.txt files BEFORE allowing > install > (with checkboxes of course) > 4) Extra bonus points if it actually installs anything. For some > reason, > Apple thinks mounting a DMG as a volume is the same as installing an > application. Unless one knows to drag/drop the contents TO the APPS > folder, > the program is GONE next reboot (not to mention it is a write-only > partition). An installer, which installs (like every other platform > uses) > would be nice. > > -Chipp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From runrev260805 at m-r-d.de Tue Jan 30 14:50:03 2007 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Tue, 30 Jan 2007 19:50:03 +0000 Subject: Re-2: $279 Sale Price on Studio Message-ID: It seems, that the coupon code provided by Runrev does not work for whatever reason. Tried JANSALE30 - didn?t work. Tried JANSALE1 - and it worked. Using JANSALE1 gives a discount of 30%. Very funny. Did no one before find out, that the coupon code does not work? Matthias -------- Original Message -------- Subject: Re: $279 Sale Price on Studio (30-Jan-2007 20:07) From: runrev260805 at m-r-d.de To: runrev260805 at m-r-d.de > Did you enter the coupon code JANSALE3 ? > > Cheers, > > Matthias > > > -------- Original Message -------- > Subject: $279 Sale Price on Studio (30-Jan-2007 19:09) > From: Steven Axtell > To: runrev260805 at m-r-d.de > > > I got an e-mail indicating that Studio is on sale for $279 until Jan. 31. > > When I went to purchase it, it was indicated to be $399. Where do we get > > the 30% discount? > > > > Steve Axtell > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > > > > To: use-revolution at lists.runrev.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > To: use-revolution at lists.runrev.com From lists at mangomultimedia.com Tue Jan 30 15:00:55 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 30 Jan 2007 12:00:55 -0800 Subject: [OT] Building Mac Installers In-Reply-To: <7aa52a210701301121u6a4f7a94r4d92b990bed3f52@mail.gmail.com> References: <4EEFED56-7B90-40D4-AD9A-4BD2A8AF0C9C@mac.com> <7aa52a210701301121u6a4f7a94r4d92b990bed3f52@mail.gmail.com> Message-ID: <7E3DA9DF-87D6-42DC-9A68-78D16C0A45A1@mangomultimedia.com> On Jan 30, 2007, at 11:21 AM, Chipp Walters wrote: > Scott, > Let us know what you find out! > I would like a Mac installer which would do the following: > > 1) Create an Internet compatible DMG > 2) Create an install finder window like: > http://www.altuit.com/webs/altuit2/StandaloneBuilderTutorial/16.jpg > 3) Display the README.txt and LICENSE.txt files BEFORE allowing > install > (with checkboxes of course) > 4) Extra bonus points if it actually installs anything. For some > reason, > Apple thinks mounting a DMG as a volume is the same as installing an > application. Unless one knows to drag/drop the contents TO the APPS > folder, > the program is GONE next reboot (not to mention it is a write-only > partition). An installer, which installs (like every other platform > uses) > would be nice. FileStorm from MindVision does all of these things. For DMG files that don't require installers, having an alias to the Applications folder on the DMG itself is handy so the user just drops the application onto the alias to install. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From jacque at hyperactivesw.com Tue Jan 30 15:18:09 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 30 Jan 2007 14:18:09 -0600 Subject: [OT] Building Mac Installers In-Reply-To: <7aa52a210701301121u6a4f7a94r4d92b990bed3f52@mail.gmail.com> References: <4EEFED56-7B90-40D4-AD9A-4BD2A8AF0C9C@mac.com> <7aa52a210701301121u6a4f7a94r4d92b990bed3f52@mail.gmail.com> Message-ID: <45BFA801.3060105@hyperactivesw.com> Chipp Walters wrote: > Scott, > Let us know what you find out! > I would like a Mac installer which would do the following: > > 1) Create an Internet compatible DMG > 2) Create an install finder window like: > http://www.altuit.com/webs/altuit2/StandaloneBuilderTutorial/16.jpg > 3) Display the README.txt and LICENSE.txt files BEFORE allowing install > (with checkboxes of course) > 4) Extra bonus points if it actually installs anything. For some reason, > Apple thinks mounting a DMG as a volume is the same as installing an > application. Unless one knows to drag/drop the contents TO the APPS folder, > the program is GONE next reboot (not to mention it is a write-only > partition). An installer, which installs (like every other platform uses) > would be nice. I have to agree with Andre, use PackageMaker. I just finished creating an installer with this and it does everything you ask for and more. Once you've created your package, you can use a utility like DropDMG to put the pkg file onto a downloadable dmg file. Or you can just zip and distribute the pkg file; either one. Note though that most Mac users have no problem dragging apps to the Applications folder and Apple recommends that if you are distributing a single bundle app, you should use the drag method rather than an installer. Installers seem to be a fairly Windows-oriented thing. The main reason my client and I had to use the Apple package installer is because we needed to set custom permissions on a folder, but other than that dragging would have been fine. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Jan 30 15:42:19 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 30 Jan 2007 14:42:19 -0600 Subject: Firefox search plugin for this list on GMane In-Reply-To: <3F33311B-7283-4C30-AEF7-03738C8ABB07@economy-x-talk.com> References: <3F33311B-7283-4C30-AEF7-03738C8ABB07@economy-x-talk.com> Message-ID: <45BFADAB.4070804@hyperactivesw.com> Mark Schonewille wrote: > Hello, > > I have put a Firefox search plugin on the Economy-x-Talk website, which > searches the archives of this list on GMane. You can obtain it by going > to the Developers section of the Economy-x-Talk homepage. At the bottom > of the page, you will find the plugin. Thanks, very nice! There's a better way to install than the suggestion in the pdf, though. Put the files into: ~/Library/Application Support/Firefox/Profiles//searchplugins/ Then relaunch Firefox. Doing it this way, you'll still have the plugin even if you update the application. There's an equivalent folder on Windows too, I just can't remember what it is offhand. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From m.schonewille at economy-x-talk.com Tue Jan 30 15:48:50 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 30 Jan 2007 21:48:50 +0100 Subject: Firefox search plugin for this list on GMane In-Reply-To: <45BFADAB.4070804@hyperactivesw.com> References: <3F33311B-7283-4C30-AEF7-03738C8ABB07@economy-x-talk.com> <45BFADAB.4070804@hyperactivesw.com> Message-ID: <0B1A10FB-795E-49F0-A126-F84C7A81F730@economy-x-talk.com> Thanks, Jacque, I will put this info in the Read Me file. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 30-jan-2007, om 21:42 heeft J. Landman Gay het volgende geschreven: > Thanks, very nice! > > There's a better way to install than the suggestion in the pdf, > though. Put the files into: > > ~/Library/Application Support/Firefox/Profiles// > searchplugins/ > > Then relaunch Firefox. Doing it this way, you'll still have the > plugin even if you update the application. There's an equivalent > folder on Windows too, I just can't remember what it is offhand. From brentj84062 at gmail.com Tue Jan 30 15:50:38 2007 From: brentj84062 at gmail.com (Brent Anderson) Date: Tue, 30 Jan 2007 13:50:38 -0700 Subject: Re-2: $279 Sale Price on Studio In-Reply-To: References: Message-ID: <90343CB5-594F-4F27-A6A8-B15AEDB79B5A@gmail.com> All the newsletter's I've received on the matter have read "JANSALE1" so maybe it was a typo on the part of Matthias? On Jan 30, 2007, at 12:50 PM, runrev260805 at m-r-d.de wrote: > It seems, that the coupon code provided by Runrev does not work for > whatever reason. Tried JANSALE30 - didn?t work. > > Tried JANSALE1 - and it worked. > > Using JANSALE1 gives a discount of 30%. > > Very funny. Did no one before find out, that the coupon code does > not work? > > Matthias > > -------- Original Message -------- > Subject: Re: $279 Sale Price on Studio (30-Jan-2007 20:07) > From: runrev260805 at m-r-d.de > To: runrev260805 at m-r-d.de > >> Did you enter the coupon code JANSALE3 ? >> >> Cheers, >> >> Matthias >> >> >> -------- Original Message -------- >> Subject: $279 Sale Price on Studio (30-Jan-2007 19:09) >> From: Steven Axtell >> To: runrev260805 at m-r-d.de >> >>> I got an e-mail indicating that Studio is on sale for $279 until >>> Jan. 31. >>> When I went to purchase it, it was indicated to be $399. Where >>> do we get >>> the 30% discount? >>> >>> Steve Axtell >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >>> >>> >>> To: use-revolution at lists.runrev.com >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> >> >> To: use-revolution at lists.runrev.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From list at dreamscapesoftware.com Tue Jan 30 15:58:23 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Tue, 30 Jan 2007 14:58:23 -0600 Subject: A few altBrowser questions Message-ID: <45BFB16F.4010307@dreamscapesoftware.com> I've been using altBrowser for a few years now, and I have a few questions that I haven't been able to answer myself. Would any of you happen to know how to resolve some of these issues? AltBrowser 1.8, Revolution Studio 2.7.4, Windows XP Home Edition (SP2): 1. Is there any way to stop IE from automatically issuing a "File Download" dialog box, and let Rev handle it (like on the Mac)? 2. Is there any way to stop IE from automatically issuing a "Script Error" dialog box (even if it's set that way in the Internet Settings control panel)? 3. Is there any way to stop IE from handling window.external.AddSearchProvider("http://www.example.com/Provider.xml") so I can do it instead? It seems that IE disables this feature when it's called by the altBrowser external. If no one has any ideas on these, then I'll post them to BugZilla. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ From runrev260805 at m-r-d.de Tue Jan 30 16:41:38 2007 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Tue, 30 Jan 2007 21:41:38 +0000 Subject: Re-4: $279 Sale Price on Studio Message-ID: Yesterday i received a "Last reminder" which included the coupon code "JANSALE3"? Cheers, Matthias -------- Original Message -------- Subject: Re: Re-2: $279 Sale Price on Studio (30-Jan-2007 21:53) From: Brent Anderson To: runrev260805 at m-r-d.de > All the newsletter's I've received on the matter have read "JANSALE1" so > maybe it was a typo on the part of Matthias? > > On Jan 30, 2007, at 12:50 PM, runrev260805 at m-r-d.de wrote: > > > It seems, that the coupon code provided by Runrev does not work for > > > whatever reason. Tried JANSALE30 - didn?t work. > > > > Tried JANSALE1 - and it worked. > > > > Using JANSALE1 gives a discount of 30%. > > > > Very funny. Did no one before find out, that the coupon code does > > not work? > > > > Matthias > > > > -------- Original Message -------- > > Subject: Re: $279 Sale Price on Studio (30-Jan-2007 20:07) > > From: runrev260805 at m-r-d.de > > To: runrev260805 at m-r-d.de > > > >> Did you enter the coupon code JANSALE3 ? > >> > >> Cheers, > >> > >> Matthias > >> > >> > >> -------- Original Message -------- > >> Subject: $279 Sale Price on Studio (30-Jan-2007 19:09) > >> From: Steven Axtell > >> To: runrev260805 at m-r-d.de > >> > >>> I got an e-mail indicating that Studio is on sale for $279 until > >>> Jan. 31. > >>> When I went to purchase it, it was indicated to be $399. Where > >>> do we get > >>> the 30% discount? > >>> > >>> Steve Axtell > >>> _______________________________________________ > >>> use-revolution mailing list > >>> use-revolution at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-revolution > >>> > >>> > >>> > >>> > >>> To: use-revolution at lists.runrev.com > >> > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > >> > >> > >> > >> To: use-revolution at lists.runrev.com > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > To: use-revolution at lists.runrev.com From runrev260805 at m-r-d.de Tue Jan 30 16:50:15 2007 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Tue, 30 Jan 2007 21:50:15 +0000 Subject: Re-5: $279 Sale Price on Studio Message-ID: Just to be sure, I?ve checked the other final reminder emails. The emails with the altBrowser "logo" did contain the correct code. The "last reminder" with the logo of a brown chipmunk or something similar did contain the wrong coupon code. Best regards, -------- Original Message -------- Subject: Re-4: $279 Sale Price on Studio (30-Jan-2007 22:41) From: runrev260805 at m-r-d.de To: use-revolution at lists.runrev.com > Yesterday i received a "Last reminder" which included the coupon code " > JANSALE3"? > > Cheers, > > Matthias > > > -------- Original Message -------- > Subject: Re: Re-2: $279 Sale Price on Studio (30-Jan-2007 21:53) > From: Brent Anderson > To: runrev260805 at m-r-d.de > > > All the newsletter's I've received on the matter have read "JANSALE1" so > > maybe it was a typo on the part of Matthias? > > > > On Jan 30, 2007, at 12:50 PM, runrev260805 at m-r-d.de wrote: > > > > > It seems, that the coupon code provided by Runrev does not work for > > > > whatever reason. Tried JANSALE30 - didn?t work. > > > > > > Tried JANSALE1 - and it worked. > > > > > > Using JANSALE1 gives a discount of 30%. > > > > > > Very funny. Did no one before find out, that the coupon code does > > > not work? > > > > > > Matthias > > > > > > -------- Original Message -------- > > > Subject: Re: $279 Sale Price on Studio (30-Jan-2007 20:07) > > > From: runrev260805 at m-r-d.de > > > To: runrev260805 at m-r-d.de > > > > > >> Did you enter the coupon code JANSALE3 ? > > >> > > >> Cheers, > > >> > > >> Matthias > > >> > > >> > > >> -------- Original Message -------- > > >> Subject: $279 Sale Price on Studio (30-Jan-2007 19:09) > > >> From: Steven Axtell > > >> To: runrev260805 at m-r-d.de > > >> > > >>> I got an e-mail indicating that Studio is on sale for $279 until > > >>> Jan. 31. > > >>> When I went to purchase it, it was indicated to be $399. Where > > >>> do we get > > >>> the 30% discount? > > >>> > > >>> Steve Axtell > > >>> _______________________________________________ > > >>> use-revolution mailing list > > >>> use-revolution at lists.runrev.com > > >>> Please visit this url to subscribe, unsubscribe and manage your > > >>> subscription preferences: > > >>> http://lists.runrev.com/mailman/listinfo/use-revolution > > >>> > > >>> > > >>> > > >>> > > >>> To: use-revolution at lists.runrev.com > > >> > > >> > > >> _______________________________________________ > > >> use-revolution mailing list > > >> use-revolution at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > > >> subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-revolution > > >> > > >> > > >> > > >> > > >> To: use-revolution at lists.runrev.com > > > > > > > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > > > > To: use-revolution at lists.runrev.com From nealk3nc at gmail.com Tue Jan 30 16:56:15 2007 From: nealk3nc at gmail.com (Neal Campbell K3NC) Date: Tue, 30 Jan 2007 16:56:15 -0500 Subject: Is there a reason to own 2 different Studio platforms? Message-ID: <7002D791-7EB4-41F5-926B-EAF09A60A31B@gmail.com> Sorry if this hits the list as a duplicate. I bought Studio to program on the Mac, with some intent to be able to have easy porting to Linux and Windows. The marketing spin on the website implies you really need to own only 1 platform of Studio as you can develop once and deploy many. Is this the opinion of the people on the list? Is there a compelling reason to own Studio on multiple platforms? Neal Campbell nealk3nc at gmail.com "Devoted to Dogs: How to be your dog's best owner" Great Dog Book at www.abrohamneal.com From revlist at azurevision.co.uk Tue Jan 30 17:51:17 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Tue, 30 Jan 2007 22:51:17 +0000 Subject: Is there a reason to own 2 different Studio platforms? In-Reply-To: <7002D791-7EB4-41F5-926B-EAF09A60A31B@gmail.com> References: <7002D791-7EB4-41F5-926B-EAF09A60A31B@gmail.com> Message-ID: <32D9D097-044C-4FE3-B61D-69D932682739@azurevision.co.uk> You only *need* one, but it's *handy* to have it for all your target platforms. An example from this afternoon: Development so far has been on OS X, as part of the preopenstack command I was setting the contents of several fields to "" so that they would start off empty. Slightly later on I was checking if the fields were empty before doing some resizing stuff. Build standalones for OS X & Win. Boot up Parallels, load up a QTVR file and the resizing function isn't working in the Windows version. Turns out that putting "" into a fld on Windows actually puts "0" in there. This was causing the field not to be empty, and giving a 'divide by 0' error. The standalone wasn't giving an error message. By having the development environment available I immediately saw the error message and could track down the bug. Ian On 30 Jan 2007, at 21:56, Neal Campbell K3NC wrote: > Sorry if this hits the list as a duplicate. > > I bought Studio to program on the Mac, with some intent to be able > to have easy porting to Linux and Windows. The marketing spin on > the website implies you really need to own only 1 platform of > Studio as you can develop once and deploy many. > > Is this the opinion of the people on the list? Is there a > compelling reason to own Studio on multiple platforms? > > Neal Campbell > nealk3nc at gmail.com > > "Devoted to Dogs: How to be your dog's best owner" > Great Dog Book at www.abrohamneal.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mdswindell at cruzio.com Tue Jan 30 18:29:36 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Tue, 30 Jan 2007 15:29:36 -0800 Subject: Is there a reason to own 2 different Studio platforms? In-Reply-To: <32D9D097-044C-4FE3-B61D-69D932682739@azurevision.co.uk> References: <7002D791-7EB4-41F5-926B-EAF09A60A31B@gmail.com> <32D9D097-044C-4FE3-B61D-69D932682739@azurevision.co.uk> Message-ID: I recently had a situation where my OS X standalone worked fine, but Windows wasn't working properly. It was because of using a character in a script (? ?) which evaluates fine in OS X but isn't recognized by Windows (must use <= >= . .. who knew?) These kinds of problems make me want to own the second platform license, but I still don't even own a PC or Intel Mac, so until then it's hard to justify. Mark On Jan 30, 2007, at 2:51 PM, Ian Wood wrote: > You only *need* one, but it's *handy* to have it for all your > target platforms. > > An example from this afternoon: > > Development so far has been on OS X, as part of the preopenstack > command I was setting the contents of several fields to "" so that > they would start off empty. Slightly later on I was checking if the > fields were empty before doing some resizing stuff. > > Build standalones for OS X & Win. Boot up Parallels, load up a QTVR > file and the resizing function isn't working in the Windows version. > > Turns out that putting "" into a fld on Windows actually puts "0" > in there. This was causing the field not to be empty, and giving a > 'divide by 0' error. The standalone wasn't giving an error message. > By having the development environment available I immediately saw > the error message and could track down the bug. > > Ian > > On 30 Jan 2007, at 21:56, Neal Campbell K3NC wrote: > >> Sorry if this hits the list as a duplicate. >> >> I bought Studio to program on the Mac, with some intent to be able >> to have easy porting to Linux and Windows. The marketing spin on >> the website implies you really need to own only 1 platform of >> Studio as you can develop once and deploy many. >> >> Is this the opinion of the people on the list? Is there a >> compelling reason to own Studio on multiple platforms? >> >> Neal Campbell >> nealk3nc at gmail.com >> >> "Devoted to Dogs: How to be your dog's best owner" >> Great Dog Book at www.abrohamneal.com >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Tue Jan 30 18:31:11 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 30 Jan 2007 17:31:11 -0600 Subject: Is there a reason to own 2 different Studio platforms? In-Reply-To: <32D9D097-044C-4FE3-B61D-69D932682739@azurevision.co.uk> References: <7002D791-7EB4-41F5-926B-EAF09A60A31B@gmail.com> <32D9D097-044C-4FE3-B61D-69D932682739@azurevision.co.uk> Message-ID: <45BFD53F.9000708@hyperactivesw.com> Ian Wood wrote: > Turns out that putting "" into a fld on Windows actually puts "0" in > there. I don't see that normally. I've only seen it happen on occasion when doing math operations that involve numberformat. But when that happens, it does it on all platforms. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From saxtell at megavision.com Tue Jan 30 19:21:52 2007 From: saxtell at megavision.com (Steven Axtell) Date: Tue, 30 Jan 2007 18:21:52 -0600 Subject: $279 Sale Price on Studio References: Message-ID: <001c01c744cd$d0643100$1acef9d0@axtell> > It seems, that the coupon code provided by Runrev does not work for whatever reason. Tried JANSALE30 - didn?t work. > > Tried JANSALE1 - and it worked. > > Using JANSALE1 gives a discount of 30%. > > Very funny. Did no one before find out, that the coupon code does not work? > > Matthias > > > > Matthias, Thanks for the information. I realized later that I needed to type in the JANSALE1 code. Steve From markgreenberg at cox.net Tue Jan 30 19:51:17 2007 From: markgreenberg at cox.net (Mark Greenberg) Date: Tue, 30 Jan 2007 17:51:17 -0700 Subject: Infinity Char on Windows In-Reply-To: <20070130180006.B2B9D488FF5@mail.runrev.com> References: <20070130180006.B2B9D488FF5@mail.runrev.com> Message-ID: Thanks for the responses. I haven't had a chance to sit down and try the solutions yet, but between the HTML entity code and the Symbols font I should be able to make it work. Thanks Devin and Ken. Jeanne, to answer your question, the infinity sign is placed in a field when the user hits the space bar, so I handle the MouseDown message to insert it. The same field has to be able to handle numbers as well. I've got three fields for user input (via key capture first) and two static fields that combine to show the range or domain of a function: 43 < x < 144. A very preliminary attempt to use the Symbol font made an infinity that was too small and too low to look good in the math expression, but I can massage that with TextShift and TextSize. Rather than scripting font, size, and shift changes to the field, and then back again every time the user types infinity, I might be able to achieve the same effect by putting a permanent infinity behind the field, and hiding the field if the user types the space bar. Hm... You guys (and gals) are a great help! Even if I don't end up using your solutions directly, they cause me to eventually solve the problem one way or another. I love this list. Thanks again, Mark From luis at anachreon.co.uk Tue Jan 30 19:55:14 2007 From: luis at anachreon.co.uk (Luis) Date: Wed, 31 Jan 2007 00:55:14 +0000 Subject: Physical Screen Size In-Reply-To: References: Message-ID: <087ADB20-9A83-49FC-A066-3362AFB1C498@anachreon.co.uk> Ok, what about attaching a scanner that you have already calibrated? Should be easy to up the contrast and then scan for edges. Another option would be to grab a pair of cheap electronic calipers and hacking them onto a USB device to read the output values. Alternatively: Hack a USB mouse and rig the H and V rollers to a table. Then attach a 'pointer' to these rollers and read the H and V values as the item is 'drawn' and translate them into the appropriate size (knowing the dimensions of the table and calibrating accordingly). Hmmm, maybe a graphics tablet would do, but it'd get damaged easily. It would avoid the monitor getting damaged...! I reckon the scanner would be the more accurate option and you can then store that for each client. I wouldn't count on the pixels being square by the way. Cheers, Luis. On 30 Jan 2007, at 18:52, Walton Sumner wrote: > I have a survey instrument which can require interface elements to > have > exact physical lengths, especially a "visual analog scale" that is > traditionally 10 cm. Not knowing what the screen settings will be > on client > machines, I have for the time being put a button on the first > screen of the > survey instrument that allows a survey administrator to drag it's > right edge > until it is 2 cm long. Then anything else in the stack that needs an > absolute size can be rescaled accordingly. You can put some > constraints on > the assertions, like expecting no more than 100 pixels/2cm and no > less than > 50 (one real value is 83 on this iMac). So far I've assumed that > pixels are > squares, hope that's safe. > > As long as the survey instrument resides on a given machine, this is a > one-time, set-and-forget event. The rev program reads instructions > (including VAS lengths) in text files to implement new surveys, so the > client holding the pixels/cm data should not be replaced very often. > > It is not at all elegant, but I expect that the obvious variations > on this > theme are pretty reliable (eg, "How long is this line?", "Click 3 > cm from > the end of this line"), and perhaps less trouble for the user than > asking > for several unfamiliar measurements. Still, if there is a > transparent way, > I'd like to use it! > > To use the info that Luis found, it seems like you would have to > assert a > pagerect in a print command, then get the printscale used in > printing the > page, then calculate the absolute size of the card on screen. Has > anyone > tried that? > > Seems like the simplest thing to do should be to read the diagonal > of used > screen space from the hardware, but I do not see a rev command to > do that. > Maybe there is a shell command to read the diagonal on some > systems, but I > have not found it. > > Walton Sumner > >> Found this under the 'print' entry in the Rev Dictionary: >> >> 'The pageRect is the rectangle into which the card is printed, and >> consists of four integers separated by commas: the left, top, >> right, and >> bottom edges of the printed card, in points. (There are 72 points >> to an >> inch.) The card is scaled to fit the specified pageRect. If you don't >> specify a pageRect, the card's size depends on the printScale >> property.' >> >> Might help in calibrating the size. >> >> Cheers, >> >> Luis. >> >> >> >> Luis wrote: >>> Hmmm, ok. What you could then do is open a dialogue box asking for >>> dimensions (17 inch, 19 inch, etc), resolution, type (CRT, LCD or >>> Plasma) and dpi. If the dpi is unknown by the user you could try to >>> default to the most common dpi for that 'type' of monitor. >>> >>> Cheers, >>> >>> Luis. >>> >>> >>> Mark Schonewille wrote: >>>> Hi Luis, >>>> >>>> Yup, my main monitor is of the brand "unknown". >>>> >>>> Mark >>>> >>>> -- >>>> >>>> Economy-x-Talk >>>> Consultancy and Software Engineering >>>> http://economy-x-talk.com >>>> http://www.salery.biz >>>> >>>> Get your store on-line within minutes with Salery Web Store >>>> software. >>>> Download at http://www.salery.biz >>>> >>>> Op 19-jan-2007, om 17:00 heeft Luis het volgende geschreven: >>>> >>>>> Hiya, >>>>> >>>>> If you can determine the monitor type you could probe a >>>>> database of >>>>> configurations/resolution/dpi settings etc and then calculate the >>>>> image size (using its coordinates) based on this information. >>>>> I haven't looked into this but I reckon OSX and WXP have these >>>>> in the >>>>> system somewhere (so they can 'plug and play'). >>>>> >>>>> >>>>> Cheers, >>>>> >>>>> Luis. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From JimCarwardine at OwnYourFuture-net.com Tue Jan 30 20:42:50 2007 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Tue, 30 Jan 2007 21:42:50 -0400 Subject: Re-2: $279 Sale Price on Studio In-Reply-To: Message-ID: Does that discount apply to upgrading from Studio to Enterprise? Jim on 1/30/07 3:50 PM, runrev260805 at m-r-d.de wrote: > It seems, that the coupon code provided by Runrev does not work for whatever > reason. Tried JANSALE30 - didn?t work. > > Tried JANSALE1 - and it worked. > > Using JANSALE1 gives a discount of 30%. > > Very funny. Did no one before find out, that the coupon code does not work? > > Matthias > > -------- Original Message -------- > Subject: Re: $279 Sale Price on Studio (30-Jan-2007 20:07) > From: runrev260805 at m-r-d.de > To: runrev260805 at m-r-d.de > >> Did you enter the coupon code JANSALE3 ? >> >> Cheers, >> >> Matthias >> >> >> -------- Original Message -------- >> Subject: $279 Sale Price on Studio (30-Jan-2007 19:09) >> From: Steven Axtell >> To: runrev260805 at m-r-d.de >> >>> I got an e-mail indicating that Studio is on sale for $279 until Jan. 31. >>> When I went to purchase it, it was indicated to be $399. Where do we get >>> the 30% discount? >>> >>> Steve Axtell >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >>> >>> >>> To: use-revolution at lists.runrev.com >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> >> >> To: use-revolution at lists.runrev.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- www.TalentSeeker.ca www.HiringSmart.ca/ns www.KeepingTheBest.ca/ns Own Your Future Consulting Services Limited, 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From jsng at wayoflife.org Tue Jan 30 22:03:17 2007 From: jsng at wayoflife.org (Jesse Sng) Date: Wed, 31 Jan 2007 11:03:17 +0800 Subject: Standalone building Look and Feel In-Reply-To: References: <20070130180006.78166488D9C@mail.runrev.com> Message-ID: Hi, After quite some time, I've decided to try to release a standalone for testing and I've found some problems with the Look and Feel. I'm using 2.7.4 and I have global floating windows under OS X and was trying to build a Universal Binary. For some reason, while everything looked fine in the development environment, whenever I attempted to build the stack as a standalone, it showed up with an EMULATED MacOS Platinum look instead. It works fine under StackRunner if I drag and drop the stack on it. Am I missing an update or is there something that I missed out? I have the Default Appearance but it seems to explicitly default to Platinum. Apologies if this was something already covered, I did try to do a search but only found stuff about appearance on Linux. Jesse Sng From jacque at hyperactivesw.com Wed Jan 31 00:38:58 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 30 Jan 2007 23:38:58 -0600 Subject: Zipping files Message-ID: <45C02B72.2030003@hyperactivesw.com> I need to compress large-ish files, around 50-100 megs each. I wonder if anyone knows whether zip or gz format is easier on RAM. Is it correct that both methods require about double the amount of RAM as the file size? Is one preferable over the other under low memory conditions? Are there any other considerations when choosing between the two? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From briany at qldlearning.com Wed Jan 31 00:45:05 2007 From: briany at qldlearning.com (Brian Yennie) Date: Tue, 30 Jan 2007 21:45:05 -0800 Subject: Zipping files In-Reply-To: <45C02B72.2030003@hyperactivesw.com> References: <45C02B72.2030003@hyperactivesw.com> Message-ID: Jacque, I don't have a direct answer for you, but I can throw one more alternative in the bucket. If you're doing this under MacOS, you can always use the command-line "gzip" utility through shell(). It's possible this would be more memory efficient than Rev's internal commands, although it also might not be =). With a little shell() shenanigans, it might also allow for asynchronous work in Rev. HTH - Brian > I need to compress large-ish files, around 50-100 megs each. I > wonder if anyone knows whether zip or gz format is easier on RAM. > Is it correct that both methods require about double the amount of > RAM as the file size? Is one preferable over the other under low > memory conditions? Are there any other considerations when choosing > between the two? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From sarah.reichelt at gmail.com Wed Jan 31 00:47:54 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 31 Jan 2007 15:47:54 +1000 Subject: Standalone building Look and Feel In-Reply-To: References: <20070130180006.78166488D9C@mail.runrev.com> Message-ID: The problem is that in the current version of Rev, the standalone builder does not always copy the display plugin bundles to your new app, so they look like they are running under OS 9. You have to find the Plugins inside the Rev app package and copy them to the empty Plugins folder in your app. If you want this to happen autaomtically, here is a link to a script I posted for this purpose. Watch out for line wraps. HTH, Sarah On 1/31/07, Jesse Sng wrote: > Hi, > > After quite some time, I've decided to try to release a standalone > for testing and I've found some problems with the Look and Feel. > > I'm using 2.7.4 and I have global floating windows under OS X and was > trying to build a Universal Binary. For some reason, while everything > looked fine in the development environment, whenever I attempted to > build the stack as a standalone, it showed up with an EMULATED MacOS > Platinum look instead. > > It works fine under StackRunner if I drag and drop the stack on it. > Am I missing an update or is there something that I missed out? I > have the Default Appearance but it seems to explicitly default to > Platinum. > > Apologies if this was something already covered, I did try to do a > search but only found stuff about appearance on Linux. > > > Jesse Sng > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Wed Jan 31 01:52:06 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 30 Jan 2007 22:52:06 -0800 Subject: Zipping files Message-ID: <45C03C96.6030909@fourthworld.com> Jacqueline wrote: > I need to compress large-ish files, around 50-100 megs each. I > wonder if anyone knows whether zip or gz format is easier on RAM. > Is it correct that both methods require about double the amount of > RAM as the file size? Is one preferable over the other under low > memory conditions? Are there any other considerations when choosing > between the two? Many moons ago I had occasion to decompress what turned out to be a 560MB file (started out as about 130MBs) - I used the built-in decompress command, and it worked fine on even an old 500MHz Mac running OS X 10.2 with maybe half a gig of RAM. It took a while (one might expect that with any tool on that machine with that file), but finished with no problems. So suffice to say I've never bothered looking into other options since then. :) -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dave.cragg at lacscentre.co.uk Wed Jan 31 02:46:08 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 31 Jan 2007 07:46:08 +0000 Subject: Infinity Char on Windows In-Reply-To: <20070128222631943870.7356ebb2@sonsothunder.com> References: <20070123033052.9B5AB489008@mail.runrev.com> <39308B8D-5958-4A87-8FA0-C53B6E01A91D@cox.net> <20070128222631943870.7356ebb2@sonsothunder.com> Message-ID: <1CB90AF9-3EAD-4D5C-AC2B-C7B87BCE66FB@lacscentre.co.uk> On 29 Jan 2007, at 04:26, Ken Ray wrote: > Personally, I'd suggest replacing your Mac-only infinity symbols with > the symbol from the Symbol font (ASCII 165), which is cross- > platform so > you won't have to do anything special for Windows. There's a possible gotcha... While the Symbol font may seem cross- platform friendly, if stored in a field, Rev will perform a MacToISO or ISOToMac on the field when you open the stack on the platform on a different platform from which the stack was last saved. > Rather than scripting font, size, and shift changes to the field, > and then back again every time the user types infinity, I might be > able to achieve the same effect by putting a permanent infinity > behind the field, and hiding the field if the user types the space > bar. Because of the above issue, as well as hiding the front field, you may need to reset the infinity character at the same time in case it has been "converted". Cheers Dave From joel.guillod at net2000.ch Wed Jan 31 04:23:46 2007 From: joel.guillod at net2000.ch (Joel Guillod) Date: Wed, 31 Jan 2007 10:23:46 +0100 Subject: SQLite and multiuser In-Reply-To: <20070131014318.9CC42489095@mail.runrev.com> References: <20070131014318.9CC42489095@mail.runrev.com> Message-ID: <398BABFB-F7F3-49BF-AB16-7EF09BF6596F@net2000.ch> > I.e. You want invent a bike? :-) > ... > Use existed bikes? :-) > > -- > Best regards, > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com Of course the question was not targeted to a DBMS vendor. And dont be too presomptive because if you search the web on "SQLite server" you find that there are solutions on the way. Ruslan, I can also return you the question: why did you reinvent the bike? I know one answer: Oracle, MySQL, PostgreSQL are ACID compliant but dont have direct object link... Depending on the trip I prefer to ride a racing bike or a moutain bike! ;-) JG From swartart at iafrica.com Wed Jan 31 04:28:14 2007 From: swartart at iafrica.com (swartart at iafrica.com) Date: Wed, 31 Jan 2007 11:28:14 +0200 Subject: Whiteboard In-Reply-To: <20070128180005.185EC488F6E@mail.runrev.com> References: <20070128180005.185EC488F6E@mail.runrev.com> Message-ID: <1ff59977eedcc23ebcf406fb17ac6b03@iafrica.com> Has anybody here developed a whiteboard application? Is anybody keen to do so? Or willing to guide me through the process? I can get schoolchildren involved. What I am thinking of is something like this: A chat application PLUS a window in which, to start with, the various members of the chat can draw in black line and type in text, in turn or simultaneously. (If simultaneously a split-screen window would be an option, "click here to save this board"). It would be wonderful for collaborative work, such as building a whiteboard application: ) Ryno. From sunshine at public.kherson.ua Wed Jan 31 04:45:27 2007 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed, 31 Jan 2007 11:45:27 +0200 Subject: SQLite and multiuser In-Reply-To: <398BABFB-F7F3-49BF-AB16-7EF09BF6596F@net2000.ch> Message-ID: On 31/1/07 11:23 AM, "Joel Guillod" wrote: Hi Joel, > Of course the question was not targeted to a DBMS vendor. Agree, on the other hand who else can give you the most detailed answer? Developer of photoshop or sound-app? :-) > And dont be too presomptive because if you search the web on "SQLite server" > you find that there are solutions on the way. Yes I know of course. And in REALbasic world exists REAL SQL Server around SqlLite. I believe it have take at least 30-36 developer/months. But if you look little deep -- it is e.g. single thread. Nice? Price $1500 like a big mature cool featured multi-user DBMS... One developer have spend with it few months but return to Valentina, Because for his 1Gb db it did queries up to 2 minutes, which Valentina eat in < 1 second. So be sure -- I know what is possible and how it will work for this or that task. At least because I do communicate each day with many developers who use now or have used different dbs of the world on different platforms with different languages. > Ruslan, I can also return you the question: why did you reinvent the > bike? I know one answer: Oracle, MySQL, PostgreSQL are ACID compliant > but dont have direct object link... Depending on the trip I prefer to > ride a racing bike or a moutain bike! ;-) Easy. Because I do not developer end-user PROJECT which need a db. Instead my project IS a DBMS. You see difference? :-) I do love develop database engine, data models, ... and this is my job last 10+ years. Somebody love develop weapon, somebody love use it. But if tomorrow I will must develop some project, and if I will see that this project cannot use Valentina then I will go to Sybase, MS, ... Or we will improve Valentina... So you are right, Joel, own bike for each trip. :-) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From luis at anachreon.co.uk Wed Jan 31 06:28:51 2007 From: luis at anachreon.co.uk (Luis) Date: Wed, 31 Jan 2007 11:28:51 +0000 Subject: Zipping files In-Reply-To: <45C02B72.2030003@hyperactivesw.com> References: <45C02B72.2030003@hyperactivesw.com> Message-ID: <45C07D73.5020602@anachreon.co.uk> Hiya, If you're on OS X run Activity Viewer with a few test files. On Win XP use the Performance app in Control Panel/Administrative Tools and do the same. From what I recall their RAM use is basically the same, the only bugbear is whether you are decompressing a large single file or lots of small files (which add to approximately the same size as the single file). Lots of small files tend to cane the hard disk most, the processor hit it marginally greater. Cheers, Luis. J. Landman Gay wrote: > I need to compress large-ish files, around 50-100 megs each. I wonder if > anyone knows whether zip or gz format is easier on RAM. Is it correct > that both methods require about double the amount of RAM as the file > size? Is one preferable over the other under low memory conditions? Are > there any other considerations when choosing between the two? > From mark_powell at symantec.com Wed Jan 31 07:16:50 2007 From: mark_powell at symantec.com (Mark Powell) Date: Wed, 31 Jan 2007 04:16:50 -0800 Subject: In standalone, closing a modal closes everything References: <45BF4E4B.3010600@fourthworld.com> <7aa52a210701301111w100e33dby982704e64558cfc2@mail.gmail.com> Message-ID: Well, I guess it is fixed. I had had no closeStack handler in the substack, but when I place on closeStack end closeStack into the stack script of the substack, the resulting executable works. Apparently, a call within the substack button to 'close this stack' or 'close stack "License"' sends a closeStack message up the hierarchy? I did not realize this...I thought the button script had to specifically say 'closeStack' to yield that result. So 'close this stack' in the button apparently reaches the following in the stack script of the main stack on closeStack if the environment is not "development" then quit end closeStack which I guess explains why I was not having a problem in the development environment. Thanks everybody for bearing with me. Mark -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Chipp Walters Sent: Tuesday, January 30, 2007 12:11 PM To: How to use Revolution Subject: Re: In standalone, closing a modal closes everything I imagine the closeStack message is being sent to your mainStack (not the altSplash stack). If you don't change the originating call, then handle it in the card or stack script of the mainStack. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From mark at maseurope.net Wed Jan 31 07:27:47 2007 From: mark at maseurope.net (Mark Smith) Date: Wed, 31 Jan 2007 12:27:47 +0000 Subject: In standalone, closing a modal closes everything In-Reply-To: References: <45BF4E4B.3010600@fourthworld.com> <7aa52a210701301111w100e33dby982704e64558cfc2@mail.gmail.com> Message-ID: <659D332F-2DCF-4445-9724-B2C682E6DDF8@maseurope.net> Mark, the closeStack message is sent by the engine when a stack is closed (a sort of notification that the user has closed a stack), and like other messages, will pass up the message path unless trapped. so if you wanted to use it to make sure the standalone actually quits when the mainstack is closed, rather than any stack, you could do this: in the mainstack script: on closeStack if the environment is not "development" AND the target is me then quit end close stack See also : shutdown, shutdownRequest, closeStackRequest best, Mark On 31 Jan 2007, at 12:16, Mark Powell wrote: > on closeStack > if the environment is not "development" then quit > end closeStack From mark_powell at symantec.com Wed Jan 31 08:08:38 2007 From: mark_powell at symantec.com (Mark Powell) Date: Wed, 31 Jan 2007 05:08:38 -0800 Subject: In standalone, closing a modal closes everything References: <45BF4E4B.3010600@fourthworld.com><7aa52a210701301111w100e33dby982704e64558cfc2@mail.gmail.com> <659D332F-2DCF-4445-9724-B2C682E6DDF8@maseurope.net> Message-ID: Aaargh. I solved the one problem (trapping the closeStack handler) so that the rev application does not quit improperly. However, now a new one has come up. The closing of the modal *SUSPENDS* the application (throws the focus onto Outlook, Photoshop, or some other application)! The rev application is still in the taskbar, it just is not active anymore. This, I believe, is the bug in 2.7.2 that Chipp raised a few weeks back. Am I right? Anyone know if that little bug has been fixed? Or am I again showing my ignorance as to how message passing is supposed to work? Thanks very much. Mark From jsng at wayoflife.org Wed Jan 31 08:37:07 2007 From: jsng at wayoflife.org (Jesse Sng) Date: Wed, 31 Jan 2007 21:37:07 +0800 Subject: Standalone building Look and Feel In-Reply-To: References: <20070130180006.78166488D9C@mail.runrev.com> Message-ID: >The problem is that in the current version of Rev, the standalone >builder does not always copy the display plugin bundles to your new >app, so they look like they are running under OS 9. You have to find >the Plugins inside the Rev app package and copy them to the empty >Plugins folder in your app. This is definitely NOT good. I managed to move the plugins into my standalone by viewing the package and then copying those files but it's going to be a nuisance to keep doing that unless I create a simple app that launches all the other external stacks. Might have to do that for now. Jesse Sng From SimPLsol at aol.com Wed Jan 31 11:10:51 2007 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Wed, 31 Jan 2007 11:10:51 EST Subject: Reminder: SoCal RUG mtg Monday, 12 Feb Message-ID: Richard, I'll be out of town the evening of the RUG meeting, otherwise would be there as always. Could you give me some more specifics on your last statement, like the traditional "what" and "when". Thank you. PL From ambassador at fourthworld.com Wed Jan 31 11:46:05 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 31 Jan 2007 08:46:05 -0800 Subject: Reminder: SoCal RUG mtg Monday, 12 Feb Message-ID: <45C0C7CD.10204@fourthworld.com> SimPLsol wrote: > I'll be out of town the evening of the RUG meeting, otherwise would be there > as always. > Could you give me some more specifics on your last statement, like the > traditional "what" and "when". Thank you. Sure - here's the full text of my post: --==================================================================-- Just a quick reminder about the upcoming soCal Rev User Group meeting -- please RSVP if you plan to attend: The SoCal Revolution User Group will be having a meeting on Monday, 12 February, at 7PM at the Fourth World Embassy in downtown Los Angeles. We have an exciting lineup based around a theme: Collaboration 7PM: Richard Herz of UC San Diego will introduce a work-in-progress - a dynamic process simulator (e.g., water flowing in pipes between tanks) in which process units (e.g., tanks) can be distributed over the Internet to allow team collaboration. 8PM: Dinner at Barbara's, the restaurant here in the complex. 9PM: Josh Mellicker of DV Creators will present a mysterious technology called Green Bongo. He's come a long way since our last meeting -- I got a preview tour of Green Bongo last week and it's quite a treat. The meeting will officially adjourn at around 10PM, but any hardy souls who like can stay late for a game of Extreme Shuffleboard (be forewarned: Ken Ray will be in town and I have reason to believe he cheats ). All are welcome to attend. Please RSVP by sending me an email so I can make sure to have enough dessert on hand. If you need directions to the Embassy just drop me a note and I'll send the details. Looking forward to seeing all you RUG rats there - -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From revdev at pdslabs.net Wed Jan 31 13:45:20 2007 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 31 Jan 2007 10:45:20 -0800 Subject: Zipping files In-Reply-To: <45C02B72.2030003@hyperactivesw.com> References: <45C02B72.2030003@hyperactivesw.com> Message-ID: <45C0E3C0.2040504@pdslabs.net> Hi Jacque, If you're concerned about RAM usage, you could use the open/read/close file approach and compress the file into the custom props of a stack 100K or so at a time, and save the stack when done. Then to decompress, reverse the process - decompress one custom prop at a time (in the same order as compressed, of course) and write it after a new file. I'm assuming this approach would be easier on RAM, but haven't verified it. Also, by using a 'send.. in 0 secs' approach to compress each file segment, you can make the process play nice with UI activity. food for thought - Phil Davis J. Landman Gay wrote: > I need to compress large-ish files, around 50-100 megs each. I wonder if > anyone knows whether zip or gz format is easier on RAM. Is it correct > that both methods require about double the amount of RAM as the file > size? Is one preferable over the other under low memory conditions? Are > there any other considerations when choosing between the two? > From sarah.reichelt at gmail.com Wed Jan 31 15:36:32 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 1 Feb 2007 06:36:32 +1000 Subject: Standalone building Look and Feel In-Reply-To: References: <20070130180006.78166488D9C@mail.runrev.com> Message-ID: On 1/31/07, Jesse Sng wrote: > >The problem is that in the current version of Rev, the standalone > >builder does not always copy the display plugin bundles to your new > >app, so they look like they are running under OS 9. You have to find > >the Plugins inside the Rev app package and copy them to the empty > >Plugins folder in your app. > > This is definitely NOT good. I managed to move the plugins into my > standalone by viewing the package and then copying those files but > it's going to be a nuisance to keep doing that unless I create a > simple app that launches all the other external stacks. Might have to > do that for now. It is a pain, but if you put the script I sent last time in the mainStack's stack script, then it will all be done for you. Sarah From mark at maseurope.net Wed Jan 31 15:37:09 2007 From: mark at maseurope.net (Mark Smith) Date: Wed, 31 Jan 2007 20:37:09 +0000 Subject: Quartam PDF lib Message-ID: <5DB2A6F8-1BB9-491E-B35B-312E59089C5E@maseurope.net> Just a quick note to everyone about Jan Schenkels PDF4Rev library (currently in beta -- see http://www.quartam.com). It's simply excellent. If you've been wondering about ways to generate pdfs from Rev, this is the answer. I've been playing around with it for a couple of days, now, and of the two little niggles I found, one was due to my own misunderstanding, and the other will be fixed in the next release candidate. I can't recommend it highly enough. Best, Mark From cford at sc.edu Wed Jan 31 15:54:09 2007 From: cford at sc.edu (Curt Ford) Date: Wed, 31 Jan 2007 15:54:09 -0500 Subject: clearing a field through a variable holding the name of the field Message-ID: I've got a routine with a number of fields that the user can click on. I keep track of which ones they've clicked on with a mouseUp handler that includes put the target into gFirstGuess At times I need to clear the field referred to by gFirstGuess, but put empty into gFirstGuess seems to just empty the variable, not the field itself. How can I clear the field that gFirstGuess refers to? Am I missing something obvious? Thanks! Curt From dave at looktowindward.com Wed Jan 31 15:59:37 2007 From: dave at looktowindward.com (Dave) Date: Wed, 31 Jan 2007 20:59:37 +0000 Subject: [EN] Answer folder In-Reply-To: <7261180.1156749666056.JavaMail.jrosat@mac.com> References: <3FD7755F-248D-43FE-842B-514E50EA45B2@mac.com> <7261180.1156749666056.JavaMail.jrosat@mac.com> Message-ID: Hi, You should be able to do this in the Standalone Settings Dialog, in the Copy Files Pane, that way whenever you make a Standalone it will automatically copy the files for you! I haven't tried this with the language files but it works fine using other files. All the Best Dave On 28 Aug 2006, at 08:21, J?r?me Rosat wrote: > Thank you Mark for your answer. > > It would be great if Revolution copy these folders automatically ! > > Best regads, > > J?r?me > > On Monday, August 28, 2006, at 00:37AM, Mark Schonewille > wrote: > >> Hello J?r?me, >> >> In the application package of your Revolution application, following >> the path /Revolution/Contents/Resources you will find folders named >> French.lproj and German.lproj etc. Copy these folders over to the >> same location in your standalone application package and it should >> all work fine. >> >> Best, >> >> Mark >> >> -- >> >> Economy-x-Talk >> Consultancy and Software Engineering >> http://economy-x-talk.com >> http://www.salery.biz >> >> Convert HyperCard stacks with DIFfersifier. Download it at http:// >> differsifier.economy-x-talk.com >> >> Op 27-aug-2006, om 23:48 heeft J?r?me Rosat het volgende geschreven: >> >>> >>> Hello, >>> >>> I use Revolution Studio 2.7.3 on a MacBook and with MacOS 10.4.7 in >>> French. >>> >>> I use in the script of a button the function "Answer folder". In >>> the environment of development, the buttons of the window are in >>> French. In the standalone application, buttons are in English. >>> >>> How to make them in French? Is it a bug? >>> >>> Thank you for your help. >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mark at maseurope.net Wed Jan 31 16:04:48 2007 From: mark at maseurope.net (Mark Smith) Date: Wed, 31 Jan 2007 21:04:48 +0000 Subject: clearing a field through a variable holding the name of the field In-Reply-To: References: Message-ID: <91AF187A-A3E1-4F73-B8AA-9BCB8F4708E6@maseurope.net> Try "set the text of gFirstGuess to empty". Best, Mark On 31 Jan 2007, at 20:54, Curt Ford wrote: > I've got a routine with a number of fields that the user can click > on. I keep track of which ones they've clicked on with a mouseUp > handler that includes > > put the target into gFirstGuess > > At times I need to clear the field referred to by gFirstGuess, but > > put empty into gFirstGuess > > seems to just empty the variable, not the field itself. How can I > clear the field that gFirstGuess refers to? Am I missing something > obvious? Thanks! > > Curt > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From cford at sc.edu Wed Jan 31 16:20:26 2007 From: cford at sc.edu (Curt Ford) Date: Wed, 31 Jan 2007 16:20:26 -0500 Subject: clearing a field through a variable holding the name of the field Message-ID: Ah, that did it. Thanks Mark! best, Curt From jacque at hyperactivesw.com Wed Jan 31 16:28:58 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 31 Jan 2007 15:28:58 -0600 Subject: Zipping files In-Reply-To: <45C03C96.6030909@fourthworld.com> References: <45C03C96.6030909@fourthworld.com> Message-ID: <45C10A1A.5000609@hyperactivesw.com> Richard Gaskin wrote: > Jacqueline wrote: >> I need to compress large-ish files, around 50-100 megs each. I wonder >> if anyone knows whether zip or gz format is easier on RAM. Is it >> correct that both methods require about double the amount of RAM as >> the file size? Is one preferable over the other under low memory >> conditions? Are there any other considerations when choosing between >> the two? > > Many moons ago I had occasion to decompress what turned out to be a > 560MB file (started out as about 130MBs) - I used the built-in > decompress command, and it worked fine on even an old 500MHz Mac running > OS X 10.2 with maybe half a gig of RAM. It took a while (one might > expect that with any tool on that machine with that file), but finished > with no problems. > > So suffice to say I've never bothered looking into other options since > then. :) > Thanks, this is great to know. I really would prefer to use the built-in compress command, since it is a one-liner, it's cross platform, and it's easy. I think I'll stick with it since apparently any RAM issues are handled by the engine transparently. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Jan 31 16:39:58 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 31 Jan 2007 15:39:58 -0600 Subject: Zipping files In-Reply-To: <45C07D73.5020602@anachreon.co.uk> References: <45C02B72.2030003@hyperactivesw.com> <45C07D73.5020602@anachreon.co.uk> Message-ID: <45C10CAE.3040504@hyperactivesw.com> Luis wrote: > Hiya, > > If you're on OS X run Activity Viewer with a few test files. > On Win XP use the Performance app in Control Panel/Administrative Tools > and do the same. That was my next step if no one here knew. It's way easier to ask first though. ;) > > From what I recall their RAM use is basically the same, the only > bugbear is whether you are decompressing a large single file or lots of > small files (which add to approximately the same size as the single > file). Lots of small files tend to cane the hard disk most, the > processor hit it marginally greater. That's what I wanted to know. The fact that they are similar in RAM usage is helpful. These will be single-file, one-time compressions. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lists at mangomultimedia.com Wed Jan 31 17:05:09 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 31 Jan 2007 14:05:09 -0800 Subject: Quartam PDF lib In-Reply-To: <5DB2A6F8-1BB9-491E-B35B-312E59089C5E@maseurope.net> References: <5DB2A6F8-1BB9-491E-B35B-312E59089C5E@maseurope.net> Message-ID: <8C9D1D7D-ABEF-42B7-A0C4-6E069A681347@mangomultimedia.com> On Jan 31, 2007, at 12:37 PM, Mark Smith wrote: > Just a quick note to everyone about Jan Schenkels PDF4Rev library > (currently in beta -- see http://www.quartam.com). > > It's simply excellent. If you've been wondering about ways to > generate pdfs from Rev, this is the answer. > > I've been playing around with it for a couple of days, now, and of > the two little niggles I found, one was due to my own > misunderstanding, and the other will be fixed in the next release > candidate. > > I can't recommend it highly enough. I'll second that. Jan has created a really powerful library for creating PDF content. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From revolution at derbrill.de Wed Jan 31 17:41:10 2007 From: revolution at derbrill.de (Malte Brill) Date: Wed, 31 Jan 2007 23:41:10 +0100 Subject: [Ann] New game made with Rev. "Drops" In-Reply-To: <20061208163150.45975489257@mail.runrev.com> References: <20061208163150.45975489257@mail.runrev.com> Message-ID: <1619F7F1-3471-4487-B67E-ABAC40C04CA3@derbrill.de> Hi all, I am very proud to announce that after a while of quietness, I finally released a new product. It is simple. It is fast. It is addictive. It is Drops! Drops is a deceptively simple but captivating game, ideal to play during your coffee break, or for an evening of fun. It's surprisingly addictive and requires more skill than is apparent at first sight. See if you can beat the high score and become immortalized on the high scores board. Become a real Drops master! http://www.derbrill.de/drops/index.php?lang=en There are quite a few people I need to thank: Wouter, Mark, Bj?rnke for sharing devtime on chatrev and banging hard on the game in Beta. Trevor for the excellent getUserLang() function and heads up. Benedikt for additional artwork Daniel and Olli for PHP stuff And finally all of you on use-rev for bearing with me in the silly scripts thread! Without you I wouldn?t have managed! To celebrate a new game made with Rev and animationEngine I am happy to announce that you will get a free copy of Drops with every purchase of animationEngine for a limited time. Buy Animation Engine or Revolution Media with Animation engine and get Drops free! You can download a trial version of Drops from Derbill Website. If you want to read a little article of the dev process you might be interested in reading the current newsletter: http://www.runrev.com/newsletter/january/issue19/newsletter2.php All the best, Malte From revolution at derbrill.de Wed Jan 31 17:44:26 2007 From: revolution at derbrill.de (Malte Brill) Date: Wed, 31 Jan 2007 23:44:26 +0100 Subject: [Ann] New game made with Rev. "Drops" In-Reply-To: <20061208163150.45975489257@mail.runrev.com> References: <20061208163150.45975489257@mail.runrev.com> Message-ID: And an extra thanks to ShaoSean for testing it in unusable state till I reached the final. So excited I nearly forgot. Sorry for the extra mail, but it must be said. :-) All the best, Malte http://www.derbrill.de/drops From soapdog at mac.com Wed Jan 31 17:53:24 2007 From: soapdog at mac.com (Andre Garzia) Date: Wed, 31 Jan 2007 20:53:24 -0200 Subject: anyone here for a Brazilian User Group? Message-ID: Hi Folks, anyone here wants to join forces and create a Brazilian Revolution User Group, with page, in portuguese and try to publish articles and stuff in MacMania and other magazines such as Info Exame? I think the stars are right... Andre From ambassador at fourthworld.com Wed Jan 31 18:09:28 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 31 Jan 2007 15:09:28 -0800 Subject: [Ann] New game made with Rev. "Drops" Message-ID: <45C121A8.801@fourthworld.com> Malte Brill wrote: > I am very proud to announce that after a while of quietness, I > finally released a new product. > > It is simple. It is fast. It is addictive. It is Drops! Looking forward to it, Malte - downloading it now. You do beautiful work. Congratulations! -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Wed Jan 31 18:49:06 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 31 Jan 2007 17:49:06 -0600 Subject: [Ann] New game made with Rev. "Drops" In-Reply-To: <1619F7F1-3471-4487-B67E-ABAC40C04CA3@derbrill.de> References: <20061208163150.45975489257@mail.runrev.com> <1619F7F1-3471-4487-B67E-ABAC40C04CA3@derbrill.de> Message-ID: <45C12AF2.8070303@hyperactivesw.com> Malte Brill wrote: > Hi all, > > I am very proud to announce that after a while of quietness, I finally > released a new product. > > It is simple. It is fast. It is addictive. It is Drops! Congrats, Malte. Your work is lovely. Folks may also be interested in the original Rev clone of RoofRats I released four years ago, called "Blocks". It should still be up on RevOnline and on RevNet if anyone is interested. It's not as pretty as Malte's, but I released it as a scripting exercise. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lists at mangomultimedia.com Wed Jan 31 20:30:50 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 31 Jan 2007 17:30:50 -0800 Subject: [Ann] New game made with Rev. "Drops" In-Reply-To: <1619F7F1-3471-4487-B67E-ABAC40C04CA3@derbrill.de> References: <20061208163150.45975489257@mail.runrev.com> <1619F7F1-3471-4487-B67E-ABAC40C04CA3@derbrill.de> Message-ID: On Jan 31, 2007, at 2:41 PM, Malte Brill wrote: > It is simple. It is fast. It is addictive. Yes it is :-) I find myself opening it a few times a day (I've been using it for a few weeks now) to play. It is a nice break once and a while. > It is Drops! I love the graphics and sound effects. Very fun to play. Well done Monte! -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com