From revlist at azurevision.co.uk Tue Aug 1 00:01:25 2006 From: revlist at azurevision.co.uk (Ian Wood) Date: Tue, 1 Aug 2006 05:01:25 +0100 Subject: Space saving and images In-Reply-To: <000c01c6b51b$bb2534c0$316f9e40$@no> References: <000701c6b510$b818e020$284aa060$@no> <7aa52a210607312001g4241a7e8s56a2911f160ac482@mail.gmail.com> <000c01c6b51b$bb2534c0$316f9e40$@no> Message-ID: At right-angles to the gradient you can stretch the image as much as you want and it won't band at all. In the same direction as the gradient you can often get away with stretching it as long as the original isn't something absurdly small like ten pixels. To cover the whole screen I'd probably stick with 256px as a sensible dimension. Ian On 1 Aug 2006, at 04:36, Jan S?lid wrote: > Ok. > My knowledge of images is limited. > Doesn't smaller gradients lose their detail when stretched? > And about that blending question. Is the built-in blending in rev > faster > than using a png. Image already blended? > > I will try to use smaller images and stretch those. Thanks Chipp > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Chipp > Walters > Sent: 1. august 2006 05:01 > To: How to use Revolution > Subject: Re: Space saving and images > > Jan, > No need to make the gradients that large, a single row or colum if > vertical > or horizontal will work and you can stretch it to make it cover > your card. > Even much smaller gradients stretched work fast enough. > > best, > Chipp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From janselid at broadpark.no Tue Aug 1 00:47:27 2006 From: janselid at broadpark.no (=?iso-8859-1?Q?Jan_S=E6lid?=) Date: Tue, 01 Aug 2006 06:47:27 +0200 Subject: Space saving and images In-Reply-To: References: <000701c6b510$b818e020$284aa060$@no> <7aa52a210607312001g4241a7e8s56a2911f160ac482@mail.gmail.com> <000c01c6b51b$bb2534c0$316f9e40$@no> Message-ID: <001301c6b525$96ed4f70$c4c7ee50$@no> My gradients are not right-angled - so I'll try to make them 256 in both directions - that makes sense. 256 grades should stretch quite well. Thanks a lot to both of you. Jan -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Ian Wood Sent: 1. august 2006 06:01 To: How to use Revolution Subject: Re: Space saving and images At right-angles to the gradient you can stretch the image as much as you want and it won't band at all. In the same direction as the gradient you can often get away with stretching it as long as the original isn't something absurdly small like ten pixels. To cover the whole screen I'd probably stick with 256px as a sensible dimension. Ian On 1 Aug 2006, at 04:36, Jan S?lid wrote: > Ok. > My knowledge of images is limited. > Doesn't smaller gradients lose their detail when stretched? > And about that blending question. Is the built-in blending in rev > faster than using a png. Image already blended? > > I will try to use smaller images and stretch those. Thanks Chipp > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Chipp > Walters > Sent: 1. august 2006 05:01 > To: How to use Revolution > Subject: Re: Space saving and images > > Jan, > No need to make the gradients that large, a single row or colum if > vertical or horizontal will work and you can stretch it to make it > cover your card. > Even much smaller gradients stretched work fast enough. > > best, > Chipp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution 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 scott at tactilemedia.com Tue Aug 1 00:54:12 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 31 Jul 2006 21:54:12 -0700 Subject: [OT] Tactile Closed Message-ID: Hey Folks: This is not an autoresponder -- just a quick note to say our studio will be closed from Aug 1 to Aug 8 for vacation (no email access). For any folks needing software assistance or consulting, please contact us after Aug 8. Best Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From ambassador at fourthworld.com Tue Aug 1 00:58:54 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 31 Jul 2006 21:58:54 -0700 Subject: Buttons within Quicktime Movies Message-ID: <44CEDF8E.3040808@fourthworld.com> Trevor DeVore wrote: > I recall seeing some QT API that will "knock-out" portions of a QT > movie so QT doesn't draw that section to screen (meaning you could > put a Rev button there) but I would be surprised if this gets > implemented in Rev. How would that differ from turning on the alwaysBuffer property to put a button over the movie? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From lan.kc.macmail at gmail.com Tue Aug 1 00:59:09 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 1 Aug 2006 12:59:09 +0800 Subject: Simple mysql tool? In-Reply-To: References: <02607C0C-205A-11DB-9401-00050201C14B@esashiryu.org> Message-ID: On 8/1/06, Josh Mellicker wrote: > > You could try CocoaMySQL on Mac: > > http://cocoamysql.sourceforge.net/ > I also would highly recommend CocoaMySQL although for some funny reason the above site is out dated and refers to version 0.5. Try: http://www.theonline.org/cocoamysql/ The name has changed to CocoaMySQL-SBG and it is currently at 0.7.1 Depending on which version of MySQL your working with may determine if you 'have' to use 0.7.1, it's all in the 'changes' listed on the above page. HTH From lan.kc.macmail at gmail.com Tue Aug 1 01:29:23 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 1 Aug 2006 13:29:23 +0800 Subject: 2.6 Dreamcard stacks won't launch when converted to 2.7 standalones In-Reply-To: References: Message-ID: On 8/1/06, Curtis Ford wrote: > > Can a card be somehow copied or cloned from a 2.6 Dreamcard file into a > fresh 2.7 one? (I just tried to copy & paste a few objects but nothing > happened when I chose 'paste.') Two things here. Firstly, for some reason I can't explain, keyboard shortcuts occasionally don't work for paste, you have to choose the menu item. You did indicate you were 'choosing' but I just wanted to make sure. Secondly, after selecting an object the menu item should read 'Copy Object', and once copied, 'Paste Object'. I just started both 2.6.x (I don't have DreamCard) and 2.7.x IDEs up and if I opened a stack in 2.6 and copied an object, when I then selected the 2.7.x IDE the menu item didn't say Paste Object, so it didn't work. I guess you need both stacks open in one IDE before it will work. HTH From lists at mangomultimedia.com Tue Aug 1 11:30:17 2006 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 1 Aug 2006 08:30:17 -0700 Subject: Buttons within Quicktime Movies In-Reply-To: <44CEDF8E.3040808@fourthworld.com> References: <44CEDF8E.3040808@fourthworld.com> Message-ID: On Jul 31, 2006, at 9:58 PM, Richard Gaskin wrote: > Trevor DeVore wrote: >> I recall seeing some QT API that will "knock-out" portions of a >> QT movie so QT doesn't draw that section to screen (meaning you >> could put a Rev button there) but I would be surprised if this >> gets implemented in Rev. > > How would that differ from turning on the alwaysBuffer property to > put a button over the movie? You don't get the same performance and certain QT features stop working when you have alwaysBuffer set to true. IIRC, The QT API function I'm referring to basically tells QT not to draw in a certain region. I *think* you get normal movie playback everywhere except for the knocked out region. I haven't investigated this too much. I just came across while reading a book once. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From VijayBABU.KALANGI at insead.edu Tue Aug 1 11:57:00 2006 From: VijayBABU.KALANGI at insead.edu (KALANGI Vijay BABU) Date: Tue, 1 Aug 2006 17:57:00 +0200 Subject: How to store objects into a file Message-ID: <29CB66FA5AFE7446BE8729615CE52D790DA5BB7D@GAIA.FBL.insead.intra> Hi all, This is Vijay. New entry into this mailing list!!! Can someone plzz suggest some way to store a complete object into a file and then retrieve it again? Not by actually saving each n every property of the object into the file and recreating it again but by storing the object as a whole ... Thanks in advance, Vijay From briany at qldlearning.com Tue Aug 1 12:06:55 2006 From: briany at qldlearning.com (Brian Yennie) Date: Tue, 1 Aug 2006 09:06:55 -0700 Subject: How to store objects into a file In-Reply-To: <29CB66FA5AFE7446BE8729615CE52D790DA5BB7D@GAIA.FBL.insead.intra> References: <29CB66FA5AFE7446BE8729615CE52D790DA5BB7D@GAIA.FBL.insead.intra> Message-ID: <4af94eff6c5a4af2f29fd5fd38c31a48@qldlearning.com> Vijay, If you don't mind that file being a stack, I would suggest creating an empty stack, copying the object into the stack, and then saving the stack. That's the only way you'll be able to store a binary copy of the object and avoid writing out some sort of textual import/export. Check out create/copy/clone/save/open commands for some leads... HTH, Brian > Hi all, > > This is Vijay. New entry into this mailing list!!! > > > > Can someone plzz suggest some way to store a complete object into a > file > and then retrieve it again? > > > > Not by actually saving each n every property of the object > into the file and recreating it again but by storing the object as a > whole ... > > > > > > Thanks in advance, > > Vijay > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From janselid at broadpark.no Tue Aug 1 12:08:23 2006 From: janselid at broadpark.no (=?iso-8859-1?Q?Jan_S=E6lid?=) Date: Tue, 01 Aug 2006 18:08:23 +0200 Subject: How to store objects into a file In-Reply-To: <29CB66FA5AFE7446BE8729615CE52D790DA5BB7D@GAIA.FBL.insead.intra> References: <29CB66FA5AFE7446BE8729615CE52D790DA5BB7D@GAIA.FBL.insead.intra> Message-ID: <001901c6b584$b7289b00$2579d100$@no> This is something I grabbed from my application. You can of course exchange the functions doFile... with a mouseup handler or anything you want. I don't know if this is good coding, but it works for me on doFileSaveAs Create invisible stack "Scopy" copy button Yourbutton to stack "Scopy" ask file empty with "untitled" save stack "Scopy" as it delete stack "Scopy" end doFileSaveAs on doFileOpen answer file empty with filter "*.*" lock screen toplevel stack it copy button yourbutton to this stack if there is a stack "Scopy" then delete stack "Scopy" end doFileOpen -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of KALANGI Vijay BABU Sent: 1. august 2006 17:57 To: use-revolution at lists.runrev.com Subject: How to store objects into a file Hi all, This is Vijay. New entry into this mailing list!!! Can someone plzz suggest some way to store a complete object into a file and then retrieve it again? Not by actually saving each n every property of the object into the file and recreating it again but by storing the object as a whole ... Thanks in advance, Vijay _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From janselid at broadpark.no Tue Aug 1 12:21:04 2006 From: janselid at broadpark.no (=?iso-8859-1?Q?Jan_S=E6lid?=) Date: Tue, 01 Aug 2006 18:21:04 +0200 Subject: How to store objects into a file In-Reply-To: <001901c6b584$b7289b00$2579d100$@no> References: <29CB66FA5AFE7446BE8729615CE52D790DA5BB7D@GAIA.FBL.insead.intra> <001901c6b584$b7289b00$2579d100$@no> Message-ID: <001a01c6b586$7c847b20$758d7160$@no> Vijay, An important Correction!!!.... >on doFileOpen >answer file empty with filter "*.*" >lock screen >toplevel stack it "copy button yourbutton to this stack" should be: copy button yourbutton to stack yourmainstack >if there is a stack "Scopy" then delete stack "Scopy" >end doFileOpen Jan From liamlambert at mac.com Tue Aug 1 13:11:06 2006 From: liamlambert at mac.com (Liam Lambert) Date: Tue, 1 Aug 2006 18:11:06 +0100 Subject: SELECT FROM Db Message-ID: <4675B5BE-548A-4FD1-B27B-DB6B156E1808@mac.com> Hello everyone what am I doing wrong with this script I have used similar code that worked but this does not global gConID local tBookingID set itemDel to tab put fld "id" into tName put "SELECT (Surname) FROM Booking where FirstName = 'tName'" into tFname put revdb_querylist(,,gConID,tFname) into tName put tName into fld "surName" Thanks Liam IRELAND liamlambert at mac.com From lists at mangomultimedia.com Tue Aug 1 13:23:25 2006 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 1 Aug 2006 10:23:25 -0700 Subject: Buttons within Quicktime Movies In-Reply-To: References: <44CEDF8E.3040808@fourthworld.com> Message-ID: On Aug 1, 2006, at 8:30 AM, Trevor DeVore wrote: > On Jul 31, 2006, at 9:58 PM, Richard Gaskin wrote: > >> Trevor DeVore wrote: >>> I recall seeing some QT API that will "knock-out" portions of a >>> QT movie so QT doesn't draw that section to screen (meaning you >>> could put a Rev button there) but I would be surprised if this >>> gets implemented in Rev. >> >> How would that differ from turning on the alwaysBuffer property to >> put a button over the movie? > > You don't get the same performance and certain QT features stop > working when you have alwaysBuffer set to true. I should note that alwaysBuffer performance may have improved with 2.7 since a change was made to how QT is handled. From Whats_New.txt: "For the QT variant of the player, if QT6 or above is installed it utilises the QTGetTimeUntilNextTask API to ensure that it always updates itself when necessary. This should result in smoother playback than was previously available - particularly for buffered players." -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From mwieder at ahsoftware.net Tue Aug 1 13:23:41 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 1 Aug 2006 10:23:41 -0700 Subject: 2.6 Dreamcard stacks won't launch when converted to 2.7 standalones In-Reply-To: References: Message-ID: <1212871098.20060801102341@ahsoftware.net> Kay- Monday, July 31, 2006, 10:29:23 PM, you wrote: > Secondly, after selecting an object the menu item should read 'Copy Object', > and once copied, 'Paste Object'. I just started both 2.6.x (I don't have > DreamCard) and 2.7.x IDEs up and if I opened a stack in 2.6 and copied an > object, when I then selected the 2.7.x IDE the menu item didn't say Paste > Object, so it didn't work. I guess you need both stacks open in one IDE > before it will work. I've run across this as well. My guess is that the "copy" command just saves a pointer to the original object, so if you close the source stack there's nothing to point to. It took me a while to figure out what was going on. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Tue Aug 1 13:24:50 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 1 Aug 2006 10:24:50 -0700 Subject: [OT] Tactile Closed In-Reply-To: References: Message-ID: <1172940478.20060801102450@ahsoftware.net> Scott- Monday, July 31, 2006, 9:54:12 PM, you wrote: > closed from Aug 1 to Aug 8 for vacation (no email access). For any folks a vacation *without* email access? -- -Mark Wieder mwieder at ahsoftware.net From janschenkel at yahoo.com Tue Aug 1 14:21:24 2006 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 1 Aug 2006 11:21:24 -0700 (PDT) Subject: SELECT FROM Db In-Reply-To: <4675B5BE-548A-4FD1-B27B-DB6B156E1808@mac.com> Message-ID: <20060801182124.69154.qmail@web60512.mail.yahoo.com> --- Liam Lambert wrote: > Hello everyone > what am I doing wrong with this script > I have used similar code that worked but this does > not > > global gConID > local tBookingID > set itemDel to tab > put fld "id" into tName > > put "SELECT (Surname) FROM Booking where > FirstName = 'tName'" > into tFname > put revdb_querylist(,,gConID,tFname) into tName > put tName into fld "surName" > > Thanks > Liam > Hi Liam, The SQL query has no direct way of knowing that tName is a variable in Revolution - that's probably why you get an error saying something is wrong in your query. There are two solutions: 1) Either construct the query as a whole: ## global gConID put fld "id" into tName put "SELECT Surname FROM Booking" && \ "WHERE FirstName = '" & tName & "'" \ into tQuery put revdb_querylist(,,gConID,tQuery) into tSurName put tSurName into fld "surName" ## 2) Or use variable binding: ## global gConID put fld "id" into tName put "SELECT Surname FROM Booking" && \ "WHERE FirstName = :1" \ into tQuery put revdb_querylist(,,gConID,tQuery,"tName") \ into tSurName put tSurName into fld "surName" ## Personally, I prefer method 1, while using the 'merge' function to make things easier to read. ## global gConID put fld "id" into tName put merge("SELECT Surname FROM Booking" && \ "WHERE FirstName = '[[tName]]'") \ into tQuery put revdb_querylist(,,gConID,tQuery) into tSurName put tSurName into fld "surName" ## But for BLOB data, the data binding is a blessing. 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!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From janschenkel at yahoo.com Tue Aug 1 14:30:51 2006 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 1 Aug 2006 11:30:51 -0700 (PDT) Subject: 2.6 Dreamcard stacks won't launch when converted to 2.7 standalones In-Reply-To: Message-ID: <20060801183051.72763.qmail@web60518.mail.yahoo.com> --- Kay C Lan wrote: > > Secondly, after selecting an object the menu item > should read 'Copy Object', > and once copied, 'Paste Object'. I just started both > 2.6.x (I don't have > DreamCard) and 2.7.x IDEs up and if I opened a stack > in 2.6 and copied an > object, when I then selected the 2.7.x IDE the menu > item didn't say Paste > Object, so it didn't work. I guess you need both > stacks open in one IDE > before it will work. > In my experience, you cannot copy controls from one instance of the IDE to another (at least not on Win2K) My guess is that the engine keeps its own internal clipboard for copy+paste of controls. When you copy a control in Rev 2.6, and use the message box to execute the following: answer the clipboard then you'll see 'objects'. Switch over to Rev 2.7, and execute the same command. You'll get 'empty'. Personally, I wish we could have more control over the clipboard, and would be allowed to set our own clipboardData[] types. The same for dragData[] - it would make a drawing app a lot easier to implement. Richard Gasking and I exchanged some ideas on this over at RevConWest, and the best workaround that came up, was to serialize our data in XML format, and just transfer it as text. Ah well, probably more than you ever wanted to know about this topic ;-) 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 bobs at twft.com Tue Aug 1 14:40:57 2006 From: bobs at twft.com (Robert Sneidar) Date: Tue, 1 Aug 2006 11:40:57 -0700 Subject: [OT] Tactile Closed In-Reply-To: <20060801170005.E7B5B826E07@mail.runrev.com> References: <20060801170005.E7B5B826E07@mail.runrev.com> Message-ID: What is "vacation"? Is it anything like "evacuation"? When do they let you come back? Why do you have to go in the first place? All very good questions. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Aug 1, 2006, at 10:00 AM, use-revolution-request at lists.runrev.com wrote: > Message: 6 > Date: Tue, 1 Aug 2006 10:24:50 -0700 > From: Mark Wieder > Subject: Re: [OT] Tactile Closed > To: How to use Revolution > Message-ID: <1172940478.20060801102450 at ahsoftware.net> > Content-Type: text/plain; charset=us-ascii > > Scott- > > Monday, July 31, 2006, 9:54:12 PM, you wrote: > >> closed from Aug 1 to Aug 8 for vacation (no email access). For >> any folks > > a vacation *without* email access? > > -- > -Mark Wieder > mwieder at ahsoftware.net From cford at gwm.sc.edu Tue Aug 1 14:55:57 2006 From: cford at gwm.sc.edu (Curtis Ford) Date: Tue, 01 Aug 2006 14:55:57 -0400 Subject: 2.6 Dreamcard stacks won't launch when converted to 2.7 Message-ID: I've run into the copy/paste problem before, and usually just try to remember to use the pulldown menu.. irritating but not a big deal. I did also try opening a Dreamcard file in 2.7, then opening a new stack, and copying a button into the new stack, but this also didn't let me copy - nothing happened when I chose "paste object." In any case I'm left with the problem of not being able to convert my main project - and everything I've done in Rev - to standalones in 2.7. I've posted a tiny 'hello world' app created in Dreamcard to user space: Curt, category: General; it's called "Hello World Legacy" (3k). If anyone has a moment to try & save it as a standalone, or confirm the problem, I'd really appreciate it. -Curt From dsc at swcp.com Tue Aug 1 16:00:03 2006 From: dsc at swcp.com (Dar Scott) Date: Tue, 1 Aug 2006 14:00:03 -0600 Subject: answer file default *file*? Message-ID: I'm using 'answer file with ' on XP. That seems to be setting the right folder. However, I'd like to have a default file, too, and when I try to include a file path the file field is still blank. Is there a way to specify a default file? Dar Scott From liamlambert at mac.com Tue Aug 1 16:03:45 2006 From: liamlambert at mac.com (Liam Lambert) Date: Tue, 1 Aug 2006 21:03:45 +0100 Subject: SELECT FROM Db Message-ID: <94E5E838-02ED-487D-8959-4856B7BCB810@mac.com> Thank's Jan That did the trick and explained a lot Liam IRELAND liamlambert at mac.com From josh at dvcreators.net Tue Aug 1 16:47:23 2006 From: josh at dvcreators.net (Josh Mellicker) Date: Tue, 1 Aug 2006 13:47:23 -0700 Subject: Simple mysql tool? In-Reply-To: References: <02607C0C-205A-11DB-9401-00050201C14B@esashiryu.org> Message-ID: On Jul 31, 2006, at 9:59 PM, Kay C Lan wrote: >> > > I also would highly recommend CocoaMySQL although for some funny > reason the > above site is out dated and refers to version 0.5. Try: > > http://www.theonline.org/cocoamysql/ > > The name has changed to CocoaMySQL-SBG and it is currently at 0.7.1 Thanks, didn't even know it had revved. From josh at dvcreators.net Tue Aug 1 16:48:34 2006 From: josh at dvcreators.net (Josh Mellicker) Date: Tue, 1 Aug 2006 13:48:34 -0700 Subject: SELECT FROM Db In-Reply-To: <20060801182124.69154.qmail@web60512.mail.yahoo.com> References: <20060801182124.69154.qmail@web60512.mail.yahoo.com> Message-ID: <51080BDD-FC19-427B-8AF0-ED5498080F12@dvcreators.net> I like using "replace()" I find this very readable and simple to write: put "DELETE FROM `tmySQLtableName` WHERE `tIDcolumnName` = tRecordID" into theSQL then, replacing the placeholders: replace "tmySQLtableName" with "accounts" in theSQL replace "tIDcolumnName" with "accountID" in theSQL replace "tRecordID" with q(tRecordID) in theSQL here's the actual handler from whence I draw the example: ON jjSQLdelete tRecordID, tIDcolumnName, tmySQLtableName put "DELETE FROM `tmySQLtableName` WHERE `tIDcolumnName` = tRecordID" into theSQL replace "tmySQLtableName" with tmySQLtableName in theSQL replace "tIDcolumnName" with tIDcolumnName in theSQL replace "tRecordID" with q(tRecordID) in theSQL doThisSQL theSQL END jjSQLdelete FUNCTION q a return quote & a & quote END q FUNCTION bq a return "`" & a & "`" END bq From robmann at gp-racing.com Tue Aug 1 17:45:52 2006 From: robmann at gp-racing.com (Robert Mann) Date: Tue, 1 Aug 2006 17:45:52 -0400 Subject: u3 rev application with mysql/apache In-Reply-To: <44CE64F7.000001.03712@MAZYTIS> Message-ID: tying to get your suggestion to work I have it so that it opens my app which is the first 5 lines but I am not able to get the mysql started here is my autorun.inf [autorun] action=SNmain.exe open=/SNmain/Windows/SNmain.exe shellexecute=/SNmain/Windows/SNmain.exe shell\Auto=&SNmain.exe shell\Auto\command=/SNmain/Windows/SNmain.exe action=xampp_start.exe open=/xampp/xampp_start.exe shellexecute=/xampp/xampp_start.exe shell\Auto=&xampp_start.exe shell\Auto\command=/xampp/xampp_start.exe Icon=sn.ico shell=Auto label=Suspension Network Robert Mann President GP Racing LLC -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Viktoras Didziulis Sent: Monday, July 31, 2006 3:16 PM To: How to use Revolution Subject: Re: u3 rev application with mysql/apache Hi Robert, you do not need U3 drive for this. Some cool things can be done with ordinary flashdrives. For MS Windows you use Autorun.inf like this:[autorun] action=NAME_OF_YOUR_APP open=your_app.exe shellexecute=your_app.exe shell\Auto=&NAME_OF_YOUR_APP shell\Auto\command=your_app.exe Icon=your_icon.ico shell=Auto label=NAME_OF_YOUR_APP What you get is: 1) after insertion of the flashdrive your_icon will appear instead of the default flashdrive icon; 2) if autoplay on users machine is enabled it will show NAME_OF_YOUR_APP with your_icon as the first choice in autoplay menu and will allow to launch your app from there; 3) it will launch the application on doubleclicking the flash_drive's icon (your_icon) 4) it will provide the first option in the context menu as NAME_OF_YOUR_APP (upon right mouse-click on flash-drive's icon) 5) it WILL NOT launch your application automatically on startup, which is good from a security point of view... For MacOS this tool can be of some use: http://www.naratt.com/MultipleLauncher.html I think it is more than enough for a non-U3 drive. I am also bundling my Contents Management Soft with Apache this way :-). All the best Viktoras -------Original Message------- From: Robert Mann Date: 07/31/06 22:19:27 To: rev list Subject: u3 rev application with mysql/apache I am building a rev standalone that works in conjunction with a mysql database, so If I bundle a install I need to also check first to see if apache is installed if not then install it with a mysql database, so was thinking that maybe this new u3 drive I can preinstall everything on it so then all I need to send the use is a flash drive, any thoughts as to is this will be possible to run apache/mysql/rev application all within a u3 flash drive? Robert Mann President GP Racing LLC _______________________________________________ use-revolution mailing list use-revolution 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 Tue Aug 1 18:42:15 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 2 Aug 2006 00:42:15 +0200 Subject: LibURL Error Previous request not completed In-Reply-To: <7aa52a210607272057p5ee7bc06kcf014e2511ac384f@mail.gmail.com> References: <7aa52a210607272057p5ee7bc06kcf014e2511ac384f@mail.gmail.com> Message-ID: <2252519E-2231-4DBD-93F4-73E2C3E7433C@economy-x-talk.com> Hi Chip, Your suggestion was a very good one. Repeat with messages doesn't work, but send in xx millisecs does. I'll problaby post an enhancement request to bugzilla regarding this problem, if there isn't an entry in BZ yet. Thanks, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 28-jul-2006, om 5:57 heeft Chipp Walters het volgende geschreven: > Mark, > > Here's a suggestion. Just send you listing requent in 300 millisecs > (or whatever works). That should give libURL some time to reset. > > -Chipp From JimAultWins at yahoo.com Tue Aug 1 21:34:18 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 01 Aug 2006 18:34:18 -0700 Subject: SELECT FROM Db In-Reply-To: <51080BDD-FC19-427B-8AF0-ED5498080F12@dvcreators.net> Message-ID: On 8/1/06 1:48 PM, "Josh Mellicker" wrote: > I like using "replace()" and yet some other readable ways for SQL --that "do-it-all-in-one-line" --without using "replace" -- only one function call, merge() -- yet remain readable ------------------ one line (watch word wrap) put merge("DELETE FROM [[tmysqltableName]] Where [[tIDcolumnName]] = '[[tRecordID]]'") into theSQL -------------------- or another way = same result (watch word wrap) put merge("DELETE FROM [[tmysqltableName]] Where [[tIDcolumnName]] = '[[tRecordID]]'") \ into theSQL -------------------- yet another way = same result put merge("DELETE FROM [[tmysqltableName]] " & \ "Where [[tIDcolumnName]] = '[[tRecordID]]'") \ into theSQL -------------------- or another way to get a COMPLEX result put tRecordID + 1 into tRecordID2 put merge("" & \ "DELETE FROM [[tmysqltableName]] "& \ "Where ([[tIDcolumnName]] = '[[tRecordID]]' "& \ "OR [[tIDcolumnName]] = '[[tRecordID-1]]') "& \ "AND [[tIDcolumnName]] = '[[tRecordID2]]'" & \ "") into theSQL3 Fun with Rev :-) Jim Ault Las Vegas On 8/1/06 1:48 PM, "Josh Mellicker" wrote: > I like using "replace()" > > > I find this very readable and simple to write: > > put "DELETE FROM `tmySQLtableName` WHERE `tIDcolumnName` = > tRecordID" into theSQL > > > then, replacing the placeholders: > > replace "tmySQLtableName" with "accounts" in theSQL > replace "tIDcolumnName" with "accountID" in theSQL > replace "tRecordID" with q(tRecordID) in theSQL > > > > here's the actual handler from whence I draw the example: > > ON jjSQLdelete tRecordID, tIDcolumnName, tmySQLtableName > put "DELETE FROM `tmySQLtableName` WHERE `tIDcolumnName` = > tRecordID" into theSQL > replace "tmySQLtableName" with tmySQLtableName in theSQL > replace "tIDcolumnName" with tIDcolumnName in theSQL > replace "tRecordID" with q(tRecordID) in theSQL > doThisSQL theSQL > END jjSQLdelete > > > FUNCTION q a > return quote & a & quote > END q > > FUNCTION bq a > return "`" & a & "`" > END bq > From lan.kc.macmail at gmail.com Wed Aug 2 00:00:28 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 2 Aug 2006 12:00:28 +0800 Subject: 2.6 Dreamcard stacks won't launch when converted to 2.7 In-Reply-To: References: Message-ID: On 8/2/06, Curtis Ford wrote: > > IIf anyone has a moment to try & save it as a standalone, or confirm the > problem, I'd really appreciate it. > Downloaded your stack and saved it as a standalone no problems. Didn't change any of the 2.7.x default settings for creating standalones. I just opened your stack in the IDE and immediately selected "Save As Standalone Application...". It created a OSX application bundle and a Windows exe with a folder called 'Externals'. Sorry I can't test the Windows app for you. OSX 10.4.7 PB1.25 Sorry, no closer to solving your problem. Probably only adds to the frustration:-( From lan.kc.macmail at gmail.com Wed Aug 2 00:26:34 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 2 Aug 2006 12:26:34 +0800 Subject: SELECT FROM Db In-Reply-To: References: <51080BDD-FC19-427B-8AF0-ED5498080F12@dvcreators.net> Message-ID: On 8/2/06, Jim Ault wrote: > > On 8/1/06 1:48 PM, "Josh Mellicker" wrote: > > I like using "replace()" > > and yet some other readable ways for SQL > --that "do-it-all-in-one-line" > --without using "replace" > -- only one function call, merge() > -- yet remain readable Brilliant! Forgetting everything else this list is great for, seeing functions/commands I've never known existed put to use in ways I could definitely use really makes this list a treasure trove. Yes, I admit I don't lay awake at night reading the Help Docs A-Z Dictionary. Thanks Jim, I'm off to do a little merge()ing:-) From lan.kc.macmail at gmail.com Wed Aug 2 00:51:55 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 2 Aug 2006 12:51:55 +0800 Subject: [OT] Tactile Closed In-Reply-To: References: <20060801170005.E7B5B826E07@mail.runrev.com> Message-ID: On 8/2/06, Robert Sneidar wrote: > > What is "vacation"? >From the Docs Syntax: vacation [to OS|Island|Snow|Bush] [with Wife|Wife & Children|Girlfriend|MYOB] from [Date] to [Date] [with Phone|Mobile|e-mail] Summary: vacation to Island with Wife from 1 Aug 06 to 8 Aug 06 Returns: To the default Home folder usually no earlier than the 'to Date' So I think Scott's statement is valid, he just left the first two and last optional paramaters blank so it should compile OK:-) From jperryl at ecs.fullerton.edu Wed Aug 2 01:10:40 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 1 Aug 2006 22:10:40 -0700 (PDT) Subject: Rev's Icon & Similarities to the "R" language??? In-Reply-To: <20060729082341.69057.qmail@web37503.mail.mud.yahoo.com> Message-ID: Has anyone else seen this? http://www.r-project.org/ R is a statistical analysis opensource language. My husband says that it (the language project) goes back as far as 1996. Any thoughts? Judy From jperryl at ecs.fullerton.edu Wed Aug 2 01:13:27 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 1 Aug 2006 22:13:27 -0700 (PDT) Subject: Games, Malte Brill and Richmond's Ego In-Reply-To: <20060729082341.69057.qmail@web37503.mail.mud.yahoo.com> Message-ID: Well, Richmond & Malte, Next spring I shall again teach my "multimedia" course in which we focus on game-dev. Ideas & sample stacks gratefully accepted. And, as for "pinching" screenshots, I did the same last spring in grabbing one of those odd-shaped super-duper gizmo thingies Scott Rossi made to demo the windowShape property ;-) (Sorry, Scott...) Judy On Sat, 29 Jul 2006, Richmond Mathewson wrote: > so I shamelessly pinched a screen-shot of a Wesnoth Map I ran up > in the scenario editor that comes with it and set to work. From dcragg at lacscentre.co.uk Wed Aug 2 03:00:43 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 2 Aug 2006 08:00:43 +0100 Subject: LibURL Error Previous request not completed In-Reply-To: <2252519E-2231-4DBD-93F4-73E2C3E7433C@economy-x-talk.com> References: <7aa52a210607272057p5ee7bc06kcf014e2511ac384f@mail.gmail.com> <2252519E-2231-4DBD-93F4-73E2C3E7433C@economy-x-talk.com> Message-ID: <64403AFF-B4AD-4C6C-9A2F-621DE6C2FF7B@lacscentre.co.uk> On 1 Aug 2006, at 23:42, Mark Schonewille wrote: > I'll problaby post an enhancement request to bugzilla regarding > this problem, if there isn't an entry in BZ yet. Mark, I didn't see the earlier post on this. (I was away.) From your earlier post: > Right after uploading a dozen of files to my ftp account > asynchronically using the libUrlFtpUploadFile command, I can't get > a directory listing using the syntax: get url "ftp:// > name:pass at ftp.domain.com/folder/" (note the trailing slash, as I > want a listing). Most of the time I receive the error "Error > Previous request not completed". > > It appears the GetURL handler in the revLibURL script doesn't let > me get the url because the variable lvBlockingUrl is not empty. > Although everything has been uploaded/downloaded already, > lbBlockingUrl indicates that one or more transfers are still in > progress. So, in the GetURL handler, I changed the line which > checks whether any url's are currently being handled and added > variable to force the handler to run normally: Are you doing anything else other than libUrlFtpUploadFile followed by "get url" for the listing? For example, is there any chance your script is calling "get url" twice? Or do you make any other url calls during this process. The reason I'm asking is that you pointed out a possible problem with the lvBlockingUrl variable in the libUrl script. But this is not set by libUrlFtpUploadFile, so is unlikely to be the issue here if you are only using libUrlFtpUploadFile followed by a single "get url" call. Another possible source of a "Previous request not completed" message is the libUrlFtpCommand handler. Are you using that anywhere? How are you checking that the uploads are complete before getting the directory listing? The "normal" way would be to use the callback message from libUrlFtpUploadFile. If you could let me see the script you are using, I'll give it a run. Cheers Dave From viktoras at ekoinf.net Wed Aug 2 03:38:31 2006 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Wed, 2 Aug 2006 10:38:31 +0300 (FLE Standard Time) Subject: u3 rev application with mysql/apache References: Message-ID: <44D05677.000001.01072@MAZYTIS> Hi, You have to call Mysql from the main application while it is loading or on demand. Autorun wont start it automatically from a thumbdrive. Viktoras -------Original Message------- From: Robert Mann Date: 08/02/06 00:46:09 To: How to use Revolution Subject: RE: u3 rev application with mysql/apache tying to get your suggestion to work I have it so that it opens my app which is the first 5 lines but I am not able to get the mysql started here is my autorun.inf [autorun] action=SNmain.exe open=/SNmain/Windows/SNmain.exe shellexecute=/SNmain/Windows/SNmain.exe shell\Auto=&SNmain.exe shell\Auto\command=/SNmain/Windows/SNmain.exe action=xampp_start.exe open=/xampp/xampp_start.exe shellexecute=/xampp/xampp_start.exe shell\Auto=&xampp_start.exe shell\Auto\command=/xampp/xampp_start.exe Icon=sn.ico shell=Auto label=Suspension Network Robert Mann President GP Racing LLC -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Viktoras Didziulis Sent: Monday, July 31, 2006 3:16 PM To: How to use Revolution Subject: Re: u3 rev application with mysql/apache Hi Robert, you do not need U3 drive for this. Some cool things can be done with ordinary flashdrives. For MS Windows you use Autorun.inf like this:[autorun] action=NAME_OF_YOUR_APP open=your_app.exe shellexecute=your_app.exe shell\Auto=&NAME_OF_YOUR_APP shell\Auto\command=your_app.exe Icon=your_icon.ico shell=Auto label=NAME_OF_YOUR_APP What you get is: 1) after insertion of the flashdrive your_icon will appear instead of the default flashdrive icon; 2) if autoplay on users machine is enabled it will show NAME_OF_YOUR_APP with your_icon as the first choice in autoplay menu and will allow to launch your app from there; 3) it will launch the application on doubleclicking the flash_drive's icon (your_icon) 4) it will provide the first option in the context menu as NAME_OF_YOUR_APP (upon right mouse-click on flash-drive's icon) 5) it WILL NOT launch your application automatically on startup, which is good from a security point of view... For MacOS this tool can be of some use: http://www.naratt.com/MultipleLauncher.html I think it is more than enough for a non-U3 drive. I am also bundling my Contents Management Soft with Apache this way :-). All the best Viktoras -------Original Message------- From: Robert Mann Date: 07/31/06 22:19:27 To: rev list Subject: u3 rev application with mysql/apache I am building a rev standalone that works in conjunction with a mysql database, so If I bundle a install I need to also check first to see if apache is installed if not then install it with a mysql database, so was thinking that maybe this new u3 drive I can preinstall everything on it so then all I need to send the use is a flash drive, any thoughts as to is this will be possible to run apache/mysql/rev application all within a u3 flash drive? Robert Mann President GP Racing LLC _______________________________________________ use-revolution mailing list use-revolution 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 klaus at major-k.de Wed Aug 2 04:08:09 2006 From: klaus at major-k.de (Klaus Major) Date: Wed, 2 Aug 2006 10:08:09 +0200 Subject: [OT] Tactile Closed In-Reply-To: References: <20060801170005.E7B5B826E07@mail.runrev.com> Message-ID: <406F9D9B-D6F1-4B10-B320-F25754F89368@major-k.de> Hi friends, > On 8/2/06, Robert Sneidar wrote: >> >> What is "vacation"? > >> From the Docs > > Syntax: vacation [to OS|Island|Snow|Bush] [with Wife|Wife & > Children|Girlfriend|MYOB] from [Date] to [Date] [with Phone|Mobile| > e-mail] > Summary: > vacation to Island with Wife from 1 Aug 06 to 8 Aug 06 > Returns: > To the default Home folder usually no earlier than the 'to Date' > So I think Scott's statement is valid, he just left the first two > and last > optional paramaters blank so it should compile OK:-) you guys definitively DO have too much free time :-) Best Klaus Major klaus at major-k.de http://www.major-k.de From geradamas at yahoo.com Wed Aug 2 04:19:26 2006 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 2 Aug 2006 01:19:26 -0700 (PDT) Subject: Rev's Icon & Similarities to the "R" language??? Message-ID: <20060802081926.33075.qmail@web37513.mail.mud.yahoo.com> Thanks, Judy Although the fact that the icon of RR and the "R" language (makes me think of the "F" word!!!) both feature an R is rather like saying that because my first name (John) begins with a J and so does yours somebody has got to sue somebody else (must remember to tell my Mum!). I am honestly not sure how many "themes and variations" one can produce with an R given the constraints of computer GUI icons. AND, I am not going to be the one who tries to find out. Having said that, I will not start downloading the Mac OS version of the "R" language (which, with my current v. slow internet connexion should take about 5-6 hours) and see if there is anything to fuss about. >From a selfish point of view I hope that the "R" language is fairly similar to xTalk so, should I choose to use it for something, I don't have too step a learning curve ahead of me. Thanks again, but probably for quite different reasons than what you intended - for alerting the RR users to another programming language/suite. sincerely, Richmond Mathewson ____________________________________________________________ "Philosophical problems are confusions arising owing to the fluidity of meanings users attach to words and phrases." Mathewson, 2006 ____________________________________________________________ From chipp at chipp.com Wed Aug 2 04:19:40 2006 From: chipp at chipp.com (Chipp Walters) Date: Wed, 2 Aug 2006 03:19:40 -0500 Subject: [OT] Tactile Closed In-Reply-To: <1172940478.20060801102450@ahsoftware.net> References: <1172940478.20060801102450@ahsoftware.net> Message-ID: <7aa52a210608020119w57a28fabpaa669884178c6b99@mail.gmail.com> On 8/1/06, Mark Wieder wrote: > a vacation *without* email access? Yep, for me, generally the shakes begin about 2 days after, followed by hallucinations and dreams of the Gmail logo being beat to death by Paul Bunyan and his blue ox. Thankfully, after about 5 days, I'm good to go (at least the last time I tried this, back in '98, I was). -c From geradamas at yahoo.com Wed Aug 2 04:25:51 2006 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 2 Aug 2006 01:25:51 -0700 (PDT) Subject: Rev's Icon & Similarities to the "R" language??? Message-ID: <20060802082551.34390.qmail@web37503.mail.mud.yahoo.com> Just had a look at the "R" language manual - and it looks quite different from xTalk: all one has to do is look at the class of objects: I quote: NULL Null symbol a variable name pairlist a pairlist object closure a function environment an environment promise an object used to implement lazy evaluation language an R language construct special a built-in function that does not evaluate its arguments builtin a built-in function that evaluates its arguments logical a vector containing logical values integer a vector containing integer values double a vector containing real values complex a vector containing complex values character a vector containing character values ... the special variable length argument *** any a special type that matches all types *** expression an expression object list a list externalptr an external pointer object weakref a weak reference object raw a vector containing bytes they made my hair go all cute and curly! Not at all like the language "we know and love so well" [sorry, I grew up on Asterix the Gaul]. further to this: > e3 <- quote(plot(x = age, y = weight)) > e3$x age > e3$y does not look like any type of xTalk I know: in fact it looks a lot like the type of computer language I have spent my level best avoiding. sincerely, Richmond Mathewson weight ____________________________________________________________ "Philosophical problems are confusions arising owing to the fluidity of meanings users attach to words and phrases." Mathewson, 2006 ____________________________________________________________ From viktoras at ekoinf.net Wed Aug 2 04:35:35 2006 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Wed, 2 Aug 2006 11:35:35 +0300 (FLE Standard Time) Subject: Rev's Icon & Similarities to the "R" language??? References: <20060802082551.34390.qmail@web37503.mail.mud.yahoo.com> Message-ID: <44D063D6.000001.00924@MAZYTIS> R language is not a general purpose language as Rev. R is a collection of tools dedicated for statistical analysis of data. One could create a powerful statistical data analysis package if combined R with Rev. Viktoras -------Original Message------- From: Richmond Mathewson Date: 08/02/06 11:26:10 To: use-revolution at lists.runrev.com Subject: Rev's Icon & Similarities to the "R" language??? Just had a look at the "R" language manual - and it looks quite different from xTalk: all one has to do is look at the class of objects: I quote: NULL Null symbol a variable name pairlist a pairlist object closure a function environment an environment promise an object used to implement lazy evaluation language an R language construct special a built-in function that does not evaluate its arguments builtin a built-in function that evaluates its arguments logical a vector containing logical values integer a vector containing integer values double a vector containing real values complex a vector containing complex values character a vector containing character values ... the special variable length argument *** any a special type that matches all types *** expression an expression object list a list externalptr an external pointer object weakref a weak reference object raw a vector containing bytes they made my hair go all cute and curly! Not at all like the language "we know and love so well" [sorry, I grew up on Asterix the Gaul]. further to this: > e3 <- quote(plot(x = age, y = weight)) > e3$x age > e3$y does not look like any type of xTalk I know: in fact it looks a lot like the type of computer language I have spent my level best avoiding. sincerely, Richmond Mathewson weight ____________________________________________________________ "Philosophical problems are confusions arising owing to the fluidity of meanings users attach to words and phrases." Mathewson, 2006 ____________________________________________________________ _______________________________________________ use-revolution mailing list use-revolution at 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 Wed Aug 2 05:39:48 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 2 Aug 2006 11:39:48 +0200 Subject: LibURL Error Previous request not completed In-Reply-To: <64403AFF-B4AD-4C6C-9A2F-621DE6C2FF7B@lacscentre.co.uk> References: <7aa52a210607272057p5ee7bc06kcf014e2511ac384f@mail.gmail.com> <2252519E-2231-4DBD-93F4-73E2C3E7433C@economy-x-talk.com> <64403AFF-B4AD-4C6C-9A2F-621DE6C2FF7B@lacscentre.co.uk> Message-ID: <36350683-7AF7-4AA0-B8D9-E4918EFEB125@economy-x-talk.com> Hi Dave, Thanks for taking this up. I can't use the callback message to get a file listing, because the user of my software may wish to upload hundreds, if not thousands, of files at once. The callback message would be called hundreds of times and if the callback message caused the directory listing to update, I would probably run into serious trouble, calling getURL hundreds of times. So, I check whether each file has been handled and if none of the files is still being uploaded, downloaded, queued etc, I get the url of the directory twice, to get one listing with and one without additional information. This works perfectly fine if only one file is uploaded, but the "wait" commands in the library block the whole thing if I want to get a directory listing after uploading more than 1 file. So, yes, I am using getURL twice, and use the libUrlFtpCommand command to set the type of listing I get back from the server, but this always worked fine until I started uploading multiple files. All my repeat loops now contain "with messages" and the repeat loop that calls the libUrlFtpUpload handler has been changed into a regular handler with "send xxxxx in yy millisecs to me" at the end. Although this seems to help for a small number of small files, I still have problems if I upload two large files, for example. Currently, I am handling only one batch at a time, but I intend to create a programme that uploads and downloads files completely asynchronically, refreshes directory lists, deletes files etc. just like any other ftp programme. This means that all libURLftpUpload and -Download commands, get URL commands, and libUrlFtpCommand commands should be sent independently of each other. Are you implying this is impossible with the libUrl library? Can you explain what exactly causes the handlers in the library to block each other? Maybe we can change it? If you want, you can download ecxFTP from the Economy-x-Talk homepage. If you drag a bunch of files into the main window, wait until they have been uploaded, and then try to navigate to a different directory, you will get an error similar to "URL 'ftp:// blabla' is blocking. Do you want to reset?". The url points to a directory on the server, not to a file. So, it is the GetURL handler that is blocking here. (Since I am still working on the application, tomorrow's version may bot display this error anymore). Thanks for your time and best regards, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 2-aug-2006, om 9:00 heeft Dave Cragg het volgende geschreven: > > On 1 Aug 2006, at 23:42, Mark Schonewille wrote: > >> I'll problaby post an enhancement request to bugzilla regarding >> this problem, if there isn't an entry in BZ yet. > > Mark, I didn't see the earlier post on this. (I was away.) > > From your earlier post: > >> Right after uploading a dozen of files to my ftp account >> asynchronically using the libUrlFtpUploadFile command, I can't get >> a directory listing using the syntax: get url "ftp:// >> name:pass at ftp.domain.com/folder/" (note the trailing slash, as I >> want a listing). Most of the time I receive the error "Error >> Previous request not completed". >> >> It appears the GetURL handler in the revLibURL script doesn't let >> me get the url because the variable lvBlockingUrl is not empty. >> Although everything has been uploaded/downloaded already, >> lbBlockingUrl indicates that one or more transfers are still in >> progress. So, in the GetURL handler, I changed the line which >> checks whether any url's are currently being handled and added >> variable to force the handler to run normally: > > Are you doing anything else other than libUrlFtpUploadFile followed > by "get url" for the listing? For example, is there any chance your > script is calling "get url" twice? Or do you make any other url > calls during this process. > > The reason I'm asking is that you pointed out a possible problem > with the lvBlockingUrl variable in the libUrl script. But this is > not set by libUrlFtpUploadFile, so is unlikely to be the issue here > if you are only using libUrlFtpUploadFile followed by a single "get > url" call. > > Another possible source of a "Previous request not completed" > message is the libUrlFtpCommand handler. Are you using that anywhere? > > How are you checking that the uploads are complete before getting > the directory listing? The "normal" way would be to use the > callback message from libUrlFtpUploadFile. If you could let me see > the script you are using, I'll give it a run. > > Cheers > Dave From scott at elementarysoftware.com Wed Aug 2 07:04:08 2006 From: scott at elementarysoftware.com (Scott Morrow) Date: Wed, 2 Aug 2006 04:04:08 -0700 Subject: repeating key delay time Message-ID: <747C1B56-9CDE-464A-BCF7-797CC4285624@elementarysoftware.com> Is there a way (within Rev) to adjust the delay interval between when the first Key message is sent and, if the user continues to hold down the key, the subsequent messages. I'm working on adding arrowKey control for a Pong type game and it would be nice to eliminate that normally useful lag. In OSX there is a System setting under "Keyboard & Mouse" that is called "Delay Until Repeat." I'm looking for something similar but from within Rev. Thanks, -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com ----------------------------------------------------------------- From geradamas at yahoo.com Wed Aug 2 07:25:19 2006 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 2 Aug 2006 04:25:19 -0700 (PDT) Subject: rawKeyDown - Cross Platform ??? Message-ID: <20060802112519.5000.qmail@web37509.mail.mud.yahoo.com> Does anybody know whether rawKeyDown numbers are the same cross-platform? http://members.maclaunch.com/richmond/KEY NAMER.rev.zip I am trying to get away from cute little red tick GIFs for my EFL pupils to click on to check things and moving to hitting either the ENTER or RETURN key. As I author on Mac OS X but deploy on Ubuntu Linux I am a bit scared: AND, on a more global scale, if rawKeyDown numbers are not the same some sort of table of equivalents is called for. sincerely, Richmond Mathewson ____________________________________________________________ "Philosophical problems are confusions arising owing to the fluidity of meanings users attach to words and phrases." Mathewson, 2006 ____________________________________________________________ From robmann at gp-racing.com Wed Aug 2 07:50:02 2006 From: robmann at gp-racing.com (Robert Mann) Date: Wed, 2 Aug 2006 07:50:02 -0400 Subject: u3 rev application with mysql/apache In-Reply-To: <44D05677.000001.01072@MAZYTIS> Message-ID: Not sure how to code the call to start the mysql is there a sample out there somewhere? Thanks Robert Mann President GP Racing LLC -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Viktoras Didziulis Sent: Wednesday, August 02, 2006 2:39 AM To: How to use Revolution Subject: RE: u3 rev application with mysql/apache Hi, You have to call Mysql from the main application while it is loading or on demand. Autorun wont start it automatically from a thumbdrive. Viktoras -------Original Message------- From: Robert Mann Date: 08/02/06 00:46:09 To: How to use Revolution Subject: RE: u3 rev application with mysql/apache tying to get your suggestion to work I have it so that it opens my app which is the first 5 lines but I am not able to get the mysql started here is my autorun.inf [autorun] action=SNmain.exe open=/SNmain/Windows/SNmain.exe shellexecute=/SNmain/Windows/SNmain.exe shell\Auto=&SNmain.exe shell\Auto\command=/SNmain/Windows/SNmain.exe action=xampp_start.exe open=/xampp/xampp_start.exe shellexecute=/xampp/xampp_start.exe shell\Auto=&xampp_start.exe shell\Auto\command=/xampp/xampp_start.exe Icon=sn.ico shell=Auto label=Suspension Network Robert Mann President GP Racing LLC -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Viktoras Didziulis Sent: Monday, July 31, 2006 3:16 PM To: How to use Revolution Subject: Re: u3 rev application with mysql/apache Hi Robert, you do not need U3 drive for this. Some cool things can be done with ordinary flashdrives. For MS Windows you use Autorun.inf like this:[autorun] action=NAME_OF_YOUR_APP open=your_app.exe shellexecute=your_app.exe shell\Auto=&NAME_OF_YOUR_APP shell\Auto\command=your_app.exe Icon=your_icon.ico shell=Auto label=NAME_OF_YOUR_APP What you get is: 1) after insertion of the flashdrive your_icon will appear instead of the default flashdrive icon; 2) if autoplay on users machine is enabled it will show NAME_OF_YOUR_APP with your_icon as the first choice in autoplay menu and will allow to launch your app from there; 3) it will launch the application on doubleclicking the flash_drive's icon (your_icon) 4) it will provide the first option in the context menu as NAME_OF_YOUR_APP (upon right mouse-click on flash-drive's icon) 5) it WILL NOT launch your application automatically on startup, which is good from a security point of view... For MacOS this tool can be of some use: http://www.naratt.com/MultipleLauncher.html I think it is more than enough for a non-U3 drive. I am also bundling my Contents Management Soft with Apache this way :-). All the best Viktoras -------Original Message------- From: Robert Mann Date: 07/31/06 22:19:27 To: rev list Subject: u3 rev application with mysql/apache I am building a rev standalone that works in conjunction with a mysql database, so If I bundle a install I need to also check first to see if apache is installed if not then install it with a mysql database, so was thinking that maybe this new u3 drive I can preinstall everything on it so then all I need to send the use is a flash drive, any thoughts as to is this will be possible to run apache/mysql/rev application all within a u3 flash drive? Robert Mann President GP Racing LLC _______________________________________________ use-revolution mailing list use-revolution 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 dcragg at lacscentre.co.uk Wed Aug 2 07:55:34 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 2 Aug 2006 12:55:34 +0100 Subject: LibURL Error Previous request not completed In-Reply-To: <36350683-7AF7-4AA0-B8D9-E4918EFEB125@economy-x-talk.com> References: <7aa52a210607272057p5ee7bc06kcf014e2511ac384f@mail.gmail.com> <2252519E-2231-4DBD-93F4-73E2C3E7433C@economy-x-talk.com> <64403AFF-B4AD-4C6C-9A2F-621DE6C2FF7B@lacscentre.co.uk> <36350683-7AF7-4AA0-B8D9-E4918EFEB125@economy-x-talk.com> Message-ID: <92B9D7D7-4091-48C4-AFD4-64CDB0FBB95B@lacscentre.co.uk> On 2 Aug 2006, at 10:39, Mark Schonewille wrote: > Hi Dave, > > Thanks for taking this up. > > I can't use the callback message to get a file listing, because the > user of my software may wish to upload hundreds, if not thousands, > of files at once. The callback message would be called hundreds of > times and if the callback message caused the directory listing to > update, I would probably run into serious trouble, calling getURL > hundreds of times. But can't you use the callback handler to "check off" which files have been uploaded, and only get the directory listing when they have all been uploaded? Perhaps along the lines of this (very crude example): local laFileTrackerArray on massUpload pFileList, pSourceDirectory, pTargetDirectory ##pTargetDirectory is the url of the target directory repeat for each line tFile in pFileList put pSourceDirectory & tFile into tFrom put pTargetDirectory & tFile into tTo ## should probably check whether the local file exists put 1 into laFileTrackerArray[tTo] libUrlFtpUploadFile tFrom, tTo ,"trackUploads" ## should probably check the result here end repeat end massUpload on trackUploads pUrl, pStatus unload url pUrl delete local laFileTrackerArray[pUrl] if keys(laFileTrackerArray) is empty then ## get the directory listing now end if end trackUploads > Can you explain what exactly causes the handlers in the library to > block each other? Maybe we can change it? The blocking is intentional for so-called "blocking" calls (get, post, etc.). You can't make a blocking call until a previous one has completed. I don't think that behavior should be changed. But if it's not working as intended, then that's a diferent matter. Cheers Dave From lan.kc.macmail at gmail.com Wed Aug 2 08:00:58 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 2 Aug 2006 20:00:58 +0800 Subject: repeating key delay time In-Reply-To: <747C1B56-9CDE-464A-BCF7-797CC4285624@elementarysoftware.com> References: <747C1B56-9CDE-464A-BCF7-797CC4285624@elementarysoftware.com> Message-ID: On 8/2/06, Scott Morrow wrote: > > Is there a way (within Rev) to adjust the delay interval between > when the first Key message is sent and, if the user continues to hold > down the key, the subsequent messages. Couldn't see a way as you requested but I tried to approach this from a different direction. The following script starts a repeat loop when the button is 'down' and continues until the 'keyUp' message: ------------------------------------------ local tMyKeyDown on keyDown downKey put true into tMyKeyDown put the rect of button "Check" of stack "Untitled 1" into tMyRect repeat until tMyKeyDown = "false" if (downKey = ",") then subtract 3 from item 1 of tMyRect end if if (downKey = ".") then add 3 to item 1 of tMyRect end if set the rect of button "Check" of stack "Untitled 1" to tMyRect wait 1 millisecond with messages end repeat end keydown on keyUp upKey put false into tMyKeyDown end keyUp ---------------------------------------------------- I just tested this on a button and it nicely moves the button left (comma key down) or right (period key down). The trick is in the 'wait with messages' so you can capture the keyUp message. I'm working on adding > arrowKey control for a Pong type game and it would be nice to > eliminate that normally useful lag. Unfortunately in the quick time I whipped this up I couldn't get it to work with the arrow keys as they didn't seem to send keyDown messages - at least not on my Mac PB. The smoothness of the movement is easily adjusted by varying the 1 millisecond wait and the 3 units of movement in my example. HTH From scott at elementarysoftware.com Wed Aug 2 08:26:33 2006 From: scott at elementarysoftware.com (Scott Morrow) Date: Wed, 2 Aug 2006 05:26:33 -0700 Subject: repeating key delay time In-Reply-To: References: <747C1B56-9CDE-464A-BCF7-797CC4285624@elementarysoftware.com> Message-ID: <7E0DBB61-4EFA-413F-9F58-E3502DF5F324@elementarysoftware.com> Wow! That's a great little script. I substituted rawKeyDown for keyDown and it worked with the arrowKeys perfectly. A MUCH better solution than trapping the arrowKey message. Thanks! -Scott On Aug 2, 2006, at 5:00 AM, Kay C Lan wrote: > On 8/2/06, Scott Morrow wrote: >> >> Is there a way (within Rev) to adjust the delay interval between >> when the first Key message is sent and, if the user continues to hold >> down the key, the subsequent messages. > > > Couldn't see a way as you requested but I tried to approach this > from a > different direction. The following script starts a repeat loop when > the > button is 'down' and continues until the 'keyUp' message: > ------------------------------------------ > local tMyKeyDown > > on keyDown downKey > put true into tMyKeyDown > put the rect of button "Check" of stack "Untitled 1" into tMyRect > repeat until tMyKeyDown = "false" > if (downKey = ",") then > subtract 3 from item 1 of tMyRect > end if > if (downKey = ".") then > add 3 to item 1 of tMyRect > end if > set the rect of button "Check" of stack "Untitled 1" to tMyRect > wait 1 millisecond with messages > end repeat > end keydown > > on keyUp upKey > put false into tMyKeyDown > end keyUp > ---------------------------------------------------- > > I just tested this on a button and it nicely moves the button left > (comma > key down) or right (period key down). The trick is in the 'wait with > messages' so you can capture the keyUp message. > > I'm working on adding >> arrowKey control for a Pong type game and it would be nice to >> eliminate that normally useful lag. > > > Unfortunately in the quick time I whipped this up I couldn't get it > to work > with the arrow keys as they didn't seem to send keyDown messages - > at least > not on my Mac PB. > > The smoothness of the movement is easily adjusted by varying the 1 > millisecond wait and the 3 units of movement in my example. > > HTH > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From JimAultWins at yahoo.com Wed Aug 2 10:19:17 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 02 Aug 2006 07:19:17 -0700 Subject: SELECT FROM Db In-Reply-To: Message-ID: Very glad you liked merge(). Self-documenting code is good, and I think that with SQL it is critical. Jim Ault Las Vegas On 8/1/06 9:26 PM, "Kay C Lan" wrote: > On 8/2/06, Jim Ault wrote: >> >> On 8/1/06 1:48 PM, "Josh Mellicker" wrote: >>> I like using "replace()" >> >> and yet some other readable ways for SQL >> --that "do-it-all-in-one-line" >> --without using "replace" >> -- only one function call, merge() >> -- yet remain readable > > > Brilliant! > > Forgetting everything else this list is great for, seeing functions/commands > I've never known existed put to use in ways I could definitely use really > makes this list a treasure trove. Yes, I admit I don't lay awake at night > reading the Help Docs A-Z Dictionary. > > Thanks Jim, I'm off to do a little merge()ing:-) From JimAultWins at yahoo.com Wed Aug 2 10:28:03 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 02 Aug 2006 07:28:03 -0700 Subject: LibURL Error Previous request not completed In-Reply-To: <36350683-7AF7-4AA0-B8D9-E4918EFEB125@economy-x-talk.com> Message-ID: Rather than using the callback, why wouldn't reading the log tell you the 'success' after each file upload? Then you could just add those names one at a time, including the elapsed time and upload-rate. Jim Ault Las Vegas On 8/2/06 2:39 AM, "Mark Schonewille" wrote: > Hi Dave, > > Thanks for taking this up. > > I can't use the callback message to get a file listing, because the > user of my software may wish to upload hundreds, if not thousands, of > files at once. The callback message would be called hundreds of times > and if the callback message caused the directory listing to update, I > would probably run into serious trouble, calling getURL hundreds of > times. > > So, I check whether each file has been handled and if none of the > files is still being uploaded, downloaded, queued etc, I get the url > of the directory twice, to get one listing with and one without > additional information. This works perfectly fine if only one file is > uploaded, but the "wait" commands in the library block the whole > thing if I want to get a directory listing after uploading more than > 1 file. So, yes, I am using getURL twice, and use the > libUrlFtpCommand command to set the type of listing I get back from > the server, but this always worked fine until I started uploading > multiple files. > > All my repeat loops now contain "with messages" and the repeat loop > that calls the libUrlFtpUpload handler has been changed into a > regular handler with "send xxxxx in yy millisecs to me" at the end. > Although this seems to help for a small number of small files, I > still have problems if I upload two large files, for example. > > Currently, I am handling only one batch at a time, but I intend to > create a programme that uploads and downloads files completely > asynchronically, refreshes directory lists, deletes files etc. just > like any other ftp programme. This means that all libURLftpUpload and > -Download commands, get URL commands, and libUrlFtpCommand commands > should be sent independently of each other. Are you implying this is > impossible with the libUrl library? > > Can you explain what exactly causes the handlers in the library to > block each other? Maybe we can change it? > > If you want, you can download ecxFTP from the Economy-x-Talk > homepage. If you drag a bunch of files into the main window, wait > until they have been uploaded, and then try to navigate to a > different directory, you will get an error similar to "URL 'ftp:// > blabla' is blocking. Do you want to reset?". The url points to a > directory on the server, not to a file. So, it is the GetURL handler > that is blocking here. (Since I am still working on the application, > tomorrow's version may bot display this error anymore). > > Thanks for your time and best regards, > > Mark > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Download ErrorLib at http://economy-x-talk.com/developers.html and > get full control of error handling in Revolution. > > > > Op 2-aug-2006, om 9:00 heeft Dave Cragg het volgende geschreven: > >> >> On 1 Aug 2006, at 23:42, Mark Schonewille wrote: >> >>> I'll problaby post an enhancement request to bugzilla regarding >>> this problem, if there isn't an entry in BZ yet. >> >> Mark, I didn't see the earlier post on this. (I was away.) >> >> From your earlier post: >> >>> Right after uploading a dozen of files to my ftp account >>> asynchronically using the libUrlFtpUploadFile command, I can't get >>> a directory listing using the syntax: get url "ftp:// >>> name:pass at ftp.domain.com/folder/" (note the trailing slash, as I >>> want a listing). Most of the time I receive the error "Error >>> Previous request not completed". >>> >>> It appears the GetURL handler in the revLibURL script doesn't let >>> me get the url because the variable lvBlockingUrl is not empty. >>> Although everything has been uploaded/downloaded already, >>> lbBlockingUrl indicates that one or more transfers are still in >>> progress. So, in the GetURL handler, I changed the line which >>> checks whether any url's are currently being handled and added >>> variable to force the handler to run normally: >> >> Are you doing anything else other than libUrlFtpUploadFile followed >> by "get url" for the listing? For example, is there any chance your >> script is calling "get url" twice? Or do you make any other url >> calls during this process. >> >> The reason I'm asking is that you pointed out a possible problem >> with the lvBlockingUrl variable in the libUrl script. But this is >> not set by libUrlFtpUploadFile, so is unlikely to be the issue here >> if you are only using libUrlFtpUploadFile followed by a single "get >> url" call. >> >> Another possible source of a "Previous request not completed" >> message is the libUrlFtpCommand handler. Are you using that anywhere? >> >> How are you checking that the uploads are complete before getting >> the directory listing? The "normal" way would be to use the >> callback message from libUrlFtpUploadFile. If you could let me see >> the script you are using, I'll give it a run. >> >> 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 m.schonewille at economy-x-talk.com Wed Aug 2 10:37:23 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 2 Aug 2006 16:37:23 +0200 Subject: LibURL Error Previous request not completed In-Reply-To: References: Message-ID: <94C8CD9E-FD80-4487-AB10-DA15E87672A5@economy-x-talk.com> Jim, All this has properly been dealt with. The question is not how to track succesful uploads and downloads, the question is rather whether a command or request should be blocking and how to deal with that. I'm giving that some thought and will reply to Dave shortly. Thanks, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 2-aug-2006, om 16:28 heeft Jim Ault het volgende geschreven: > Rather than using the callback, why wouldn't reading the log tell > you the > 'success' after each file upload? Then you could just add those > names one > at a time, including the elapsed time and upload-rate. > > Jim Ault > Las Vegas From JimAultWins at yahoo.com Wed Aug 2 10:58:10 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 02 Aug 2006 07:58:10 -0700 Subject: LibURL Error Previous request not completed In-Reply-To: <94C8CD9E-FD80-4487-AB10-DA15E87672A5@economy-x-talk.com> Message-ID: Perhaps you need a companion app that will take advantage of the operating system multi-threading. UDP could let two apps on the same computer call functions & share data very easily. This could make your solution too complex and not solve the fundamental problem. Isn't the bottom line with an ftp server that it will only write one file at a time? If this is not the case, then I would like to understand more about this. I am probably going to update my 'auto-upload' functions in the next month, so this if very timely for me. Are you making multiple connections to the ftp sever from one app? Is that what actually happens? (Therefore you don't actually 'control' which file finishes first, etc.) Hmmm, there is a lot going on, eh? Jim Ault Las Vegas On 8/2/06 7:37 AM, "Mark Schonewille" wrote: > Jim, > > All this has properly been dealt with. The question is not how to > track succesful uploads and downloads, the question is rather whether > a command or request should be blocking and how to deal with that. > I'm giving that some thought and will reply to Dave shortly. > > Thanks, > > Mark > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Download ErrorLib at http://economy-x-talk.com/developers.html and > get full control of error handling in Revolution. > > > > Op 2-aug-2006, om 16:28 heeft Jim Ault het volgende geschreven: > >> Rather than using the callback, why wouldn't reading the log tell >> you the >> 'success' after each file upload? Then you could just add those >> names one >> at a time, including the elapsed time and upload-rate. >> >> 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 revolution at derbrill.de Wed Aug 2 11:11:47 2006 From: revolution at derbrill.de (Malte Brill) Date: Wed, 2 Aug 2006 17:11:47 +0200 Subject: repeating key delay time In-Reply-To: <20060802124737.9C7A5827088@mail.runrev.com> References: <20060802124737.9C7A5827088@mail.runrev.com> Message-ID: <3D9B726E-AF4C-42FA-A897-FEB0AEB6F09E@derbrill.de> Hi Scott, I would recommend a timed script and checking the keysDown. This would allow for multiple directions at the same time, if desired. A stack with two buttons (1 of them is called "myMovingButton") Script of the first button: on mouseUp set the navigationArrows to false set the flag of me to not the flag of me if the flag of me then hereWeGo end mouseUp on hereWeGo --put the keysDown repeat for each item theItem in the keysDown put item 1 of the loc of btn "myMovingButton" into tX put item 2 of the loc of btn myMovingButton into tY switch theItem case "65361" set the loc of btn "myMovingButton" to tX - 1,tY break case "65362" set the loc of btn "myMovingButton" to tX,tY - 1 break case "65363" set the loc of btn "myMovingButton" to tX + 1,tY break case "65364" set the loc of btn "myMovingButton" to tX,tY + 1 break end switch end repeat if the flag of me then send hereWeGo to me in 50 milliseconds end hereWeGo If you click that button, the "myMovingButton" control can move left, right, up, down, upLeft, upRight, downLeft and downRight using the arrowKeys. All the best, Malte From shaosean at hotmail.com Wed Aug 2 11:23:05 2006 From: shaosean at hotmail.com (Sean Shao) Date: Wed, 02 Aug 2006 11:23:05 -0400 Subject: rawKeyDown - Cross Platform ??? In-Reply-To: <20060802124737.61C06827094@mail.runrev.com> Message-ID: Sorry if this was already answered, it's the bad part about being on digest mode ;-) Richmond why not just use the "on enterKey" and "on returnKey" messages to check for those two instead of "rawKeyDown" ? _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar ? get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ From dcragg at lacscentre.co.uk Wed Aug 2 11:30:31 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 2 Aug 2006 16:30:31 +0100 Subject: LibURL Error Previous request not completed In-Reply-To: <94C8CD9E-FD80-4487-AB10-DA15E87672A5@economy-x-talk.com> References: <94C8CD9E-FD80-4487-AB10-DA15E87672A5@economy-x-talk.com> Message-ID: <53209199-1540-408D-87AA-16C658CD9C74@lacscentre.co.uk> On 2 Aug 2006, at 15:37, Mark Schonewille wrote: > Jim, > > All this has properly been dealt with. The question is not how to > track succesful uploads and downloads, > the question is rather whether a command or request should be > blocking and how to deal with that. I'm not sure I see it this way. The "Previous request has not completed." message will occur when trying to make two or more blocking calls at the same time (asynchronously.) It's still not clear to me whether your program is trying to make two such calls at the same time, or there's a bug in libUrl that causes the message to occur when it shouldn't. If it's the first case, then you should be looking for a way to make the calls in sequence. If it's the latter, then I have some bug-fixing to do. I think the problem was how to upload a bunch of files, and when the upload has completed, get a directory listing (using get url) of the directory the files have been uploaded to. The rough example I posted before was intended to do that. Something similar works here, so I was wondering if your script differed significantly. Cheers Dave From m.schonewille at economy-x-talk.com Wed Aug 2 11:50:23 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 2 Aug 2006 17:50:23 +0200 Subject: LibURL Error Previous request not completed In-Reply-To: References: Message-ID: <691340A1-D998-4DB2-ACC5-94319A461504@economy-x-talk.com> Hi Jim, I just want to make a nice little application that you can keep open in the background until you need it. So, I definitely don't want a companion app. Why do you mention UDP? I'm just establishing regular FTP connections. FTP servers don't care much about the number of connections. Good FTP clients upload and download files at the same time, using different connections. I want to do the same. Although it is impossible to do exactly that with libUrl, it does get me close. Indeed, I don't control which file finishes first etc, as you can see by looking at the Transfers window of EcxFTP. It also indicates that libURL doesn't allow for true asynchronous uploads, while other FTP clients do. All the best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 2-aug-2006, om 16:58 heeft Jim Ault het volgende geschreven: > Perhaps you need a companion app that will take advantage of the > operating > system multi-threading. UDP could let two apps on the same > computer call > functions & share data very easily. > This could make your solution too complex and not solve the > fundamental > problem. > > Isn't the bottom line with an ftp server that it will only write > one file at > a time? If this is not the case, then I would like to understand > more about > this. I am probably going to update my 'auto-upload' functions in > the next > month, so this if very timely for me. > > Are you making multiple connections to the ftp sever from one app? > Is that what actually happens? > (Therefore you don't actually 'control' which file finishes first, > etc.) > > Hmmm, there is a lot going on, eh? > > Jim Ault > Las Vegas > From viktoras at ekoinf.net Wed Aug 2 11:28:25 2006 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Wed, 2 Aug 2006 18:28:25 +0300 (FLE Standard Time) Subject: u3 rev application with mysql/apache References: Message-ID: <44D0C499.000004.03372@MAZYTIS> Hi Robert, try this with 3 buttons: #start the server on mouseUp set the hideConsoleWindows to true open process "MySQL Server 5.0\bin\mysqld" for neither end mouseUp #stop the server on mouseUp put "MySQL Server 5.0\bin\mysqladmin -" & "-password=kristupukas shutdown" into theCommand set the hideConsoleWindows to true get shell(theCommand) end mouseUp #show server status on mouseUp put "MySQL Server 5.0\bin\mysqladmin -" & "-password=kristupukas status" into theCommand set the hideConsoleWindows to true get shell(theCommand) answer it end mouseUp This should do the job. Instead of using buttons you may want to load server (scripts of the stack): on startup put "MySQL Server 5.0\bin\mysqladmin -" & "-password=kristupukas shutdown" into theCommand set the hideConsoleWindows to true get shell(theCommand) end startup and close it with: on closeStack put "MySQL Server 5.0\bin\mysqladmin -" & "-password=kristupukas shutdown" into theCommand set the hideConsoleWindows to true get shell(theCommand) end closeStack Viktoras -------Original Message------- From: Robert Mann Date: 08/02/06 14:50:19 To: How to use Revolution Subject: RE: u3 rev application with mysql/apache Not sure how to code the call to start the mysql is there a sample out there somewhere? Thanks Robert Mann President GP Racing LLC -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Viktoras Didziulis Sent: Wednesday, August 02, 2006 2:39 AM To: How to use Revolution Subject: RE: u3 rev application with mysql/apache Hi, You have to call Mysql from the main application while it is loading or on demand. Autorun wont start it automatically from a thumbdrive. Viktoras -------Original Message------- From: Robert Mann Date: 08/02/06 00:46:09 To: How to use Revolution Subject: RE: u3 rev application with mysql/apache tying to get your suggestion to work I have it so that it opens my app which is the first 5 lines but I am not able to get the mysql started here is my autorun.inf [autorun] action=SNmain.exe open=/SNmain/Windows/SNmain.exe shellexecute=/SNmain/Windows/SNmain.exe shell\Auto=&SNmain.exe shell\Auto\command=/SNmain/Windows/SNmain.exe action=xampp_start.exe open=/xampp/xampp_start.exe shellexecute=/xampp/xampp_start.exe shell\Auto=&xampp_start.exe shell\Auto\command=/xampp/xampp_start.exe Icon=sn.ico shell=Auto label=Suspension Network Robert Mann President GP Racing LLC -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Viktoras Didziulis Sent: Monday, July 31, 2006 3:16 PM To: How to use Revolution Subject: Re: u3 rev application with mysql/apache Hi Robert, you do not need U3 drive for this. Some cool things can be done with ordinary flashdrives. For MS Windows you use Autorun.inf like this:[autorun] action=NAME_OF_YOUR_APP open=your_app.exe shellexecute=your_app.exe shell\Auto=&NAME_OF_YOUR_APP shell\Auto\command=your_app.exe Icon=your_icon.ico shell=Auto label=NAME_OF_YOUR_APP What you get is: 1) after insertion of the flashdrive your_icon will appear instead of the default flashdrive icon; 2) if autoplay on users machine is enabled it will show NAME_OF_YOUR_APP with your_icon as the first choice in autoplay menu and will allow to launch your app from there; 3) it will launch the application on doubleclicking the flash_drive's icon (your_icon) 4) it will provide the first option in the context menu as NAME_OF_YOUR_APP (upon right mouse-click on flash-drive's icon) 5) it WILL NOT launch your application automatically on startup, which is good from a security point of view... For MacOS this tool can be of some use: http://www.naratt.com/MultipleLauncher.html I think it is more than enough for a non-U3 drive. I am also bundling my Contents Management Soft with Apache this way :-). All the best Viktoras -------Original Message------- From: Robert Mann Date: 07/31/06 22:19:27 To: rev list Subject: u3 rev application with mysql/apache I am building a rev standalone that works in conjunction with a mysql database, so If I bundle a install I need to also check first to see if apache is installed if not then install it with a mysql database, so was thinking that maybe this new u3 drive I can preinstall everything on it so then all I need to send the use is a flash drive, any thoughts as to is this will be possible to run apache/mysql/rev application all within a u3 flash drive? Robert Mann President GP Racing LLC _______________________________________________ use-revolution mailing list use-revolution 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 geradamas at yahoo.com Wed Aug 2 12:48:31 2006 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 2 Aug 2006 09:48:31 -0700 (PDT) Subject: rawKeyDown - Cross Platform ??? Message-ID: <20060802164831.1016.qmail@web37510.mail.mud.yahoo.com> Dear Sean (and all other readers!), Your message is one of those ones that are useful but also don't answer the initial question:- 1. Yes, I will use "on enterKey" and "on returnKey" as per your advice, because if I use "rawKeyDown" it BLOCKS TEXT ENTRY TO TEXT FIELDS! 2. I am also, gently, working on some sort of a game that demands all sorts of keyboard control - and should, ideally, be OK cross-platform. sincerely, Richmond Mathewson ____________________________________________________________ "Philosophical problems are confusions arising owing to the fluidity of meanings users attach to words and phrases." Mathewson, 2006 ____________________________________________________________ From klaus at major-k.de Wed Aug 2 12:52:22 2006 From: klaus at major-k.de (Klaus Major) Date: Wed, 2 Aug 2006 18:52:22 +0200 Subject: rawKeyDown - Cross Platform ??? In-Reply-To: <20060802164831.1016.qmail@web37510.mail.mud.yahoo.com> References: <20060802164831.1016.qmail@web37510.mail.mud.yahoo.com> Message-ID: <50FA1982-51AD-4061-BDD5-8CF5697CC713@major-k.de> Hi Richmond, > Dear Sean (and all other readers!), > Your message is one of those ones that are useful but also > don't answer the initial question:- > > 1. Yes, I will use "on enterKey" and "on returnKey" as per > your advice, because if I use "rawKeyDown" it BLOCKS TEXT > ENTRY TO TEXT FIELDS! then PLEASE "PASS RAWKEYDOWN" at the end of your script in that case :-) > > 2. I am also, gently, working on some sort of a game that demands > all sorts of keyboard control - and should, ideally, be OK > cross-platform. Sorry, i have no idea if the keys are identical. > sincerely, Richmond Mathewson Best from germanski Klaus Major klaus at major-k.de http://www.major-k.de From JimAultWins at yahoo.com Wed Aug 2 14:01:33 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 02 Aug 2006 11:01:33 -0700 Subject: LibURL Error Previous request not completed In-Reply-To: <691340A1-D998-4DB2-ACC5-94319A461504@economy-x-talk.com> Message-ID: On 8/2/06 8:50 AM, "Mark Schonewille" wrote: > Hi Jim, >Why do you mention UDP? I'm just establishing regular > FTP connections. Good question. UDP is not the same as FTP. It sends small packets (8000 K or so limit) from app-to-app, computer-to-computer IF each app knows about the other and can deal with the packet. Let say you compile 2 apps, uploadKirk & downloadSpock. They are both running on the same machine. UDP can be used to talk between them so that one is the main operator and sends a list of files to download to the companion app. Perhaps there may be an advantage to this since each is its own app and won't be blocking the other. (Untested.. .off the top of my head. If I get time later tonight I can do some testing for you, but likely you will not want me to bother.. Let me know, otherwise I will drop it.) Ports used are 4567 & 4568 on the same cpu (always IP 127.0.0.1) ---------uploadKirk app ------------------------------- global gSpockIsBusy on openstack accept datagram from socket 4568 with message "gotMsgFromSpock" put "" into gSpockBusy end openstack on sendInstuctionsToSpock if gSpockIsBusy is not empty then send "sendInstuctionsToSpock" to me in 1 second else put myNewList into fileListToDnld open datagram socket "127.0.0.1:4567" write "msg to Spock - download"&cr& \ fileListToDnld to socket "127.0.0.1:4567" close socket "127.0.0.1:4567" put "wait" into gSpockIsBusy end if end sendInstuctionsToSpock on gotMsgFromSpock hostt, msgg, sockett if msgg contains "done with download" then put "" into gSpockIsBusy end if end gotMsgFromSpock ---------downloadSpock app ---------------------- on openstack accept datagram from socket 4567 with message "gotMsgFromKirk" end openstack on gotMsgFromKirk hostt, msgg, sockett if msgg contains " download" then put line 2 to -1 of msgg into fileListToGet doFTP2ThisHardDrive(fileListToGet) --blocking, but not for Kirk confirmDnldDone end if end gotMsgFromKirk on confirmDnldDone open datagram socket "127.0.0.1:4568" write "msg to Kirk - done with download" to socket "127.0.0.1:4568" close socket "127.0.0.1:4568" end confirmDnldDone -------Sulu to all hands: Transmitter Room now closed ------------- Jim Ault Las Vegas From dsc at swcp.com Wed Aug 2 14:13:17 2006 From: dsc at swcp.com (Dar Scott) Date: Wed, 2 Aug 2006 12:13:17 -0600 Subject: rawKeyDown - Cross Platform ??? In-Reply-To: <20060802112519.5000.qmail@web37509.mail.mud.yahoo.com> References: <20060802112519.5000.qmail@web37509.mail.mud.yahoo.com> Message-ID: <3C99F177-7B3F-4689-821A-9F26AB73D4DF@swcp.com> On Aug 2, 2006, at 5:25 AM, Richmond Mathewson wrote: > Does anybody know whether rawKeyDown numbers are the > same cross-platform? Here are some clues: I think I remember seeing long ago differences. I now suspect they might be predictable. For the most part, they are the same. The word keysym is used for the code in the old MetaCard documentation. I suspect the keysym codes are those from X11. I think the keysym is at a slightly higher level than keycode, which might be hardware dependent. I think the keysym might be based on a glyph on the top of the key. (A counter example test might be to see if the return on the Mac keyboard and the return on Windows keyboard are the same. Then again, some might say those are equivalent glyphs.) There might be multiple glyphs on a keyboard. I have never seen a definitive table or standard. I think I have seen some partial tables in a specific use. Yikes. I just found something. I don't know if it is real or a proposal. This should give you a hint: http://www.cl.cam.ac.uk/~mgk25/ucs/X11.keysyms.pdf I think this is a proposal that adds the new Unicode keysyms, but it should give you a good idea. I agree. Runrev should note common differences. I also think they should refer to a standard or provide a table, perhaps derived from such, or provide other information that would help in programmers using these numbers. That would also allow people to determine whether an interesting code is a bug or not. Let us know what you learn, if you feel inclined. Dar Scott From bobs at twft.com Wed Aug 2 15:13:12 2006 From: bobs at twft.com (Robert Sneidar) Date: Wed, 2 Aug 2006 12:13:12 -0700 Subject: Select From db In-Reply-To: <20060802124737.61C06827094@mail.runrev.com> References: <20060802124737.61C06827094@mail.runrev.com> Message-ID: <65224A33-19FE-40E7-9ED8-F6B19A71EDAB@twft.com> Pardon my ignorance, but why the double brackets? Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Aug 2, 2006, at 5:47 AM, use-revolution-request at lists.runrev.com wrote: > ------------------ one line (watch word wrap) > put merge("DELETE FROM [[tmysqltableName]] Where [[tIDcolumnName]] = > '[[tRecordID]]'") into theSQL From robmann at gp-racing.com Wed Aug 2 15:33:11 2006 From: robmann at gp-racing.com (Robert Mann) Date: Wed, 2 Aug 2006 15:33:11 -0400 Subject: u3 rev application with mysql/apache In-Reply-To: <44D0C499.000004.03372@MAZYTIS> Message-ID: Viktoras thanks for the help I am not having any luck getting it to work so I guess I need to ask a few more questions. I have been using xampp for the mysql install now that I understand that I do not need the apache is there something else I should use? where should I place all the apps, all in one dir or separate, here is how it is setup right now on the flash drive rev application is in the root mysql is in the xampp\mysql\ I also notice that if I move my flash drive to a different computer and the drive letter changes like from l to m and I click on the mysql_start I get a error message is there a way to correct this so that it will change to the proper drive letter? also this line "-password=kristupukas shutdown" in your code should I be changing it to "-password=mypassword shutdown" is this correct from below? on startup put "MySQL Server 5.0\bin\mysqladmin -" & "-password=kristupukas shutdown" into theCommand set the hideConsoleWindows to true get shell(theCommand) end startup Robert Mann President GP Racing LLC -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Viktoras Didziulis Sent: Wednesday, August 02, 2006 10:28 AM To: How to use Revolution Subject: RE: u3 rev application with mysql/apache Hi Robert, try this with 3 buttons: #start the server on mouseUp set the hideConsoleWindows to true open process "MySQL Server 5.0\bin\mysqld" for neither end mouseUp #stop the server on mouseUp put "MySQL Server 5.0\bin\mysqladmin -" & "-password=kristupukas shutdown" into theCommand set the hideConsoleWindows to true get shell(theCommand) end mouseUp #show server status on mouseUp put "MySQL Server 5.0\bin\mysqladmin -" & "-password=kristupukas status" into theCommand set the hideConsoleWindows to true get shell(theCommand) answer it end mouseUp This should do the job. Instead of using buttons you may want to load server (scripts of the stack): on startup put "MySQL Server 5.0\bin\mysqladmin -" & "-password=kristupukas shutdown" into theCommand set the hideConsoleWindows to true get shell(theCommand) end startup and close it with: on closeStack put "MySQL Server 5.0\bin\mysqladmin -" & "-password=kristupukas shutdown" into theCommand set the hideConsoleWindows to true get shell(theCommand) end closeStack Viktoras -------Original Message------- From: Robert Mann Date: 08/02/06 14:50:19 To: How to use Revolution Subject: RE: u3 rev application with mysql/apache Not sure how to code the call to start the mysql is there a sample out there somewhere? Thanks Robert Mann President GP Racing LLC -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Viktoras Didziulis Sent: Wednesday, August 02, 2006 2:39 AM To: How to use Revolution Subject: RE: u3 rev application with mysql/apache Hi, You have to call Mysql from the main application while it is loading or on demand. Autorun wont start it automatically from a thumbdrive. Viktoras -------Original Message------- From: Robert Mann Date: 08/02/06 00:46:09 To: How to use Revolution Subject: RE: u3 rev application with mysql/apache tying to get your suggestion to work I have it so that it opens my app which is the first 5 lines but I am not able to get the mysql started here is my autorun.inf [autorun] action=SNmain.exe open=/SNmain/Windows/SNmain.exe shellexecute=/SNmain/Windows/SNmain.exe shell\Auto=&SNmain.exe shell\Auto\command=/SNmain/Windows/SNmain.exe action=xampp_start.exe open=/xampp/xampp_start.exe shellexecute=/xampp/xampp_start.exe shell\Auto=&xampp_start.exe shell\Auto\command=/xampp/xampp_start.exe Icon=sn.ico shell=Auto label=Suspension Network Robert Mann President GP Racing LLC -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Viktoras Didziulis Sent: Monday, July 31, 2006 3:16 PM To: How to use Revolution Subject: Re: u3 rev application with mysql/apache Hi Robert, you do not need U3 drive for this. Some cool things can be done with ordinary flashdrives. For MS Windows you use Autorun.inf like this:[autorun] action=NAME_OF_YOUR_APP open=your_app.exe shellexecute=your_app.exe shell\Auto=&NAME_OF_YOUR_APP shell\Auto\command=your_app.exe Icon=your_icon.ico shell=Auto label=NAME_OF_YOUR_APP What you get is: 1) after insertion of the flashdrive your_icon will appear instead of the default flashdrive icon; 2) if autoplay on users machine is enabled it will show NAME_OF_YOUR_APP with your_icon as the first choice in autoplay menu and will allow to launch your app from there; 3) it will launch the application on doubleclicking the flash_drive's icon (your_icon) 4) it will provide the first option in the context menu as NAME_OF_YOUR_APP (upon right mouse-click on flash-drive's icon) 5) it WILL NOT launch your application automatically on startup, which is good from a security point of view... For MacOS this tool can be of some use: http://www.naratt.com/MultipleLauncher.html I think it is more than enough for a non-U3 drive. I am also bundling my Contents Management Soft with Apache this way :-). All the best Viktoras -------Original Message------- From: Robert Mann Date: 07/31/06 22:19:27 To: rev list Subject: u3 rev application with mysql/apache I am building a rev standalone that works in conjunction with a mysql database, so If I bundle a install I need to also check first to see if apache is installed if not then install it with a mysql database, so was thinking that maybe this new u3 drive I can preinstall everything on it so then all I need to send the use is a flash drive, any thoughts as to is this will be possible to run apache/mysql/rev application all within a u3 flash drive? Robert Mann President GP Racing LLC _______________________________________________ use-revolution mailing list use-revolution 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 JimAultWins at yahoo.com Wed Aug 2 15:46:52 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 02 Aug 2006 12:46:52 -0700 Subject: Select From db In-Reply-To: <65224A33-19FE-40E7-9ED8-F6B19A71EDAB@twft.com> Message-ID: Check out merge() in the dictionary and you will see that is the syntax for that function. Jim Ault Las Vegas On 8/2/06 12:13 PM, "Robert Sneidar" wrote: > Pardon my ignorance, but why the double brackets? > > Bob Sneidar > IT Manager > Logos Management > Calvary Chapel CM > > On Aug 2, 2006, at 5:47 AM, use-revolution-request at lists.runrev.com > wrote: > >> ------------------ one line (watch word wrap) >> put merge("DELETE FROM [[tmysqltableName]] Where [[tIDcolumnName]] = >> '[[tRecordID]]'") into theSQL > From cford at gwm.sc.edu Wed Aug 2 16:15:06 2006 From: cford at gwm.sc.edu (Curtis Ford) Date: Wed, 02 Aug 2006 16:15:06 -0400 Subject: 2.6 Dreamcard stacks won't launch when converted to 2.7 Message-ID: Thanks very much anyway for checking it, Kay - very mysterious. I've downloaded the trial version of 2.7 onto 2 computers (one with XP, one with OS X) and tried making the 'hello world' standalone on each. The standalones seem to build OK, just like you described, but still won't launch on any of the 4 machines (OS X 10.4.7, 10.3.9, 2 with XP) I've tried them on. Feels like there must just be one thing (maybe terribly obvious?) I'm missing.. though if you (and another helpful tester who answered privately) could build successfully from my file, I suppose I could still submit my project for the contest in hopes that they can open it, even if I can't ..? : ( -Curt > > IIf anyone has a moment to try & save it as a standalone, or confirm the > problem, I'd really appreciate it. > >Downloaded your stack and saved it as a standalone no problems. Didn't >change any of the 2.7.x default settings for creating standalones. I just >opened your stack in the IDE and immediately selected "Save As Standalone >Application...". It created a OSX application bundle and a Windows exe with >a folder called 'Externals'. From viktoras at ekoinf.net Wed Aug 2 16:59:16 2006 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Wed, 2 Aug 2006 23:59:16 +0300 (FLE Standard Time) Subject: u3 rev application with mysql/apache References: Message-ID: <44D11224.000001.01428@MAZYTIS> Hi Robert, Apache is needed only if you wish to clone a website with cgi/SSI/php/databases/whatsoever to a flash drive (or CD) without major changes to the server side scripts and (x)html forms so you could access it locally or from your LAN using web browser or from within hta applications. If you need just a database application, then probably altSQL which embeds SQLite engine would be the optimal solution. Concerning MySQL, the best option is to do manual install of MySQL. Download distribution without instaler from http://www.mysql.org/downloads/mysql/5.0.html Then follow directives at http://www.mysql.org/doc/refman/5.0/en/windows-install-archive.html to install and configure directly to the thumbdrive. Use only relative path names everywhere to avoid problems with drive letters type in your_password instead of kristupukas - sorry, forgot to translate it to English :-): put "xamp\mysql\MySQL Server 5.0\bin\mysqladmin -" & -password=your_password shutdown" There is also a possibility to embed MySQL, but this requires some efforts: http://www.mysql.com/news-and-events/users-conference/2006/embedded.php Alternative might be a Firebird database: http://www.firebirdsql.org/, which can also be embeded into applications or run as a server and is relatively small ~around 4Mb. Also has an in-memory database option. But I am just planning to play a bit with it in future, as allways :-) All the best! Viktoras -------Original Message------- From: Robert Mann Date: 08/02/06 22:33:26 To: How to use Revolution Subject: RE: u3 rev application with mysql/apache Viktoras thanks for the help I am not having any luck getting it to work so I guess I need to ask a few more questions. I have been using xampp for the mysql install now that I understand that I do not need the apache is there something else I should use? where should I place all the apps, all in one dir or separate, here is how it is setup right now on the flash drive rev application is in the root mysql is in the xampp\mysql\ I also notice that if I move my flash drive to a different computer and the drive letter changes like from l to m and I click on the mysql_start I get a error message is there a way to correct this so that it will change to the proper drive letter? also this line "-password=kristupukas shutdown" in your code should I be changing it to "-password=mypassword shutdown" is this correct from below? on startup put "MySQL Server 5.0\bin\mysqladmin -" & "-password=kristupukas shutdown" into theCommand set the hideConsoleWindows to true get shell(theCommand) end startup Robert Mann President GP Racing LLC -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Viktoras Didziulis Sent: Wednesday, August 02, 2006 10:28 AM To: How to use Revolution Subject: RE: u3 rev application with mysql/apache Hi Robert, try this with 3 buttons: #start the server on mouseUp set the hideConsoleWindows to true open process "MySQL Server 5.0\bin\mysqld" for neither end mouseUp #stop the server on mouseUp put "MySQL Server 5.0\bin\mysqladmin -" & "-password=kristupukas shutdown" into theCommand set the hideConsoleWindows to true get shell(theCommand) end mouseUp #show server status on mouseUp put "MySQL Server 5.0\bin\mysqladmin -" & "-password=kristupukas status" into theCommand set the hideConsoleWindows to true get shell(theCommand) answer it end mouseUp This should do the job. Instead of using buttons you may want to load server (scripts of the stack): on startup put "MySQL Server 5.0\bin\mysqladmin -" & "-password=kristupukas shutdown" into theCommand set the hideConsoleWindows to true get shell(theCommand) end startup and close it with: on closeStack put "MySQL Server 5.0\bin\mysqladmin -" & "-password=kristupukas shutdown" into theCommand set the hideConsoleWindows to true get shell(theCommand) end closeStack Viktoras -------Original Message------- From: Robert Mann Date: 08/02/06 14:50:19 To: How to use Revolution Subject: RE: u3 rev application with mysql/apache Not sure how to code the call to start the mysql is there a sample out there somewhere? Thanks Robert Mann President GP Racing LLC -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Viktoras Didziulis Sent: Wednesday, August 02, 2006 2:39 AM To: How to use Revolution Subject: RE: u3 rev application with mysql/apache Hi, You have to call Mysql from the main application while it is loading or on demand. Autorun wont start it automatically from a thumbdrive. Viktoras -------Original Message------- From: Robert Mann Date: 08/02/06 00:46:09 To: How to use Revolution Subject: RE: u3 rev application with mysql/apache tying to get your suggestion to work I have it so that it opens my app which is the first 5 lines but I am not able to get the mysql started here is my autorun.inf [autorun] action=SNmain.exe open=/SNmain/Windows/SNmain.exe shellexecute=/SNmain/Windows/SNmain.exe shell\Auto=&SNmain.exe shell\Auto\command=/SNmain/Windows/SNmain.exe action=xampp_start.exe open=/xampp/xampp_start.exe shellexecute=/xampp/xampp_start.exe shell\Auto=&xampp_start.exe shell\Auto\command=/xampp/xampp_start.exe Icon=sn.ico shell=Auto label=Suspension Network Robert Mann President GP Racing LLC -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Viktoras Didziulis Sent: Monday, July 31, 2006 3:16 PM To: How to use Revolution Subject: Re: u3 rev application with mysql/apache Hi Robert, you do not need U3 drive for this. Some cool things can be done with ordinary flashdrives. For MS Windows you use Autorun.inf like this:[autorun] action=NAME_OF_YOUR_APP open=your_app.exe shellexecute=your_app.exe shell\Auto=&NAME_OF_YOUR_APP shell\Auto\command=your_app.exe Icon=your_icon.ico shell=Auto label=NAME_OF_YOUR_APP What you get is: 1) after insertion of the flashdrive your_icon will appear instead of the default flashdrive icon; 2) if autoplay on users machine is enabled it will show NAME_OF_YOUR_APP with your_icon as the first choice in autoplay menu and will allow to launch your app from there; 3) it will launch the application on doubleclicking the flash_drive's icon (your_icon) 4) it will provide the first option in the context menu as NAME_OF_YOUR_APP (upon right mouse-click on flash-drive's icon) 5) it WILL NOT launch your application automatically on startup, which is good from a security point of view... For MacOS this tool can be of some use: http://www.naratt.com/MultipleLauncher.html I think it is more than enough for a non-U3 drive. I am also bundling my Contents Management Soft with Apache this way :-). All the best Viktoras -------Original Message------- From: Robert Mann Date: 07/31/06 22:19:27 To: rev list Subject: u3 rev application with mysql/apache I am building a rev standalone that works in conjunction with a mysql database, so If I bundle a install I need to also check first to see if apache is installed if not then install it with a mysql database, so was thinking that maybe this new u3 drive I can preinstall everything on it so then all I need to send the use is a flash drive, any thoughts as to is this will be possible to run apache/mysql/rev application all within a u3 flash drive? Robert Mann President GP Racing LLC _______________________________________________ use-revolution mailing list use-revolution 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 _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Wed Aug 2 17:30:33 2006 From: bobs at twft.com (Robert Sneidar) Date: Wed, 2 Aug 2006 14:30:33 -0700 Subject: Relational SQL Message-ID: <2783652F-E9DF-4836-A1B6-1F8AB50DF291@twft.com> I am rapidly approaching the point that I will need to access tables that are relational. Does anyone have any experience doing this? I am not sure Revolution has any built in methodology for this, so my guess is I will have to build complex SQL statements and execute them, or else build in the relationships in the Database itself. I am used to defining relationships on the fly so this is new to me. Bob Sneidar IT Manager Logos Management Calvary Chapel CM From liamlambert at mac.com Wed Aug 2 17:49:49 2006 From: liamlambert at mac.com (Liam Lambert) Date: Wed, 2 Aug 2006 22:49:49 +0100 Subject: remove empty lines Message-ID: <4EE3D4F9-8AFA-4A14-83C2-4936B18C8C0E@mac.com> Hi all how do I delete blank lines from a field I have something like this put fld "emailList" into tEmailList repeat for each line tEmail in tEmailList if line tEmail is " " then (what would go here) end if end repeat or am I totally off the mark Liam IRELAND liamlambert at mac.com From bvg at mac.com Wed Aug 2 17:51:44 2006 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 2 Aug 2006 23:51:44 +0200 Subject: remove empty lines In-Reply-To: <4EE3D4F9-8AFA-4A14-83C2-4936B18C8C0E@mac.com> References: <4EE3D4F9-8AFA-4A14-83C2-4936B18C8C0E@mac.com> Message-ID: put fld "emailList" into tEmailList repeat for each line tEmail in tEmailList if tEmail <> "" then put tEmail after tNewEmailList end if end repeat On Aug 02 2006, at 23:49, Liam Lambert wrote: > Hi all > how do I delete blank lines from a field > I have something like this > > put fld "emailList" into tEmailList > repeat for each line tEmail in tEmailList > if line tEmail is " " then (what would go here) > end if > end repeat > > or am I totally off the mark > Liam > IRELAND > liamlambert 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 > > -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From m.schonewille at economy-x-talk.com Wed Aug 2 18:05:37 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 3 Aug 2006 00:05:37 +0200 Subject: remove empty lines In-Reply-To: <4EE3D4F9-8AFA-4A14-83C2-4936B18C8C0E@mac.com> References: <4EE3D4F9-8AFA-4A14-83C2-4936B18C8C0E@mac.com> Message-ID: <31289652-BE85-4972-9E9B-1C5821AE5791@economy-x-talk.com> Hi Liam, filter tEmailList without empty Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 2-aug-2006, om 23:49 heeft Liam Lambert het volgende geschreven: > Hi all > how do I delete blank lines from a field > I have something like this > > put fld "emailList" into tEmailList > repeat for each line tEmail in tEmailList > if line tEmail is " " then (what would go here) > end if > end repeat > > or am I totally off the mark > Liam > IRELAND > liamlambert at mac.com From liamlambert at mac.com Wed Aug 2 18:14:15 2006 From: liamlambert at mac.com (Liam Lambert) Date: Wed, 2 Aug 2006 23:14:15 +0100 Subject: remove empty lines Message-ID: <029CBC7D-44B2-42BB-94E6-840EE2C04259@mac.com> Thanks Liam IRELAND liamlambert at mac.com From alex at tweedly.net Wed Aug 2 18:18:49 2006 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 02 Aug 2006 23:18:49 +0100 Subject: remove empty lines In-Reply-To: <4EE3D4F9-8AFA-4A14-83C2-4936B18C8C0E@mac.com> References: <4EE3D4F9-8AFA-4A14-83C2-4936B18C8C0E@mac.com> Message-ID: <44D124C9.4070508@tweedly.net> Liam Lambert wrote: > Hi all > how do I delete blank lines from a field > I have something like this > > put fld "emailList" into tEmailList > repeat for each line tEmail in tEmailList > if line tEmail is " " then (what would go here) > end if > end repeat > > or am I totally off the mark You're close - you could do it like > put fld 'emailList' into tEmailList > put empty into tNewEmail > repeat for each line tEmail in tEmailList > if line tEmail is not empty then > put tEmail & CR after tNewEmailList > end if > end repeat > put tNewEmailList into fld 'emailList' but easier would be > put fld 'emailList' into tEmailList > filter tEmailList without empty > put tEmailList into fld 'emailList' -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.5/405 - Release Date: 01/08/2006 From alex at tweedly.net Wed Aug 2 18:30:34 2006 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 02 Aug 2006 23:30:34 +0100 Subject: Looking for a tutorial on using Arrays in Rev Message-ID: <44D1278A.3020204@tweedly.net> Someone (a relatively new Rev user) just mentioned to me that they were "not yet array savvy". I know they have already found a bunch of tutorials, the online conferences, etc. - but I thought I'd point them to a tutorial on using arrays, because I think that's perhaps the "right" solution to the problem they're tackling. And I can't find one !! Does anyone know of a good intro to using arrays in Rev - preferably a tutorial, or sample stack, or ... -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.5/405 - Release Date: 01/08/2006 From dsc at swcp.com Wed Aug 2 19:02:31 2006 From: dsc at swcp.com (Dar Scott) Date: Wed, 2 Aug 2006 17:02:31 -0600 Subject: Answer/File File Name combo problems Message-ID: I'm using 'answer file with' and 'ask file with', too. On Windows XP and with the system dialog. If the user selects the file, this works OK. But if the user drops down the File Name combo box (I think that is what it is) and selects a recent file (by full path), 'it' contains the text of the folder path followed by the full path. Like this: C:/chocolate/C:\mockchocolate\white\chip.txt I could parse that out, but I suspect there is a right way to do this and get the right path. Or maybe a way to clear or set the combo list. Dar Scott From scott at elementarysoftware.com Wed Aug 2 19:39:39 2006 From: scott at elementarysoftware.com (Scott Morrow) Date: Wed, 2 Aug 2006 16:39:39 -0700 Subject: repeating key delay time In-Reply-To: <3D9B726E-AF4C-42FA-A897-FEB0AEB6F09E@derbrill.de> References: <20060802124737.9C7A5827088@mail.runrev.com> <3D9B726E-AF4C-42FA-A897-FEB0AEB6F09E@derbrill.de> Message-ID: <9718BE2A-5F93-4C9C-B1A2-0A0CC6FDDFD3@elementarysoftware.com> Malte, Thanks! I'm using a variation on this now. Besides learning something about keyDown messages I feel a light bulb about to go on ( metaphorically... over my head) with regards to send-in-time message passing. -Scott On Aug 2, 2006, at 8:11 AM, Malte Brill wrote: > on mouseUp > set the navigationArrows to false > set the flag of me to not the flag of me > if the flag of me then hereWeGo > end mouseUp > > > on hereWeGo > --put the keysDown > repeat for each item theItem in the keysDown > put item 1 of the loc of btn "myMovingButton" into tX > put item 2 of the loc of btn myMovingButton into tY > switch theItem > case "65361" > set the loc of btn "myMovingButton" to tX - 1,tY > break > case "65362" > set the loc of btn "myMovingButton" to tX,tY - 1 > break > case "65363" > set the loc of btn "myMovingButton" to tX + 1,tY > break > case "65364" > set the loc of btn "myMovingButton" to tX,tY + 1 > break > end switch > end repeat > if the flag of me then send hereWeGo to me in 50 milliseconds > end hereWeGo From JimAultWins at yahoo.com Wed Aug 2 20:24:31 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 02 Aug 2006 17:24:31 -0700 Subject: remove empty lines In-Reply-To: <4EE3D4F9-8AFA-4A14-83C2-4936B18C8C0E@mac.com> Message-ID: One line should do it all for you filter fld "emailList" without empty Jim Ault Las Vegas On 8/2/06 2:49 PM, "Liam Lambert" wrote: > Hi all > how do I delete blank lines from a field > I have something like this > > put fld "emailList" into tEmailList > repeat for each line tEmail in tEmailList > if line tEmail is " " then (what would go here) > end if > end repeat > > or am I totally off the mark From ambassador at fourthworld.com Thu Aug 3 00:42:16 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 02 Aug 2006 21:42:16 -0700 Subject: remove empty lines Message-ID: <44D17EA8.9090802@fourthworld.com> Alex Tweedly wrote: >... you could do it like > >> put fld 'emailList' into tEmailList >> put empty into tNewEmail >> repeat for each line tEmail in tEmailList >> if line tEmail is not empty then >> put tEmail & CR after tNewEmailList >> end if >> end repeat >> put tNewEmailList into fld 'emailList' > > > but easier would be > >> put fld 'emailList' into tEmailList >> filter tEmailList without empty >> put tEmailList into fld 'emailList' Easier to script, yes, but note the result from running this script which compares both methods: on mouseUp put 1000 into N put fld 1 into tData -- -- -- 1. repeat for each -- put the millisecs into t repeat N -- put empty into R1 repeat for each line tLine in tData if tLine is not empty then put tLine &cr after R1 end if end repeat delete last char of R1 -- end repeat put the millisecs - t into t1 -- -- -- 2. filter: -- put the millisecs into t repeat N -- put tData into R2 filter R2 without empty -- end repeat put the millisecs - t into t2 -- -- -- Result: put t1 && t2 end mouseUp Did I write this wrong? Seems most times I benchmark "repeat for each" with the well-optimized "put after" I get results that hold up surprisingly well. I have another post in the works with some other interesting benchmarks related to processing lists (things I learned on summer vacation )... -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From devin_asay at byu.edu Thu Aug 3 03:51:25 2006 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 3 Aug 2006 01:51:25 -0600 Subject: download status reporting Message-ID: Has anyone used libURLSetStatusCallback successfully to monitor the progress of downloads from a remote server? I am using it in conjunction with libURLDownloadToFile and it seems to PARTLY work. I use it to update a progress bar, and that is working okay. At the same time I echo the status to a text field, but that part seems to work once and then never change (it reports "requested" then never changes, for example). At this point it's more of an annoyance than a big problem. Has anyone else seen this? Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From dcragg at lacscentre.co.uk Thu Aug 3 06:08:25 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 3 Aug 2006 11:08:25 +0100 Subject: LibURL Error Previous request not completed In-Reply-To: <691340A1-D998-4DB2-ACC5-94319A461504@economy-x-talk.com> References: <691340A1-D998-4DB2-ACC5-94319A461504@economy-x-talk.com> Message-ID: On 2 Aug 2006, at 16:50, Mark Schonewille wrote: > > FTP servers don't care much about the number of connections. Good > FTP clients upload and download files at the same time, using > different connections. I have to question whether there are any benefits in doing that. Whether you download files sequentially or out of sync, the server is trying to do essentially the same thing -- push the same data down the same physical pipe. Does it matter the order in which it does it? But when establishing new ftp connections, there is an overhead for making the socket connection and negotiating the login. If you are uploading/downloading a lot of small files, that overhead may become proportionally high and actually slow things down. I don't have any data to show which approach might be faster. Do you have any pointers? For what it's worth, the client I usually use (Fetch) uploads/ downloads multiple files sequentially over a single connection. As for libUrl, when using non-blocking handlers (load, libUrlFtpUploadFile, etc.). it queues uploads/downloads to the same ftp user account, and handles them sequentially over the same connection. But it handles simultaneous requests to different servers (and different user accounts on the same server) asynchronously. Cheers Dave From mark at maseurope.net Thu Aug 3 06:44:57 2006 From: mark at maseurope.net (Mark Smith) Date: Thu, 3 Aug 2006 11:44:57 +0100 Subject: remove empty lines In-Reply-To: <44D17EA8.9090802@fourthworld.com> References: <44D17EA8.9090802@fourthworld.com> Message-ID: <790676DC-525A-4061-8A48-5182D5ED6156@maseurope.net> What were your results? On this machine (Mac PB 1.5mhz) I got: 10000 lines in a field with approx. 1000 randomly placed empty lines put fld text into variable, repeat for each, place new list into fld -- 78 millisecs put fld text into variable, filter variable, put back into field -- 72 millisecs simply filter field -- 70 millisecs So not a huge difference between any of them. Best, Mark On 3 Aug 2006, at 05:42, Richard Gaskin wrote: > Alex Tweedly wrote: > >> ... you could do it like >>> put fld 'emailList' into tEmailList >>> put empty into tNewEmail >>> repeat for each line tEmail in tEmailList >>> if line tEmail is not empty then >>> put tEmail & CR after tNewEmailList >>> end if >>> end repeat >>> put tNewEmailList into fld 'emailList' >> but easier would be >>> put fld 'emailList' into tEmailList >>> filter tEmailList without empty >>> put tEmailList into fld 'emailList' > > Easier to script, yes, but note the result from running this script > which compares both methods: > > > on mouseUp > put 1000 into N > put fld 1 into tData > -- > -- > -- 1. repeat for each > -- > put the millisecs into t > repeat N > -- > put empty into R1 > repeat for each line tLine in tData > if tLine is not empty then > put tLine &cr after R1 > end if > end repeat > delete last char of R1 > -- > end repeat > put the millisecs - t into t1 > -- > -- > -- 2. filter: > -- > put the millisecs into t > repeat N > -- > put tData into R2 > filter R2 without empty > -- > end repeat > put the millisecs - t into t2 > -- > -- > -- Result: > put t1 && t2 > end mouseUp > > > Did I write this wrong? > > Seems most times I benchmark "repeat for each" with the well- > optimized "put after" I get results that hold up surprisingly well. > > I have another post in the works with some other interesting > benchmarks related to processing lists (things I learned on summer > vacation )... > > -- > 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 dcragg at lacscentre.co.uk Thu Aug 3 06:55:48 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 3 Aug 2006 11:55:48 +0100 Subject: download status reporting In-Reply-To: References: Message-ID: <3C47469B-37EF-4031-8D1D-6BB49AB3C442@lacscentre.co.uk> On 3 Aug 2006, at 08:51, Devin Asay wrote: > Has anyone used libURLSetStatusCallback successfully to monitor the > progress of downloads from a remote server? I am using it in > conjunction with libURLDownloadToFile and it seems to PARTLY work. > I use it to update a progress bar, and that is working okay. At the > same time I echo the status to a text field, but that part seems to > work once and then never change (it reports "requested" then never > changes, for example). This seems odd. Presumably the updating of the progress bar uses the same text you want to display in the text field. Can you show us the script you are using? Cheers Dave From rcozens at pon.net Thu Aug 3 09:53:19 2006 From: rcozens at pon.net (Rob Cozens) Date: Thu, 3 Aug 2006 06:53:19 -0700 Subject: remove empty lines In-Reply-To: <4EE3D4F9-8AFA-4A14-83C2-4936B18C8C0E@mac.com> References: <4EE3D4F9-8AFA-4A14-83C2-4936B18C8C0E@mac.com> Message-ID: Hi Liam, >how do I delete blank lines from a field Another approach: get fld "emailList" replace return&return with return in it -- 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 alex at tweedly.net Thu Aug 3 10:06:07 2006 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 03 Aug 2006 15:06:07 +0100 Subject: remove empty lines In-Reply-To: <44D17EA8.9090802@fourthworld.com> References: <44D17EA8.9090802@fourthworld.com> Message-ID: <44D202CF.7080901@tweedly.net> Richard Gaskin wrote: > > Easier to script, yes, but note the result from running this script > which compares both methods: > > > on mouseUp > put 1000 into N > put fld 1 into tData > -- > -- > -- 1. repeat for each > -- > put the millisecs into t > repeat N > -- > put empty into R1 > repeat for each line tLine in tData > if tLine is not empty then > put tLine &cr after R1 > end if > end repeat > delete last char of R1 > -- > end repeat > put the millisecs - t into t1 > -- > -- > -- 2. filter: > -- > put the millisecs into t > repeat N > -- > put tData into R2 > filter R2 without empty > -- > end repeat > put the millisecs - t into t2 > -- > -- > -- Result: > put t1 && t2 > end mouseUp > Results are very data dependent; I get anything from 30 14 to 67 104 for different input fields (i.e. 2:1 ratio in either direction). > > Did I write this wrong? > Perhaps. Method 2 above makes a copy of the data before filtering the copy - which may or may not be necessary in the real application context. If the original (unfiltered) value is no longer needed then you *may* be able to avoid the copy- which would change the results (though not by very much - small change compared to the data dependency variation). > Seems most times I benchmark "repeat for each" with the well-optimized > "put after" I get results that hold up surprisingly well. > > I have another post in the works with some other interesting > benchmarks related to processing lists (things I learned on summer > vacation )... > I'll buy you a dictionary some day, so you can read up on "vacation" :-) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.5/406 - Release Date: 02/08/2006 From m.schonewille at economy-x-talk.com Thu Aug 3 10:12:05 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 3 Aug 2006 16:12:05 +0200 Subject: remove empty lines In-Reply-To: References: <4EE3D4F9-8AFA-4A14-83C2-4936B18C8C0E@mac.com> Message-ID: <2B767C1E-98E7-42BF-ADE2-9901D8A4EA8B@economy-x-talk.com> Rob, That doesn't work. Try this in the message box: put cr & cr & cr & cr & cr into x; replace cr & cr with cr in x; put number of lines of x Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 3-aug-2006, om 15:53 heeft Rob Cozens het volgende geschreven: > Hi Liam, > >> how do I delete blank lines from a field > > Another approach: > > get fld "emailList" > replace return&return with return in it From alex at tweedly.net Thu Aug 3 10:32:59 2006 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 03 Aug 2006 15:32:59 +0100 Subject: LibURL Error Previous request not completed In-Reply-To: References: <691340A1-D998-4DB2-ACC5-94319A461504@economy-x-talk.com> Message-ID: <44D2091B.5010904@tweedly.net> Dave Cragg wrote: > > On 2 Aug 2006, at 16:50, Mark Schonewille wrote: > >> >> FTP servers don't care much about the number of connections. Good >> FTP clients upload and download files at the same time, using >> different connections. > > > I have to question whether there are any benefits in doing that. > Whether you download files sequentially or out of sync, the server is > trying to do essentially the same thing -- push the same data down > the same physical pipe. Does it matter the order in which it does it? > Yes, it does matter. There are a number of cases where multiple connections will win out : 1. avoiding start/finish round-trip delays for each transfer. You don't of course avoid them - but you can interleave them with the parallel transfers, and hence keep the pipe closer to full. 2. transient congestion (and packet-drops) have less effect on multiple connections Esp. if the congested router is using RED 3. rate-limiting per connection from the server can be imposed lower than your connection bandwidth 4. bandwidth allocation on congested links Esp if the upstream router is using WFQ or DRR queuing, and high capacity connections are severely limited 5. .... many more ..... > But when establishing new ftp connections, there is an overhead for > making the socket connection and negotiating the login. If you are > uploading/downloading a lot of small files, that overhead may become > proportionally high and actually slow things down. Indeed - you'd want to establish the ftp connection(s) once, and allocate individual transfers between them, not start a new connection per file. > > I don't have any data to show which approach might be faster. Do you > have any pointers? > Nothing interesting I can share, sorry. There are a few public ones on GridFTP, such www.slac.stanford.edu/econf/C0303241/proc/papers/TUCP008.PDF I also found http://www.applelinks.com/index.php/more/charles_moore_reviews_the_captain_ftp_445_ftp_client/ though I haven't read it thoroughly yet. > For what it's worth, the client I usually use (Fetch) uploads/ > downloads multiple files sequentially over a single connection. > -- Alex Tweedly http://www.tweedly.net -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.5/406 - Release Date: 02/08/2006 From mcaufield at hoosierstamping.com Thu Aug 3 10:43:33 2006 From: mcaufield at hoosierstamping.com (Michael Caufield) Date: Thu, 3 Aug 2006 09:43:33 -0500 Subject: MySQL Load Data Local Message-ID: <14F8F9C8-77AF-4790-B09B-E955C162C2BA@hoosierstamping.com> From Revolution version 2.7.2 forward the MySQL Load Data Local Infile command fails with the error message "The used command is not supported by this version of MySQL. The current version of MySQL server being used is 5.0.21. This command works from the MySQL command line without fail. It also works when called from revExecuteSQL for versions of Revolution up to 2.7.1. I believe the problem is caused by the fact that the MySQL driver is now linked against the latest version of the MySQL client library (5.0.23) and has been compiled with the --local-infile=0. Is this behavior intentional? I think that the default for the MySQL client is to set this flag to true. As a workaround, can the MySQL driver from version 2.7.1 be used in newer versions of Revolution? Please advise. From dsc at swcp.com Thu Aug 3 11:41:33 2006 From: dsc at swcp.com (Dar Scott) Date: Thu, 3 Aug 2006 09:41:33 -0600 Subject: LibURL Error Previous request not completed In-Reply-To: <44D2091B.5010904@tweedly.net> References: <691340A1-D998-4DB2-ACC5-94319A461504@economy-x-talk.com> <44D2091B.5010904@tweedly.net> Message-ID: <31D427B1-55FF-4407-811F-855BE45688B1@swcp.com> On Aug 3, 2006, at 8:32 AM, Alex Tweedly wrote: > Yes, it does matter. There are a number of cases where multiple > connections will win out : > > 1. avoiding start/finish round-trip delays for each transfer. > You don't of course avoid them - but you can interleave them > with the parallel transfers, and hence keep the pipe closer to full. > 2. transient congestion (and packet-drops) have less effect on > multiple connections > Esp. if the congested router is using RED > 3. rate-limiting per connection from the server can be imposed > lower than your connection bandwidth > 4. bandwidth allocation on congested links > Esp if the upstream router is using WFQ or DRR queuing, and > high capacity connections are severely limited Thanks for these. 1. Interleaving is possible with TCP, but for the most part TCP does not have round-trip delays except at the start and end. Well, I guess some settings might. There will be some interleaving from what I've seen. 2. I don't know much about congestion at routers, but I agree with the affect of dropped packets. 3. I think rate-limiting at source, if you are downloading from multiple servers, is the greatest factor. 4. I claim ignorance. Another factor might be the ability to give user feedback right away should there be a problem with any files. I wonder if downloading multiple files might cause variations in transfer rates that confuse the optimization at servers and routers. Just mumbling. Dar Scott From dcragg at lacscentre.co.uk Thu Aug 3 12:09:00 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 3 Aug 2006 17:09:00 +0100 Subject: LibURL Error Previous request not completed In-Reply-To: <44D2091B.5010904@tweedly.net> References: <691340A1-D998-4DB2-ACC5-94319A461504@economy-x-talk.com> <44D2091B.5010904@tweedly.net> Message-ID: <2684C296-7AF1-426F-A076-C95993A1F2F0@lacscentre.co.uk> On 3 Aug 2006, at 15:32, Alex Tweedly wrote: >> >> I have to question whether there are any benefits in doing that. >> Whether you download files sequentially or out of sync, the server >> is trying to do essentially the same thing -- push the same data >> down the same physical pipe. Does it matter the order in which it >> does it? >> > Yes, it does matter. There are a number of cases where multiple > connections will win out : > > 1. avoiding start/finish round-trip delays for each transfer. > You don't of course avoid them - but you can interleave them > with the parallel transfers, and hence keep the pipe closer to full. > 2. transient congestion (and packet-drops) have less effect on > multiple connections > Esp. if the congested router is using RED > 3. rate-limiting per connection from the server can be imposed > lower than your connection bandwidth > 4. bandwidth allocation on congested links > Esp if the upstream router is using WFQ or DRR queuing, and > high capacity connections are severely limited > 5. .... many more ..... OK. I yield. :-) Cheers Dave From devin_asay at byu.edu Thu Aug 3 12:42:47 2006 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 3 Aug 2006 10:42:47 -0600 Subject: download status reporting In-Reply-To: <3C47469B-37EF-4031-8D1D-6BB49AB3C442@lacscentre.co.uk> References: <3C47469B-37EF-4031-8D1D-6BB49AB3C442@lacscentre.co.uk> Message-ID: <09FC51A9-45EF-4CF1-BBF6-754291377087@byu.edu> On Aug 3, 2006, at 4:55 AM, Dave Cragg wrote: > > On 3 Aug 2006, at 08:51, Devin Asay wrote: > >> Has anyone used libURLSetStatusCallback successfully to monitor >> the progress of downloads from a remote server? I am using it in >> conjunction with libURLDownloadToFile and it seems to PARTLY work. >> I use it to update a progress bar, and that is working okay. At >> the same time I echo the status to a text field, but that part >> seems to work once and then never change (it reports "requested" >> then never changes, for example). > > This seems odd. Presumably the updating of the progress bar uses > the same text you want to display in the text field. Can you show > us the script you are using? OK, the download works, and the download progress is updated correctly in the progress bar and the text field, but now when the download finishes, the URLstatus seems to be "stuck" on the last reported "loading" message. If I check the urlStatus for the just- concluded download, I get: loading,180902350,180902350 This effectively blocks all subsequent downloads. If I start another the urlStatus reports "queued" for that download. If I check the pendingMessages I get: 45839,1154622702.764941,ulTickleMe,button id 1037 of group id 1016 of card id 1002 of stack "/Applications/Revolution/Revolution Enterprise/2.7.2-gm-1/Toolset/revlibrary.rev" The only way to clear all of this is to quit Rev and relaunch. Here is the scripting I am using to initiate the download (from an FTP server): libURLDownloadToFile tDLURL, (the DLfolder of this cd & "/" & the titleToDL of me), "downloadComplete" libURLSetStatusCallback DLprogress,the long id of me That calls this handler: on DLprogress pDLurl,pStatus if pStatus contains "loading" then put item -1 of pStatus into tBytestotal put item 2 of pStatus into tBytesReceived set the endvalue of scrollbar "dlProgress" to tBytestotal set the thumbpos of scrollbar "dlProgress" to item 2 of pStatus set the numberformat to "0.##" put (tBytesReceived / 1000000) & " MB of " & (tBytestotal / 1000000) & " MB" into fld "dlMsg" if tBytesReceived >= tBytestotal then put "(DONE) " before line (the hilitedLine of fld "orderlist") of fld "orderlist" answer information "Download complete." dowloadComplete end if else if pStatus is "contacted" then put "Server contacted." into fld "dlMsg" else if pStatus is "requested" then put "Requesting file." into fld "dlMsg" else if pStatus is "queued" then put "Waiting for previous download to finish." into fld "dlMsg" else if pStatus is "downloaded" then put "Download complete." into fld "dlMsg" downloadComplete #### I'm calling this to try to ensure it gets called! else if pStatus is "eror" then put "Error during download." into fld "dlMsg" answer error "The download encountered an error and could not continue. Aborted." downloadComplete else if pStatus is "timeout" then put "Server timed out." into fld "dlMsg" answer error "The download server timed out. Download aborted." downloadComplete end if end DLprogress The downloadComplete handler is simple: on downloadComplete answer information "The file " & the titleToDL of btn "download" & " has downloaded successfully." hide group "dlStatusGrp" end downloadComplete Oddly enough, the first statement gets executed, but not the second. I'm stumped. Am I just doing something wrong? Any ideas? Regards, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From mark at maseurope.net Thu Aug 3 13:22:22 2006 From: mark at maseurope.net (Mark Smith) Date: Thu, 3 Aug 2006 18:22:22 +0100 Subject: ulTickleMe Message-ID: <2426F7FD-96AE-4B6A-92AD-FA32404C2292@maseurope.net> Dave, (or anyone else who knows), what is the ulTickleMe message that I see in the pending messages? I'm assuming that the 'ul' connects it with libURL. I have an app that uploads a small amount of data to a remote ftp site every twenty minutes or so, using libUrlFTPUpload. on updateRemote libUrlFTPUpload the rData of me, theFTPaddress send "updateRemote" to me in 1200 seconds end updateRemote In the time between uploads, I see "updateRemote" in the pendingMessages (obviously), but I also see the uTickleMe message, even though I can verify that the upload has been successfully completed by checking the remote site with Fetch. Best, Mark From dsc at swcp.com Thu Aug 3 13:40:10 2006 From: dsc at swcp.com (Dar Scott) Date: Thu, 3 Aug 2006 11:40:10 -0600 Subject: Answer/File File Name combo problems In-Reply-To: References: Message-ID: <5690E566-16BE-47B0-B64E-32E8416D7ED1@swcp.com> On Aug 2, 2006, at 5:02 PM, Dar Scott wrote: > C:/chocolate/C:\mockchocolate\white\chip.txt Ah, yes. Bug 3300. Any experience of success with the Rev dialogs? If not, I'll continue with the system dialogs and check it and extract what I need. (I hope my example did not offend any white chocolate fans. I realize that white chocolate contains cacao fat, called cocoa butter in the US, and thus might be called a 1/99 or 0/100 chocolate, but some might not agree, saying chocolate requires some nontrivial amount of cacao solids, that is, the substance of cocoa. Others say that is moot since white chocolate usually contains milk and is more properly called chocolate candy, as is milk chocolate. I'll accept white as a cacao product.) Dar Scott From mwieder at ahsoftware.net Thu Aug 3 15:41:38 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 3 Aug 2006 12:41:38 -0700 Subject: OT: java In-Reply-To: <5690E566-16BE-47B0-B64E-32E8416D7ED1@swcp.com> References: <5690E566-16BE-47B0-B64E-32E8416D7ED1@swcp.com> Message-ID: <52183948393.20060803124138@ahsoftware.net> Dar- Apparently white chocolate is to real chocolate as Javascript is to java. ...and speaking of java, I couldn't resist a link to "This is Coffee!" http://www.archive.org/details/ThisisCo1961 -- -Mark Wieder mwieder at ahsoftware.net From HyperChris at aol.com Thu Aug 3 16:32:05 2006 From: HyperChris at aol.com (HyperChris at aol.com) Date: Thu, 3 Aug 2006 16:32:05 EDT Subject: form email to RevCGI Message-ID: Sometimes i buy things online and receive a survey form in my email to rate the seller. The forms usually have some graphics, text, radio buttons, a text box (for comments) and a submit button. The idea being that you can do the response right there in the email program and click Submit to send off the response. You are then sent to a thank you web page. These are, of course, HTML emails and upon closer examination, they use the "GET" method to call a PHP script at the server. (form action="http://www.pricegrabber.com/html_user_sales_rate.php" method="get") I want to do this with my Rev CGI, so i setup a script that just returns the form parameters. I test it out first as a stand alone web page and it works great. Next, I use ShaoSean's libSMTP and libEmailEncode252 to attach the HTML form to an email. I get the HTML based email which looks fine and I fill in all the stuff and hit Submit. I go to the web page and i get my static response but none of the info i supplied to the form. I have the script write out the variables it receives and they are empty. It is as though the revCGI is being called but can't access the data, or is not being given the data, that was passed when making the form submission. Again, this works fine if use the HTML as a web page. It only goes blank when i do it via email??? Are there some limitations here that I do not know? Thanks for your thoughts! Chris From jiml at netrin.com Thu Aug 3 17:04:34 2006 From: jiml at netrin.com (Jim Lambert) Date: Thu, 3 Aug 2006 14:04:34 -0700 Subject: Looking for a tutorial on using Arrays in Rev In-Reply-To: <20060803155030.C19C0827230@mail.runrev.com> Message-ID: Alex wrote: I'm not new to Rev and I'd also like to see a good intro and tutorial on arrays. I keep expecting them to behave like Director's lists - but they don't. Darn them! The difficulty couldn't possibly be with moi. ;) Jim Lambert From sarah.reichelt at gmail.com Thu Aug 3 17:08:17 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 4 Aug 2006 07:08:17 +1000 Subject: MySQL Load Data Local In-Reply-To: <14F8F9C8-77AF-4790-B09B-E955C162C2BA@hoosierstamping.com> References: <14F8F9C8-77AF-4790-B09B-E955C162C2BA@hoosierstamping.com> Message-ID: On 8/4/06, Michael Caufield wrote: > From Revolution version 2.7.2 forward the MySQL Load Data Local > Infile command fails with the error message "The used command is not > supported by this version of MySQL. The current version of MySQL > server being used is 5.0.21. This command works from the MySQL > command line without fail. It also works when called from > revExecuteSQL for versions of Revolution up to 2.7.1. I believe the > problem is caused by the fact that the MySQL driver is now linked > against the latest version of the MySQL client library (5.0.23) and > has been compiled with the --local-infile=0. Is this behavior > intentional? I think that the default for the MySQL client is to set > this flag to true. As a workaround, can the MySQL driver from version > 2.7.1 be used in newer versions of Revolution? Please advise. I too ran into this problem with MySQL 5 and was unable to solve it. I don't think it's anything to do with Revolution, it's MySQL's fault. I turned on the local-infile option but this made no difference. Actually, I probably should have stopped & re-started the SQL server after changing it, but in the end, I just made a loop to read the data in and INSERT it line by line. In my case, this was a one-off data import so I didn't care that it took a bit more time. Cheers, Sarah From jbv.silences at club-internet.fr Thu Aug 3 17:37:02 2006 From: jbv.silences at club-internet.fr (jbv) Date: Thu, 03 Aug 2006 23:37:02 +0200 Subject: form email to RevCGI References: Message-ID: <44D26C70.D0347D3C@club-internet.fr> Chris > Next, I use ShaoSean's libSMTP and libEmailEncode252 to attach the HTML > form to an email. I get the HTML based email which looks fine and I fill in all > the stuff and hit Submit. what go you mean by "which looks fine" ? did you actually chack the HTML code received in the email, and especially the line with the GET method to make sure parts of the code aren't corruped or missing ? > > > Again, this works fine if use the HTML as a web page. It only goes blank when > i do it via email??? which email client do you use ? could there be any settings that enable / disable the use of forms and submit requests in HTML code ? JB From RGould8 at aol.com Thu Aug 3 18:00:14 2006 From: RGould8 at aol.com (RGould8 at aol.com) Date: Thu, 3 Aug 2006 18:00:14 EDT Subject: Rev app to pull data from Amazon Message-ID: Say, has anyone here ever written any Rev apps that pull data from Amazon, using the Amazon Web Services API? For instance, an app that allows the user to type in a search term for CD's, and returns a list of Amazon CD's including album covers? If so, could I see how you accomplished such a task? Do I need to get one of the Amazon security-service certificates in order to do this? From revolutionary.dan at gmail.com Thu Aug 3 18:12:54 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Thu, 3 Aug 2006 15:12:54 -0700 Subject: Rev app to pull data from Amazon In-Reply-To: References: Message-ID: <70ed6b130608031512w6772ca7ay36071fdbd06906f9@mail.gmail.com> I've done a bit of work in this area but nothing ambitious. But I can answer your other question below. Yes, you do need a developer account. On 8/3/06, RGould8 at aol.com wrote: > > Do I need to get one > of the Amazon security-service certificates in order to do 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 > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From gregory.lypny at videotron.ca Thu Aug 3 18:13:29 2006 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 03 Aug 2006 18:13:29 -0400 Subject: Catching Error Messages Message-ID: Hello everyone, I'm making a stack of statistical tests. Some of the calculations involve numbers too big for Revolution to handle, so I want to be able to warn the user if he or she supplies a sample size that is too big. How can I catch error messages such as a range overflow (see below) to do this? multiply: range error (overflow) Regards, Gregory From m.schonewille at economy-x-talk.com Thu Aug 3 18:26:51 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 4 Aug 2006 00:26:51 +0200 Subject: Catching Error Messages In-Reply-To: References: Message-ID: <659165B3-C3FD-477C-A6B4-6120C628C200@economy-x-talk.com> Hi Gregory, Are you a statistician? Sample size should not play any role in the size of numbers that Revolution can handle. What exactly are you having a problem with? You an catch error messages by using the try- catch control structure. Just put this around the syntax that does the calculations and show an error dialog if you "catch" an error. See the docs for more info. Some of the information is difficult to retrieve if a stack is password protected. I made a shareware library that allows you to catch errors in password protected stacks. The library gives you several ways to parse and display errors. If this sounds useful, have a look at the developers section of the Economy-x-Talk website. Best regards, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 4-aug-2006, om 0:13 heeft Gregory Lypny het volgende geschreven: > Hello everyone, > > I'm making a stack of statistical tests. Some of the calculations > involve numbers too big for Revolution to handle, so I want to be > able to warn the user if he or she supplies a sample size that is > too big. How can I catch error messages such as a range overflow > (see below) to do this? > > multiply: range error (overflow) > > Regards, > > Gregory From bobs at twft.com Thu Aug 3 20:12:44 2006 From: bobs at twft.com (Robert Sneidar) Date: Thu, 3 Aug 2006 17:12:44 -0700 Subject: u3 rev application with mysql/apache In-Reply-To: <20060803155030.C19C0827230@mail.runrev.com> References: <20060803155030.C19C0827230@mail.runrev.com> Message-ID: <30EE14DB-5755-47E1-8A86-25BA5E7BBE3D@twft.com> May I STRONGLY suggest you do NOT requote every requoted requote of every prior quote every time you reply to this list? I usually only quote one or two levels since I thread my mail messages anyway. Snip it! Snip it good! Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Aug 3, 2006, at 8:50 AM, use-revolution-request at lists.runrev.com wrote: > RE: u3 rev application with mysql/apache From robmann at gp-racing.com Thu Aug 3 20:21:47 2006 From: robmann at gp-racing.com (Robert Mann) Date: Thu, 3 Aug 2006 20:21:47 -0400 Subject: u3 rev application with mysql/apache In-Reply-To: <30EE14DB-5755-47E1-8A86-25BA5E7BBE3D@twft.com> Message-ID: thanks for the help Robert Mann President GP Racing LLC -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Robert Sneidar Sent: Thursday, August 03, 2006 7:13 PM To: use-revolution at lists.runrev.com Subject: RE: u3 rev application with mysql/apache May I STRONGLY suggest you do NOT requote every requoted requote of every prior quote every time you reply to this list? I usually only quote one or two levels since I thread my mail messages anyway. Snip it! Snip it good! Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Aug 3, 2006, at 8:50 AM, use-revolution-request at lists.runrev.com wrote: > RE: u3 rev application with mysql/apache _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From shaosean at hotmail.com Thu Aug 3 23:27:19 2006 From: shaosean at hotmail.com (Sean Shao) Date: Thu, 03 Aug 2006 23:27:19 -0400 Subject: [ANN] Listbox Tree Script TR1 Message-ID: Make any listbox a tree listbox control without having to do too much work. Please note that this is still in development, so please send me feedback. Also, I'd also like to take this to point out that I've updated my website and there's now RSS feeds so you can stay up-to-date ;-) www.shaosean.tk | shaosean.wehostmacs.com _________________________________________________________________ Don?t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ From soapdog at mac.com Fri Aug 4 00:16:22 2006 From: soapdog at mac.com (Andre Garzia) Date: Fri, 4 Aug 2006 01:16:22 -0300 Subject: [ANN] Listbox Tree Script TR1 In-Reply-To: References: Message-ID: <4B74DEEE-9552-426F-9485-7788657BFB02@mac.com> Very nice outliner view Shao Sean!!!! I can think good uses for it as soon as you allow us to use it. It's working fine here on Rev 2.7.2 on an Intel Mac OS X 10.4.7. The bahaviour of single click on triangle to close/expand or double click on the line for close/expand is a nice touch. Also I'd like your new rapidWeaver-made site! :D Cheers and thanks for all your work. Many on this list depends on your libraries daily. Andre Alves Garzia On Aug 4, 2006, at 12:27 AM, Sean Shao wrote: > Make any listbox a tree listbox control without having to do too > much work. Please note that this is still in development, so please > send me feedback. Also, I'd also like to take this to point out > that I've updated my website and there's now RSS feeds so you can > stay up-to-date ;-) > > www.shaosean.tk | shaosean.wehostmacs.com > > _________________________________________________________________ > Don?t just search. Find. Check out the new MSN Search! http:// > search.msn.click-url.com/go/onm00200636ave/direct/01/ > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Aug 4 00:18:48 2006 From: soapdog at mac.com (Andre Garzia) Date: Fri, 4 Aug 2006 01:18:48 -0300 Subject: ulTickleMe In-Reply-To: <2426F7FD-96AE-4B6A-92AD-FA32404C2292@maseurope.net> References: <2426F7FD-96AE-4B6A-92AD-FA32404C2292@maseurope.net> Message-ID: <7D7DF7AA-995C-4DA3-BBF7-832C44073DFA@mac.com> Gee, I always thought that ulTickleMe was Rev IDE related or Galaxy related, I always thought it related with the mouse status/location somehow, but anyway, I am as lost as you on this one. andre On Aug 3, 2006, at 2:22 PM, Mark Smith wrote: > Dave, (or anyone else who knows), > > what is the ulTickleMe message that I see in the pending messages? > I'm assuming that the 'ul' connects it with libURL. > > I have an app that uploads a small amount of data to a remote ftp > site every twenty minutes or so, using libUrlFTPUpload. > > on updateRemote > libUrlFTPUpload the rData of me, theFTPaddress > send "updateRemote" to me in 1200 seconds > end updateRemote > > In the time between uploads, I see "updateRemote" in the > pendingMessages (obviously), but I also see the uTickleMe message, > even though I can verify that the upload has been successfully > completed by checking the remote site with Fetch. > > > Best, > > 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 dcragg at lacscentre.co.uk Fri Aug 4 01:40:49 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 4 Aug 2006 06:40:49 +0100 Subject: ulTickleMe In-Reply-To: <2426F7FD-96AE-4B6A-92AD-FA32404C2292@maseurope.net> References: <2426F7FD-96AE-4B6A-92AD-FA32404C2292@maseurope.net> Message-ID: <814A26A2-E047-4B8A-9A18-2E9397ADA97D@lacscentre.co.uk> On 3 Aug 2006, at 18:22, Mark Smith wrote: > Dave, (or anyone else who knows), > > what is the ulTickleMe message that I see in the pending messages? > I'm assuming that the 'ul' connects it with libURL. This was added to libUrl at some point to overcome an occasional problem with the "wait for messages" command which is used heavily in libUrl. The ulTickleMe message is sent every second while a socket is open and forces the "wait for messages" lines to stop waiting. If I recall correctly, the problem was specific to a particular engine version, so I should probably re-examine whether it is needed anymore. With an ftp upload, it will continue to fire for a short time after the upload has completed, as the ftp session is kept open for possible re-use. (The default time is 15 seconds.) With http downloads, it will continue until the server closes the connection which varies from "immediately" to a number of minutes. (But a few seconds is typical.) If you're running a routine that deletes all the pending messages, I doubt it will do any harm. Cheers Dave From list at dreamscapesoftware.com Fri Aug 4 03:32:25 2006 From: list at dreamscapesoftware.com (dreamscapesoftware.com - List) Date: Fri, 4 Aug 2006 03:32:25 -0400 Subject: Studio License Renewal Cost Message-ID: <200608040732.k747WPDX009513@valuworld.com> Does anyone else cringe at the thought of dropping down $199 or more for a few new features on their choosen Development Platform? Does anyone else feel that $199 for a years worth of minor upgrades is not worth it? Does anyone else get annoyed that updates usually consist of 2 or 3 new features for their platform? Anyone else getting annoyed that their BugZilla submissions still say "PENDING" or "UNCONFIRMED"?... yet the Rev Docs have been redesigned...again! Well I am. I've been using Revolution since 2003, and as far as I'm concerned, $199 for a years worth of Updates is hardly worth it. $199 is 2/3rd's the original price of the product! Even Adobe and Real don't charge that much. If you don't believe me, check out the full and upgrade costs associated with Photoshop, Creative Suite and REALbasic. I really feel that the cost for 1 year of Studio upgrades should be $99. I already paid for the license once. Do I really need to pay Rev $199 for the "reLaunch" command?!!! Give me a break. If anyone else agree's that the upgrade cost is too high, let me know and speak up. From garrett at paraboliclogic.com Fri Aug 4 03:42:22 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Fri, 4 Aug 2006 00:42:22 -0700 Subject: Studio License Renewal Cost In-Reply-To: <200608040732.k747WPDX009513@valuworld.com> References: <200608040732.k747WPDX009513@valuworld.com> Message-ID: On Aug 4, 2006, at 12:32 AM, dreamscapesoftware.com - List wrote: > Does anyone else cringe at the thought of dropping down $199 or > more for a few new [snip] > license once. Do I really need to pay Rev $199 for the "reLaunch" > command?!!! Give me a break. > > If anyone else agree's that the upgrade cost is too high, let me > know and speak up. I've already expressed my dislike of the pricing structure. But expressing it here on the mailing list does nothing but cause unwanted and unneeded dissension among everyone on the list and in the end, won't change Runtime's pricing structure anyway. The pricing structure was I'm sure intended to create a constant financial source from businesses which are typically used to paying through the nose for software and repeated high priced updates and upgrades. It wasn't really setup with the home or hobby developer in mind. Basically, if you don't like the price structure for Rev, ya might want to consider an less expensive alternative which might fulfill your needs and expectations. Best regards, -Garrett From janselid at broadpark.no Fri Aug 4 03:43:43 2006 From: janselid at broadpark.no (=?iso-8859-1?Q?Jan_S=E6lid?=) Date: Fri, 04 Aug 2006 09:43:43 +0200 Subject: Studio License Renewal Cost In-Reply-To: <200608040732.k747WPDX009513@valuworld.com> References: <200608040732.k747WPDX009513@valuworld.com> Message-ID: <002d01c6b799$b62d28d0$22877a70$@no> I have to agree with you. I'm very happy with rev but there are too many bugs and feature requests that needs to be taken care of before I upgrade. And where is Linux and unix? > If anyone else agree's that the upgrade cost is too high, let me know and speak up. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From paolo.mazza at neol.it Fri Aug 4 04:14:26 2006 From: paolo.mazza at neol.it (paolo mazza) Date: Fri, 04 Aug 2006 10:14:26 +0200 Subject: Runtime Revolution Newsletter Issue 6 Message-ID: Dear friends i really apreciated the last issue of Runtime Revolution Newsletter . For some reasons I have not received Runtime Revolution Newsletter Issue 5. In the home page (runrev.com) the last newsletter published is number 4. Where can I get the Runtime Revolution Newsletter Issue 5? Best regards, Paolo Mazza From viktoras at ekoinf.net Fri Aug 4 04:26:04 2006 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Fri, 4 Aug 2006 11:26:04 +0300 (FLE Standard Time) Subject: Studio License Renewal Cost References: <200608040732.k747WPDX009513@valuworld.com> Message-ID: <44D3049C.000001.02220@MAZYTIS> Yes, for some of us on tight budgets it is indeed too costly. Therefore I will keep updating once per year unless it drops to $99. Then I think I will get more for the same price :-) All the best! Viktoras -------Original Message------- From: dreamscapesoftware.com - List Date: 08/04/06 10:32:37 To: use-revolution at lists.runrev.com Subject: Studio License Renewal Cost Does anyone else cringe at the thought of dropping down $199 or more for a few new features on their choosen Development Platform? Does anyone else feel that $199 for a years worth of minor upgrades is not worth it? Does anyone else get annoyed that updates usually consist of 2 or 3 new features for their platform? Anyone else getting annoyed that their BugZilla submissions still say PENDING" or "UNCONFIRMED"?... yet the Rev Docs have been redesigned...again! Well I am. I've been using Revolution since 2003, and as far as I'm concerned, $199 for a years worth of Updates is hardly worth it. $199 is 2/3rd's the original price of the product! Even Adobe and Real don't charge that much. If you don't believe me, check out the full and upgrade costs associated with Photoshop, Creative Suite and REALbasic. I really feel that the cost for 1 year of Studio upgrades should be $99. I already paid for the license once. Do I really need to pay Rev $199 for the reLaunch" command?!!! Give me a break. If anyone else agree's that the upgrade cost is too high, let me know and speak up. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From psahores at easynet.fr Fri Aug 4 04:52:50 2006 From: psahores at easynet.fr (Pierre Sahores) Date: Fri, 4 Aug 2006 10:52:50 +0200 Subject: Studio License Renewal Cost In-Reply-To: <002d01c6b799$b62d28d0$22877a70$@no> References: <200608040732.k747WPDX009513@valuworld.com> <002d01c6b799$b62d28d0$22877a70$@no> Message-ID: <4257903B-52A2-4F4F-B862-1BA16ABD419A@easynet.fr> Dear Rev's Fellows, If you consider that the real world is never "perfect", Rev can't be perfect but it's our luck to be able to use it, even evry day ... Rev is developped by a very talentious RunRev team ; As a general purpose development tool, Rev let us develop all kinds of destop's and client-server solutions ; As a very heavy piece of code, Rev contains its parts of bugs and, always, the works-arounds we need to gohead in our works ; Because RunRev is not Microsoft or Oracle, the team's developpers are not hundreds or tousands to polish our prefered development tool and it's mainly why we have to consider that the best XTalk available around can't be 100% bug free. On the other hand, you have to consider that if you always pay for the annual license renewal fees, alike many of us, you just helps a little, the RunRev corp to gohead in working to deliver us the next realises of Media, Studio or Entreprise. Don't think too much in money terms : the RunRev team is working very hard and mainly 16 hours/day as passionate peoples trying to push the XTalk paradigm to its best level. If they would have in mind "just to do money", we would'nt be able to count on them to do all the work they are providing to all of us ;-) In a perfect world, Rev would be "a little more polished", no more ;-) Best Regards from Fontainebleau, Le 4 ao?t 06 ? 09:43, Jan S?lid a ?crit : > I have to agree with you. I'm very happy with rev but there are too > many > bugs and feature requests that needs to be taken care of before I > upgrade. > And where is Linux and unix? > > >> If anyone else agree's that the upgrade cost is too high, let me >> know and > speak up. -- Pierre Sahores www.sahores-conseil.com From mark at maseurope.net Fri Aug 4 05:18:01 2006 From: mark at maseurope.net (Mark Smith) Date: Fri, 4 Aug 2006 10:18:01 +0100 Subject: ulTickleMe In-Reply-To: <814A26A2-E047-4B8A-9A18-2E9397ADA97D@lacscentre.co.uk> References: <2426F7FD-96AE-4B6A-92AD-FA32404C2292@maseurope.net> <814A26A2-E047-4B8A-9A18-2E9397ADA97D@lacscentre.co.uk> Message-ID: <0A5A50BD-5D0B-41C0-9774-52F06CDBE2C7@maseurope.net> Dave, thanks. I just curious, really, and now I know! Best, Mark On 4 Aug 2006, at 06:40, Dave Cragg wrote: > > On 3 Aug 2006, at 18:22, Mark Smith wrote: > >> Dave, (or anyone else who knows), >> >> what is the ulTickleMe message that I see in the pending messages? >> I'm assuming that the 'ul' connects it with libURL. > > This was added to libUrl at some point to overcome an occasional > problem with the "wait for messages" command which is used heavily > in libUrl. The ulTickleMe message is sent every second while a > socket is open and forces the "wait for messages" lines to stop > waiting. If I recall correctly, the problem was specific to a > particular engine version, so I should probably re-examine whether > it is needed anymore. > > With an ftp upload, it will continue to fire for a short time after > the upload has completed, as the ftp session is kept open for > possible re-use. (The default time is 15 seconds.) With http > downloads, it will continue until the server closes the connection > which varies from "immediately" to a number of minutes. (But a few > seconds is typical.) > > If you're running a routine that deletes all the pending messages, > I doubt it will do any harm. > > 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 rcozens at pon.net Fri Aug 4 09:55:06 2006 From: rcozens at pon.net (Rob Cozens) Date: Fri, 4 Aug 2006 06:55:06 -0700 Subject: remove empty lines Message-ID: Moi, >replace return&return with return in it I took this from a script I have been using successfully for several years; but forgot that the application where it is used can never have more than one blank line in succession. :{( repeat while offset(return&return,it) <> 0 replace return&return with return in it end repeat or put return&return into theTarget repeat while offset(theTarget,it) <> 0 replace theTarget with return in it end repeat will do the job. -- 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 stephenREVOLUTION at barncard.com Fri Aug 4 10:28:40 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 4 Aug 2006 07:28:40 -0700 Subject: Studio License Renewal Cost In-Reply-To: <200608040732.k747WPDX009513@valuworld.com> References: <200608040732.k747WPDX009513@valuworld.com> Message-ID: I think the pricing is appropriate for a professional product. It's also the only way a little company can survive and still continue development. The features that's coming in the future (I can't talk about it - NDA) will make it all worthwhile. If you don't make money with the product and are just playing around with it, then yes one doesn't need the upgrades... just use what's already in the version you have. We Enterprise customers pay more than $199/year. And I am not complaining. You don't want to pay for the newer versions... then don't upgrade. It's also unfair to expect RunRev to be Adobe. You should know better than that. sqb At 03:32 -0400 8/4/06, MR. dreamscapesoftware.com - List wrote: >From: "dreamscapesoftware.com - List" >To: use-revolution at lists.runrev.com >Subject: Studio License Renewal Cost > >Does anyone else cringe at the thought of dropping down $199 or more >for a few new features on their choosen Development Platform? > >Does anyone else feel that $199 for a years worth of minor upgrades >is not worth it? > >Does anyone else get annoyed that updates usually consist of 2 or 3 >new features for their platform? > >Anyone else getting annoyed that their BugZilla submissions still >say "PENDING" or "UNCONFIRMED"?... yet the Rev Docs have been >redesigned...again! > >Well I am. I've been using Revolution since 2003, and as far as I'm >concerned, $199 for a years worth of Updates is hardly worth it. > >$199 is 2/3rd's the original price of the product! Even Adobe and >Real don't charge that much. If you don't believe me, check out the >full and upgrade costs associated with Photoshop, Creative Suite and >REALbasic. > >I really feel that the cost for 1 year of Studio upgrades should be >$99. I already paid for the license once. Do I really need to pay >Rev $199 for the "reLaunch" command?!!! Give me a break. > >If anyone else agree's that the upgrade cost is too high, let me >know and speak up. > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From mcaufield at hoosierstamping.com Fri Aug 4 11:17:09 2006 From: mcaufield at hoosierstamping.com (Michael Caufield) Date: Fri, 4 Aug 2006 10:17:09 -0500 Subject: MySQL Load Data Local Message-ID: > I too ran into this problem with MySQL 5 and was unable to solve it. I > don't think it's anything to do with Revolution, it's MySQL's fault. I > turned on the local-infile option but this made no difference. > Actually, I probably should have stopped & re-started the SQL server > after changing it, but in the end, I just made a loop to read the data > in and INSERT it line by line. In my case, this was a one-off data > import so I didn't care that it took a bit more time. > > Cheers, > Sarah Sarah, I believe the problem is on the client side not the server side. If the problem doesn't lie with Revolution, then why did Load Data Local work with all rev versions through 2.7.2-dp-1 using the 5.0.21 version of MySQL server? It appears that with the the 2.7.2-gm-1 release, the dbmysql.bundle driver has been compiled with --local- infile=0. I am using this procedure via a Revolution script to import data into MySQL from a text export created by a HyperCard/Oracle system that we are replacing with Revolution/MySQL. The export/import is run overnight so we have current data to test the new system. The import alone takes over 2 hours using Load Data Local. The only workaround I have found is to use: get shell("mysqlimport --local-infile=1 --lines-terminated-by='\r' dbname" && quote & loadfile & quote) instead of: revExecuteSQL gConnID,"load data local infile '" & loadfile & "' into table " & tablename & " lines terminated by '\r'" I haven't tested the line by line INSERT method, but would expect it to be substantially slower than Load Data. Thanks for your reply, Michael From shaosean at hotmail.com Fri Aug 4 11:34:17 2006 From: shaosean at hotmail.com (Sean Shao) Date: Fri, 04 Aug 2006 11:34:17 -0400 Subject: [ANN] Listbox Tree Script TR1 Message-ID: > I can think good uses for it as soon as you allow us to use it. You're free to use it.. It's under the "yoyomf" license (that's "Your On Your Own My Friend").. > It's working fine here on Rev 2.7.2 on an Intel Mac OS X 10.4.7. Cool.. I made it in 2.6.1 and it should work as far back as 2.0 as I don't use anything fancy to get it to work (I'm sure that it'd even work as far back as 1.0 ;-) > Cheers and thanks for all your work. You're welcome and thanks for using them and for any feedback given over the years. ^_^ _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From list at dreamscapesoftware.com Fri Aug 4 11:39:34 2006 From: list at dreamscapesoftware.com (dreamscapesoftware.com - List) Date: Fri, 4 Aug 2006 11:39:34 -0400 Subject: Studio License Renewal Cost Message-ID: <200608041539.k74FdYQU006639@valuworld.com> Garrett Hylltun wrote: > I've already expressed my dislike of the pricing structure. But expressing it here on the mailing list does nothing but cause unwanted and unneeded dissension among everyone on the list and in the end, won't change Runtime's pricing structure anyway. Where else would be a good place to discuss this issue then? The list is a public forum for the discussion of Revolution, so it seems like a good place to me, whether or not it may upset some people out there. > The pricing structure was I'm sure intended to create a constant financial source from businesses which are typically used to paying through the nose for software and repeated high priced updates and upgrades. It wasn't really setup with the home or hobby developer in mind. You're right, and it's cutting a huge part of the market out. Meanwhile REALbasic and other less expensive programs are raking in the "home" or "hobby" developers who don't want to drop down the money on Revolution. > Basically, if you don't like the price structure for Rev, ya might want to consider an less expensive alternative which might fulfill your needs and expectations. I love working with Revolution... I just want to see the license cost be a little more competitive, especially for what one actually receives through updates. $199 for 3 or 4 new features, and 3 or 4 old bugs that still haven't been fixed yet, is just not worth it. Derek Bump Dreamscape Software www.dreamscapesoftware.com From list at dreamscapesoftware.com Fri Aug 4 12:18:43 2006 From: list at dreamscapesoftware.com (dreamscapesoftware.com - List) Date: Fri, 4 Aug 2006 12:18:43 -0400 Subject: Studio License Renewal Cost Message-ID: <200608041618.k74GIg9B008344@valuworld.com> 1. I am not saying that I want to get Revolution for free. 2. I am not saying that the people at RunRev are bad people. 3. I am not saying that any of you are bad people. What am I saying? For what you actually get in updates, the Renewal Cost is too high and should be dropped slightly. That's all I'm trying to say. I gave examples of why, and examples of other companies and what they are doing. But if all of you are OK with paying it, then fine. I'll leave the subject alone. Just don't complain when the next verson comes out and your Bugs still havn't been fixed yet, or your Enhancement Requests are just that... requests. Derek Bump Dreamscape Software www.dreamscapesoftware.com From wjm at wjm.org Fri Aug 4 12:50:46 2006 From: wjm at wjm.org (Bill Marriott) Date: Fri, 4 Aug 2006 12:50:46 -0400 Subject: Studio License Renewal Cost References: <200608041539.k74FdYQU006639@valuworld.com> Message-ID: My 1-year license for Studio 2.6.1 updates ran out something like a week before 2.7 was first released, back in February. In all that previous year I don't think I received (nor was there available) a single "update" for my money. Then I said -- oh, this is an interesting update, antialiased graphics, maybe 2.7's worth it. But I found 2.7 to be buggier than a picnic on an anthill in Georgia on a summer afternoon. So, no way was I going to upgrade lickety-split for that. I experienced every single problem the people on the list were reporting -- random crashes, etc. as well as generally sluggish behavior overall. I reasoned, the regular update pack is basically $16.58 a month. If I go for the early update pack, I save $50, which is about 3 months. But then my contract expires earlier and I have to pay again sooner for the next update pack. Better wait to see what was going to happen with 2.7, I thought. Since Feb there has been 2.7, 2.7.1, and 2.7.2. While I have seen improvements in the trial versions I still have not seen the kind of stability I enjoyed in 2.6.1. They can't even install and uninstall properly. Now I just got a letter than 2.7.3 is coming out "real soon now" and I'm looking forward to trying that out. Perhaps this will finally be the version that I want to have. Of course, the Linux support still ain't there. In the meantime, I'm still using 2.6.1. I don't like the pricing plan, either, to be honest. There's no guarantee that they will actually *do* anything that matters to me in the year following the subscription. I really don't believe in paying for bug fixes. To me, I prefer the simple model that if you're fixing a bug, the maintenance release should be free. If you're adding features, then you can charge for it. And generally you don't go adding features till you fix the bugs. What is the incentive for RunRev to fix bugs? Also, I wonder what my clients would say if they had to pay me annually with no promises on my part for doing really, anything for them. Or if I did do something, perhaps not what was on their "urgent" list... just whatever seemed easy or appealing to me. The maintenance plan for 2.6.1 essentially bought me nothing at all. And if I had gone for the early update pack in Feb, I'd be halfway through my contract with a still-buggy 2.7.2. Rev's upgrade pricing plan is wonky because it only ensures people will wait as long as they have to before "upgrading." It's made total financial sense for me to stick with 2.6.1 all this time. Of course, if I do jump for 2.7.3, with my luck it will be more than a year before there is a 2.8 with the stuff I *really* want. In the end, though, it's all moot. These guys are the only HyperTalk/Transcript shop in town for all intents and purposes. They can get away with whatever pricing they want. Rev is what it is. And until/unless you decide to become a C+ or REAL/Visual Basic programmer, they got you by the coconuts. "dreamscapesoftware.com - List" wrote in message news:200608041539.k74FdYQU006639 at valuworld.com... > Garrett Hylltun wrote: >> I've already expressed my dislike of the pricing structure. But >> expressing it here on the mailing list does nothing but cause unwanted >> and unneeded dissension among everyone on the list and in the end, won't >> change Runtime's pricing structure anyway. > > Where else would be a good place to discuss this issue then? The list is > a public forum for the discussion of Revolution, so it seems like a good > place to me, whether or not it may upset some people out there. > >> The pricing structure was I'm sure intended to create a constant >> financial source from businesses which are typically used to paying >> through the nose for software and repeated high priced updates and >> upgrades. It wasn't really setup with the home or hobby developer in >> mind. > > You're right, and it's cutting a huge part of the market out. Meanwhile > REALbasic and other less expensive programs are raking in the "home" or > "hobby" developers who don't want to drop down the money on Revolution. > >> Basically, if you don't like the price structure for Rev, ya might want >> to consider an less expensive alternative which might fulfill your needs >> and expectations. > > I love working with Revolution... I just want to see the license cost be a > little more competitive, especially for what one actually receives through > updates. $199 for 3 or 4 new features, and 3 or 4 old bugs that still > haven't been fixed yet, is just not worth it. > > > 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 david at openpartnership.net Fri Aug 4 13:09:26 2006 From: david at openpartnership.net (David Bovill) Date: Fri, 4 Aug 2006 19:09:26 +0200 Subject: Saving externals in a standalone on OSX? In-Reply-To: References: <2123538A-9031-4981-97A1-52A86F8CFF8D@major-k.de> Message-ID: Has anyone any thoughts on where to store "plugins" for a standalone on OSX? That is if your application is designed to be extensible by downloading code from the internet. This code can be: Rev stacks, but can also be Rev externals, or command line tools From david at openpartnership.net Fri Aug 4 13:13:10 2006 From: david at openpartnership.net (David Bovill) Date: Fri, 4 Aug 2006 19:13:10 +0200 Subject: Saving externals in a standalone on OSX? In-Reply-To: References: <2123538A-9031-4981-97A1-52A86F8CFF8D@major-k.de> Message-ID: Sorry tabkey problem with webmail :) On 04/08/06, David Bovill wrote: > > Has anyone any thoughts on where to store "plugins" for a standalone on > OSX? That is if your application is designed to be extensible by downloading > code from the internet. > This code can be: 1) Rev stacks, 2) Rev externals 3) Command line tools 4) Shell scripts Different users would have different set ups. I am thinking of using the "plugins" folder in the standalone bundle for these code fragments, and using the Documents folder for "content" - ie images, xml and content oriented stacks. Any thoughts? From janselid at broadpark.no Fri Aug 4 13:29:12 2006 From: janselid at broadpark.no (=?iso-8859-1?Q?Jan_S=E6lid?=) Date: Fri, 04 Aug 2006 19:29:12 +0200 Subject: Studio License Renewal Cost In-Reply-To: References: <200608041539.k74FdYQU006639@valuworld.com> Message-ID: <000001c6b7eb$8045e660$80d1b320$@no> >B.Marriot wrote >I don't like the pricing plan, either, to be honest. There's no guarantee that they will actually *do* anything >that matters to me in the year following the subscription. I really don't believe in paying for bug fixes. >To me, I prefer the simple model that if you're fixing a bug, the maintenance release should be free. If you're >adding features, then you can charge for it. And generally you don't go adding features till you fix the bugs. This is the way to do it! Runrev is mixing new features with bugs. When I decided to buy Rev it had become 2.7. Before that I had some trial versions and then I used the open source MC Ide. I wanted to be sure... Ok. I bought 2.7 when I was sure - started to build the application I'm building. After some time I discovered that 2.7 do not build for linux/unix like the old ones. The website said almost nothing about this - quite the contrary "Code once: Deploy everywhere". Now I'm using the new features - and to build on linux I have to go backwards. I thought I paid for building on linux - but that is not the fact. Do I have to pay extra for what I "thought" I already paid for. Sure looks that way... But what will I get in the next upgrade....U3! >I've already expressed my dislike of the pricing structure. But expressing it here on the mailing list does >nothing but cause unwanted and unneeded dissension among everyone on the list and in the end, won't change >Runtime's pricing structure anyway. I don't understand why we shouldn't use this list to remind the developers that customers shouldn't pay for fixes. That we really want to stick with revolution because we all like it - but not at any cost. We are not friends - we are customers. That doesn't mean we have to be unfriendly. And as far as I can see in the responses on this topic. There are no enemies here. I don't like to hear the usual "If you don't like rev use realbasic". That almost sounds like camaraderie. I'm only a customer. Aren't you? Jan Selid From jacque at hyperactivesw.com Fri Aug 4 13:47:45 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 04 Aug 2006 12:47:45 -0500 Subject: Saving externals in a standalone on OSX? In-Reply-To: References: <2123538A-9031-4981-97A1-52A86F8CFF8D@major-k.de> Message-ID: <44D38841.7080408@hyperactivesw.com> David Bovill wrote: > Sorry tabkey problem with webmail :) > > On 04/08/06, David Bovill wrote: >> >> Has anyone any thoughts on where to store "plugins" for a standalone on >> OSX? That is if your application is designed to be extensible by >> downloading >> code from the internet. >> > > This code can be: > > 1) Rev stacks, > 2) Rev externals > 3) Command line tools > 4) Shell scripts > > Different users would have different set ups. I am thinking of using the > "plugins" folder in the standalone bundle for these code fragments, and > using the Documents folder for "content" - ie images, xml and content > oriented stacks. > > Any thoughts? I have an app that downloads stack content. It stores those in the Application Support/ folder in OS X, which is where this stuff is technically supposed to go. You are guaranteed permissions to write files to that folder. In Windows the parallel location is "/Documents and Settings/All Users/Application Data/" for everyone, and the user's home equivalent for a single user. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Fri Aug 4 13:59:19 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 04 Aug 2006 10:59:19 -0700 Subject: Studio License Renewal Cost Message-ID: <44D38AF7.1080603@fourthworld.com> dreamscapesoftware.com write: > Garrett Hylltun wrote: >> I've already expressed my dislike of the pricing structure. >> But expressing it here on the mailing list does nothing but >> cause unwanted and unneeded dissension among everyone on >> the list and in the end, won't change Runtime's pricing >> structure anyway. > > Where else would be a good place to discuss this issue then? It seemed that Garrett was just politely pointing out the ineffectualness of posting here: None of the other users in this user-to-user forum can do anything for you on matters relating to the company's internal decisions. For noise-making I suppose the list provides a certain satisfaction, but for results have you considered writing to RunRev directly? I don't understand the claims about RealBASIC being cheaper (assuming by "cheap" the reference is to price ), nor can I find anything on RunRev's site describing a subscription-based licensing model. From my limited understanding it seems Rev is sold pretty much like a majority of other packages out there: You buy a license, and you can use that version indefinitely; from time to time optional upgrades are available which you can choose to purchase licenses for or not, and not purchasing an upgrade in no way affects your current installation. It's been a long time since I bought my license, and I know the licensing and pricing structure has changed with surprising frequency, so if my understanding is out of date please let me know the URL where I can learn more. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From janselid at broadpark.no Fri Aug 4 14:09:57 2006 From: janselid at broadpark.no (=?iso-8859-1?Q?Jan_S=E6lid?=) Date: Fri, 04 Aug 2006 20:09:57 +0200 Subject: Studio License Renewal Cost In-Reply-To: <44D38AF7.1080603@fourthworld.com> References: <44D38AF7.1080603@fourthworld.com> Message-ID: <000101c6b7f1$320b71d0$96225570$@no> Gaskin Wrote: >For noise-making I suppose the list provides a certain satisfaction, but for results have you considered >writing to RunRev directly? Yes I have... This was the response: "Linux 2.7 will follow, it is a little delayed but is planned to appear in a few weeks time." This response is dated 20.03.2006 I'm sure they have other things on their mind. From HyperChris at aol.com Fri Aug 4 14:11:11 2006 From: HyperChris at aol.com (HyperChris at aol.com) Date: Fri, 4 Aug 2006 14:11:11 EDT Subject: form email to RevCGI Message-ID: <463.566bb900.3204e7bf@aol.com> All good questions. Thank you. Yes i checked the HTML i received in the email and it was the same code that I sent. None of the method code and script calls had been butchered. In fact, i could detach the html file (some email clients let you do this) and open it as a web page and it worked fine. I tried several email clients (AOL, QuickMail, Mail and Entourage) and had that same no parameters result. I used to think this was just a limitation of email clients (i.e. they could look like a web page but they weren't full featured and couldn't support actions) but then I started getting these form version that called PHP scripts. Has anyone tried doing this with a rev CGI engine? In a message dated 8/4/06 10:49:01 AM, use-revolution-request at lists.runrev.com writes: > >? Next, I use ShaoSean's libSMTP and libEmailEncode252 to attach the HTML > > form to an email. I get the HTML based email which looks fine and I fill > in all > > the stuff and hit Submit. > > what go you mean by "which looks fine" ? did you actually chack the HTML > code received in the email, and especially the line with the GET method to > make sure parts of the code aren't corruped or missing ? > > > > > Again, this works fine if use the HTML as a web page. It only goes blank > when > > i do it via email??? > > which email client do you use ? > could there be any settings that enable / disable the use of forms and > submit requests > in HTML code ? > > JB From lynn at paradigmasoft.com Fri Aug 4 14:22:27 2006 From: lynn at paradigmasoft.com (Lynn Fredricks) Date: Fri, 4 Aug 2006 11:22:27 -0700 Subject: Studio License Renewal Cost In-Reply-To: <200608041539.k74FdYQU006639@valuworld.com> Message-ID: <00ef01c6b7f2$fde8f830$6401a8c0@lynn> > > I've already expressed my dislike of the pricing structure. > But expressing it here on the mailing list does nothing but > cause unwanted and unneeded dissension among everyone on the > list and in the end, won't change Runtime's pricing structure anyway. > > Where else would be a good place to discuss this issue then? > The list is a public forum for the discussion of Revolution, > so it seems like a good place to me, whether or not it may > upset some people out there. In selling software, pricing is one of the most difficult and facinating topics and it happens to be one of my favorites. If it interests you, I recommend Nagle's Strategies and Tactics of Pricing. The nearest competitor in terms of price/value is probably REALbasic, however 12 months of upgrades of REALbasic Professional Edition is $250, not $199. Revolution Studio creates applications for multiple platforms so its nearest analog to REALbasic is Pro, not Standard. REAL doesn't have any equivalent to getting all IDEs and they don't have an equivalent to Revolution Media. Revolution though, isnt an exact competitor to REALbasic - except in the "end result". Revolution pricing doesn't make professional developers blink but I can understand how it would for a hobbyist, especially if you have Studio. If you can put up with the limitations then Revolution Media really fits the bill. On the other hand - if you know Revolution well and feel comfortable giving presentations, why not become a Revolution Community Partner? Revolution Community Partners work closely with Runtime to help promote Revolution in user groups, shows and the like. We have a compensation model that is discussed on the forums (http://forums.runrev.com/phpBB2/viewtopic.php?t=343). Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution, Ltd From dsc at swcp.com Fri Aug 4 14:34:16 2006 From: dsc at swcp.com (Dar Scott) Date: Fri, 4 Aug 2006 12:34:16 -0600 Subject: Saving externals in a standalone on OSX? In-Reply-To: <44D38841.7080408@hyperactivesw.com> References: <2123538A-9031-4981-97A1-52A86F8CFF8D@major-k.de> <44D38841.7080408@hyperactivesw.com> Message-ID: On Aug 4, 2006, at 11:47 AM, J. Landman Gay wrote: > I have an app that downloads stack content. It stores those in the > Application Support/ folder in OS X, which is where this > stuff is technically supposed to go. I think command-line tools can go right next to the executable, but if they have an revision life of their own and might survive the app, they should go into Application Support. Well, that is what I did a year or two ago. If they need special permissions, then I put them into Application Support. That seemed appropriate at the time. I put ephemeral things into temp, even code, but I'm not sure if that is the right place. I have a vague memory of what I read where things to go and where the new (then) app builder wanted to put them were not the same. I don't know if any of that mumbling is any help. Dar Scott From josh at dvcreators.net Fri Aug 4 15:23:06 2006 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 4 Aug 2006 12:23:06 -0700 Subject: qwe - better than undesignated puts? Message-ID: <09CC0B8A-9E09-408C-BCC6-CB17A0AA08A2@dvcreators.net> I never liked using the Message box to show values ("put "here?s MyVar now: " & MyVar"), for a few reasons, because it was a palette and covered important stuff up if I made it bigger, because I like to look at a lot of history sometimes, because it was problematic to find puts in my code sometimes, etc? So, I use my "qwe" handler: qwe "here?s MyVar now: " & MyVar This handler puts the date, log info & cr into a text file which I keep open in TextWrangler (TextWrangler auto-updates and shows the latest entries) qwe advantages over undesignated "puts": * app switch over and see a full page of history * scroll back and see history from previous days if useful * search for "qwe" to find all logmaking entries in your scripts, (whereas searching for "put" is not helpful!) * if you want to stop all logging, just comment out three lines in the handler and all "qwe"s stop - can?t do that with "puts", each one must be deleted or commented out * easy to type! Eventually, qwe evolves from a development debugger aid to a logging facility in the app (if desired). Here is the handler: ON qwe tNote put "file:" & $HOME & "/Library/Application Support/MyFolder/ mlog.txt"into tFile put the english date && the long english time & " - " before tNote put tNote & cr after URL tFile END qwe (permanent link to this info here: http://revcoders.org/qwe/) From m.schonewille at economy-x-talk.com Fri Aug 4 15:32:39 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 4 Aug 2006 21:32:39 +0200 Subject: form email to RevCGI In-Reply-To: <463.566bb900.3204e7bf@aol.com> References: <463.566bb900.3204e7bf@aol.com> Message-ID: <33594A5B-DAE4-4B83-975D-FB00EDC19117@economy-x-talk.com> Hi Chris, First of all, the e-mail clients I sue let me turn off all the features that I would need to fill your your web forms and that's exactly what I did. I read my e-mail in text format only and if someone sends me an html formatted e-mail with too much of gibberich, I return a kind request for a text-only mail. Having that said, I can't remember if you already told us whether you're using a POST or GET method. I can imagine that an e-mail client is not advanced enough to do a POST but you can always use GET because that's a simple url. I didn't connect to a Rev CGI engine from an e-mail client, but I did from browsers as well as Revolution itself. Getting a URL was never troublesome. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 4-aug-2006, om 20:11 heeft HyperChris at aol.com het volgende geschreven: > All good questions. Thank you. > > Yes i checked the HTML i received in the email and it was the same > code that > I sent. None of the method code and script calls had been > butchered. In fact, > i could detach the html file (some email clients let you do this) > and open it > as a web page and it worked fine. > > I tried several email clients (AOL, QuickMail, Mail and Entourage) > and had > that same no parameters result. I used to think this was just a > limitation of > email clients (i.e. they could look like a web page but they > weren't full > featured and couldn't support actions) but then I started getting > these form version > that called PHP scripts. > > Has anyone tried doing this with a rev CGI engine? > From JimAultWins at yahoo.com Fri Aug 4 15:53:17 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 04 Aug 2006 12:53:17 -0700 Subject: qwe - better than undesignated puts? In-Reply-To: <09CC0B8A-9E09-408C-BCC6-CB17A0AA08A2@dvcreators.net> Message-ID: On 8/4/06 12:23 PM, "Josh Mellicker" wrote: > I never liked using the Message box to show values ("put "here?s > MyVar now: " & MyVar"), for a few reasons, because it was a palette > and covered important stuff up if I made it bigger, because I like to > look at a lot of history sometimes, because it was problematic to > find puts in my code sometimes, etc? This is why I always use put "The answer at this point is "& MyVar into msg Then 'into msg' becomes the search string I believe Chipp Walters has a utility script for finding all the 'put' lines in scripts. Check the archive at http://www.mail-archive.com/use-revolution at lists.runrev.com/ I agree with you TextWrangler technique, and I use BBEdit for the same purpose, but not extensively. Jim Ault Las Vegas On 8/4/06 12:23 PM, "Josh Mellicker" wrote: > I never liked using the Message box to show values ("put "here?s > MyVar now: " & MyVar"), for a few reasons, because it was a palette > and covered important stuff up if I made it bigger, because I like to > look at a lot of history sometimes, because it was problematic to > find puts in my code sometimes, etc? > > So, I use my "qwe" handler: > > qwe "here?s MyVar now: " & MyVar > > This handler puts the date, log info & cr into a text file which I > keep open in TextWrangler (TextWrangler auto-updates and shows the > latest entries) > > qwe advantages over undesignated "puts": > > * app switch over and see a full page of history > * scroll back and see history from previous days if useful > * search for "qwe" to find all logmaking entries in your > scripts, (whereas searching for "put" is not helpful!) > * if you want to stop all logging, just comment out three lines > in the handler and all "qwe"s stop - can?t do that with "puts", each > one must be deleted or commented out > * easy to type! > > Eventually, qwe evolves from a development debugger aid to a logging > facility in the app (if desired). > > Here is the handler: > > ON qwe tNote > put "file:" & $HOME & "/Library/Application Support/MyFolder/ > mlog.txt"into tFile > put the english date && the long english time & " - " before tNote > put tNote & cr after URL tFile > END qwe > From jbv.silences at club-internet.fr Fri Aug 4 16:23:51 2006 From: jbv.silences at club-internet.fr (jbv) Date: Fri, 04 Aug 2006 22:23:51 +0200 Subject: form email to RevCGI References: <463.566bb900.3204e7bf@aol.com> Message-ID: <44D3ACB8.4AF2A54A@club-internet.fr> Chris, Have you tried sending the email with a PHP script instead of Rev cgi and check if the problem remains ? JB From jbv.silences at club-internet.fr Fri Aug 4 16:26:38 2006 From: jbv.silences at club-internet.fr (jbv) Date: Fri, 04 Aug 2006 22:26:38 +0200 Subject: form email to RevCGI References: <463.566bb900.3204e7bf@aol.com> Message-ID: <44D3AD5F.3BE805DE@club-internet.fr> Chris, another question just popped up in my mind : you said you're using a GET request... how do you get the data you type into the form elements attached to the url of the GET request ? are you using js ? could it be that any javascript code you might use doesn't run in the email client while it runs OK in a browser ? JB From katir at hindu.org Fri Aug 4 04:57:39 2006 From: katir at hindu.org (Sivakatirswami) Date: Thu, 03 Aug 2006 22:57:39 -1000 Subject: revCopyFile chokes on 1,500 file loop Message-ID: <44D30C03.9010302@hindu.org> platform-network context: Mac OSX client with Rev app that is "talking to-about" files on an OSX Server across the LAN. All path stems look like /Volumes/Server/WWW/*Sites/www.himalayanacademy.com/html/audio/" Goal: copy about 1,500 files from one set of directories to another directory with a new name on the server, not on the client machine, which is simply initiating, controlling the process remotely. I'm running this from a small rev card based database with about 800 cards. Each card has the old path to the old file for 1 to 4 files and some fields from which to build a new file name. The trimmed down script looks like this, where the Server is mounted on the desktop of the client machine via AFP. repeat with x = 1 to the number of cards go to card x # do stuff here to build a new file name and set up paths in variables: repeat for each line y in fld "soundFiles" # each record has a fld w/list of .wav, .ra, .mp3 files to step through RevCopyFile (oldpath &"/"& oldFileName), (newpath & "/" & new file name # an explicit instance if watching variable watcher would look something like this: revCopyFile "/Volumes/Server/WWW/*Sites/www.himalayanacademy.com/html/audio/1998/soundclip.ra",\ "/Volumes/Server/WWW/*Sites/www.himalayanacademy.com/html/audio/1998/ad_1998-08-01_title.ra" end repeat # next card.... end repeat OK, simple enough and appears to work like a charm, and super fast because no files are being read and written by and from the client machine, but if we open the directory on the server to which files are being copied to, we see whole sections of files are missing... it's as if the script is over-running the ability of the network+server to do the job. If I reduce the repeat look to something like repeat with x = 1 to 10 go to card x # do stuff here to build a new file name and set up paths in variables: repeat for each line y in fld "soundFiles" # each record has a list of .wav, .ra, .mp3 files I step through RevCopyFile (oldpath &"/"& oldFileName), (newpath & "/" & new file name end repeat end repeat it works just fine, but if I just let it run from card 1 to 778, the server can't handle it. Rev rips through the 778 cards about as fast as it can update the video card to display the next card and, in under 2 minutes it has thrown 1,500 requests at the server to copy and rename files ranging in size from 300K to 4 Megabytes. Meanwhile we can hear the mac doing the successful copy beep sound at a frantic pace, so much so that the speaker can't keep up. I tried introducing a wait" in the script, but it didn't help. I assume from the docs that Rev is just doing a shell cp "old path-filename" "new path-filename" in the background. I'm just guessing but I think we need to have some kind of feedback in the loop to make sure the script is not over running some limit on the server which I don't know what it would be or how to get that feedback data into the process. If you get the result on each iteration, it is always empty, so that doesn't provide any progress data. what we need is, algorithmically stated as if talking to the server: copy this file to that file Now I give you some time You tell me if you are ready? Can I issue another copy command? I'm listening OK, yes I heard that, you are done, good copy next file to next file Any ideas? Of course I *can* do this in chunks... like maybe set the repeat for x = 1 to 10 and then wait and do 11-20 etc... and get the immediate job done, in probably less then 20 minutes, but I'm interested in solving the problem because I could really use this functionality in other contexts for some massive global file handling processes. TIA Sivakatirswami From ambassador at fourthworld.com Fri Aug 4 16:35:14 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 04 Aug 2006 13:35:14 -0700 Subject: qwe - better than undesignated puts? Message-ID: <44D3AF82.3020105@fourthworld.com> Jim Ault wrote: > On 8/4/06 12:23 PM, "Josh Mellicker" wrote: >> I never liked using the Message box to show values ("put "here?s >> MyVar now: " & MyVar"), for a few reasons, because it was a palette >> and covered important stuff up if I made it bigger, because I like to >> look at a lot of history sometimes, because it was problematic to >> find puts in my code sometimes, etc? > > This is why I always use > put "The answer at this point is "& MyVar into msg > > Then 'into msg' becomes the search string > > I believe Chipp Walters has a utility script for finding all the 'put' lines > in scripts. Check the archive at > http://www.mail-archive.com/use-revolution at lists.runrev.com/ > > I agree with you TextWrangler technique, and I use BBEdit for the same > purpose, but not extensively. At RevCon West '05 Ken Ray and I did a session on helpful coding conventions, and one of the things we covered was a commenting method I use here that I call "Bang! What? Hmmm...". The goal is to place comments in the code that make it easy to find things later, like dropping bread crumbs on your journey through the development process, using three types of comment tags: --! (Bang!) Used for stuff that I know I want removed before shipping, things like answer and put commands placed in the code for debugging, e.g.: --! answer tMyVar --! --? (What?) I use this one to denote sections where what I'm doing may be suitable for shipping, but it's not an optimal solution and warrants review somewhere down the road as time permits, e.g.: --? Should I use a case block here instead? if tMyVar is "Bob" then DoBobsThang else if tMyVar = "Steve" then DoStevesThang end if --| (Hmmm) This is for minor things that may warrant review or not, or are worth noting for team management such as code changes I make in a module which I'm not usually in charge of, e.g.: --| RG 060804 Changed global use to call a function instead to --| allow for more dynamic changes in the environment: # global gMyStackName # modal gMyStackName modal MyStackName() The upside to such a commenting scheme is that it lets you use a tool like devolution's Script Search (now much improved for the forthcoming v2) to rapidly find all occurrences of these comment strings. For example, before shipping I can just search for "--!" and I know I'll find all the gotchas I need to clean up before I press my Build button. So for the low cost of three characters and a smidgen of self-discipline, you get an unambiguous way to rapidly find things you want to address throughout your code base. Conceivably one could write a plugin which responds to the IDE's SavingStandalone message (which should ideally be "revSavingStandalone" since it's not an engine message, but I digress) to automate the search for "--!" and notify the developer if any are found. That's on my to-do list for my own standalone builder, but I have quite a to-do list there and a lot of client deliverables before then so don't hold your breath. :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From userev at canelasoftware.com Fri Aug 4 16:39:55 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 4 Aug 2006 13:39:55 -0700 Subject: qwe - better than undesignated puts? In-Reply-To: <44D3AF82.3020105@fourthworld.com> References: <44D3AF82.3020105@fourthworld.com> Message-ID: <28077B3A-0437-4C5F-8EDF-1672B537BF2B@canelasoftware.com> On Aug 4, 2006, at 1:35 PM, Richard Gaskin wrote: > So for the low cost of three characters and a smidgen of self- > discipline, you get an unambiguous way to rapidly find things you > want to address throughout your code base. I also have been using such a system. I use --***** for things to be deleted and --@@@@@ for things that need to be looked at again for either optimization or hacks that could be done better, etc. Mark Talluto -- CANELA Software http://www.canelasoftware.com From userev at canelasoftware.com Fri Aug 4 16:42:46 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 4 Aug 2006 13:42:46 -0700 Subject: revCopyFile chokes on 1,500 file loop In-Reply-To: <44D30C03.9010302@hindu.org> References: <44D30C03.9010302@hindu.org> Message-ID: On Aug 4, 2006, at 1:57 AM, Sivakatirswami wrote: > Goal: copy about 1,500 files from one set of directories to another > directory with a new name on the server, not on the client > machine, which is simply initiating, controlling the process > remotely. Hi Sivakatirswami, I had this same problem with my FTP program. Dave Cragg brought the OS X maximum file open limitation (and maybe Windows) to my attention. Maybe something like this is affecting your solution. If that is the case, I would find the number that does work for you and then add a little more code that will batch the files instead of throwing them all at the system at one time. This is just a thought. Mark Talluto -- CANELA Software http://www.canelasoftware.com From m.schonewille at economy-x-talk.com Fri Aug 4 16:48:29 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 4 Aug 2006 22:48:29 +0200 Subject: revCopyFile chokes on 1,500 file loop In-Reply-To: <44D30C03.9010302@hindu.org> References: <44D30C03.9010302@hindu.org> Message-ID: Hi Sivakatirswami, Revolution issues the revCopyFile command but doesn't wait for the result. You might try getting the result after executing the command, although I don't know whether this really helps. I suspect that the revCopyFile command uses AppleScript on Mac OS X. If an execution error occurs or if AppleScript simply doesn't respond because it is busy, possibly returning a time-out, Revolution doesn't notice this. I haven't used this command for years now. I always read source files in binary format and write them to their destination: open files, read from source file, append to destination file, close files. If you do this in chunks (I mean data chunks, not batch chunks as you suggested), small enough to avoid blocking the interface and large enough to keep the speed high, you'll be surprised how fast Revolution can be. Do this in a repeat loop with messages or use the send in xx millisecs syntax. Works way better than revCopyFile. Best regards, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 4-aug-2006, om 10:57 heeft Sivakatirswami het volgende geschreven: > platform-network context: > Mac OSX client with Rev app that is "talking to-about" files on an > OSX Server across the LAN. All path stems look like > > /Volumes/Server/WWW/*Sites/www.himalayanacademy.com/html/audio/" > > Goal: copy about 1,500 files from one set of directories to another > directory with a new name on the server, not on the client > machine, which is simply initiating, controlling the process > remotely. > > I'm running this from a small rev card based database with about > 800 cards. Each card has the old path to the old file for 1 to 4 > files and some fields from which to build a new file name. The > trimmed down script looks like this, where the Server is mounted > on the desktop of the client machine via AFP. > > repeat with x = 1 to the number of cards > > go to card x > # do stuff here to build a new file name and set up paths in > variables: > > repeat for each line y in fld "soundFiles" # each record has a > fld w/list of .wav, .ra, .mp3 files to step through > RevCopyFile (oldpath &"/"& oldFileName), (newpath & "/" & new > file name > > # an explicit instance if watching variable watcher would look > something like this: > revCopyFile "/Volumes/Server/WWW/*Sites/www.himalayanacademy.com/ > html/audio/1998/soundclip.ra",\ > "/Volumes/Server/WWW/*Sites/www.himalayanacademy.com/html/audio/ > 1998/ad_1998-08-01_title.ra" > > end repeat > # next card.... > > end repeat > > OK, simple enough and appears to work like a charm, and super fast > because no files are being read and written by and from the client > machine, but if we open the directory on the server to which files > are being copied to, we see whole sections of files are missing... > it's as if the script is over-running the ability of the network > +server to do the job. > > If I reduce the repeat look to something like > > repeat with x = 1 to 10 > > go to card x > # do stuff here to build a new file name and set up paths in > variables: > > repeat for each line y in fld "soundFiles" # each record has a > list of .wav, .ra, .mp3 files I step through > RevCopyFile (oldpath &"/"& oldFileName), (newpath & "/" & new > file name > end repeat > > end repeat > > it works just fine, but if I just let it run from card 1 to 778, > the server can't handle it. Rev rips through the 778 cards about > as fast as it can update the video card to display the next card > and, in under 2 minutes it has thrown 1,500 requests at the server > to copy and rename files ranging in size from 300K to 4 Megabytes. > Meanwhile we can hear the mac doing the successful copy beep sound > at a frantic pace, so much so that the speaker can't keep up. > > I tried introducing a wait" in the script, but it didn't help. I > assume from the docs that Rev is just doing a shell > > cp "old path-filename" "new path-filename" in the background. I'm > just guessing but I think we need to have some kind of feedback in > the loop to make sure the script is not over running some limit > on the server which I don't know what it would be or how to get > that feedback data into the process. If you get the result on each > iteration, it is always empty, so that doesn't provide any progress > data. what we need is, algorithmically stated as if talking to the > server: > > copy this file to that file > Now I give you some time > You tell me if you are ready? > Can I issue another copy command? I'm listening > OK, yes I heard that, you are done, good > copy next file to next file > > > Any ideas? Of course I *can* do this in chunks... like maybe set > the repeat for x = 1 to 10 and then wait and do 11-20 etc... and > get the immediate job done, in probably less then 20 minutes, but > I'm interested in solving the problem because I could really use > this functionality in other contexts for some massive global file > handling processes. > > TIA > > Sivakatirswami From HyperChris at aol.com Fri Aug 4 17:04:12 2006 From: HyperChris at aol.com (HyperChris at aol.com) Date: Fri, 4 Aug 2006 17:04:12 EDT Subject: form email to RevCGI, solved for GET not POST Message-ID: <4fc.4294da4.3205104c@aol.com> The GET method encodes the form data in the URL and the POST method passes it as a parameter. When a rev CGI reads from StdIn it just gets the parameters and so GET will never work that way. To get that URL inside a rev CGI you need to use the $QUERY_STRING variable. The downside to using GET is that your params (encoded in the URL) are out there for the world to see and there is a limit on length (and that may kill what i wanted to do!) The email clients don't appear to support the sending of parameters because a POST form works great from the browser but not from any email client I have tried. ------------------------------ Date: Thu, 3 Aug 2006 16:32:05 EDT Sometimes i buy things online and receive a survey form in my email to rate the seller. The forms usually have some graphics, text, radio buttons, a text box (for comments) and a submit button. The idea being that you can do the response right there in the email program and click Submit to send off the response. You are then sent to a thank you web page. These are, of course, HTML emails and upon closer examination, they use the "GET" method to call a PHP script at the server. (form action="http://www.pricegrabber.com/html_user_sales_rate.php" method="get") I want to do this with my Rev CGI, so i setup a script that just returns the form parameters. I test it out first as a stand alone web page and it works great. Next, I use ShaoSean's libSMTP and libEmailEncode252 to attach the HTML form to an email. I get the HTML based email which looks fine and I fill in all the stuff and hit Submit. I go to the web page and i get my static response but none of the info i supplied to the form. I have the script write out the variables it receives and they are empty. It is as though the revCGI is being called but can't access the data, or is not being given the data, that was passed when making the form submission. Again, this works fine if use the HTML as a web page. It only goes blank when i do it via email??? Are there some limitations here that I do not know? Thanks for your thoughts! Chris From robmann at gp-racing.com Fri Aug 4 17:38:00 2006 From: robmann at gp-racing.com (Robert Mann) Date: Fri, 4 Aug 2006 17:38:00 -0400 Subject: u3 rev application with mysql/apache In-Reply-To: <44D0C499.000004.03372@MAZYTIS> Message-ID: Viktoras I got the start button to work on mouseUp set the hideConsoleWindows to false open process "\xampplite\mysql\bin\mysqld" for neither end mouseUp but I am not able to get the stop to work (password= is correct for user=pma) #stop the server on mouseUp put "\xampplite\mysql\bin\mysqladmin -" & " -password= shutdown" into theCommand set the hideConsoleWindows to false get shell(theCommand) end mouseUp Thanks Robert Mann President GP Racing LLC -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Viktoras Didziulis Sent: Wednesday, August 02, 2006 10:28 AM To: How to use Revolution Subject: RE: u3 rev application with mysql/apache Hi Robert, try this with 3 buttons: #start the server on mouseUp set the hideConsoleWindows to true open process "MySQL Server 5.0\bin\mysqld" for neither end mouseUp #stop the server on mouseUp put "MySQL Server 5.0\bin\mysqladmin -" & "-password=kristupukas shutdown" into theCommand set the hideConsoleWindows to true get shell(theCommand) end mouseUp #show server status on mouseUp put "MySQL Server 5.0\bin\mysqladmin -" & "-password=kristupukas status" into theCommand set the hideConsoleWindows to true get shell(theCommand) answer it end mouseUp This should do the job. Instead of using buttons you may want to load server (scripts of the stack): on startup put "MySQL Server 5.0\bin\mysqladmin -" & "-password=kristupukas shutdown" into theCommand set the hideConsoleWindows to true get shell(theCommand) end startup and close it with: on closeStack put "MySQL Server 5.0\bin\mysqladmin -" & "-password=kristupukas shutdown" into theCommand set the hideConsoleWindows to true get shell(theCommand) end closeStack Viktoras From dll392 at gmail.com Fri Aug 4 17:39:52 2006 From: dll392 at gmail.com (Derek Larsen) Date: Fri, 4 Aug 2006 15:39:52 -0600 Subject: Dragging Multiple Files to Standalone? Message-ID: <57a643190608041439q3a202e5fkee45e6e046376c32@mail.gmail.com> I'd like to be able to drag multiple files to my standalone icon and have the paths to those files available in Transcript. Is that even possible? I've used the follow script to get one, but dragging two or more files to my app only shows the first file. on openStack put $1 into fld "filePaths" end openStack Any suggestions? Thanks. -- Derek From jbv.silences at club-internet.fr Fri Aug 4 18:14:38 2006 From: jbv.silences at club-internet.fr (jbv) Date: Sat, 05 Aug 2006 00:14:38 +0200 Subject: form email to RevCGI, solved for GET not POST References: <4fc.4294da4.3205104c@aol.com> Message-ID: <44D3C6AA.AAAE9F82@club-internet.fr> Chris, I'm not 100% sure, but I have the feeling that if the limit on length of the GET was the cause of your problem, you might see your parameters truncated, bit not empty... just curious : what is the average length of the data you're trying to send via the HTML form ? > The GET method encodes the form data in the URL and the POST method passes it > as a parameter. When a rev CGI reads from StdIn it just gets the parameters > and so GET will never work that way. To get that URL inside a rev CGI you need > to use the $QUERY_STRING variable. > > The downside to using GET is that your params (encoded in the URL) are out > there for the world to see and there is a limit on length (and that may kill > what i wanted to do!) The email clients don't appear to support the sending of > parameters because a POST form works great from the browser but not from any > email client I have tried. From david at openpartnership.net Fri Aug 4 19:27:48 2006 From: david at openpartnership.net (David Bovill) Date: Sat, 5 Aug 2006 00:27:48 +0100 Subject: Dragging Multiple Files to Standalone? In-Reply-To: <57a643190608041439q3a202e5fkee45e6e046376c32@mail.gmail.com> References: <57a643190608041439q3a202e5fkee45e6e046376c32@mail.gmail.com> Message-ID: For Macs you can trap the AppleEvent sent: on appleEvent theClass, theID -- execute a set of statements in a text file request appleEvent data -- get the content of the AppleEvent put it into appleEventContent put the params & CR & CR & appleEventContent pass appleEvent end appleEvent The files are listed one on each line in appleEventContent. Anyone know how to drop a folder onto a standalone on OSX. That is the standalone recognizes files with the extension .rev. How can you also get the ability to drag and drop text, image or even folders onto the standalone icon? Is this a plist thing? From david at openpartnership.net Fri Aug 4 19:33:01 2006 From: david at openpartnership.net (David Bovill) Date: Sat, 5 Aug 2006 00:33:01 +0100 Subject: AppleScript: folder actions Message-ID: Scenario: files dropped into a folder with an attached folder action. info sent to a rev standalone via applescipt so that rev can process files. OK so how do you send the vriables from AppleScript to th standalone? Also while asking a ages ago I was able to use AppleScript to directly set data in fields and so forth in MetaCard. just as you could in Hypercard. There was also the story of the missing AETE resource, whcih was not needed but you could add so that the AppleScript dictionary worked. Is this still possible that is tto "set the text of field..." and so forh from AppleScript? From jacque at hyperactivesw.com Fri Aug 4 20:34:03 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 04 Aug 2006 19:34:03 -0500 Subject: qwe - better than undesignated puts? In-Reply-To: <28077B3A-0437-4C5F-8EDF-1672B537BF2B@canelasoftware.com> References: <44D3AF82.3020105@fourthworld.com> <28077B3A-0437-4C5F-8EDF-1672B537BF2B@canelasoftware.com> Message-ID: <44D3E77B.2050405@hyperactivesw.com> Mark Talluto wrote: > > On Aug 4, 2006, at 1:35 PM, Richard Gaskin wrote: > >> So for the low cost of three characters and a smidgen of >> self-discipline, you get an unambiguous way to rapidly find things you >> want to address throughout your code base. > > > I also have been using such a system. I use --***** for things to be > deleted and --@@@@@ for things that need to be looked at again for > either optimization or hacks that could be done better, etc. Interesting. I've been doing the same thing for years, only mine is --### and --??. Great Minds Think Alike. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From katir at hindu.org Fri Aug 4 23:44:09 2006 From: katir at hindu.org (Sivakatirswami) Date: Fri, 04 Aug 2006 17:44:09 -1000 Subject: revCopyFile chokes on 1,500 file loop In-Reply-To: References: <44D30C03.9010302@hindu.org> Message-ID: <44D41409.9020607@hindu.org> (foot in mouth) As it turns out we found we were programmatically generating a few new filenames with colons in them! Ouch. After adding a function to strip out all but 0-9 a-z A-Z and only two forms of punctuation dash "-" and "_" underscore it worked fine. need to etch this policy in stone and stamp on the back of my head. Rev is not the only program whose processes were failing recently because of file names. Our team has been notorious for adding "any old punctuation" and high ANSI chars (option-whatever on the Mac) to file names. Anyway, with clean file names to write to RevCopyFile ran thru a copy of 1,758 files in no time at all. Solved. Another example of "It's Not a Rev Problem at all...it's your own dumb script!" Sivakatirswami > > On Aug 4, 2006, at 1:57 AM, Sivakatirswami wrote: > >> Goal: copy about 1,500 files from one set of directories to another >> directory with a new name on the server, not on the client machine, >> which is simply initiating, controlling the process remotely. > > > Hi Sivakatirswami, > > I had this same problem with my FTP program. Dave Cragg brought the > OS X maximum file open limitation (and maybe Windows) to my > attention. Maybe something like this is affecting your solution. If > that is the case, I would find the number that does work for you and > then add a little more code that will batch the files instead of > throwing them all at the system at one time. This is just a thought. > > > Mark Talluto > --CANELA Software > http://www.canelasoftware.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 Sat Aug 5 00:48:14 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 5 Aug 2006 14:48:14 +1000 Subject: MySQL Load Data Local In-Reply-To: References: Message-ID: On 8/5/06, Michael Caufield wrote: > > I too ran into this problem with MySQL 5 and was unable to solve it. I > > don't think it's anything to do with Revolution, it's MySQL's fault. I > > turned on the local-infile option but this made no difference. > > Actually, I probably should have stopped & re-started the SQL server > > after changing it, but in the end, I just made a loop to read the data > > in and INSERT it line by line. In my case, this was a one-off data > > import so I didn't care that it took a bit more time. > > > > Cheers, > > Sarah > > Sarah, > I believe the problem is on the client side not the server side. If > the problem doesn't lie with Revolution, then why did Load Data Local > work with all rev versions through 2.7.2-dp-1 using the 5.0.21 > version of MySQL server? It appears that with the the 2.7.2-gm-1 > release, the dbmysql.bundle driver has been compiled with --local- > infile=0. I am using this procedure via a Revolution script to import > data into MySQL from a text export created by a HyperCard/Oracle > system that we are replacing with Revolution/MySQL. The export/import > is run overnight so we have current data to test the new system. The > import alone takes over 2 hours using Load Data Local. The only > workaround I have found is to use: > > get shell("mysqlimport --local-infile=1 --lines-terminated-by='\r' > dbname" && quote & loadfile & quote) > > instead of: > > revExecuteSQL gConnID,"load data local infile '" & loadfile & "' into > table " & tablename & " lines terminated by '\r'" > > I haven't tested the line by line INSERT method, but would expect it > to be substantially slower than Load Data. > Hi Michael, I upgraded to Rev 2.7 long beofre upgrading MySQL and I didn't do any SQL stuff for ages, so I had thought it was the server. I read online a lot of stuff about this problem, however as I said, even with the server set to allow local-infile, I couldn't get it to work, so I expect you are right and it is Rev that is adding a second block. Yes, the INSERT method is quite a lot slower, but for my purposes, slowing a one-off operation from less than a second to about 5 seconds didn't make much difference. However if you can get this to work in Rev, I would be interested to know for future reference. Since I am not running my app on the same compuer as the MySQL server, your work-around would be difficult to set up. Cheers, Sarah From briany at qldlearning.com Sat Aug 5 01:20:13 2006 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 4 Aug 2006 22:20:13 -0700 Subject: MySQL Load Data Local In-Reply-To: References: Message-ID: FWIW, you can also use fast INSERT syntax: INSERT INTO myTable (a,b,c) VALUES (1,2,3),(4,5,6),(7,8,9); instead of many statements: INSERT INTO myTable (a,b,c) VALUES (1,2,3); INSERT INTO myTable (a,b,c) VALUES (4,5,6); INSERT INTO myTable (a,b,c) VALUES (7,8,9); > On 8/5/06, Michael Caufield wrote: >> > I too ran into this problem with MySQL 5 and was unable to solve >> it. I >> > don't think it's anything to do with Revolution, it's MySQL's >> fault. I >> > turned on the local-infile option but this made no difference. >> > Actually, I probably should have stopped & re-started the SQL server >> > after changing it, but in the end, I just made a loop to read the >> data >> > in and INSERT it line by line. In my case, this was a one-off data >> > import so I didn't care that it took a bit more time. >> > >> > Cheers, >> > Sarah >> >> Sarah, >> I believe the problem is on the client side not the server side. If >> the problem doesn't lie with Revolution, then why did Load Data Local >> work with all rev versions through 2.7.2-dp-1 using the 5.0.21 >> version of MySQL server? It appears that with the the 2.7.2-gm-1 >> release, the dbmysql.bundle driver has been compiled with --local- >> infile=0. I am using this procedure via a Revolution script to import >> data into MySQL from a text export created by a HyperCard/Oracle >> system that we are replacing with Revolution/MySQL. The export/import >> is run overnight so we have current data to test the new system. The >> import alone takes over 2 hours using Load Data Local. The only >> workaround I have found is to use: >> >> get shell("mysqlimport --local-infile=1 --lines-terminated-by='\r' >> dbname" && quote & loadfile & quote) >> >> instead of: >> >> revExecuteSQL gConnID,"load data local infile '" & loadfile & "' into >> table " & tablename & " lines terminated by '\r'" >> >> I haven't tested the line by line INSERT method, but would expect it >> to be substantially slower than Load Data. >> > > > Hi Michael, > > I upgraded to Rev 2.7 long beofre upgrading MySQL and I didn't do any > SQL stuff for ages, so I had thought it was the server. I read online > a lot of stuff about this problem, however as I said, even with the > server set to allow local-infile, I couldn't get it to work, so I > expect you are right and it is Rev that is adding a second block. > > Yes, the INSERT method is quite a lot slower, but for my purposes, > slowing a one-off operation from less than a second to about 5 seconds > didn't make much difference. > > However if you can get this to work in Rev, I would be interested to > know for future reference. Since I am not running my app on the same > compuer as the MySQL server, your work-around would be difficult to > set up. > > 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 list at dreamscapesoftware.com Sat Aug 5 01:34:14 2006 From: list at dreamscapesoftware.com (dreamscapesoftware.com - List) Date: Sat, 5 Aug 2006 01:34:14 -0400 Subject: Studio License Renewal Cost Message-ID: <200608050534.k755YEvL016901@valuworld.com> Bill Marriott wrote: > Since Feb there has been 2.7, 2.7.1, and 2.7.2. While I have seen > improvements in the trial versions I still have not seen the kind of > stability I enjoyed in 2.6.1. They can't even install and uninstall > properly. I agree, there's been some nice and well needed bug fixes, but overall the feature set is not worth the money. And the sad thing is that we, the end user, paid for RunRev to spend time creating the installers and uninstallers that don't work. > I don't like the pricing plan, either, to be honest. There's no guarantee > that they will actually *do* anything that matters to me in the year > following the subscription. I really don't believe in paying for bug fixes. > To me, I prefer the simple model that if you're fixing a bug, the > maintenance release should be free. If you're adding features, then you can > charge for it. And generally you don't go adding features till you fix the > bugs. Bill, thank you for bringing up that point. I've always felt that maintenance releases should be free. Kinda like the hundreds of Security Updates & Patches that have been released by Microsoft for the last couple of years. Imagine if you had to *pay* Microsoft for those... we'd all be using Macs by now. > What is the incentive for RunRev to fix bugs? Also, I wonder what my clients > would say if they had to pay me annually with no promises on my part for > doing really, anything for them. Or if I did do something, perhaps not what > was on their "urgent" list... just whatever seemed easy or appealing to me. LOL... then you'd be a U.S. Government Contractor! -- Hey, I can say it because I am one. :) > In the end, though, it's all moot. These guys are the only > HyperTalk/Transcript shop in town for all intents and purposes. They can get > away with whatever pricing they want. Rev is what it is. And until/unless > you decide to become a C+ or REAL/Visual Basic programmer, they got you by > the coconuts. Really, the only thing stopping me is dropping down a few hundred for a couple of classes at my local night school... a few hundred that I could instead spend on 1 renewall. Sooner or later those classes will seem pretty tempting. Derek Bump Dreamscape Software www.dreamscapesoftware.com From briany at qldlearning.com Sat Aug 5 01:50:36 2006 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 4 Aug 2006 22:50:36 -0700 Subject: Studio License Renewal Cost In-Reply-To: <200608050534.k755YEvL016901@valuworld.com> References: <200608050534.k755YEvL016901@valuworld.com> Message-ID: I agree with some of your points previously, but are you really saying that you can take a couple of local night school classes and suddenly become so proficient in C++ or Basic that you have no need for Revolution? C++ takes years of experience, and will never give you the kind of RAD development that you probably chose Rev for. REALBasic may be a closer analogy, but still... if it wasn't a better choice before, it's not going to become one from $200 worth of night classes. If that were the case, why not just download REALBasic and run through the tutorials with a free trial, and so on? >> In the end, though, it's all moot. These guys are the only >> HyperTalk/Transcript shop in town for all intents and purposes. They >> can get >> away with whatever pricing they want. Rev is what it is. And >> until/unless >> you decide to become a C+ or REAL/Visual Basic programmer, they got >> you by >> the coconuts. > > Really, the only thing stopping me is dropping down a few hundred for > a couple of classes at my local night school... a few hundred that I > could instead spend on 1 renewall. Sooner or later those classes will > seem pretty tempting. From list at dreamscapesoftware.com Sat Aug 5 02:02:59 2006 From: list at dreamscapesoftware.com (dreamscapesoftware.com - List) Date: Sat, 5 Aug 2006 02:02:59 -0400 Subject: Studio License Renewal Cost Message-ID: <200608050602.k7562xAd004073@valuworld.com> Richard Gaskin wrote: > dreamscapesoftware.com write: > > > Garrett Hylltun wrote: > >> I've already expressed my dislike of the pricing structure. > >> But expressing it here on the mailing list does nothing but > >> cause unwanted and unneeded dissension among everyone on > >> the list and in the end, won't change Runtime's pricing > >> structure anyway. > > > > Where else would be a good place to discuss this issue then? > > It seemed that Garrett was just politely pointing out the ineffectualness of posting here: None of the other users in this user-to-user forum can do anything for you on matters relating to the company's internal decisions. Maybe not on an individual basis, but as a group they sure can. Petitions, letter writing campains, boycotts... anyone can change a company's internal decisions. > For noise-making I suppose the list provides a certain satisfaction, but for results have you considered writing to RunRev directly? I've written letters to many companies in the past, and the one thing I've learned is that you must have a lot of people agree with you before anyone will actually listen. > I don't understand the claims about RealBASIC being cheaper (assuming by "cheap" the reference is to price ), nor can I find anything on RunRev's site describing a subscription-based licensing model. [snip] > It's been a long time since I bought my license, and I know the licensing and pricing structure has changed with surprising frequency, so if my understanding is out of date please let me know the URL where I can learn more. The Revolution Terms (note section 5-d) http://support.runrev.com/section/terms.php The Revolution Studio Purchase Page (note the info at the bottom of the page) https://secure.runrev.com/Merchant2/merchant.mvc?Store_Code=SDREBWLP&Screen=PROD&Category_Code=STUD&Product_Code=STUD The REALBasic Pricing Page (Upgrades cost no more than half of the original price) http://www.realsoftware.com/store/realbasic_pricing/ Derek Bump Dreamscape Software www.dreamscapesoftware.com From list at dreamscapesoftware.com Sat Aug 5 02:21:48 2006 From: list at dreamscapesoftware.com (dreamscapesoftware.com - List) Date: Sat, 5 Aug 2006 02:21:48 -0400 Subject: Studio License Renewal Cost Message-ID: <200608050621.k756LlAN016632@valuworld.com> Lynn Fredricks wrote: > The nearest competitor in terms of price/value is probably REALbasic, > however 12 months of upgrades of REALbasic Professional Edition is $250, not > $199. Revolution Studio creates applications for multiple platforms so its > nearest analog to REALbasic is Pro, not Standard. REAL doesn't have any > equivalent to getting all IDEs and they don't have an equivalent to > Revolution Media. Revolution though, isnt an exact competitor to REALbasic - > except in the "end result". Thank you, but I am not referring to the nearest analog for price and features, but how the price of the upgrade compares to the original product.... REALbasic Standard is $99, and the Upgrade is $50. REALbasic Professional is $500, and the Upgrade is $250. - In both cases, the upgrade cost *about* 1/2 the original price Revolution Studio is $299, and the Upgrade is $199. Revolution Enterprise is $899, and the Upgrade is $499. - in both cases, the upgrade cost is *about* 1/3 the original price > Revolution pricing doesn't make professional developers blink but I can > understand how it would for a hobbyist, especially if you have Studio. If > you can put up with the limitations then Revolution Media really fits the > bill. I didn't realize that owning Revolution Studio meant that I am a hobbist. Derek Bump Dreamscape Software www.dreamscapesoftware.com From list at dreamscapesoftware.com Sat Aug 5 02:34:31 2006 From: list at dreamscapesoftware.com (dreamscapesoftware.com - List) Date: Sat, 5 Aug 2006 02:34:31 -0400 Subject: Studio License Renewal Cost Message-ID: <200608050634.k756YVXr026479@valuworld.com> Brian Yennie wrote: > I agree with some of your points previously, but are you really saying that you can take a couple of local night school classes and suddenly become so proficient in C++ or Basic that you have no need for Revolution? C++ takes years of experience, and will never give you the kind of RAD development that you probably chose Rev for. REALBasic may be a closer analogy, but still... if it wasn't a better choice before, it's not going to become one from $200 worth of night classes. If that were the case, why not just download REALBasic and run through the tutorials with a free trial, and so on? :) No, I'm not saying that. I've been programming for long enough to know that no one can become "instantly profecient". However, I once worked for a company that paid me to fool around with ASP for 1 week and then expected me to instantly port my Shopping Cart from PHP to ASP. I was like... are kidding me?!!! I have played around with REALBasic in the past, but at the time Revolution (I mean MetaCard) seemed more appealing because I was already familar with HyperTalk. REALbasic's pricing structure is looking more and more appealing now, but call me stubborn, I don't like to give up on products unless it's absolutly necessary. Derek Bump Dreamscape Software www.dreamscapesoftware.com From niconiko at gmail.com Sat Aug 5 03:06:10 2006 From: niconiko at gmail.com (Nicolas Cueto) Date: Sat, 5 Aug 2006 16:06:10 +0900 Subject: standalone - start only once Message-ID: <016201c6b85d$a4d85c70$0b01a8c0@niconiko04zbtb> Hello list, Is there a way of preventing a standalone from being started again once it has already been started? A backdrop might be a solution, but perhaps there are other Rev options? The reason I ask is that very young users of my stacks will click a standalone's icon again and again if the start-up screen does not appear *immediately* (or, sometimes, they just like to click because it's fun). Thank you. -- Nicolas Cueto From ptrendler at bigpond.com Sat Aug 5 03:17:49 2006 From: ptrendler at bigpond.com (Pat Trendler) Date: Sat, 5 Aug 2006 17:17:49 +1000 Subject: standalone - start only once References: <016201c6b85d$a4d85c70$0b01a8c0@niconiko04zbtb> Message-ID: <001c01c6b85f$42613ab0$0201010a@patasu> That feature is coming in the next release (very soon) see the august newsletter: http://www.runrev.com/newsletter/august/issue6/newsletter1.html Pat ----- Original Message ----- From: "Nicolas Cueto" To: Sent: Saturday, August 05, 2006 5:06 PM Subject: standalone - start only once > Hello list, > > Is there a way of preventing a standalone from > being started again once it has already been > started? > > A backdrop might be a solution, but perhaps > there are other Rev options? > > The reason I ask is that very young users of my > stacks will click a standalone's icon again and again > if the start-up screen does not appear *immediately* > (or, sometimes, they just like to click because it's fun). > > Thank you. > > -- > Nicolas Cueto > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.10.7/409 - Release Date: 4/08/2006 > > From viktoras at ekoinf.net Sat Aug 5 03:32:51 2006 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Sat, 5 Aug 2006 10:32:51 +0300 (FLE Standard Time) Subject: u3 rev application with mysql/apache References: Message-ID: <44D449A3.000001.03196@MAZYTIS> try this: put "mysqladmin -" & "-user=pma -" & "-password=your_password shutdown" into theCommand Best regards Viktoras -------Original Message------- From: Robert Mann Date: 08/05/06 00:38:12 To: How to use Revolution Subject: RE: u3 rev application with mysql/apache Viktoras I got the start button to work on mouseUp set the hideConsoleWindows to false open process "\xampplite\mysql\bin\mysqld" for neither end mouseUp but I am not able to get the stop to work (password= is correct for user=pma) #stop the server on mouseUp put "\xampplite\mysql\bin\mysqladmin -" & " -password= shutdown" into theCommand set the hideConsoleWindows to false get shell(theCommand) end mouseUp Thanks Robert Mann President GP Racing LLC From briany at qldlearning.com Sat Aug 5 04:16:23 2006 From: briany at qldlearning.com (Brian Yennie) Date: Sat, 5 Aug 2006 01:16:23 -0700 Subject: Studio License Renewal Cost In-Reply-To: <200608050634.k756YVXr026479@valuworld.com> References: <200608050634.k756YVXr026479@valuworld.com> Message-ID: Oh, well then nevermind =). > :) No, I'm not saying that. From briany at qldlearning.com Sat Aug 5 04:22:03 2006 From: briany at qldlearning.com (Brian Yennie) Date: Sat, 5 Aug 2006 01:22:03 -0700 Subject: Studio License Renewal Cost In-Reply-To: <200608050621.k756LlAN016632@valuworld.com> References: <200608050621.k756LlAN016632@valuworld.com> Message-ID: <32ede9acb4a39d7c376a338d071dfdc9@qldlearning.com> > I didn't realize that owning Revolution Studio meant that I am a > hobbist. Honestly, I would have assumed that anyone who was really disturbed by paying $200/year for a development environment must by a hobbyist. I'm not saying you've been stripped of your right to question the relative release/upgrade pricing... but is $200/year really that significant of a business expense? That's less money that 6 months of high-speed internet. As far as I can tell, the only possible way you could get any more for your money would be by using REALbasic Standard and saving $150 annually, and that just doesn't ring as an equivalent value to me. Is the pricing ratio really that important if the overall value is unmatched? - Brian From shaosean at hotmail.com Sat Aug 5 04:31:51 2006 From: shaosean at hotmail.com (Sean Shao) Date: Sat, 05 Aug 2006 04:31:51 -0400 Subject: [UPD] Listbox Tree Widget TR6 Message-ID: Well due to feature requests I've take the listbox tree script and converted it into a reusable widget. Now you set it up via a custom property and after issuing a single command it takes care of itself. Work will continue on this widget and if you feel like helping out, please contact me ^_^ shaosean.tk | shaosean.wehostmacs.com _________________________________________________________________ Don?t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ From ambassador at fourthworld.com Sat Aug 5 04:50:56 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 05 Aug 2006 01:50:56 -0700 Subject: Studio License Renewal Cost Message-ID: <44D45BF0.8050704@fourthworld.com> dreamscapesoftware.com wrote: > Richard Gaskin wrote: > > ... nor can I find anything on RunRev's site > > describing a subscription-based licensing model. ... > > The Revolution Terms (note section 5-d) > http://support.runrev.com/section/terms.php > > The Revolution Studio Purchase Page (note the > info at the bottom of the page) > https://secure.runrev.com/Merchant2/merchant.mvc?Store_Code=SDREBWLP&Screen=PROD&Category_Code=STUD&Product_Code=STUD A search for "subscription" came up empty on both pages. Section 5-d of the Terms is about RevOnline; I can't figure out how the description of that optional free service could be construed to mean that the Rev product itself will somehow no longer let you continue developing software at the end of any sort of "subscription" period. The Studio Purchase Page cited states it has nothing to do with upgrades at all, that they are to be purchased separately. I may be sleep-deprived but I'm just not seeing a "subscription" model here. Looks like one can buy a license to use a given version indefinitely, and can optionally choose to buy upgrades as they like. This is how much of the industry works. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mark at maseurope.net Sat Aug 5 05:06:40 2006 From: mark at maseurope.net (Mark Smith) Date: Sat, 5 Aug 2006 10:06:40 +0100 Subject: Studio License Renewal Cost In-Reply-To: <200608050621.k756LlAN016632@valuworld.com> References: <200608050621.k756LlAN016632@valuworld.com> Message-ID: Right, I'm going to start a petition to get RunRev to increase the purchase price. :) Best, Mark On 5 Aug 2006, at 07:21, dreamscapesoftware.com - List wrote: > REALbasic Standard is $99, and the Upgrade is $50. > REALbasic Professional is $500, and the Upgrade is $250. > - In both cases, the upgrade cost *about* 1/2 the original price > > Revolution Studio is $299, and the Upgrade is $199. > Revolution Enterprise is $899, and the Upgrade is $499. From m.schonewille at economy-x-talk.com Sat Aug 5 05:07:58 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 5 Aug 2006 11:07:58 +0200 Subject: [UPD] Listbox Tree Widget TR6 In-Reply-To: References: Message-ID: <80A1E60E-8C7B-4348-9E2D-A5A98DF2AC4E@economy-x-talk.com> Very cool, shao, thanks! I'll definitely contact you ;-) Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 5-aug-2006, om 10:31 heeft Sean Shao het volgende geschreven: > Well due to feature requests I've take the listbox tree script and > converted it into a reusable widget. Now you set it up via a custom > property and after issuing a single command it takes care of > itself. Work will continue on this widget and if you feel like > helping out, please contact me ^_^ > > shaosean.tk | shaosean.wehostmacs.com From janselid at broadpark.no Sat Aug 5 06:27:24 2006 From: janselid at broadpark.no (=?iso-8859-1?Q?Jan_S=E6lid?=) Date: Sat, 05 Aug 2006 12:27:24 +0200 Subject: RichText Implementation Message-ID: <000001c6b879$bddbf3a0$3993dae0$@no> Salute I?ve come to the point where I need to implement the Script function into my application. I?ve build all the functionality around this function and delayed the scriptwriter until a proper richtext field was implemented into revolution. It doesn?t seem that revolution will add this feature to revolution in the nearest future. So my question is: Does anyone know of anyone that have hardcoded this function into revolution? Or is my only option to hardcode this myself? I?m really in need of individual paragraphs. Regards Jan From janselid at broadpark.no Sat Aug 5 08:04:23 2006 From: janselid at broadpark.no (=?iso-8859-1?Q?Jan_S=E6lid?=) Date: Sat, 05 Aug 2006 14:04:23 +0200 Subject: RichText Implementation In-Reply-To: <000001c6b879$bddbf3a0$3993dae0$@no> References: <000001c6b879$bddbf3a0$3993dae0$@no> Message-ID: <000501c6b887$4a6497c0$df2dc740$@no> The scriptwriter needs to know if the user is editing dialogue, a character name, an action etc. the format of a script looks something like this: --- TRUMP You didn't call, Eliza. You know you won't get anything if you... He goes to the desk and snatches the... --- This format needs three different margins. One for the character name, one for the dialogue and one for the "action" part. One approach I'm thinking of is to use tabstops and have a rawkeyup handler in the field that checks what type of element the writer is editing and puts the cursor at the right tab if the writer e.g. pushes the downkey. The challenge with this method is that I have to store every element in the script in a custom property of the field with the number of tabs for each element. Maybe with a reference to the linenumber. e.g. "The line1 of fld "Script". Am I on the right track? Hope this is understandable. Any ideas are appreciated. In the long run it could be handy to make a library of functions that other revolution users could use. I Wrote: >> I?m really in need of individual paragraphs. From lfredricks at proactive-intl.com Sat Aug 5 10:48:30 2006 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sat, 5 Aug 2006 07:48:30 -0700 Subject: Studio License Renewal Cost In-Reply-To: <200608050621.k756LlAN016632@valuworld.com> Message-ID: <008101c6b89e$39300630$6401a8c0@lynn> > Thank you, but I am not referring to the nearest analog for > price and features, but how the price of the upgrade compares > to the original product.... > > REALbasic Standard is $99, and the Upgrade is $50. > REALbasic Professional is $500, and the Upgrade is $250. > - In both cases, the upgrade cost *about* 1/2 the original price > > Revolution Studio is $299, and the Upgrade is $199. > Revolution Enterprise is $899, and the Upgrade is $499. > - in both cases, the upgrade cost is *about* 1/3 the original price That is true, the percentile mix is higher for Revolution. > > Revolution pricing doesn't make professional developers blink but I > > can understand how it would for a hobbyist, especially if you have > > Studio. If you can put up with the limitations then > Revolution Media > > really fits the bill. > > I didn't realize that owning Revolution Studio meant that I > am a hobbyist. I havent had my coffee yet but Im not sure how you connected owning Studio with being a hobbyist :-) If you own Studio then its harder to offset the cost of your investment. Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution, Ltd From mpetrides at earthlink.net Sat Aug 5 11:48:49 2006 From: mpetrides at earthlink.net (Marian Petrides) Date: Sat, 5 Aug 2006 10:48:49 -0500 Subject: Studio License Renewal Cost In-Reply-To: <008101c6b89e$39300630$6401a8c0@lynn> References: <008101c6b89e$39300630$6401a8c0@lynn> Message-ID: <86AD5556-3EF7-4984-82D6-C927DB528D74@earthlink.net> Ok, I've been as vocal as everyone else on this list about Rev pricing, particularly the fact that it has always seemed a bit quirky to me. That being said, over time I've come to realize that Rev is well worth what I've paid for it--based on what it DOES for me. If the upgrade cost really bugs you, you can always do what I did--forgo the upgrade for a year and use the older version for until an upgrade comes along with features you feel you *must* have. (For me it was Universal Binary support.) Just my 2 cents. YMMV. Marian On Aug 5, 2006, at 9:48 AM, Lynn Fredricks wrote: >> Thank you, but I am not referring to the nearest analog for >> price and features, but how the price of the upgrade compares >> to the original product.... >> >> REALbasic Standard is $99, and the Upgrade is $50. >> REALbasic Professional is $500, and the Upgrade is $250. >> - In both cases, the upgrade cost *about* 1/2 the original price >> >> Revolution Studio is $299, and the Upgrade is $199. >> Revolution Enterprise is $899, and the Upgrade is $499. >> - in both cases, the upgrade cost is *about* 1/3 the original price > > That is true, the percentile mix is higher for Revolution. > >>> Revolution pricing doesn't make professional developers blink but I >>> can understand how it would for a hobbyist, especially if you have >>> Studio. If you can put up with the limitations then >> Revolution Media >>> really fits the bill. >> >> I didn't realize that owning Revolution Studio meant that I >> am a hobbyist. > > I havent had my coffee yet but Im not sure how you connected owning > Studio > with being a hobbyist :-) If you own Studio then its harder to > offset the > cost of your investment. > > 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 m.schonewille at economy-x-talk.com Sat Aug 5 12:11:42 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 5 Aug 2006 18:11:42 +0200 Subject: Object Library Message-ID: Hi, Has the question quoted below ever been answered? I seem to remember to have seen this question, about where the Object Library went, pop up a few times. I took the stack revdefaultlibrary.rev, which resides in the folder ~/ revolution xyz/components/save/userobjects/ and put this folder into ~/documents/my revolution/resources/object libraries/. If I open the Objects library in 2.7.2 now, all objects are available again. I assume that this is just a glitch in the new installer. Best regards, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. > Gregory Lypny gregory.lypny at videotron.ca > Wed Mar 15 12:01:12 CST 2006 > > > My apologies if I missed this in a previous post, but where's the > Object library in the new version of Revolution? When I click on > Object Library under the Development menu, I get the Library stack > and an empty field under the Object tab where those nifty objects > used to be in previous versions. > > Greg > From list at dreamscapesoftware.com Sat Aug 5 12:16:44 2006 From: list at dreamscapesoftware.com (dreamscapesoftware.com - List) Date: Sat, 5 Aug 2006 12:16:44 -0400 Subject: Studio License Renewal Cost Message-ID: <200608051616.k75GGiWY002033@valuworld.com> Richard Gaskin wrote: > A search for "subscription" came up empty on both pages. Try searching for "upgrade". > Section 5-d of the Terms is about RevOnline; I can't figure out how the description of that optional free service could be construed to mean that the Rev product itself will somehow no longer let you continue developing software at the end of any sort of "subscription" period. In section 5-d it states: "In the event of a new version of the software being made available, you must upgrade to this version by paying a fee or purchasing an upgrades pack in order to be able to continue to upload or modify your Revolution Online content." This statement is the only place in the "REVOLUTION LICENSE AGREEMENT AND WARRANTY DISCLAIMER" where it actually talks about the "upgrade packs". > The Studio Purchase Page cited states it has nothing to do with upgrades at all, that they are to be purchased separately. No, the page states: "This license does *not include* any technical support or upgrades, these may be purchased separately." > I may be sleep-deprived but I'm just not seeing a "subscription" model here. Looks like one can buy a license to use a given version indefinitely, and can optionally choose to buy upgrades as they like. This is how much of the industry works. Actually, I'm talking about paying for "1 year of upgrades" and the cost associated with what you get, and not the ability to continue development with the original license key. Also, I do believe that Bill was using the term subscription as a way of describing what one is actually doing when they put out $199 for a new (or upgraded, or renewed, or whatever you want to call it) license. From sims at ezpzapps.com Sat Aug 5 12:12:58 2006 From: sims at ezpzapps.com (sims) Date: Sat, 5 Aug 2006 18:12:58 +0200 Subject: [ANN] EuroRevCon 3-4-5 November 2006 Message-ID: European Revolution Conference 3-4-5 November 2006 Malta, featuring... * Kevin Miller, Rev CEO Keynote * Two very full days of Rev presentations and discussions by expert Rev developers: * Malte Brill * Eric Chatonet * Richard Gaskin * Bj?rnke von Gierke * Scott Rossi * Alex Tweedly [more to be announced] Registration Information: Conference Three nights at a four star hotel (based on double occupancy) All meals included (breakfast-lunch-dinner) Airport transfers Friday afternoon informal 'welcome get-together' snacks & drinks All for only Euro 545.00 (695 USD approx.) - Special Early price until 13 September! Spouse/Partner price - Euro 308 (395 USD approx.) airport transfers - hotel - all meals Conference & accommodation at the same hotel - more time for meeting people & learning! Pricing and more information available at: http://techietours.com Those who wish to extend their learning holiday in sunny Malta are also offered a three day tour of Malta and Gozo. 6-7-8 November 2006 Featuring visits to Valletta (Malta's capital city), Mdina, the Neolithic temples (which predate Stonehenge and the Pyramids), and a full day in Gozo (Malta's agricultural sister island, home of Calypso and Ulysses). Wine tasting extra attraction...a visit to Malta's finest wine estate...Meridiana, located just below the medieval walled city of Mdina. Want to know more? Please get in touch off list... email: rev at TechieTours.com sims From viktoras at ekoinf.net Sat Aug 5 12:21:00 2006 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Sat, 5 Aug 2006 19:21:00 +0300 (FLE Standard Time) Subject: Revolution API References: <008101c6b89e$39300630$6401a8c0@lynn> Message-ID: <44D4C56B.000001.02840@MAZYTIS> ..looking for a Revolution API guide. I've seen some resources mentioning that it does exist somewhere, but no links... Have tried searching, googling with no results. Does it exist in a single document ? Is it available for free or as an item that can be purchased? Viktoras From dsc at swcp.com Sat Aug 5 15:02:18 2006 From: dsc at swcp.com (Dar Scott) Date: Sat, 5 Aug 2006 13:02:18 -0600 Subject: One Day Beta for Microsecond Performance Timer Plugin Message-ID: <3E860345-2646-4EB5-AE83-FE3010D3BFBD@swcp.com> I have a performance timer plugin for Windows and OS X that probably works on other platforms. I plan to make this available for FREE for all versions before 1.0. Actually, I think this will be always free, but I thought I'd put in that caveat just in case. (The same functions might show up in advanced clock libraries.) If anybody is willing to check this out and provide scathing comments, I'd really appreciate it. I have checked this out on my XP desktop and G4 OS X. So I need lots of comments, especially from those on notebooks, on computers with exotic PCI, and on other exotic environments. My plan is to send betas today by email and then put this on my website Sunday night. Essentially this adds commands to start and stop a stopwatch and a function to get the time difference in seconds. Resolution is typically better than a microsecond, but OS activities can make these vary much more at times. If you see a resolution of only 1 ms or 10 ms, let me know! This also is a test of embedded externals and my new "darz" name prefix. Is "embedded external" an oxymoron? If you test this today and make comments, you will have a great voice in how the first release works. And you can help me out as I learn how to create a product family. So send me an email, if you'd like to play with this. The plugin is currently about 44KB, but might shrink in a week or two. I'll send a demo stack, too. FREE! Dar Scott Dar Scott Consulting and Dar's Lab From chipp at chipp.com Sat Aug 5 20:39:15 2006 From: chipp at chipp.com (Chipp Walters) Date: Sat, 5 Aug 2006 19:39:15 -0500 Subject: [ANN] altAnswerDate wrapper for Sean Shao's calendar widget Message-ID: <7aa52a210608051739n2078a520x4ad81239ce41b2c1@mail.gmail.com> altAnswerDate This is a free wrapper for Sean Shao's fine calendarWidget which can be called simply like an answer dialog box. (Thanks again Sean for a great calendar widget) Instructions on use are found on the stack. Not tested on Mac yet, but it should work fine (let me know if it doesn't). To download you can put into the message box: go URL "http://www.gadgetplugins.com/altplugins/altAnswerDateHarness.rev" Then save the stack. I just might make a business out of leveraging Sean's code! Count this as number 2 ;-) -Chipp From shaosean at hotmail.com Sat Aug 5 23:08:32 2006 From: shaosean at hotmail.com (Sean Shao) Date: Sat, 05 Aug 2006 23:08:32 -0400 Subject: [ANN] altAnswerDate wrapper for Sean Shao's calendar widget Message-ID: > This is a free wrapper for Sean Shao's fine calendarWidget umm.. It's Shao Sean (I'm a traditionalist ;-) but otherwise thanks for the useful add-on (again :-) > Not tested on Mac yet, but it Works fine on my PPC eMac > I just might make a business out of leveraging Sean's code! hehe.. Just make sure to keep throwing the compliments my way and everything will be fine ;-) _________________________________________________________________ Is your PC infected? Get a FREE online computer virus scan from McAfee? Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From bridgeyman at gmail.com Sun Aug 6 01:24:12 2006 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Sat, 5 Aug 2006 23:24:12 -0600 Subject: Sending Messages To API's Message-ID: <86ae76bb0608052224p69d493cap7946661c32621108@mail.gmail.com> Hey, I am seeing if it is possible to control the Skype API using Revolution. The Skype Developer site ( https://developer.skype.com/Docs/ApiDoc/Using_the_Skype_API_on_Windows) says to use the WM_COPYDATA command to communicate with Skype, but I have no idea how to do this. I have used the "open process C:/.../Skype.exe for text update" command to open Skype, but the write to process yields no results. I am also not able to receive anything from Skype using the read from process, or close Skype using close process. Skype shows up in the openProcesses and the result never shows any errors. Can someone help me make heads or tails of all this? TTFN Bridger From st.king42 at ntlworld.com Sun Aug 6 06:03:57 2006 From: st.king42 at ntlworld.com (Stephen King) Date: Sun, 6 Aug 2006 11:03:57 +0100 Subject: Bessel function References: <20060805170005.29784825510@mail.runrev.com> Message-ID: <000801c6b93f$a356a2c0$5602a8c0@athalon> Hi Does anyone know if Rev has a bessel function? I can't find it in the transcript dictionary. If not, does anyone have any suggestions on the maths to build this function. I am trying to recode an EXCEL application I have to an to a Revolution application. The EXCEL implementation is a bit to flexible and too easy for users to mess up the sheet! Cheers Steve From st.king42 at ntlworld.com Sun Aug 6 06:24:49 2006 From: st.king42 at ntlworld.com (Stephen King) Date: Sun, 6 Aug 2006 11:24:49 +0100 Subject: Studio License Renewal Cost References: <20060805170005.29784825510@mail.runrev.com> Message-ID: <001401c6b942$8d0eb810$5602a8c0@athalon> Hi, Have been off the list for a while as I am still using 2.5.x. I am a hobbyist only and feel that Rev pricing is pretty competitive. To the question is $200 a lot - interesting question, I work in a very different field of engineering and not software, for a very large company and know that even $200 is extremely difficult to justify with many hoops to jump through if it's not 'office' - I suspect it's actually easier in a very small company where the justification can be more easily seen. Anyway - my one gripe about Rev pricing (if the Rev guys are listening) is the way bugs are dealt with. I stopped upgrading after a few years as I continually found the Rev Bugs I needed fixing (unfortunately I have found it a bit buggy) were not fixed within the 1 year period and so I had buy the next license to get it fixed. Key ones for me were Speech on Windows and flashing quick time players. In the case of Speech, actually the Rev guys were very good and after some considerable dialogue let me have the fix even outside the 1 year period - but I still can't get two movie windows working even now. So I would be much happier if all 'major' bugs in a release were fixed free (even if outside the year) by maintenance .x releases, otherwise pricing seems reasonable. Beware though - it is getting more competitive for the hobbyist with the free .NET studio availability - do many hobbyists really need cross platform? Cheers Steve From dsc at swcp.com Sun Aug 6 13:27:10 2006 From: dsc at swcp.com (Dar Scott) Date: Sun, 6 Aug 2006 11:27:10 -0600 Subject: Bessel function In-Reply-To: <000801c6b93f$a356a2c0$5602a8c0@athalon> References: <20060805170005.29784825510@mail.runrev.com> <000801c6b93f$a356a2c0$5602a8c0@athalon> Message-ID: <926B69BF-B9C7-4821-BBE5-4D9DD5A6D01E@swcp.com> On Aug 6, 2006, at 4:03 AM, Stephen King wrote: > If not, does anyone have any suggestions on the maths to build this > function. Can you get by with integral orders? Is there a limit on how big the arg is? I would think you can compute it for positive integer orders using a Taylor's series. See wikipedia for Bessel. Getting the negative order from the positive is described there, too. In computing the Taylor's series, don't compute the power or the factorials each time, but accumulate those as you go. If you need only one order and you call it often, you can build a factor table the first time and use that each time. Dar Scott From bmmeili at swissonline.ch Sun Aug 6 13:55:45 2006 From: bmmeili at swissonline.ch (Martin Meili) Date: Sun, 6 Aug 2006 19:55:45 +0200 Subject: shell command ? Message-ID: <537dc1cbd8f8b2084cc638af7606b0fc@swissonline.ch> How can I set file attributes? open file FileToWriteVar for write write "MyText" to file FileToWriteVar close file FileToWriteVar ...... shell command (?) --> How can I set the attribute of the file "FileToWriteVar" so that the user can't see the file in the directory I've written the file to? ??? but he should be able to open and read from it by the "open file for read" command. Martin From dsc at swcp.com Sun Aug 6 14:09:02 2006 From: dsc at swcp.com (Dar Scott) Date: Sun, 6 Aug 2006 12:09:02 -0600 Subject: Extension of pre-pub testing for ns performance timer plugin In-Reply-To: <3E860345-2646-4EB5-AE83-FE3010D3BFBD@swcp.com> References: <3E860345-2646-4EB5-AE83-FE3010D3BFBD@swcp.com> Message-ID: Well, the timer resolution is closer to microsecond than nanosecond, but it is high resolution. I decided to wait a couple days before publishing the FREE timer plugin. If you want to help me out and want to influence how this turns out, let me know and I'll send you a pre-publication version to play with. This is a plugin that makes a few timer related functions and commands available in your IDE. You can use these in your scripts to time how long certain operations take. You can use 'the long seconds', of course, but that does not have the resolution on Windows that it does on OS X. Also, it does not have built-in calibration for timing and the uniform timing commands and functions. On Windows you can time short operations by repeating them, but in some cases that cannot work. This might be because the operation changes the situation, such as closing a file, or because you need to time in a live test. The high resolution timer plugin takes care of that. It sets up a uniform timing API and adds very high res timing to Windows. The new commands can be inserted as a front script or as a stack library. The first is better for timing built-in operations, the latter is better for timing scripts with lots of calls. The plugin is a single stack so you can't lose supporting stacks and externals; they are embedded. I've been calling this darzStopwatch, but might change that to darzTimer or something. So, if you have any of the gifts of encouragement, making snide remarks, nitpicking, clocks on Windows machines, whining, GUI and so on, please help me out. I've only checked this out on a single processor Athlon for Windows XP and a dual G4 for OS X, so if you have something different (especially old, mobile, weird PCI, or OS X on Intel) that will help. Besides the plugin, I'll send a small demo stack that times "repeat n times". With this timer you can see the difference in times as you move from 0 times, to 1 times, to 2 times to 1000000 times. Remember, because of the nature of these OSs, the time it takes to do an operation can vary and sometimes take much longer than usual. Time several times to get the feel for the time. Drop me a note if you want an early look. Dar Scott dsc at swcp.com From dsc at swcp.com Sun Aug 6 14:21:34 2006 From: dsc at swcp.com (Dar Scott) Date: Sun, 6 Aug 2006 12:21:34 -0600 Subject: Extension of pre-pub testing for ns performance timer plugin In-Reply-To: References: <3E860345-2646-4EB5-AE83-FE3010D3BFBD@swcp.com> Message-ID: On Aug 6, 2006, at 12:09 PM, Dar Scott wrote: > It sets up a uniform timing API and adds very high res timing to > Windows. I forgot to say that this version does not solve bug 75 for non Windows, so don't use 'time' or 'convert' during timing. It will mess up the timing measurement. To put it in positive sense, timing on Windows is not affected by bug 75. Certain commands and functions mess up the seconds, milliseconds and so on. That bug is resolved as "isn't fixable", so maybe it should be called "interesting feature 75". That is fixed for the high res timer plugin from Dar's Lab on Windows. Dar Scott From m.schonewille at economy-x-talk.com Sun Aug 6 14:32:27 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 6 Aug 2006 20:32:27 +0200 Subject: shell command ? In-Reply-To: <537dc1cbd8f8b2084cc638af7606b0fc@swissonline.ch> References: <537dc1cbd8f8b2084cc638af7606b0fc@swissonline.ch> Message-ID: <085DE891-A6F3-4C72-B0F4-E553CC943B8E@economy-x-talk.com> Hi Martin, On Mac OS X, you might want to start the name of your file with a period, on Windows you need to check the Attrib command, on Mac OS 9 you might want to use an AppleScript OSAX called FileVisibility. -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 6-aug-2006, om 19:55 heeft Martin Meili het volgende geschreven: > How can I set file attributes? > > > open file FileToWriteVar for write > write "MyText" to file FileToWriteVar > close file FileToWriteVar > > ...... shell command (?) > > --> How can I set the attribute of the file "FileToWriteVar" so > that the user can't see the file in the directory I've written the > file to? ??? but he should be able to open and read from it by the > "open file for read" command. > > Martin From liamlambert at mac.com Sun Aug 6 14:41:51 2006 From: liamlambert at mac.com (Liam Lambert) Date: Sun, 6 Aug 2006 19:41:51 +0100 Subject: Handler or function Message-ID: <4445A7C8-8C5D-4A2B-BE0E-32338EB2D151@mac.com> Hi all I have am using this handler to calculate different prices for children adults and others The aPrice cPrice and the oPrice are different prices selected from a fld with different prices in it the handler works fine my question is should I this with a function or is there a better way to do this on fCal set the numberFormat to "#0.00" -- dollar format put field "aPrice" into theaPrice -- the selected adult price Put field "cPrice" into thecPrice -- the selected child price put fld "oPrice" into theoPrice ---other selected price put field "child" into theChildNumber --the number of children put field "adult" into theAdultNumber --the number of adults put fld "other" into theOtherNumber ---the number of other put (theChildNumber * thecPrice) into field "Childprice"-- * the number of children by the price put (theAdultNumber * theaPrice) into field "Adultprice"-- * the number of Adults by the price put (theOtherNumber * theoPrice) into fld "Otherprice" put field "Childprice" into theChildprice put field "Adultprice" into theAdultprice put fld "Otherprice" into theOtherPrice put theAdultprice + theChildprice + theotherPrice into field "Total" end fCal Thank's Liam IRELAND liamlambert at mac.com From liamlambert at mac.com Sun Aug 6 14:45:23 2006 From: liamlambert at mac.com (Liam Lambert) Date: Sun, 6 Aug 2006 19:45:23 +0100 Subject: Handler or function Message-ID: <7B918663-F277-4D27-B29D-55384B352F90@mac.com> Sorry Typo Should have said Hi all I have am using this handler to calculate different prices for children adults and others The aPrice cPrice and the oPrice are different prices selected from a fld with different prices in it the handler works fine my question is should I do this with a function or is there a better way to do this on fCal set the numberFormat to "#0.00" -- dollar format put field "aPrice" into theaPrice -- the selected adult price Put field "cPrice" into thecPrice -- the selected child price put fld "oPrice" into theoPrice ---other selected price put field "child" into theChildNumber --the number of children put field "adult" into theAdultNumber --the number of adults put fld "other" into theOtherNumber ---the number of other put (theChildNumber * thecPrice) into field "Childprice"-- * the number of children by the price put (theAdultNumber * theaPrice) into field "Adultprice"-- * the number of Adults by the price put (theOtherNumber * theoPrice) into fld "Otherprice" put field "Childprice" into theChildprice put field "Adultprice" into theAdultprice put fld "Otherprice" into theOtherPrice put theAdultprice + theChildprice + theotherPrice into field "Total" end fCal Thank's Liam IRELAND liamlambert at mac.com From m.schonewille at economy-x-talk.com Sun Aug 6 15:13:45 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 6 Aug 2006 21:13:45 +0200 Subject: Handler or function In-Reply-To: <7B918663-F277-4D27-B29D-55384B352F90@mac.com> References: <7B918663-F277-4D27-B29D-55384B352F90@mac.com> Message-ID: <176DB012-956E-42BD-86EA-99A6A0D5EFF8@economy-x-talk.com> Hi Liam, Whether you should use a function rather than your handler really depends on what you want. If you really need to display intermediate values, you might want to use the following relatively short handler on fCal set the numberFormat to "#0.00" put (fld "Adult" * fld "aPrice") into fld "AdultPrice" put (fld "Child" * fld "cPrice") into fld "ChildPrice" put (fld "Other" * fld "oPrice") into fld "AdultPrice" put (fld "Adult" * fld "aPrice") + (fld "Child" * fld "cPrice") ? + (fld "Other" * fld "oPrice") into field "Total" end fCal but if that's not necessary, the first and the last line of above handler would be sufficient on fCal set the numberFormat to "#0.00" put (fld "Adult" * fld "aPrice") + (fld "Child" * fld "cPrice") ? + (fld "Other" * fld "oPrice") into field "Total" end fCal and if you need to do this really, really often and you get tired of typing the syntax all the time, I would try to use shorter variable names together with this function: function gCalc theaPrice,thecPrice,theoPrice,theChildNumber,theAdultNumber,theOtherNumb er set the numberFormat to "#0.00" return (theAdultNumber * theaPrice) + (theChildNumber * thecPrice) + (theOtherNumber * theoPrice) end gCalc If you are going to repeat these calculations hundreds of times, you really don't want to update the fields all the time, because it reduces performance. Otherwise, you could use your original handler as well. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 6-aug-2006, om 20:45 heeft Liam Lambert het volgende geschreven: > Sorry Typo > Should have said > Hi all I have am using this handler to calculate different prices > for children adults and others > The aPrice cPrice and the oPrice are different prices selected from a > fld with different prices in it > the handler works fine my question is should I do this with a > function > or is there a better way to do this > > > on fCal > set the numberFormat to "#0.00" -- dollar format > put field "aPrice" into theaPrice -- the selected adult price > Put field "cPrice" into thecPrice -- the selected child price > put fld "oPrice" into theoPrice ---other selected price > put field "child" into theChildNumber --the number of children > put field "adult" into theAdultNumber --the number of adults > put fld "other" into theOtherNumber ---the number of other > > put (theChildNumber * thecPrice) into field "Childprice"-- * the > number of children by the price > put (theAdultNumber * theaPrice) into field "Adultprice"-- * the > number of Adults by the price > put (theOtherNumber * theoPrice) into fld "Otherprice" > > put field "Childprice" into theChildprice > put field "Adultprice" into theAdultprice > put fld "Otherprice" into theOtherPrice > put theAdultprice + theChildprice + theotherPrice into field > "Total" > end fCal > > Thank's Liam > > > IRELAND > liamlambert 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 liamlambert at mac.com Sun Aug 6 15:29:36 2006 From: liamlambert at mac.com (Liam Lambert) Date: Sun, 6 Aug 2006 20:29:36 +0100 Subject: Handler or function Message-ID: <83D5DDDA-F7AA-42BD-8A6F-03BC093D06F3@mac.com> Thank's Mark That answers my question. Liam IRELAND liamlambert at mac.com From revolutionary.dan at gmail.com Sun Aug 6 16:12:39 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Sun, 6 Aug 2006 13:12:39 -0700 Subject: Handler or function In-Reply-To: <4445A7C8-8C5D-4A2B-BE0E-32338EB2D151@mac.com> References: <4445A7C8-8C5D-4A2B-BE0E-32338EB2D151@mac.com> Message-ID: <70ed6b130608061312y7d150b01vc1016cc3fbeb7139@mail.gmail.com> Liam.... If all you're doing with the calculation results is populating a field, then it probably doesn't matter a whit whether you use a function or a handler. The only real difference is that when you call a function, you have to be aware that it's returning a result and that you MUST call it in such a way that the result is dealt with (even if "dealt with" means throwing it away). Thus if you had a handler called calcPrice and a function called calcPrice, you'd call the handler like this: calcPrice x, y and the function like this: put calcPrice(x,y) into field "foo" or wherever you want it. (You probably already know this stuff and if so I apologize for wasting your time with something obvious but I often find that assuming isn't useful either.) On 8/6/06, Liam Lambert wrote: > > Hi all I have am using this handler to calculate different prices > for children adults and others > The aPrice cPrice and the oPrice are different prices selected from a > fld with different prices in it > the handler works fine my question is should I this with a function > or is there a better way to do this > > > on fCal > set the numberFormat to "#0.00" -- dollar format > put field "aPrice" into theaPrice -- the selected adult price > Put field "cPrice" into thecPrice -- the selected child price > put fld "oPrice" into theoPrice ---other selected price > put field "child" into theChildNumber --the number of children > put field "adult" into theAdultNumber --the number of adults > put fld "other" into theOtherNumber ---the number of other > > put (theChildNumber * thecPrice) into field "Childprice"-- * the > number of children by the price > put (theAdultNumber * theaPrice) into field "Adultprice"-- * the > number of Adults by the price > put (theOtherNumber * theoPrice) into fld "Otherprice" > > put field "Childprice" into theChildprice > put field "Adultprice" into theAdultprice > put fld "Otherprice" into theOtherPrice > put theAdultprice + theChildprice + theotherPrice into field "Total" > end fCal > > > > Thank's Liam > IRELAND > liamlambert 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 > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From liamlambert at mac.com Sun Aug 6 17:24:44 2006 From: liamlambert at mac.com (Liam Lambert) Date: Sun, 6 Aug 2006 22:24:44 +0100 Subject: Handler or function Message-ID: <8D698270-6865-4D45-8178-A705292381FA@mac.com> Dan thank you for your response When I am writing code even if something works well I wonder if there is a better way of doing it. I have found in the past asking questions on this list has been a great way to learn how other people do things and often learn a lot of new things from peoples replies also other peoples posts. I am constantly amazed by how generous people are on this list with there time. Thank's Liam IRELAND liamlambert at mac.com From jacque at hyperactivesw.com Sun Aug 6 17:25:04 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 06 Aug 2006 16:25:04 -0500 Subject: Crop command Message-ID: <44D65E30.1010501@hyperactivesw.com> Anyone having problems with the crop command? crop img "myImage" to the rect of btn 1 -- nothing crop img "myImage" to "76,48,171,158" -- nothing crop img 1 to the rect of fld 1 -- OK But if the image is in a background group nothing seems to work, no matter how the image is refered to. Anyone know why? This isn't an image referenced from disk, by the way, it's on the card. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From katir at hindu.org Sun Aug 6 18:03:54 2006 From: katir at hindu.org (Sivakatirswami) Date: Sun, 06 Aug 2006 12:03:54 -1000 Subject: HTML Tag Cleaner Fails Message-ID: <44D6674A.5000600@hindu.org> I think I am missing thing... I thought this used to work # html tag cleaner, simple no brainer style put "Chapter 1: Great Revolution Recipes" into tHtml set the htmltext of fld "title" to tHtml I get nothing returned at all, field is empty. ?? From m.schonewille at economy-x-talk.com Sun Aug 6 18:17:43 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 7 Aug 2006 00:17:43 +0200 Subject: HTML Tag Cleaner Fails In-Reply-To: <44D6674A.5000600@hindu.org> References: <44D6674A.5000600@hindu.org> Message-ID: <58B23593-7D53-4831-A52E-22F8AE98DE88@economy-x-talk.com> Hi Sivakatirswami, Maybe the field stays empty because the tag is not a part of the body of the html page. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 7-aug-2006, om 0:03 heeft Sivakatirswami het volgende geschreven: > I think I am missing thing... > > I thought this used to work > > # html tag cleaner, simple no brainer style > > put "<title>Chapter 1: Great Revolution Recipes" into tHtml > set the htmltext of fld "title" to tHtml > > I get nothing returned at all, field is empty. > > ?? From dsc at swcp.com Sun Aug 6 18:31:11 2006 From: dsc at swcp.com (Dar Scott) Date: Sun, 6 Aug 2006 16:31:11 -0600 Subject: Plugin visibility Message-ID: Is there a way to set a plugin so it is invisible when (if) loaded with the IDE, but visible when loaded from the menu? Is there a way for the plugin to tell the difference? Dar Scott From revdev at pdslabs.net Sun Aug 6 19:09:24 2006 From: revdev at pdslabs.net (Phil Davis) Date: Sun, 06 Aug 2006 16:09:24 -0700 Subject: Plugin visibility In-Reply-To: References: Message-ID: <44D676A4.1060300@pdslabs.net> Hi Dar - Good question. My short answer: no. Sounds like a good feature request. Rephrasing the question: Is there any IDE (stack that isn't opened | flag that isn't set) that always gets opened|set, but isn't opened|set until after all startup plugins are opened? If you know of one, I guess you could use that. I looked at the 'rev' messages you can send to a plugin upon opening, but I don't see anything there that tells you 'what time it is'. Please let us know if you uncover a way. Sounds quite useful. Phil Davis Dar Scott wrote: > Is there a way to set a plugin so it is invisible when (if) loaded with > the IDE, but visible when loaded from the menu? > > Is there a way for the plugin to tell the difference? > > Dar Scott From mark at maseurope.net Sun Aug 6 20:53:51 2006 From: mark at maseurope.net (Mark Smith) Date: Mon, 7 Aug 2006 01:53:51 +0100 Subject: Plugin visibility In-Reply-To: References: Message-ID: Can you not do this from the 'Development' menu in the IDE? I have a menuItem at the bottom of the 'Development' menu called 'plugin settings', where you can define this behaviour for each plugin. Studio 2.7.2, but I'm pretty sure it's been there in prvious versions. Best, Mark On 6 Aug 2006, at 23:31, Dar Scott wrote: > Is there a way to set a plugin so it is invisible when (if) loaded > with the IDE, but visible when loaded from the menu? > > Is there a way for the plugin to tell the difference? > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Sun Aug 6 21:33:56 2006 From: dsc at swcp.com (Dar Scott) Date: Sun, 6 Aug 2006 19:33:56 -0600 Subject: Plugin visibility In-Reply-To: References: Message-ID: <8F036CD3-E697-4730-B2B5-E5FE8ABAD6A4@swcp.com> On Aug 6, 2006, at 6:53 PM, Mark Smith wrote: > Can you not do this from the 'Development' menu in the IDE? I have > a menuItem at the bottom of the 'Development' menu called 'plugin > settings', where you can define this behaviour for each plugin. > Studio 2.7.2, but I'm pretty sure it's been there in prvious versions. Hmmm. For me I get invisible for both startup and menu. Maybe I'm setting something wrong. Hmmm. It seems I can't turn invisible off, so maybe something else is wrong. Dar From revdev at pdslabs.net Sun Aug 6 21:43:03 2006 From: revdev at pdslabs.net (Phil Davis) Date: Sun, 06 Aug 2006 18:43:03 -0700 Subject: Plugin visibility In-Reply-To: <8F036CD3-E697-4730-B2B5-E5FE8ABAD6A4@swcp.com> References: <8F036CD3-E697-4730-B2B5-E5FE8ABAD6A4@swcp.com> Message-ID: <44D69AA7.8050803@pdslabs.net> The settings Mark mentioned are the ones I was referring to in my earlier response. I didn't see a message among them that tells the plugin when (start of session / mid-session) or how (auto / manual) it is being opened. I thought that's what you wanted - so the plugin to make up its own mind whether it should be visible or not. Maybe I missed what you were really asking? Phil Davis Dar Scott wrote: > > On Aug 6, 2006, at 6:53 PM, Mark Smith wrote: > >> Can you not do this from the 'Development' menu in the IDE? I have a >> menuItem at the bottom of the 'Development' menu called 'plugin >> settings', where you can define this behaviour for each plugin. Studio >> 2.7.2, but I'm pretty sure it's been there in prvious versions. > > Hmmm. For me I get invisible for both startup and menu. Maybe I'm > setting something wrong. Hmmm. It seems I can't turn invisible off, so > maybe something else is wrong. > > Dar From dsc at swcp.com Mon Aug 7 01:21:01 2006 From: dsc at swcp.com (Dar Scott) Date: Sun, 6 Aug 2006 23:21:01 -0600 Subject: Plugin visibility In-Reply-To: <44D69AA7.8050803@pdslabs.net> References: <8F036CD3-E697-4730-B2B5-E5FE8ABAD6A4@swcp.com> <44D69AA7.8050803@pdslabs.net> Message-ID: On Aug 6, 2006, at 7:43 PM, Phil Davis wrote: > The settings Mark mentioned are the ones I was referring to in my > earlier response. I didn't see a message among them that tells the > plugin when (start of session / mid-session) or how (auto / manual) > it is being opened. I thought that's what you wanted - so the > plugin to make up its own mind whether it should be visible or not. > Maybe I missed what you were really asking? I don't think I thought this out. I wanted to tell whether started "Revolution starts up" or "Chosen from Plugins menu", so the stack can override "invisible" for the latter case. But that is only because there didn't seem to be a way to select invisible for the first and not for the latter. It would be nice if that was the case. After thinking about it, I don't think I want to override those settings. But maybe. After all, the tab editor does that. Dar From revolutionary.dan at gmail.com Mon Aug 7 01:53:16 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Sun, 6 Aug 2006 22:53:16 -0700 Subject: HTML Tag Cleaner Fails In-Reply-To: <44D6674A.5000600@hindu.org> References: <44D6674A.5000600@hindu.org> Message-ID: <70ed6b130608062253k38f7f95i1af4955130c2c7b7@mail.gmail.com> The problem is that "" isn't a supported HTML tag in Rev's formatted text, so nothing shows. If you change the tag to one of those that is supported (see docs), it works fine. Dan On 8/6/06, Sivakatirswami <katir at hindu.org> wrote: > > I think I am missing thing... > > I thought this used to work > > # html tag cleaner, simple no brainer style > > put "<title>Chapter 1: Great Revolution Recipes" into tHtml > set the htmltext of fld "title" to tHtml > > I get nothing returned at all, field is empty. > > ?? > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From kray at sonsothunder.com Mon Aug 7 02:04:57 2006 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 07 Aug 2006 01:04:57 -0500 Subject: Sending Messages To API's In-Reply-To: <86ae76bb0608052224p69d493cap7946661c32621108@mail.gmail.com> Message-ID: On 8/6/06 12:24 AM, "Bridger Maxwell" wrote: > Hey, > I am seeing if it is possible to control the Skype API using Revolution. > The Skype Developer site ( > https://developer.skype.com/Docs/ApiDoc/Using_the_Skype_API_on_Windows) says > to use the WM_COPYDATA command to communicate with Skype, but I have no idea > how to do this. I have used the "open process C:/.../Skype.exe for text > update" command to open Skype, but the write to process yields no results. > I am also not able to receive anything from Skype using the read from > process, or close Skype using close process. Skype shows up in the > openProcesses and the result never shows any errors. Can someone help me > make heads or tails of all this? You would need to have an external written that would be able to send WM_COPYDATA messages and to register the appropriate window messages with Skype. This isn't something that Rev can do "out of the box". Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From m.schonewille at economy-x-talk.com Mon Aug 7 03:58:50 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 7 Aug 2006 09:58:50 +0200 Subject: HTML Tag Cleaner Fails In-Reply-To: <70ed6b130608062253k38f7f95i1af4955130c2c7b7@mail.gmail.com> References: <44D6674A.5000600@hindu.org> <70ed6b130608062253k38f7f95i1af4955130c2c7b7@mail.gmail.com> Message-ID: <404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com> Dan, Have you tried this? set the htmlText of fld 1 to "bar" Didn't know that was a supported tag ;-) Revolution just filters out text surrounded by title tags, because they are not supposed to appear in the body of an html page. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 7-aug-2006, om 7:53 heeft Dan Shafer het volgende geschreven: > The problem is that "" isn't a supported HTML tag in Rev's > formatted > text, so nothing shows. If you change the tag to one of those that is > supported (see docs), it works fine. > > Dan From revolutionary.dan at gmail.com Mon Aug 7 04:08:07 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Mon, 7 Aug 2006 01:08:07 -0700 Subject: HTML Tag Cleaner Fails In-Reply-To: <404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com> References: <44D6674A.5000600@hindu.org> <70ed6b130608062253k38f7f95i1af4955130c2c7b7@mail.gmail.com> <404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com> Message-ID: <70ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com> That's just freaking bizarre! On 8/7/06, Mark Schonewille <m.schonewille at economy-x-talk.com> wrote: > > Dan, > > Have you tried this? > > set the htmlText of fld 1 to "<foo>bar</foo>" > > Didn't know that <foo> was a supported tag ;-) Revolution just > filters out text surrounded by title tags, because they are not > supposed to appear in the body of an html page. > > Best, > > Mark > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Download ErrorLib at http://economy-x-talk.com/developers.html and > get full control of error handling in Revolution. > > > > Op 7-aug-2006, om 7:53 heeft Dan Shafer het volgende geschreven: > > > The problem is that "<title>" isn't a supported HTML tag in Rev's > > formatted > > text, so nothing shows. If you change the tag to one of those that is > > supported (see docs), it works fine. > > > > Dan > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From m.schonewille at economy-x-talk.com Mon Aug 7 04:27:09 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 7 Aug 2006 10:27:09 +0200 Subject: HTML Tag Cleaner Fails In-Reply-To: <70ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com> References: <44D6674A.5000600@hindu.org> <70ed6b130608062253k38f7f95i1af4955130c2c7b7@mail.gmail.com> <404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com> <70ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com> Message-ID: <76FCC001-3C23-470D-93D0-767DFE1207D7@economy-x-talk.com> No, it is what I expect. My internet browser behaves exactly the same. Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 7-aug-2006, om 10:08 heeft Dan Shafer het volgende geschreven: > That's just freaking bizarre! From david at openpartnership.net Mon Aug 7 05:49:50 2006 From: david at openpartnership.net (David Bovill) Date: Mon, 7 Aug 2006 10:49:50 +0100 Subject: Sending Messages To API's In-Reply-To: <C0FC4239.40A52%kray@sonsothunder.com> References: <86ae76bb0608052224p69d493cap7946661c32621108@mail.gmail.com> <C0FC4239.40A52%kray@sonsothunder.com> Message-ID: <c1c5836b0608070249q317bd637p931391d8405f0b39@mail.gmail.com> I see from the link that there is some sample C++ code there for Windows: > https://developer.skype.com/Docs/ApiDoc/Using_the_Skype_API_on_Windows) says - so you should be able to use this to building a dll. On Macs you can just use AppleScript from within Rev. On Linux of course you can do everything :) From david at openpartnership.net Mon Aug 7 09:28:29 2006 From: david at openpartnership.net (David Bovill) Date: Mon, 7 Aug 2006 14:28:29 +0100 Subject: Time-outs with HTTPS Message-ID: <c1c5836b0608070628h1b30f264x40c233d28c600dad@mail.gmail.com> Done some tests with https and the del.iri.us web service - and compared these with using curl from the shell (via Revolution). Curl works, Rev does not on OSX Panther using 2.7.0 and pretty well the latest libUrl I think: https://runrev:runrev at api.del.icio.us/v1/posts/update > socket timeout api.del.icio.us:443|6951 > > curl -u runrev:runrev https://api.del.icio.us/v1/posts/update > % Total % Received % Xferd Average Speed Time > Curr. > Dload Upload Total Current Left > Speed > > 100 78 0 78 0 0 4 0 --:--:-- 0:00:18 > --:--:-- 4 > 100 78 0 78 0 0 4 0 --:--:-- 0:00:18 > --:--:-- 0 > <?xml version='1.0' standalone='yes'?> > <update time="2006-08-07T13:11:15Z" /> > I "set the socketTimeoutInterval to 50000" but even this is not much help. Here are the scripts if they are of any help: on mouseUp pMouseBtnNum > put "api.del.icio.us/v1/posts/update" into someUrl > -- put "api.del.icio.us/v1/tags/get" into someUrl > -- put "api.del.icio.us/v1/tags/bundles/all" into someUrl > > put "runrev" into someUser > put "runrev" into pissWord > > set the cursor to watch > put curl_GetUrl(someUrl, someUser, pissWord, "https", curlCommand) > into curlResult > put rest_GetUrl(someUrl, someUser, pissWord, "https", restUrl) into > restResult > > put restUrl & CR & restResult & CR & CR & curlCommand & CR & > curlResult > pass mouseUp > end mouseUp > > function rest_GetUrl someUrl, someUser, pissWord, someProtocol, @restUrl > if someProtocol is empty then put "http" into someProtocol > if someProtocol is "https" then > set the socketTimeoutInterval to 50000 > libUrlSetSSLVerification false > else > set the socketTimeoutInterval to 10000 > end if > > put merge("https://[[someUser]]:[[pissWord]]@[[someUrl]]") into > restUrl > get url restUrl > > put the result into someResult > if the result is not empty then > return the result > else > return it > end if > end rest_GetUrl > > function curl_GetUrl someUrl, someUser, pissWord, someProtocol, > @curlCommand > if someProtocol is empty then put "http" into someProtocol > > put merge("curl -u [[someUser]]:[[pissWord]] > [[someProtocol]]://[[someUrl]]") into curlCommand > put shell(curlCommand) into shellResult > > -- put line 1 to 3 of shellResult into curlResult > -- delete line 1 to 3 of shellResult > return shellResult -- may contain result lines if long. > end curl_GetUrl > From mark at maseurope.net Mon Aug 7 10:18:20 2006 From: mark at maseurope.net (Mark Smith) Date: Mon, 7 Aug 2006 15:18:20 +0100 Subject: Time-outs with HTTPS In-Reply-To: <c1c5836b0608070628h1b30f264x40c233d28c600dad@mail.gmail.com> References: <c1c5836b0608070628h1b30f264x40c233d28c600dad@mail.gmail.com> Message-ID: <05A1D3FB-853B-45E0-8364-9225602F7CB0@maseurope.net> I've been using https from Rev with a SOAP based service, and it works, but timeouts are frequent. At the beginning, I was getting about 50% of requests timing out, but over the three months or so I've been running the app (logging results), on average I've been getting about 12% of requests timing out. I've had the timeout interval at various settings. 12% seems a high, but it's been usable in my application, though it seems like there's some issue with either libURL or the way Rev uses the SSL library... Best, Mark On 7 Aug 2006, at 14:28, David Bovill wrote: > Done some tests with https and the del.iri.us web service - and > compared > these with using curl from the shell (via Revolution). Curl works, > Rev does > not on OSX Panther using 2.7.0 and pretty well the latest libUrl I > think: > > https://runrev:runrev at api.del.icio.us/v1/posts/update >> socket timeout api.del.icio.us:443|6951 >> >> curl -u runrev:runrev https://api.del.icio.us/v1/posts/update >> % Total % Received % Xferd Average Speed Time >> Curr. >> Dload Upload Total Current Left >> Speed >> >> 100 78 0 78 0 0 4 0 --:--:-- 0:00:18 >> --:--:-- 4 >> 100 78 0 78 0 0 4 0 --:--:-- 0:00:18 >> --:--:-- 0 >> <?xml version='1.0' standalone='yes'?> >> <update time="2006-08-07T13:11:15Z" /> >> > From devin_asay at byu.edu Mon Aug 7 13:02:01 2006 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 7 Aug 2006 11:02:01 -0600 Subject: [ANN] altAnswerDate wrapper for Sean Shao's calendar widget In-Reply-To: <7aa52a210608051739n2078a520x4ad81239ce41b2c1@mail.gmail.com> References: <7aa52a210608051739n2078a520x4ad81239ce41b2c1@mail.gmail.com> Message-ID: <237173F1-2D35-4455-AC5B-07B59C0DB597@byu.edu> Extremely cool! Thanks Sean and Chipp! Devin On Aug 5, 2006, at 6:39 PM, Chipp Walters wrote: > altAnswerDate > This is a free wrapper for Sean Shao's fine calendarWidget which > can be > called simply like an answer dialog box. (Thanks again Sean for a > great > calendar widget) > > Instructions on use are found on the stack. Not tested on Mac yet, > but it > should work fine (let me know if it doesn't). > > To download you can put into the message box: > > go URL "http://www.gadgetplugins.com/altplugins/ > altAnswerDateHarness.rev" > > Then save the stack. I just might make a business out of leveraging > Sean's > code! Count this as number 2 ;-) > > -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 > Devin Asay Humanities Technology and Research Support Center Brigham Young University From dcragg at lacscentre.co.uk Mon Aug 7 14:06:20 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 7 Aug 2006 19:06:20 +0100 Subject: Time-outs with HTTPS References: <62D0A648-EC51-46D7-9BB7-02B4A4524BC2@lacscentre.co.uk> Message-ID: <70B87375-5993-49A8-BE67-EED672E6869A@lacscentre.co.uk> Oops. I sent this directly to David by mistake. --------------------------------- David, Mark Looks like it's related to Bugzilla #3639. Cheers Dave From josh at dvcreators.net Mon Aug 7 14:24:46 2006 From: josh at dvcreators.net (Josh Mellicker) Date: Mon, 7 Aug 2006 11:24:46 -0700 Subject: Relational SQL In-Reply-To: <2783652F-E9DF-4836-A1B6-1F8AB50DF291@twft.com> References: <2783652F-E9DF-4836-A1B6-1F8AB50DF291@twft.com> Message-ID: <0BF0FD88-053F-4AFD-92DE-F9B7C6D1218C@dvcreators.net> Sorry for the delayed reply, but I have been writing apps in Rev that execute complex SQL statements, it was fairly easy. If you can describe your situation, we can hopefully be of some help. On Aug 2, 2006, at 2:30 PM, Robert Sneidar wrote: > I am rapidly approaching the point that I will need to access > tables that are relational. Does anyone have any experience doing > this? I am not sure Revolution has any built in methodology for > this, so my guess is I will have to build complex SQL statements > and execute them, or else build in the relationships in the > Database itself. I am used to defining relationships on the fly so > this is new to me. > > Bob Sneidar > IT Manager > Logos Management > Calvary Chapel CM > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Mon Aug 7 14:47:53 2006 From: josh at dvcreators.net (Josh Mellicker) Date: Mon, 7 Aug 2006 11:47:53 -0700 Subject: internal SQL queries In-Reply-To: <44C1329F.000001.03524@MAZYTIS> References: <E07A17D3-DF1F-4EE9-93AC-15F44CB5BE5E@maseurope.net> <44C1329F.000001.03524@MAZYTIS> Message-ID: <9A4C8D9A-6FC6-4030-A5B9-05BC6C032BCE@dvcreators.net> Here is a function I wrote to retrieve data from a table field. All it needs is: whichDataFld - the long name of the data field locatorColumnHeader - assumes the top row is a header row with the column name, this is which column to use to locate the correct row locatorValue - this is the value in the column with the header "locatorColumnHeader" that tells you you have the right row headerOfDataToGet - this is the column containing the data you want FUNCTION getDataFromDataFld whichDataFld,locatorColumnHeader,locatorValue,headerOfDataToGet put the text of whichDataFld into p set itemdel to tab put itemOffset(locatorColumnHeader,p) into locatorColNo put itemOffset(headerOfDataToGet,p) into dataColNo REPEAT with x = 2 to the number of lines of p IF item locatorColNo of line x of p = locatorValue THEN exit REPEAT END REPEAT return item dataColNo of line x of p END getDataFromDataFld So if your table field is: ID name color food 5 Ken blue cheese 7 Jerry green pizza 21 Sarah red sushi you could say put getDataFromDataFld(whichDataFld,ID,7,"food") into tData RESULT: "pizza" What I don't like about this handler is that it must scan every line to find the right row... there must be a faster way to write this, no? On Jul 21, 2006, at 1:01 PM, Viktoras Didziulis wrote: > Dear group, > > is it possible to query [tab] delimited data stored in fields or > containers > within a stack using SQL? e.g. without any external database engine or > database files or connections... > > All the best! > 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 josh at dvcreators.net Mon Aug 7 14:52:32 2006 From: josh at dvcreators.net (Josh Mellicker) Date: Mon, 7 Aug 2006 11:52:32 -0700 Subject: SELECT FROM Db In-Reply-To: <C0F54F2A.3BD98%JimAultWins@yahoo.com> References: <C0F54F2A.3BD98%JimAultWins@yahoo.com> Message-ID: <E04D645B-3CFC-45AD-B7E7-DBBD559FA6A5@dvcreators.net> Jim, I did not know about "[[" & "]]" Brilliant! Thanks! On Aug 1, 2006, at 6:34 PM, Jim Ault wrote: > On 8/1/06 1:48 PM, "Josh Mellicker" <josh at dvcreators.net> wrote: >> I like using "replace()" > > and yet some other readable ways for SQL > --that "do-it-all-in-one-line" > --without using "replace" > -- only one function call, merge() > -- yet remain readable > > ------------------ one line (watch word wrap) > put merge("DELETE FROM [[tmysqltableName]] Where [[tIDcolumnName]] = > '[[tRecordID]]'") into theSQL > > -------------------- or another way = same result (watch word wrap) > put merge("DELETE FROM [[tmysqltableName]] Where [[tIDcolumnName]] = > '[[tRecordID]]'") \ > into theSQL > > -------------------- yet another way = same result > put merge("DELETE FROM [[tmysqltableName]] " & \ > "Where [[tIDcolumnName]] = '[[tRecordID]]'") \ > into theSQL > > -------------------- or another way to get a COMPLEX result > put tRecordID + 1 into tRecordID2 > > put merge("" & \ > "DELETE FROM [[tmysqltableName]] "& \ > "Where ([[tIDcolumnName]] = '[[tRecordID]]' "& \ > "OR [[tIDcolumnName]] = '[[tRecordID-1]]') "& \ > "AND [[tIDcolumnName]] = '[[tRecordID2]]'" & \ > "") into theSQL3 > > > Fun with Rev :-) > > Jim Ault > Las Vegas > > > On 8/1/06 1:48 PM, "Josh Mellicker" <josh at dvcreators.net> wrote: > >> I like using "replace()" >> >> >> I find this very readable and simple to write: >> >> put "DELETE FROM `tmySQLtableName` WHERE `tIDcolumnName` = >> tRecordID" into theSQL >> >> >> then, replacing the placeholders: >> >> replace "tmySQLtableName" with "accounts" in theSQL >> replace "tIDcolumnName" with "accountID" in theSQL >> replace "tRecordID" with q(tRecordID) in theSQL >> >> >> >> here's the actual handler from whence I draw the example: >> >> ON jjSQLdelete tRecordID, tIDcolumnName, tmySQLtableName >> put "DELETE FROM `tmySQLtableName` WHERE `tIDcolumnName` = >> tRecordID" into theSQL >> replace "tmySQLtableName" with tmySQLtableName in theSQL >> replace "tIDcolumnName" with tIDcolumnName in theSQL >> replace "tRecordID" with q(tRecordID) in theSQL >> doThisSQL theSQL >> END jjSQLdelete >> >> >> FUNCTION q a >> return quote & a & quote >> END q >> >> FUNCTION bq a >> return "`" & a & "`" >> END bq >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Aug 7 15:11:17 2006 From: david at openpartnership.net (David Bovill) Date: Mon, 7 Aug 2006 20:11:17 +0100 Subject: Time-outs with HTTPS In-Reply-To: <70B87375-5993-49A8-BE67-EED672E6869A@lacscentre.co.uk> References: <62D0A648-EC51-46D7-9BB7-02B4A4524BC2@lacscentre.co.uk> <70B87375-5993-49A8-BE67-EED672E6869A@lacscentre.co.uk> Message-ID: <c1c5836b0608071211n1a84f601s7df2384334841138@mail.gmail.com> And I thought you cared :) From JimAultWins at yahoo.com Mon Aug 7 15:51:51 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 07 Aug 2006 12:51:51 -0700 Subject: internal SQL queries In-Reply-To: <9A4C8D9A-6FC6-4030-A5B9-05BC6C032BCE@dvcreators.net> Message-ID: <C0FCE7E7.3C00E%JimAultWins@yahoo.com> I would try this approach, although not the only one: --------------- get cr & whichDataFld & tab filter it with ( cr & locatorColNo &tab &"*") -- now you have a list of one line -- this filter pattern will insure only column 1 and -- whole matches between the cr and tab.. -- no need to redo your IDs --the last tab is appended to 'it' since you could have a last line table entry with only an ID and you would want to located it. It is the last line and has empty values, perhaps by mistake. if the number of lines in it > 1 then answer "Multiple IDs found "& (the number of lines in it) return empty else if the number of lines in it = 0 then answer "ID " & locatorColNo & " could not be found" return empty else return item dataColNo of it end if ------------------------------ Jim Ault Las Vegas On 8/7/06 11:47 AM, "Josh Mellicker" <josh at dvcreators.net> wrote: > Here is a function I wrote to retrieve data from a table field. > > All it needs is: > > whichDataFld - the long name of the data field > locatorColumnHeader - assumes the top row is a header row with the > column name, this is which column to use to locate the correct row > locatorValue - this is the value in the column with the header > "locatorColumnHeader" that tells you you have the right row > headerOfDataToGet - this is the column containing the data you want > > > FUNCTION getDataFromDataFld > whichDataFld,locatorColumnHeader,locatorValue,headerOfDataToGet > put the text of whichDataFld into p > set itemdel to tab > put itemOffset(locatorColumnHeader,p) into locatorColNo > put itemOffset(headerOfDataToGet,p) into dataColNo > REPEAT with x = 2 to the number of lines of p > IF item locatorColNo of line x of p = locatorValue THEN exit > REPEAT > END REPEAT > return item dataColNo of line x of p > END getDataFromDataFld > > > > So if your table field is: > > ID name color food > 5 Ken blue cheese > 7 Jerry green pizza > 21 Sarah red sushi > > > you could say > > put getDataFromDataFld(whichDataFld,ID,7,"food") into tData > > RESULT: "pizza" > > > What I don't like about this handler is that it must scan every line > to find the right row... there must be a faster way to write this, no? > > > > > On Jul 21, 2006, at 1:01 PM, Viktoras Didziulis wrote: > >> Dear group, >> >> is it possible to query [tab] delimited data stored in fields or >> containers >> within a stack using SQL? e.g. without any external database engine or >> database files or connections... >> >> All the best! >> 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 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From tkuypers at dmp-int.com Mon Aug 7 16:16:21 2006 From: tkuypers at dmp-int.com (Ton Kuypers) Date: Mon, 7 Aug 2006 22:16:21 +0200 Subject: Object Library In-Reply-To: <BD4A17FC-AC2F-4688-AB7C-60062E38C74E@economy-x-talk.com> References: <BD4A17FC-AC2F-4688-AB7C-60062E38C74E@economy-x-talk.com> Message-ID: <C98150B1-2509-4E11-BFFC-177F35753943@dmp-int.com> COOL!!! I posted a question about this a while ago as well and I didn't get an answer to this... I moved the the stack "revdefaultlibrary.rev" to the location you stated below and now it works... Thanks! It must be a glitch in the 2.7 installer, but now I don't mind anymore ;-) Warm regards, Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com On 5-aug-06, at 18:11, Mark Schonewille wrote: > Hi, > > Has the question quoted below ever been answered? I seem to > remember to have seen this question, about where the Object Library > went, pop up a few times. > > I took the stack revdefaultlibrary.rev, which resides in the folder > ~/revolution xyz/components/save/userobjects/ and put this folder > into ~/documents/my revolution/resources/object libraries/. If I > open the Objects library in 2.7.2 now, all objects are available > again. > > I assume that this is just a glitch in the new installer. > > Best regards, > > Mark > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Download ErrorLib at http://economy-x-talk.com/developers.html and > get full control of error handling in Revolution. > > >> Gregory Lypny gregory.lypny at videotron.ca >> Wed Mar 15 12:01:12 CST 2006 >> >> >> My apologies if I missed this in a previous post, but where's the >> Object library in the new version of Revolution? When I click on >> Object Library under the Development menu, I get the Library stack >> and an empty field under the Object tab where those nifty objects >> used to be in previous versions. >> >> Greg >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bobs at twft.com Mon Aug 7 18:41:06 2006 From: bobs at twft.com (Robert Sneidar) Date: Mon, 7 Aug 2006 15:41:06 -0700 Subject: Codebase Database API Message-ID: <D4B4E3D5-5219-4860-A249-E1D3B597C386@twft.com> Has anyone (who knows how to write C++ API's for Revolution) had a look at Codebase? http://www.codebase.com/ It's a database backend that works with xBase tables and indexes. It seems that while SQL is good for quite a lot of data storage needs, it is inadequate for anything requiring the perusing of disk based databases directly in a multiuser environment. The xBase engine was ideal for this. I would consider investing in an API that could allow me to open, sort, seek and create on the fly relations for disk based xBase tables. It would save me a ton of work on my porting project. Feel free to contact me off list. Bob Sneidar IT Manager Logos Management Calvary Chapel CM From sunshine at public.kherson.ua Mon Aug 7 18:50:17 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue, 08 Aug 2006 01:50:17 +0300 Subject: Codebase Database API In-Reply-To: <D4B4E3D5-5219-4860-A249-E1D3B597C386@twft.com> Message-ID: <C0FD9E59.5BD03%sunshine@public.kherson.ua> On 8/8/06 1:41 AM, "Robert Sneidar" <bobs at twft.com> wrote: Hi Robert, > Has anyone (who knows how to write C++ API's for Revolution) had a > look at Codebase? http://www.codebase.com/ I did :-) > It's a database backend that works with xBase tables and indexes. It > seems that while SQL is good for quite a lot of data storage needs, > it is inadequate for anything requiring the perusing of disk based > databases directly in a multiuser environment. Do you mean shared access to db files? Actually SQL or non-SQL API do not matter here. > The xBase engine was ideal for this. For what? Shared access? > I would consider investing in an API that could allow > me to open, sort, seek and create on the fly relations for disk based > xBase tables. It would save me a ton of work on my porting project. > Feel free to contact me off list. -- 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 dsc at swcp.com Mon Aug 7 20:06:16 2006 From: dsc at swcp.com (Dar Scott) Date: Mon, 7 Aug 2006 18:06:16 -0600 Subject: HTML Tag Cleaner Fails In-Reply-To: <76FCC001-3C23-470D-93D0-767DFE1207D7@economy-x-talk.com> References: <44D6674A.5000600@hindu.org> <70ed6b130608062253k38f7f95i1af4955130c2c7b7@mail.gmail.com> <404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com> <70ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com> <76FCC001-3C23-470D-93D0-767DFE1207D7@economy-x-talk.com> Message-ID: <4970B64B-1935-4478-B3EE-81FA8D179D80@swcp.com> On Aug 7, 2006, at 2:27 AM, Mark Schonewille wrote: > No, it is what I expect. My internet browser behaves exactly the same. Actually, Dan is right. It is bizarre! My word processor doesn't do it. My calculator doesn't do it. The IP address field in preferences doesn't do it. A Revolution field is not a browser and it is not even an HTML displayer. It has a simple html-like markup view that covers the capabilities of of the field. Though it is similar to HTML, htmlText doesn't even attempt to be like HTML even in little things like representing whitespace. The title is way outside the scope of what htmlText does. Stripping <title> and not <foo> is bizarre. It might be a clue that htmlText will become closer to HTML, but I suspect it is an ancient artifact. Dar Scott From lfredricks at proactive-intl.com Mon Aug 7 20:25:34 2006 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 7 Aug 2006 17:25:34 -0700 Subject: Paradigma Software Releases Universal Binary Valentina 2.4 for Revolution Message-ID: <001c01c6ba81$2e631230$6401a8c0@lynn> Paradigma Software Releases Universal Binary Valentina 2.4 for Revolution NEW COMMUNICATION PROTOCOL, UNIVERAL BINARY SERVER Beaverton, Oregon-based Paradigma Software, Inc announces the immediate availability of Valentina 2.4, including Valentina Office Server for MacOS X Universal Binary edition and all developer tools for MacOS X and Windows, including Valentina 2.4 for Revolution - which incorporates a universal binary version for the Mac-on-Intel platform. Valentina 2's next generation, object-relational database model builds on the traditional relational database model much like C++ builds on top of the C language. All that you know from working with traditional database systems from IBM, Oracle and Microsoft also apply to Valentina-based development. This robust technology excels at ultra fast management of millions of records. Valentina 2 Application Developer Kits provide software developers with the incredibly fast and robust Valentina 2 database engine for royalty free incorporation into their desktop applications. Valentina technology includes support for Valentina XML import/export, Valentina SQL (SQL 92 + extensions), native Unicode UTF-16 support, simultaneous data exchange, transparent file formats, and more. ADK Pro versions include both Mac OS X and Windows runtimes as well as a copy of the database setup, browser and server administration tool, Valentina Studio. Valentina Studio is available on Windows and MacOS X (including a universal binary version). Valentina release 2.4 has undergone extensive internal and community testing in order to provide developers and business with a highly secure and stable database platform. Two Valentina-based products have received dramatic improvements: Valentina 2.4 Office Server Universal Binary Edition. The universal binary edition of the server has been available for developer deployment since May, 2006. Valentina Office Server is the fastest database server on the Mac-on-Intel platform for reliably and efficiently handling millions of database records. Valentina for Revolution Universal Binary Edition. Both the single connection and Embedded Server for developing standalone and client-server applications are in Universal Binary format, allowing a combination of Universal Binary Runtime Revolution and Valentina to be the first, complete developer tool kit for creating business solutions for the Mac-on-Intel platform. Valentina for Revolution 2.4 also includes the following new features in addition to Universal Binary support on MacOS X: * A new installer stack example for handling the installation of the Valentina external * Improvements in addressing the external object * Native support for RevDB API and a method for bridging between RevDB and native Valentina API. All Valentina 2.4 products also gained the following benefits and improvements: * Packet Based Communication Protocol. Valentina 2.4 introduces a new packet based protocol that allows better separation of commands, data-compression and more. * Breakthrough Speed Advancement in Re-indexing Algorithms. New methods allow re-indexing of numeric fields at much greater speeds for fields equal or smaller than 4 bytes: Byte, Short, Ushort, Medium, Medium, Long, ULong, Float, Date, Time. The disk space for these indexes has been cut in half. * VLink2.LinkRecords Call. Allows connecting fields in two different tables with a single command. * VConnection Class. All Valentina 2.4 ADKs support this unified, simpler method for establishing connections to Valentina databases. This improves over the previous constructor method. * Table Properties: VTable.IndexChanges as Integer" property in all Valentina 2.4 ADKs. * Table Properties: VTable.MaxRecordCount as Integer" property in all Valentina 2.4 ADKs. Because of the internal changes in Valentina 2.4, Paradigma is introducing a new Valentina 2.4 database format. Valentina 2.4 is a free upgrade for current users of Valentina 2.x products. All new features have been documented on the company wiki. For more information, visit the Paradigma Software website at http://www.paradigmasoft.com. 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. Contact Paradigma Software Ph. (503) 574-2776 http://www.paradigmasoft.com From wjm at wjm.org Tue Aug 8 06:56:52 2006 From: wjm at wjm.org (Bill Marriott) Date: Tue, 8 Aug 2006 06:56:52 -0400 Subject: HTML Tag Cleaner Fails References: <44D6674A.5000600@hindu.org><70ed6b130608062253k38f7f95i1af4955130c2c7b7@mail.gmail.com><404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com><70ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com><76FCC001-3C23-470D-93D0-767DFE1207D7@economy-x-talk.com> <4970B64B-1935-4478-B3EE-81FA8D179D80@swcp.com> Message-ID: <eb9qn5$ijv$1@sea.gmane.org> Except that <title> has a defined, special meaning that Rev knows about -- which is to specify the title of a document -- and that is by definition distinct from the content. The <foo> tag however, is undefined. I believe that it's appropriate to "strip" out the information between title tags and to preserve the information between "foo" tags. By reference, see: http://www.w3.org/MarkUp/html3/HTMLandSGML.html "The behavior of WWW applications reading HTML documents and discovering tag or attribute names which they do not understand should be to behave as though, in the case of a tag, the whole tag had not been there but its content had, or in the case of an attribute, that the attribute had not been present." In this case, Rev "understands" the title tag, and correctly does not include it in the content. It does not understand the "foo" tag and therefore renders it as if the tag were not there. Dar Scott wrote: > On Aug 7, 2006, at 2:27 AM, Mark Schonewille wrote: > >> No, it is what I expect. My internet browser behaves exactly the same. > > Actually, Dan is right. It is bizarre! > > My word processor doesn't do it. My calculator doesn't do it. The IP > address field in preferences doesn't do it. > > A Revolution field is not a browser and it is not even an HTML displayer. > It has a simple html-like markup view that covers the capabilities of of > the field. Though it is similar to HTML, htmlText doesn't even attempt > to be like HTML even in little things like representing whitespace. > > The title is way outside the scope of what htmlText does. > > Stripping <title> and not <foo> is bizarre. > > It might be a clue that htmlText will become closer to HTML, but I > suspect it is an ancient artifact. From m.schonewille at economy-x-talk.com Tue Aug 8 07:22:53 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 8 Aug 2006 13:22:53 +0200 Subject: HTML Tag Cleaner Fails In-Reply-To: <eb9qn5$ijv$1@sea.gmane.org> References: <44D6674A.5000600@hindu.org><70ed6b130608062253k38f7f95i1af4955130c2c7b7@mail.gmail.com><404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com><70ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com><76FCC001-3C23-470D-93D0-767DFE1207D7@economy-x-talk.com> <4970B64B-1935-4478-B3EE-81FA8D179D80@swcp.com> <eb9qn5$ijv$1@sea.gmane.org> Message-ID: <A9E90682-3127-425F-8391-D31DD4057EE6@economy-x-talk.com> Exactly, Bill. Nothing bizarre about it. Thank you for looking up the reference. In reply to Dar's list of applications that do or don't: Apple's TextEdit application behaves exactly like Revolution fields in this respect. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 8-aug-2006, om 12:56 heeft Bill Marriott het volgende geschreven: > Except that <title> has a defined, special meaning that Rev knows > about -- > which is to specify the title of a document -- and that is by > definition > distinct from the content. The <foo> tag however, is undefined. > > I believe that it's appropriate to "strip" out the information > between title > tags and to preserve the information between "foo" tags. > > By reference, see: > > http://www.w3.org/MarkUp/html3/HTMLandSGML.html > > "The behavior of WWW applications reading HTML documents and > discovering tag > or attribute names which they do not understand should be to behave as > though, in the case of a tag, the whole tag had not been there but its > content had, or in the case of an attribute, that the attribute had > not been > present." > > In this case, Rev "understands" the title tag, and correctly does not > include it in the content. It does not understand the "foo" tag and > therefore renders it as if the tag were not there. > > > Dar Scott wrote: >> >> Actually, Dan is right. It is bizarre! >> >> My word processor doesn't do it. My calculator doesn't do it. >> The IP >> address field in preferences doesn't do it. >> >> A Revolution field is not a browser and it is not even an HTML >> displayer. >> It has a simple html-like markup view that covers the >> capabilities of of >> the field. Though it is similar to HTML, htmlText doesn't even >> attempt >> to be like HTML even in little things like representing whitespace. >> >> The title is way outside the scope of what htmlText does. >> >> Stripping <title> and not <foo> is bizarre. >> >> It might be a clue that htmlText will become closer to HTML, but I >> suspect it is an ancient artifact. > > From sakari.ruoho at academica.com Tue Aug 8 07:36:46 2006 From: sakari.ruoho at academica.com (Sakari) Date: Tue, 8 Aug 2006 14:36:46 +0300 Subject: Purchasing Valentina Message-ID: <000d01c6bade$eddf0580$1100000a@NeoFIHKIWRK03> If there's someone who has bought Valentina, could you help me please? I've been planning to buy Valentina for Revolution, but there's a few obstacles I've come by, so I'm asking here if you don't mind. First thing I came across is the website Valentina or the Paradigma Software has. It is absolutely weak. Won't go into details, but when I go to website with this kind of quality I start to wonder if the product itself is same quality. I wanted to ask someone in Paradigma if I would get registration key after ordering the product and there's not a single e-mail I could forward my problem. I'm still planning to buy the product, but really can't do that before I get answers to these questions. Sakari Ruoho Programmer Academica Information Oy From sunshine at public.kherson.ua Tue Aug 8 07:54:45 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue, 08 Aug 2006 14:54:45 +0300 Subject: Purchasing Valentina In-Reply-To: <000d01c6bade$eddf0580$1100000a@NeoFIHKIWRK03> Message-ID: <C0FE5635.5BDAA%sunshine@public.kherson.ua> On 8/8/06 2:36 PM, "Sakari" <sakari.ruoho at academica.com> wrote: Hi Sakari, > If there's someone who has bought Valentina, could you help me please? > I've been planning to buy Valentina for Revolution, but there's a few > obstacles I've come by, so I'm asking here if you don't mind. > First thing I came across is the website Valentina or the Paradigma Software > has. It is absolutely weak. Won't go into details, but when I go to website > with this kind of quality I start to wonder if the product itself is same > quality. What you mean with weak ? > I wanted to ask someone in Paradigma if I would get registration key after > ordering the product and there's not a single e-mail I could forward my > problem. We do not provide emails on site to avoid spam. Right Lynn? We give on support pages ways to subscribe to Valentina main list and/or beta list > I'm still planning to buy the product, but really can't do that before I get > answers to these questions. You can ask me any tech issues, And you can ask Lynn any license issues. And you can ask any other question on Valentina lists. -- 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 dcragg at lacscentre.co.uk Tue Aug 8 08:05:58 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 8 Aug 2006 13:05:58 +0100 Subject: Purchasing Valentina In-Reply-To: <000d01c6bade$eddf0580$1100000a@NeoFIHKIWRK03> References: <000d01c6bade$eddf0580$1100000a@NeoFIHKIWRK03> Message-ID: <62E10C33-ADB9-47C8-B4A8-447D8AAC13F3@lacscentre.co.uk> On 8 Aug 2006, at 12:36, Sakari wrote: > If there's someone who has bought Valentina, could you help me please? > > I've been planning to buy Valentina for Revolution, but there's a few > obstacles I've come by, so I'm asking here if you don't mind. > > First thing I came across is the website Valentina or the Paradigma > Software > has. It is absolutely weak. Won't go into details, but when I go to > website > with this kind of quality I start to wonder if the product itself > is same > quality. > > I wanted to ask someone in Paradigma if I would get registration > key after > ordering the product and there's not a single e-mail I could > forward my > problem. > > I'm still planning to buy the product, but really can't do that > before I get > answers to these questions. I recently purchased a license. The response (with all registration keys) was extremely fast. I noticed that Ruslan has responded to your mail already. He responds with the same speed (or faster) to technical queries too. You'll be amazed. Cheers Dave From zax at tripoy.com Tue Aug 8 09:46:15 2006 From: zax at tripoy.com (Zax) Date: Tue, 08 Aug 2006 15:46:15 +0200 Subject: Droplet app with AppleEvent Message-ID: <C0FE6247.3951%zax@tripoy.com> [sorry if I made double-post, I encountered mail problems] Hello, I would like my app made with Revolution 2.51 to react like a droplet when dropping files or folders on the app icon. I set "****" as file type and it's ok: dropping something on my app icon launches my app. For testing purpose, I wrote this code in my main stack: on appleEvent eClass,eID,eSender request appleEvent data answer eClass & return & "id =" && eID & return & "sender =" && eSender & return & "data =" && quote & it & quote pass appleEvent end appleEvent Everything is OK when I drop something onto the app icon *and* my app is *already opened*. In this case, "it" contains needed data. But when I drop something onto the app icon *and* my app is *not opened*, then my app is launched but no AppleEvent is sended :( Maybe because the app is not loaded, so it can't receive the AppleEvent? So, can somebody help me? A droplet must work even the app is not launched, otherwise it's not really a droplet! Do I have to add something in my "openstack" handler? Or maybe add a "startup" handler with some special code in it? Thanks in advance. -- Zax From m.schonewille at economy-x-talk.com Tue Aug 8 10:06:48 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 8 Aug 2006 16:06:48 +0200 Subject: Droplet app with AppleEvent In-Reply-To: <C0FE6247.3951%zax@tripoy.com> References: <C0FE6247.3951%zax@tripoy.com> Message-ID: <FE6C2E17-3E4E-4083-9025-967CDC2F2A2A@economy-x-talk.com> Hi Zax, Maybe, the answer dialog is not available yet. What happens if you try the following in the mainstack of a standalone? on appleEvent beep end appleEvent If you don't hear a beep, it looks (sounds) like a bug. I don't remember seeing this bug in later versions, you might want to download a trial version and try building your application with the latest version. If above script works, you can try the following: on appleEvent eClass,eID,eSender request appleEvent data put eClass & return & "id =" && eID & return & "sender =" && eSender & ? return & "data =" && quote & it & quote into myEventData send "showEventData myEventData" to me in 10 millisecs end appleEvent on showEventData theData answer theData end showEventData Note that this is just a long shot. I'd have to try myself to be sure about this. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 8-aug-2006, om 15:46 heeft Zax het volgende geschreven: > [sorry if I made double-post, I encountered mail problems] > > Hello, > > I would like my app made with Revolution 2.51 to react like a > droplet when > dropping files or folders on the app icon. > I set "****" as file type and it's ok: dropping something on my app > icon > launches my app. > > For testing purpose, I wrote this code in my main stack: > > on appleEvent eClass,eID,eSender > request appleEvent data > answer eClass & return & "id =" && eID & return & "sender =" && > eSender & > return & "data =" && quote & it & quote > pass appleEvent > end appleEvent > > Everything is OK when I drop something onto the app icon *and* my > app is > *already opened*. In this case, "it" contains needed data. > But when I drop something onto the app icon *and* my app is *not > opened*, > then my app is launched but no AppleEvent is sended :( > Maybe because the app is not loaded, so it can't receive the > AppleEvent? > > So, can somebody help me? A droplet must work even the app is not > launched, > otherwise it's not really a droplet! Do I have to add something in my > "openstack" handler? Or maybe add a "startup" handler with some > special code > in it? > > Thanks in advance. > > -- > Zax From JimAultWins at yahoo.com Tue Aug 8 10:18:23 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 08 Aug 2006 07:18:23 -0700 Subject: Droplet app with AppleEvent In-Reply-To: <C0FE6247.3951%zax@tripoy.com> Message-ID: <C0FDEB3F.3C068%JimAultWins@yahoo.com> This is just a shot to help you quickly, but you might try to add the repeating test MyAppName is among the processes If true, it is now up and running. Don't the exact way of doing this, but hopefully this helps to with the timing. Jim Ault Las Vegas On 8/8/06 6:46 AM, "Zax" <zax at tripoy.com> wrote: > [sorry if I made double-post, I encountered mail problems] > > Hello, > > I would like my app made with Revolution 2.51 to react like a droplet when > dropping files or folders on the app icon. > I set "****" as file type and it's ok: dropping something on my app icon > launches my app. > > For testing purpose, I wrote this code in my main stack: > > on appleEvent eClass,eID,eSender > request appleEvent data > answer eClass & return & "id =" && eID & return & "sender =" && eSender & > return & "data =" && quote & it & quote > pass appleEvent > end appleEvent > > Everything is OK when I drop something onto the app icon *and* my app is > *already opened*. In this case, "it" contains needed data. > But when I drop something onto the app icon *and* my app is *not opened*, > then my app is launched but no AppleEvent is sended :( > Maybe because the app is not loaded, so it can't receive the AppleEvent? > > So, can somebody help me? A droplet must work even the app is not launched, > otherwise it's not really a droplet! Do I have to add something in my > "openstack" handler? Or maybe add a "startup" handler with some special code > in it? > > Thanks in advance. From iangmcknight at googlemail.com Tue Aug 8 10:24:31 2006 From: iangmcknight at googlemail.com (Ian McKnight) Date: Tue, 8 Aug 2006 15:24:31 +0100 Subject: Problems using Send and Functions with 2 parameters Message-ID: <c935444f0608080724j6d4a803cx40ad902ebc2c6b1a@mail.gmail.com> Hi I have a function 'randonTime' which accepts two parameters, the first specifies whether a time should be in 5, 10 15 etc minute intervals, the second specifies 12 or 24 hour clock and returns a valid time in the form hh:mm. With the function handler in the same script as the calling handler ( a button) get randomTime(5,2) put the result works as expected. -- 12:45 6:15 21:55 19:25 etc However, when the function is placed in a group on the same card send "get randomTime(5,2)" to group "analogClock" put the result only the minutes are return. -- :45 :15 :55 :25 The second parameter is ignored so the fuinction doesn't create an hour. Can anyone shed some light on this please? I could keep the function and calling handler together but would prefer to have all important scripts in one place. Thanks. -- Regards Ian ======================= Ian McKnight iangmcknight at googlemail.com ======================= From RGould8 at aol.com Tue Aug 8 11:50:51 2006 From: RGould8 at aol.com (RGould8 at aol.com) Date: Tue, 8 Aug 2006 11:50:51 EDT Subject: Rev app to pull data from Amazon Message-ID: <377.7e8b32a.320a0cdb@aol.com> Dan, Well, I have followed the instructions and have put the PERL script on my web-server like the Amazon API instructions say: #!/usr/local/bin/perl -w # This program shows how to use LWP::Simple to make an Amazon Web # Services (AWS) REST request, and how to process the response with # XML::XPath. use strict; use LWP::Simple qw($ua get); use XML::XPath; # Retrieve command line arguments and combine them with escaped space characters. die "Usage: $0 <space-separated list of keywords>\n" unless @ARGV; my $keywords = join "%20", @ARGV; # Define parts of the REST request. my $baseurl = "http://webservices.amazon.com/onca/xml"; my $service = "AWSECommerceService"; my $accesskey = "<mylicensekeycode>"; my $operation = "ItemSearch"; my $searchindex = "Books"; my $responsegroup = "Request,Small"; my $version = "2005-10-13"; # Assemble the REST request URL. my $request = "$baseurl?" . "Service=$service&" . "AWSAccessKeyId=$accesskey&" . "Operation=$operation&" . "Keywords=$keywords&" . "SearchIndex=$searchindex&" . "ResponseGroup=$responsegroup&" . "Version=$version" ; # Send the request using HTTP GET. my $ua = new LWP::UserAgent; $ua->timeout(30); my $response = get($request); # Process XML response with XPath. my $xp = XML::XPath->new(xml => $response); if ( $xp->find("//Error") ) { print "There was an error processing your request:\n", " Error code: ", $xp->findvalue("//Error/Code"), "\n", " ", $xp->findvalue("//Error/Message"), "\n\n"; } else { for (my $i = 1; $i <= 10; $i++) { if ( ! $xp->find("/ItemSearchResponse/Items/Item[$i]") ) { last; } my @authors; for (my $j = 1; $j <= $xp-> findvalue("count(/ItemSearchResponse/Items/Item[$i]/ItemAttributes/Author)"); $j++) { push @authors, $xp-> findvalue("/ItemSearchResponse/Items/Item[$i]/ItemAttributes/Author[$j]"); } print "Title: ", $xp-> findvalue("/ItemSearchResponse/Items/Item[$i]/ItemAttributes/Title"), "\n", "Author: ", join(", ", @authors), "\n", "ASIN: ", $xp->findvalue("/ItemSearchResponse/Items/Item[$i]/ASIN"), "\n\n"; } } The part I'm having trouble with is how to get Revolution to talk to this PERL script and pass data to it. I try things like: put URL "www.mywebserver.com/itemsearch_rest.pl?Elvis" into databack but I get this error back: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster at librarytools.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. I'm wondering if perhaps the ?Elvis part isn't really what the PERL script is expecting for a parameter. Do you know if there's another way to pass parameters to that PERL script? My ISP doesn't give me SSH Telnet capability, so I need to pass/receive data via URLs. In a message dated 8/3/06 6:13:51 PM, revolutionary.dan at gmail.com writes: > I've done a bit of work in this area but nothing ambitious. But I can > answer > your other question below. Yes, you do need a developer account. > > On 8/3/06, RGould8 at aol.com <RGould8 at aol.com> wrote: > > > > Do I need to get one > > of the Amazon security-service certificates in order to do 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 > > > > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Information Product Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > >From http://www.shafermediastore.com/tech_main.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 Aug 8 11:55:54 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 8 Aug 2006 17:55:54 +0200 Subject: Rev app to pull data from Amazon In-Reply-To: <377.7e8b32a.320a0cdb@aol.com> References: <377.7e8b32a.320a0cdb@aol.com> Message-ID: <4FF43132-00FB-4B77-8DEA-6145A3DC5AB6@economy-x-talk.com> RGould8, Are you sure you have set the permissions of the script to 755, i.e. correct execution rights, and does the script have line endings compatible with the operating system it is running on? Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 8-aug-2006, om 17:50 heeft RGould8 at aol.com het volgende geschreven: > Dan, > > Well, I have followed the instructions and have put the PERL > script on > my web-server like the Amazon API instructions say: > <snip script> > > The part I'm having trouble with is how to get Revolution to talk > to this > PERL script and pass data to it. I try things like: > > put URL "www.mywebserver.com/itemsearch_rest.pl?Elvis" into databack > > > but I get this error back: > > Internal Server Error > The server encountered an internal error or misconfiguration and > was unable > to complete your request. > Please contact the server administrator, webmaster at librarytools.com > and > inform them of the time the error occurred, and anything you might > have done that > may have caused the error. > More information about this error may be available in the server > error log. > > Additionally, a 404 Not Found error was encountered while trying to > use an > ErrorDocument to handle the request. From JimAultWins at yahoo.com Tue Aug 8 13:11:45 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 08 Aug 2006 10:11:45 -0700 Subject: Problems using Send and Functions with 2 parameters In-Reply-To: <c935444f0608080724j6d4a803cx40ad902ebc2c6b1a@mail.gmail.com> Message-ID: <C0FE13E1.3C083%JimAultWins@yahoo.com> On 8/8/06 7:24 AM, "Ian McKnight" <iangmcknight at googlemail.com> wrote: > Can anyone shed some light on this please? > I could keep the function and calling handler together but would > prefer to have all important scripts in one place. why are you sending "get randomTim(5,2)" instead of "randomTime(5,2)" I am not sure what you expect the group script container to do. Jim Ault Las Vegas On 8/8/06 7:24 AM, "Ian McKnight" <iangmcknight at googlemail.com> wrote: > Hi > > I have a function 'randonTime' which accepts two parameters, the first > specifies whether a time should be in 5, 10 15 etc minute intervals, > the second specifies 12 or 24 hour clock and returns a valid time in > the form hh:mm. > > With the function handler in the same script as the calling handler ( a > button) > > get randomTime(5,2) > put the result > > works as expected. -- 12:45 6:15 21:55 19:25 etc > > However, when the function is placed in a group on the same card > > send "get randomTime(5,2)" to group "analogClock" > put the result > > only the minutes are return. -- :45 :15 :55 :25 > > The second parameter is ignored so the fuinction doesn't create an hour. > > Can anyone shed some light on this please? > I could keep the function and calling handler together but would > prefer to have all important scripts in one place. > > Thanks. From dsc at swcp.com Tue Aug 8 14:45:40 2006 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2006 12:45:40 -0600 Subject: HTML Tag Cleaner Fails In-Reply-To: <eb9qn5$ijv$1@sea.gmane.org> References: <44D6674A.5000600@hindu.org><70ed6b130608062253k38f7f95i1af4955130c2c7b7@mail.gmail.com><404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com><70ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com><76FCC001-3C23-470D-93D0-767DFE1207D7@economy-x-talk.com> <4970B64B-1935-4478-B3EE-81FA8D179D80@swcp.com> <eb9qn5$ijv$1@sea.gmane.org> Message-ID: <0D19BAAA-FFA5-495E-8458-CEB1C8F25A85@swcp.com> On Aug 8, 2006, at 4:56 AM, Bill Marriott wrote: > Except that <title> has a defined, special meaning that Rev knows > about -- > which is to specify the title of a document -- and that is by > definition > distinct from the content. The <foo> tag however, is undefined. > > I believe that it's appropriate to "strip" out the information > between title > tags and to preserve the information between "foo" tags. > > By reference, see: > > http://www.w3.org/MarkUp/html3/HTMLandSGML.html That is an HTML document. You are assuming that a field and htmlText has something to do with HTML. What do you base this assumption on? It is clear that htmlText is a view that is html-like. There is no reason to expect it to process HTML when it is dumped into the property. (Now, I do think htmlText when retrieved might be closer to HTML, such as the handling of white space, but that is a different issue. Maybe it is even possible for retrieved htmlText to closely render in HTML.) There is no reason to expect a field to process HTML when it is dumped into the field's htmlText property. Stripping <title> is bizarre. Dar Scott From shaosean at hotmail.com Tue Aug 8 15:01:10 2006 From: shaosean at hotmail.com (Sean Shao) Date: Tue, 08 Aug 2006 15:01:10 -0400 Subject: Problems using Send and Functions with 2 parameters In-Reply-To: <20060808170005.31B88824A24@mail.runrev.com> Message-ID: <BAY105-F14CE2D1734A5809C35AC70C3540@phx.gbl> Take a look at the "value" function, it's like "send" for functions :-) put value("randomTime(5,2)", group "analogClock") _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From Roger.E.Eller at sealedair.com Tue Aug 8 15:18:03 2006 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Tue, 8 Aug 2006 15:18:03 -0400 Subject: HTML Tag Cleaner Fails Message-ID: <OF4ABB63AF.F58EC07D-ON852571C4.00696889@sealedair.com> Dar Scott wrote: > You are assuming that a field and htmlText has something to do with > HTML. > > What do you base this assumption on? > > It is clear that htmlText is a view that is html-like. There is no > reason to expect it to process HTML when it is dumped into the property. I think that RunTime made a bad choice in naming that property "htmlText". If it was never intended to render the full html spec, then it should have been named something like "taggedText". There would be no assumption that a property named "taggedText" would render html pages. That's my two cents. Roger Eller <roger.e.eller at sealedair.com> From dsc at swcp.com Tue Aug 8 15:16:08 2006 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2006 13:16:08 -0600 Subject: Problems using Send and Functions with 2 parameters In-Reply-To: <c935444f0608080724j6d4a803cx40ad902ebc2c6b1a@mail.gmail.com> References: <c935444f0608080724j6d4a803cx40ad902ebc2c6b1a@mail.gmail.com> Message-ID: <DDD977F1-FAE8-49CD-85B4-A1EBF92DED53@swcp.com> On Aug 8, 2006, at 8:24 AM, Ian McKnight wrote: > get randomTime(5,2) > put the result > send "get randomTime(5,2)" to group "analogClock" > put the result It seems Rev has a limited compiler when it comes to 'send'. I'm not even sure what the meaning of 'get' would be in the above situation. Your best bet would be to go with something more traditional. First decide whether you want a function or a custom command. For a function you would do this: put randomTime(5,2) -- or get randomTime(5,2) put it (You might be able to use value() to eval in the group, but that is to distracting for this email.) For a custom command (made with 'on') you would do this: randomTime 5,2 -- No Parens! put the result send "randomTime 5,2" to group "analogClock" put the result -- will not work with 'in time' Normally, 'the result' is used for errors, but it doesn't have to be. It is a handy way to get results from objects you send to. You can also return values with globals or with getProp. The description of the function sounds like something that should be a function, so I'd wonder why it isn't in the message path of the object that needed it. If it is used by a control in the group, then the group is in the message path. Dar Scott From gefisher at mac.com Tue Aug 8 15:17:59 2006 From: gefisher at mac.com (Glenn E. Fisher) Date: Tue, 8 Aug 2006 14:17:59 -0500 Subject: An:New stacks uploaded to Rev Online Message-ID: <FCAE606D-7EB3-44B6-A915-4A02EDEDDA7E@mac.com> All, I have uploaded two stacks to Rev OnLine for your inspection. Catagory Stack Utilities FileUtility Games WarOfRoses The FileUtility stack allows for you to develop tools to be attached together in a layout that can operate on files in folders on your disks. It's pretty simple now but has a future. The Game is an educational and historical simulation of the War of the Roses of 15th century England. Enjoy, Glenn -- Glenn E. Fisher University of Houston - Retired 22402 Diane Dr. Spring, Tx 77373 gefisher at mac.com http://www.uh.edu/~fisher http://home.houston.rr.com/thegefishers/ http://homepage.mac.com/gefisher From pevensen at siboneylg.com Tue Aug 8 15:19:50 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Tue, 08 Aug 2006 14:19:50 -0500 Subject: HTML Tag Cleaner Fails In-Reply-To: <0D19BAAA-FFA5-495E-8458-CEB1C8F25A85@swcp.com> References: <44D6674A.5000600@hindu.org> <70ed6b130608062253k38f7f95i1af4955130c2c7b7@mail.gmail.com> <404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com> <70ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com> <76FCC001-3C23-470D-93D0-767DFE1207D7@economy-x-talk.com> <4970B64B-1935-4478-B3EE-81FA8D179D80@swcp.com> <eb9qn5$ijv$1@sea.gmane.org> <0D19BAAA-FFA5-495E-8458-CEB1C8F25A85@swcp.com> Message-ID: <6.2.1.2.2.20060808141314.0ef41eb0@exchange.slg.com> Unless I misunderstand what you are saying, setting the htmlText of a field *should* process the (Revolution-supported) HTML in the text, otherwise setting the htmlText of a field would not be useful. The whole point is being able to use the supported html tags to mark up text and then have it displayed properly in a field. If you look at the documentation entry for htmlText, it is clear that this is exactly what this property is intended to do. If you are saying it shouldn't process unsupported HTML tags, that is something different. I'm not sure what it's behavior is. I use htmlText in a project to strip out html by setting the htmlText of a hidden field and then getting the text of that field (instead of htmlText). This neatly strips out the tags. I am, however, only using the Revolution-supported tags in my text. I don't know why it is striping out text between the <title> tags. At 01:45 PM 8/8/2006, you wrote: >On Aug 8, 2006, at 4:56 AM, Bill Marriott wrote: > >>Except that <title> has a defined, special meaning that Rev knows >>about -- >>which is to specify the title of a document -- and that is by >>definition >>distinct from the content. The <foo> tag however, is undefined. >> >>I believe that it's appropriate to "strip" out the information >>between title >>tags and to preserve the information between "foo" tags. >> >>By reference, see: >> >>http://www.w3.org/MarkUp/html3/HTMLandSGML.html > >That is an HTML document. > >You are assuming that a field and htmlText has something to do with >HTML. > >What do you base this assumption on? > >It is clear that htmlText is a view that is html-like. There is no >reason to expect it to process HTML when it is dumped into the property. > >(Now, I do think htmlText when retrieved might be closer to HTML, >such as the handling of white space, but that is a different issue. >Maybe it is even possible for retrieved htmlText to closely render in >HTML.) > >There is no reason to expect a field to process HTML when it is >dumped into the field's htmlText property. > >Stripping <title> is bizarre. > >Dar Scott >_______________________________________________ >use-revolution mailing list >use-revolution 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 mfstuart at cox.net Tue Aug 8 15:33:17 2006 From: mfstuart at cox.net (mfstuart) Date: Tue, 8 Aug 2006 12:33:17 -0700 (PDT) Subject: Codebase Database API In-Reply-To: <D4B4E3D5-5219-4860-A249-E1D3B597C386@twft.com> References: <D4B4E3D5-5219-4860-A249-E1D3B597C386@twft.com> Message-ID: <5713445.post@talk.nabble.com> Bob, would the ODBC connection work for you here? Mark -- View this message in context: http://www.nabble.com/Codebase-Database-API-tf2069423.html#a5713445 Sent from the Revolution - User forum at Nabble.com. From josh at dvcreators.net Tue Aug 8 16:34:50 2006 From: josh at dvcreators.net (Josh Mellicker) Date: Tue, 8 Aug 2006 13:34:50 -0700 Subject: internal SQL queries In-Reply-To: <C0FCE7E7.3C00E%JimAultWins@yahoo.com> References: <C0FCE7E7.3C00E%JimAultWins@yahoo.com> Message-ID: <5CF10F44-44C6-4D03-97CD-98F909F42C87@dvcreators.net> I thought of filter, but the problem is the ID column always has to be the first one, right? That's fine for data fields where there is only one ID column, but there might be several... I've been thinking one could ascertain the column number of the desired ID column, then make a certain number of tabs, like: put itemOffset(locatorColumnHeader,p) into locatorColNo REPEAT locatorColNo -1 times put tab & "*" after theNumberOfTabsNeededToGetToDesiredColumn END REPEAT Then filter with theNumberOfTabsNeededToGetToDesiredColumn & locatorValue & tab & "*" something like that... ----------------- So FILTER is definitely faster than a REPEAT loop going through all lines of a variable, right? (because FILTER has to look at every line anyway, right?) On Aug 7, 2006, at 12:51 PM, Jim Ault wrote: > I would try this approach, although not the only one: > --------------- > get cr & whichDataFld & tab > filter it with ( cr & locatorColNo &tab &"*") > -- now you have a list of one line > -- this filter pattern will insure only column 1 and > -- whole matches between the cr and tab.. > -- no need to redo your IDs > --the last tab is appended to 'it' since you could have a last line > table > entry with only an ID and you would want to located it. It is the > last line > and has empty values, perhaps by mistake. > > if the number of lines in it > 1 then > answer "Multiple IDs found "& (the number of lines in it) > return empty > else if the number of lines in it = 0 then > answer "ID " & locatorColNo & " could not be found" > return empty > else > return item dataColNo of it > end if > ------------------------------ > Jim Ault > Las Vegas > > On 8/7/06 11:47 AM, "Josh Mellicker" <josh at dvcreators.net> wrote: > >> Here is a function I wrote to retrieve data from a table field. >> >> All it needs is: >> >> whichDataFld - the long name of the data field >> locatorColumnHeader - assumes the top row is a header row with the >> column name, this is which column to use to locate the correct row >> locatorValue - this is the value in the column with the header >> "locatorColumnHeader" that tells you you have the right row >> headerOfDataToGet - this is the column containing the data you want >> >> >> FUNCTION getDataFromDataFld >> whichDataFld,locatorColumnHeader,locatorValue,headerOfDataToGet >> put the text of whichDataFld into p >> set itemdel to tab >> put itemOffset(locatorColumnHeader,p) into locatorColNo >> put itemOffset(headerOfDataToGet,p) into dataColNo >> REPEAT with x = 2 to the number of lines of p >> IF item locatorColNo of line x of p = locatorValue THEN exit >> REPEAT >> END REPEAT >> return item dataColNo of line x of p >> END getDataFromDataFld >> >> >> >> So if your table field is: >> >> ID name color food >> 5 Ken blue cheese >> 7 Jerry green pizza >> 21 Sarah red sushi >> >> >> you could say >> >> put getDataFromDataFld(whichDataFld,ID,7,"food") into tData >> >> RESULT: "pizza" >> >> >> What I don't like about this handler is that it must scan every line >> to find the right row... there must be a faster way to write this, >> no? >> >> >> >> >> On Jul 21, 2006, at 1:01 PM, Viktoras Didziulis wrote: >> >>> Dear group, >>> >>> is it possible to query [tab] delimited data stored in fields or >>> containers >>> within a stack using SQL? e.g. without any external database >>> engine or >>> database files or connections... >>> >>> All the best! >>> 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 >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 iangmcknight at googlemail.com Tue Aug 8 16:58:50 2006 From: iangmcknight at googlemail.com (Ian McKnight) Date: Tue, 8 Aug 2006 21:58:50 +0100 Subject: Problems using Send and Functions with 2 parameters In-Reply-To: <DDD977F1-FAE8-49CD-85B4-A1EBF92DED53@swcp.com> References: <c935444f0608080724j6d4a803cx40ad902ebc2c6b1a@mail.gmail.com> <DDD977F1-FAE8-49CD-85B4-A1EBF92DED53@swcp.com> Message-ID: <c935444f0608081358q4ce6653fodf9d09a768dfc5b1@mail.gmail.com> Hi Thanks Dar - I revisited your suggestion for a custom command and made the handler work. A function seemed more appropriate to what I wanted to do as it returned a value (thats why I had thought of using the 'get' command to get access to the RESULT and it works) but it's as if the send command only accepts one or no paramenters in situations like this. send "moveClockHands randomTime(15,2)" to group "analogClock" doesn't work but send "moveClockHands randomTime(15)" to group "analogClock" and send "moveClockHands randomTime()" to group "analogClock" both work My solution was to convert the function randomTime to a custom command but retain its RETURN command. This gives the following 2 stage solution send "randomTime(15,2)" to group "analogClock" send "moveClockHands the result" to group "analogClock" Thanks to everyone for your help. Regards From wjm at wjm.org Tue Aug 8 16:58:51 2006 From: wjm at wjm.org (Bill Marriott) Date: Tue, 8 Aug 2006 16:58:51 -0400 Subject: HTML Tag Cleaner Fails References: <44D6674A.5000600@hindu.org><70ed6b130608062253k38f7f95i1af4955130c2c7b7@mail.gmail.com><404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com><70ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com><76FCC001-3C23-470D-93D0-767DFE1207D7@economy-x-talk.com><4970B64B-1935-4478-B3EE-81FA8D179D80@swcp.com><eb9qn5$ijv$1@sea.gmane.org> <0D19BAAA-FFA5-495E-8458-CEB1C8F25A85@swcp.com> Message-ID: <ebatub$h8q$1@sea.gmane.org> Dar Scott wrote: > You are assuming that a field and htmlText has something to do with HTML. > > What do you base this assumption on? Oh, I dunno, the name of the function beginning with "HTML?" The documentation which states, "Specifies the contents of a field, with its text formatting represented as HTML tags and special characters represented as HTML entities." And the detailed list of supported, unsupported, and custom HTML tags which follows? Seriously, this is a stretch. Consider the Rev text field the equivalent of a WAP 1.0 browser, or something like that. It is a bonafide HTML presentation, to the extent of what Rev text fields are capable of rendering. A relatively complete set of text formatting is available. Images are incorporated as appropriate. Links are handled. And so on. I assume the only reason the rendering is not more complete are the limitations of the field control and Rev itself. There can be no doubt that the intention of the function is to a) export the styled content of a text field as faithfully as possible using HTML and b) to render incoming HTML as properly as possible. The <title> element is specifically defined in the HTML specification: "The TITLE element is not considered part of the flow of text." > Stripping <title> is bizarre. No, it's exactly the right thing to do if you're implementing a function named HTMLText() that is designed to process HTML tags at best-effort. From sunshine at public.kherson.ua Tue Aug 8 18:03:27 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed, 09 Aug 2006 01:03:27 +0300 Subject: Codebase Database API In-Reply-To: <216251AD-9002-4CC5-A309-01991369F7C1@twft.com> Message-ID: <C0FEE4DF.5BE95%sunshine@public.kherson.ua> On 8/8/06 11:36 PM, "Robert Sneidar" <bobs at twft.com> wrote: Robert, This question can be interesting to all, so I will CC it to both lists. > 2. Although virtually every SQL solution I have seen declares it is a true > Relational database, I have seen NOTHING which refers to creating relations > between tables (except perhaps in Valentina) and in Foxpro these relations > are created on the fly, again using existing indexes created with the complex > expressions briefly described above. Let me clarify here. Relational database simple uses Tables (aka Relations). Pure Realtional Database model do not have indexes, and do not have anything between tables. Relation between records of 2 tables, you establish simply BY VALUE. Later was invented such feature as FOREING KEY, and it is now in SQL standard. Yes, Valentina 2 extend this feature - FK and name it as LINK, as well as add two other kind of links to link records. So me point, that DBMS you mention above really have right say that they support Relational model. Valentina support Object-Relational model. FoxPro - was relational, but with a lots of low level API methods, which did allow you control db without SQL. In fact, I remember times when FoxPro was without any SQL..Or may be they was other DBF dialect (Clipper?) > I have gathered I think, that sub-queries, or joins are the method for doing > this, but again, what kind of performance hit do I take? > > And to do this I will have to learn the very decidedly non-friendly SQL join > syntax. Again to be fair...I not think that join is so unfriendly. And I can say that without joins and SQL to get the same result you will need write much more code in Fox, or even in Valentina 2 using its new API way. But in Valentina 2 this API way may result in some performance benefits.. So I think here is not so black and white. Exists trade-off Btw, just in case I give you this WIKI urls on few articles and LINK feature. http://www.valentina-db.com/dokuwiki/doku.php?id=paradigma:public:en:documen tation:vkernel:vlink:vlink Here about Database models: http://www.valentina-db.com/dokuwiki/doku.php?id=paradigma:public:en:documen tation:articles:articles -------------------------------------------- Note, that in Valentina 2 we have introduce reach API, which allow control database totally without SQL. I claim that we have give new life to Navigational Model. If somebody have work with dbVista - one on famous db with Naviational model, will see how many cool things we have resolve in Valentina 2. But I cannot say that Navigational Model is best for every task. For example GROUP BY task is nightmare for it. And this is why it is so great that Valentina give you way easy use ANY form SEVERAL supported database models in your code in the same time! -- 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 sunshine at public.kherson.ua Tue Aug 8 18:13:32 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed, 09 Aug 2006 01:13:32 +0300 Subject: API Style + Navigational Model // was Codebase Database API In-Reply-To: <216251AD-9002-4CC5-A309-01991369F7C1@twft.com> Message-ID: <C0FEE73C.5BE9D%sunshine@public.kherson.ua> On 8/8/06 11:36 PM, "Robert Sneidar" <bobs at twft.com> wrote: > 3. A typical methodology of Visionpoint 2000 is to set an index > (ordering the table), seek for a record, and then stepping through > the table one record at a time, or issuing some kind of statement > that uses REST (from the current point through the rest of the table) > and a WHILE clause or FOR clause which are sometimes themselves > complex expressions. > But I am working with the actual table data > directly, and so am not limited by the constraints of a cursor. > To switch to SQL would mean rewriting my data access methodologies almost > from scratch, and that through thousands of code module files. The task is > daunting. Well, In Valentina 2 this methodology also is supported via ArraySet - that keep your ordered records and Table.RecID = ArraySet.Nth item We do not have like FoxPro - current filter on the whole table, Because you can have only one such filter Using ArraySets you are free to have several such sets in the same time.. -------------- >From other side: I do not see where SQL way beat you: curs = db.SqlSelect( "SELECT * FROM T ORDER BY f5" ) Now you have virtually table sorted by f5 and its index. Do your steps one by one ... Where is difference in methodology? -- 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 dsc at swcp.com Tue Aug 8 18:21:37 2006 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2006 16:21:37 -0600 Subject: Problems using Send and Functions with 2 parameters In-Reply-To: <c935444f0608081358q4ce6653fodf9d09a768dfc5b1@mail.gmail.com> References: <c935444f0608080724j6d4a803cx40ad902ebc2c6b1a@mail.gmail.com> <DDD977F1-FAE8-49CD-85B4-A1EBF92DED53@swcp.com> <c935444f0608081358q4ce6653fodf9d09a768dfc5b1@mail.gmail.com> Message-ID: <B99EA3D8-42CD-4AC8-BF7C-170732F96E95@swcp.com> On Aug 8, 2006, at 2:58 PM, Ian McKnight wrote: > Thanks Dar - I revisited your suggestion for a custom command and made > the handler work. > > A function seemed more appropriate to what I wanted to do as it > returned a value (thats why I had thought of using the 'get' command > to get access to the RESULT and it works) but it's as if the send > command only accepts one or no paramenters in situations like this. Yeah, I don't think sending a 'get' is supported. > send "moveClockHands randomTime(15,2)" to group "analogClock" > doesn't work This should eval randomTime(15,2) before sending. If it is in your message path, you will be OK. I made something in the path, but I get something wrong, too. > but send "moveClockHands randomTime(15)" to group "analogClock" and > send "moveClockHands randomTime()" to group "analogClock" both work weird. Something is amiss. Though, I would consider the 'get' as outside of what is intended, this is a bug. > My solution was to convert the function randomTime to a custom command > but retain its RETURN command. > > This gives the following 2 stage solution > > send "randomTime(15,2)" to group "analogClock" For a command, remove the parens. Are you working with an old version? What you have will create a single parameter for the randomTime command. > send "moveClockHands the result" to group "analogClock" Since things are acting weird, try send "randomTime 15,2" to group "analogClock" get the result send "moveClockHands it" to group "analogClock" I tend to keep the send parameter to a single command plus a comma delimited list of variable parameters, like this: send "advancePen m,n,x" ... This looks like a good place for a setProp in the group, if 'moveClockHands' will set the time rather than advance some amount. Dar Scott From revolutionary.dan at gmail.com Tue Aug 8 18:25:06 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Tue, 8 Aug 2006 15:25:06 -0700 Subject: HTML Tag Cleaner Fails In-Reply-To: <ebatub$h8q$1@sea.gmane.org> References: <44D6674A.5000600@hindu.org> <70ed6b130608062253k38f7f95i1af4955130c2c7b7@mail.gmail.com> <404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com> <70ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com> <76FCC001-3C23-470D-93D0-767DFE1207D7@economy-x-talk.com> <4970B64B-1935-4478-B3EE-81FA8D179D80@swcp.com> <eb9qn5$ijv$1@sea.gmane.org> <0D19BAAA-FFA5-495E-8458-CEB1C8F25A85@swcp.com> <ebatub$h8q$1@sea.gmane.org> Message-ID: <70ed6b130608081525h2a06ab05qb6f0a5cfb64092bb@mail.gmail.com> Sorry I ever mentioned I found it bizarre. Nothing we can do about it. It is what it is. I don't use htmlText because it's too limited and limiting. Dan From sunshine at public.kherson.ua Tue Aug 8 18:30:48 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed, 09 Aug 2006 01:30:48 +0300 Subject: SQL, shared access to db // Codebase Database API In-Reply-To: <216251AD-9002-4CC5-A309-01991369F7C1@twft.com> Message-ID: <C0FEEB48.5BEAA%sunshine@public.kherson.ua> On 8/8/06 11:36 PM, "Robert Sneidar" <bobs at twft.com> wrote: > My Holy Grail for my project would be if a driver could be written, > perhaps for something like a Codebase server which can access xBase > tables directly, where I could open shared tables and indexes, and > then peruse through the data in precicely the same way as I did in > Foxpro. I personally think t his would be very advantageous for > Revolution in general, as there must be a lot of users who don't want > to learn SQL, they just want to: > open a table > sort it > find some data > stuff some variables > get user input > check for data validity > lock the record/table > check that the record has not been updated > write the data back > unlock the table. Robert, all this present right now in Valentina 2. And let me repeat, IMHO in better way then Fox did have. > All in a shared environment. (meaning multiple users can open the > file at once) > In SQL sorting, finding, and rewriting data in any kind of complex > way forces the developer to learn complex SQL syntax, which is what > Revolution promises to avoid. * When Revolution did promise this? RevDB is built around SQL as I see. * why you say SQL it is complex. It is soooo simple actually. SELECT f1, f2, f3 FROM T1 WHERE f1 > 5 and f1 < 25 or f3 LIKE 'Pet%' ORDER BY f2 Desc 4 lines of code on natural English. Try this write in API style. Will be about 10-20 lines of code. As for Fox so for Valentina's API style. And the main advantage of SQL over API style is -- SQL was invented for access to REMOTE dbs. Above SQL is just few bytes which will be sent via inet. All work is done on SERVER, and back you get data. Now tell me please scenario for API style? You must issue many commands between client and server computers, load to client may be even indexes, do calculations on client side and send it to server.... SQL wins on client-server environment. No doubts here. > Valentina seems to provide this using it's API methodology, right > but I was given to understand that the files > created using the non-sql method are not opened shared. Hmm, not right. > This is critical for my application. I suppose I can create a stack that can > open tables and return data to the user's runtime apps, but I am still > bottlenecking the traffic, and any request for a lot of data will inevitably > bring other users to a halt. You have told me about Code Base SERVER. Right? So you are ready to use SERVER? I.e. You are ready to use Client Server model in your app. Right? Then you talk NOT about SHARED access to db files, but about CLIENT - SERVER access. And Valentina is able do this with help of V4REV and Valentina Server. What we do not support in Valentina and never wont - is SHARED ACCESS. SHARED ACCESS means that * db files are on some server computer, * there is no SERVER application * client applications open db files in shared mode. This is much slower then client/server model. Mainly because in this way not exists cache on server side. > I can learn SQL alright, but time is my enemy. Already people are > talking about "the future of SBT" around the office, meaning they > want to get rid of it. I want to port it and make it what they want > it to be. I am stuck at the database model, and I need a solution > soon. If Valentina can provide a non-sql way to access tables and > indexes directly, in a relational model, I would be very interested > in knowing how. Since I already purchased Valentina, I am willing to > give it another go. Robert, In Valentina for Revolution Examples folder exists API_Way folder, Where we have examples more than in SQL way. :) Please check this API example. They show all major operations. ------------------------- About indexes: to create index with some complex expression, you need create in the table so called Method = aka Calculated field = aka Virtual field. E.g. On Valentina list present Jon (jda), he make in table index that join all other fields, and mark it as indexed by words. In this way he get ability do search by all fields of table. It is very reach feature. By features exactly like as in Fox. Also you can note that exists RAM tables - for tmp data. Also you can create these Methods marked as Temporary. Then they will not be stored into system tables. In 2.4 we have add also ability to create in a Table - Temporary field. Nice thing here is again - it is not stored into sys tables, and its data are stored on .tmp volume. So in case of any failure, you main .dat file is not touched at all. -- 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 dsc at swcp.com Tue Aug 8 18:49:35 2006 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2006 16:49:35 -0600 Subject: HTML Tag Cleaner Fails In-Reply-To: <ebatub$h8q$1@sea.gmane.org> References: <44D6674A.5000600@hindu.org><70ed6b130608062253k38f7f95i1af4955130c2c7b7@mail.gmail.com><404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com><70ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com><76FCC001-3C23-470D-93D0-767DFE1207D7@economy-x-talk.com><4970B64B-1935-4478-B3EE-81FA8D179D80@swcp.com><eb9qn5$ijv$1@sea.gmane.org> <0D19BAAA-FFA5-495E-8458-CEB1C8F25A85@swcp.com> <ebatub$h8q$1@sea.gmane.org> Message-ID: <7BE0EA48-1252-4B1D-B875-536CACE97A74@swcp.com> On Aug 8, 2006, at 2:58 PM, Bill Marriott wrote: >> >> What do you base this assumption on? > > Oh, I dunno, the name of the function beginning with "HTML?" The > documentation which states, "Specifies the contents of a field, > with its > text formatting represented as HTML tags and special characters > represented > as HTML entities." Look at what that actually says. It says "with its text formatting represented as HTML tags". It never ever says the field displays HTML. It is clear that htmlText was never intended to have to do with HTML. What is the lowest most functionality of HTML? The handling of white space. The htmlText property does not do that in output or input. Metacard and RunRev were clear some time ago in that this is not a bug. BUT, I think it would be a good idea to expand htmlText (when fetched) to be a string that would display the same content (or very similar) content when dumped into an HTML display. I suspect that anything that can be displayed in a field can be represented in HTML. This enhancement will probably break scripts, though. (Links have completely separate semantics, though, and will not transfer completely.) > Links are handled. They are? > There can be no doubt that the intention of the function is to a) > export the > styled content of a text field as faithfully as possible using HTML A candidate for an enhancement request. I'd vote for this. I'm not sure how it should handle dontWrap. > and b) > to render incoming HTML as properly as possible. Nonsense. It can't render HTML. > No, it's exactly the right thing to do if you're implementing a > function > named HTMLText() that is designed to process HTML tags at best-effort. It is clear from its behavior that that was not what it was designed for. No effort was made to make that happen. Would you have released htmlText the way it is if you made it to render HTML? So removing <title> is bizarre. Somebody complained or asked for it and it was tacked on. Dar Scott From dsc at swcp.com Tue Aug 8 18:51:40 2006 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2006 16:51:40 -0600 Subject: HTML Tag Cleaner Fails In-Reply-To: <OF4ABB63AF.F58EC07D-ON852571C4.00696889@sealedair.com> References: <OF4ABB63AF.F58EC07D-ON852571C4.00696889@sealedair.com> Message-ID: <9269B843-863A-4370-B123-48EA8548E838@swcp.com> On Aug 8, 2006, at 1:18 PM, Roger.E.Eller at sealedair.com wrote: > There would be no assumption that > a property named "taggedText" would render html pages. I agree. -- Dar From dsc at swcp.com Tue Aug 8 19:06:41 2006 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2006 17:06:41 -0600 Subject: HTML Tag Cleaner Fails In-Reply-To: <A9E90682-3127-425F-8391-D31DD4057EE6@economy-x-talk.com> References: <44D6674A.5000600@hindu.org><70ed6b130608062253k38f7f95i1af4955130c2c7b7@mail.gmail.com><404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com><70ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com><76FCC001-3C23-470D-93D0-767DFE1207D7@economy-x-talk.com> <4970B64B-1935-4478-B3EE-81FA8D179D80@swcp.com> <eb9qn5$ijv$1@sea.gmane.org> <A9E90682-3127-425F-8391-D31DD4057EE6@economy-x-talk.com> Message-ID: <98E39853-274A-4B70-991F-E96C643E1AF7@swcp.com> On Aug 8, 2006, at 5:22 AM, Mark Schonewille wrote: > Apple's TextEdit application behaves exactly like Revolution fields > in this respect. Are you looking at clipboardData["html"]? I don't think TextEdit is creating bad HTML. I think Revolution is using the same function to create htmlText as it does to create clipboardData["html"]? Dar From dsc at swcp.com Tue Aug 8 19:06:56 2006 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2006 17:06:56 -0600 Subject: Problems using Send and Functions with 2 parameters In-Reply-To: <BAY105-F14CE2D1734A5809C35AC70C3540@phx.gbl> References: <BAY105-F14CE2D1734A5809C35AC70C3540@phx.gbl> Message-ID: <FC3EF542-E9DB-42A0-B7E7-420E8317048B@swcp.com> On Aug 8, 2006, at 1:01 PM, Sean Shao wrote: > put value("randomTime(5,2)", group "analogClock") There are some limitations to value() when working with sending arrays and the result of arithmetic. At times arrays are simply empty values and numbers have numberFormat applies with possible resulting loss of info. Assuming I didn't goof in my tests, it is like this (with corresponding send info): *********************************************** value(<expr>) array number parameter OK OK result OK fail *********************************************** value(<expr>, <obj>) array number parameter -- -- result fail OK *********************************************** send to <obj> array number parameter fail fail result OK OK *********************************************** send to <obj> in time array number parameter fail fail result -- -- ************************************************ This is bug 699 which RunRev has changed to an enhancement request. Dar Scott From dsc at swcp.com Tue Aug 8 19:11:55 2006 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2006 17:11:55 -0600 Subject: HTML Tag Cleaner Fails In-Reply-To: <ebatub$h8q$1@sea.gmane.org> References: <44D6674A.5000600@hindu.org><70ed6b130608062253k38f7f95i1af4955130c2c7b7@mail.gmail.com><404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com><70ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com><76FCC001-3C23-470D-93D0-767DFE1207D7@economy-x-talk.com><4970B64B-1935-4478-B3EE-81FA8D179D80@swcp.com><eb9qn5$ijv$1@sea.gmane.org> <0D19BAAA-FFA5-495E-8458-CEB1C8F25A85@swcp.com> <ebatub$h8q$1@sea.gmane.org> Message-ID: <99D78F5D-23DE-46C5-8D1A-6274E55B76D0@swcp.com> On Aug 8, 2006, at 2:58 PM, Bill Marriott wrote: > Seriously, this is a stretch. If people really believe that, where is the outcry over the handling of white space? If you really believe that, then why haven't you submitted such bugs to BZ? If you try submitting a white space bug (I thought one was submitted, but that may have been before BZ), what are the chances of it being marked "not a bug"? If you think high, then you know in your heart that htmlText is not HTML. Dar Scott From sundance at efn.org Tue Aug 8 19:14:31 2006 From: sundance at efn.org (David ResSeguie) Date: Tue, 8 Aug 2006 16:14:31 -0700 Subject: How do I set table column width in table fields Message-ID: <8ea364c71e82ddf9f069a35049437f42@efn.org> Hi, Can anyone tell how to change the width of columns in table fields, so that the contents fit? Thanks, David ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ David ResSeguie Information Services Manager/Ad Co-ordinator Sundance Natural Foods 748 E. 24th Avenue Eugene, OR 97405-2936 541 343-9142 541 343-1519 office 541 342-1660 fax 541 687-3010 pager Store and Office mailto:sundance at efn.org Grocery Store web site http://sundancenaturalfoods.com Sundance Wine Cellars web site http://orwines.com From m.schonewille at economy-x-talk.com Tue Aug 8 19:20:15 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 9 Aug 2006 01:20:15 +0200 Subject: How do I set table column width in table fields In-Reply-To: <8ea364c71e82ddf9f069a35049437f42@efn.org> References: <8ea364c71e82ddf9f069a35049437f42@efn.org> Message-ID: <8506A992-2065-4550-81AB-4C33499D954C@economy-x-talk.com> Equal column widths: set the tabstops of fld 1 to 250 different column widths: set the tabstops of fld 1 to 24,250,80,80,512 Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 9-aug-2006, om 1:14 heeft David ResSeguie het volgende geschreven: > Hi, > Can anyone tell how to change the width of columns in table fields, > so that the contents fit? > Thanks, > David From m.schonewille at economy-x-talk.com Tue Aug 8 19:52:52 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 9 Aug 2006 01:52:52 +0200 Subject: HTML Tag Cleaner Fails In-Reply-To: <98E39853-274A-4B70-991F-E96C643E1AF7@swcp.com> References: <44D6674A.5000600@hindu.org><70ed6b130608062253k38f7f95i1af4955130c2c7b7@mail.gmail.com><404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com><70ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com><76FCC001-3C23-470D-93D0-767DFE1207D7@economy-x-talk.com> <4970B64B-1935-4478-B3EE-81FA8D179D80@swcp.com> <eb9qn5$ijv$1@sea.gmane.org> <A9E90682-3127-425F-8391-D31DD4057EE6@economy-x-talk.com> <98E39853-274A-4B70-991F-E96C643E1AF7@swcp.com> Message-ID: <0D7CBCF4-CAA2-4382-8786-ECF50857811F@economy-x-talk.com> Dar, No, I opened an html page with the following code in TextEdit while not ignoring RTF commands (isn't it funny that TextEdit uses the same option to en/disable HTML and RTF?): <html> <body> <title>bar Not that the title tags are in the body and still not rendered by TextEdit. However, if I replace "title" by "foo", "bar" is visible in TextEdit. Revolution does the same, if I set the htmlText of a field to above html code. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 9-aug-2006, om 1:06 heeft Dar Scott het volgende geschreven: > > On Aug 8, 2006, at 5:22 AM, Mark Schonewille wrote: > >> Apple's TextEdit application behaves exactly like Revolution >> fields in this respect. > > Are you looking at clipboardData["html"]? > > I don't think TextEdit is creating bad HTML. I think Revolution is > using the same function to create htmlText as it does to create > clipboardData["html"]? > > Dar From dsc at swcp.com Tue Aug 8 19:53:53 2006 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2006 17:53:53 -0600 Subject: HTML Tag Cleaner Fails In-Reply-To: <9269B843-863A-4370-B123-48EA8548E838@swcp.com> References: <9269B843-863A-4370-B123-48EA8548E838@swcp.com> Message-ID: <05F13039-D807-47D7-904E-410C540E7490@swcp.com> On Aug 8, 2006, at 4:51 PM, Dar Scott wrote: > On Aug 8, 2006, at 1:18 PM, Roger.E.Eller at sealedair.com wrote: >> There would be no assumption that >> a property named "taggedText" would render html pages. > > I agree Whoops. I think the partial quote might misrepresent Roger. There is an "if" in the previous sentence: > I think that RunTime made a bad choice in naming that property > "htmlText". > If it was never intended to render the full html spec, then it > should have > been named something like "taggedText". There would be no > assumption that > a property named "taggedText" would render html pages. That's my two > cents. Dar From stephenREVOLUTION at barncard.com Tue Aug 8 20:01:05 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 8 Aug 2006 17:01:05 -0700 Subject: HTML Tag Cleaner Fails In-Reply-To: References: <44D6674A.5000600@hindu.org><70ed6b130608062253k38f7f95i1af4955130c2c7b7@m ail.gmail.com><404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com><70 ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com><76FCC001-3C23-4 70D-93D0-767DFE1207D7@economy-x-talk.com><4970B64B-1935-4478-B3EE-81FA8D17 9D80@swcp.com> <0D19BAAA-FFA5-495E-8458-CEB1C8F25A85@swcp.com> Message-ID: Just a suggestion - Derek Bump (Dreamscape Software) did some experimenting with css and rev's htmltext a couple of years ago. You might want to check it out. The simple code there did help quite a bit with translating to and from (especially to) real web pages and seemed to scale font sizes pretty well. http://www.dreamscapesoftware.com/products/htmltocss.zip I went in and tweaked a few things for my use on my copy, but it's quite useful as is. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From JimAultWins at yahoo.com Tue Aug 8 20:07:51 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 08 Aug 2006 17:07:51 -0700 Subject: internal SQL queries In-Reply-To: <5CF10F44-44C6-4D03-97CD-98F909F42C87@dvcreators.net> Message-ID: Yes, filter is very fast, but not always the fastest, yet rarely far off. You could do the variable column filter string, perhaps as put cr & coolDataTable & tab into foundLines put "*"&tab into C get item 1 to colNeeded-1 of (C&C&C&C&C&C&C&C&C&C&C&C&C) filter foundLines with (it & IDnum & tab&"*") Jim Ault Las Vegas On 8/8/06 1:34 PM, "Josh Mellicker" wrote: > I thought of filter, but the problem is the ID column always has to > be the first one, right? > > That's fine for data fields where there is only one ID column, but > there might be several... > > > I've been thinking one could ascertain the column number of the > desired ID column, then make a certain number of tabs, like: > > put itemOffset(locatorColumnHeader,p) into locatorColNo > > > > REPEAT locatorColNo -1 times > put tab & "*" after theNumberOfTabsNeededToGetToDesiredColumn > END REPEAT > > Then filter with > > theNumberOfTabsNeededToGetToDesiredColumn & locatorValue & tab & "*" > > > something like that... > > ----------------- > > So FILTER is definitely faster than a REPEAT loop going through all > lines of a variable, right? > > (because FILTER has to look at every line anyway, right?) > > > > On Aug 7, 2006, at 12:51 PM, Jim Ault wrote: > >> I would try this approach, although not the only one: >> --------------- >> get cr & whichDataFld & tab >> filter it with ( cr & locatorColNo &tab &"*") >> -- now you have a list of one line >> -- this filter pattern will insure only column 1 and >> -- whole matches between the cr and tab.. >> -- no need to redo your IDs >> --the last tab is appended to 'it' since you could have a last line >> table >> entry with only an ID and you would want to located it. It is the >> last line >> and has empty values, perhaps by mistake. >> >> if the number of lines in it > 1 then >> answer "Multiple IDs found "& (the number of lines in it) >> return empty >> else if the number of lines in it = 0 then >> answer "ID " & locatorColNo & " could not be found" >> return empty >> else >> return item dataColNo of it >> end if >> ------------------------------ >> Jim Ault >> Las Vegas >> >> On 8/7/06 11:47 AM, "Josh Mellicker" wrote: >> >>> Here is a function I wrote to retrieve data from a table field. >>> >>> All it needs is: >>> >>> whichDataFld - the long name of the data field >>> locatorColumnHeader - assumes the top row is a header row with the >>> column name, this is which column to use to locate the correct row >>> locatorValue - this is the value in the column with the header >>> "locatorColumnHeader" that tells you you have the right row >>> headerOfDataToGet - this is the column containing the data you want >>> >>> >>> FUNCTION getDataFromDataFld >>> whichDataFld,locatorColumnHeader,locatorValue,headerOfDataToGet >>> put the text of whichDataFld into p >>> set itemdel to tab >>> put itemOffset(locatorColumnHeader,p) into locatorColNo >>> put itemOffset(headerOfDataToGet,p) into dataColNo >>> REPEAT with x = 2 to the number of lines of p >>> IF item locatorColNo of line x of p = locatorValue THEN exit >>> REPEAT >>> END REPEAT >>> return item dataColNo of line x of p >>> END getDataFromDataFld >>> >>> >>> >>> So if your table field is: >>> >>> ID name color food >>> 5 Ken blue cheese >>> 7 Jerry green pizza >>> 21 Sarah red sushi >>> >>> >>> you could say >>> >>> put getDataFromDataFld(whichDataFld,ID,7,"food") into tData >>> >>> RESULT: "pizza" >>> >>> >>> What I don't like about this handler is that it must scan every line >>> to find the right row... there must be a faster way to write this, >>> no? >>> >>> >>> >>> >>> On Jul 21, 2006, at 1:01 PM, Viktoras Didziulis wrote: >>> >>>> Dear group, >>>> >>>> is it possible to query [tab] delimited data stored in fields or >>>> containers >>>> within a stack using SQL? e.g. without any external database >>>> engine or >>>> database files or connections... >>>> >>>> All the best! >>>> 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 >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution 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 wjm at wjm.org Tue Aug 8 21:03:00 2006 From: wjm at wjm.org (Bill Marriott) Date: Tue, 8 Aug 2006 21:03:00 -0400 Subject: IRC Client Message-ID: I know there was a contest a while back to write an IRC client in Rev... Did anything ever come of that? Does anyone know where one might exist? From JimAultWins at yahoo.com Tue Aug 8 22:12:10 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 08 Aug 2006 19:12:10 -0700 Subject: Problems using Send and Functions with 2 parameters In-Reply-To: Message-ID: On 8/8/06 1:58 PM, "Ian McKnight" wrote: > Thanks Dar - I revisited your suggestion for a custom command and made > the handler work. > > A function seemed more appropriate to what I wanted to do as it > returned a value (thats why I had thought of using the 'get' command > to get access to the RESULT and it works) but it's as if the send > command only accepts one or no paramenters in situations like this. > > send "moveClockHands randomTime(15,2)" to group "analogClock" doesn't work > > but send "moveClockHands randomTime(15)" to group "analogClock" and > send "moveClockHands randomTime()" to group "analogClock" both work > > My solution was to convert the function randomTime to a custom command > but retain its RETURN command. > > This gives the following 2 stage solution > > send "randomTime(15,2)" to group "analogClock" > send "moveClockHands the result" to group "analogClock" > Why not do the following? insert the script of group analogClock into back Now all the scripts are in the message path and you don't need 'send' or use value, etc. You could do this on openstack,preopenstack, showAnalogClock, enableAnalogClock. opencard, etc if you do... on returnValuesToCallingHandler pFirstFactor, pSecondFactor return ((pFirstFactor*10) + pSecondFactor) end returnValuesToCallingHandler on processData set the itemdel to tab returnValuesToCallingHandler 15, 2 put the result into ansFromAbove -- do more work end processData Further, write your first handler to know what to do... moveClockHands "random", 15,2 will tell it to call the random function using 15 & 2, then move the hands Hope this helps. Jim Ault Las Vegas From dsc at swcp.com Tue Aug 8 23:19:26 2006 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2006 21:19:26 -0600 Subject: HTML Tag Cleaner Fails In-Reply-To: <0D7CBCF4-CAA2-4382-8786-ECF50857811F@economy-x-talk.com> References: <44D6674A.5000600@hindu.org><70ed6b130608062253k38f7f95i1af4955130c2c7b7@mail.gmail.com><404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com><70ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com><76FCC001-3C23-470D-93D0-767DFE1207D7@economy-x-talk.com> <4970B64B-1935-4478-B3EE-81FA8D179D80@swcp.com> <98E39853-274A-4B70-991F-E96C643E1AF7@swcp.com> <0D7CBCF4-CAA2-4382-8786-ECF50857811F@economy-x-talk.com> Message-ID: On Aug 8, 2006, at 5:52 PM, Mark Schonewille wrote: > > > bar > > > Not that the title tags are in the body and still not rendered by > TextEdit. However, if I replace "title" by "foo", "bar" is visible > in TextEdit. Revolution does the same, if I set the htmlText of a > field to above html code. I don't follow this logic: TextEdit can render HTML. TextEdit removes title. Rev fields remove title. Therefore... Rev field can render HTML. Try this (similar to above): a b TextEdit will render the multiple spaces correctly as a single space. Revolution fields will not. That is because Revolution does not render HTML. It does not even try. Dar Scott From iangmcknight at googlemail.com Tue Aug 8 23:42:57 2006 From: iangmcknight at googlemail.com (Ian McKnight) Date: Wed, 9 Aug 2006 04:42:57 +0100 Subject: Problems using Send and Functions with 2 parameters In-Reply-To: References: Message-ID: On 09/08/06, Jim Ault wrote: > Why not do the following? > > insert the script of group analogClock into back > > Now all the scripts are in the message path and you don't need 'send' or use > value, etc. Ah! I have known about backscripts and frontscripts for some time but never really understood their utility. Thanks. > Further, write your first handler to know what to do... > moveClockHands "random", 15,2 > > will tell it to call the random function using 15 & 2, then move the hands > Yes, on reflection I thinks this is perhaps the best course. I was caught up with making my initial solution work - come what may - to the exclsion of some simplicity. Still I have learned some new tricks along the way and received some great help in the process. Thank you again. -- Regards Ian ======================= Ian McKnight iangmcknight at googlemail.com ======================= From bobs at twft.com Tue Aug 8 23:52:13 2006 From: bobs at twft.com (Robert Sneidar) Date: Tue, 8 Aug 2006 20:52:13 -0700 Subject: Codebase Database API In-Reply-To: <20060809003905.0065C825242@mail.runrev.com> References: <20060809003905.0065C825242@mail.runrev.com> Message-ID: <3D94A631-F925-47D7-BC82-37AB50CFB4F9@twft.com> On Aug 8, 2006, at 5:39 PM, use-revolution-request at lists.runrev.com wrote: > Bob, would the ODBC connection work for you here? > > Mark I suppose it would. I didn't look very far, but I searched for ODBC in the A-Z help section and came up empty. I will look again. I think Codebase has ODBC support. Bob Sneidar IT Manager Logos Management Calvary Chapel CM From sakari.ruoho at academica.com Wed Aug 9 01:34:22 2006 From: sakari.ruoho at academica.com (Sakari) Date: Wed, 9 Aug 2006 08:34:22 +0300 Subject: VS: Purchasing Valentina In-Reply-To: <62E10C33-ADB9-47C8-B4A8-447D8AAC13F3@lacscentre.co.uk> Message-ID: <000c01c6bb75$781c82e0$1100000a@NeoFIHKIWRK03> This is all I needed to know. A happy customer and the schedule of getting the keys. Thank you Dave! Sakari >I recently purchased a license. The response (with all registration >keys) was extremely fast. > >I noticed that Ruslan has responded to your mail already. He responds >with the same speed (or faster) to technical queries too. You'll be >amazed. > >Cheers >Dave From sunshine at public.kherson.ua Wed Aug 9 02:33:36 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed, 09 Aug 2006 09:33:36 +0300 Subject: Codebase Database API In-Reply-To: <3D94A631-F925-47D7-BC82-37AB50CFB4F9@twft.com> Message-ID: On 8/9/06 6:52 AM, "Robert Sneidar" wrote: >> Bob, would the ODBC connection work for you here? >> >> Mark > > I suppose it would. I didn't look very far, but I searched for ODBC > in the A-Z help section and came up empty. I will look again. I think > Codebase has ODBC support. Robert, ODBC is based on SQL actually. You dream avoid SQL, so ODBC is not a way for you in this case. -- 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 wjm at wjm.org Wed Aug 9 02:55:15 2006 From: wjm at wjm.org (Bill Marriott) Date: Wed, 9 Aug 2006 02:55:15 -0400 Subject: HTML Tag Cleaner Fails References: <44D6674A.5000600@hindu.org><70ed6b130608062253k38f7f95i1af4955130c2c7b7@mail.gmail.com><404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com><70ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com><76FCC001-3C23-470D-93D0-767DFE1207D7@economy-x-talk.com><4970B64B-1935-4478-B3EE-81FA8D179D80@swcp.com><98E39853-274A-4B70-991F-E96C643E1AF7@swcp.com><0D7CBCF4-CAA2-4382-8786-ECF50857811F@economy-x-talk.com> Message-ID: You keep missing the obvious. Whether you call it HTML or FauxML or whatever you like... is defined to specify boldface text.

is defined to specify paragraphs is defined to indicate metadata that is NOT part of the contents. <unknown> tags are defined to be ignored. Very simple concept, consistently applied, and not surprising or bizarre in the least. Dar Scott wrote: > I don't follow this logic: > > TextEdit can render HTML. > TextEdit removes title. > Rev fields remove title. > Therefore... > Rev field can render HTML. From sunshine at public.kherson.ua Wed Aug 9 03:55:30 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed, 09 Aug 2006 10:55:30 +0300 Subject: Server side cursor in Valentina Server // Codebase Database API In-Reply-To: <901F9805-56C9-4C0B-BCD3-1EACAC16CB50@twft.com> Message-ID: <C0FF6FA2.5BF2E%sunshine@public.kherson.ua> On 8/9/06 1:56 AM, "Robert Sneidar" <bobs at twft.com> wrote: Hi Robert, > This is fine for manageably sized tables. But I have read posts to > the runrev list that trying to load large cursors can crash > Revolution. It has been suggested that limits be issued in SQL > statements to ensure the size of a cursor is not too large. 1) well, I think you have hear this problem about e.g. MySQL, which has only client-side cursors. I.e. It loads all found records into RAM of client. Of curse this will not work for big results. Valentina Server has as client side cursors so Server-side cursors, which load into Client only required record. In Valentina 2.5 we even will improve this technique. > At that point I would be paging through a table, especially for report > generation, and I am not sure how to do that. Well, report generation best of all todo on server side. And move to client only result. > But all objections aside, I am going to have to get into the nuts and > bolts of SQL to make this happen, AND in the process of making the > old Foxpro code into Revolution code, I am going to have to rewrite > whole sections of code to account for the new SQL methods, and that > is the really daunting thing for me. If I can use the "navigational > model" then my recoding becomes quite manageable. I think you need play with this and that ways. See results. Again, may be exists sense for you write own small layer-wrapper around db. -- 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 m.schonewille at economy-x-talk.com Wed Aug 9 03:59:47 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 9 Aug 2006 09:59:47 +0200 Subject: HTML Tag Cleaner Fails In-Reply-To: <ECECBA79-62AA-457E-8719-243188B25FCA@swcp.com> References: <44D6674A.5000600@hindu.org><70ed6b130608062253k38f7f95i1af4955130c2c7b7@mail.gmail.com><404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com><70ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com><76FCC001-3C23-470D-93D0-767DFE1207D7@economy-x-talk.com> <4970B64B-1935-4478-B3EE-81FA8D179D80@swcp.com> <eb9qn5$ijv$1@sea.gmane.org> <A9E90682-3127-425F-8391-D31DD4057EE6@economy-x-talk.com> <98E39853-274A-4B70-991F-E96C643E1AF7@swcp.com> <0D7CBCF4-CAA2-4382-8786-ECF50857811F@economy-x-talk.com> <ECECBA79-62AA-457E-8719-243188B25FCA@swcp.com> Message-ID: <72837234-9BE4-443E-8137-426F4D57CE0B@economy-x-talk.com> You twist my words, Dar. The logic you seem to discover in my words is definitely not mine. Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 9-aug-2006, om 5:19 heeft Dar Scott het volgende geschreven: > > On Aug 8, 2006, at 5:52 PM, Mark Schonewille wrote: > >> <html> >> <body> >> <title>bar >> >> >> Not that the title tags are in the body and still not rendered by >> TextEdit. However, if I replace "title" by "foo", "bar" is visible >> in TextEdit. Revolution does the same, if I set the htmlText of a >> field to above html code. > > I don't follow this logic: > > TextEdit can render HTML. > TextEdit removes title. > Rev fields remove title. > Therefore... > Rev field can render HTML. > > Try this (similar to above): > > > > a b > > > TextEdit will render the multiple spaces correctly as a single > space. Revolution fields will not. > > That is because Revolution does not render HTML. It does not even > try. > > Dar Scott From dsc at swcp.com Wed Aug 9 05:34:53 2006 From: dsc at swcp.com (Dar Scott) Date: Wed, 9 Aug 2006 03:34:53 -0600 Subject: HTML Tag Cleaner Fails In-Reply-To: References: <44D6674A.5000600@hindu.org><70ed6b130608062253k38f7f95i1af4955130c2c7b7@mail.gmail.com><404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com><70ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com><76FCC001-3C23-470D-93D0-767DFE1207D7@economy-x-talk.com><4970B64B-1935-4478-B3EE-81FA8D179D80@swcp.com><98E39853-274A-4B70-991F-E96C643E1AF7@swcp.com><0D7CBCF4-CAA2-4382-8786-ECF50857811F@economy-x-talk.com> Message-ID: On Aug 9, 2006, at 12:55 AM, Bill Marriott wrote: > Very simple concept, consistently applied, and not surprising or > bizarre in > the least. I guess we are not able to agree on that. However, I can say that I am surprised. Using htmlText cannot even handle spaces correctly. To me this means there is no intent to render HTML. That, to me, seems clear. Based on that, I am surprised that there is an attempt to filter out when that isn't even in the body. More over it seems silly to implement something not even in the body when basic things that can be handled by the field are not event attempted. Personally, I don't find that consistent. I'm almost convinced, though, that htmlText should work as you suggest. If so, that means it is buggy. That's the bad news. The good news is that we can submit those bugs. > <bold> is defined to specify boldface text. <b> > <p> is defined to specify paragraphs In HTML. In htmlText it means lines. > <title> is defined to indicate metadata that is NOT part of the > contents. That is not part of a field. > <unknown> tags are defined to be ignored. I must be behind in my HTML. Dar From dsc at swcp.com Wed Aug 9 06:36:34 2006 From: dsc at swcp.com (Dar Scott) Date: Wed, 9 Aug 2006 04:36:34 -0600 Subject: HTML Tag Cleaner Fails In-Reply-To: <72837234-9BE4-443E-8137-426F4D57CE0B@economy-x-talk.com> References: <44D6674A.5000600@hindu.org><70ed6b130608062253k38f7f95i1af4955130c2c7b7@mail.gmail.com><404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com><70ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com><76FCC001-3C23-470D-93D0-767DFE1207D7@economy-x-talk.com> <4970B64B-1935-4478-B3EE-81FA8D179D80@swcp.com> <eb9qn5$ijv$1@sea.gmane.org> <A9E90682-3127-425F-8391-D31DD4057EE6@economy-x-talk.com> <98E39853-274A-4B70-991F-E96C643E1AF7@swcp.com> <0D7CBCF4-CAA2-4382-8786-ECF50857811F@economy-x-talk.com> <ECECBA79-62AA-457E-8719-243188B25FCA@swcp.com> <72837234-9BE4-443E-8137-426F4D57CE0B@economy-x-talk.com> Message-ID: <631FEF1D-8D75-4FAD-94C4-7A1D5D7FF47C@swcp.com> On Aug 9, 2006, at 1:59 AM, Mark Schonewille wrote: > You twist my words, Dar. The logic you seem to discover in my words > is definitely not mine. I apologize. I did not intend to twist your words. I'm sorry I did not infer what you are meaning. I give up. You guys are right. The htmlText renders HTML. Dar From m.schonewille at economy-x-talk.com Wed Aug 9 06:54:55 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 9 Aug 2006 12:54:55 +0200 Subject: HTML Tag Cleaner Fails In-Reply-To: <631FEF1D-8D75-4FAD-94C4-7A1D5D7FF47C@swcp.com> References: <44D6674A.5000600@hindu.org><70ed6b130608062253k38f7f95i1af4955130c2c7b7@mail.gmail.com><404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com><70ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com><76FCC001-3C23-470D-93D0-767DFE1207D7@economy-x-talk.com> <4970B64B-1935-4478-B3EE-81FA8D179D80@swcp.com> <eb9qn5$ijv$1@sea.gmane.org> <A9E90682-3127-425F-8391-D31DD4057EE6@economy-x-talk.com> <98E39853-274A-4B70-991F-E96C643E1AF7@swcp.com> <0D7CBCF4-CAA2-4382-8786-ECF50857811F@economy-x-talk.com> <ECECBA79-62AA-457E-8719-243188B25FCA@swcp.com> <72837234-9BE4-443E-8137-426F4D57CE0B@economy-x-talk.com> <631FEF1D-8D75-4FAD-94C4-7A1D5D7FF47C@swcp.com> Message-ID: <FE210FF0-86C8-4F0C-8684-8A81505D9B12@economy-x-talk.com> Thanks Dar, I don't mind being wrong, though. If the htmlText proeprty is proven to be bizarre, I will gladly admit I'm wrong. Neither would I argue that htmlText renders HTML, I'm just saying that the title tag not being parsed is not bizarre in my opinion. So, maybe our positions on this matter are not as diverging as one might think. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 9-aug-2006, om 12:36 heeft Dar Scott het volgende geschreven: > I apologize. I did not intend to twist your words. I'm sorry I > did not infer what you are meaning. > > I give up. You guys are right. The htmlText renders HTML. > > Dar From dcragg at lacscentre.co.uk Wed Aug 9 07:01:41 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 9 Aug 2006 12:01:41 +0100 Subject: HTML Tag Cleaner Fails In-Reply-To: <631FEF1D-8D75-4FAD-94C4-7A1D5D7FF47C@swcp.com> References: <44D6674A.5000600@hindu.org><70ed6b130608062253k38f7f95i1af4955130c2c7b7@mail.gmail.com><404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com><70ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com><76FCC001-3C23-470D-93D0-767DFE1207D7@economy-x-talk.com> <4970B64B-1935-4478-B3EE-81FA8D179D80@swcp.com> <eb9qn5$ijv$1@sea.gmane.org> <A9E90682-3127-425F-8391-D31DD4057EE6@economy-x-talk.com> <98E39853-274A-4B70-991F-E96C643E1AF7@swcp.com> <0D7CBCF4-CAA2-4382-8786-ECF50857811F@economy-x-talk.com> <ECECBA79-62AA-457E-8719-243188B25FCA@swcp.com> <72837234-9BE4-443E-8137-426F4D57CE0B@economy-x-talk.com> <631FEF1D-8D75-4FAD-94C4-7A1D5D7FF47C@swcp.com> Message-ID: <D4CC13C5-B6AD-41A7-ACB1-2602A2CA016A@lacscentre.co.uk> On 9 Aug 2006, at 11:36, Dar Scott wrote: > > I give up. You guys are right. The htmlText renders HTML. I think you might be accused of twisting people's words again. :-) The above description suggests that it renders html well. I didn't see anybody making that claim. Better perhaps... The htmlText renders html kinda. Cheers Dave From mb.ur at harbourhosting.co.uk Wed Aug 9 08:39:31 2006 From: mb.ur at harbourhosting.co.uk (Martin Baxter) Date: Wed, 09 Aug 2006 13:39:31 +0100 Subject: HTML Tag Cleaner Fails In-Reply-To: <D4CC13C5-B6AD-41A7-ACB1-2602A2CA016A@lacscentre.co.uk> References: <44D6674A.5000600@hindu.org><70ed6b130608062253k38f7f95i1af4955130c2c7b7@mail.gmail.com><404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com><70ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com><76FCC001-3C23-470D-93D0-767DFE1207D7@economy-x-talk.com> <4970B64B-1935-4478-B3EE-81FA8D179D80@swcp.com> <eb9qn5$ijv$1@sea.gmane.org> <A9E90682-3127-425F-8391-D31DD4057EE6@economy-x-talk.com> <98E39853-274A-4B70-991F-E96C643E1AF7@swcp.com> <0D7CBCF4-CAA2-4382-8786-ECF50857811F@economy-x-talk.com> <ECECBA79-62AA-457E-8719-243188B25FCA@swcp.com> <72837234-9BE4-443E-8137-426F4D57CE0B@economy-x-talk.com> <631FEF1D-8D75-4FAD-94C4-7A1D5D7FF47C@swcp.com> <D4CC13C5-B6AD-41A7-ACB1-2602A2CA016A@lacscentre.co.uk> Message-ID: <44D9D783.9020801@harbourhosting.co.uk> Dave Cragg wrote: > > On 9 Aug 2006, at 11:36, Dar Scott wrote: > >> >> I give up. You guys are right. The htmlText renders HTML. > > I think you might be accused of twisting people's words again. :-) The > above description suggests that it renders html well. I didn't see > anybody making that claim. > > Better perhaps... > > The htmlText renders html kinda. > > Cheers > Dave I'm at a loose end, let's waste a bit more bandwidth... My take here is that the fact that the htmltext does as you say above "renders html kinda." is a side-effect of its true purpose. I see its purpose as to allow access to RR field text formatting information in a text-only form that can be readily understood, stored and manipulated. This is a more user-friendly alternative to a binary stylerun for instance. A pseudo-html syntax was adopted to implement this, which has the side-effect that some html can be rendered in an RR field "kinda". I agree with others that the name of the property probably misleads more often than it explains. Martin Baxter From tkuypers at dmp-int.com Wed Aug 9 09:36:15 2006 From: tkuypers at dmp-int.com (Ton Kuypers) Date: Wed, 9 Aug 2006 15:36:15 +0200 Subject: Regular Expression question Message-ID: <E6423F8A-1C01-433E-8549-39D911E7D72B@dmp-int.com> Hi, I have a list like: 1 1 1 2 2 3 4 4 4 And I need all double lines removed from this list so it becomes: 1 2 3 4 Anyone a suggestion? I am struggling through the regular expressions, but I can't seem to get it working... Warm regards, Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com From asgg35 at dsl.pipex.com Wed Aug 9 09:59:27 2006 From: asgg35 at dsl.pipex.com (Chris Carroll-Davis) Date: Wed, 9 Aug 2006 14:59:27 +0100 Subject: Export PNG weirdness References: <B0CD6088-62CD-4725-A95F-C0498069B2E8@carroll-davis.co.uk> Message-ID: <B8D4E663-5A75-4390-B7B1-59A2D8EC12CD@dsl.pipex.com> Hello everyone. Can anybody help with this ... I am exporting PNGs from fields, using this syntax: export snapshot from field fname to file imgPath as PNG This works just fine on about 30 or so fields, but when I come to one particular field it fails with error message: export: can't write to file, mask file, or container All the fields are opaque. If I switch this field to non-opaque... it works fine... or if I export as JPEG it works fine! The only difference (that I can see) between this field and others is that it is larger than the others. Has anyone come across this problem before? Could there be some other property that I have overlooked that is causing the problem? I am pulling my hair out at this one (and at my age I don't have too much to lose) Chris From mark at maseurope.net Wed Aug 9 10:10:07 2006 From: mark at maseurope.net (Mark Smith) Date: Wed, 9 Aug 2006 15:10:07 +0100 Subject: Regular Expression question In-Reply-To: <E6423F8A-1C01-433E-8549-39D911E7D72B@dmp-int.com> References: <E6423F8A-1C01-433E-8549-39D911E7D72B@dmp-int.com> Message-ID: <F0107DB2-FFC3-4915-A086-7DD6265502FB@maseurope.net> Not a regEx but works: function killDuplicateLines tList put empty into prevL repeat for each line L in tList if prevL is not L then put L & cr after newList put L into prevL end repeat return newList end killDuplicateLines Best, Mark On 9 Aug 2006, at 14:36, Ton Kuypers wrote: > 1 > 1 > 1 > 2 > 2 > 3 > 4 > 4 > 4 From tkuypers at dmp-int.com Wed Aug 9 10:13:03 2006 From: tkuypers at dmp-int.com (Ton Kuypers) Date: Wed, 9 Aug 2006 16:13:03 +0200 Subject: Regular Expression part 2 Message-ID: <38A7C055-C454-480F-B719-DF294DE56506@dmp-int.com> I have found a regular Expression which does exactly what I need and it works in BBedit but not in RR... What am I doing wrong? The script: ON mouseUp put "1" & cr & "1" & cr & "1" & cr & "4" & cr & "4" & cr & "6" & cr & "10" & cr & "10" & cr & "33" into vData put "^(.*)(" & cr & "\1)+$" into vSearch put "\1" into vReplace put replaceText(vData,vSearch,vReplace) into vData put vData END mouseUp vData is the same with and without the regex... HELPPPPPPP :-( Warm regards, Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com From tkuypers at dmp-int.com Wed Aug 9 10:16:35 2006 From: tkuypers at dmp-int.com (Ton Kuypers) Date: Wed, 9 Aug 2006 16:16:35 +0200 Subject: Regular Expression question In-Reply-To: <F0107DB2-FFC3-4915-A086-7DD6265502FB@maseurope.net> References: <E6423F8A-1C01-433E-8549-39D911E7D72B@dmp-int.com> <F0107DB2-FFC3-4915-A086-7DD6265502FB@maseurope.net> Message-ID: <E0165528-6704-44FC-B3AC-0238D43F723D@dmp-int.com> Hi mark, This works indeed very fine, thanks. I was just trying to use the regEx for speed reasons, very strange I can't get it to work... Warm regards, Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com On 9-aug-06, at 16:10, Mark Smith wrote: > Not a regEx but works: > > function killDuplicateLines tList > put empty into prevL > repeat for each line L in tList > if prevL is not L then put L & cr after newList > put L into prevL > end repeat > return newList > end killDuplicateLines > > > Best, > > Mark > > On 9 Aug 2006, at 14:36, Ton Kuypers wrote: > >> 1 >> 1 >> 1 >> 2 >> 2 >> 3 >> 4 >> 4 >> 4 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From pmbrig at comcast.net Wed Aug 9 10:24:57 2006 From: pmbrig at comcast.net (Peter Brigham) Date: Wed, 09 Aug 2006 10:24:57 -0400 Subject: [ANN] altAnswerDate wrapper for Sean Shao's calendar Message-ID: <E1AD34C3-C07D-4A14-8967-311EADCAEB83@comcast.net> I'd love to use the altAnswerDate() function in one of my stacks, but I can't figure out exactly how to do this. I made both altAnswerDateHarness and calendarWidget100 substacks of my main stack. then I tried: put "2006" into pYear put "8 into pMonth put "9" into pDate start using stack "altAnswerDateHarness" -- do I need this? -- doesn't work with or without it put altAnswerDate(pYear,pMonth,pDate) in the multiline message box, but it returns an error: Message execution error: Error description: Handler: can't find handler What is going wrong here? I'd like to just have the little modal calendar show, then return the selected date to one of my handlers, without showing either the full altAnswerDateHarness or calendarWidget100 windows. So how do I do that? Obviously, I'm missing something obvious.... -- Peter Peter M. Brigham pmbrig at comcast.net http://home.comcast.net/~pmbrig/ ~+~+~+~ PROGRAM, n. A spell cast over a computer allowing it to turn one's input into error messages. ~+~+~+~ On Mon, 7 Aug 2006 11:02:01 -0600 Devin Asay <devin_asay at hidden> wrote: **** Re: [ANN] altAnswerDate wrapper for Sean Shao's calendar Extremely cool! Thanks Sean and Chipp! Devin On Aug 5, 2006, at 6:39 PM, Chipp Walters wrote: ******** altAnswerDate This is a free wrapper for Sean Shao's fine calendarWidget which can be called simply like an answer dialog box. (Thanks again Sean for a great calendar widget) ...... snip ...... ******** **** From asgg35 at dsl.pipex.com Wed Aug 9 10:28:37 2006 From: asgg35 at dsl.pipex.com (Chris Carroll-Davis) Date: Wed, 9 Aug 2006 15:28:37 +0100 Subject: Export PNG weirdness In-Reply-To: <B8D4E663-5A75-4390-B7B1-59A2D8EC12CD@dsl.pipex.com> References: <B0CD6088-62CD-4725-A95F-C0498069B2E8@carroll-davis.co.uk> <B8D4E663-5A75-4390-B7B1-59A2D8EC12CD@dsl.pipex.com> Message-ID: <A2402AC5-660E-4D75-8D17-32DEA2C12567@dsl.pipex.com> Update: I can of course make this work by grabbing the relevant portion of screen (rather than specifying the field): put globalloc (Topleft of field fname) into tl put globalloc (botright of field fname) into br export snapshot from rect tl,br to file imgPath as PNG But this is a bit risky as I can't guarantee that there will be nothing on top of the field (e.g. floating palette) or that the field will completely contained on screen. Chris On 9 Aug 2006, at 14:59, Chris Carroll-Davis wrote: > > Hello everyone. > > Can anybody help with this ... > > I am exporting PNGs from fields, using this syntax: > > export snapshot from field fname to file imgPath as PNG > > This works just fine on about 30 or so fields, but when I come to > one particular field it fails with error message: > > export: can't write to file, mask file, or container > > All the fields are opaque. If I switch this field to non-opaque... > it works fine... or if I export as JPEG it works fine! The only > difference (that I can see) between this field and others is that > it is larger than the others. > > Has anyone come across this problem before? Could there be some > other property that I have overlooked that is causing the problem? > > I am pulling my hair out at this one (and at my age I don't have > too much to lose) > > > 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 JimAultWins at yahoo.com Wed Aug 9 10:51:36 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 09 Aug 2006 07:51:36 -0700 Subject: Regular Expression question In-Reply-To: <E6423F8A-1C01-433E-8549-39D911E7D72B@dmp-int.com> Message-ID: <C0FF4488.3C14D%JimAultWins@yahoo.com> On 8/9/06 6:36 AM, "Ton Kuypers" <tkuypers at dmp-int.com> wrote: This will do the same thing. The idea is to use Rev's array features such that keys are automatically unique and can be as long as you wish. This means that you could remove duplicate lines of any length. get listOfAnything filter it without empty --just in case repeat for each line LNN in it put 1 into tempArr[LNN] end repeat get the keys of tempArr sort it numeric --in your case for numbers answer it Jim Ault Las Vegas On 8/9/06 6:36 AM, "Ton Kuypers" <tkuypers at dmp-int.com> wrote: > Hi, > > I have a list like: > 1 > 1 > 1 > 2 > 2 > 3 > 4 > 4 > 4 > > And I need all double lines removed from this list so it becomes: > 1 > 2 > 3 > 4 From ambassador at fourthworld.com Wed Aug 9 10:56:50 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 09 Aug 2006 07:56:50 -0700 Subject: Regular Expression question Message-ID: <44D9F7B2.7070509@fourthworld.com> Ton Kuypers wrote: > I was just trying to use the regEx for speed reasons... RegEx is highly generalized, to the point that in each case I've benchmarked here I was able to come up with a faster solution using chunk expressions. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From kray at sonsothunder.com Wed Aug 9 10:59:00 2006 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 09 Aug 2006 09:59:00 -0500 Subject: [ANN] altAnswerDate wrapper for Sean Shao's calendar In-Reply-To: <E1AD34C3-C07D-4A14-8967-311EADCAEB83@comcast.net> Message-ID: <C0FF6264.40CFC%kray@sonsothunder.com> On 8/9/06 9:24 AM, "Peter Brigham" <pmbrig at comcast.net> wrote: > in the multiline message box, but it returns an error: > > Message execution error: > Error description: Handler: can't find handler Peter, try it in a button - there are some times when the Message Box has trouble executing stuff that works fine in an actual object. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Wed Aug 9 11:12:28 2006 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 09 Aug 2006 10:12:28 -0500 Subject: Regular Expression part 2 In-Reply-To: <38A7C055-C454-480F-B719-DF294DE56506@dmp-int.com> Message-ID: <C0FF658C.40D00%kray@sonsothunder.com> On 8/9/06 9:13 AM, "Ton Kuypers" <tkuypers at dmp-int.com> wrote: > I have found a regular Expression which does exactly what I need and > it works in BBedit but not in RR... > What am I doing wrong? Well, first of all, RR uses PCRE which is a slightly different parsing engine than what is used by BBEdit. So things like "\1" for placeholders aren't supported (see http://www.pcre.org/man.txt for more info). Also, I think that you will need to use a newline match (\n) instead of your "cr" in: > put "^(.*)(" & cr & "\1)+$" into vSearch And finally, you may want to test for the match first with matchText before you use replaceText. But also keep in mind that replaceText is limited by the fact that it can't work on extracted values, so you may be barking up the wrong tree. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From chipp at chipp.com Wed Aug 9 11:18:51 2006 From: chipp at chipp.com (Chipp Walters) Date: Wed, 9 Aug 2006 10:18:51 -0500 Subject: [ANN] altAnswerDate wrapper for Sean Shao's calendar In-Reply-To: <C0FF6264.40CFC%kray@sonsothunder.com> References: <E1AD34C3-C07D-4A14-8967-311EADCAEB83@comcast.net> <C0FF6264.40CFC%kray@sonsothunder.com> Message-ID: <7aa52a210608090818j20c66060u73a7830cb45b57ba@mail.gmail.com> Peter, You need to start using "calendarWidget100" (you don't need the altAnswerDateHarness-- it's just for the demo) Try that and see if it doesn't work. -Chipp From asgg35 at dsl.pipex.com Wed Aug 9 11:36:59 2006 From: asgg35 at dsl.pipex.com (Chris Carroll-Davis) Date: Wed, 9 Aug 2006 16:36:59 +0100 Subject: Export PNG weirdness In-Reply-To: <A2402AC5-660E-4D75-8D17-32DEA2C12567@dsl.pipex.com> References: <B0CD6088-62CD-4725-A95F-C0498069B2E8@carroll-davis.co.uk> <B8D4E663-5A75-4390-B7B1-59A2D8EC12CD@dsl.pipex.com> <A2402AC5-660E-4D75-8D17-32DEA2C12567@dsl.pipex.com> Message-ID: <889EB840-6750-422C-8647-0D50ABCC4324@dsl.pipex.com> UPDATE 2: weep, weep. It's the font. :-( I haven't worked out what the specific issues are, but it simply fails with many, many fonts. Don't know whether it is a problem with Postscript, TrueType, Unicode or what. I suppose I should lodge this as a bug - quite serious, in my opinion - since the ability to output images from specific controls was one of the features of 2.7.2 I believe. I've never used bugzilla before (!) is it simple to do? Unhappy Chris On 9 Aug 2006, at 15:28, Chris Carroll-Davis wrote: > Update: > > I can of course make this work by grabbing the relevant portion of > screen (rather than specifying the field): > > put globalloc (Topleft of field fname) into tl > put globalloc (botright of field fname) into br > export snapshot from rect tl,br to file imgPath as PNG > > But this is a bit risky as I can't guarantee that there will be > nothing on top of the field (e.g. floating palette) or that the > field will completely contained on screen. > > > Chris > > > > On 9 Aug 2006, at 14:59, Chris Carroll-Davis wrote: > >> >> Hello everyone. >> >> Can anybody help with this ... >> >> I am exporting PNGs from fields, using this syntax: >> >> export snapshot from field fname to file imgPath as PNG >> >> This works just fine on about 30 or so fields, but when I come to >> one particular field it fails with error message: >> >> export: can't write to file, mask file, or container >> >> All the fields are opaque. If I switch this field to non- >> opaque... it works fine... or if I export as JPEG it works fine! >> The only difference (that I can see) between this field and others >> is that it is larger than the others. >> >> Has anyone come across this problem before? Could there be some >> other property that I have overlooked that is causing the problem? >> >> I am pulling my hair out at this one (and at my age I don't have >> too much to lose) >> >> >> 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 > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Aug 9 11:53:57 2006 From: mark at maseurope.net (Mark Smith) Date: Wed, 9 Aug 2006 16:53:57 +0100 Subject: Regular Expression question In-Reply-To: <C0FF4488.3C14D%JimAultWins@yahoo.com> References: <C0FF4488.3C14D%JimAultWins@yahoo.com> Message-ID: <C1B8D7D7-A0C1-42DC-BF4B-27F34C17BACA@maseurope.net> This method is faster - but it doesn't do exactly the same thing. If the idea is simply to have unique values in each line, then this is the way to go. The method I suggested simply removes repeating lines, and would be more suitable if one were trying to record changes in a stream of values. Best, Mark On 9 Aug 2006, at 15:51, Jim Ault wrote: > On 8/9/06 6:36 AM, "Ton Kuypers" <tkuypers at dmp-int.com> wrote: > > This will do the same thing. > The idea is to use Rev's array features such that keys are > automatically > unique and can be as long as you wish. > This means that you could remove duplicate lines of any length. > > get listOfAnything > filter it without empty --just in case > repeat for each line LNN in it > put 1 into tempArr[LNN] > end repeat > get the keys of tempArr > sort it numeric --in your case for numbers > answer it > > > Jim Ault > Las Vegas > > On 8/9/06 6:36 AM, "Ton Kuypers" <tkuypers at dmp-int.com> wrote: > >> Hi, >> >> I have a list like: >> 1 >> 1 >> 1 >> 2 >> 2 >> 3 >> 4 >> 4 >> 4 >> >> And I need all double lines removed from this list so it becomes: >> 1 >> 2 >> 3 >> 4 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Wed Aug 9 12:52:42 2006 From: dsc at swcp.com (Dar Scott) Date: Wed, 9 Aug 2006 10:52:42 -0600 Subject: Export PNG weirdness In-Reply-To: <889EB840-6750-422C-8647-0D50ABCC4324@dsl.pipex.com> References: <B0CD6088-62CD-4725-A95F-C0498069B2E8@carroll-davis.co.uk> <B8D4E663-5A75-4390-B7B1-59A2D8EC12CD@dsl.pipex.com> <A2402AC5-660E-4D75-8D17-32DEA2C12567@dsl.pipex.com> <889EB840-6750-422C-8647-0D50ABCC4324@dsl.pipex.com> Message-ID: <C4275CFF-42FC-4AB4-BC4C-A682DD0923C7@swcp.com> On Aug 9, 2006, at 9:36 AM, Unhappy Chris Carroll-Davis wrote: > weep, weep. > > It's the font. :-( > > I haven't worked out what the specific issues are, but it simply > fails with many, many fonts. Do you mean that any of many fonts will cause the problem? Or that having many fonts (probably those of some characteristic) in the field will cause the problem? > Don't know whether it is a problem with Postscript, TrueType, > Unicode or what. > > I suppose I should lodge this as a bug - quite serious, in my > opinion - since the ability to output images from specific controls > was one of the features of 2.7.2 I believe. I've never used > bugzilla before(!) is it simple to do? There is a tiny bit of a learning curve and you have to register. It has been a long time since I registered or had to navigate to Revolution Bugzilla. I jump to a query page with my bookmark and my login seems to be automatic. You can also use a stack available from Ken Ray of Son of Thunder Software. I hope you do report this bug. The more you can narrow it down, the better the response. You will be able to add details to your report, so you can report now and add detail as you get it. On the other hand, maybe just "lots of fonts" will cause a programmer to cry "Arg, I knew I shouldn't have limited it to 10!" I can't think of a simple workaround. Maybe you can temporarily have only those displayed lines in the field if the number of lines are much greater than what can be displayed and only a few fonts are actually displayed in that small of a space. What OS? Dar Scott From stephenREVOLUTION at barncard.com Wed Aug 9 13:26:59 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 9 Aug 2006 10:26:59 -0700 Subject: HTML Tag Cleaner Fails In-Reply-To: <631FEF1D-8D75-4FAD-94C4-7A1D5D7FF47C@swcp.com> References: <44D6674A.5000600@hindu.org><70ed6b130608062253k38f7f95i1af4955130c2c7b7@m ail.gmail.com><404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com><70 ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com><76FCC001-3C23-4 70D-93D0-767DFE1207D7@economy-x-talk.com> <4970B64B-1935-4478-B3EE-81FA8D179D80@swcp.com> <eb9qn5$ijv$1@sea.gmane.org> <A9E90682-3127-425F-8391-D31DD4057EE6@economy-x-talk.com> <98E39853-274A-4B70-991F-E96C643E1AF7@swcp.com> <0D7CBCF4-CAA2-4382-8786-ECF50857811F@economy-x-talk.com> <ECECBA79-62AA-457E-8719-243188B25FCA@swcp.com> <72837234-9BE4-443E-8137-426F4D57CE0B@economy-x-talk.com> <631FEF1D-8D75-4FAD-94C4-7A1D5D7FF47C@swcp.com> Message-ID: <p0623090fc0ffb5e048ef@[192.168.1.105]> Guys, I don't get why <title> is worthy of an argument and bad feelings. If one expects this in incoming html, then search for it in the block before display, change it or put it into a var then let htmltext do the rest. This should work for any tag that's outside rev-Html. Using Derek Bump's css-to-html I've had good results in my experiments, anyway. The stack also includes nice a "browser-like" set of buttons that can set text styles in the source field. You can type and change and see the results on each keystroke. I made my own mods to it so see encode and decode working This can render rev htmltext for output to the web. If I want real html rendering from the outside world then I'll use Chipp's brilliant product altBrowser. sqb >On Aug 9, 2006, at 1:59 AM, Mark Schonewille wrote: > >>You twist my words, Dar. The logic you seem to discover in my words >>is definitely not mine. > >I apologize. I did not intend to twist your words. I'm sorry I did >not infer what you are meaning. > >I give up. You guys are right. The htmlText renders HTML. > >Dar > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From Roger.E.Eller at sealedair.com Wed Aug 9 13:45:38 2006 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Wed, 9 Aug 2006 13:45:38 -0400 Subject: Crazy Mac Filenames --- Cleanup Code Needed Message-ID: <OFBB89E878.86C13C4C-ON852571C5.00605793@sealedair.com> I have at least 30,000 Mac files and folders that have filenames containing non-cross-platform-friendly filenames. Many of them even include dates with the / character. This makes it difficult to use the Rev rename command to change it to a better name because the / is seen as a folder delimiter. Does anyone have a ready-made script that cleans up such filenames? These files are also buried within several subfolders, so it needs to work recursively. I owe you much gratitude if you can help. Roger Eller <roger.e.eller at sealedair.com> From dsc at swcp.com Wed Aug 9 13:47:31 2006 From: dsc at swcp.com (Dar Scott) Date: Wed, 9 Aug 2006 11:47:31 -0600 Subject: HTML Tag Cleaner Fails In-Reply-To: <D4CC13C5-B6AD-41A7-ACB1-2602A2CA016A@lacscentre.co.uk> References: <44D6674A.5000600@hindu.org><70ed6b130608062253k38f7f95i1af4955130c2c7b7@mail.gmail.com><404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com><70ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com><76FCC001-3C23-470D-93D0-767DFE1207D7@economy-x-talk.com> <4970B64B-1935-4478-B3EE-81FA8D179D80@swcp.com> <eb9qn5$ijv$1@sea.gmane.org> <A9E90682-3127-425F-8391-D31DD4057EE6@economy-x-talk.com> <98E39853-274A-4B70-991F-E96C643E1AF7@swcp.com> <0D7CBCF4-CAA2-4382-8786-ECF50857811F@economy-x-talk.com> <ECECBA79-62AA-457E-8719-243188B25FCA@swcp.com> <72837234-9BE4-443E-8137-426F4D57CE0B@economy-x-talk.com> <631FEF1D-8D75-4FAD-94C4-7A1D5D7FF47C@swcp.com> <D4CC13C5-B6AD-41A7-ACB1-2602A2CA016A@lacscentre.co.uk> Message-ID: <797B51F6-0DB2-487F-8E19-8528B6BB841E@swcp.com> On Aug 9, 2006, at 5:01 AM, Dave Cragg wrote: >> I give up. You guys are right. The htmlText renders HTML. > > I think you might be accused of twisting people's words again. :-) Guilty. > The above description suggests that it renders html well. I didn't > see anybody making that claim. > > Better perhaps... > > The htmlText renders html kinda. Perhaps a question to consider is whether we want it to be "mo kinda". Some folks use the htmlText as a way to handle and process the text as a single entity. Enhancing or fixing the HTML nature of this might break such scripts and make new scripts harder to write. Improving representation of the field text, might make htmlText less like HTML. So there is a bit of a stress between these goals, which might be labeled 'html' and 'format'. For example, if htmlText is enhanced or fixed to represent a sequence of spaces correctly, supporting the 'html' use, what impact has that on the 'format' use. Dar Scott From dsc at swcp.com Wed Aug 9 13:58:40 2006 From: dsc at swcp.com (Dar Scott) Date: Wed, 9 Aug 2006 11:58:40 -0600 Subject: HTML Tag Cleaner Fails In-Reply-To: <p0623090fc0ffb5e048ef@[192.168.1.105]> References: <44D6674A.5000600@hindu.org><70ed6b130608062253k38f7f95i1af4955130c2c7b7@m ail.gmail.com><404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com><70 ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com><76FCC001-3C23-4 70D-93D0-767DFE1207D7@economy-x-talk.com> <4970B64B-1935-4478-B3EE-81FA8D179D80@swcp.com> <eb9qn5$ijv$1@sea.gmane.org> <A9E90682-3127-425F-8391-D31DD4057EE6@economy-x-talk.com> <98E39853-274A-4B70-991F-E96C643E1AF7@swcp.com> <0D7CBCF4-CAA2-4382-8786-ECF50857811F@economy-x-talk.com> <ECECBA79-62AA-457E-8719-243188B25FCA@swcp.com> <72837234-9BE4-443E-8137-426F4D57CE0B@economy-x-talk.com> <631FEF1D-8D75-4FAD-94C4-7A1D5D7FF47C@swcp.com> <p0623090fc0ffb5e048ef@[192.168.1.105]> Message-ID: <03615919-5BE3-4DAA-8539-0D87606B8D35@swcp.com> On Aug 9, 2006, at 11:26 AM, Stephen Barncard wrote: > Guys, I don't get why <title> is worthy of an argument and bad > feelings. It is certainly not worthy of bad feelings. That may not be clear in bantering in email. And the argument, and here I mean discussion, is more about the nature of htmlText and the nature of advocacy for its features. Is the purpose of htmlText to represent text with formatting in a single easy-to-use value? Or is the purpose to represent HTML? It is easy to see which camp we are in. Are you eager to get the space representation fixed or enhanced? If yes, you are probably in the HTML camp. If no, then not. Dar Scott From david at openpartnership.net Wed Aug 9 13:59:08 2006 From: david at openpartnership.net (David Bovill) Date: Wed, 9 Aug 2006 18:59:08 +0100 Subject: HTML Tags and muliline regular expresions. Message-ID: <c1c5836b0608091059u3ce8b444oba2ee0ebbbe70759@mail.gmail.com> OK - I want to extract an HTML tag and all its contents up to the closing tag. I have so many bits of code floating around for doing this going back years and i would really like to do it properly and reliably one - so here is the question how do I use a regular expression to do this? First I have to admit that i can't remember how to do matchText / matchChunk stuff that covers more than one line - seem OK when everything is on one line... just a caviat :) I took a look in some detail at the this site: http://regexlib.com/DisplayPatterns.aspx?cattabindex=7&categoryId=8 but have not got very far. When I look at things like this: - <[^>]*name[\s]*=[\s]*"?[^\w_]*"?[^>]*> - <(\/{0,1})textarea(.*?)(\/{0,1})\> - (?<HTML><a[^>]*href\s*=\s*[\"\']?(?<HRef>[^"'>\s]*)[\"\']?[^>]*>(?<Title>[^<]+|.*?)?</a\s*>) - <a[\s]+[^>]*?href[\s]?=[\s\"\']+(.*?)[\"\']+.*?>([^<]+|.*?)?<\/a> - \s(type|name|value)=(?:(\w+)|(?:"(.*?)")|(?:\'(.*)\')) I go weak at the knees :) Anyone have any good regular expressions for this sort of html processing in rev? From klaus at major-k.de Wed Aug 9 14:01:26 2006 From: klaus at major-k.de (Klaus Major) Date: Wed, 9 Aug 2006 20:01:26 +0200 Subject: Crazy Mac Filenames --- Cleanup Code Needed In-Reply-To: <OFBB89E878.86C13C4C-ON852571C5.00605793@sealedair.com> References: <OFBB89E878.86C13C4C-ON852571C5.00605793@sealedair.com> Message-ID: <C755EFFD-28C6-4232-9165-C9A2899F7CCD@major-k.de> Hi Roger, > I have at least 30,000 Mac files and folders that have filenames > containing non-cross-platform-friendly filenames. Many of them even > include dates with the / character. This makes it difficult to use > the Rev > rename command to change it to a better name because the / is seen > as a > folder delimiter. no need to worry here, these filenames are nicely resolved in Rev! Example: Filename on HD: Pythons/1.jpg Path in Finder: -> /Users/klaus/Desktop/Pythons/1.jpg Filename returned from "ask file..." (the way Rev sees the file!): -> /Users/klaus/Desktop/Pythons:1.jpg The slash "/" is replaced with a colon":", one of the forbidden characters in OS X Finder pathnames, smart, isn't it :-) > Does anyone have a ready-made script that cleans up such > filenames? These files are also buried within several subfolders, > so it > needs to work recursively. I owe you much gratitude if you can help. And here you have an example recursive script: http://www.sonsothunder.com/devres/revolution/tips/file007.htm That will get you started. > Roger Eller <roger.e.eller at sealedair.com> Regards Klaus Major klaus at major-k.de http://www.major-k.de From soapdog at mac.com Wed Aug 9 14:21:44 2006 From: soapdog at mac.com (Andre Garzia) Date: Wed, 9 Aug 2006 15:21:44 -0300 Subject: HTML Tag Cleaner Fails In-Reply-To: <03615919-5BE3-4DAA-8539-0D87606B8D35@swcp.com> References: <44D6674A.5000600@hindu.org> <404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com> <"70 ed6b130608070108x1628f911j8f2478a9bbc945f1"@mail.gmail.com> <"76FCC001-3C23-4 70D-93D0-767DFE1207D7"@economy-x-talk.com> <4970B64B-1935-4478-B3EE-81FA8D179D80@swcp.com> <eb9qn5$ijv$1@sea.gmane.org> <A9E90682-3127-425F-8391-D31DD4057EE6@economy-x-talk.com> <98E39853-274A-4B70-991F-E96C643E1AF7@swcp.com> <0D7CBCF4-CAA2-4382-8786-ECF50857811F@economy-x-talk.com> <ECECBA79-62AA-457E-8719-243188B25FCA@swcp.com> <72837234-9BE4-443E-8137-426F4D57CE0B@economy-x-talk.com> <631FEF1D-8D75-4FAD-94C4-7A1D5D7FF47C@swcp.com> <p0623090fc0ffb5e048ef@[192.168.1.105]> <03615919-5BE3-4DAA-8539-0D87606B8D35@swcp.com> Message-ID: <226F07E9-AAC3-49FB-8C66-9D20B1E94084@mac.com> Folks, I haven't been following this thread. Was someone trying to set the htmlText prop and then retrieve the plain text prop to strip out the HTML? I know this didn't work, why can someone use matchText(theText, "<(.+?)>", theTag) and loop to match all tags? Cheers andre From bobs at twft.com Wed Aug 9 14:21:55 2006 From: bobs at twft.com (Robert Sneidar) Date: Wed, 9 Aug 2006 11:21:55 -0700 Subject: Regular Expression question In-Reply-To: <20060809162529.C7DD982553C@mail.runrev.com> References: <20060809162529.C7DD982553C@mail.runrev.com> Message-ID: <11B57E2C-89DF-4690-A60E-66506BF8FC91@twft.com> put <yourdatahere> into moldlist put "" into mnewlist repeat for each line theLine of moldlist if line theLine is in mnewlist then next repeat else put line theLine of moldlist & return after mnewlist end repeat Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Aug 9, 2006, at 9:25 AM, use-revolution-request at lists.runrev.com wrote: > I have a list like: > 1 > 1 > 1 > 2 > 2 > 3 > 4 > 4 > 4 > > And I need all double lines removed from this list so it becomes: > 1 > 2 > 3 > 4 > > Anyone a suggestion? I am struggling through the regular expressions, > but I can't seem to get it working... From wlists at fireworksmm.com Wed Aug 9 14:26:16 2006 From: wlists at fireworksmm.com (Wally Rodriguez) Date: Wed, 9 Aug 2006 14:26:16 -0400 Subject: [ANN] Search Widget 1.0.0 In-Reply-To: <BAY105-F2A3594DA7CBD06D6C6287C35F0@phx.gbl> References: <BAY105-F2A3594DA7CBD06D6C6287C35F0@phx.gbl> Message-ID: <D06BEFAF-E4A0-4DBF-8193-3F6DB40EFF8A@fireworksmm.com> Hey Sean: First of all thanks for the widgets. Very cool. One thing, the pic describing the search widget has the description for the time widget. Just cosmetic, but I thought you'd like to know. W. On Jul 29, 2006, at 8:01 PM, Sean Shao wrote: > Reusable control that will filter a field. > > _________________________________________________________________ > Don?t just search. Find. Check out the new MSN Search! http:// > search.msn.click-url.com/go/onm00200636ave/direct/01/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Wed Aug 9 14:38:23 2006 From: dsc at swcp.com (Dar Scott) Date: Wed, 9 Aug 2006 12:38:23 -0600 Subject: HTML Tag Cleaner Fails In-Reply-To: <03615919-5BE3-4DAA-8539-0D87606B8D35@swcp.com> References: <44D6674A.5000600@hindu.org><70ed6b130608062253k38f7f95i1af4955130c2c7b7@m ail.gmail.com><404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com><70 ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com><76FCC001-3C23-4 70D-93D0-767DFE1207D7@economy-x-talk.com> <4970B64B-1935-4478-B3EE-81FA8D179D80@swcp.com> <eb9qn5$ijv$1@sea.gmane.org> <A9E90682-3127-425F-8391-D31DD4057EE6@economy-x-talk.com> <98E39853-274A-4B70-991F-E96C643E1AF7@swcp.com> <0D7CBCF4-CAA2-4382-8786-ECF50857811F@economy-x-talk.com> <ECECBA79-62AA-457E-8719-243188B25FCA@swcp.com> <72837234-9BE4-443E-8137-426F4D57CE0B@economy-x-talk.com> <631FEF1D-8D75-4FAD-94C4-7A1D5D7FF47C@swcp.com> <p0623090fc0ffb5e048ef@[192.168.1.105]> <03615919-5BE3-4DAA-8539-0D87606B8D35@swcp.com> Message-ID: <E737C3CA-07B4-4843-AC35-52003C384C5E@swcp.com> On Aug 9, 2006, at 11:58 AM, Dar Scott wrote: > It is easy to see which camp we are in. > > Are you eager to get the space representation fixed or enhanced? > If yes, you are probably in the HTML camp. If no, then not. And if you are surprised at the entities handled when htmlText is set that are not even generated when htmText is fetched, then you are probably in the 'tagged' or 'formatting' camp. If you think it is most important that 'set the htmlText of field x to the htmlText of field x' should leave it unchanged, then you are probably in the 'tagged' or 'formatting' camp. This is a little fuzzy. Dar From david at openpartnership.net Wed Aug 9 14:49:49 2006 From: david at openpartnership.net (David Bovill) Date: Wed, 9 Aug 2006 19:49:49 +0100 Subject: HTML Tags and muliline regular expresions. In-Reply-To: <c1c5836b0608091059u3ce8b444oba2ee0ebbbe70759@mail.gmail.com> References: <c1c5836b0608091059u3ce8b444oba2ee0ebbbe70759@mail.gmail.com> Message-ID: <c1c5836b0608091149j41a32c25u8cd8a06591eef92e@mail.gmail.com> OK - here is what I have got so far. First I gave up on the multiline thing... for now I just replaced all lineFeeeds with empty - still would like to know how to do this longer term. This is my function: function html_ExtractTagContents tagName, someHtml > -- get the first one only > -- using white space char "\s*" all over the place > > local tagContents -- not sure if it is still required > > put "<\s*" & tagName & "\s+name=[^>]*>(.*)<\s*/\s*" & tagName & "\s*>" > into someReg > -- put "(?m)" before someReg -- does not seem to have an effect > replace lineFeed with empty in someHtml -- seems neessary > > if matchText(someHtml, someReg, tagContents) is false then > return empty > else > return tagContents > end if > end html_ExtractTagContents > Any improvements - especially how to do the multiline thing properly? For reference the following extracts were taken from the prce manText at: http://www.pcre.org/man.txt Some RegExp Info There are two different sets of metacharacters: those that are recog- > nized anywhere in the pattern except within square brackets, and those > that are recognized in square brackets. Outside square brackets, the > metacharacters are as follows: > > \ general escape character with several uses > ^ assert start of string (or line, in multiline mode) > $ assert end of string (or line, in multiline mode) > . match any character except newline (by default) > [ start character class definition > | start of alternative branch > ( start subpattern > ) end subpattern > ? extends the meaning of ( > also 0 or 1 quantifier > also quantifier minimizer > * 0 or more quantifier > + 1 or more quantifier > also "possessive quantifier" > { start min/max quantifier > > Part of a pattern that is in square brackets is called a "character > class". In a character class the only metacharacters are: > > \ general escape character > ^ negate the class, but only if the first character > - indicates character range > [ POSIX character class (only if followed by POSIX > syntax) > ] terminates the character class > Non-printing characters \d any decimal digit \D any character that is not a decimal digit \s any whitespace character \S any character that is not a whitespace character \w any "word" character \W any "non-word" character Non-printing characters \a alarm, that is, the BEL character (hex 07) \cx "control-x", where x is any character \e escape (hex 1B) \f formfeed (hex 0C) \n newline (hex 0A) \r carriage return (hex 0D) \t tab (hex 09) \ddd character with octal code ddd, or backreference \xhh character with hex code hh \x{hhh..} character with hex code hhh.. The backslashed assertions are: \b matches at a word boundary \B matches when not at a word boundary \A matches at start of subject \Z matches at end of subject or before newline at end \z matches at end of subject \G matches at first matching position in subject INTERNAL OPTION SETTING The settings of the PCRE_CASELESS, PCRE_MULTILINE, PCRE_DOTALL, and PCRE_EXTENDED options can be changed from within the pattern by a sequence of Perl option letters enclosed between "(?" and ")". The option letters are i for PCRE_CASELESS > m for PCRE_MULTILINE > s for PCRE_DOTALL > x for PCRE_EXTENDED > For example, (?im) sets caseless, multiline matching. It is also possi- ble to unset these options by preceding the letter with a hyphen, and a combined setting and unsetting such as (?im-sx), which sets PCRE_CASE- LESS and PCRE_MULTILINE while unsetting PCRE_DOTALL and PCRE_EXTENDED, is also permitted. If a letter appears both before and after the hyphen, the option is unset. From chipp at chipp.com Wed Aug 9 15:17:55 2006 From: chipp at chipp.com (Chipp Walters) Date: Wed, 9 Aug 2006 14:17:55 -0500 Subject: HTML Tag Cleaner Fails In-Reply-To: <E737C3CA-07B4-4843-AC35-52003C384C5E@swcp.com> References: <44D6674A.5000600@hindu.org> <A9E90682-3127-425F-8391-D31DD4057EE6@economy-x-talk.com> <98E39853-274A-4B70-991F-E96C643E1AF7@swcp.com> <0D7CBCF4-CAA2-4382-8786-ECF50857811F@economy-x-talk.com> <ECECBA79-62AA-457E-8719-243188B25FCA@swcp.com> <72837234-9BE4-443E-8137-426F4D57CE0B@economy-x-talk.com> <631FEF1D-8D75-4FAD-94C4-7A1D5D7FF47C@swcp.com> <p0623090fc0ffb5e048ef@192.168.1.105> <03615919-5BE3-4DAA-8539-0D87606B8D35@swcp.com> <E737C3CA-07B4-4843-AC35-52003C384C5E@swcp.com> Message-ID: <7aa52a210608091217u3c80c596y4463ff529fd2fe2@mail.gmail.com> I sure wouldn't want this thread to stop! OK, the httmltext doesn't render multiples spaces as a single space. And it doesn't do tables, or forms, or a lot of other suff. But, I use it ALL THE TIME. Just about every project I do contains htmltext. It's create for embedding links into fields, or images, or formatting the text in a filed or creating psedo-tables with tabstops, or creating oultine controls. While it won't render the majority of HTML pages, it is certainly useful for many of us. btw, Dar, as smart as you are, I'm sure you can create a RegEx script to render the multiple spaces as one ;-). Even though it would be a hack, it's one that works, and us Rev programmers are all about figuring out how to make things WORK. -Chipp From devin_asay at byu.edu Wed Aug 9 15:27:38 2006 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 9 Aug 2006 13:27:38 -0600 Subject: Regular Expression question In-Reply-To: <11B57E2C-89DF-4690-A60E-66506BF8FC91@twft.com> References: <20060809162529.C7DD982553C@mail.runrev.com> <11B57E2C-89DF-4690-A60E-66506BF8FC91@twft.com> Message-ID: <EF1B3E18-E093-4CA5-AACB-9544B7517EAF@byu.edu> Having been caught by things like this before, I would suggest a small modification to Bob's script: On Aug 9, 2006, at 12:21 PM, Robert Sneidar wrote: > > put <yourdatahere> into moldlist > put "" into mnewlist > > repeat for each line theLine of moldlist > if line theLine is among the lines of mnewlist then ^^^^^^^^^^^^^^^^^^^ > next repeat > else > put line theLine of moldlist & return after mnewlist > end repeat This will work if the numbers in your list go to > 9 and they are not in numeric order. For instance, 10 10 10 2 2 1 1 1 If you just check "is in" the script will skip '1', since 1 is in 10. The 'among the lines of' forces the comparison to only consider whole line matches. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From tkuypers at dmp-int.com Wed Aug 9 15:38:41 2006 From: tkuypers at dmp-int.com (Ton Kuypers) Date: Wed, 9 Aug 2006 21:38:41 +0200 Subject: Crazy Mac Filenames --- Cleanup Code Needed In-Reply-To: <OFBB89E878.86C13C4C-ON852571C5.00605793@sealedair.com> References: <OFBB89E878.86C13C4C-ON852571C5.00605793@sealedair.com> Message-ID: <A8D198A1-AC2E-470E-BADC-C6649F90A36F@dmp-int.com> Don't like advertising our stuff on this list, but we created a small (but commercial) utility using Revolution doing what you need and more... It also adds the proper extension to the files... Just take a look at our website for "FilenameCorrector"... If you like it, a new version will be online any day now, giving a few extra features... Warm regards, Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com On 9-aug-06, at 19:45, Roger.E.Eller at sealedair.com wrote: > I have at least 30,000 Mac files and folders that have filenames > containing non-cross-platform-friendly filenames. Many of them even > include dates with the / character. This makes it difficult to use > the Rev > rename command to change it to a better name because the / is seen > as a > folder delimiter. Does anyone have a ready-made script that cleans > up such > filenames? These files are also buried within several subfolders, > so it > needs to work recursively. I owe you much gratitude if you can help. > > Roger Eller <roger.e.eller at sealedair.com> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Wed Aug 9 15:48:18 2006 From: chipp at chipp.com (Chipp Walters) Date: Wed, 9 Aug 2006 14:48:18 -0500 Subject: Problems using Send and Functions with 2 parameters In-Reply-To: <c935444f0608082042x32c0bdas60b2ef85da13bf2c@mail.gmail.com> References: <c935444f0608081358q4ce6653fodf9d09a768dfc5b1@mail.gmail.com> <C0FE928A.3C0DA%JimAultWins@yahoo.com> <c935444f0608082042x32c0bdas60b2ef85da13bf2c@mail.gmail.com> Message-ID: <7aa52a210608091248o69e4e952o40efe1afd2c542aa@mail.gmail.com> Hmmm, Since Shao's mention of the value function received no response, I'd thought I'd reiterate the obvious. From the Docs: <quote> How do I call a custom function that's not in the message path? You use the value function to call a function that's in the script of an object that isn't in the message path. Usually, you can only call custom functions that are somewhere in the message path, but you can use the value function to call any function in any object in an open stack. For example, suppose you want to use a function named "myFunction" which is defined in the script of card 1 of a stack named "My Stack". The following statement can be used to call the function from any script or from the message box: get value("myFunction()",card 1 of stack "My Stack") <end of quote> From david at openpartnership.net Wed Aug 9 15:48:38 2006 From: david at openpartnership.net (David Bovill) Date: Wed, 9 Aug 2006 20:48:38 +0100 Subject: Regular expressions and html: html_ExtractAllLinks Message-ID: <c1c5836b0608091248h4a29f5f1k86965d836cc975bf@mail.gmail.com> Experiment in the world of regular expressions - this one got 5 stars and is simple. Not tested much - see if it works for you? function html_ExtractAllLinks someHtml /* based on http://regexlib.com/REDetails.aspx?regexp_id=774 Pattern: href[\s]*=[\s]*"[^\n"]*" RegExp Author: Tony Hawe Matching Text: href ="http://www.theregister.com/"|||href="http://theregister.co.uk"|||hre Non-Matching Text: href=http://theregister.co.uk Description: A very short pattern for extracting hrefs from HTML, does not validate they are within a tag */ local urlIndex replace lineFeed with empty in someHtml -- seems necessary put "href[\s]*=[\s]*'([^\n']*)'" into someReg replace "'" with quote in someReg -- for now to make regExp readable repeat if matchChunk(someHtml, someReg, startCharNum, endCharNum) is false then delete last char of urlIndex return urlIndex else put char startCharNum to endCharNum of someHtml into someUrl put someUrl & CR after urlIndex delete char 1 to endCharNum + 1 of someHtml end if end repeat end html_ExtractAllLinks From dsc at swcp.com Wed Aug 9 16:31:29 2006 From: dsc at swcp.com (Dar Scott) Date: Wed, 9 Aug 2006 14:31:29 -0600 Subject: [ANN] darzTimer, a plugin for high-res timing in development Message-ID: <C1B17821-F1E1-4F6A-A43F-1789841FA691@swcp.com> Thanks everybody for advice and goodies. It's about time I gave back again. Here it is. The folks at Dar's Lab (a division of Dar Scott Consulting) are pleased to make available to the Revolution community the darzTimer plugin. The plugin allows you to insert and remove a timing API for use in the IDE during development. Timing resolution is typically better than a microsecond on OS X and Windows. Yes, even Windows! All libraries and externals are built-in, so you don't have to worry about where to put those. Simply drop the plugin into the plugins folder in your Revolution installation and you are ready. There is a simple demo stack to try timing an operation that takes a variable length of time. You can get more information and download here: http://www.swcp.com/dsc/revstacks.html I welcome and crave feedback on blemishes and interesting behavior for any platform or Revolution version. Dar Scott Dar Scott Consulting and Dar's Lab Albuquerque http://www.swcp.com/dsc/ From dsc at swcp.com Wed Aug 9 16:43:07 2006 From: dsc at swcp.com (Dar Scott) Date: Wed, 9 Aug 2006 14:43:07 -0600 Subject: Problems using Send and Functions with 2 parameters In-Reply-To: <7aa52a210608091248o69e4e952o40efe1afd2c542aa@mail.gmail.com> References: <c935444f0608081358q4ce6653fodf9d09a768dfc5b1@mail.gmail.com> <C0FE928A.3C0DA%JimAultWins@yahoo.com> <c935444f0608082042x32c0bdas60b2ef85da13bf2c@mail.gmail.com> <7aa52a210608091248o69e4e952o40efe1afd2c542aa@mail.gmail.com> Message-ID: <24E59613-B87D-41B1-AD8D-E8ABD8A46AC9@swcp.com> On Aug 9, 2006, at 1:48 PM, Chipp Walters wrote: > I'd thought > I'd reiterate the obvious. From the Docs: > get value("myFunction()",card 1 of stack "My Stack") I thought I'd reiterate the less-than-obvious. This cannot return an array. (BZ 669) (What's crazy is that if you leave out the object reference, it can return an array, but it is limited in returning a number!) Dar Scott uses ! in () From david at openpartnership.net Wed Aug 9 16:58:51 2006 From: david at openpartnership.net (David Bovill) Date: Wed, 9 Aug 2006 21:58:51 +0100 Subject: [ANN] darzTimer, a plugin for high-res timing in development In-Reply-To: <C1B17821-F1E1-4F6A-A43F-1789841FA691@swcp.com> References: <C1B17821-F1E1-4F6A-A43F-1789841FA691@swcp.com> Message-ID: <c1c5836b0608091358n2a4dd94cm938b812c718ed9e@mail.gmail.com> > > The plugin provides a high-precision timer for those developing in > Revolution with enhanced reliability and greatly improved jitter. The API is > available only in the IDE. > Don't get the basics here Dar? Timing for what??? I am not sure I want more jitter in my Rev stacks :) From chipp at chipp.com Wed Aug 9 17:19:51 2006 From: chipp at chipp.com (Chipp Walters) Date: Wed, 9 Aug 2006 16:19:51 -0500 Subject: Problems using Send and Functions with 2 parameters In-Reply-To: <24E59613-B87D-41B1-AD8D-E8ABD8A46AC9@swcp.com> References: <c935444f0608081358q4ce6653fodf9d09a768dfc5b1@mail.gmail.com> <C0FE928A.3C0DA%JimAultWins@yahoo.com> <c935444f0608082042x32c0bdas60b2ef85da13bf2c@mail.gmail.com> <7aa52a210608091248o69e4e952o40efe1afd2c542aa@mail.gmail.com> <24E59613-B87D-41B1-AD8D-E8ABD8A46AC9@swcp.com> Message-ID: <7aa52a210608091419o2332366ege6add0c3ee635afb@mail.gmail.com> Sorry, I didn't see where Ian was trying to return an array. And I'm sorry if I missed your first iteration. best, Chipp From RGould8 at aol.com Wed Aug 9 17:26:50 2006 From: RGould8 at aol.com (RGould8 at aol.com) Date: Wed, 9 Aug 2006 17:26:50 EDT Subject: Best way to have images in scrolling field? Message-ID: <390.458d3e8.320bad1a@aol.com> I need to have some images inside a scrolling field. Each image needs to have 2 lines of text to the right of it. How many options do I have? From what I'm reading able fields, it appears that I can: 1) Use a table-field object, put a char in column 1 and set the "imagesource" of that char. Then put my text that is to appear to the right of that image into column 2. I set the fixedlineheight to FALSE so that the image height fits in the table. 2) Use a regular field object - - - which I initially tried. I used the same technique as in #1 above. The problem is that I can't seem to position more than 1 line of text to the right of the image. (and it's bottom-aligned) 3) Use HTMLtext somehow - - - except that HTML tables in fields don't work, so I ruled out that idea. 4) Dynamically create graphic objects and text objects, and group them via code as they are drawn and put a scrollbar on the group. I really don't want to go that route. Do I have any other options? From chipp at chipp.com Wed Aug 9 17:29:42 2006 From: chipp at chipp.com (Chipp Walters) Date: Wed, 9 Aug 2006 16:29:42 -0500 Subject: [ANN] darzTimer, a plugin for high-res timing in development In-Reply-To: <C1B17821-F1E1-4F6A-A43F-1789841FA691@swcp.com> References: <C1B17821-F1E1-4F6A-A43F-1789841FA691@swcp.com> Message-ID: <7aa52a210608091429w3b49c473q5651477df52135cc@mail.gmail.com> Hi Dar, I DL'd your timer, and the demo and your file. I opened the darzTimer stack first, then the darzTimerDemo. I set the darzTimer to LibaryStack (and tried FrontScript too), but could never get the Time 'repeat n times' button to work. It always threw an error at: darzTimerStart in it's script. I tried manually inserting: start using stack "darzTimer" before it, but still got the error: Handler: can't fine handler I can't examine the scripts in the library because they're password protected (why?). I'm on WinXP and Rev 2.6.1 best, Chipp From chipp at chipp.com Wed Aug 9 17:41:29 2006 From: chipp at chipp.com (Chipp Walters) Date: Wed, 9 Aug 2006 16:41:29 -0500 Subject: Best way to have images in scrolling field? In-Reply-To: <390.458d3e8.320bad1a@aol.com> References: <390.458d3e8.320bad1a@aol.com> Message-ID: <7aa52a210608091441p25933c12v937294a2a25cb8c5@mail.gmail.com> Ding ding, 4's the winner. Sorry ;-( .. Unless You can also create 2 fields, put images in the first and line up the text in the second and then scroll the first field in sync with the second, though that's not much simpler... -Chipp On 8/9/06, RGould8 at aol.com <RGould8 at aol.com> wrote: > > > > 4) Dynamically create graphic objects and text objects, and group them > via > code as they are drawn and put a scrollbar on the group. I really don't > want > to go that route. > From dsc at swcp.com Wed Aug 9 17:41:42 2006 From: dsc at swcp.com (Dar Scott) Date: Wed, 9 Aug 2006 15:41:42 -0600 Subject: [ANN] darzTimer, a plugin for high-res timing in development In-Reply-To: <c1c5836b0608091358n2a4dd94cm938b812c718ed9e@mail.gmail.com> References: <C1B17821-F1E1-4F6A-A43F-1789841FA691@swcp.com> <c1c5836b0608091358n2a4dd94cm938b812c718ed9e@mail.gmail.com> Message-ID: <C033432C-4DC8-4C04-8BF4-D5FBFA4DE389@swcp.com> On Aug 9, 2006, at 2:58 PM, David Bovill wrote: >> The plugin provides a high-precision timer for those developing in >> Revolution with enhanced reliability and greatly improved jitter. >> The API is >> available only in the IDE. >> > > Don't get the basics here Dar? Timing for what??? I am not sure I > want more > jitter in my Rev stacks :) I'm still learning to communicate. You can insert into your scripts two timing calls and a call to get the time between those or a call to display the time. Like this: on mouseUp darzTimerStart open file "test" close file "test" darzTimerStop darzTimerDisplay -- displays the formatted delta seconds in the plugin put "open/close time:" & darzTimerSeconds() -- delta seconds to the message box end mouseUp You now can time things that can be done only once: on mouseUp darzTimerStart destroyRocket darzTimerStop darzTimerDisplay end mouseUp Before, in Windows, because of the 10 to 17 millisecond typical resolution available in Revolution, you had to create a loop and destroy a thousand rockets to get this timing. And even then you had the tiny loop overhead in your timing. Also, as in the case of the open/close test, sometimes the results for the first timing are not the same as the results for the second timing. A tiny amount is subtracted from measurements for the call overhead. You can calibrate that amount by putting these lines in the same script that the timing is in (so it will see exactly the same message path): darzTimerStart darzTimerStop darzTimerCal darzTimerSeconds() If you want raw timing then include this in your script: darzTimerCal 0 Uh, this is actually part of the experiment. I hope to release somethings with an eBooklet explaining things. And somethings without. I see most cases need some hints as to why one wants them. If you try this and get a handler not found, then open the plugin and change the setting from "Removed" to "Front Script" or "Script Library". The first is better for timing fast built-in things. The latter is better for timing scripts that use other scripts. For very short times, the message path overhead is predominant and it can add some noise to measurements. It is often hard to predict. Also, the OS is always doing this and that, so you will see a little variation. The display in the plugin is formatted like this: 2,999,999.999 999 999 So if you see something like this: 0.000 015 812 You can quickly see that it is over 15 microseconds. Some trailing digits are gray depending on the resolution of that measurement. Those are not significant. The non-gray digits will turn a color such as red if darzTimer had to use fallbacks to cope with hardware failure or extreme drift. You should be able to time durations up to 24 days, but I haven't tried that. The plugin just sits there when not in use. It doesn't tie up CPU cycles. The library when inserted is in the message path and thus can slow down execution a tiny bit. Let me know if you need more. Dar From dsc at swcp.com Wed Aug 9 17:56:42 2006 From: dsc at swcp.com (Dar Scott) Date: Wed, 9 Aug 2006 15:56:42 -0600 Subject: [ANN] darzTimer, a plugin for high-res timing in development In-Reply-To: <7aa52a210608091429w3b49c473q5651477df52135cc@mail.gmail.com> References: <C1B17821-F1E1-4F6A-A43F-1789841FA691@swcp.com> <7aa52a210608091429w3b49c473q5651477df52135cc@mail.gmail.com> Message-ID: <36CE52B4-F07D-4F1F-8816-D808356B1D1C@swcp.com> On Aug 9, 2006, at 3:29 PM, Chipp Walters wrote: > It always threw an error at: > > darzTimerStart > > in it's script. That looks like the plugin is not inserting the library. You should be able to see a supporting library listed the right place in the message box. > I tried manually inserting: > > start using stack "darzTimer" > > before it, but still got the error: Handler: can't fine handler The library stack has a different name. For windows it would be "darzTimer WIN32 Helper Lib". That should have an external loaded. Hmmm. Works here. I'm going to download and go through the motions and see what happens. > I can't examine the scripts in the library because they're password > protected (why?). Mostly so I can see what the impact is of password protection. I'm seeing part of that! :-) The first round of pre-pub did not have that. Dar From dsc at swcp.com Wed Aug 9 17:58:01 2006 From: dsc at swcp.com (Dar Scott) Date: Wed, 9 Aug 2006 15:58:01 -0600 Subject: Problems using Send and Functions with 2 parameters In-Reply-To: <7aa52a210608091419o2332366ege6add0c3ee635afb@mail.gmail.com> References: <c935444f0608081358q4ce6653fodf9d09a768dfc5b1@mail.gmail.com> <C0FE928A.3C0DA%JimAultWins@yahoo.com> <c935444f0608082042x32c0bdas60b2ef85da13bf2c@mail.gmail.com> <7aa52a210608091248o69e4e952o40efe1afd2c542aa@mail.gmail.com> <24E59613-B87D-41B1-AD8D-E8ABD8A46AC9@swcp.com> <7aa52a210608091419o2332366ege6add0c3ee635afb@mail.gmail.com> Message-ID: <B3486750-C957-4376-8D68-5D1B18428CEC@swcp.com> On Aug 9, 2006, at 3:19 PM, Chipp Walters wrote: > I didn't see where Ian was trying to return an array. And I'm sorry > if I > missed your first iteration. Oh, no, no. That was just a general comment I threw in just to show off, I mean, to be helpful and to warn of possible problems. Dar From dsc at swcp.com Wed Aug 9 18:05:14 2006 From: dsc at swcp.com (Dar Scott) Date: Wed, 9 Aug 2006 16:05:14 -0600 Subject: [ANN] darzTimer, a plugin for high-res timing in development In-Reply-To: <7aa52a210608091429w3b49c473q5651477df52135cc@mail.gmail.com> References: <C1B17821-F1E1-4F6A-A43F-1789841FA691@swcp.com> <7aa52a210608091429w3b49c473q5651477df52135cc@mail.gmail.com> Message-ID: <57975AA3-AC93-4A7C-AB2C-4FAE25853B1F@swcp.com> On Aug 9, 2006, at 3:29 PM, Chipp Walters wrote: > It always threw an error at: > > darzTimerStart > > in it's script. But you got no such error in the plugin? The plugin uses that every time you set the insertion location with the option menu. Dar From kray at sonsothunder.com Wed Aug 9 18:13:06 2006 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 09 Aug 2006 17:13:06 -0500 Subject: Best way to have images in scrolling field? In-Reply-To: <390.458d3e8.320bad1a@aol.com> Message-ID: <C0FFC822.40D70%kray@sonsothunder.com> On 8/9/06 4:26 PM, "RGould8 at aol.com" <RGould8 at aol.com> wrote: > I need to have some images inside a scrolling field. Each image needs to > have 2 lines of text to the right of it. > > How many options do I have? From what I'm reading able fields, it appears > that I can: > > 1) Use a table-field object, put a char in column 1 and set the > "imagesource" of that char. Then put my text that is to appear to the right > of that > image into column 2. I set the fixedlineheight to FALSE so that the image > height fits in the table. > > 2) Use a regular field object - - - which I initially tried. I used the > same technique as in #1 above. The problem is that I can't seem to position > more than 1 line of text to the right of the image. (and it's > bottom-aligned) > > 3) Use HTMLtext somehow - - - except that HTML tables in fields don't work, > so I ruled out that idea. > > 4) Dynamically create graphic objects and text objects, and group them via > code as they are drawn and put a scrollbar on the group. I really don't want > to go that route. > > Do I have any other options? Yes - a demoed but unreleased library called "libSTSIconList" will do exactly what you're asking - contact me offlist and I'll arrange to get you a copy to play with. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From dsc at swcp.com Wed Aug 9 18:40:46 2006 From: dsc at swcp.com (Dar Scott) Date: Wed, 9 Aug 2006 16:40:46 -0600 Subject: Best way to have images in scrolling field? In-Reply-To: <390.458d3e8.320bad1a@aol.com> References: <390.458d3e8.320bad1a@aol.com> Message-ID: <252BCB28-7C91-43AA-A4CC-3664BEBEE217@swcp.com> On Aug 9, 2006, at 3:26 PM, RGould8 at aol.com wrote: > 4) Dynamically create graphic objects and text objects, and group > them via > code as they are drawn and put a scrollbar on the group. I really > don't want > to go that route. Why dynamic? Are you hitting the 32,000 pixel limit? Here is a cool tip. Well, I like it. Double group. Set size and lock location on the inner group and then put the scroll on the outer. Get rid of margins as you need. Now you have a fixed size group that you can move around. Maybe you can put programmatically create and position fields and images into that inner group. Watching out for 32,000. I'm not sure what to compare. I'd compare both top and bottom to the range -32,000 to +32,000 as a first guess. Dar Scott From dsc at swcp.com Wed Aug 9 19:04:38 2006 From: dsc at swcp.com (Dar Scott) Date: Wed, 9 Aug 2006 17:04:38 -0600 Subject: [ANN] darzTimer, a plugin for high-res timing in development In-Reply-To: <7aa52a210608091429w3b49c473q5651477df52135cc@mail.gmail.com> References: <C1B17821-F1E1-4F6A-A43F-1789841FA691@swcp.com> <7aa52a210608091429w3b49c473q5651477df52135cc@mail.gmail.com> Message-ID: <211D35C6-9503-461F-80DB-29351329D348@swcp.com> On Aug 9, 2006, at 3:29 PM, Chipp Walters wrote: > I DL'd your timer, and the demo and your file. I opened the > darzTimer stack > first, then the darzTimerDemo. I set the darzTimer to LibaryStack > (and tried > FrontScript too), but could never get the Time 'repeat n times' > button to > work. I cleaned out all I could and then tried to repeat this. I'm on XP (SP2?) with Rev 2.6.1 (build 152). I downloaded the .zip file. (It seemed to have an extraneous document in it.) I pulled the darzTimer 0.1b folder out of the zip. I opened that and copied the plugin to the plugins folder of Rev 2.6.1. I opened Rev 2.6.1 I opened the demo stack. I clicked the button and got the error, of course. This is to be expected. The API has not been inserted. I chose the Development-->Plugins-->darzTimer menu item. A palette opened with an option menu and a display of an example script. The option menu was set at "Removed". I changed the option menu to "Stack Library". I clicked the button on the demo stack. Bingo! I got timing. I tried it with "Front Script" and that worked. I'll add error checking for things that never should happen. I am still at a loss. Virus checker? Spyware checker? lock messages? limits? old error message? Some sequence of user operations I didn't expect? Anybody else seeing this? Dar From dsc at swcp.com Wed Aug 9 20:05:21 2006 From: dsc at swcp.com (Dar Scott) Date: Wed, 9 Aug 2006 18:05:21 -0600 Subject: [ANN] darzTimer, a plugin for high-res timing in development In-Reply-To: <7aa52a210608091429w3b49c473q5651477df52135cc@mail.gmail.com> References: <C1B17821-F1E1-4F6A-A43F-1789841FA691@swcp.com> <7aa52a210608091429w3b49c473q5651477df52135cc@mail.gmail.com> Message-ID: <026A390B-D3AF-4751-969F-D74B3B00F28B@swcp.com> On Aug 9, 2006, at 3:29 PM, Chipp Walters wrote: > I set the darzTimer to LibaryStack (and tried > FrontScript too), but could never get the Time 'repeat n times' > button to > work. Anybody else seeing this? Dar From josh at dvcreators.net Wed Aug 9 20:52:41 2006 From: josh at dvcreators.net (Josh Mellicker) Date: Wed, 9 Aug 2006 17:52:41 -0700 Subject: How do I set table column width in table fields In-Reply-To: <8ea364c71e82ddf9f069a35049437f42@efn.org> References: <8ea364c71e82ddf9f069a35049437f42@efn.org> Message-ID: <0F7AFABE-502A-4CE2-AFB5-F69CE4CEC07D@dvcreators.net> If you activate Development>Plugins>revTabRuler, clicking on a table field with the move tool lets you drag little triangles to set column widths. On Aug 8, 2006, at 4:14 PM, David ResSeguie wrote: > Hi, > Can anyone tell how to change the width of columns in table fields, > so that the contents fit? > Thanks, > David > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > David ResSeguie > Information Services Manager/Ad Co-ordinator > Sundance Natural Foods > 748 E. 24th Avenue > Eugene, OR 97405-2936 > 541 343-9142 > 541 343-1519 office > 541 342-1660 fax > 541 687-3010 pager > Store and Office mailto:sundance at efn.org > Grocery Store web site http://sundancenaturalfoods.com > Sundance Wine Cellars web site http://orwines.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Wed Aug 9 21:23:39 2006 From: chipp at chipp.com (Chipp Walters) Date: Wed, 9 Aug 2006 20:23:39 -0500 Subject: [ANN] darzTimer, a plugin for high-res timing in development In-Reply-To: <026A390B-D3AF-4751-969F-D74B3B00F28B@swcp.com> References: <C1B17821-F1E1-4F6A-A43F-1789841FA691@swcp.com> <7aa52a210608091429w3b49c473q5651477df52135cc@mail.gmail.com> <026A390B-D3AF-4751-969F-D74B3B00F28B@swcp.com> Message-ID: <7aa52a210608091823j1d813a15pb4f3702550403ca8@mail.gmail.com> Hi Dar, To be fair, I didn't install it as a plugin, but just opened the darzTimer stack, then the demo stack. I typically don't like inserting stuff in my plugins folder for a variety of reasons, so I'd rather just open the stack and use it. I just assumed the "FrontScript" and "LibraryStack" dropdowns would just work. You said it installs an external? Does that mean it uncompresses a custom prop and puts a file in my Rev folder? If so, I would like to have been told that when it happens the first time. I may be just persnickety , but I always like to know what files are being installed into my Dev environment. --Chipp From garrett at paraboliclogic.com Wed Aug 9 21:41:37 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Wed, 9 Aug 2006 18:41:37 -0700 Subject: Drawers Conflict :-( In-Reply-To: <ebbc84$nj2$1@sea.gmane.org> References: <ebbc84$nj2$1@sea.gmane.org> Message-ID: <6F5B63F8-4DEA-4022-87DE-D52B9E141C1A@paraboliclogic.com> Rev 2.6.1 / Mac OS X Greetings, This is really the oddest thing and I've spent two days trying to figure it out and fix it, but am having no luck at all. In the preOpenStack handler of my main stack, I drawer two sub stacks of that main stack. I then hide stack both stacks. When I click button and use show stack on the first one, it slides right out as it is suppose to. But when I click the button to and use show stack on the second one, it does not slide out, it's detached but is in drawer form. Now I can still click the first button to hide stack the first drawer and it slides back in, but if I click the second button to hide stack the second drawer, it does nothing. In another combination, I did not drawer the stacks in the preOpenStack, but in the buttons, I would drawer each stack and then close them. But the problem there was that if one drawer was out, clicked the button for the second drawer, the first drawer would be closed, and vice versa. I have checked and rechecked my code, checked and played with the properties of all windows.... I've read and re-read the docs and can't figure out why this behavior is happening. One more thing... The first drawer can't be close as even when it is hidden, it's still be used to maintain a list of files open on the main stack. The second drawer is just for additional tools and can be closed. Besides the above examples, I did try a few other variations on how to drawer these stacks and show and hide them. Has anyone else experienced this issue? Has anyone a suggestion or fix for this issue? Thanks, -Garrett From JimAultWins at yahoo.com Wed Aug 9 22:11:27 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 09 Aug 2006 19:11:27 -0700 Subject: HTML Tags and muliline regular expresions. In-Reply-To: <c1c5836b0608091059u3ce8b444oba2ee0ebbbe70759@mail.gmail.com> Message-ID: <C0FFE3DF.3C1D0%JimAultWins@yahoo.com> David, It really depends on what you want to end up with. If you want to find ever kind of tag, or other goal. A six-liner quick trick I would use is to: replace cr with empty in htmlBlock replace "</" with (cr&"</") in htmlBlock --optional depending on result replace "<" with (cr&"<") in htmlBlock replace ">" with (">"&cr) in htmlBlock Now everything is isolated. All of the tags are on their own line and the text run is on a line in between. Your question specifically ----------------------------------- > OK - I want to extract an HTML tag and all its contents up to the closing > tag. add the following two lines to the above filter htmlBlock without "</*" replace (">"&cr) with ">" in htmlBlock ----your done and should have ..... <openingTag>Line of text you want to keep <openingTag2>And the next line of text you have to have then you could be more specific put htmlBlock into imgTags filter imgTags with "<img*" put htmlBlock into fontTags filter fontTags with "<font*" etc. Hope this give you a quick alternative that Rev should do a little faster than regEx, especially on a large page, or many, many tags. I really like regEx, and use it, but only when I need to. Jim Ault Las Vegas On 8/9/06 10:59 AM, "David Bovill" <david at openpartnership.net> wrote: > OK - I want to extract an HTML tag and all its contents up to the closing > tag. > > I have so many bits of code floating around for doing this going back years > and i would really like to do it properly and reliably one - so here is the > question how do I use a regular expression to do this? > > First I have to admit that i can't remember how to do matchText / matchChunk > stuff that covers more than one line - seem OK when everything is on one > line... just a caviat :) > > I took a look in some detail at the this site: > > http://regexlib.com/DisplayPatterns.aspx?cattabindex=7&categoryId=8 > > but have not got very far. When I look at things like this: > > > - <[^>]*name[\s]*=[\s]*"?[^\w_]*"?[^>]*> > - <(\/{0,1})textarea(.*?)(\/{0,1})\> > - > (?<HTML><a[^>]*href\s*=\s*[\"\']?(?<HRef>[^"'>\s]*)[\"\']?[^>]*>(?<Title>[^<]+ > |.*?)?</a\s*>) > > - <a[\s]+[^>]*?href[\s]?=[\s\"\']+(.*?)[\"\']+.*?>([^<]+|.*?)?<\/a> > - \s(type|name|value)=(?:(\w+)|(?:"(.*?)")|(?:\'(.*)\')) > > I go weak at the knees :) Anyone have any good regular expressions for this > sort of html processing in rev? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Wed Aug 9 23:48:25 2006 From: dsc at swcp.com (Dar Scott) Date: Wed, 9 Aug 2006 21:48:25 -0600 Subject: [ANN] darzTimer, a plugin for high-res timing in development In-Reply-To: <7aa52a210608091823j1d813a15pb4f3702550403ca8@mail.gmail.com> References: <C1B17821-F1E1-4F6A-A43F-1789841FA691@swcp.com> <7aa52a210608091429w3b49c473q5651477df52135cc@mail.gmail.com> <026A390B-D3AF-4751-969F-D74B3B00F28B@swcp.com> <7aa52a210608091823j1d813a15pb4f3702550403ca8@mail.gmail.com> Message-ID: <8D5C6A2B-9F41-40A8-8E21-0CEE18CA6CDE@swcp.com> On Aug 9, 2006, at 7:23 PM, Chipp Walters wrote: > You said it installs an external? Does that mean it uncompresses a > custom prop and puts a file in my Rev folder? If so, I would like to > have been told that when it happens the first time. I may be just > persnickety , but I always like to know what files are being installed > into my Dev environment. It is not installed into the Dev environment. This is on Windows and it exists in specialFolder("Temporary") for a just a few milliseconds. Dar From dsc at swcp.com Thu Aug 10 00:11:10 2006 From: dsc at swcp.com (Dar Scott) Date: Wed, 9 Aug 2006 22:11:10 -0600 Subject: [ANN] darzTimer, a plugin for high-res timing in development In-Reply-To: <7aa52a210608091823j1d813a15pb4f3702550403ca8@mail.gmail.com> References: <C1B17821-F1E1-4F6A-A43F-1789841FA691@swcp.com> <7aa52a210608091429w3b49c473q5651477df52135cc@mail.gmail.com> <026A390B-D3AF-4751-969F-D74B3B00F28B@swcp.com> <7aa52a210608091823j1d813a15pb4f3702550403ca8@mail.gmail.com> Message-ID: <1F0F7C50-EF68-4235-8223-7C703B81575C@swcp.com> On Aug 9, 2006, at 7:23 PM, Chipp Walters wrote: > To be fair, I didn't install it as a plugin, but just opened the > darzTimer stack, then the demo stack. I typically don't like inserting > stuff in my plugins folder for a variety of reasons, so I'd rather > just open the stack and use it. I just assumed the "FrontScript" and > "LibraryStack" dropdowns would just work. By any chance did you have Suppress Messages on when you loaded it? You mentioned Rev 2.6.1 and mine doesn't automatically turn that on, but on my system some versions of 2.7 do. I'll see what I can do to make the plugin tolerant of that. At preOpenStack it sets the option menu to match the current state of the API. However, it also sets up some values used by the plugin. Are there some security risks concerning the plugins folder that we should know about? Dar From rgould8 at aol.com Thu Aug 10 00:20:36 2006 From: rgould8 at aol.com (rgould8 at aol.com) Date: Thu, 10 Aug 2006 00:20:36 -0400 Subject: Best way to have images in scrolling field? In-Reply-To: <252BCB28-7C91-43AA-A4CC-3664BEBEE217@swcp.com> References: <390.458d3e8.320bad1a@aol.com> <252BCB28-7C91-43AA-A4CC-3664BEBEE217@swcp.com> Message-ID: <8C88A4B769377B4-8BC-1DF7@MBLK-R10.sysops.aol.com> Ok, it looks like I may have to go that route (programmatically creating and positioning fields in the group). One issue I'm having is word-wrapping - - - sometimes the data that comes back causes the text to the right of the icons to wrap 3-4 lines - - - other times it's just 1 line. I need to somehow figure out a formula for vertically centering the text, no matter how many lines word-wrap (vertically centered to the height of the icon to the left, which is in another field that scrolls along with the text field, via the group scrollbar) I really wish I could use some sort of HTML table for this - - - it would make life much easier. -----Original Message----- From: dsc at swcp.com To: use-revolution at lists.runrev.com Sent: Wed, 9 Aug 2006 6:40 PM Subject: Re: Best way to have images in scrolling field? On Aug 9, 2006, at 3:26 PM, RGould8 at aol.com wrote: > 4) Dynamically create graphic objects and text objects, and group > them via > code as they are drawn and put a scrollbar on the group. I really > don't want > to go that route. Why dynamic? Are you hitting the 32,000 pixel limit? Here is a cool tip. Well, I like it. Double group. Set size and lock location on the inner group and then put the scroll on the outer. Get rid of margins as you need. Now you have a fixed size group that you can move around. Maybe you can put programmatically create and position fields and images into that inner group. Watching out for 32,000. I'm not sure what to compare. I'd compare both top and bottom to the range -32,000 to +32,000 as a first guess. Dar Scott _______________________________________________ use-revolution mailing list use-revolution 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 AOL.com today. Breaking news, video search, pictures, email and IM. All on demand. Always Free. From dsc at swcp.com Thu Aug 10 00:41:19 2006 From: dsc at swcp.com (Dar Scott) Date: Wed, 9 Aug 2006 22:41:19 -0600 Subject: [ANN] darzTimer, a plugin for high-res timing in development In-Reply-To: <C1B17821-F1E1-4F6A-A43F-1789841FA691@swcp.com> References: <C1B17821-F1E1-4F6A-A43F-1789841FA691@swcp.com> Message-ID: <0FC9E263-8FC8-49F1-9C87-B50B2937B95B@swcp.com> On Aug 9, 2006, at 2:31 PM, Dar Scott wrote: > The folks at Dar's Lab (a division of Dar Scott Consulting) are > pleased to make available to the Revolution community the darzTimer > plugin. The plugin allows you to insert and remove a timing API > for use in the IDE during development. One question that has come up is "Why not a library that can be used in an application?" If the plugin works out well, then I will change it so it will install where you want a stack library that can be used in applications. Also, at that time I would have more exhaustive testing done on the timing methods. Dar Scott From mandozine at gmail.com Thu Aug 10 03:30:20 2006 From: mandozine at gmail.com (John Baxter) Date: Thu, 10 Aug 2006 00:30:20 -0700 Subject: SuperCard Project to Rev Message-ID: <623723c0608100030p307977fke8a1b66d4e9d771f@mail.gmail.com> I have a Tablature project I did in SuperCard about 10 years ago. I've imported it into Rev, but I'm lost on how to get it working. I have two custom fonts that need to both work in the main card field (on my mainstack). I have 2 palettes that have symbols (one palette has buttons [Tab font], the other a scrolling list [Chord font]). An example of the SuperCard Tab palette code: on mouseup set the textfont of bkgnd field 1 of wind "Tablature" to "GuitarTab" set the textsize of bkgnd field 1 of wind "Tablature" to "48" type "R" end mouseup The above code inserts the Tablature symbol into field 1, but doesn't work in Rev. I'm not sure how I can mix the two fonts in the mainstack field. I'm not sure what code I need for the mainstack as related to global vaiables , and also how to get the text into the main card field once I leave it to click the palette. In fact, I'm not even sure where to put the code to define the substack as a palette! Any help getting me started would be greatly appreciated. John From m.schonewille at economy-x-talk.com Thu Aug 10 03:52:24 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 10 Aug 2006 09:52:24 +0200 Subject: SuperCard Project to Rev In-Reply-To: <623723c0608100030p307977fke8a1b66d4e9d771f@mail.gmail.com> References: <623723c0608100030p307977fke8a1b66d4e9d771f@mail.gmail.com> Message-ID: <42AF0710-5474-4CFB-806E-D75F4229AB8D@economy-x-talk.com> Dear John, Wha tkind of error does your script return? You could try on mouseUp set the textFont of bg fld 1 of stack "Tablature" to "Guitartab" set the textSize of bg fld 1 of stack "Tablature" to 48 end mouseUp AFAIK, global variables work the same in all xTalks: global gVar1,gVar2,... You can put these global variable lists at the start of a handler or at the top of an entire script. How do you "leave" the palette? Do you just bring another window to front or do you close the stack? Do you have a "Set" button to put text into the fields of the mainstack or should it happen automatically? I guess a Set button would be easiest: on mouseUp put fld 1 into fld 1 of stack "Your Mainstack" end mouseUp To create a palette, eithe rtype in the message box: set the style of stack "Your Palette Stack" to palette; save stack "Your Palette Stack" or open it as a palettte each time you need it, from within a script: palette stack "Your Palette Stack" Don't set the style of a stack in the preOpenStack hanler. This will cause the window to flash. Best regards, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 10-aug-2006, om 9:30 heeft John Baxter het volgende geschreven: > I have a Tablature project I did in SuperCard about 10 years ago. I've > imported it into Rev, but I'm lost on how to get it working. I have > two > custom fonts that need to both work in the main card field (on my > mainstack). I have 2 palettes that have symbols (one palette has > buttons > [Tab font], the other a scrolling list [Chord font]). An example of > the > SuperCard Tab palette code: > > on mouseup > set the textfont of bkgnd field 1 of wind "Tablature" to > "GuitarTab" > set the textsize of bkgnd field 1 of wind "Tablature" to "48" > type "R" > end mouseup > > The above code inserts the Tablature symbol into field 1, but > doesn't work > in Rev. I'm not sure how I can mix the two fonts in the mainstack > field. > > I'm not sure what code I need for the mainstack as related to global > vaiables , and also how to get the text into the main card field > once I > leave it to click the palette. In fact, I'm not even sure where to > put the > code to define the substack as a palette! Any help getting me > started would > be greatly appreciated. > > John From zax at tripoy.com Thu Aug 10 06:53:49 2006 From: zax at tripoy.com (Zax) Date: Thu, 10 Aug 2006 12:53:49 +0200 Subject: Droplet app with AppleEvent In-Reply-To: <002e01c6bb92$4f2e1fc0$0301a8c0@zax> Message-ID: <C100DCDD.39B9%zax@tripoy.com> Well Mark, It's the same: I only hear the beep if my app is already launched :( > Maybe, the answer dialog is not available yet. What happens if you > try the following in the mainstack of a standalone? > > on appleEvent > beep > end appleEvent > > If you don't hear a beep, it looks (sounds) like a bug. I don't > remember seeing this bug in later versions, you might want to > download a trial version and try building your application with the > latest version. >> I would like my app made with Revolution 2.51 to react like a droplet >> when >> dropping files or folders on the app icon. >> I set "****" as file type and it's ok: dropping something on my app icon >> launches my app. >> >> For testing purpose, I wrote this code in my main stack: >> >> on appleEvent eClass,eID,eSender >> request appleEvent data >> answer eClass & return & "id =" && eID & return & "sender =" && eSender >> & >> return & "data =" && quote & it & quote >> pass appleEvent >> end appleEvent >> >> Everything is OK when I drop something onto the app icon *and* my app is >> *already opened*. In this case, "it" contains needed data. >> But when I drop something onto the app icon *and* my app is *not opened*, >> then my app is launched but no AppleEvent is sended :( >> Maybe because the app is not loaded, so it can't receive the AppleEvent? >> >> So, can somebody help me? A droplet must work even the app is not >> launched, >> otherwise it's not really a droplet! Do I have to add something in my >> "openstack" handler? Or maybe add a "startup" handler with some special >> code >> in it? -- Zax From david at openpartnership.net Thu Aug 10 07:06:40 2006 From: david at openpartnership.net (David Bovill) Date: Thu, 10 Aug 2006 12:06:40 +0100 Subject: HTML Tags and muliline regular expresions. In-Reply-To: <C0FFE3DF.3C1D0%JimAultWins@yahoo.com> References: <c1c5836b0608091059u3ce8b444oba2ee0ebbbe70759@mail.gmail.com> <C0FFE3DF.3C1D0%JimAultWins@yahoo.com> Message-ID: <c1c5836b0608100406r62077803y693a2594b5074cdd@mail.gmail.com> Super cool reply! It's often that way isn't it - blinded by science. That is just because you do not really understand something (regular expressions in this case) - you are over impressed by them. I will give this a try. NB - any problems (given it's limitations) with this method you've come across would be good to know. I have run into problems with filter before when using it to fliter tables - which got very slow when using a few "*" - for instance? From gregory.lypny at videotron.ca Thu Aug 10 08:36:53 2006 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 10 Aug 2006 08:36:53 -0400 Subject: Catching Error Messages Message-ID: <3DDC4FE1-5DBD-456F-A42B-072EB6B47D54@videotron.ca> Hello Mark, Sorry for my delay in acknowledging your reply. I'm not a statistician, at least not a competent one. I've created a function that spits out p-values for Fisher's Exact Test, and this involves computing large factorials. Revolution can handle at most 175! or 200! (I forget the exact number), and I've been able to surpass this by simplifying fractions in my calculations (i.e., simplifying x!/ y!). However, if a user enters data that would cause Revolution's limits to be exceeded, I want to be able to suggest alternative, equivalent tests. Thank you for recommending the Try control structure. That's exactly what I was looking for. Unfortunately, there is no example provided in the documentation, but I'll mess around with it. Regards, Gregory Lypny Mark Schonewille responded to my message: > Hi Gregory, > > Are you a statistician? Sample size should not play any role in the > size of numbers that Revolution can handle. What exactly are you > having a problem with? You an catch error messages by using the try- > catch control structure. Just put this around the syntax that does > the calculations and show an error dialog if you "catch" an error. > See the docs for more info. > > Some of the information is difficult to retrieve if a stack is > password protected. I made a shareware library that allows you to > catch errors in password protected stacks. The library gives you > several ways to parse and display errors. If this sounds useful, have > a look at the developers section of the Economy-x-Talk website. > > Best regards, > > Mark From rcozens at pon.net Thu Aug 10 10:25:38 2006 From: rcozens at pon.net (Rob Cozens) Date: Thu, 10 Aug 2006 07:25:38 -0700 Subject: SuperCard Project to Rev In-Reply-To: <623723c0608100030p307977fke8a1b66d4e9d771f@mail.gmail.com> References: <623723c0608100030p307977fke8a1b66d4e9d771f@mail.gmail.com> Message-ID: <a05210600c100f181e96e@[66.81.75.163]> Hi John, >on mouseup > set the textfont of bkgnd field 1 of wind "Tablature" to "GuitarTab" > set the textsize of bkgnd field 1 of wind "Tablature" to "48" > type "R" >end mouseup > >The above code inserts the Tablature symbol into field 1, but doesn't work >in Rev. I'm not sure how I can mix the two fonts in the mainstack field. Check the stack's HCAddressing property: RR default is false; imported HyperCard stacks [& SuperCard stacks?] are set to true. What was a background field in SC may not be a background field in RR, depending on how you group controls. -- 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 JimAultWins at yahoo.com Thu Aug 10 10:43:05 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 10 Aug 2006 07:43:05 -0700 Subject: HTML Tags and muliline regular expresions. In-Reply-To: <c1c5836b0608100406r62077803y693a2594b5074cdd@mail.gmail.com> Message-ID: <C1009409.3C221%JimAultWins@yahoo.com> On 8/10/06 4:06 AM, "David Bovill" <david at openpartnership.net> wrote: > Super cool reply! > > It's often that way isn't it - blinded by science. That is just because you > do not really understand something (regular expressions in this case) - you > are over impressed by them. > > I will give this a try. NB - any problems (given it's limitations) with this > method you've come across would be good to know. I have run into problems > with filter before when using it to fliter tables - which got very slow when > using a few "*" - for instance? One big caveat with filter -- It does not handle null characters. Do 'replace null with empty' if you don't know the source of your incoming data. This char is usually used to mark the end of a file or memory variable in RAM space, or reserved for special meanings by every application. Opening formatted data files directly in Rev can have nulls. You can test for nulls by doing.... replace cr with empty in textBlock replace null with cr in textBlock --more than one line means nulls are present As far a speed, you do have to consider the job at hand and how often it needs to be run, as well as the user experience. Do they really have to wait while a set of filter operations is done? I believe if you try to make your first filter rules positive (inclusion) and operating on the beginning of the line, it will work fastest. Thus filter textBlock with "<*" --will cut the number of text lines that have to be considered next put ("*"&tab) into C filter textBlock without ("*img*"&C&C&C&C&"jpg") --means a lot of repeat loop cycles for the filter function --the same goes for regEx, or any text parser. Moral: try to chop down as much of the textBlock as possible using simple rules, then get intricate. And if possible, structure the data so that it works better with the filter command, (or regEx, or other text parser) repeat 1 time filter textBlock with "<*" if textBlock is empty then exit repeat -- we're done filter textBlock with "*>" if textBlock is empty then exit repeat -- we're done filter textBlock with "*img" if textBlock is empty then exit repeat -- we're done filter textBlock with "*>*<font" if textBlock is empty then exit repeat -- we're done --you get the idea.. why have the loop do extra work? end repeat --textBlock now has the residue that matches the rules Hope this helps Jim Ault Las Vegas From JimAultWins at yahoo.com Thu Aug 10 12:20:55 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 10 Aug 2006 09:20:55 -0700 Subject: HTML Tags and muliline regular expresions. In-Reply-To: <c1c5836b0608100406r62077803y693a2594b5074cdd@mail.gmail.com> Message-ID: <C100AAF7.3C236%JimAultWins@yahoo.com> On 8/10/06 4:06 AM, "David Bovill" <david at openpartnership.net> wrote: > Super cool reply! > > It's often that way isn't it - blinded by science. That is just because you > do not really understand something (regular expressions in this case) - you > are over impressed by them. > > I will give this a try. NB - any problems (given it's limitations) with this > method you've come across would be good to know. I have run into problems > with filter before when using it to fliter tables - which got very slow when > using a few "*" - for instance? One enhancement for this, depending on your source code, > <my original> >replace cr with empty in htmlBlock >replace "</" with (cr&"</") in htmlBlock --optional depending on result >replace "<" with (cr&"<") in htmlBlock >replace ">" with (">"&cr) in htmlBlock repeat for each line LNN in htmlBlock put word 1 to -1 of LNN & cr after newHtmlBlock end repeat filter newHtmlBlock put newHtmlBlock into htmlBlock >filter htmlBlock without "</*" >replace (">"&cr) with ">" in htmlBlock --some pages have crazy indents using space runs and this will kill the lines that look empty as a result Jim Ault Las Vegas From bobs at twft.com Thu Aug 10 12:56:41 2006 From: bobs at twft.com (Robert Sneidar) Date: Thu, 10 Aug 2006 09:56:41 -0700 Subject: Regular Expression question In-Reply-To: <20060810030758.6854C8256AD@mail.runrev.com> References: <20060810030758.6854C8256AD@mail.runrev.com> Message-ID: <8045CA55-43A0-4C6F-9E71-897263FC8FB5@twft.com> Well that brings up an interesting point. When I refer to a chunk "line x" in my example, Revolution does not include the paragraph delimiter, but in Devin's it does. How odd then that the interpretation of what is meant by "line" is modified by how you compare it with something else. Far be it from me to criticize <tongue firmly implanted in cheek> but shouldn't "line x" mean exactly the same thing no matter where or how you use it? Ambiguity in interpretation is programmer's purgatory. (Hey! A new Sly Saying!) Good catch though. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Aug 9, 2006, at 8:07 PM, use-revolution-request at lists.runrev.com wrote: > Having been caught by things like this before, I would suggest a > small modification to Bob's script: > > On Aug 9, 2006, at 12:21 PM, Robert Sneidar wrote: > >> >> put <yourdatahere> into moldlist >> put "" into mnewlist >> >> repeat for each line theLine of moldlist >> if line theLine is among the lines of mnewlist then > ^^^^^^^^^^^^^^^^^^^ >> next repeat >> else >> put line theLine of moldlist & return after mnewlist >> end repeat > > This will work if the numbers in your list go to > 9 and they are not > in numeric order. For instance, > > 10 > 10 > 10 > 2 > 2 > 1 > 1 > 1 > > If you just check "is in" the script will skip '1', since 1 is in 10. > The 'among the lines of' forces the comparison to only consider whole > line matches. > > Devin > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University From devin_asay at byu.edu Thu Aug 10 13:47:33 2006 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 10 Aug 2006 11:47:33 -0600 Subject: Regular Expression question In-Reply-To: <8045CA55-43A0-4C6F-9E71-897263FC8FB5@twft.com> References: <20060810030758.6854C8256AD@mail.runrev.com> <8045CA55-43A0-4C6F-9E71-897263FC8FB5@twft.com> Message-ID: <F3020E9B-2A47-4D2A-8189-E3CBB84782BC@byu.edu> On Aug 10, 2006, at 10:56 AM, Robert Sneidar wrote: > Well that brings up an interesting point. When I refer to a chunk > "line x" in my example, Revolution does not include the paragraph > delimiter, but in Devin's it does. How odd then that the > interpretation of what is meant by "line" is modified by how you > compare it with something else. Far be it from me to criticize > <tongue firmly implanted in cheek> but shouldn't "line x" mean > exactly the same thing no matter where or how you use it? Ambiguity > in interpretation is programmer's purgatory. (Hey! A new Sly > Saying!) Good catch though. Add this to the bizarre list. It might be worth a trip to bugzilla if you have a recipe for them. Devin > > On Aug 9, 2006, at 8:07 PM, use-revolution-request at lists.runrev.com > wrote: > >> Having been caught by things like this before, I would suggest a >> small modification to Bob's script: >> >> On Aug 9, 2006, at 12:21 PM, Robert Sneidar wrote: >> >>> >>> put <yourdatahere> into moldlist >>> put "" into mnewlist >>> >>> repeat for each line theLine of moldlist >>> if line theLine is among the lines of mnewlist then >> ^^^^^^^^^^^^^^^^^^^ >>> next repeat >>> else >>> put line theLine of moldlist & return after mnewlist >>> end repeat >> >> This will work if the numbers in your list go to > 9 and they are not >> in numeric order. For instance, >> >> 10 >> 10 >> 10 >> 2 >> 2 >> 1 >> 1 >> 1 >> >> If you just check "is in" the script will skip '1', since 1 is in 10. >> The 'among the lines of' forces the comparison to only consider whole >> line matches. Devin Asay Humanities Technology and Research Support Center Brigham Young University From Camm29 at tesco.net Thu Aug 10 16:19:47 2006 From: Camm29 at tesco.net (Camm29) Date: Thu, 10 Aug 2006 21:19:47 +0100 Subject: Support has gone Silent Message-ID: <001a01c6bcba$54748860$0c01a8c0@workshop> Recently I purchased an upgrade just to allow installation of 2.7.2. 2.7.2 fails to install on Windows 98 , ME and 2000 and via Support Ticket RunRev agreed this has been a problem. It may be put right in 2.7.3 So now i have purchased an upgrade ( No i don't expect 1000 new version's per year ! ) but i expect to get one working. I need 2.7.2 to work on Windows 98 ,ME , 2000 I questioned value for money in this situation and now the Support Team have gone SILENT. Regards Camm From david at openpartnership.net Thu Aug 10 16:28:54 2006 From: david at openpartnership.net (David Bovill) Date: Thu, 10 Aug 2006 21:28:54 +0100 Subject: OT: Is there a more English-like Programming language than Transcript? Message-ID: <c1c5836b0608101328g61f234ednbd70ad5311a8f08d@mail.gmail.com> By the way is Transcript still the official term for Revs programming language? Spent an hour looking for links references and articles on English-like programming languages - looking at the syntax. Found no good links yet. Lots of stuff about COBOL, things about how it was the flavour of the month in the 80's - how good perl is. Here is a nice quote from http://www.whynot.net/ideas/1441: > By this, I mean the source file would be something like a text file.. and > the interpreter would interpret the english language commands and build a > program based on it. The commands for the English Programming Language could > be something like this (consider this a raw source file): > > <begin source> > > First, create a window approximately 75% of the screen size. Then, add two > menus to the top, one File and one Help. Under the File menu, add Exit. When > a user clicks on Exit, the program should exit. Under the help menu, add a > simple About option that describes this program. > > Now create two buttons in the main window (the first one). The first > button should say "Message", and the second one should say "Exit" (without > the quotes). When a user clicks on Message, a message box should pop up > saying "Hello, World!". When the user clicks on the Exit button, the program > should exit. > > <end source> > Now that would be more English-like than Transcript, but to date i cannot find anything much more English-like than the syntax of Transcript. There is some AI stuff like - http://www.softwaretheories.com/Examples/index.html(not a good link) - and Ruslan you there - some older links I had for parsers that took XML - there is an MIT project to create a meta language... but no good links I can find - and certainly nothing solid and useable. So the question is this - is Transcipt the best real programming language out there in terms of it's English-likeness! That is the ease in which a non-programmer, or non-speaker of the computer language can understand it? Help, links, rants and gossip appreciated! From jacque at hyperactivesw.com Thu Aug 10 16:49:52 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 10 Aug 2006 15:49:52 -0500 Subject: Support has gone Silent In-Reply-To: <001a01c6bcba$54748860$0c01a8c0@workshop> References: <001a01c6bcba$54748860$0c01a8c0@workshop> Message-ID: <44DB9BF0.7000207@hyperactivesw.com> Camm29 wrote: > now the Support Team have gone SILENT. We answer everything, so if you didn't get an answer it means we haven't received your question. That said, there are some cases where a question needs to be sent to one of the engineers, and those may take a few days longer. You can always write in to ask where your issue stands if you haven't heard in a while. I just did a search for your name in the support database and I see what happened. I had moved your ticket to the bug queue, as I wrote to you I would do, and your reply to my message was filed in the bug queue instead of to general support. So it has been sitting there and I didn't know it. If this happens again, please do write in with a new message (not a reply to an old one) and ask us to look up your ticket. I'm sorry this happened, but I'm posting this to the list in case anyone else has something similar occur. We really do address every ticket that comes in, so if you don't hear back in a reasonable time (within 1-2 business days) you can be pretty sure we didn't see your question. Write again and we'll track it down. I'll address your particular inquiry offline. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pmbrig at comcast.net Thu Aug 10 17:45:38 2006 From: pmbrig at comcast.net (Peter Brigham) Date: Thu, 10 Aug 2006 17:45:38 -0400 Subject: [ANN] altAnswerDate wrapper for Sean Shao's calendar Message-ID: <5219C674-DAFA-4BF3-B5B5-D660225D3B14@comcast.net> Thanks to both of you -- Chip & Ken. I started using "calendarWidget100" and then I discovered a missing close-quote in my original little script, so I corrected that and tried it again in the msg box. This time I got no error message but nothing happened. When I put it into a button it worked like a charm. So you were both helpful. I wonder what gives with the msg box in cases like these. It would be good to know if there is a rhyme/reason to it occasionally not executing something properly.... -- Peter Peter M. Brigham pmbrig at comcast.net http://home.comcast.net/~pmbrig/ ~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~ PROGRAM, tr.v. To engage in a pastime similar to banging one's head against a wall, but with fewer opportunities for reward. On Wed, 9 Aug 2006 10:18:51 -0500 "Chipp Walters" <chipp at hidden> wrote: >>>> You need to start using "calendarWidget100" (you don't need the altAnswerDateHarness-- it's just for the demo) Try that and see if it doesn't work. >>>> and Ken Ray wrote: >>>> Peter, try it in a button - there are some times when the Message Box has trouble executing stuff that works fine in an actual object. >>>> From david at openpartnership.net Thu Aug 10 18:13:51 2006 From: david at openpartnership.net (David Bovill) Date: Thu, 10 Aug 2006 23:13:51 +0100 Subject: OT: Is there a more English-like Programming language than Transcript? Message-ID: <c1c5836b0608101513t622727e2n12f6f6c12966ebdb@mail.gmail.com> By the way is Transcript still the official term for Revs programming language? Spent an hour looking for links references and articles on English-like programming languages - looking at the syntax. Found no good links yet. Lots of stuff about COBOL, things about how it was the flavour of the month in the 80's - how good perl is. Here is a nice quote from http://www.whynot.net/ideas/1441: By this, I mean the source file would be something like a text file.. and the interpreter would interpret the english language commands and build a program based on it. The commands for the English Programming Language could be something like this (consider this a raw source file): <begin source> > > First, create a window approximately 75% of the screen size. Then, add > two menus to the top, one File and one Help. Under the File menu, add Exit. > When a user clicks on Exit, the program should exit. Under the help menu, > add a simple About option that describes this program. > > Now create two buttons in the main window (the first one). The first > button should say "Message", and the second one should say "Exit" (without > the quotes). When a user clicks on Message, a message box should pop up > saying "Hello, World!". When the user clicks on the Exit button, the program > should exit. > > <end source> > Now that would be more English-like than Transcript, but to date i cannot find anything much more English-like than the syntax of Transcript. There is some AI stuff like - http://www.softwaretheories.com/Examples/index.html(not a good link) - and Ruslan you there - some older links I had for parsers that took XML - there is an MIT project to create a meta language... but no good links I can find - and certainly nothing solid and useable. So the question is this - is Transcipt the best real programming language out there in terms of it's English-likeness! That is the ease in which a non-programmer, or non-speaker of the computer language can understand it? Help, links, rants and gossip appreciated! From bobs at twft.com Thu Aug 10 18:43:53 2006 From: bobs at twft.com (Robert Sneidar) Date: Thu, 10 Aug 2006 15:43:53 -0700 Subject: Regular Expression question In-Reply-To: <20060810170005.191D482576B@mail.runrev.com> References: <20060810170005.191D482576B@mail.runrev.com> Message-ID: <18D17906-C07B-49B8-A172-465764B3EDE3@twft.com> Actually after thinking about this, it is not ambiguous at all. In both examples "line x" means the line without a cr. But in Devin's example, he is comparing against each line in the container, whereas I was I was simply checking for the existance of line x ANYWHERE in the container. I guess I was wrong <cough sputter gag aaaak!> OH that hurts! Bob Sneidar IT Manager Logos Management Calvary Chapel CM >> Well that brings up an interesting point. When I refer to a chunk >> "line x" in my example, Revolution does not include the paragraph >> delimiter, but in Devin's it does. <snip> > > Add this to the bizarre list. It might be worth a trip to bugzilla if > you have a recipe for them. > > Devin From bvg at mac.com Thu Aug 10 19:30:43 2006 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 11 Aug 2006 01:30:43 +0200 Subject: IRC Client In-Reply-To: <ebbc84$nj2$1@sea.gmane.org> References: <ebbc84$nj2$1@sea.gmane.org> Message-ID: <ecff1b77e2c5121de4d0be4b9ad449e1@mac.com> IRC isn't that complicated, i have made a stack which connects, responds to ping and let's you chat ("/me" messages are scrambled though). it includes the irc rfc documentation, and many features can still be added. Get it at my old runrev site: http://revolutionboard.de/bvg/stacks/IRC.rev Oh, and the "impossible" contest was about instant messaging apps, so irc was excluded, the only entry was from Shao Sean, she made a nice windows messenger stack... On Aug 09 2006, at 03:03, Bill Marriott wrote: > I know there was a contest a while back to write an IRC client in > Rev... Did > anything ever come of that? Does anyone know where one might exist? -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From revolutionary.dan at gmail.com Thu Aug 10 19:39:26 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Thu, 10 Aug 2006 16:39:26 -0700 Subject: OT: Is there a more English-like Programming language than Transcript? In-Reply-To: <c1c5836b0608101513t622727e2n12f6f6c12966ebdb@mail.gmail.com> References: <c1c5836b0608101513t622727e2n12f6f6c12966ebdb@mail.gmail.com> Message-ID: <70ed6b130608101639v5ada1ec5o1a13aee71fc506a7@mail.gmail.com> As a language junkie I'd say xTalks including Transcript are easily and by far the most English-like programming languages on the planet. Like all languages, it has some constructs that don't come out very English-like but I don't know of any other language that comes close. And, to answer your opening question, Runtime Revolution is trying hard to get us to call the language Revolution. I'm resisting and I suspect lots of other folks are as well. I consider that a silly and ill-advised terminology change. But in their official literature, it's now Revolution which you program in...er...Revolution. On 8/10/06, David Bovill <david at openpartnership.net> wrote: > > By the way is Transcript still the official term for Revs programming > language? > > Spent an hour looking for links references and articles on English-like > programming languages - looking at the syntax. Found no good links yet. > Lots > of stuff about COBOL, things about how it was the flavour of the month in > the 80's - how good perl is. Here is a nice quote from > http://www.whynot.net/ideas/1441: > > By this, I mean the source file would be something like a text file.. > and the interpreter would interpret the english language commands and > build > a program based on it. The commands for the English Programming Language > could be something like this (consider this a raw source file): > > <begin source> > > > > First, create a window approximately 75% of the screen size. Then, > add > > two menus to the top, one File and one Help. Under the File menu, add > Exit. > > When a user clicks on Exit, the program should exit. Under the help > menu, > > add a simple About option that describes this program. > > > > Now create two buttons in the main window (the first one). The first > > button should say "Message", and the second one should say "Exit" > (without > > the quotes). When a user clicks on Message, a message box should pop up > > saying "Hello, World!". When the user clicks on the Exit button, the > program > > should exit. > > > > <end source> > > > > Now that would be more English-like than Transcript, but to date i cannot > find anything much more English-like than the syntax of Transcript. There > is > some AI stuff like - > http://www.softwaretheories.com/Examples/index.html(not a good link) - > and Ruslan you there - some older links I had for > parsers that took XML - there is an MIT project to create a meta > language... > but no good links I can find - and certainly nothing solid and useable. > > So the question is this - is Transcipt the best real programming language > out there in terms of it's English-likeness! That is the ease in which a > non-programmer, or non-speaker of the computer language can understand it? > > Help, links, rants and gossip 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 > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From m.schonewille at economy-x-talk.com Thu Aug 10 19:42:23 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 11 Aug 2006 01:42:23 +0200 Subject: OT: Is there a more English-like Programming language than Transcript? In-Reply-To: <c1c5836b0608101513t622727e2n12f6f6c12966ebdb@mail.gmail.com> References: <c1c5836b0608101513t622727e2n12f6f6c12966ebdb@mail.gmail.com> Message-ID: <78F2C31A-ECDE-47A5-B632-988A242F3379@economy-x-talk.com> Hi David, Yes, I think that the xTalk-family provides us with the most English- like programming languages. Anything more sophisticated is doable, but also a lot of work. As an example, here is a script which responds to polite requests to create an object. Don't take this example too seriously, please. on mouseUp doPhrase "Would you be so kind to create a field?" put the result into rslt if rslt is not empty then beep answer rslt end if end mouseUp on doPhrase theRequest put "(^[Pp]lease*|^[Cc]ould you please*|^[Ww]ould you" && ? "be so kind to*)" into myPattern if matchText(theRequest,myPattern,myFormality) is false then return "Sorry, didn't hear ya!" else if last char of theRequest is among the chars of "?!" then delete last char of theRequest put word (number of words of myFormality + 1) to -1 of ? theRequest into theRequest switch (word 1 of theRequest) case "create" repeat for each word myWord in theRequest) if myWord is not "a" then put myWord & space after ? myNewRequest end repeat put myNewRequest try do myNewRequest catch myError return "Sorry, I could not" && theRequest end try break -- more "cases" default return "Sorry, I could not" && theRequest end switch end if end doPhrase Best regards, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 11-aug-2006, om 0:13 heeft David Bovill het volgende geschreven: > By the way is Transcript still the official term for Revs programming > language? > > Spent an hour looking for links references and articles on English- > like > programming languages - looking at the syntax. Found no good links > yet. Lots > of stuff about COBOL, things about how it was the flavour of the > month in > the 80's - how good perl is. Here is a nice quote from > http://www.whynot.net/ideas/1441: > > By this, I mean the source file would be something like a text > file.. > and the interpreter would interpret the english language commands > and build > a program based on it. The commands for the English Programming > Language > could be something like this (consider this a raw source file): > > <begin source> >> >> First, create a window approximately 75% of the screen size. >> Then, add >> two menus to the top, one File and one Help. Under the File menu, >> add Exit. >> When a user clicks on Exit, the program should exit. Under the >> help menu, >> add a simple About option that describes this program. >> >> Now create two buttons in the main window (the first one). The >> first >> button should say "Message", and the second one should say >> "Exit" (without >> the quotes). When a user clicks on Message, a message box should >> pop up >> saying "Hello, World!". When the user clicks on the Exit button, >> the program >> should exit. >> >> <end source> >> > > Now that would be more English-like than Transcript, but to date i > cannot > find anything much more English-like than the syntax of Transcript. > There is > some AI stuff like - > http://www.softwaretheories.com/Examples/index.html(not a good link) - > and Ruslan you there - some older links I had for > parsers that took XML - there is an MIT project to create a meta > language... > but no good links I can find - and certainly nothing solid and > useable. > > So the question is this - is Transcipt the best real programming > language > out there in terms of it's English-likeness! That is the ease in > which a > non-programmer, or non-speaker of the computer language can > understand it? > > Help, links, rants and gossip appreciated! From m.schonewille at economy-x-talk.com Thu Aug 10 19:45:12 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 11 Aug 2006 01:45:12 +0200 Subject: OT: Is there a more English-like Programming language than Transcript? In-Reply-To: <70ed6b130608101639v5ada1ec5o1a13aee71fc506a7@mail.gmail.com> References: <c1c5836b0608101513t622727e2n12f6f6c12966ebdb@mail.gmail.com> <70ed6b130608101639v5ada1ec5o1a13aee71fc506a7@mail.gmail.com> Message-ID: <3FAD1636-FD7D-48A4-976A-588D16315393@economy-x-talk.com> I completely agree with you, Dan. In my daily work, it is just not practical to call both the software and the language Revolution. I just continue to call it Transcript. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 11-aug-2006, om 1:39 heeft Dan Shafer het volgende geschreven: <snip> > And, to answer your opening question, Runtime Revolution is trying > hard to > get us to call the language Revolution. I'm resisting and I suspect > lots of > other folks are as well. I consider that a silly and ill-advised > terminology > change. But in their official literature, it's now Revolution which > you > program in...er...Revolution. > From ambassador at fourthworld.com Thu Aug 10 20:03:49 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 10 Aug 2006 17:03:49 -0700 Subject: OT: Is there a more English-like Programming language than Transcript? Message-ID: <44DBC965.5080708@fourthworld.com> Dan Shafer wrote: > And, to answer your opening question, Runtime Revolution is trying hard to > get us to call the language Revolution. I'm resisting and I suspect lots of > other folks are as well. I consider that a silly and ill-advised terminology > change. But in their official literature, it's now Revolution which you > program in...er...Revolution. I'm not sure even that's the case: because the change is to a word already used to mean something else, every instance of "Transcript" throughout the documentation must be read carefully to make sure it's clear. I doubt that expensive undertaking has been completed. In the meantime, Wikipedia, Open Directory, and hundreds of web pages still use "Transcript" so at most the words are interchangeable, at least until the proposed name change retreats in favor of things that actually need to get done. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From dsc at swcp.com Thu Aug 10 20:12:04 2006 From: dsc at swcp.com (Dar Scott) Date: Thu, 10 Aug 2006 18:12:04 -0600 Subject: OT: Is there a more English-like Programming language than Transcript? In-Reply-To: <70ed6b130608101639v5ada1ec5o1a13aee71fc506a7@mail.gmail.com> References: <c1c5836b0608101513t622727e2n12f6f6c12966ebdb@mail.gmail.com> <70ed6b130608101639v5ada1ec5o1a13aee71fc506a7@mail.gmail.com> Message-ID: <826A7833-7C31-4582-947B-4DF7E9A29F28@swcp.com> On Aug 10, 2006, at 5:39 PM, Dan Shafer wrote: > As a language junkie I'd say xTalks including Transcript are easily > and by > far the most English-like programming languages on the planet. I was fortunate to be part of the team for Savvy which predated HyperTalk and shared many of the same commands. That was also before GUI and mouse, at least before we understood them. Almost every HyperTalk command that was not GUI related was in Savvy. Savvy used a form based script editor built around English syntax, and being of poor memory, I miss that. I need a hint once in a while. Blanks unfolded as parameters were needed. But, I don't think we can say Savvy is on the planet anymore. Even so, my mother-in-law still uses the bookkeeping package I made long ago and some folks are using emulators to still run Savvy. I think the current owners have lost the source. > And, to answer your opening question, Runtime Revolution is trying > hard to > get us to call the language Revolution. I'm resisting and I suspect > lots of > other folks are as well. I consider that a silly and ill-advised > terminology > change. But in their official literature, it's now Revolution which > you > program in...er...Revolution. I can understand both sides of this. When I used LabView people looked at me funny when I said I programmed in G, so I simply said I programmed in LabView. I wonder if in the olden days people would say they programmed in HyperCard to avoid confusion. I have had trouble explaining Transcript to customers, so now say Revolution. Dar Scott From ambassador at fourthworld.com Thu Aug 10 20:31:39 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 10 Aug 2006 17:31:39 -0700 Subject: OT: Is there a more English-like Programming language than Transcript? Message-ID: <44DBCFEB.5010407@fourthworld.com> Dar Scott wrote: > I have had trouble explaining Transcript to customers, so now say > Revolution. I've never had that trouble. I say I develop software with Revolution, and when I'm talking about the language specifically I say Transcript. After Director's Lingo, Flash's ActionScript, ToolBook's OpenTalk, Netscape's JavaScript, and a few dozen other major scripting languages (prety much all scripting language vendors who aren't Microsoft or an MS knockoff), it doesn't seem so strange a thing. Sometimes the entire world isn't wrong. More productive to differentiate oneself in a more meaningful form.... -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From dsc at swcp.com Thu Aug 10 20:59:50 2006 From: dsc at swcp.com (Dar Scott) Date: Thu, 10 Aug 2006 18:59:50 -0600 Subject: OT: Is there a more English-like Programming language than Transcript? In-Reply-To: <44DBCFEB.5010407@fourthworld.com> References: <44DBCFEB.5010407@fourthworld.com> Message-ID: <178496D3-7DE8-456C-86CB-DE54B862A3DD@swcp.com> On Aug 10, 2006, at 6:31 PM, Richard Gaskin wrote: > Sometimes the entire world isn't wrong. I didn't intend to say the entire world is wrong. I guess I must come across a little arrogant. I don't think I'm arrogant. Maybe just a little vain. Or obtuse. Maybe some day I'll be hammered into charmingly witty. In hammering, Dar Scott From ambassador at fourthworld.com Thu Aug 10 21:02:36 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 10 Aug 2006 18:02:36 -0700 Subject: OT: Is there a more English-like Programming language than Transcript? Message-ID: <44DBD72C.10009@fourthworld.com> Dar Scott wrote: > On Aug 10, 2006, at 6:31 PM, Richard Gaskin wrote: > >> Sometimes the entire world isn't wrong. > > I didn't intend to say the entire world is wrong. I guess I must > come across a little arrogant. I don't think I'm arrogant. Maybe > just a little vain. Or obtuse. Maybe some day I'll be hammered into > charmingly witty. You always come off as charmingly witty to me. I apologize for my clumsy writing. I wasn't referring to you; changing the well-established name of the language wasn't your idea. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From chipp at chipp.com Thu Aug 10 21:52:03 2006 From: chipp at chipp.com (Chipp Walters) Date: Thu, 10 Aug 2006 20:52:03 -0500 Subject: OT: Is there a more English-like Programming language than Transcript? In-Reply-To: <44DBD72C.10009@fourthworld.com> References: <44DBD72C.10009@fourthworld.com> Message-ID: <7aa52a210608101852l3e992e1er6ed8b2a9666e445c@mail.gmail.com> =SMACK= (perhaps the two of you could get a room) From garrett at paraboliclogic.com Thu Aug 10 21:52:09 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Thu, 10 Aug 2006 18:52:09 -0700 Subject: Character length limit in fields? In-Reply-To: <6F5B63F8-4DEA-4022-87DE-D52B9E141C1A@paraboliclogic.com> References: <ebbc84$nj2$1@sea.gmane.org> <6F5B63F8-4DEA-4022-87DE-D52B9E141C1A@paraboliclogic.com> Message-ID: <7B8EC5B4-2181-4427-81DE-A7FB89CF7277@paraboliclogic.com> Rev 2.6.1 / Mac OS X Greetings, What is the character length limit in fields in Rev 2.6.1 on OS X, Linux and Windows? Thanks, -Garrett From dsc at swcp.com Thu Aug 10 22:11:21 2006 From: dsc at swcp.com (Dar Scott) Date: Thu, 10 Aug 2006 20:11:21 -0600 Subject: Character length limit in fields? In-Reply-To: <7B8EC5B4-2181-4427-81DE-A7FB89CF7277@paraboliclogic.com> References: <ebbc84$nj2$1@sea.gmane.org> <6F5B63F8-4DEA-4022-87DE-D52B9E141C1A@paraboliclogic.com> <7B8EC5B4-2181-4427-81DE-A7FB89CF7277@paraboliclogic.com> Message-ID: <913D80DD-5028-4063-935A-5DC1064B59AB@swcp.com> On Aug 10, 2006, at 7:52 PM, Garrett Hylltun wrote: > What is the character length limit in fields in Rev 2.6.1 on OS X, > Linux and Windows? The number of characters is bounded memory and processor addressing, so is effectively larger than what you need. The number of characters per line is limited to about 64K. That is found from the limits documentation. The number of pixels per line after any wrapping is limited to about 32K, even if the field is not that wide. The last one might be old; I haven't checked that on 2.6.1. It might turn out that the 64K limit per line assumes 8-bit characters and might be less for Unicode. Is that what you are looking for? Dar Scott From garrett at paraboliclogic.com Thu Aug 10 22:20:07 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Thu, 10 Aug 2006 19:20:07 -0700 Subject: Character length limit in fields? In-Reply-To: <913D80DD-5028-4063-935A-5DC1064B59AB@swcp.com> References: <ebbc84$nj2$1@sea.gmane.org> <6F5B63F8-4DEA-4022-87DE-D52B9E141C1A@paraboliclogic.com> <7B8EC5B4-2181-4427-81DE-A7FB89CF7277@paraboliclogic.com> <913D80DD-5028-4063-935A-5DC1064B59AB@swcp.com> Message-ID: <628B9DD4-28CC-4D71-A76A-C6CB93FC5FC9@paraboliclogic.com> On Aug 10, 2006, at 7:11 PM, Dar Scott wrote: > > On Aug 10, 2006, at 7:52 PM, Garrett Hylltun wrote: > >> What is the character length limit in fields in Rev 2.6.1 on OS X, >> Linux and Windows? > > The number of characters is bounded memory and processor > addressing, so is effectively larger than what you need. The > number of characters per line is limited to about 64K. That is > found from the limits documentation. The number of pixels per line > after any wrapping is limited to about 32K, even if the field is > not that wide. The last one might be old; I haven't checked that > on 2.6.1. It might turn out that the 64K limit per line assumes 8- > bit characters and might be less for Unicode. > > Is that what you are looking for? Yes yes, thanks.. I needed per line and should have been more clear on that. I didn't realize there was a section in the docs on the limits. I was looking in the wrong place of course, checking the objects section of the docs to see it noted the limits. Thanks a bunch Dar, -Garrett From garrett at paraboliclogic.com Thu Aug 10 22:24:25 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Thu, 10 Aug 2006 19:24:25 -0700 Subject: Character length limit in fields? In-Reply-To: <913D80DD-5028-4063-935A-5DC1064B59AB@swcp.com> References: <ebbc84$nj2$1@sea.gmane.org> <6F5B63F8-4DEA-4022-87DE-D52B9E141C1A@paraboliclogic.com> <7B8EC5B4-2181-4427-81DE-A7FB89CF7277@paraboliclogic.com> <913D80DD-5028-4063-935A-5DC1064B59AB@swcp.com> Message-ID: <29C1A8D6-3EB1-46B7-AD9A-3DFBEF10B519@paraboliclogic.com> On Aug 10, 2006, at 7:11 PM, Dar Scott wrote: > > On Aug 10, 2006, at 7:52 PM, Garrett Hylltun wrote: > >> What is the character length limit in fields in Rev 2.6.1 on OS X, >> Linux and Windows? > > The number of characters is bounded memory and processor > addressing, so is effectively larger than what you need. The > number of characters per line is limited to about 64K. Ummm, my memory is a bit off these days... So is that about 65,500 characters? (give or take some.) -Garrett From dsc at swcp.com Fri Aug 11 00:15:39 2006 From: dsc at swcp.com (Dar Scott) Date: Thu, 10 Aug 2006 22:15:39 -0600 Subject: Character length limit in fields? In-Reply-To: <29C1A8D6-3EB1-46B7-AD9A-3DFBEF10B519@paraboliclogic.com> References: <ebbc84$nj2$1@sea.gmane.org> <6F5B63F8-4DEA-4022-87DE-D52B9E141C1A@paraboliclogic.com> <7B8EC5B4-2181-4427-81DE-A7FB89CF7277@paraboliclogic.com> <913D80DD-5028-4063-935A-5DC1064B59AB@swcp.com> <29C1A8D6-3EB1-46B7-AD9A-3DFBEF10B519@paraboliclogic.com> Message-ID: <BE8CE397-B348-48B9-9A1B-0E561DD5962E@swcp.com> On Aug 10, 2006, at 8:24 PM, Garrett Hylltun wrote: >> The number of characters per line is limited to about 64K. > > Ummm, my memory is a bit off these days... So is that about 65,500 > characters? (give or take some.) Yes. The limits doc says the maximum length of a line in a field is 65,536 characters. 2^16 = 65,536 If you turn off wrapping or don't have spaces, then your limit is a lot less. Well, was. I don't know how to find the limits doc in 2.6.1, and had to be shown on 2.7. Dar From janselid at broadpark.no Fri Aug 11 04:01:37 2006 From: janselid at broadpark.no (=?iso-8859-1?Q?Jan_S=E6lid?=) Date: Fri, 11 Aug 2006 10:01:37 +0200 Subject: RichText Implementation In-Reply-To: <000001c6b879$bddbf3a0$3993dae0$@no> References: <000001c6b879$bddbf3a0$3993dae0$@no> Message-ID: <000d01c6bd1c$5eea38a0$1cbea9e0$@no> Hi again I received a private mail from a user of this list who told me that someone at RevCon said that revolution 2.8 will offer individual paragraph formatting. Anyone heard anything about this? If it takes too long time I have decided to do it the hard way. The best solution I can think of is using tabs in replacement for margins. I cannot wait another year.... Jan Jan wrote: >>I?ve come to the point where I need to implement the Scriptwriter into my application. I?ve build all the >>functionality around this function and delayed the scriptwriter until a proper richtext field was implemented >>into revolution. It doesn?t seem that revolution will add this feature to revolution in the nearest future. >>So >my question is: Does anyone know of anyone that have hardcoded this function into revolution? Or is my >>only >option to hardcode this myself? >>I?m really in need of individual paragraphs. >The scriptwriter needs to know if the user is editing dialogue, a character name, an action etc. >the format of a script looks something like this: >--- > TRUMP > You didn't call, Eliza. You know you > won't get anything if you... > >He goes to the desk and snatches the... >--- >This format needs three different margins. One for the character name, one for the dialogue and one for the >"action" part. One approach I'm thinking of is to use tabstops and have a rawkeyup handler in the field that >checks what type of element the writer is editing and puts the cursor at the right tab if the writer e.g. >pushes the downkey. The challenge with this method is that I have to store every element in the script in a >custom property of the field with the number of tabs for each element. Maybe with a reference to the >linenumber. e.g. "The line1 of fld "Script". Am I on the right track? >Hope this is understandable. Any ideas are appreciated. In the long run it could be handy to make a library of >functions that other revolution users could use. ____________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From mandozine at gmail.com Fri Aug 11 05:22:52 2006 From: mandozine at gmail.com (John Baxter) Date: Fri, 11 Aug 2006 02:22:52 -0700 Subject: SuperCard Project to Rev In-Reply-To: <42AF0710-5474-4CFB-806E-D75F4229AB8D@economy-x-talk.com> References: <623723c0608100030p307977fke8a1b66d4e9d771f@mail.gmail.com> <42AF0710-5474-4CFB-806E-D75F4229AB8D@economy-x-talk.com> Message-ID: <623723c0608110222j2ce1c466r487a91debff11c69@mail.gmail.com> Thanks Mark, I've decided to work thru a simple project, rather than try to convert all my SuperCard code . This way I can take it slow and learn as I go, and then go back and make the changes to my SuoerCard stack. I have created a mainstack with one field and an "Open Palette" button. I have created a substack with three buttons. My goal is to have each button insert a different font into the same field. So far I can do the following: 1) Create a palette from the "Open Palette" button 2) Insert a character into the maincard field from the palette buttons. Here's the code: on mouseUp set the textfont of field "TabField" of stack "TabCard" to "GuitarTab" set the textsize of field "TabField" of stack "TabCard" to "48" set the textfheight of field "TabField" of stack "TabCard" to "48" put "R" into field "TabField" of stack "TabCard" end mouseUp What I can't do is insert a string of characters. Button 1 inserts a character, but Button 2 replaced that character, rather than adding it after the first character. I haven't tested for multiple fonts, since I can only insert one character at a time. It's a start, but I need help getting to my goal of inserting a string of characters by multiple clicks on the buttons, and multiple fonts. I won't be mixing fonts on the same line. John From klaus at major-k.de Fri Aug 11 05:39:08 2006 From: klaus at major-k.de (Klaus Major) Date: Fri, 11 Aug 2006 11:39:08 +0200 Subject: SuperCard Project to Rev In-Reply-To: <623723c0608110222j2ce1c466r487a91debff11c69@mail.gmail.com> References: <623723c0608100030p307977fke8a1b66d4e9d771f@mail.gmail.com> <42AF0710-5474-4CFB-806E-D75F4229AB8D@economy-x-talk.com> <623723c0608110222j2ce1c466r487a91debff11c69@mail.gmail.com> Message-ID: <88B4FC5A-7F06-4C6A-8B3B-6A2E5F7125A4@major-k.de> Hi John, > Thanks Mark, > I've decided to work thru a simple project, rather than try to > convert all > my SuperCard code . This way I can take it slow and learn as I go, > and then > go back and make the changes to my SuoerCard stack. I have created a > mainstack with one field and an "Open Palette" button. I have > created a > substack with three buttons. My goal is to have each button insert a > different font into the same field. So far I can do the following: > > 1) Create a palette from the "Open Palette" button > 2) Insert a character into the maincard field from the palette > buttons. > > Here's the code: > > on mouseUp > set the textfont of field "TabField" of stack "TabCard" to > "GuitarTab" > set the textsize of field "TabField" of stack "TabCard" to "48" > set the textfheight of field "TabField" of stack "TabCard" to "48" > put "R" into field "TabField" of stack "TabCard" > end mouseUp > > What I can't do is insert a string of characters. Button 1 inserts a > character, but Button 2 replaced that character, rather than adding > it after > the first character. "put xyz into fld zwe" will replace the actual content, right. You can of course put something AFTER the field, so the content is not overwritten! ... put "S" AFTER field "TabField" of stack "TabCard" ... And of course "BEFORE". See these terms in the docs... > I haven't tested for multiple fonts, since I can only > insert one character at a time. It's a start, but I need help > getting to my > goal of inserting a string of characters by multiple clicks on the > buttons, > and multiple fonts. I won't be mixing fonts on the same line. > > John Regards Klaus Major klaus at major-k.de http://www.major-k.de From heather at runrev.com Fri Aug 11 05:58:00 2006 From: heather at runrev.com (Heather Nagey) Date: Fri, 11 Aug 2006 10:58:00 +0100 Subject: Revolution 2.7.3 released, support for U3 Message-ID: <F53CA322-502D-4498-8212-D3022D35A21D@runrev.com> Dear list folk, I am delighted to announce that Revolution for U3 is now available and to give you good folks advance notice about a special offer. 2.7.3 now has support for building applications on and for U3, the future looking system for running seamlessly from a flash drive, download it here: http://downloads.runrev.com As a special offer, we have a very limited supply of the RevCon West U3 flash drives in beautiful translucent purple for the first 36 purchasers of any Revolution CD plus any type of license! Yes, that includes updates, new purchases and even Media licenses. The U3 platform powers U3 smart drives that let consumers carry and launch not only files but software programs, personal preferences and computer settings - and the means for managing it all - wherever they go. Consumers simply plug the U3 smart drive into the USB port of any PC and securely access their files and software programs via the user- friendly U3 Launchpad. When the U3 smart drive is removed, the U3 Launchpad disappears from the computer and no personal information or software is left behind. Revolution 2.7.3 lets developers select a ?U3 compatible? option when they begin creating a new software program. The new software they create will automatically conform to the U3 platform and will pass U3?s compatibility testing. Because the Revolution 2.7.3 development environment itself is U3 compatible, developers can carry Revolution on a U3 smart drive and securely access their work on any PC. As well as U3 support, 2.7.3 brings you - Zip file management allows file compression, listing archive contents and adding or extracting files in archives. - Application instancing lets developers control whether multiple or single instances of Revolution-based applications can run on Windows. - Improved Revolution Player-based distribution adds support for very long file names. Several additional fixes were made to players. - The Revolution integrated development environment has been upgraded with fixes for interrupting applications during the debugging process and with minor adjustments to make it easier to modify. This is a feature release, which means if you have a valid update pack you can download and install this for free, if you don't have an update pack you are going to need to get one in order to access this release. http://www.runrev.com/buy/studio_update http://www.runrev.com/buy/enterprise_update I hope you enjoy this latest improvement to Revolution! Warm regards Heather Heather Nagey Customer Services Manager Runtime Revolution Ltd http://www.runrev.com From chris at carroll-davis.co.uk Wed Aug 9 09:53:51 2006 From: chris at carroll-davis.co.uk (Chris Carroll-Davis) Date: Wed, 9 Aug 2006 14:53:51 +0100 Subject: Export PNG weirdness Message-ID: <B0CD6088-62CD-4725-A95F-C0498069B2E8@carroll-davis.co.uk> Hello everyone. Can anybody help with this ... I am exporting PNGs from fields, using this syntax: export snapshot from field fname to file imgPath as PNG This works just fine on about 30 or so fields, but when I come to one particular field it fails with error message: export: can't write to file, mask file, or container All the fields are opaque. If I switch this field to non-opaque... it works fine... or if I export as JPEG it works fine! The only difference (that I can see) between this field and others is that it is larger than the others. Has anyone come across this problem before? Could there be some other property that I have overlooked that is causing the problem? I am pulling my hair out at this one (and at my age I don't have too much to lose) Chris From bodind at club-internet.fr Fri Aug 11 09:38:20 2006 From: bodind at club-internet.fr (Dominique Bodin) Date: Fri, 11 Aug 2006 15:38:20 +0200 Subject: Revolution 2.7.3 released, support for U3 In-Reply-To: <F53CA322-502D-4498-8212-D3022D35A21D@runrev.com> References: <F53CA322-502D-4498-8212-D3022D35A21D@runrev.com> Message-ID: <op.td4f56dzjagoek@mail.club-internet.fr> On the site there are two release to download, wich one actual users do have to download ? (the one with U3 written or the other ?) Thank's Dominique On Fri, 11 Aug 2006 11:58:00 +0200, Heather Nagey <heather at runrev.com> wrote: > Dear list folk, > > I am delighted to announce that Revolution for U3 is now available and > to give you good folks advance notice about a special offer. > > 2.7.3 now has support for building applications on and for U3, the > future looking system for running seamlessly from a flash drive, > download it here: > > http://downloads.runrev.com > > As a special offer, we have a very limited supply of the RevCon West U3 > flash drives in beautiful translucent purple for the first 36 purchasers > of any Revolution CD plus any type of license! Yes, that includes > updates, new purchases and even Media licenses. > > The U3 platform powers U3 smart drives that let consumers carry and > launch not only files but software programs, personal preferences and > computer settings - and the means for managing it all - wherever they > go. Consumers simply plug the U3 smart drive into the USB port of any PC > and securely access their files and software programs via the user- > friendly U3 Launchpad. When the U3 smart drive is removed, the U3 > Launchpad disappears from the computer and no personal information or > software is left behind. > > Revolution 2.7.3 lets developers select a ?U3 compatible? option when > they begin creating a new software program. The new software they create > will automatically conform to the U3 platform and will pass U3?s > compatibility testing. Because the Revolution 2.7.3 development > environment itself is U3 compatible, developers can carry Revolution on > a U3 smart drive and securely access their work on any PC. > > As well as U3 support, 2.7.3 brings you > > - Zip file management allows file compression, listing archive contents > and adding or extracting files in archives. > > - Application instancing lets developers control whether multiple or > single instances of Revolution-based applications can run on Windows. > > - Improved Revolution Player-based distribution adds support for very > long file names. Several additional fixes were made to players. > > - The Revolution integrated development environment has been upgraded > with fixes for interrupting applications during the debugging process > and with minor adjustments to make it easier to modify. > > This is a feature release, which means if you have a valid update pack > you can download and install this for free, if you don't have an update > pack you are going to need to get one in order to access this release. > > http://www.runrev.com/buy/studio_update > > http://www.runrev.com/buy/enterprise_update > > I hope you enjoy this latest improvement to Revolution! > > Warm regards > Heather > > Heather Nagey > Customer Services Manager > Runtime Revolution Ltd > http://www.runrev.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > __________ Information NOD32 1.1701 (20060810) __________ > > Ce message a ete verifie par NOD32 Antivirus System. > http://www.nod32.com > > From claudi.c at fiberworld.nl Fri Aug 11 10:29:48 2006 From: claudi.c at fiberworld.nl (Claudi Cornaz) Date: Fri, 11 Aug 2006 16:29:48 +0200 Subject: Why do group ID's change when cloning a stack Message-ID: <aff4c64da95d5dc524bfdff6de73dc70@fiberworld.nl> Hi all, By accident I just discovered that group ID's change when you clone a stack. This can be very annoying when you work with tmplt stacks which you clone to use as, lets say a document or a viewer. I just did some testing, but button id's don't seem to change. Neither the id's of fields. But sure enough group id's do change, altough always in the same way. They start with the highest group id in the stack you clone incremented by one and so further up. Why? Why only groups. (well to be honest I didn't try with all controls, so there might be other controls who's id will also get changed when cloning a stack. This is a real nuissance for me since I rely heavilly on group id's in the stuff I am making now, which will get used as a tmplt stack and thus gets cloned for actual use. Lots of nested grps and I designed it around the id's, because that's safer there might be duplicate names. But it seems now I can't use the id's because they pull the rug underneath my feet when cloning the stack for use. This is in rev 2.7.2 (OsX) Am I missing something. Is it supposed to behave like that, is this a bug? I have no idea except that this is gonna cost me quite some work and planning of a new strategie to get this working as it should. Damn (lots of rewrites in several library's) Well you do learn each day, but it is tough going like this. If somebody can shed some light on this dark matter, at least it is for me, please do. Best wishes Claudi From dsc at swcp.com Fri Aug 11 11:56:10 2006 From: dsc at swcp.com (Dar Scott) Date: Fri, 11 Aug 2006 09:56:10 -0600 Subject: Export PNG weirdness In-Reply-To: <B0CD6088-62CD-4725-A95F-C0498069B2E8@carroll-davis.co.uk> References: <B0CD6088-62CD-4725-A95F-C0498069B2E8@carroll-davis.co.uk> Message-ID: <7C359AB2-8357-4F1A-B96E-7F09638D23AD@swcp.com> On Aug 9, 2006, at 7:53 AM, Chris Carroll-Davis wrote: > All the fields are opaque. If I switch this field to non-opaque... > it works fine... or if I export as JPEG it works fine! Can you export to a field as JPEG and then export the field as PNG? Maybe therein lies a workaround. So your current thinking is that it is not fonts? Dar Scott From wjm at wjm.org Fri Aug 11 12:55:53 2006 From: wjm at wjm.org (Bill Marriott) Date: Fri, 11 Aug 2006 12:55:53 -0400 Subject: OT: Is there a more English-like Programming language thanTranscript? References: <c1c5836b0608101513t622727e2n12f6f6c12966ebdb@mail.gmail.com> <70ed6b130608101639v5ada1ec5o1a13aee71fc506a7@mail.gmail.com> Message-ID: <ebicqp$lgk$1@sea.gmane.org> I wouldn't mind so much if they wanted to call it "RevTalk" or something else. But making the scripting language name identical to the whole product is not something I can say is prudent, just out of sake of clarity/precision. Dan Shafer wrote > And, to answer your opening question, Runtime Revolution is trying hard to > get us to call the language Revolution. I'm resisting and I suspect lots > of > other folks are as well. I consider that a silly and ill-advised > terminology > change. But in their official literature, it's now Revolution which you > program in...er...Revolution. From revolutionary.dan at gmail.com Fri Aug 11 13:09:32 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Fri, 11 Aug 2006 10:09:32 -0700 Subject: RichText Implementation In-Reply-To: <000d01c6bd1c$5eea38a0$1cbea9e0$@no> References: <000001c6b879$bddbf3a0$3993dae0$@no> <000d01c6bd1c$5eea38a0$1cbea9e0$@no> Message-ID: <70ed6b130608111009t739377e0h81fa78aeaa029631@mail.gmail.com> Jan....... The only official word on future release features at RevCon came from CEO Kevin Miller under non-disclosure. Obviously, we're not at liberty to discuss any of that information here. I can say that there was a lot of scuttlebutt at the show about this very topic and that I will be quite surprised not to see it in some future release. Whether that will come within a year, I can't say and I'm not sure anyone, including Kevin, could say with certainty. But I feel your pain. Lack of rich text formatting has forced me onto another dev platform for one big project and is threatening to do so for another. On 8/11/06, Jan S?lid <janselid at broadpark.no> wrote: > > Hi again > > > I received a private mail from a user of this list who told me that > someone > at RevCon said that revolution 2.8 > will offer individual paragraph formatting. > > Anyone heard anything about this? > > If it takes too long time I have decided to do it the hard way. > The best solution I can think of is using tabs in replacement for margins. > > I cannot wait another year.... > > > Jan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From jiml at netrin.com Fri Aug 11 13:22:14 2006 From: jiml at netrin.com (Jim Lambert) Date: Fri, 11 Aug 2006 10:22:14 -0700 Subject: Revolution 2.7.3 released, support for U3 In-Reply-To: <20060811142230.5D77D824EF1@mail.runrev.com> Message-ID: <NEBBICMMKLOIPMPOLALAAEKLIPAA.jiml@netrin.com> Heather, Kevin, & the entire Rev Team, Congratulations and thank you for your hard work in publishing this new release. Jim Lambert From janselid at broadpark.no Fri Aug 11 14:03:47 2006 From: janselid at broadpark.no (=?iso-8859-1?Q?Jan_S=E6lid?=) Date: Fri, 11 Aug 2006 20:03:47 +0200 Subject: RichText Implementation In-Reply-To: <70ed6b130608111009t739377e0h81fa78aeaa029631@mail.gmail.com> References: <000001c6b879$bddbf3a0$3993dae0$@no> <000d01c6bd1c$5eea38a0$1cbea9e0$@no> <70ed6b130608111009t739377e0h81fa78aeaa029631@mail.gmail.com> Message-ID: <001401c6bd70$7e25c870$7a715950$@no> Dan- I'm really sorry to let this out. I didn't know that is was under non-disclosure. Well, actually, if I had used my mind, buy I guess the news made me no think and only hope for a solution. At least I know I'm not the only one with this problem. That always help a little. I have wished for this feature since 2003, even started a "campaign" to make people vote for it on bugzilla. But I decided to start building my project anyway, and it's a very big project. I just got an answer from revolution that I should not wait for this feature but do what I need to do... The only rad platform that have this feature is realbasic. But I've tried it several times, and I really don't like it. I grown into rev. I guess I have to take a leap of faith. Because I've done so much work already. Thanks for the answer. Dan wrote: >But I feel your pain. Lack of rich text formatting has forced me onto another dev platform for one big project >and is threatening to do so for another. From bobs at twft.com Fri Aug 11 14:19:33 2006 From: bobs at twft.com (Robert Sneidar) Date: Fri, 11 Aug 2006 11:19:33 -0700 Subject: Why do group ID's change when cloning a stack In-Reply-To: <20060811142230.5D77D824EF1@mail.runrev.com> References: <20060811142230.5D77D824EF1@mail.runrev.com> Message-ID: <9809C346-E7BE-4272-8878-6137A6C7E71A@twft.com> Since the days of Hypercard, I have known that using ID's to reference objects was sketchy at best. As a matter of good programming practice, you should keep track of all your variables and object names so there is no inadvertent duplication to bite you in the butt later. If nothing else, use variable and object names that specifically describe the actual object. That was, as we learned at Revconwest 2006, "The code practically comments itself". Naming objects are definitely the way to go. (IMHO) Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Aug 11, 2006, at 7:22 AM, use-revolution-request at lists.runrev.com wrote: > By accident I just discovered that group ID's change when you clone a > stack. > This can be very annoying when you work with tmplt stacks which you > clone to use as, lets say a document or a viewer. > > <snip> > > Best wishes > > Claudi From pevensen at siboneylg.com Fri Aug 11 14:24:41 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Fri, 11 Aug 2006 13:24:41 -0500 Subject: Why do group ID's change when cloning a stack In-Reply-To: <9809C346-E7BE-4272-8878-6137A6C7E71A@twft.com> References: <20060811142230.5D77D824EF1@mail.runrev.com> <9809C346-E7BE-4272-8878-6137A6C7E71A@twft.com> Message-ID: <6.2.1.2.2.20060811132345.08d7beb0@exchange.slg.com> But then you get into issues where buttons have graphics referenced by IDs. The only way around this is to reassign the icon IDs at some point. At 01:19 PM 8/11/2006, you wrote: >Since the days of Hypercard, I have known that using ID's to >reference objects was sketchy at best. As a matter of good >programming practice, you should keep track of all your variables and >object names so there is no inadvertent duplication to bite you in >the butt later. If nothing else, use variable and object names that >specifically describe the actual object. That was, as we learned at >Revconwest 2006, "The code practically comments itself". > >Naming objects are definitely the way to go. (IMHO) > >Bob Sneidar >IT Manager >Logos Management >Calvary Chapel CM > >On Aug 11, 2006, at 7:22 AM, use-revolution-request at lists.runrev.com >wrote: > >>By accident I just discovered that group ID's change when you clone a >>stack. >>This can be very annoying when you work with tmplt stacks which you >>clone to use as, lets say a document or a viewer. >> >><snip> >> >>Best wishes >> >>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 Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 From stephenREVOLUTION at barncard.com Fri Aug 11 14:34:04 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 11 Aug 2006 11:34:04 -0700 Subject: Strange artifacts everywhere in MacOSX In-Reply-To: <6.2.1.2.2.20060811132345.08d7beb0@exchange.slg.com> References: <20060811142230.5D77D824EF1@mail.runrev.com> <9809C346-E7BE-4272-8878-6137A6C7E71A@twft.com> <6.2.1.2.2.20060811132345.08d7beb0@exchange.slg.com> Message-ID: <p06230900c1027cd6e253@[192.168.1.105]> I'm not blaming Rev, or Galaxy or anything yet, however after updating everything -- Rev 2.7.3, Galaxy Studio, I started getting strange window and selection artifacts in every application on the Mac... This is a systemwide problem. Note the strange black outlines of different shapes around the windows - these goes away when the window isn't selected. On more complex windows, a box forms around a control, perhaps the first numbered item or something. I've re-installed Tiger (while keeping settings) and it didn't fix it. I've disabled Default Folder and Aliasmenu -- the only finder-altering extensions I'm aware of... no change. Anyone else see this? examples at http://barncard.com/gallery2/v/REV/20060809/ -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From ambassador at fourthworld.com Fri Aug 11 14:47:39 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 11 Aug 2006 11:47:39 -0700 Subject: Why do group ID's change when cloning a stack Message-ID: <44DCD0CB.4040508@fourthworld.com> Robert Sneidar wrote: > Since the days of Hypercard, I have known that using ID's to > reference objects was sketchy at best. As a matter of good > programming practice, you should keep track of all your variables and > object names so there is no inadvertent duplication to bite you in > the butt later. If nothing else, use variable and object names that > specifically describe the actual object. That was, as we learned at > Revconwest 2006, "The code practically comments itself". > > Naming objects are definitely the way to go. (IMHO) One of the many great things in Rev that HyperCard never dreamed of was having a separation of an object's name from its displayed label. This has totally changed my style of programming, allowing me to use names as mnemonic IDs while still have the label property for display to the user. And anytime I need to change the displayed label it never changes the object's name, so my scripts never need to be revised even with clients who change button labels a lot. :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From bobs at twft.com Fri Aug 11 14:47:56 2006 From: bobs at twft.com (Robert Sneidar) Date: Fri, 11 Aug 2006 11:47:56 -0700 Subject: Why do group ID's change when cloning a stack In-Reply-To: <20060811170005.4E998825B17@mail.runrev.com> References: <20060811170005.4E998825B17@mail.runrev.com> Message-ID: <617BDC91-A6A8-4731-A39E-6582A565FA58@twft.com> Do those graphics ID's change with a clone or do they remain the same? If they remain the same then for the sake of this discussion the point is moot. The original discussion was about how group ID's change, but other object ID's do not. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Aug 11, 2006, at 10:00 AM, use-revolution-request at lists.runrev.com wrote: > But then you get into issues where buttons have graphics referenced by > IDs. The only way around this is to reassign the icon IDs at some > point. > > At 01:19 PM 8/11/2006, you wrote: >> Since the days of Hypercard, I have known that using ID's to >> reference objects was sketchy at best. From higginsta at mac.com Fri Aug 11 14:49:28 2006 From: higginsta at mac.com (Todd Higgins) Date: Fri, 11 Aug 2006 14:49:28 -0400 Subject: Strange artifacts everywhere in MacOSX In-Reply-To: <p06230900c1027cd6e253@[192.168.1.105]> References: <20060811142230.5D77D824EF1@mail.runrev.com> <9809C346-E7BE-4272-8878-6137A6C7E71A@twft.com> <6.2.1.2.2.20060811132345.08d7beb0@exchange.slg.com> <p06230900c1027cd6e253@[192.168.1.105]> Message-ID: <D0730434-CDDF-4794-98D6-CAF1A9D30F13@mac.com> Hi Stephen, I don't think it has anything to do with Rev. You have VoiceOver enabled on your computer: System Preferences -> Universal Access -> Voiceover Off (or hit Apple +F5) I you listen carefully, your computer is talking to you. Regards, Todd On Aug 11, 2006, at 2:34 PM, Stephen Barncard wrote: > I'm not blaming Rev, or Galaxy or anything yet, however after > updating everything -- Rev 2.7.3, Galaxy Studio, I started getting > strange window and selection artifacts in every application on the > Mac... > > This is a systemwide problem. > > Note the strange black outlines of different shapes around the > windows - these goes away when the window isn't selected. On more > complex windows, a box forms around a control, perhaps the first > numbered item or something. > > I've re-installed Tiger (while keeping settings) and it didn't fix > it. I've disabled Default Folder and Aliasmenu -- the only finder- > altering extensions I'm aware of... no change. > > Anyone else see this? > > examples at > http://barncard.com/gallery2/v/REV/20060809/ > -- > 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 claudi at fiberworld.nl Fri Aug 11 15:36:51 2006 From: claudi at fiberworld.nl (Claudi Cornaz) Date: Fri, 11 Aug 2006 21:36:51 +0200 Subject: Why do group ID's change when cloning a stack In-Reply-To: <6.2.1.2.2.20060811132345.08d7beb0@exchange.slg.com> References: <20060811142230.5D77D824EF1@mail.runrev.com> <9809C346-E7BE-4272-8878-6137A6C7E71A@twft.com> <6.2.1.2.2.20060811132345.08d7beb0@exchange.slg.com> Message-ID: <6cae659f994f560e166df49b02af0797@fiberworld.nl> I did some further testing and it turns out like this: All objects (at least the ones I tested and I did most) don't change id when the stack is cloned. That is all controls that are not part of a grp! The id of all outermost grps don't change but the id's of ALL controls in a grp will change, including the id's of nested grp's. So each and every control in a grp get's it's id changed when the stack is cloned, except the id's of the outermost grp's. What would be the reason behind this? Why doesn't the id of the outermost grp's change but each and every control in each grp get's a new ID. What will happen when I clone a stack with hundred of grp's. How much time wil this take if each control in all these grp's need to be reIDed. I can live with the fact, well I will have to, there obviously is no choice, but I sure like to know! Best wishes, Claudi From pevensen at siboneylg.com Fri Aug 11 15:39:11 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Fri, 11 Aug 2006 14:39:11 -0500 Subject: Why do group ID's change when cloning a stack In-Reply-To: <617BDC91-A6A8-4731-A39E-6582A565FA58@twft.com> References: <20060811170005.4E998825B17@mail.runrev.com> <617BDC91-A6A8-4731-A39E-6582A565FA58@twft.com> Message-ID: <6.2.1.2.2.20060811143702.08e199c0@exchange.slg.com> Ooops. I didn't read thoroughly. If the other object IDs don't change, it is moot. It is odd that the only the group ID's would change. At 01:47 PM 8/11/2006, you wrote: >Do those graphics ID's change with a clone or do they remain the >same? If they remain the same then for the sake of this discussion >the point is moot. The original discussion was about how group ID's >change, but other object ID's do not. > >Bob Sneidar >IT Manager >Logos Management >Calvary Chapel CM > >On Aug 11, 2006, at 10:00 AM, use-revolution-request at lists.runrev.com >wrote: > >>But then you get into issues where buttons have graphics referenced by >>IDs. The only way around this is to reassign the icon IDs at some >>point. >> >>At 01:19 PM 8/11/2006, you wrote: >>>Since the days of Hypercard, I have known that using ID's to >>>reference objects was sketchy at best. Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 From sanke at hrz.uni-kassel.de Fri Aug 11 16:42:03 2006 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Fri, 11 Aug 2006 22:42:03 +0200 Subject: Why do group ID's change when cloning a stack Message-ID: <44DCEB9B.5060208@hrz.uni-kassel.de> > Naming objects are definitely the way to go. (IMHO) > It is odd that the only the group ID's would change. Take a look whether the layers of your groups or their objects had changed! I ran into that sort of difficulty a couple of years ago and found it very annoying to have to reestablish references to objects based on IDs, however - at that time, I did not test now - the IDs were changed when a stack was cloned in case the *layers* of the objects had changed. Attributing of new IDs will also happen when a card is copied within the same stack or to another stack (because IDs are unique in a stack), but the order of the IDs will remain the same - unless you have changed the layers of the card objects. Wilhelm Sanke <http://www.sanke.org/MetaMedia> From david at openpartnership.net Fri Aug 11 16:46:58 2006 From: david at openpartnership.net (David Bovill) Date: Fri, 11 Aug 2006 21:46:58 +0100 Subject: OT: Is there a more English-like Programming language thanTranscript? In-Reply-To: <ebicqp$lgk$1@sea.gmane.org> References: <c1c5836b0608101513t622727e2n12f6f6c12966ebdb@mail.gmail.com> <70ed6b130608101639v5ada1ec5o1a13aee71fc506a7@mail.gmail.com> <ebicqp$lgk$1@sea.gmane.org> Message-ID: <c1c5836b0608111346v7b5a0e51r52969e6517b6b6f4@mail.gmail.com> Yes - I prefer Transcript as a term. I am surprised there is not more on this issue - it seems dead on the internet. Plain english programming. I find it one of the main reasons I still use Rev - and since the great work Jerry has done with Constellation - now Galaxy - well it really hits you in the face. Programming in Rev is like reading Hypertext - read the code - click on terms or functions you don't understand - get explanations - hit tab to auto-fill in the rest of the code and search for terms that "sound like" the first few characters you type - jump around the code hierarchy as you click from one programming term to another - it really is like reading and writing on the web - just faster and better. It should be more like this - there has not been a technical reason why this is not done for ages now? The integration should be stronger. The hypertext like links should extend to fetch code and explanations from the web. The documentation should be like Wikipedia - collaborativley expanded - so should the code base - and all within the Script Editor. Reading and writing code then really becomes like reading and writing text on the web. NB - whats the latest on the Rev Wiki discussion - I know there is a forum - but I see little advantage in that from my point of view - Marielle whats the latest on your project? From jonseymour at mac.com Fri Aug 11 16:49:27 2006 From: jonseymour at mac.com (Jon Seymour) Date: Fri, 11 Aug 2006 15:49:27 -0500 Subject: Windows standalone application to foreground upon un-minimizing? Message-ID: <DECBAC09-0F32-48FC-89EC-D855A0BFD920@mac.com> Hello, When I minimize a standalone application for Win32 made with Rev, then click its button in the "task bar" at the bottom of the screen, my application's window is drawn behind other apps that are currently open. I've never observed this behavior before with mainstream Windows apps as the intent of "un-minimizing" is obviously to bring the app to the foreground, on top of the others. Does anyone know how to combat this? Thanks, Jon From m.schonewille at economy-x-talk.com Fri Aug 11 17:04:31 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 11 Aug 2006 23:04:31 +0200 Subject: Windows standalone application to foreground upon un-minimizing? In-Reply-To: <DECBAC09-0F32-48FC-89EC-D855A0BFD920@mac.com> References: <DECBAC09-0F32-48FC-89EC-D855A0BFD920@mac.com> Message-ID: <4036420C-6B49-4AA2-9B53-5FD373C01E3A@economy-x-talk.com> Hi Jon, If you search the archives, you will find a visual basic script that does what you need. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 11-aug-2006, om 22:49 heeft Jon Seymour het volgende geschreven: > Hello, > > When I minimize a standalone application for Win32 made with Rev, > then click its button in the "task bar" at the bottom of the > screen, my application's window is drawn behind other apps that are > currently open. I've never observed this behavior before with > mainstream Windows apps as the intent of "un-minimizing" is > obviously to bring the app to the foreground, on top of the others. > > Does anyone know how to combat this? > > Thanks, > > Jon From revolutionary.dan at gmail.com Fri Aug 11 17:45:43 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Fri, 11 Aug 2006 14:45:43 -0700 Subject: RichText Implementation In-Reply-To: <001401c6bd70$7e25c870$7a715950$@no> References: <000001c6b879$bddbf3a0$3993dae0$@no> <000d01c6bd1c$5eea38a0$1cbea9e0$@no> <70ed6b130608111009t739377e0h81fa78aeaa029631@mail.gmail.com> <001401c6bd70$7e25c870$7a715950$@no> Message-ID: <70ed6b130608111445p539e21dfhc68edbb0fb952fa@mail.gmail.com> No apologies needed, Jan. No harm done. I had not for a long while been able to understand -- though I admit to not having spent a huge amount of time investigating either -- why RR or someone doesn't incorporate an external that would give us a fully formattable text object. There are a lot of such engines lying around. I can edit rich text in an HTML page, for Heaven's sake! Why can't I get that in a full-blown standalone app development tool? Turns out, as far as I can understand it, that the text engine in RunRev is so deeply interconnected at a fundamental level that any attempt to replace it or modify it is a HUGE undertaking. So I concluded that if rich text formatting of content is important to an app I'm being asked to create, I have two alternatives: (1)use RunRev but do the text formatting using HTML and output the reports/results in HTML for viewing in a browser (including, of course, altBrowser which can be embedded fairly neatly into the app directly); or (2) pick a different tool that has the built-in text editing incorporated. Python, which is my other favorite language, has numerous libraries in support of formatted, rich and other text options, e.g. Another reason why having only one tool in your toolbox isn't a great idea for a serious developer. Python lacks chunking but Transcript lacks rich text control. On 8/11/06, Jan S?lid <janselid at broadpark.no> wrote: > > Dan- > I'm really sorry to let this out. I didn't know that is was under > non-disclosure. Well, actually, if I had used my mind, buy I guess the > news > made me no think and only hope for a solution. > At least I know I'm not the only one with this problem. That always help a > little. > I have wished for this feature since 2003, even started a "campaign" to > make > people vote for it on bugzilla. But I decided to start building my project > anyway, and it's a very big project. > I just got an answer from revolution that I should not wait for this > feature > but do what I need to do... > > The only rad platform that have this feature is realbasic. But I've tried > it > several times, and I really don't like it. I grown into rev. I guess I > have > to take a leap of faith. Because I've done so much work already. > > Thanks for the answer. > > > Dan wrote: > >But I feel your pain. Lack of rich text formatting has forced me onto > another dev platform for one big project >and is threatening to do so for > another. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From joel.guillod at net2000.ch Fri Aug 11 18:58:40 2006 From: joel.guillod at net2000.ch (Joel Guillod) Date: Sat, 12 Aug 2006 00:58:40 +0200 Subject: How to save as a 'Legacy Revolution Stack' In-Reply-To: <20060810030758.5672E8256AC@mail.runrev.com> References: <20060810030758.5672E8256AC@mail.runrev.com> Message-ID: <703BE424-AB68-4C28-831F-3168D3AC51C0@net2000.ch> How can I force to save as a 'Legacy Revolution Stack' with the save command, i.e. without passing by the save dialog? And how to know if the saved format is 'Legacy Revolution Stack' or 'Revolution Stack'? From bvg at mac.com Fri Aug 11 19:44:17 2006 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 12 Aug 2006 01:44:17 +0200 Subject: [ANN] Simple De-Zipper Stack Message-ID: <9f54628e160894250054f66fd3ec6b50@mac.com> Hello everybody I made a test stack with the new zip capabilities, and i found out several things: -It doesn't handle folders by itself, so you have to create folder hierarchies instead of just decompressing them. -It does mangle permissions, namely the execute bit of an executable within a .app bundle (of course .exe files are unaffected). You can find a workaround for that in my stack. -if you create a zip and have folders in it, you need to recursive walk them, or disallow folders altogether (what i did, of course then it wouldn't work with any bundles anymore). -It seems very robust otherwise What my Stack is: -It decompresses folders, and .app bundles without hitch. -If however the decompressed filenames already exist at the position of your .zip file THEY WILL BE REPLACED WITHOUT WARNING! So it's best to move the .zip to decompress into it's own folder. -It does make new zip files out of files. What my Stack is not: -Finished -Able to create zips with folder in them. All in all this new rev zip library is again way too complex, and like the xml library, will probably never be used by myself again. And finally a link to the stack: http://www.bjoernke.com/runrev/stacks.php or, for the impatient: http://www.bjoernke.com/stacks/de-zipper.rev -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From garrett at paraboliclogic.com Fri Aug 11 19:54:31 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Fri, 11 Aug 2006 16:54:31 -0700 Subject: Character length limit in fields - Part Duex! In-Reply-To: <BE8CE397-B348-48B9-9A1B-0E561DD5962E@swcp.com> References: <ebbc84$nj2$1@sea.gmane.org> <6F5B63F8-4DEA-4022-87DE-D52B9E141C1A@paraboliclogic.com> <7B8EC5B4-2181-4427-81DE-A7FB89CF7277@paraboliclogic.com> <913D80DD-5028-4063-935A-5DC1064B59AB@swcp.com> <29C1A8D6-3EB1-46B7-AD9A-3DFBEF10B519@paraboliclogic.com> <BE8CE397-B348-48B9-9A1B-0E561DD5962E@swcp.com> Message-ID: <8709DEF1-74B7-4432-BBBB-7D09DA03446B@paraboliclogic.com> Rev 2.6.1 / Mac OS X Greetings, Recently I asked about the text width limit in characters of a field. It seems that 65,536 characters is the limit, but there are definitely some issues with stuffing that much on one line of a field. I am using "Lucida Grande Typewriter" as the font at size "12" * Field set to no wrap, disabled and focusing not allowed; the characters do not show up if you toss in over 32,000 characters. If I keep at 32,000 characters, they are visible in the field. * Field set to no wrap and has scroll bars; Single line has only 28,750 characters, characters are showing, but scrolling stops at about 665 characters. But if break the line at 665, then the scrolling is allowed to go to about 995, break that second line down with a return and the scrolling is allowed to go even further. I'm trying to make a simple text editor that uses monospaced only fonts, with a character grid/guide so I know at what character position I am at when typing text. Screenshot of the scroll and length issue here: http://www.paraboliclogic.com/fieldproblem.jpg Does anyone have any insight into this issue? Thanks, -Garrett From dsc at swcp.com Fri Aug 11 21:11:53 2006 From: dsc at swcp.com (Dar Scott) Date: Fri, 11 Aug 2006 19:11:53 -0600 Subject: Character length limit in fields - Part Duex! In-Reply-To: <8709DEF1-74B7-4432-BBBB-7D09DA03446B@paraboliclogic.com> References: <ebbc84$nj2$1@sea.gmane.org> <6F5B63F8-4DEA-4022-87DE-D52B9E141C1A@paraboliclogic.com> <7B8EC5B4-2181-4427-81DE-A7FB89CF7277@paraboliclogic.com> <913D80DD-5028-4063-935A-5DC1064B59AB@swcp.com> <29C1A8D6-3EB1-46B7-AD9A-3DFBEF10B519@paraboliclogic.com> <BE8CE397-B348-48B9-9A1B-0E561DD5962E@swcp.com> <8709DEF1-74B7-4432-BBBB-7D09DA03446B@paraboliclogic.com> Message-ID: <2B6E79C4-5F95-4F6A-AE2C-BEB53BDC6FCA@swcp.com> On Aug 11, 2006, at 5:54 PM, Garrett Hylltun wrote: > I am using "Lucida Grande Typewriter" as the font at size "12" > I'm trying to make a simple text editor that uses monospaced only > fonts, with a character grid/guide so I know at what character > position I am at when typing text. I suspect that the pixel width limit is much less than it was or I misunderstood what the pixel limit was. And/or there may be a separate limit on the scroll. I suspect there are arithmetic errors from overflows. I tried 12 point courier. That is 7 points wide so I thought I should be able to put 4570 characters on the line (assuming 32000 pixel limit). Boy did that go goofy. The line was cut off and the scroll went way beyond the end of the line. I was only able to put in about 3700 characters in the first line and scroll right. The formatted width was messed up, so you might want to go to much less. Gotta go. Dar Scott From soapdog at mac.com Fri Aug 11 21:24:47 2006 From: soapdog at mac.com (Andre Garzia) Date: Fri, 11 Aug 2006 22:24:47 -0300 Subject: Err... Revolution 2.7.3 on mac intel crashing with HTTPS?! Message-ID: <2CD0D760-2BF4-4B3E-AB93-5EA6FBE967A4@mac.com> Folks, can anyone confirm that Rev 2.7.3 is crashing on intel in every attempt to retrieve a secure URL such as https://www.blogger.com/atom a simple: put url "https://www.blogger.com/atom" in the message box, crashes everything... :-( Sad.... Cheers andre From dsc at swcp.com Fri Aug 11 22:45:13 2006 From: dsc at swcp.com (Dar Scott) Date: Fri, 11 Aug 2006 20:45:13 -0600 Subject: Err... Revolution 2.7.3 on mac intel crashing with HTTPS?! In-Reply-To: <2CD0D760-2BF4-4B3E-AB93-5EA6FBE967A4@mac.com> References: <2CD0D760-2BF4-4B3E-AB93-5EA6FBE967A4@mac.com> Message-ID: <813C5D61-77C5-47C4-989C-E12F88C9E718@swcp.com> On Aug 11, 2006, at 7:24 PM, Andre Garzia wrote: > put url "https://www.blogger.com/atom" in the message box, crashes > everything... Ah, yes, the atom bomb. From soapdog at mac.com Fri Aug 11 23:01:45 2006 From: soapdog at mac.com (Andre Garzia) Date: Sat, 12 Aug 2006 00:01:45 -0300 Subject: Err... Revolution 2.7.3 on mac intel crashing with HTTPS?! In-Reply-To: <813C5D61-77C5-47C4-989C-E12F88C9E718@swcp.com> References: <2CD0D760-2BF4-4B3E-AB93-5EA6FBE967A4@mac.com> <813C5D61-77C5-47C4-989C-E12F88C9E718@swcp.com> Message-ID: <DA47368D-663A-4A73-939E-1B4C0913BAD5@mac.com> eheheh.... I was going to ship a software today, now, I am not... On Aug 11, 2006, at 11:45 PM, Dar Scott wrote: > > On Aug 11, 2006, at 7:24 PM, Andre Garzia wrote: > >> put url "https://www.blogger.com/atom" in the message box, >> crashes everything... > > Ah, yes, the atom bomb. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From garrett at paraboliclogic.com Fri Aug 11 23:34:55 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Fri, 11 Aug 2006 20:34:55 -0700 Subject: Character length limit in fields - Part Duex! In-Reply-To: <2B6E79C4-5F95-4F6A-AE2C-BEB53BDC6FCA@swcp.com> References: <ebbc84$nj2$1@sea.gmane.org> <6F5B63F8-4DEA-4022-87DE-D52B9E141C1A@paraboliclogic.com> <7B8EC5B4-2181-4427-81DE-A7FB89CF7277@paraboliclogic.com> <913D80DD-5028-4063-935A-5DC1064B59AB@swcp.com> <29C1A8D6-3EB1-46B7-AD9A-3DFBEF10B519@paraboliclogic.com> <BE8CE397-B348-48B9-9A1B-0E561DD5962E@swcp.com> <8709DEF1-74B7-4432-BBBB-7D09DA03446B@paraboliclogic.com> <2B6E79C4-5F95-4F6A-AE2C-BEB53BDC6FCA@swcp.com> Message-ID: <847771D1-87CF-4CBC-BB1F-F869B52B5092@paraboliclogic.com> On Aug 11, 2006, at 6:11 PM, Dar Scott wrote: > > On Aug 11, 2006, at 5:54 PM, Garrett Hylltun wrote: > >> I am using "Lucida Grande Typewriter" as the font at size "12" > >> I'm trying to make a simple text editor that uses monospaced only >> fonts, with a character grid/guide so I know at what character >> position I am at when typing text. > > I suspect that the pixel width limit is much less than it was or I > misunderstood what the pixel limit was. And/or there may be a > separate limit on the scroll. I suspect there are arithmetic > errors from overflows. > > I tried 12 point courier. That is 7 points wide so I thought I > should be able to put 4570 characters on the line (assuming 32000 > pixel limit). Boy did that go goofy. The line was cut off and the > scroll went way beyond the end of the line. > > I was only able to put in about 3700 characters in the first line > and scroll right. > > The formatted width was messed up, so you might want to go to much > less. > > Gotta go. > > Dar Scott LOL.. Yeah, plays a bit of a game on it doesn't it. Thanks Dar for at least trying to figure that one out. I have never had the need for a line of text that's 32,000 or 65,000 or whatever, so maybe setting up my own code to limit lines to say 1024 or 2048 should be fine for me. Thanks again, -Garrett From sarah.reichelt at gmail.com Fri Aug 11 23:56:00 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 12 Aug 2006 13:56:00 +1000 Subject: How to save as a 'Legacy Revolution Stack' In-Reply-To: <703BE424-AB68-4C28-831F-3168D3AC51C0@net2000.ch> References: <20060810030758.5672E8256AC@mail.runrev.com> <703BE424-AB68-4C28-831F-3168D3AC51C0@net2000.ch> Message-ID: <f99b52860608112056m3fcf43a6xa19490396617f483@mail.gmail.com> On 8/12/06, Joel Guillod <joel.guillod at net2000.ch> wrote: > How can I force to save as a 'Legacy Revolution Stack' with the save > command, i.e. without passing by the save dialog? Set the stackFileVersion. It is 2.7 for modern stacks and 2.4 for legacy stacks. > And how to know if the saved format is 'Legacy Revolution Stack' or > 'Revolution Stack'? Open the stack in a Text editor, or load it into a Rev field as text i.e. using file: not binfile: Legacy stacks start with: #!/bin/sh # MetaCard 2.4 stack # The following is not ASCII text, # so now would be a good time to q out of more and modern stacks start with: REVO2700 where characters 5 to 8 may vary with differetn versions of Rev. HTH, Sarah From dsc at swcp.com Fri Aug 11 23:57:08 2006 From: dsc at swcp.com (Dar Scott) Date: Fri, 11 Aug 2006 21:57:08 -0600 Subject: Character length limit in fields - Part Duex! In-Reply-To: <847771D1-87CF-4CBC-BB1F-F869B52B5092@paraboliclogic.com> References: <ebbc84$nj2$1@sea.gmane.org> <6F5B63F8-4DEA-4022-87DE-D52B9E141C1A@paraboliclogic.com> <7B8EC5B4-2181-4427-81DE-A7FB89CF7277@paraboliclogic.com> <913D80DD-5028-4063-935A-5DC1064B59AB@swcp.com> <29C1A8D6-3EB1-46B7-AD9A-3DFBEF10B519@paraboliclogic.com> <BE8CE397-B348-48B9-9A1B-0E561DD5962E@swcp.com> <8709DEF1-74B7-4432-BBBB-7D09DA03446B@paraboliclogic.com> <2B6E79C4-5F95-4F6A-AE2C-BEB53BDC6FCA@swcp.com> <847771D1-87CF-4CBC-BB1F-F869B52B5092@paraboliclogic.com> Message-ID: <8E4BAA70-8133-4442-A3A0-EE43DBAADCC7@swcp.com> On Aug 11, 2006, at 9:34 PM, Garrett Hylltun wrote: > Thanks Dar for at least trying to figure that one out. I have > never had the need for a line of text that's 32,000 or 65,000 or > whatever, so maybe setting up my own code to limit lines to say > 1024 or 2048 should be fine for me. I'm seeing something fishy with the hscroll so that it doesn't scroll enough to the right regardless of the line length. It doesn't depend on the char size, so it is something other than the pixel limit. Dar From jperryl at ecs.fullerton.edu Sat Aug 12 00:53:55 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 11 Aug 2006 21:53:55 -0700 (PDT) Subject: OT: Is there a more English-like Programming language than Transcript? In-Reply-To: <44DBCFEB.5010407@fourthworld.com> Message-ID: <Pine.GSO.4.33.0608112153210.1495-100000@titan.ecs.fullerton.edu> Wasn't it OpenScript?? My memory may be bad... Judy On Thu, 10 Aug 2006, Richard Gaskin wrote: > After Director's Lingo, Flash's ActionScript, ToolBook's OpenTalk, From jperryl at ecs.fullerton.edu Sat Aug 12 01:00:30 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 11 Aug 2006 22:00:30 -0700 (PDT) Subject: Why do group ID's change when cloning a stack In-Reply-To: <9809C346-E7BE-4272-8878-6137A6C7E71A@twft.com> Message-ID: <Pine.GSO.4.33.0608112159230.1495-100000@titan.ecs.fullerton.edu> Is this a programmer-thing? I ask because I have a devil of a time convincing my students to *name* their objects. They end up having problems and it's VERY frustrating... Judy On Fri, 11 Aug 2006, Robert Sneidar wrote: > Since the days of Hypercard, I have known that using ID's to > reference objects was sketchy at best. As a matter of good > programming practice, you should keep track of all your variables and > object names so there is no inadvertent duplication to bite you in > the butt later. From sarah.reichelt at gmail.com Sat Aug 12 01:08:49 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 12 Aug 2006 15:08:49 +1000 Subject: Why do group ID's change when cloning a stack In-Reply-To: <Pine.GSO.4.33.0608112159230.1495-100000@titan.ecs.fullerton.edu> References: <9809C346-E7BE-4272-8878-6137A6C7E71A@twft.com> <Pine.GSO.4.33.0608112159230.1495-100000@titan.ecs.fullerton.edu> Message-ID: <f99b52860608112208h10753d9bh7e77f805338a0bc0@mail.gmail.com> On 8/12/06, Judy Perry <jperryl at ecs.fullerton.edu> wrote: > Is this a programmer-thing? > > I ask because I have a devil of a time convincing my students to *name* > their objects. They end up having problems and it's VERY frustrating... Judy, apart from the ID problem, it's a matter of practicality. If your students come back to a line of script in 6 months time and it says: set the label of btn ID 8765 to "Whatever" they are not going to have a clue what is going on. However if it says: set the label of btn "PrintSelectedText" to "Whatever" they are going to be able to see immediately what it is. Like Richard, I really like the way Rev allows you to have separate names & labels, so that labels can be changed to suit customer preferences, languages or what ever you like, while keeping the name the same so all your scripts still work. Cheers, Sarah From dsc at swcp.com Sat Aug 12 01:20:47 2006 From: dsc at swcp.com (Dar Scott) Date: Fri, 11 Aug 2006 23:20:47 -0600 Subject: Why do group ID's change when cloning a stack In-Reply-To: <f99b52860608112208h10753d9bh7e77f805338a0bc0@mail.gmail.com> References: <9809C346-E7BE-4272-8878-6137A6C7E71A@twft.com> <Pine.GSO.4.33.0608112159230.1495-100000@titan.ecs.fullerton.edu> <f99b52860608112208h10753d9bh7e77f805338a0bc0@mail.gmail.com> Message-ID: <77C2DB92-E2A2-411D-9F22-C24DD3EB5E8A@swcp.com> On Aug 11, 2006, at 11:08 PM, Sarah Reichelt wrote: > Like Richard, I really like the way Rev allows you to have separate > names & labels, so that labels can be changed to suit customer > preferences, languages or what ever you like, while keeping the name > the same so all your scripts still work. I have the memory of a goldfish. By time I get the edit window open, I forgot the names of the controls. So, I like this idea a lot, but for initial development and experimenting, I usually have the name of the control on the card somehow. When I'm typing in the script, I can look over and see the name. Now if I could drag a control onto a script and have the editor insert a reference to that control, then I can have it all. Or maybe have the names float over controls while I'm editing, so I can glance over and see them. Dar Scott From bridgeyman at gmail.com Sat Aug 12 02:00:49 2006 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Sat, 12 Aug 2006 00:00:49 -0600 Subject: Write To Process Message-ID: <86ae76bb0608112300yc9c1fedie87e996245aa2adf@mail.gmail.com> Hey, I want to develop an external using C++ to use with Revolution. My plan is to communicate with it using the "write to process" and "read from process" commands. Does anybody know how to intercept the data sent to an external using the write to process, or to send data so it can be read using the "read from process" command? Thank You, Bridger Maxwell From geradamas at yahoo.com Sat Aug 12 03:37:19 2006 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sat, 12 Aug 2006 00:37:19 -0700 (PDT) Subject: OT: Is there a more English-like Programming language than Transcript? Message-ID: <20060812073719.98822.qmail@web37513.mail.mud.yahoo.com> I always find claims that any computer language is more like English than another rather odd and, potentially misleading. Computers are not human beings, and our "Western" society is in the unfortunate grip of an extended metaphor that we (humans) are merely very sophisticated computers, and computers will, one day, behave just like humans. This metaphor is coming to be accepted, not as metaphor, but as some sort of fact. But it is not a fact. All computer languages are what they are; computer languages, and as such cannot do anything but resemble human languages in a superficial fashion (for starters, most human languages were not designed). To manipulated computers via a computer language requires an odd sort of non-human logic which must be learnt by any would-be programmer; and, while some languages attempt to obscure that, without that nothing really effective gets done. I don't think xTalk is like English; what I do know is that, in some ways it is easier to achieve fairly spectacular results more rapidly than with a language like PASCAL. But, under the hood, its the same thing. sincerely, Richmond Mathewson ____________________________________________________________ "Philosophical problems are confusions arising owing to the fluidity of meanings users attach to words and phrases." Mathewson, 2006 ____________________________________________________________ From david at openpartnership.net Sat Aug 12 05:26:13 2006 From: david at openpartnership.net (David Bovill) Date: Sat, 12 Aug 2006 10:26:13 +0100 Subject: Write To Process In-Reply-To: <86ae76bb0608112300yc9c1fedie87e996245aa2adf@mail.gmail.com> References: <86ae76bb0608112300yc9c1fedie87e996245aa2adf@mail.gmail.com> Message-ID: <c1c5836b0608120226i30d675e4s8d5fa250adf8523e@mail.gmail.com> Why use write / read to process instead of the externals API for C**? On 12/08/06, Bridger Maxwell <bridgeyman at gmail.com> wrote: > > Hey, > I want to develop an external using C++ to use with Revolution. My plan > is to communicate with it using the "write to process" and "read from > process" commands. Does anybody know how to intercept the data sent to an > external using the write to process, or to send data so it can be read > using > the "read from process" command? From barryb at libero.it Sat Aug 12 07:10:40 2006 From: barryb at libero.it (barryb at libero.it) Date: Sat, 12 Aug 2006 13:10:40 +0200 Subject: Killer ap commits suicide! Message-ID: <J3VTPS$B7B252C208FF542ACE372573C0B77F83@libero.it> I am still building my first stack in Revolution Media 2.7.2. on XP. I have a problem (understatement!): on trying to insert a Rev icon into a card, I inadvertantly changed the SHAPE of the Stack! Now it can only be seen through a "keyhole" in the form of an R about half an inch high and I can't for the life of me change it back to the original fullscreen view. The Inspector shows that all cards, objects etc., are still present. Of course, I could restart from an earlier backup but this happened in a working session where I had made a lot of progress. I enjoy reading the answers to others on this list but maybe I should spend some of that time to Read The Manual! Obvious last line :- Will some kind person please explain the solution to my problem? Thanks in advance, Barry Barber From m.schonewille at economy-x-talk.com Sat Aug 12 07:18:50 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 12 Aug 2006 13:18:50 +0200 Subject: Killer ap commits suicide! In-Reply-To: <J3VTPS$B7B252C208FF542ACE372573C0B77F83@libero.it> References: <J3VTPS$B7B252C208FF542ACE372573C0B77F83@libero.it> Message-ID: <60B06A67-346E-4AFF-8255-729F770DD63B@economy-x-talk.com> Hi Barry, Just type in the message box: set the windowShape of stack <the name of your stack> to 0 (That last character is a zero). You can also do this in the property inspector. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 12-aug-2006, om 13:10 heeft barryb at libero.it het volgende geschreven: > I am still building my first stack in Revolution Media 2.7.2. on XP. > I have a problem (understatement!): on trying to insert a Rev icon > into a card, I inadvertantly changed the SHAPE of the Stack! > Now it can only be seen through a "keyhole" in the form of an R > about half an inch high and I can't for the life of me change it > back to the original fullscreen view. > > The Inspector shows that all cards, objects etc., are still present. > Of course, I could restart from an earlier backup but this happened > in a working session where I had made a lot of progress. > I enjoy reading the answers to others on this list but maybe I > should spend some of that time to Read The Manual! > > Obvious last line :- Will some kind person please explain the > solution to my problem? > > Thanks in advance, > Barry Barber > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Aug 12 07:20:34 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 12 Aug 2006 21:20:34 +1000 Subject: Why do group ID's change when cloning a stack In-Reply-To: <77C2DB92-E2A2-411D-9F22-C24DD3EB5E8A@swcp.com> References: <9809C346-E7BE-4272-8878-6137A6C7E71A@twft.com> <Pine.GSO.4.33.0608112159230.1495-100000@titan.ecs.fullerton.edu> <f99b52860608112208h10753d9bh7e77f805338a0bc0@mail.gmail.com> <77C2DB92-E2A2-411D-9F22-C24DD3EB5E8A@swcp.com> Message-ID: <f99b52860608120420n4d81db0bx526825a9c476b011@mail.gmail.com> On 8/12/06, Dar Scott <dsc at swcp.com> wrote: > > On Aug 11, 2006, at 11:08 PM, Sarah Reichelt wrote: > > > Like Richard, I really like the way Rev allows you to have separate > > names & labels, so that labels can be changed to suit customer > > preferences, languages or what ever you like, while keeping the name > > the same so all your scripts still work. > > I have the memory of a goldfish. By time I get the edit window open, > I forgot the names of the controls. > > So, I like this idea a lot, but for initial development and > experimenting, I usually have the name of the control on the card > somehow. When I'm typing in the script, I can look over and see the > name. > > Now if I could drag a control onto a script and have the editor > insert a reference to that control, then I can have it all. Or maybe > have the names float over controls while I'm editing, so I can glance > over and see them. You need Galaxy! It shows the name of an object when you hover over it, and inserts the name in a script if you press Control-Escape :-) Sarah From jbv.silences at club-internet.fr Sat Aug 12 07:42:00 2006 From: jbv.silences at club-internet.fr (jbv) Date: Sat, 12 Aug 2006 13:42:00 +0200 Subject: OT: Is there a more English-like Programming language thanTranscript? References: <20060812073719.98822.qmail@web37513.mail.mud.yahoo.com> Message-ID: <44DDBE82.BCF40997@club-internet.fr> Richmond, I hope I won't trigger any flame war, but I'm afraid I totally disagree with your opinions, which I find rather counter-productive and even ill documented... > > > All computer languages are what they are; computer languages, and as such cannot do anything but resemble human languages in a superficial fashion (for starters, most human languages were not designed). To manipulated computers via a computer language requires an odd sort of non-human logic which must be learnt by any would-be programmer; and, while some languages attempt to obscure that, without that nothing really effective gets done. Actually, no human language exists per se in nature. no human language popped-up out of nowhere. Almost all human languages have been gradually designed (by social, cultural & environmental interactions), except for things like Esperanto or Volapuk (which aren't used by any human group, except for very very small amounts of afficionados, simply because they're totally artificial & abstract constructs that don't fit any social, cultural nor environmental needs). Basically a language can be considered as a tool to act and interact socially & culturally... A programing language is a tool to interact with computers, which are parts of our environment. Therefore, there's no reason why a programing language should have a different structure than "natural" languages... The only reasons (IMHO) why a lot of programing languages aren't like natural languages are : - historically computers have been created by mathematicians to process and solve math-like problems (the Manhattan project...). Therefore, as technical resources were limited (and political pressure high), they had to focus on the essential... - using "cryptic" techniques (hard to understand and intimidating to average humans) helped the first computer companies preserve & extend their monopole on that market, by introducing themselves as the "know how's"... In some ways, MS is still maintaining that old-fashion attitude with their undocumented features... And BTW it's also a well-known feature of human languages (slang) to preserve a group from being penetrated by outsiders... > > > I don't think xTalk is like English; what I do know is that, in some ways it is easier to achieve fairly spectacular results more rapidly than with a language like PASCAL. But, under the hood, its the same thing. > when driving your car, you don't need to know what's under the hood (unless it breaks down, of course). Therefore, why should a computer language remain closed to what's under the hood ? Of course, when fine tuning some scripts for better performance, it's usefull to keep in mind all internal registers and other technical details... But that's basically true only for assembler, and may be sometimes with some C code... These days, when programing an app, you don't move bytes from accumulator A to accumulator B... Instead you "act" at a much higher level (processing sentences, data, figures, diagrams...) which is getting farther & farther from what's under the hood... Therefore, since the nature of today's programing tasks is getting closer & closer to our daily social tasks & interactions, why should the language we use to perform these programing tasks be fundamentally different from the language we use in our social environment ? It's the fact that we're still living in a transitional era where bandwidth, processing power, storage capacities still need some improvement to fit all our needs (according to Moore's law, in a not-so-far-away future we'll have enough bw for whatever we want to do); and computer science is so young that we still keep in mind the constraints of the beginning... and Transcript isn't 100% english-like... But again, there's no valuable reason to stick to that situation where programing languages have to be computer languages... Best, JB From david at openpartnership.net Sat Aug 12 07:50:53 2006 From: david at openpartnership.net (David Bovill) Date: Sat, 12 Aug 2006 12:50:53 +0100 Subject: Subversion and online code libraries! Message-ID: <c1c5836b0608120450k6d5a7c6eqee0b80ad01108473@mail.gmail.com> Anyone using Subversion out there? I've been using Subversion for the last 9 months or so to save changes to the projects I have been working on. This is not really taking much advantage of subversion other than saving some disk space as every few changes are automatically saved (only the differences). I have this working on OSX, but it should work just the same on windows and Linux. There is not much of an interface yet. The real use of subversion / cvs is with a team working on a project - for instance members of this list working on libraries or components together. I have an online subversion repository that I use, with integrated documentation that I use for my own projects, and was wandering if there would be any interest in others on this list using such a tool? From david at openpartnership.net Sat Aug 12 07:57:32 2006 From: david at openpartnership.net (David Bovill) Date: Sat, 12 Aug 2006 12:57:32 +0100 Subject: OT: Is there a more English-like Programming language thanTranscript? In-Reply-To: <44DDBE82.BCF40997@club-internet.fr> References: <20060812073719.98822.qmail@web37513.mail.mud.yahoo.com> <44DDBE82.BCF40997@club-internet.fr> Message-ID: <c1c5836b0608120457n3801a64u12c6b6682d0ec014@mail.gmail.com> Good points there - but ny chance of keeping replies impersonal? There is one reason pointing to a disadvantage of purely natural language like syntax - and that is the need to maintain and sport bugs and changes. I am not sure yet how important this is - but I can see the need to very quickly scan through lots of code and spot errors and differences - this is not compatible with long heavy paragraphs of text - and certainly not legal "code" - rather it makes me thing of the syntax of poems. From JimCarwardine at OwnYourFuture-net.com Sat Aug 12 08:29:28 2006 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Sat, 12 Aug 2006 09:29:28 -0300 Subject: Revolution 2.7.3 released, support for U3 In-Reply-To: <F53CA322-502D-4498-8212-D3022D35A21D@runrev.com> Message-ID: <C1034FF8.F23D%JimCarwardine@OwnYourFuture-net.com> This appears to be a PC only upgrade. Is that true or does the Mac OS version contain the U3 stuff? Jim on 8/11/06 6:58 AM, Heather Nagey wrote: > Dear list folk, > > I am delighted to announce that Revolution for U3 is now available > and to give you good folks advance notice about a special offer. > > 2.7.3 now has support for building applications on and for U3, the > future looking system for running seamlessly from a flash drive, > download it here: > > http://downloads.runrev.com > > As a special offer, we have a very limited supply of the RevCon West > U3 flash drives in beautiful translucent purple for the first 36 > purchasers of any Revolution CD plus any type of license! Yes, that > includes updates, new purchases and even Media licenses. > > The U3 platform powers U3 smart drives that let consumers carry and > launch not only files but software programs, personal preferences and > computer settings - and the means for managing it all - wherever they > go. Consumers simply plug the U3 smart drive into the USB port of any > PC and securely access their files and software programs via the user- > friendly U3 Launchpad. When the U3 smart drive is removed, the U3 > Launchpad disappears from the computer and no personal information or > software is left behind. > > Revolution 2.7.3 lets developers select a ?U3 compatible? option when > they begin creating a new software program. The new software they > create will automatically conform to the U3 platform and will pass > U3?s compatibility testing. Because the Revolution 2.7.3 development > environment itself is U3 compatible, developers can carry Revolution > on a U3 smart drive and securely access their work on any PC. > > As well as U3 support, 2.7.3 brings you > > - Zip file management allows file compression, listing archive > contents and adding or extracting files in archives. > > - Application instancing lets developers control whether multiple or > single instances of Revolution-based applications can run on Windows. > > - Improved Revolution Player-based distribution adds support for very > long file names. Several additional fixes were made to players. > > - The Revolution integrated development environment has been upgraded > with fixes for interrupting applications during the debugging process > and with minor adjustments to make it easier to modify. > > This is a feature release, which means if you have a valid update > pack you can download and install this for free, if you don't have an > update pack you are going to need to get one in order to access this > release. > > http://www.runrev.com/buy/studio_update > > http://www.runrev.com/buy/enterprise_update > > I hope you enjoy this latest improvement to Revolution! > > Warm regards > Heather > > Heather Nagey > Customer Services Manager > Runtime Revolution Ltd > http://www.runrev.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- www.TalentSeeker.ca www.HiringSmart.ca/ns www.KeepingTheBest.ca/ns <http://www.OwnYourFuture-net.com> 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 claudi at fiberworld.nl Sat Aug 12 08:45:07 2006 From: claudi at fiberworld.nl (Claudi Cornaz) Date: Sat, 12 Aug 2006 14:45:07 +0200 Subject: Why do group ID's change when cloning a stack In-Reply-To: <f99b52860608120420n4d81db0bx526825a9c476b011@mail.gmail.com> References: <9809C346-E7BE-4272-8878-6137A6C7E71A@twft.com> <Pine.GSO.4.33.0608112159230.1495-100000@titan.ecs.fullerton.edu> <f99b52860608112208h10753d9bh7e77f805338a0bc0@mail.gmail.com> <77C2DB92-E2A2-411D-9F22-C24DD3EB5E8A@swcp.com> <f99b52860608120420n4d81db0bx526825a9c476b011@mail.gmail.com> Message-ID: <0db099d0f0a3b218248077e8bf48ee29@fiberworld.nl> Hi all, Well, I do name all my controls, because ofcourse it's a lot clearer to read the code. The thing I am working on now is a frame-border kind of object. I design it in a 3D program slice into the right bits and import the images into runrev where they get assembled. There is provision for different states, like focused, unfocused, dimmed, dragEnter etc. There may also be many different styles and substyles, which ofcourse have theire different states. So actualy the component is a grp of grps which contain grps which contain img's. All these style grp's have basicaly the same setup, with the same names for theire subgrps and subparts. Now I can treat each grp the same way with the same code because the names of their subgroups/parts are all the same. So I only need the id of the enclosing grp to be very specific because id's are unique, whereas in this setup the names are NOT different on PURPOSE. That's the nice thing about unique id's combined with names which needen't be unique. With storing the unique id of the parent grp I can adress very specificly all parts in that grp although there might be tens or hundred of similar grps nested in other grps, which are nested in other grps. One id makes it very precise. Because of the unique id's I only need to store one ID istead of the whole chain of names till I reach a unique part which might be several levels up (img "left" of grp "focused" of grp "border" of grp "greenstyle" of grp "defaultStyles" of grp "styles" of grp "fieldFrame". Instead of img "left" of grp id 1003) Well sure the id's stay unique, but they are not safe because they get changed. This is a real nuissance. What I am doing now is only about 3 levels deep, so it is manageable altough now I need to insert code to check for duplicate names otherwise it might get screwed up completly. (Names might be changed on the fly) I know I will get into situations where the number of levels get way beyond 3 and then it becomes very awkward. Also I believe this should be documented somewhere 'cause it might waste people a lot of time. I am also interested WHY this should happen. If you have stack A with 2 grp's and you clone the stack then the id's of the 2 grp's will stay the same but every control in the grp will get a new ID. If I clone the same stack A again I now have 2 cloned stacks which are identical that is to say all the ids of all controls in both cloned stacks are exactly the same and both differ from the original. So Why? Best wishes Claudi From viktoras at ekoinf.net Sat Aug 12 09:07:48 2006 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Sat, 12 Aug 2006 16:07:48 +0300 (FLE Standard Time) Subject: Write To Process References: <c1c5836b0608120226i30d675e4s8d5fa250adf8523e@mail.gmail.com> Message-ID: <44DDD2A4.000001.03956@MAZYTIS> Hi, just follow instructions provided by the Revolution sdk: http://support.runrev.com/resources/development_kit.php Viktoras -------Original Message------- From: David Bovill Date: 08/12/06 12:26:47 To: How to use Revolution Subject: Re: Write To Process Why use write / read to process instead of the externals API for C**? On 12/08/06, Bridger Maxwell <bridgeyman at gmail.com> wrote: > > Hey, > I want to develop an external using C++ to use with Revolution. My plan > is to communicate with it using the "write to process" and "read from > process" commands. Does anybody know how to intercept the data sent to an > external using the write to process, or to send data so it can be read > using > the "read from process" command? _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Sat Aug 12 11:45:21 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 12 Aug 2006 08:45:21 -0700 Subject: Revolution 2.7.3 released, support for U3 Message-ID: <44DDF791.7050502@fourthworld.com> Jim Carwardine wrote: > This appears to be a PC only upgrade. Is that true or does the Mac OS > version contain the U3 stuff? Jim At its core, U3 is just a novel interface to a feature built into the Windows OS: On Win, any read-only volume can have an autorun.inf file in its root directory which causes the OS to automatically run whatever file is specified in that INF file whenever the volume is mounted. This is how Windows CDs have been commonly made for more than a decade, to the point that today Win users so expect the CD to "do something" that if you don't use an INF file they'll call your tech support to report that the CD is "broken". :) U3 merely tricks the OS into making autorun.inf files runnable from flash drives, by partitioning the drive so that one partition (the one that contains the menu application) is read-only. Partitioning is simple and soon many non-U3-member vendors were offering custom partitioned drives (you can order these from a great many vendors around the web), so U3 went further to differentiate itself with the recent addition of the auto-shutdown feature and a couple others. Because the core of the U3 experience is dependent on a Windows-specific OS feature, currently U3 can only deliver that experience on Windows, and no on Mac or Linux. And because Apple has explicitly expressed a disdain for the security risks introduced when any auto-run feature is added to an OS (they had this in an early version of QT, but after it was used to spread viruses they yanked it and vowed to never do that again), it seems unlikely that Apple would risk losing the advantage they currently enjoy in being perceived as more secure than Windows just for the modest benefit U3 provides. Perhaps the coolest thing about U3 is that the vendors using it have really helped pushed the notion of delivering applications on Flash drives, which helps not only the millions of customers who buy U3 drives by the order of magnitude more who buy non-U3 drives. And as Rev developers, it's always been a trivial matter for us to deliver fully self-contained apps which run from removable media without needing to modify the host computer. While Rev's work in the U3-specific additions are helpful, you can also deliver portable apps on ANY removable drive, U3 or not. For the benefit of developers looking to deploy to the full range of Flash drives on all major operating systems, a discussion group has been formed to explore ways of establishing simple common directories and an open source player to make it easy for developers and simple for their users: <http://groups.yahoo.com/group/U4-Group/> -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From Roger.E.Eller at sealedair.com Sat Aug 12 12:09:21 2006 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Sat, 12 Aug 2006 12:09:21 -0400 Subject: OT: Is there a more English-like Programming language thanTranscript? Message-ID: <OF53C94AC2.1120A1C4-ON852571C8.005746BE@sealedair.com> > - rather it makes me thing of the syntax of poems. global gSweet on mouseUp answer "Please choose an option" with "red" or "blue" put it into field "theAnswerChosenByYou" if it is "red" then set the backgroundColor of field "roses" to red else if it is "blue" then set the backgroundColor of field "violets" to blue end if end if put "sugar" & cr into gSweet put "You" & cr after gSweet end mouseUp LOL -- I just had to! Roger Eller <roger.e.eller at sealedair.com> From dsc at swcp.com Sat Aug 12 14:19:14 2006 From: dsc at swcp.com (Dar Scott) Date: Sat, 12 Aug 2006 12:19:14 -0600 Subject: OT: Is there a more English-like Programming language than Transcript? In-Reply-To: <20060812073719.98822.qmail@web37513.mail.mud.yahoo.com> References: <20060812073719.98822.qmail@web37513.mail.mud.yahoo.com> Message-ID: <C26135A1-8660-4D14-B397-CED9753C7C2B@swcp.com> On Aug 12, 2006, at 1:37 AM, Richmond Mathewson wrote: > To manipulated computers via a computer language requires an odd > sort of non-human logic which must be learnt by any would-be > programmer; and, while some languages attempt to obscure that, > without that nothing really effective gets done. Perhaps that would-be human programmer is 90% along the path to that odd sort of logic because of human language. Formal languages often have features of a human language. Perhaps if natural languages were not recursive, only math wizards would use recursive languages. I don't think that "obscure" is the right word. Yeah, if we start to imagine the programming language as being English we will often do things that don't work. However, there are aspects of a human language that programming languages including xTalk have. (I hope I'm not considered heretical to say that even C has aspects of a human language.) We tend to take these for granted. English as a 2nd-person imperative syntax that works great for telling a computer what to do. The verb comes first. The meaning of a verb is augmented by other words. The slot of these words is by syntax such as object and indirect object. Nonlexical words are used to mark other players in augmenting the verb. This fits in well in programming and if you squint, you can see a C function call doing this. In some cases xTalk uses a form that uses a noun to tag the verb modifier. We see this in some of the new encryption commands. This is common in languages and is used somewhat in English. "We took the last leg with Greg as driver." This is used some in lisp dialects. (It might be cool to add this to custom commands.) It seems xTalk has a more rigid syntax than expected. I think this is because the assigned prepositions are not clear as to what role the augmenter is playing. So, in this way the natural and the computerish are the same. Another reminder: Consider the tail recursion of object references. Those can be complex, but most humans have no problems with the complexity. In most languages, this is natural and is processed quickly. I do have problems with some word choices. I can never remember "combine" or which way it goes. The adding of "and" to syntax markers makes it a grouping "and" and not a logical "and" that it is everywhere else. These little things add choices. I think it is OK to augment xTalk with 8th grade math, or what should be in 8th grade math. Dar From joel.guillod at net2000.ch Sat Aug 12 14:31:02 2006 From: joel.guillod at net2000.ch (Joel Guillod) Date: Sat, 12 Aug 2006 20:31:02 +0200 Subject: Why do group ID's change when cloning a stack In-Reply-To: <20060812095036.C259B82540B@mail.runrev.com> References: <20060812095036.C259B82540B@mail.runrev.com> Message-ID: <18097C6E-7B5D-4034-A7FF-EB1D418D263D@net2000.ch> I agree that in most instances using the name of controls is the best way. BUT there is a **semantic** issue with the current behavior of the clone command because we expect a clone to be an exact copy of the original. Also, the problem of changing the ID especially for images is a nasty one. Suppose you have many groups displaying different images in fields where the imagesource reference the id of images, the result of the clone can be not only surprising but also dangerous if IDs are mixed... (for instance imagine a surgery imaging software which after cloning a stack displays another image instead of the orginal one and ... then you - the patient - awake with amputation of the left leg instead of a back pigmented mole ablation). Due to the semantic trouble of the current cloning way I suggest that Claudi who has found this disturbing behavior fills a bug. From david at openpartnership.net Sat Aug 12 14:36:23 2006 From: david at openpartnership.net (David Bovill) Date: Sat, 12 Aug 2006 19:36:23 +0100 Subject: OT: Is there a more English-like Programming language thanTranscript? In-Reply-To: <OF53C94AC2.1120A1C4-ON852571C8.005746BE@sealedair.com> References: <OF53C94AC2.1120A1C4-ON852571C8.005746BE@sealedair.com> Message-ID: <c1c5836b0608121136u7b64c629gc366a127f5bdd528@mail.gmail.com> Great poem! There was a nice project - an artist did I forget her name in the late 80's or early 90's in HyperCard - it was a complex text and graphic story - black and white of course - I never read it all unfortunately - would love to track it down now - but the story would dip into the code sometimes and then back to the story. That is the hypertext sometimes triggered an "edit script" link which would then reveal some of the plot! I really liked this at the time, I still do. Can be done better in Rev as the Script Editor can be customised as well (not like in hyperCard) - so you can have links back from the code to the plot (not just closing the window). I hope a little bit of that comes off with the wikiCode project I am working on now - not sure of the name yet - revCode, wikicode, r-Code - either way it is a place for shared code mainly - but maybe a few poems :) From liamlambert at mac.com Sat Aug 12 17:53:52 2006 From: liamlambert at mac.com (Liam Lambert) Date: Sat, 12 Aug 2006 22:53:52 +0100 Subject: text colors Message-ID: <2AE73530-1AA9-4D53-8E04-145FFC6CE855@mac.com> Hi all I want to change the color of a line in a fld if it contains the word reservation something like this but this REPEAT for each line tline in fld "booking" IF line tline contains "reservation" then set the colors of line tline to "red" end if end repeat Liam IRELAND liamlambert at mac.com From revdev at pdslabs.net Sat Aug 12 19:11:03 2006 From: revdev at pdslabs.net (Phil Davis) Date: Sat, 12 Aug 2006 16:11:03 -0700 Subject: text colors In-Reply-To: <2AE73530-1AA9-4D53-8E04-145FFC6CE855@mac.com> References: <2AE73530-1AA9-4D53-8E04-145FFC6CE855@mac.com> Message-ID: <44DE6007.4000608@pdslabs.net> Hi Liam, Here's one way that works, using a button to make it happen. It uses the formattedText of the field to figure out which words are in which soft-wrapped lines. I'm sure there must be more elegant or robust ways to do it, but: on mouseUp put the formattedText of fld "booking" into tText repeat with x = 1 to the number of lines in tText if "reservation" is among the words of line x of tText then put (the number of words in line 1 to (x-1) of tText) + 1 into tStart put (the number of words in line 1 to x of tText) into tEnd set the textColor of word tStart to tEnd of fld "booking" to "red" end if end repeat end mouseUp Best - Phil Davis Liam Lambert wrote: > Hi all > I want to change the color of a line in a fld if it contains the word > reservation > something like this but this > > REPEAT for each line tline in fld "booking" > IF line tline contains "reservation" then > set the colors of line tline to "red" > end if > end repeat > > > Liam > IRELAND > liamlambert 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 liamlambert at mac.com Sat Aug 12 19:29:38 2006 From: liamlambert at mac.com (Liam Lambert) Date: Sun, 13 Aug 2006 00:29:38 +0100 Subject: text colors Message-ID: <328CB997-F336-428A-A4A8-A2912BB2835D@mac.com> Thank's Phil Liam IRELAND liamlambert at mac.com From dsc at swcp.com Sat Aug 12 19:38:45 2006 From: dsc at swcp.com (Dar Scott) Date: Sat, 12 Aug 2006 17:38:45 -0600 Subject: text colors In-Reply-To: <2AE73530-1AA9-4D53-8E04-145FFC6CE855@mac.com> References: <2AE73530-1AA9-4D53-8E04-145FFC6CE855@mac.com> Message-ID: <024C4DD8-C1DA-4E16-A3B8-0912B4F21ADD@swcp.com> On Aug 12, 2006, at 3:53 PM, Liam Lambert wrote: > REPEAT for each line tline in fld "booking" > IF line tline contains "reservation" then > set the colors of line tline to "red" > end if > end repeat Regardless of whether it is appropriate for xTalk, I think we tend to want to work with chunk references such as a chunk repeat. Perhaps it is the chunk function selection() that teases us so. Dar Scott From m.schonewille at economy-x-talk.com Sat Aug 12 21:56:11 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 13 Aug 2006 03:56:11 +0200 Subject: ANN: Pointer Tooltips Plugin In-Reply-To: <77C2DB92-E2A2-411D-9F22-C24DD3EB5E8A@swcp.com> References: <9809C346-E7BE-4272-8878-6137A6C7E71A@twft.com> <Pine.GSO.4.33.0608112159230.1495-100000@titan.ecs.fullerton.edu> <f99b52860608112208h10753d9bh7e77f805338a0bc0@mail.gmail.com> <77C2DB92-E2A2-411D-9F22-C24DD3EB5E8A@swcp.com> Message-ID: <6FCF51B5-DACC-4F96-A4DF-A6C4F50BF766@economy-x-talk.com> Hi Dar, You could just have asked for it. Well ok, you did, eventually. Here is the announcement of a cool plugin. Pointer Tooltips Plugin 1.0 for Runtime Revolution Economy-x-Talk is glad to announce a plug-in for Revolution, named Pointer Tooltips. which displays the names of objects, such as fields and buttons, in multi-line tooltips. Save the plugin in your plug-ins folder, choose RevAltTooltip* from the Plug-ins menu, and click the checkbox to turn it on. The Pointer Tooltip plug-in shows the long names of objects, such as fields and buttons, in a multi-line tooltip, while the pointer tool is selected. Save the plug-in in your plug-ins folder, choose RevAltTooltip* from the Plug-ins menu, and click the checkbox to turn it on. When the tooltips get distracting, simply click the checkbox again to turn it off. The Pointer Tooltip plug-in has been tested with Revolution 2.0.3, 2.6.1 and 2.7.3. Earlier versions of Revolution are not supported. It works fine on Mac OS 9, Mac OS X, Windows 98 and Windows XP and can also be used with Media, although not as plug-in. If you experience problems while using this plug-in with Revolution 2.0.3 or later or with different operating systems, please contact us. The Pointer Tooltip plug-in is freeware. Redistribution of this plug- in is not allowed. You can download the latest version from the Developers section of our homepage at http://economy-x-talk.com. Please, don't give this plug-in away but refer your friends to the website instead. We are very grateful to everyone who helped with ideas and beta testing, particularly Bj?rnke von Gierke, Malte Bril, Wouter Abraham and Sean Shao. Best regards, Mark Schonewille -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 12-aug-2006, om 7:20 heeft Dar Scott het volgende geschreven: > > Now if I could drag a control onto a script and have the editor > insert a reference to that control, then I can have it all. Or > maybe have the names float over controls while I'm editing, so I > can glance over and see them. > > Dar Scott From dsc at swcp.com Sat Aug 12 23:57:22 2006 From: dsc at swcp.com (Dar Scott) Date: Sat, 12 Aug 2006 21:57:22 -0600 Subject: ANN: Pointer Tooltips Plugin In-Reply-To: <6FCF51B5-DACC-4F96-A4DF-A6C4F50BF766@economy-x-talk.com> References: <9809C346-E7BE-4272-8878-6137A6C7E71A@twft.com> <Pine.GSO.4.33.0608112159230.1495-100000@titan.ecs.fullerton.edu> <f99b52860608112208h10753d9bh7e77f805338a0bc0@mail.gmail.com> <77C2DB92-E2A2-411D-9F22-C24DD3EB5E8A@swcp.com> <6FCF51B5-DACC-4F96-A4DF-A6C4F50BF766@economy-x-talk.com> Message-ID: <64FAD65F-7DD1-4172-9562-8EA05A495322@swcp.com> On Aug 12, 2006, at 7:56 PM, Mark Schonewille wrote: > You could just have asked for it. Well ok, you did, eventually. > Here is the announcement of a cool plugin. > > Pointer Tooltips Plugin 1.0 for Runtime Revolution Wow! Now I'm so productive, my fingers are smoking! Dar From list at dreamscapesoftware.com Sun Aug 13 02:40:07 2006 From: list at dreamscapesoftware.com (dreamscapesoftware.com - List) Date: Sun, 13 Aug 2006 02:40:07 -0400 Subject: ANN: Pointer Tooltips Plugin Message-ID: <200608130640.k7D6e78Q019094@valuworld.com> Mark Schonewille wrote: > Economy-x-Talk is glad to announce a plug-in for Revolution, named Pointer Tooltips. which displays the names of objects, such as fields and buttons, in multi-line tooltips. Save the plugin in your plug-ins folder, choose RevAltTooltip* from the Plug-ins menu, and click the checkbox to turn it on. Mark, This is a really wonderful plugin, but I'm noticing an issue. I'm running Rev 2.7.2 on Win XP and after I enabled the plugin and draged a button to my stack, it delete's right away. The plugin works fine for the existing controls, but try to add a new one and it delete's the control immediately. Let me know if you need a better example of the bug I'm experiencing. Otherwise I like it! Great job! Derek Bump Dreamscape Software www.dreamscapesoftware.com From geradamas at yahoo.com Sun Aug 13 03:34:13 2006 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sun, 13 Aug 2006 00:34:13 -0700 (PDT) Subject: OT: Is there a more English-like Programming language thanTranscript? Message-ID: <20060813073413.44252.qmail@web37501.mail.mud.yahoo.com> jbv wrote "I hope I won't trigger any flame war" OOH, Goody, Goody, Goody, Let's have a flame war! Frankly, I wear long-trousers nowadays, so prefer civilized discussion :) "no human language exists per se in nature. no human language popped-up out of nowhere." I feel I may be hanged for something I didn't write :) I did not state that human languages popped out of nowhere:- [Maybe they were breathed out of the nostrils of Lord Brahma at the start of the Maha Kalpa ???] I stated that they were not DESIGNED (excluding Esperanto and "value-pack"), but EVOLVED. I know that good folks like Jonathan Swift tried to set up an English Academy to manipulate English; I am also aware of the foul murder of the circonflex by l'Academie Francaise and the destruction of the male gender in Nederlaans and Vlaams. Here in Bulgaria, the communists managed to castrate the Bulgarian alphabet in such a way as to alter the way many words are pronounced. As an EFL teacher I am acutely conscious, on a daily basis, of the ongoing tension between Prescriptivism and "How English Is Spoke". But humans love mucking around with things that have developed naturally. However, xTalk's "seed" was "breathed out of the nostrils" of Bill Atkinson and his chums. Subsequently people working with SuperCard, MetaCard and RR have altered and augmented HyperTalk, and a variety of "dialects" have arisen. ----------------------------------------- The main thrust of my previous message was not to point out the above (which should be fairly obvious!), BUT to point out that the global extension of the "Computer = Human" metaphor is rather destructive; and that there might be a dangerous tendency associated with it insofar as an "English-like" computer language could give the impression that one was having a 'chat' with a computer, rather than programming it. Humans, unlike computers, can interpret things. Computers, unlike humans, do exactly what you instruct them to do. Phrases such as "the computer does not understand me" are simply anthropomorphisms. ---------------------------------------- Sorry, Flame War is OFF! sincerely, Richmond Mathewson ____________________________________________________________ "Philosophical problems are confusions arising owing to the fluidity of meanings users attach to words and phrases." Mathewson, 2006 ____________________________________________________________ From revolution at derbrill.de Sun Aug 13 03:40:06 2006 From: revolution at derbrill.de (Malte Brill) Date: Sun, 13 Aug 2006 09:40:06 +0200 Subject: text colors In-Reply-To: <20060812170004.B765782543E@mail.runrev.com> References: <20060812170004.B765782543E@mail.runrev.com> Message-ID: <B284C4E1-87FB-4DB9-8CEA-0974A2D135F7@derbrill.de> HI Liam, the problem with your original script was that repeat for each works different from ordinary repeat loops. Repeat for each uses an indexvariable that is read only (tLine in your case). tLine is not a numeric reference to a line, but the contents of that line, so your script would not work. so if your fld would contain Tomato Mango Mungo tLine would contain "Tomato" in the first iteration of the loop, "Mango" in the second and "Mungo" in the last (without the quotes). Repeat for each executes a whole lot faster than the other forms of repeat, so I tend to use it whenever possible. You do not have a direct reference to a line number though. However, you could still take advantage of the faster execution of repeat for each by introducing a counter variable. put 0 into tCounter repeat for each line tLine in fld "booking" add 1 to tCounter if "reservation" is in tLine then set the textColor of line tCounter of fld "booking" to red end if end repeat Hope that helps, Malte From geradamas at yahoo.com Sun Aug 13 03:53:00 2006 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sun, 13 Aug 2006 00:53:00 -0700 (PDT) Subject: What should be in 8th Grade Maths ? Message-ID: <20060813075300.75139.qmail@web37510.mail.mud.yahoo.com> Re a recent posting by Dar Scott: I teach quite a lot of "squeaky little 6-12 year olds" simple programming using Runtime Revolution and the stumbling block is usually mathematical (some of the stupid ones cannot get their heads around my initial demonstration with the coffee cups and the dried beans - and so have no chance understanding Object-based languages). Now, like it or not, the squeaky little 6-12 year olds will be in command when most of us are dead, or heading that way. Like human language learning, the sooner you can get children involved in computer programming, the more chance that there is that they will become good at it. So, as school systems everywhere (well at least in the US, the UK and Bulgaria) are a bit slack with the maths, has anybody any idea about what Basic Maths is needed to guarantee a bright child (and most of them are bright, given the right sort of encouragement and stimulus) is not going to come a cropper just when they are getting all excited when they find they can do real things with RR (watching a 6 year-old produce a simple program is sheer joy). Plainly: A MATHS CORE for PROGRAMMING SKILLS. sincerely, Richmond Mathewson ____________________________________________________________ "Philosophical problems are confusions arising owing to the fluidity of meanings users attach to words and phrases." Mathewson, 2006 ____________________________________________________________ From jbv.silences at club-internet.fr Sun Aug 13 05:35:45 2006 From: jbv.silences at club-internet.fr (jbv) Date: Sun, 13 Aug 2006 11:35:45 +0200 Subject: OT: Is there a more English-like Programming languagethanTranscript? References: <20060813073413.44252.qmail@web37501.mail.mud.yahoo.com> Message-ID: <44DEF26D.279CB4B3@club-internet.fr> Richmond, > > "no human language exists per se in nature. no human language popped-up out of nowhere." > > I feel I may be hanged for something I didn't write :) I did not state that human languages popped out of nowhere:- > > > I stated that they were not DESIGNED (excluding Esperanto and "value-pack"), but EVOLVED. I'm afraid there's still some basic misunderstanding here... 1) your original message didn't mention any evolution concept... "for starters, most human languages were not designed"... those were your very words... 2) I would rather say "all human languages EVOLVED, therefore they WERE DESIGNED... Again, the point I want to make is that there's no such thing as an ideal language that would exists somewhere as an abstract entity (which was the original illusion of linguistics), and various humans using various forms (more or less tweaked) of it. A human language exists only when humans are using it. And humans use it according to their needs, which vary in space & time, and that's why there are various forms of english (for instance) also called "language levels"... In that context, an "English-like" computer language appears to be a rather meaningless concept. I prefer to consider human / computer interaction as another form of interaction between humans and a part of their environment, which requires a specific tool : another level of their natural language with some specific adaptations & tweakings to fit the situation... > > > The main thrust of my previous message was not to point out the above (which should be fairly obvious!), > BUT to point out that the global extension of the "Computer = Human" metaphor is rather destructive; and > that there might be a dangerous tendency associated with it insofar as an "English-like" computer language > could give the impression that one was having a 'chat' with a computer, rather than programming it. > > Humans, unlike computers, can interpret things. Computers, unlike humans, do exactly what you instruct them to do. Phrases such as "the computer does not understand me" are simply anthropomorphisms. Well, to me the above sounds like some cheap outdated sci-fi / AI concepts... When teachning your students or giving instructions to your colleagues, do you have the feeling you're programing them ? I hope not ! Therefore, why would you feel like chatting with your computer when you're programing it with a language closed to english ? No matter if I write x=myVar.substr(0,9) or put char 1 to 10 of myVar into x I know I'm programing my Mac and that he'll do what I instruct him (it ?). Computers are just tools to achieve some goals. And again, I don't see any reason whu programing languages should remain computer languages... Cheers, JB From david at openpartnership.net Sun Aug 13 05:30:45 2006 From: david at openpartnership.net (David Bovill) Date: Sun, 13 Aug 2006 10:30:45 +0100 Subject: Shells - non-blocking? Message-ID: <c1c5836b0608130230v43e86ba0y543172677aae1e40@mail.gmail.com> To shell() is a blocking command... Given that you can "do anything" with the shell.... anyone knwo of a techniqu to call a hell command in that background - perrhaps with a shell command... screnn something like that? I want to call the shell command and let the user get on with other gui stuff... wouldn't it be nice to have: put shell("something really slow") with message "doneIT" ? From liamlambert at mac.com Sun Aug 13 05:47:36 2006 From: liamlambert at mac.com (Liam Lambert) Date: Sun, 13 Aug 2006 10:47:36 +0100 Subject: text colors Message-ID: <2E5631CD-15EA-4D2E-B561-C1E9C05B01EB@mac.com> Thank you Malte That helps a lot Liam IRELAND liamlambert at mac.com From geradamas at yahoo.com Sun Aug 13 07:10:40 2006 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sun, 13 Aug 2006 04:10:40 -0700 (PDT) Subject: [OT] When does VersionTracker hilite an application in blue? Message-ID: <20060813111040.19032.qmail@web37512.mail.mud.yahoo.com> The RR upgrade (2.7.3) was listed on Versiontracker in plain black. I notice that upgrades that somebody ( ? ? Who ? ? ) considers important are listed in blue; and so eye-catching. sincerely, Richmond Mathewson ____________________________________________________________ "Philosophical problems are confusions arising owing to the fluidity of meanings users attach to words and phrases." Mathewson, 2006 ____________________________________________________________ From JimCarwardine at OwnYourFuture-net.com Sun Aug 13 08:18:38 2006 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Sun, 13 Aug 2006 09:18:38 -0300 Subject: Revolution 2.7.3 released, support for U3 In-Reply-To: <44DDF791.7050502@fourthworld.com> Message-ID: <C1049EEE.F26C%JimCarwardine@OwnYourFuture-net.com> Thanks, Richard... I wish I had your encyclopedic mind. This was way outside my personal experience not ever having owned a PC. I thought this may have had something to do with writing apps for handhelds - Rev having a Palm interface option or something like that... Jim on 8/12/06 12:45 PM, Richard Gaskin wrote: > Jim Carwardine wrote: > >> This appears to be a PC only upgrade. Is that true or does the Mac OS >> version contain the U3 stuff? Jim > > At its core, U3 is just a novel interface to a feature built into the > Windows OS: > > On Win, any read-only volume can have an autorun.inf file in its root > directory which causes the OS to automatically run whatever file is > specified in that INF file whenever the volume is mounted. This is how > Windows CDs have been commonly made for more than a decade, to the point > that today Win users so expect the CD to "do something" that if you > don't use an INF file they'll call your tech support to report that the > CD is "broken". :) > > U3 merely tricks the OS into making autorun.inf files runnable from > flash drives, by partitioning the drive so that one partition (the one > that contains the menu application) is read-only. > > Partitioning is simple and soon many non-U3-member vendors were offering > custom partitioned drives (you can order these from a great many vendors > around the web), so U3 went further to differentiate itself with the > recent addition of the auto-shutdown feature and a couple others. > > Because the core of the U3 experience is dependent on a Windows-specific > OS feature, currently U3 can only deliver that experience on Windows, > and no on Mac or Linux. > > And because Apple has explicitly expressed a disdain for the security > risks introduced when any auto-run feature is added to an OS (they had > this in an early version of QT, but after it was used to spread viruses > they yanked it and vowed to never do that again), it seems unlikely that > Apple would risk losing the advantage they currently enjoy in being > perceived as more secure than Windows just for the modest benefit U3 > provides. > > Perhaps the coolest thing about U3 is that the vendors using it have > really helped pushed the notion of delivering applications on Flash > drives, which helps not only the millions of customers who buy U3 drives > by the order of magnitude more who buy non-U3 drives. > > And as Rev developers, it's always been a trivial matter for us to > deliver fully self-contained apps which run from removable media without > needing to modify the host computer. While Rev's work in the > U3-specific additions are helpful, you can also deliver portable apps on > ANY removable drive, U3 or not. > > For the benefit of developers looking to deploy to the full range of > Flash drives on all major operating systems, a discussion group has been > formed to explore ways of establishing simple common directories and an > open source player to make it easy for developers and simple for their > users: > > <http://groups.yahoo.com/group/U4-Group/> > > > -- > 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 -- www.TalentSeeker.ca www.HiringSmart.ca/ns www.KeepingTheBest.ca/ns <http://www.OwnYourFuture-net.com> 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 m.schonewille at economy-x-talk.com Sun Aug 13 08:48:34 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 13 Aug 2006 14:48:34 +0200 Subject: ANN: Pointer Tooltips Plugin In-Reply-To: <200608130640.k7D6e78Q019094@valuworld.com> References: <200608130640.k7D6e78Q019094@valuworld.com> Message-ID: <0E86B0C6-94A1-4422-B4C1-EA309B0AEC67@economy-x-talk.com> Hi Derek, I'm glad you like the plugin. The bug you describe happened to me too, once. I'll do some more tests and will fix it within the next few days. Thanks for reporting the problem. If you experience any further glitches or have suggestions, please tell me. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 13-aug-2006, om 8:40 heeft dreamscapesoftware.com - List het volgende geschreven: > Mark Schonewille wrote: >> Economy-x-Talk is glad to announce a plug-in for Revolution, named >> Pointer Tooltips. which displays the names of objects, such as >> fields and buttons, in multi-line tooltips. Save the plugin in >> your plug-ins folder, choose RevAltTooltip* from the Plug-ins >> menu, and click the checkbox to turn it on. > > Mark, > > This is a really wonderful plugin, but I'm noticing an issue. I'm > running Rev 2.7.2 on Win XP and after I enabled the plugin and > draged a button to my stack, it delete's right away. The plugin > works fine for the existing controls, but try to add a new one and > it delete's the control immediately. > > Let me know if you need a better example of the bug I'm > experiencing. Otherwise I like it! Great job! > > > Derek Bump > Dreamscape Software > www.dreamscapesoftware.com From janselid at broadpark.no Sun Aug 13 08:57:42 2006 From: janselid at broadpark.no (=?iso-8859-1?Q?Jan_S=E6lid?=) Date: Sun, 13 Aug 2006 14:57:42 +0200 Subject: How to control the ibeam (text cursor) Message-ID: <003001c6bed8$109484e0$31bd8ea0$@no> Hi there, In my attempt to code a provisional richtext field I have a problem. I?m using tabstops in the field to create an illusion of individual margins. What I need to do is to control the ibeam (text cursor) in a rawkeyup handler so that the ibeam is placed at e.g. tab number 4 when the user e.g. presses the down key. How is it possible to control the iBeam. E.g. put it in front of a word. Jan From janselid at broadpark.no Sun Aug 13 09:13:34 2006 From: janselid at broadpark.no (=?iso-8859-1?Q?Jan_S=E6lid?=) Date: Sun, 13 Aug 2006 15:13:34 +0200 Subject: How to control the ibeam (text cursor) In-Reply-To: <003001c6bed8$109484e0$31bd8ea0$@no> References: <003001c6bed8$109484e0$31bd8ea0$@no> Message-ID: <003501c6beda$482f1170$d88d3450$@no> Ok... I found it. I was tampering with selection and selectedchunk. What I needed to do was to use select. From eric.miclo at wanadoo.fr Sun Aug 13 10:11:26 2006 From: eric.miclo at wanadoo.fr (=?ISO-8859-1?Q?=C9ric_Miclo?=) Date: Sun, 13 Aug 2006 16:11:26 +0200 Subject: Bugs in Revolution 2.7.3 Message-ID: <3FB95CEF-7786-4B1E-989C-D3129EDF31C4@wanadoo.fr> Hello, ? Bug #1: The version manager shows a lot of development versionsand not the gold master of version 2.7.3. Making version "2.7.3-dp-2" to default launches version 2.7.2 ? Bug # 2: I have an app where the first open stack just shows itself for few second then is hidden and another stack is opened. This works fine until version 2.7.2. With version 2.7.3 it doesn't work anymore. I've tried to create just 2 simple stacks to test it and be sure nothing else was involved with the bug and the results are the same. Can anyone on the list confirm those 2 bugs? Thanks. Regards, ?rIC -- My NeXT computer will Be a Mac too! -- From dsc at swcp.com Sun Aug 13 11:42:35 2006 From: dsc at swcp.com (Dar Scott) Date: Sun, 13 Aug 2006 09:42:35 -0600 Subject: Shells - non-blocking? In-Reply-To: <c1c5836b0608130230v43e86ba0y543172677aae1e40@mail.gmail.com> References: <c1c5836b0608130230v43e86ba0y543172677aae1e40@mail.gmail.com> Message-ID: <69E3847E-9704-4F3C-976C-487B5E7621DE@swcp.com> On Aug 13, 2006, at 3:30 AM, David Bovill wrote: > I want to call the shell command and let the user get on with other > gui stuff... wouldn't it be nice to have: > > put shell("something really slow") with message "doneIT" ? You might be able to build something like that with processes (see open process etc in the doc). Three or four years ago I found a lot of communication problems with processes on Windows, but I'm also finding this year some things fixed that were not-a-bug back then. If you don't need a response or can pass it through a file, then the process can work. Dar Scott From dsc at swcp.com Sun Aug 13 11:48:44 2006 From: dsc at swcp.com (Dar Scott) Date: Sun, 13 Aug 2006 09:48:44 -0600 Subject: Revolution 2.7.3 released, support for U3 In-Reply-To: <44DDF791.7050502@fourthworld.com> References: <44DDF791.7050502@fourthworld.com> Message-ID: <4044D0F5-7D66-4168-930C-63DF90449120@swcp.com> On Aug 12, 2006, at 9:45 AM, Richard Gaskin wrote: > At its core, U3 is just a novel interface to a feature built into > the Windows OS: ... > And as Rev developers, it's always been a trivial matter for us to > deliver fully self-contained apps which run from removable media > without needing to modify the host computer. I appreciate the summary. Looking at U3 hadn't moved to the top of my pile. Any technical problems with having a set of IDEs installed on a flash drive? Dar Scott From ambassador at fourthworld.com Sun Aug 13 12:03:35 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 13 Aug 2006 09:03:35 -0700 Subject: Revolution 2.7.3 released, support for U3 Message-ID: <44DF4D57.9030705@fourthworld.com> Dar Scott wrote: > On Aug 12, 2006, at 9:45 AM, Richard Gaskin wrote: > >> At its core, U3 is just a novel interface to a feature built into >> the Windows OS: > ... >> And as Rev developers, it's always been a trivial matter for us to >> deliver fully self-contained apps which run from removable media >> without needing to modify the host computer. > > I appreciate the summary. Looking at U3 hadn't moved to the top of > my pile. > > Any technical problems with having a set of IDEs installed on a flash > drive? It depends on the IDE. One of the great things about the Rev engine (in contrast to VB, ToolBook, and other tools that rely on a bunch of DLLs strewn all over the hard drive) as that it's inherently self-contained. Even externals and libraries are easy to use in that they can be put in the same folder as the app without needing to modify the host system. So any IDE that doesn't go out of its way not to be self-contained should run just fine from any removable storage device. The MC IDE, and my own fork of that project which I hope to release later this year, will run from anywhere. Not sure about Rev, though. Anyone try it? I vaguely recall some mention of the licensing scheme being dependent on a specific path. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From david at openpartnership.net Sun Aug 13 12:23:24 2006 From: david at openpartnership.net (David Bovill) Date: Sun, 13 Aug 2006 17:23:24 +0100 Subject: Shells - non-blocking? In-Reply-To: <69E3847E-9704-4F3C-976C-487B5E7621DE@swcp.com> References: <c1c5836b0608130230v43e86ba0y543172677aae1e40@mail.gmail.com> <69E3847E-9704-4F3C-976C-487B5E7621DE@swcp.com> Message-ID: <c1c5836b0608130923n78f54c78j9039dccd47b7ca5e@mail.gmail.com> Roughly how would this work? Lets give an example a "svn commit" - the idea is to do a regular svn backup without interupting development scripting for instance - so I want an asynchronous backup interface rather than having to wait a second or two every few minutes for results to come back from the online repository. A shell script or shell command... can this be opened generally as a process? Or is it as i thought - only something that is occasionally coded into the application / code / script / shell command - ( whatever you call it :) by the author of the program? And what would be the relation betwenn writing to that process and the params you would send on the command line? From Andre.Bisseret at inria.fr Sun Aug 13 13:14:17 2006 From: Andre.Bisseret at inria.fr (=?ISO-8859-1?Q? Andr=E9.Bisseret ?=) Date: Sun, 13 Aug 2006 19:14:17 +0200 Subject: RichText Implementation In-Reply-To: <000501c6b887$4a6497c0$df2dc740$@no> References: <000001c6b879$bddbf3a0$3993dae0$@no> <000501c6b887$4a6497c0$df2dc740$@no> Message-ID: <492C3CE0-F9F2-46D2-BB76-D95A10071102@inria.fr> I am following attentively your attempt to "simulate" a richtext field. I have a stack that presents a lot of texts (one text in one main field on each card). Often these texts include lists that normally should be indented (often with 2 levels). So I got the same problem as yours. After unsuccessful trials I gave up and currently all the lines of my texts are left aligned. For the (to be normally indented lists) I used special characters such as "*" and "-" (but left aligned). So that the presentation is not up to standard. So I am very much interested by any solution you could find. The main issue I encountered was the following : When a line had to wrap, I had to type a return and then a tab in order to get an indented paragraph. Then, when for one reason or another, the width of the field was reduced, even a little bit, or if I changed the style of the characters (font or size), I got a terrible mess ! It happened for example, when I was transferring the content of a field in another field that I use as a printing field. Hav'nt you got this kind of problem ? In your example, I suppose that you have a "return" after "You know you". So that if you reduce the width of your field, the word "you" will wrap, isolated and left aligned (without tab). Hope my "English-like English" is understandable enough :-)) Thanks a lot for your attempt to turn around this crucial shortcoming in Rev. I hope you will keep informing us about the problems you are encountering and your solutions. Best regards from Grenoble Andr? Le 5 ao?t 06 ? 14:04, Jan S?lid a ?crit : > The scriptwriter needs to know if the user is editing dialogue, a > character > name, an action etc. > the format of a script looks something like this: > > --- > TRUMP > You didn't call, Eliza. You know you > won't get anything if you... > > He goes to the desk and snatches the... > --- > > This format needs three different margins. One for the character > name, one > for the dialogue and one for the "action" part. One approach I'm > thinking of > is to use tabstops and have a rawkeyup handler in the field that > checks what > type of element the writer is editing and puts the cursor at the > right tab > if the writer e.g. pushes the downkey. The challenge with this > method is > that I have to store every element in the script in a custom > property of the > field with the number of tabs for each element. Maybe with a > reference to > the linenumber. e.g. "The line1 of fld "Script". Am I on the right > track? > > Hope this is understandable. Any ideas are appreciated. In the long > run it > could be handy to make a library of functions that other revolution > users > could use. > > I Wrote: >>> I?m really in need of individual paragraphs. > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Sun Aug 13 13:38:40 2006 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Sun, 13 Aug 2006 17:38:40 +0000 Subject: Bugs in Revolution 2.7.3 Message-ID: <DIIE.000000BA00021D6D@192.168.168.3> Hi, Bug #1: the same here. My os is Windows XP SP2 german. Bug #2: cannot verify. I created a mainstack which hides itself in the "openCard" handler and opens a substack. That works for me here. If you want, send me your test file and i will check this out. Best regards, Matthias Rebbe -------- Original Message -------- Subject: Bugs in Revolution 2.7.3 (13-Aug-2006 16:17) From: eric.miclo at wanadoo.fr To: runrev260805 at m-r-d.de > Hello, > > ? Bug #1: > > The version manager shows a lot of development versionsand not the > gold master of version 2.7.3. > Making version "2.7.3-dp-2" to default launches version 2.7.2 > > ? Bug # 2: > > I have an app where the first open stack just shows itself for few > second then is hidden and another stack is opened. > This works fine until version 2.7.2. With version 2.7.3 it doesn't > work anymore. > I've tried to create just 2 simple stacks to test it and be sure > nothing else was involved with the bug and the results are the same. > > Can anyone on the list confirm those 2 bugs? Thanks. > > Regards, > > ?rIC > > -- My NeXT computer will Be a Mac too! -- > > _______________________________________________ > use-revolution mailing list > use-revolution 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 > support at runrev.com > Cc: To: eric.miclo at wanadoo.fr use-revolution at lists.runrev.com From dsc at swcp.com Sun Aug 13 13:52:48 2006 From: dsc at swcp.com (Dar Scott) Date: Sun, 13 Aug 2006 11:52:48 -0600 Subject: Shells - non-blocking? In-Reply-To: <c1c5836b0608130923n78f54c78j9039dccd47b7ca5e@mail.gmail.com> References: <c1c5836b0608130230v43e86ba0y543172677aae1e40@mail.gmail.com> <69E3847E-9704-4F3C-976C-487B5E7621DE@swcp.com> <c1c5836b0608130923n78f54c78j9039dccd47b7ca5e@mail.gmail.com> Message-ID: <C0024E28-0FB9-4032-982A-2B4539B471E0@swcp.com> On Aug 13, 2006, at 10:23 AM, David Bovill wrote: > And what would be the relation betwenn writing to that process and the > params you would send on the command line? You can use a full command line when you open a process. You can open it for neither and wait for it to be missing from the open processes. If you would rather use shell on Windows, there is also "start". That might do what you want. Dar Scott From eric.miclo at wanadoo.fr Sun Aug 13 13:53:45 2006 From: eric.miclo at wanadoo.fr (=?ISO-8859-1?Q?=C9ric_Miclo?=) Date: Sun, 13 Aug 2006 19:53:45 +0200 Subject: Bugs in Revolution 2.7.3 In-Reply-To: <DIIE.000000BA00021D6D@192.168.168.3> References: <DIIE.000000BA00021D6D@192.168.168.3> Message-ID: <7F857E46-E27D-4185-BB84-97BE6CEB902C@wanadoo.fr> Hello, Thanks for the test. For bug # 2, it's not when calling a sub stack but a separate main stack. Could you give a try with the provided stacks. It seems that the "openStack" message is not catched. Thanks, regards, ?rIC -------------- next part -------------- Le 13 ao?t 06 ? 19:38, runrev260805 at m-r-d.de a ?crit : > Hi, > > Bug #1: the same here. > My os is Windows XP SP2 german. > > > Bug #2: cannot verify. I created a mainstack which hides itself in > the "openCard" handler and opens a substack. That works for me > here. If you want, send me your test file and i will check this out. > > Best regards, > > Matthias Rebbe > > -------- Original Message -------- > Subject: Bugs in Revolution 2.7.3 (13-Aug-2006 16:17) > From: eric.miclo at wanadoo.fr > To: runrev260805 at m-r-d.de > >> Hello, >> >> ? Bug #1: >> >> The version manager shows a lot of development versionsand not the >> gold master of version 2.7.3. >> Making version "2.7.3-dp-2" to default launches version 2.7.2 >> >> ? Bug # 2: >> >> I have an app where the first open stack just shows itself for few >> second then is hidden and another stack is opened. >> This works fine until version 2.7.2. With version 2.7.3 it doesn't >> work anymore. >> I've tried to create just 2 simple stacks to test it and be sure >> nothing else was involved with the bug and the results are the same. >> >> Can anyone on the list confirm those 2 bugs? Thanks. >> >> Regards, >> >> ?rIC >> >> -- My NeXT computer will Be a Mac too! -- >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 >> support at runrev.com >> Cc: > > > To: eric.miclo at wanadoo.fr > use-revolution at lists.runrev.com > > > -- My NeXT computer will Be a Mac too! -- From bvlahos at mac.com Sun Aug 13 14:03:38 2006 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 13 Aug 2006 11:03:38 -0700 Subject: ANN: Encryption Demo Stack Message-ID: <d26aa39edb6ea9ee454937cec1e83430@mac.com> I've completed a stack to show how to use encryption and work with passwords. It was complicated to figure out but I think I've come up with an easy to implement approach. Please let me know if it is useful and if there are any security flaws. It is available at RevOnLine in the Programming section in both modern and legacy formats. It was written in Rev 2.7.2 and the legacy stack has been tested with 2.5.1 which is the first version of Rev with the required encryption abilities. I've tested the modern version on both Mac OS X and Windows XP but it should work on any platform Rev supports. Bill Vlahos From janselid at broadpark.no Sun Aug 13 14:30:19 2006 From: janselid at broadpark.no (=?iso-8859-1?Q?Jan_S=E6lid?=) Date: Sun, 13 Aug 2006 20:30:19 +0200 Subject: RichText Implementation In-Reply-To: <492C3CE0-F9F2-46D2-BB76-D95A10071102@inria.fr> References: <000001c6b879$bddbf3a0$3993dae0$@no> <000501c6b887$4a6497c0$df2dc740$@no> <492C3CE0-F9F2-46D2-BB76-D95A10071102@inria.fr> Message-ID: <003f01c6bf06$8804c200$980e4600$@no> Hi Andr? and Dan I will definitively keep you updated! If I can do anything about this, it's for everyone. I will post my stack online under Jan Selid, if I feel I'm remotely close to anything. There are 3 big tasks that needs to be done. 1. Individual margins The only solution I have right now is tabstops. 2. A custom wordwrapper that calculates the wordwrap based on the above tabstops. 3. an rtf-exporter A handler that converts the above tabstops to the proper "li"-number of the rtf-code. Since rev already has RTFText property, this is, I believe, not too difficult. - and, as you said, calculations when using different fonts. It's a huge task, and your interest surely helps ;-) Andr? wrote: >I am following attentively your attempt to "simulate" a richtext field. >I hope you will keep informing us about the problems you are encountering and your solutions. From runrev260805 at m-r-d.de Sun Aug 13 15:07:18 2006 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Sun, 13 Aug 2006 19:07:18 +0000 Subject: Re-2: Bugs in Revolution 2.7.3 Message-ID: <DIIE.000000B800021D71@192.168.168.3> Hi, the stacks are working here under windows xp. Regards, Matthias -------- Original Message -------- Subject: Re: Bugs in Revolution 2.7.3 (13-Aug-2006 19:59) From: eric.miclo at wanadoo.fr To: runrev260805 at m-r-d.de > Hello, > > Thanks for the test. > For bug # 2, it's not when calling a sub stack but a separate main > stack. > Could you give a try with the provided stacks. It seems that the > "openStack" message is not catched. > > Thanks, regards, > > ?rIC > > > > To: use-revolution at lists.runrev.com To: eric.miclo at wanadoo.fr use-revolution at lists.runrev.com From stephenREVOLUTION at barncard.com Sun Aug 13 15:11:36 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sun, 13 Aug 2006 12:11:36 -0700 Subject: ANN: Encryption Demo Stack In-Reply-To: <d26aa39edb6ea9ee454937cec1e83430@mac.com> References: <d26aa39edb6ea9ee454937cec1e83430@mac.com> Message-ID: <p06230902c105293d78cb@[192.168.1.105]> Very nice. Thanks, Bill. This goes into my stack library for future reference. >I've completed a stack to show how to use encryption and work with passwords. > > >Bill Vlahos -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From calhorner at xtra.Co.NZ Sun Aug 13 15:56:33 2006 From: calhorner at xtra.Co.NZ (Cal Horner) Date: Mon, 14 Aug 2006 07:56:33 +1200 (New Zealand Standard Time) Subject: Replicate hang up Message-ID: <44DF83F1.000003.02408@CALSBIGPC> I'm just trying to use "Replicate..." for the first time and after using it once, to get the feel of it, I find that "Replicate..." hangs up the IDE every time I have tried to reproduce a Group object. Has anyone ever used this tool? If so, did you have this problem and did you work-around it? Or, as is more than likely - am I just doing something wrong? Cal From eric.miclo at wanadoo.fr Sun Aug 13 16:19:09 2006 From: eric.miclo at wanadoo.fr (=?ISO-8859-1?Q?=C9ric_Miclo?=) Date: Sun, 13 Aug 2006 22:19:09 +0200 Subject: Replicate hang up In-Reply-To: <44DF83F1.000003.02408@CALSBIGPC> References: <44DF83F1.000003.02408@CALSBIGPC> Message-ID: <0E732315-F6D7-4815-9CA0-9573745F4D0E@wanadoo.fr> Hello, I've given a try with version 2.7.3 on Mac OS X and everything works fine here. On what platform did you try to use it? Regards, ?rIC Le 13 ao?t 06 ? 21:56, Cal Horner a ?crit : > I'm just trying to use "Replicate..." for the first time and after > using it > once, to get the feel of it, I find that "Replicate..." hangs up > the IDE > every time I have tried to reproduce a Group object. > > Has anyone ever used this tool? > > If so, did you have this problem and did you work-around it? > > Or, as is more than likely - am I just doing something wrong? > > Cal > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- My NeXT computer will Be a Mac too! -- From jperryl at ecs.fullerton.edu Sun Aug 13 20:00:31 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 13 Aug 2006 17:00:31 -0700 (PDT) Subject: What should be in 8th Grade Maths ? In-Reply-To: <20060813075300.75139.qmail@web37510.mail.mud.yahoo.com> Message-ID: <Pine.GSO.4.33.0608131651320.12390-100000@titan.ecs.fullerton.edu> Unfortunately, parts of the US, and especially Los Angeles Unified School District (California) are more interested in screwing things up via the "Math Wars" than in increasing test scores: http://www.csun.edu/~vcmth00m/krantz.html "The extent to which the California math standards will be taken seriously by school districts is difficult to predict. The superintendent of the Los Angeles Unified School District, the second largest school district in the U.S., admonished LAUSD personnel to take no action to implement the new standards, arguing instead that the already existing LAUSD standards were superior. " http://www.csun.edu/~vcmth00m/krantz.html "Other Reformers with national stature echoed the outrage. Luther Williams, the National Science Foundation's Assistant Director for Education and Human Resources, wrote a retaliatory letter to the California Board of Education widely interpreted as threatening to cut off funding of NSF projects in California. The lead story in the February 1998 News Bulletin of the NCTM, ``New California Standards Disappoint Many,'' ... http://mathematicallycorrect.com/riley.htm I just did a little contract research work on this and was disheartened by what I found. Think in terms of Tom Lehrer's "New Math": http://www.sing365.com/music/lyric.nsf/SongUnid/EE27EF26A4F581BE48256A7D002575E1 Judy On Sun, 13 Aug 2006, Richmond Mathewson wrote: > Re a recent posting by Dar Scott: <snip> > So, as school systems everywhere (well at least in the US, the UK and > Bulgaria) are a bit slack with the maths, has anybody any idea about > what Basic Maths is needed to guarantee a bright child (and most of > them are bright, given the right sort of encouragement and stimulus) is > not going to come a cropper just when they are getting all excited > when they find they can do real things with RR (watching a 6 year-old > produce a simple program is sheer joy). > > Plainly: A MATHS CORE for PROGRAMMING SKILLS. From scott at elementarysoftware.com Sun Aug 13 21:58:56 2006 From: scott at elementarysoftware.com (Scott Morrow) Date: Sun, 13 Aug 2006 18:58:56 -0700 Subject: ANN: Encryption Demo Stack In-Reply-To: <d26aa39edb6ea9ee454937cec1e83430@mac.com> References: <d26aa39edb6ea9ee454937cec1e83430@mac.com> Message-ID: <91B89352-A681-4D02-85F8-E700651D4306@elementarysoftware.com> What an outstanding gift! Thanks. -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com ----------------------------------------------------------------- On Aug 13, 2006, at 11:03 AM, Bill Vlahos wrote: > I've completed a stack to show how to use encryption and work with > passwords. > > It was complicated to figure out but I think I've come up with an > easy to implement approach. > > Please let me know if it is useful and if there are any security > flaws. > > It is available at RevOnLine in the Programming section in both > modern and legacy formats. It was written in Rev 2.7.2 and the > legacy stack has been tested with 2.5.1 which is the first version > of Rev with the required encryption abilities. I've tested the > modern version on both Mac OS X and Windows XP but it should work > on any platform Rev supports. > > Bill Vlahos > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From joel.guillod at net2000.ch Mon Aug 14 03:40:09 2006 From: joel.guillod at net2000.ch (Joel Guillod) Date: Mon, 14 Aug 2006 09:40:09 +0200 Subject: Shells - non-blocking? In-Reply-To: <20060813170004.825C28255BA@mail.runrev.com> References: <20060813170004.825C28255BA@mail.runrev.com> Message-ID: <6A3B4E43-836C-41F1-97F2-E52B3A0D4AA6@net2000.ch> On Aug 13, 2006, at 3:30 AM, David Bovill wrote: > I want to call the shell command and let the user get on with other > gui stuff... wouldn't it be nice to have: > > put shell("something really slow") with message "doneIT" ? Very good idea! Do you fill an enhancement in Revzilla? If not I'll do it, let me know... On Sun, 13 Aug 2006 09:42:35 -0600 , Dar Scott wrote: > You might be able to build something like that with processes (see > open process etc in the doc). I cannot figure out how to implement that. Have you a sample script? From kevin at runrev.com Mon Aug 14 04:25:46 2006 From: kevin at runrev.com (Kevin Miller) Date: Mon, 14 Aug 2006 09:25:46 +0100 Subject: Revolution 2.7.3 released, support for U3 In-Reply-To: <44DF4D57.9030705@fourthworld.com> Message-ID: <C105F21A.386CE%kevin@runrev.com> On 13/8/06 17:03, "Richard Gaskin" <ambassador at fourthworld.com> wrote: > Not sure about Rev, though. Anyone try it? I vaguely recall some > mention of the licensing scheme being dependent on a specific path. We have built a version of the IDE that runs on U3 - that version is available for download on the download pages. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools From kevin at runrev.com Mon Aug 14 04:25:52 2006 From: kevin at runrev.com (Kevin Miller) Date: Mon, 14 Aug 2006 09:25:52 +0100 Subject: Revolution 2.7.3 released, support for U3 In-Reply-To: <C1034FF8.F23D%JimCarwardine@OwnYourFuture-net.com> Message-ID: <C105F220.386CE%kevin@runrev.com> On 12/8/06 13:29, "Jim Carwardine" <JimCarwardine at OwnYourFuture-net.com> wrote: > This appears to be a PC only upgrade. Is that true or does the Mac OS > version contain the U3 stuff? Jim The zip file support, and several other bug fixes and minor enhancements are all Mac compatible. You can build U3 packages from on your Mac, too. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools From kevin at runrev.com Mon Aug 14 04:28:46 2006 From: kevin at runrev.com (Kevin Miller) Date: Mon, 14 Aug 2006 09:28:46 +0100 Subject: Revolution 2.7.3 released, support for U3 In-Reply-To: <44DDF791.7050502@fourthworld.com> Message-ID: <C105F2CE.386D0%kevin@runrev.com> On 12/8/06 16:45, "Richard Gaskin" <ambassador at fourthworld.com> wrote: > And as Rev developers, it's always been a trivial matter for us to > deliver fully self-contained apps which run from removable media without > needing to modify the host computer. While Rev's work in the > U3-specific additions are helpful, you can also deliver portable apps on > ANY removable drive, U3 or not. Of course, the coolest thing about U3 is that it is backed by the major storage vendors - Kingston, Memorex, Sandisk and many others. That means that tens of millions of these devices will ship each year, making this type of deployment a new potential revenue opportunity for developers. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools From briany at qldlearning.com Mon Aug 14 04:48:26 2006 From: briany at qldlearning.com (Brian Yennie) Date: Mon, 14 Aug 2006 01:48:26 -0700 Subject: Shells - non-blocking? In-Reply-To: <6A3B4E43-836C-41F1-97F2-E52B3A0D4AA6@net2000.ch> References: <20060813170004.825C28255BA@mail.runrev.com> <6A3B4E43-836C-41F1-97F2-E52B3A0D4AA6@net2000.ch> Message-ID: <90B70DBF-7621-470D-B739-B94A23A49DC3@qldlearning.com> --- Brian Yennie Chief Technology Officer QLD Learning, LLC (310)-367-7364 You might try something like: get shell("mylongcommand > output.txt &") This should redirect the output to a file and return immediately. It's not as clean as triggering a "done" message with new syntax would be, but it may be workable. You might try searching the archives - I seem to recall discussing this one many moons ago... HTH, Brian > On Aug 13, 2006, at 3:30 AM, David Bovill wrote: > >> I want to call the shell command and let the user get on with other >> gui stuff... wouldn't it be nice to have: >> >> put shell("something really slow") with message "doneIT" ? > > Very good idea! > Do you fill an enhancement in Revzilla? If not I'll do it, let me > know... > > > On Sun, 13 Aug 2006 09:42:35 -0600 , Dar Scott wrote: > >> You might be able to build something like that with processes (see >> open process etc in the doc). > > I cannot figure out how to implement that. Have you a sample script? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From dsc at swcp.com Mon Aug 14 11:50:51 2006 From: dsc at swcp.com (Dar Scott) Date: Mon, 14 Aug 2006 09:50:51 -0600 Subject: Shells - non-blocking? In-Reply-To: <90B70DBF-7621-470D-B739-B94A23A49DC3@qldlearning.com> References: <20060813170004.825C28255BA@mail.runrev.com> <6A3B4E43-836C-41F1-97F2-E52B3A0D4AA6@net2000.ch> <90B70DBF-7621-470D-B739-B94A23A49DC3@qldlearning.com> Message-ID: <55DFC8ED-4C3C-43AD-BA69-3469014B06E0@swcp.com> On Aug 14, 2006, at 2:48 AM, Brian Yennie wrote: > get shell("mylongcommand > output.txt &") Vague memory: I tried using "&" long ago on OS X and didn't have much luck. Maybe I was doing something goofy. Or maybe it was the virtual serial I didn't get working... Worth a try. Is "?" available on Windows? Dar From sims at ezpzapps.com Mon Aug 14 12:04:34 2006 From: sims at ezpzapps.com (sims) Date: Mon, 14 Aug 2006 18:04:34 +0200 Subject: create alias in XP Message-ID: <p06230904c1064e661972@[10.0.0.1]> I'm using the following on Windows XP create alias (specialfolderpath("start") & "/" & "Name of Alias.lnk") to file "path to original app..." The alias/shortcut gets made, looks ok, has the correct target, but does not work. When I checked another shortcut made by right-clicking & then examining it in Properties the newly created shortcut lacks any text in the "Start in" field. If I fill that in from a good alias the new alias works. Where am I going wrong here? ciao, sims European Rev Conference 2006 www.techietours.com From bobs at twft.com Mon Aug 14 12:21:49 2006 From: bobs at twft.com (Robert Sneidar) Date: Mon, 14 Aug 2006 09:21:49 -0700 Subject: Why do group ID's change when cloning a stack In-Reply-To: <20060812095036.88425825402@mail.runrev.com> References: <20060812095036.88425825402@mail.runrev.com> Message-ID: <82148FA6-4ADF-4CD5-8470-DE403DA94092@twft.com> No, it's sketchy because certain operations like cloning or copying cards can change ID's, because ID's must be unique in a Revolution stack. Also one programming method uses hidden objects as templates and then "clones" them so that there is consistency in the interface. It's easier than p[rogrammatically setting all the properties every time a new object is created. In this case ID's are useless. I just think it's bad programming practice. As a teacher, I am sure you know that part of what you are teaching your students is good programming habits. If they fail at that, they aren't going to be very good programmers anyhow. If their discipline is bad enough, they may even end up like me, and nobody wants that. Bob Sneidar IT Manager Logos Management Calvary Chapel CM > Is this a programmer-thing? > > I ask because I have a devil of a time convincing my students to > *name* > their objects. They end up having problems and it's VERY > frustrating... > > Judy > > On Fri, 11 Aug 2006, Robert Sneidar wrote: > >> Since the days of Hypercard, I have known that using ID's to >> reference objects was sketchy at best. As a matter of good >> programming practice, you should keep track of all your variables and >> object names so there is no inadvertent duplication to bite you in >> the butt later. From klaus at major-k.de Mon Aug 14 12:23:31 2006 From: klaus at major-k.de (Klaus Major) Date: Mon, 14 Aug 2006 18:23:31 +0200 Subject: create alias in XP In-Reply-To: <p06230904c1064e661972@[10.0.0.1]> References: <p06230904c1064e661972@[10.0.0.1]> Message-ID: <6BA0F4F2-1C71-4F80-9BA1-2AFDFAD53046@major-k.de> Hi sims, > I'm using the following on Windows XP > > create alias (specialfolderpath("start") & "/" & "Name of > Alias.lnk") to file "path to original app..." > > The alias/shortcut gets made, looks ok, has the correct target, but > does not > work. When I checked another shortcut made by right-clicking & then > examining > it in Properties the newly created shortcut lacks any text in the > "Start in" field. > If I fill that in from a good alias the new alias works. > > Where am I going wrong here? ??? Hmmm, just tested with Rev 2.7.3 on my Win XP and works fine here... > ciao, > sims > > European Rev Conference 2006 > www.techietours.com Regards Klaus Major klaus at major-k.de http://www.major-k.de From klaus at major-k.de Mon Aug 14 12:34:10 2006 From: klaus at major-k.de (Klaus Major) Date: Mon, 14 Aug 2006 18:34:10 +0200 Subject: create alias in XP In-Reply-To: <6BA0F4F2-1C71-4F80-9BA1-2AFDFAD53046@major-k.de> References: <p06230904c1064e661972@[10.0.0.1]> <6BA0F4F2-1C71-4F80-9BA1-2AFDFAD53046@major-k.de> Message-ID: <9510C30E-DD7E-4C93-9D23-F9C93F3D429A@major-k.de> Hi sims, > Hi sims, > >> I'm using the following on Windows XP >> create alias (specialfolderpath("start") & "/" & "Name of >> Alias.lnk") to file "path to original app..." >> The alias/shortcut gets made, looks ok, has the correct target, >> but does not >> work. When I checked another shortcut made by right-clicking & >> then examining >> it in Properties the newly created shortcut lacks any text in the >> "Start in" field. >> If I fill that in from a good alias the new alias works. >> Where am I going wrong here? > ??? > Hmmm, just tested with Rev 2.7.3 on my Win XP and works fine here... forgot to mention that I used the same syntax as you did, so you were not going wrong here, must be something else. >> ciao, >> sims >> >> European Rev Conference 2006 >> www.techietours.com Best Klaus Major klaus at major-k.de http://www.major-k.de From kray at sonsothunder.com Mon Aug 14 12:54:49 2006 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 14 Aug 2006 11:54:49 -0500 Subject: ANN: Encryption Demo Stack In-Reply-To: <d26aa39edb6ea9ee454937cec1e83430@mac.com> Message-ID: <C1061509.414E3%kray@sonsothunder.com> On 8/13/06 1:03 PM, "Bill Vlahos" <bvlahos at mac.com> wrote: > I've completed a stack to show how to use encryption and work with > passwords. Very sweet, Bill! Well done... :-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Mon Aug 14 12:57:34 2006 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 14 Aug 2006 11:57:34 -0500 Subject: create alias in XP In-Reply-To: <p06230904c1064e661972@[10.0.0.1]> Message-ID: <C10615AE.414E4%kray@sonsothunder.com> On 8/14/06 11:04 AM, "sims" <sims at ezpzapps.com> wrote: > I'm using the following on Windows XP > > create alias (specialfolderpath("start") & "/" & "Name of > Alias.lnk") to file "path to original app..." > > The alias/shortcut gets made, looks ok, has the correct target, but does not > work. When I checked another shortcut made by right-clicking & then examining > it in Properties the newly created shortcut lacks any text in the > "Start in" field. > If I fill that in from a good alias the new alias works. > > Where am I going wrong here? Well, what is the app you're trying to alias? Is it a Rev app? If not, it could be dependent on the working directory setting... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From sims at ezpzapps.com Mon Aug 14 13:00:14 2006 From: sims at ezpzapps.com (sims) Date: Mon, 14 Aug 2006 19:00:14 +0200 Subject: create alias in XP In-Reply-To: <C10615AE.414E4%kray@sonsothunder.com> References: <C10615AE.414E4%kray@sonsothunder.com> Message-ID: <p06230908c1065c1c5032@[10.0.0.1]> At 11:57 AM -0500 8/14/06, Ken Ray wrote: >Well, what is the app you're trying to alias? Is it a Rev app? If not, it >could be dependent on the working directory setting... Big Duh from the Med. I had the dang "/" mixed up with "\"...once I switched the path to the app from PC "\" to Rev "/" all works well! Time for the wine bar I think. Thanks all...false alarm. ciao, sims From bobs at twft.com Mon Aug 14 13:06:11 2006 From: bobs at twft.com (Robert Sneidar) Date: Mon, 14 Aug 2006 10:06:11 -0700 Subject: OT: Is there a more English-like Programming language than Transcript? In-Reply-To: <20060812170004.82BC18254CD@mail.runrev.com> References: <20060812170004.82BC18254CD@mail.runrev.com> Message-ID: <B224023D-79D7-4FB7-9990-5650BFA02417@twft.com> Isn't everyone missing the real point? Computers only "understand" one language: The instruction set for the processor family it belongs to. But no human (at least no normal human) could program in that language and produce anything like useful to the masses in any kind of reasonable time frame. So, (and I want to stress this point as dramatically as I can) ALL other language constructs INCLUDING assembly are written so that humans (at least normal humans) can write programs that are anything like useful to the masses in any kind of reasonable time frame; In effect to shield us from the tyranny of the instruction set. It stands to reason then that the more like a human thinks you can make that language, the more likely it is that a human can, and even would attempt to, write programs that are anything like useful to the masses in any kind of reasonable time frame. But invariably you give up something with high level languages like these, because you are beholden to the one who wrote the language for the kinds of things you can tell the computer to do. This is the crux of the matter. If we all programmed in assembly, it is unlikely any of us would ever produce anything, but if we did we could produce almost anything possible that a computer could do. But since we can't and won't learn assembly, we depend on the relative simplicity of the high level language, at the cost of only being able to do what the developer of the high level language gives us the capability to do. The more "English like" (or should I be global and say "human like") the high level language is, the more programmers will even attempt to write programs that are anything like useful to the masses in any kind of reasonable time frame. Can I see a show of hands of all the Revolution programmers that are also proficient enough in C++ to produce anything? Okay I see a few hands, how about assembly? Anyone? <crickets chirping in the background>... In answer then to the original question, is there a more English-like programming language than Transcript? I would say, probably not. And if there was, how much would you have to give up in terms of what it was capable of to use it? Transcript (imho) is an amazing balance of simplicity and capability unmatched in almost anything else I have seen. We all have things we would like to see done, or done better, but there will always be that. What we should be asking ourselves is how much can we do right now with what we have? It's those kind of developers that produce things like Galaxy and libDatabase, and even Revolution itself that make what everyone else does easier or better. And I will bet good money that if we (Revolution Developers) could double or triple the user base of Revolution in the next 2 or 3 years, we would see a lot more capabilities roll out of Runtime Revolution's labs. Maybe the way to do that is to start producing some really cool apps with it so others can see how productive we are with it. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Aug 12, 2006, at 10:00 AM, use-revolution-request at lists.runrev.com wrote: > Re: OT: Is there a more English-like Programming language > than Transcript? From bobs at twft.com Mon Aug 14 13:17:11 2006 From: bobs at twft.com (Robert Sneidar) Date: Mon, 14 Aug 2006 10:17:11 -0700 Subject: Shells - non-blocking? Message-ID: <861EE4B0-F389-45EC-B69E-BBF53FD63A3C@twft.com> I suppose you could try to call a HELL command, but are you prepared for what might come forth? Bob Sneidar IT Manager Logos Management Calvary Chapel CM > To shell() is a blocking command... > > Given that you can "do anything" with the shell.... anyone knwo of a > techniqu to call a hell command in that background - perrhaps with a > shell command... screnn something like that? > > From ambassador at fourthworld.com Mon Aug 14 13:21:13 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 14 Aug 2006 10:21:13 -0700 Subject: Why do group ID's change when cloning a stack Message-ID: <44E0B109.4040108@fourthworld.com> Robert Sneidar wrote: > No, it's sketchy because certain operations like cloning or copying > cards can change ID's, because ID's must be unique in a Revolution > stack. Also one programming method uses hidden objects as templates > and then "clones" them so that there is consistency in the interface. > It's easier than p[rogrammatically setting all the properties every > time a new object is created. In this case ID's are useless. Not to mention that they have no mnemonic value; it's just easier to use the name property. IDs are useful for dynamically obtaining absolute references to an object, such as setting properties of a newly created button: create button set the backColor of it to 240,240,240 There are many such examples, but for cases where object references must be hard-wired in a script it's usually simpler to just use the object's name. Going back to the original question, I wonder if the IDs of cloned groups change because it's possible to reference groups in other stacks as the menuBar group. I don't know, just guessing here. Scott Raney would know, but maybe Mark Waddingham may know the origins of this as well and could chime in with his opinion. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From ambassador at fourthworld.com Mon Aug 14 13:23:27 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 14 Aug 2006 10:23:27 -0700 Subject: Shells - non-blocking? Message-ID: <44E0B18F.9080805@fourthworld.com> Robert Sneidar wrote: > I suppose you could try to call a HELL command, but are you prepared > for what might come forth? Whatever you do, don't use the YogSothoth command and certainly never say it aloud! -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From dsc at swcp.com Mon Aug 14 13:34:29 2006 From: dsc at swcp.com (Dar Scott) Date: Mon, 14 Aug 2006 11:34:29 -0600 Subject: Why do group ID's change when cloning a stack In-Reply-To: <44E0B109.4040108@fourthworld.com> References: <44E0B109.4040108@fourthworld.com> Message-ID: <E1B4FFF8-BD37-4438-A5C4-AF685659B4EA@swcp.com> On Aug 14, 2006, at 11:21 AM, Richard Gaskin wrote: > Going back to the original question, I wonder if the IDs of cloned > groups change because it's possible to reference groups in other > stacks as the menuBar group. I don't know, just guessing here. > Scott Raney would know, but maybe Mark Waddingham may know the > origins of this as well and could chime in with his opinion. Or maybe because some groups are owned by the stack. Dar From wow at together.net Mon Aug 14 15:19:17 2006 From: wow at together.net (Richard Miller) Date: Mon, 14 Aug 2006 12:19:17 -0700 Subject: Uploading In-Reply-To: <E1B4FFF8-BD37-4438-A5C4-AF685659B4EA@swcp.com> References: <44E0B109.4040108@fourthworld.com> <E1B4FFF8-BD37-4438-A5C4-AF685659B4EA@swcp.com> Message-ID: <C2AD7150-2863-4937-ABDB-434F13D80D94@together.net> Our program needs to upload files from a computer that uses a wireless broadband connection to our server approximately 10 times per hour. Each file averages 1-1.5 MB in size. What is the most dependable way to do this: liburlFTPupload, liburlFTPuploadFile, or PUT URL? Dependability is the key issue for us. Blocking or non- blocking is not an issue. My understanding is that with PUT URL, there is no information available about the status of the upload during the upload... only at the end. This isn't a big issue for us if it's a more dependable way to upload files of this size. Thanks. Richard Miller Imprinter Technologies From dcragg at lacscentre.co.uk Mon Aug 14 15:35:31 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 14 Aug 2006 20:35:31 +0100 Subject: Uploading In-Reply-To: <C2AD7150-2863-4937-ABDB-434F13D80D94@together.net> References: <44E0B109.4040108@fourthworld.com> <E1B4FFF8-BD37-4438-A5C4-AF685659B4EA@swcp.com> <C2AD7150-2863-4937-ABDB-434F13D80D94@together.net> Message-ID: <DB4006F1-E3EE-4A58-901D-C893418E2C39@lacscentre.co.uk> On 14 Aug 2006, at 20:19, Richard Miller wrote: > Our program needs to upload files from a computer that uses a > wireless broadband connection to our server approximately 10 times > per hour. Each file averages 1-1.5 MB in size. What is the most > dependable way to do this: liburlFTPupload, liburlFTPuploadFile, or > PUT URL? Dependability is the key issue for us. Blocking or non- > blocking is not an issue. I don't think there's much difference in dependability among the three methods. However, "put .. into url" is slightly less complex under the hood, so I suppose there's potentially less to go wrong. Personally, I find it easier to script, and tend to use it for most things. The only limitation is that there is no obvious way to cancel the upload midway, but that may not be an issue with files of this size. With the "upload" methods, you can use unload url to cancel an upload. > > My understanding is that with PUT URL, there is no information > available about the status of the upload during the upload... only > at the end. This isn't a big issue for us if it's a more dependable > way to upload files of this size. You can use libUrlSetStatusCallback (see docs) to get feedback during the upload. (This works with all three methods.) Cheers Dave From soapdog at mac.com Mon Aug 14 15:36:00 2006 From: soapdog at mac.com (Andre Garzia) Date: Mon, 14 Aug 2006 16:36:00 -0300 Subject: Shells - non-blocking? In-Reply-To: <44E0B18F.9080805@fourthworld.com> References: <44E0B18F.9080805@fourthworld.com> Message-ID: <0F7DE77F-CA10-4F4A-BF7D-AD508E691AC7@mac.com> Elder Sign external anyone? On Aug 14, 2006, at 2:23 PM, Richard Gaskin wrote: > Robert Sneidar wrote: > >> I suppose you could try to call a HELL command, but are you >> prepared for what might come forth? > > Whatever you do, don't use the YogSothoth command and certainly > never say it aloud! > > -- > 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 dsc at swcp.com Mon Aug 14 15:40:21 2006 From: dsc at swcp.com (Dar Scott) Date: Mon, 14 Aug 2006 13:40:21 -0600 Subject: Uploading In-Reply-To: <DB4006F1-E3EE-4A58-901D-C893418E2C39@lacscentre.co.uk> References: <44E0B109.4040108@fourthworld.com> <E1B4FFF8-BD37-4438-A5C4-AF685659B4EA@swcp.com> <C2AD7150-2863-4937-ABDB-434F13D80D94@together.net> <DB4006F1-E3EE-4A58-901D-C893418E2C39@lacscentre.co.uk> Message-ID: <5E1CA1A2-DB38-4C1B-80D3-0A76FAA05DD2@swcp.com> On Aug 14, 2006, at 1:35 PM, Dave Cragg wrote: >> My understanding is that with PUT URL, there is no information >> available about the status of the upload during the upload... only >> at the end. This isn't a big issue for us if it's a more >> dependable way to upload files of this size. > > You can use libUrlSetStatusCallback (see docs) to get feedback > during the upload. (This works with all three methods.) How does this work with 'put URL'? Dar From calhorner at xtra.Co.NZ Mon Aug 14 15:41:27 2006 From: calhorner at xtra.Co.NZ (Cal Horner) Date: Tue, 15 Aug 2006 07:41:27 +1200 (New Zealand Standard Time) Subject: Replicate hang up Message-ID: <44E0D1E7.000003.01880@CALSBIGPC> My Platform: WinXp SP2. BTW, Duplicate works fine. And of course the old Standbys Copy and paste have kept me from going completley "Crackers". Cal From david at openpartnership.net Mon Aug 14 17:08:05 2006 From: david at openpartnership.net (David Bovill) Date: Mon, 14 Aug 2006 22:08:05 +0100 Subject: Shells - non-blocking? In-Reply-To: <0F7DE77F-CA10-4F4A-BF7D-AD508E691AC7@mac.com> References: <44E0B18F.9080805@fourthworld.com> <0F7DE77F-CA10-4F4A-BF7D-AD508E691AC7@mac.com> Message-ID: <c1c5836b0608141408q303869fkeed553f59d1b625e@mail.gmail.com> Will you all stop taking the mickey out of my keybrd? From dcragg at lacscentre.co.uk Mon Aug 14 17:34:41 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 14 Aug 2006 22:34:41 +0100 Subject: Uploading In-Reply-To: <5E1CA1A2-DB38-4C1B-80D3-0A76FAA05DD2@swcp.com> References: <44E0B109.4040108@fourthworld.com> <E1B4FFF8-BD37-4438-A5C4-AF685659B4EA@swcp.com> <C2AD7150-2863-4937-ABDB-434F13D80D94@together.net> <DB4006F1-E3EE-4A58-901D-C893418E2C39@lacscentre.co.uk> <5E1CA1A2-DB38-4C1B-80D3-0A76FAA05DD2@swcp.com> Message-ID: <2D350890-79CC-4D29-A443-0268FAA8B746@lacscentre.co.uk> On 14 Aug 2006, at 20:40, Dar Scott wrote: > > On Aug 14, 2006, at 1:35 PM, Dave Cragg wrote: >>> My understanding is that with PUT URL, there is no information >>> available about the status of the upload during the upload... >>> only at the end. This isn't a big issue for us if it's a more >>> dependable way to upload files of this size. >> >> You can use libUrlSetStatusCallback (see docs) to get feedback >> during the upload. (This works with all three methods.) > > How does this work with 'put URL'? Perhaps I misinterpreted Richard's mail. I assumed that by "put URL" he was meaning "put x into url ...". Or am I misinterpreting your question too? Anyway, you can set a callback with libUrlSetStatusCallback and it will work with both blocking and non-blocking calls. For example: ## in the stack script on preOpenStack libUrlSetStatusCallback "urlCallback, the long id of this stack end preOpenStack on urlCallback pUrl, pStatus put pStatus into field "status" end urlCallback ## and in a button somewhere put tData into url "ftp://aname:apassword at some.server.com/afile.txt" Cheers Dave From sanke at hrz.uni-kassel.de Mon Aug 14 18:07:02 2006 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Tue, 15 Aug 2006 00:07:02 +0200 Subject: Why do group ID's change when cloning a stack Message-ID: <44E0F406.4090504@hrz.uni-kassel.de> On Sat, 12 Aug 2006, Claudi Cornaz <claudi at fiberworld.nl> wrote: > I am also interested WHY this should happen. If you have stack A with 2 > grp's > and you clone the stack then the id's of the 2 grp's will stay the same > but every > control in the grp will get a new ID. One interesting part of this is why - I did a quick test - the IDs of the two groups stay the same even when their layer should have been changed. My experience is that each time you change the layer of an object *and" clone the stack or *copy * a card within a stack, the IDs (or new IDs) will be re-assigned following the order of the layers, e.g. if you have 4 buttons on a card with consecutive ID s of 1010 to 1013 and you change the layer of button 4 to lowest (of the buttons), then on the next (copied) card the sequence of IDs for these Buttons is 1015 to 1018. On the copied card button 4 now has the lowest ID instead of the highest as on the original card. When needing to copy a card when developing a new variant of a language program I several times ran into that problem. I then took care to rearrange the layers of objects to their original state to be able to reestablish references to objects more easily. And; if you put your two groups into a super-group and change their layers, the IDs of the embedded groups will be both new and in a different order than before. > If I clone the same stack A again > I now > have 2 cloned stacks which are identical that is to say all the ids of > all controls > in both cloned stacks are exactly the same and both differ from the > original. > So Why? > > Best wishes > Claudi The cloned stack are identical because you did not change any object layers in between the two acts of cloning. I assume, one reason behind the fact that lower order objects (such inside a group) get new IDs is that the original stack and the cloned stack are *open* at the same time and are somehow treated like two cards inside a stack (one of which is a copy of the first as I described above).- So IMHO the best thing you can do to optimize the creating of cloned stacks or copied cards is to reestablish the original layer order before cloning or copying. Best regards, Wilhelm Sanke <http://www.sanke.org/MetaMedia> ------------------------------ From mandozine at gmail.com Mon Aug 14 19:12:53 2006 From: mandozine at gmail.com (John Baxter) Date: Mon, 14 Aug 2006 16:12:53 -0700 Subject: Scrolling List Field Message-ID: <623723c0608141612s196a2aadu9221c030a35b4dfc@mail.gmail.com> I have a scrolling list field on a palette that I want to be able to select an item, and then click a button to insert the item into a field on the mainstack. I also want to be able to mix fonts within the same field on the mainstack, although on separate lines. I can't set the textfont of the field without changing all the text to the same font. Anyone know how to do this? Thanks for any help you can provide. From stephenREVOLUTION at barncard.com Mon Aug 14 20:35:41 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 14 Aug 2006 17:35:41 -0700 Subject: Scrolling List Field In-Reply-To: <623723c0608141612s196a2aadu9221c030a35b4dfc@mail.gmail.com> References: <623723c0608141612s196a2aadu9221c030a35b4dfc@mail.gmail.com> Message-ID: <p06230909c106c63ca484@[192.168.1.105]> Examine HTMLTEXT in the docs. then use something like set the htmltext of line 2 of fld "output" to "<b>toad meat</b>" sqb >I have a scrolling list field on a palette that I want to be able to select >an item, and then click a button to insert the item into a field on the >mainstack. > >I also want to be able to mix fonts within the same field on the mainstack, >although on separate lines. I can't set the textfont of the field without >changing all the text to the same font. > >Anyone know how to do this? > >Thanks for any help you can provide. >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From dsc at swcp.com Mon Aug 14 21:34:36 2006 From: dsc at swcp.com (Dar Scott) Date: Mon, 14 Aug 2006 19:34:36 -0600 Subject: Uploading In-Reply-To: <2D350890-79CC-4D29-A443-0268FAA8B746@lacscentre.co.uk> References: <44E0B109.4040108@fourthworld.com> <E1B4FFF8-BD37-4438-A5C4-AF685659B4EA@swcp.com> <C2AD7150-2863-4937-ABDB-434F13D80D94@together.net> <DB4006F1-E3EE-4A58-901D-C893418E2C39@lacscentre.co.uk> <5E1CA1A2-DB38-4C1B-80D3-0A76FAA05DD2@swcp.com> <2D350890-79CC-4D29-A443-0268FAA8B746@lacscentre.co.uk> Message-ID: <8D642AE5-FCE1-4D49-8F06-E2657E6431DC@swcp.com> On Aug 14, 2006, at 3:34 PM, Dave Cragg wrote: >>> You can use libUrlSetStatusCallback (see docs) to get feedback >>> during the upload. (This works with all three methods.) >> >> How does this work with 'put URL'? > > Perhaps I misinterpreted Richard's mail. Naw, I was being too dense. I kept thinking of the callback being 'sent ... in 0 seconds'. I realized later that you might send directly or use 'wait ... with messages'. Dar Scott From mark at maseurope.net Mon Aug 14 21:59:04 2006 From: mark at maseurope.net (Mark Smith) Date: Tue, 15 Aug 2006 02:59:04 +0100 Subject: Scrolling List Field In-Reply-To: <623723c0608141612s196a2aadu9221c030a35b4dfc@mail.gmail.com> References: <623723c0608141612s196a2aadu9221c030a35b4dfc@mail.gmail.com> Message-ID: <3F4054C2-DD96-4D18-8B80-E299C397BDC7@maseurope.net> Something like this in the button script: on insertNewItem put value(the selectedLine of fld "fieldName") into tLine put tLine after fld "targetField" of stack "mainStack" end insertNewItem You can set the textFont property of a line in a field: set the textFont of line 12 of fld "someField" to "monaco" Best, Mark On 15 Aug 2006, at 00:12, John Baxter wrote: > I have a scrolling list field on a palette that I want to be able > to select > an item, and then click a button to insert the item into a field on > the > mainstack. > > I also want to be able to mix fonts within the same field on the > mainstack, > although on separate lines. I can't set the textfont of the field > without > changing all the text to the same font. > > Anyone know how to do this? > > Thanks for any help you can provide. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From pmbrig at comcast.net Mon Aug 14 22:31:57 2006 From: pmbrig at comcast.net (Peter Brigham) Date: Mon, 14 Aug 2006 22:31:57 -0400 Subject: Can you actually see it? Message-ID: <94FE5D98-6439-4EAC-B51C-21FB97C9BD3B@comcast.net> I thought I'd contribute a couple of functions others might find useful, having recently (with a bit of difficulty, as usual) solved a problem. I wanted the user to be able to select a data field by clicking on it. I wanted to limit the choices to fields with sharedtext = false that are actually visible to the user, which seemed straightforward at first, until I realized that the visible of a field can be true but the field might be hidden by another object, or its visible could be true but it could be a part of a group whose visible is false -- or that group might be part of a larger group whose visible is false, etc. So I came up with a function isActuallyVisible(), and a function chooseField() that cycles through the list of controls from topmost down and pinpoints whether the user clicked on a valid field. It returns the long id of the clicked field, or exits to top if the user didn't click on a data field. I'm using this as the front end for a custom "find" function that allows the user to choose to limit a "find" to one field in a stack that has multiple fields in multiple groups (some nested), many of which are hidden depending on which background or group is visible. Hopefully these solutions will be useful to someone at some point.... (watch linewraps) function chooseField answer "Click on the field to search in. Command-period to exit." as sheet put the allowInterrupts into oldAllowInterrrupts set the allowInterrupts to true set the cursor to 1579 -- or whatever custom cursor select empty wait until the mouseclick put the clickloc into cloc set the cursor to arrow set the allowInterrupts to oldAllowInterrrupts put the number of controls into nbr repeat with c = nbr down to 1 put the long id of control c into cName if not (cloc is within the rect of control c) then next repeat if not isActuallyVisible(cName) then next repeat -- now the click is within an actually visible control if "field" is not in cName then -- but it's not a field, so exit answer "You must click on a field!" as sheet exit to top end if if the sharedText of control c then -- it's not a data field, so exit answer "You must click on a data field!" as sheet exit to top end if if the dontsearch of control c then -- it's not searchable, so exit answer "This field doesn't contain searchable data!" as sheet exit to top end if return cName end repeat -- went all the way down the list and didn't locate anything valid answer "You must click on a data field!" as sheet exit to top end chooseField function isActuallyVisible theObject put the visible of theObject into v1 if not v1 then return false -- at least theObject is visible put the owner of theObject into onr if onr contains "card" then return true else return isActuallyVisible(onr) end if end isActuallyVisible ***************************** -- Peter Peter M. Brigham pmbrig at comcast.net http://home.comcast.net/~pmbrig/ ~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~ I'm stuck in that awkward stage between birth and death. From kray at sonsothunder.com Mon Aug 14 22:56:22 2006 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 14 Aug 2006 21:56:22 -0500 Subject: Scrolling List Field In-Reply-To: <3F4054C2-DD96-4D18-8B80-E299C397BDC7@maseurope.net> Message-ID: <C106A206.415C6%kray@sonsothunder.com> On 8/14/06 8:59 PM, "Mark Smith" <mark at maseurope.net> wrote: > You can set the textFont property of a line in a field: Yes, actually you can set the text properties (font, size, style, etc.) of any chunk of text in a field, as well as for the field itself, a group that it's in, the card, the stack, etc. There's a hierarchy that gets used to determine what to display in a field: If the textFont of the text of the field is empty, then use the textFont of the field itself. If *that* is empty, use the textFont of the group that it's in (if any). If *that* is empty, use the textFont of the card, and if *that* is empty, use the textFont of the stack. (And if even *that* is empty, use a default font.) So if the textFont of a field is "Helvetica", and you select a chunk of text in the field and set it to "Tahoma", then select the field again and change the textFont of the field to "Lucida Grande" then all the text in the field that was displaying in Helvetica shifts to Lucida Grande, but the text you selected and set to Tahoma remains in Tahoma. Hope this is as clear as mud... ;-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From katir at hindu.org Mon Aug 14 23:45:57 2006 From: katir at hindu.org (Sivakatirswami) Date: Mon, 14 Aug 2006 17:45:57 -1000 Subject: OT: Is there a more English-like Programming language than Transcript? In-Reply-To: <826A7833-7C31-4582-947B-4DF7E9A29F28@swcp.com> References: <c1c5836b0608101513t622727e2n12f6f6c12966ebdb@mail.gmail.com> <70ed6b130608101639v5ada1ec5o1a13aee71fc506a7@mail.gmail.com> <826A7833-7C31-4582-947B-4DF7E9A29F28@swcp.com> Message-ID: <44E14375.5000903@hindu.org> We just came back from a two-day NewsTrain conference for journalists, put on by Associated Press and the Knight foundation. We showed our Hinduism Today Digital Edition to a few people, one of whom is the "critically acclaimed, award winning web developer" Rob Curley (see robcurley.com) who has helped produce the "best news sites on the net" web sites. (right, you may never have heard of him... this is in journalism--check out his latest production www.naplesnews.com... it's incredible, even if the content is "pop-local" click things under the dot.cool section) This man hired away some of Google's top engineers to join his IT team... he pays each one of back end IT team way up in the 6 figures, and any intern (he's big on $8/per hour "internology") lucky enough to work with him will leave his team and get 6 figures. OK, so, we have this 2 minute window to talk with him about what we do while he boots up Powerpoint on his 17" Macbook Pro. His first question was: "Hmmm, interesting, what is that coded in?" he's a super geek and didn't care about content--he wanted to know the technology behind it. I said "Revolution" He said "Hmm never heard of Revolution. Oops gotta go... I'm up next...." I don't think I should to have said "coded in transcipt" at that moment. Sivakatirswami Dar Scott wrote: > > On Aug 10, 2006, at 5:39 PM, Dan Shafer wrote: > >> As a language junkie I'd say xTalks including Transcript are easily >> and by >> far the most English-like programming languages on the planet. > > I was fortunate to be part of the team for Savvy which predated > HyperTalk and shared many of the same commands. That was also before > GUI and mouse, at least before we understood them. Almost every > HyperTalk command that was not GUI related was in Savvy. Savvy used a > form based script editor built around English syntax, and being of > poor memory, I miss that. I need a hint once in a while. Blanks > unfolded as parameters were needed. But, I don't think we can say > Savvy is on the planet anymore. Even so, my mother-in-law still uses > the bookkeeping package I made long ago and some folks are using > emulators to still run Savvy. I think the current owners have lost > the source. > >> And, to answer your opening question, Runtime Revolution is trying >> hard to >> get us to call the language Revolution. I'm resisting and I suspect >> lots of >> other folks are as well. I consider that a silly and ill-advised >> terminology >> change. But in their official literature, it's now Revolution which you >> program in...er...Revolution. > > I can understand both sides of this. When I used LabView people > looked at me funny when I said I programmed in G, so I simply said I > programmed in LabView. I wonder if in the olden days people would say > they programmed in HyperCard to avoid confusion. > > I have had trouble explaining Transcript to customers, so now say > Revolution. > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From stephenREVOLUTION at barncard.com Mon Aug 14 23:53:42 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 14 Aug 2006 20:53:42 -0700 Subject: OT: Is there a more English-like Programming language than Transcript? In-Reply-To: <44E14375.5000903@hindu.org> References: <c1c5836b0608101513t622727e2n12f6f6c12966ebdb@mail.gmail.com> <70ed6b130608101639v5ada1ec5o1a13aee71fc506a7@mail.gmail.com> <826A7833-7C31-4582-947B-4DF7E9A29F28@swcp.com> <44E14375.5000903@hindu.org> Message-ID: <p0623090bc106f58ebbba@[192.168.1.105]> This supposedly hip web guy still uses Powerpoint? Hmmmm... > >This man hired away some of Google's top engineers to join his IT >team... he pays each one of back end IT team way up in the 6 figures, >and any intern (he's big on $8/per hour "internology") lucky enough to >work with him will leave his team and get 6 figures. > >OK, so, we have this 2 minute window to talk with him about what we do >while he boots up Powerpoint on his 17" Macbook Pro. His first question >was: "Hmmm, interesting, what is that coded in?" he's a super geek and >didn't care about content--he wanted to know the technology behind it. > >I said "Revolution" He said "Hmm never heard of Revolution. Oops gotta >go... I'm up next...." > >I don't think I should to have said "coded in transcipt" at that moment. > >Sivakatirswami > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From ambassador at fourthworld.com Tue Aug 15 01:25:39 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 14 Aug 2006 22:25:39 -0700 Subject: OT: Is there a more English-like Programming language than Transcript? Message-ID: <44E15AD3.9080101@fourthworld.com> Sivakatirswami wrote: > We just came back from a two-day NewsTrain conference for journalists, > put on by Associated Press and the Knight foundation. We showed our > Hinduism Today Digital Edition to a few people, one of whom is the > "critically acclaimed, award winning web developer" Rob Curley (see > robcurley.com) who has helped produce the > "best news sites on the net" web sites. (right, you may never have heard > of him... this is in journalism--check out his latest > production www.naplesnews.com... it's incredible, even if the content is > "pop-local" click things under the dot.cool section) > > This man hired away some of Google's top engineers to join his IT > team... he pays each one of back end IT team way up in the 6 figures, > and any intern (he's big on $8/per hour "internology") lucky enough to > work with him will leave his team and get 6 figures. > > OK, so, we have this 2 minute window to talk with him about what we do > while he boots up Powerpoint on his 17" Macbook Pro. His first question > was: "Hmmm, interesting, what is that coded in?" he's a super geek and > didn't care about content--he wanted to know the technology behind it. > > I said "Revolution" He said "Hmm never heard of Revolution. Oops gotta > go... I'm up next...." > > I don't think I should to have said "coded in transcipt" at that moment. Precisely. No one does, any more than they'd answer "Lingo" when they're referring to Director. Like any proprietary language, Transcript cannot be used outside of the Revolution engine. When talking with outsiders who ask about the development system it's appropriate and certainly clearer to just use the name of that system. But that system includes many parts: language + object model + IDE + whatever tools you've added. Having a name which describes the language as distinct from the other parts that make up the Rev development system is useful for those conversations where the distinction matters, such as documentation and tutorials aimed at Rev developers. I've never seen any context where the Transcript programming language is mentioned without also mentioning the Revolution development system needed to use it. This has never been a problem for any of the languages sold by wonderfully successul companies for decades, and it's never been a problem for Rev. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From soapdog at mac.com Tue Aug 15 09:09:43 2006 From: soapdog at mac.com (Andre Garzia) Date: Tue, 15 Aug 2006 10:09:43 -0300 Subject: OT: Is there a more English-like Programming language than Transcript? In-Reply-To: <44E14375.5000903@hindu.org> References: <c1c5836b0608101513t622727e2n12f6f6c12966ebdb@mail.gmail.com> <70ed6b130608101639v5ada1ec5o1a13aee71fc506a7@mail.gmail.com> <826A7833-7C31-4582-947B-4DF7E9A29F28@swcp.com> <44E14375.5000903@hindu.org> Message-ID: <EC18857E-73A7-49AC-ADCA-F19FC33DE71E@mac.com> ho ho ho I am smiling now!!! :-) On Aug 15, 2006, at 12:45 AM, Sivakatirswami wrote: > OK, so, we have this 2 minute window to talk with him about what we do > while he boots up Powerpoint on his 17" Macbook Pro. His first > question > was: "Hmmm, interesting, what is that coded in?" he's a super geek > and > didn't care about content--he wanted to know the technology behind > it. From wlists at fireworksmm.com Tue Aug 15 09:46:00 2006 From: wlists at fireworksmm.com (Wally Rodriguez) Date: Tue, 15 Aug 2006 09:46:00 -0400 Subject: [OT] When does VersionTracker hilite an application in blue? In-Reply-To: <20060813111040.19032.qmail@web37512.mail.mud.yahoo.com> References: <20060813111040.19032.qmail@web37512.mail.mud.yahoo.com> Message-ID: <2AE3AD03-E19C-424D-A59C-32C84299F157@fireworksmm.com> I believe the developer pays a fee for the highlighted listing... W. On Aug 13, 2006, at 7:10 AM, Richmond Mathewson wrote: > The RR upgrade (2.7.3) was listed on Versiontracker in plain > black. I notice > that upgrades that somebody ( ? ? Who ? ? ) considers important are > listed in blue; and so eye-catching. > > sincerely, Richmond Mathewson > > ____________________________________________________________ > > "Philosophical problems are confusions arising owing to the > fluidity of meanings users attach to words and phrases." > Mathewson, 2006 > ____________________________________________________________ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From pevensen at siboneylg.com Tue Aug 15 10:19:09 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Tue, 15 Aug 2006 09:19:09 -0500 Subject: OT: Is there a more English-like Programming language than Transcript? In-Reply-To: <44E14375.5000903@hindu.org> References: <c1c5836b0608101513t622727e2n12f6f6c12966ebdb@mail.gmail.com> <70ed6b130608101639v5ada1ec5o1a13aee71fc506a7@mail.gmail.com> <826A7833-7C31-4582-947B-4DF7E9A29F28@swcp.com> <44E14375.5000903@hindu.org> Message-ID: <6.2.1.2.2.20060815091555.13bdcbb0@exchange.slg.com> I hesitate to bring this up, but one problem with "Revolution" is the name. It is a unsearchable name. Image this guy going and Googling "Revolution." Will the RunRev site come up? It's the 6th link when I do it, and it comes up after "Revolution Software" which sounds like what one would want. Frankly I'm impressed the RunRev site appears 6th. The problem is "Revolution" is a normal word. Other names, like "ReadBasic," are more unique, and will always take you to where you want to go. At 10:45 PM 8/14/2006, you wrote: >I said "Revolution" He said "Hmm never heard of Revolution. Oops gotta >go... I'm up next...." > >I don't think I should to have said "coded in transcipt" at that moment. > > >Sivakatirswami > Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 From simplsol at aol.com Tue Aug 15 10:37:31 2006 From: simplsol at aol.com (simplsol at aol.com) Date: Tue, 15 Aug 2006 10:37:31 -0400 Subject: OT: Is there a more English-like Programming language than Transcript? In-Reply-To: <44E15AD3.9080101@fourthworld.com> References: <44E15AD3.9080101@fourthworld.com> Message-ID: <8C88E8F79810C3F-ED4-190@mblk-d37.sysops.aol.com> You can be more specific with more knowledgeable people. When I travel overseas and people ask where I'm from, I say "The United States". When people ask in the US, I say "California". If they live on the west coast, I'll probably say "Los Angeles". If they live in California, I'll just say "LA". If they live in greater LA, I'll say "San Dimas". If they live in San Dimas, I'll say "The corner of Commercial St." Sometimes "Revolution" is right. Sometimes "Transcript". Transcript definitely has its place and it is seldom difficult to know when to use it. Paul Looney -----Original Message----- From: ambassador at fourthworld.com To: use-revolution at lists.runrev.com Sent: Mon, 14 Aug 2006 10:25 PM Subject: Re: OT: Is there a more English-like Programming language than Transcript? Sivakatirswami wrote:? ? > We just came back from a two-day NewsTrain conference for journalists,? > put on by Associated Press and the Knight foundation. We showed our? > Hinduism Today Digital Edition to a few people, one of whom is the? > "critically acclaimed, award winning web developer" Rob Curley (see > robcurley.com) who has helped produce the? > "best news sites on the net" web sites. (right, you may never have heard > of him... this is in journalism--check out his latest? > production www.naplesnews.com... it's incredible, even if the content is? > "pop-local" click things under the dot.cool section)? > > This man hired away some of Google's top engineers to join his IT? > team... he pays each one of back end IT team way up in the 6 figures,? > and any intern (he's big on $8/per hour "internology") lucky enough to? > work with him will leave his team and get 6 figures.? > > OK, so, we have this 2 minute window to talk with him about what we do? > while he boots up Powerpoint on his 17" Macbook Pro. His first question? > was: "Hmmm, interesting, what is that coded in?" he's a super geek and? > didn't care about content--he wanted to know the technology behind it.? > > I said "Revolution" He said "Hmm never heard of Revolution. Oops gotta? > go... I'm up next...."? > > I don't think I should to have said "coded in transcipt" at that moment.? ? Precisely. No one does, any more than they'd answer "Lingo" when they're referring to Director.? ? Like any proprietary language, Transcript cannot be used outside of the Revolution engine. When talking with outsiders who ask about the development system it's appropriate and certainly clearer to just use the name of that system.? ? But that system includes many parts: language + object model + IDE + whatever tools you've added. Having a name which describes the language as distinct from the other parts that make up the Rev development system is useful for those conversations where the distinction matters, such as documentation and tutorials aimed at Rev developers.? ? I've never seen any context where the Transcript programming language is mentioned without also mentioning the Revolution development system needed to use it.? ? This has never been a problem for any of the languages sold by wonderfully successul companies for decades, and it's never been a problem for Rev.? ? --? ?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? ________________________________________________________________________ Check out AOL.com today. Breaking news, video search, pictures, email and IM. All on demand. Always Free. From asgg35 at dsl.pipex.com Tue Aug 15 10:54:22 2006 From: asgg35 at dsl.pipex.com (Chris Carroll-Davis) Date: Tue, 15 Aug 2006 15:54:22 +0100 Subject: Message strangeness in 2.7.3 Message-ID: <18B37D14-6771-40F9-916D-CB43C259197F@dsl.pipex.com> Hello all - I have a weird issue that *seems* to have started since upgrading to 2.7.3. On a project that I am working on, if I double-click on the file to open project and launch Rev at the same time, preopenstack, openstack, preopencard and opencard (of the 1st card) are not sent. However, if I build a standalone it works fine. Or if I open Rev first, then open project it is fine. I'm working on G5 Mac. Has anyone else noticed this? It's *really* annoying! Chris From jbv.silences at club-internet.fr Tue Aug 15 11:18:42 2006 From: jbv.silences at club-internet.fr (jbv) Date: Tue, 15 Aug 2006 17:18:42 +0200 Subject: OT: Is there a more English-like Programming languagethan Transcript? References: <c1c5836b0608101513t622727e2n12f6f6c12966ebdb@mail.gmail.com> <70ed6b130608101639v5ada1ec5o1a13aee71fc506a7@mail.gmail.com> <826A7833-7C31-4582-947B-4DF7E9A29F28@swcp.com> <44E14375.5000903@hindu.org> <6.2.1.2.2.20060815091555.13bdcbb0@exchange.slg.com> Message-ID: <44E1E5C3.9A7E7BAE@club-internet.fr> > > > The problem is "Revolution" is a normal word. Other names, like > "ReadBasic," are more unique, and will always take you to where you want to > go. mmmmmh... what about RealRevolution... ;-) JB From bill at bluewatermaritime.com Tue Aug 15 11:10:38 2006 From: bill at bluewatermaritime.com (Bill) Date: Tue, 15 Aug 2006 11:10:38 -0400 Subject: Revolution as a good name for programming software? In-Reply-To: <6.2.1.2.2.20060815091555.13bdcbb0@exchange.slg.com> Message-ID: <C1075C2E.1FF8E%bill@bluewatermaritime.com> You have a very good point. Java is an example of nearly the best possible name for a programming language. It is a normal word but not such a common one. It is such a cool name that "JavaScript" took the name too. I think part of the success of Java was because of the name. But... Isn't it a little to late to change the name of "Revolution"? Or maybe we could always call it "RunRev" and then at least people could find it instantly in a google search. It's not as easy to remember as "Java" but if you repeat "runtime revolution" as well as "RunRev" people should remember it. On 8/15/06 10:19 AM, "Peter T. Evensen" <pevensen at siboneylg.com> wrote: > I hesitate to bring this up, but one problem with "Revolution" is the > name. It is a unsearchable name. Image this guy going and Googling > "Revolution." Will the RunRev site come up? It's the 6th link when I do > it, and it comes up after "Revolution Software" which sounds like what one > would want. > > Frankly I'm impressed the RunRev site appears 6th. > > The problem is "Revolution" is a normal word. Other names, like > "ReadBasic," are more unique, and will always take you to where you want to > go. > > At 10:45 PM 8/14/2006, you wrote: >> I said "Revolution" He said "Hmm never heard of Revolution. Oops gotta >> go... I'm up next...." >> >> I don't think I should to have said "coded in transcipt" at that moment. >> >> >> Sivakatirswami >> > > Peter T. Evensen > http://www.PetersRoadToHealth.com > 314-629-5248 or 888-682-4588 > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 geradamas at yahoo.com Tue Aug 15 11:30:45 2006 From: geradamas at yahoo.com (Richmond Mathewson) Date: Tue, 15 Aug 2006 08:30:45 -0700 (PDT) Subject: RevTalk . . . Message-ID: <20060815153045.69822.qmail@web37508.mail.mud.yahoo.com> "RevTalk" gets my vote. "Transcript" is just as awkward as "Revolution" for web searches (try it!!!). I suppose somebody ought to set up a poll somewhere. sincerely, Richmond Mathewson ____________________________________________________________ "Philosophical problems are confusions arising owing to the fluidity of meanings users attach to words and phrases." Mathewson, 2006 ____________________________________________________________ From chipp at chipp.com Tue Aug 15 11:44:52 2006 From: chipp at chipp.com (Chipp Walters) Date: Tue, 15 Aug 2006 10:44:52 -0500 Subject: OT: Is there a more English-like Programming language than Transcript? In-Reply-To: <8C88E8F79810C3F-ED4-190@mblk-d37.sysops.aol.com> References: <44E15AD3.9080101@fourthworld.com> <8C88E8F79810C3F-ED4-190@mblk-d37.sysops.aol.com> Message-ID: <7aa52a210608150844x5954c827qdb95e23aa40ea072@mail.gmail.com> Excellent point Paul. You often say the most interesting things! Thanks again for the advice about pricing you gave at the conference. I've implemented it on ButtonGadget and it seems to work :-) On 8/15/06, simplsol at aol.com <simplsol at aol.com> wrote: > You can be more specific with more knowledgeable people. > When I travel overseas and people ask where I'm from, I say "The > United States". When people ask in the US, I say "California". If they > live on the west coast, I'll probably say "Los Angeles". If they live > in California, I'll just say "LA". If they live in greater LA, I'll say > "San Dimas". If they live in San Dimas, I'll say "The corner of > Commercial St." > Sometimes "Revolution" is right. Sometimes "Transcript". Transcript > definitely has its place and it is seldom difficult to know when to use > it. > Paul Looney From RGould8 at aol.com Tue Aug 15 13:09:12 2006 From: RGould8 at aol.com (RGould8 at aol.com) Date: Tue, 15 Aug 2006 13:09:12 EDT Subject: Anyone use Simplehost ISP for Rev as CGI? Message-ID: <533.533e228.321359b8@aol.com> I'm trying to use my ISP (www.simplehost.com), as a host for a Revolution CGI. I'm getting a bit confused about the cgi-bin folder, vs. the scgi-bin folder, and the exact Revolution engine I should be uploading. Has anyone else tried installing Revolution as a CGI on simplehost.com? From bobwarren at howsoft.com Tue Aug 15 13:22:23 2006 From: bobwarren at howsoft.com (Bob Warren) Date: Tue, 15 Aug 2006 14:22:23 -0300 Subject: Revolution 2.7.3 released, support for U3 Message-ID: <44E202CF.1080002@howsoft.com> On 12/8/06 16:45, "Richard Gaskin" <ambassador at fourthworld.com> wrote: >> And as Rev developers, it's always been a trivial matter for us to >> deliver fully self-contained apps which run from removable media without needing to modify the host computer. While Rev's work in the >> U3-specific additions are helpful, you can also deliver portable apps on >> ANY removable drive, U3 or not. Kevin Miller wrote: > Of course, the coolest thing about U3 is that it is backed by the major storage vendors - Kingston, Memorex, Sandisk and many others. That means that tens of millions of these devices will ship each year, making this type of deployment a new potential revenue opportunity for developers. --------------------------- For complete portability, you can even put the whole OS on the removable medium too, including pendrives, etc. Puppy Linux (only the name is laughable) can be booted from pendrive or from CD-rom, saving your session to this medium on exit. The only fly in the ointment at this moment (provoking Dan again) is that some quite modern BIOS don't enable you to boot from a pendrive. I don't know the reason for this, but I imagine it is being corrected as I speak. Since it is small (about 70 MB) you might imagine that Puppy is a severely limited distro, since it operates entirely in memory. Not true! It does everything that my Ubuntu does, and more, without touching a sausage on the HD. And of course, the Rev IDE and standalones work perfectly. I haven't tried booting a U3 drive with Puppy on it, but if it works half as well as it does with CD booting/reading/recording, it would be fantastic. Regards to all, Bob From mandozine at gmail.com Tue Aug 15 13:59:24 2006 From: mandozine at gmail.com (John Baxter) Date: Tue, 15 Aug 2006 10:59:24 -0700 Subject: Scrolling List Field In-Reply-To: <C106A206.415C6%kray@sonsothunder.com> References: <3F4054C2-DD96-4D18-8B80-E299C397BDC7@maseurope.net> <C106A206.415C6%kray@sonsothunder.com> Message-ID: <623723c0608151059k4e503835obd97cd3e4548af0f@mail.gmail.com> Thanks for the help. You guys are great. I've got most everything working except for the font issue. I have a mainstack with a "TabField". I use this code: on openStack put empty into field "TabField" end openStack I have two palettes, each one uses a different font. Palette1 - buttons use this code: on mouseUp put "A" after field "TabField" of stack "UkeTab" end mouseUp Palette2 - scrolling list and insert button. Button uses this code: on mouseUp global chord put value(the selectedLine of fld "ChordList") into chord placechord end mouseUp on placechord global chord if chord is "A" then put "A" after field "TabField" of stack "UkeTab" end placechord What I'm trying to do is mix font styles in the mainstack field when I do the mouseUp from each Palette. I experimented with different code, but can't get the inserted characters to display in the proper font. [set text font of "A" to "ukefont"] -- when I click a button on Palette1 [set textfont of "A" to "ukechord"] -- which I click Insert button on Palette2 Thanks for any help or advise you have. From mark at maseurope.net Tue Aug 15 14:11:56 2006 From: mark at maseurope.net (Mark Smith) Date: Tue, 15 Aug 2006 19:11:56 +0100 Subject: Scrolling List Field In-Reply-To: <623723c0608151059k4e503835obd97cd3e4548af0f@mail.gmail.com> References: <3F4054C2-DD96-4D18-8B80-E299C397BDC7@maseurope.net> <C106A206.415C6%kray@sonsothunder.com> <623723c0608151059k4e503835obd97cd3e4548af0f@mail.gmail.com> Message-ID: <5987CABD-61F4-47E4-A5A8-E84C2C6F4799@maseurope.net> To do this, I think you'll have to explicitly set the textFont of the text you have just placed in fld "TabField". The text you have placed in the global variable "chord" has no font property - it is simply text. So you might put something like this at the end of the placeChord handler: put length(chord) into chordLength set the textFont of char (0 - chordLength) to -1 of fld "tabField" of stack "UkeTab" to the textFont of fld "ChordList" Best, Mark On 15 Aug 2006, at 18:59, John Baxter wrote: > Thanks for the help. You guys are great. I've got most everything > working > except for the font issue. I have a mainstack with a "TabField". I > use this > code: > > on openStack > put empty into field "TabField" > end openStack > > I have two palettes, each one uses a different font. > > Palette1 - buttons use this code: > > on mouseUp > put "A" after field "TabField" of stack "UkeTab" > end mouseUp > > Palette2 - scrolling list and insert button. Button uses this code: > > on mouseUp > global chord > put value(the selectedLine of fld "ChordList") into chord > placechord > end mouseUp > > on placechord > global chord > if chord is "A" then > put "A" after field "TabField" of stack "UkeTab" > end placechord > > > What I'm trying to do is mix font styles in the mainstack field > when I do > the mouseUp from each Palette. I experimented with different code, > but can't > get the inserted characters to display in the proper font. > > [set text font of "A" to "ukefont"] -- when I click a button on > Palette1 > [set textfont of "A" to "ukechord"] -- which I click Insert button on > Palette2 > > Thanks for any help or advise 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 From stephenREVOLUTION at barncard.com Tue Aug 15 14:17:09 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 15 Aug 2006 11:17:09 -0700 Subject: OT: Is there a more English-like Programming language than Transcript? In-Reply-To: <6.2.1.2.2.20060815091555.13bdcbb0@exchange.slg.com> References: <c1c5836b0608101513t622727e2n12f6f6c12966ebdb@mail.gmail.com> <70ed6b130608101639v5ada1ec5o1a13aee71fc506a7@mail.gmail.com> <826A7833-7C31-4582-947B-4DF7E9A29F28@swcp.com> <44E14375.5000903@hindu.org> <6.2.1.2.2.20060815091555.13bdcbb0@exchange.slg.com> Message-ID: <p0623090fc107bfc921ad@[192.168.1.105]> Type in 'Runtime Revolution', its formal long name, and it comes up first. I always refer to 'Runtime' when speaking to others about it.. >I hesitate to bring this up, but one problem with "Revolution" is >the name. It is a unsearchable name. Image this guy going and >Googling "Revolution." Will the RunRev site come up? It's the 6th >link when I do it, and it comes up after "Revolution Software" which >sounds like what one would want. > >Frankly I'm impressed the RunRev site appears 6th. > >The problem is "Revolution" is a normal word. Other names, like >"ReadBasic," are more unique, and will always take you to where you >want to go. > >At 10:45 PM 8/14/2006, you wrote: >>I said "Revolution" He said "Hmm never heard of Revolution. Oops gotta >>go... I'm up next...." >> >>I don't think I should to have said "coded in transcipt" at that moment. >> >> >>Sivakatirswami >> > >Peter T. Evensen -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From bobwarren at howsoft.com Tue Aug 15 14:25:12 2006 From: bobwarren at howsoft.com (Bob Warren) Date: Tue, 15 Aug 2006 15:25:12 -0300 Subject: Galaxy Studio is available for Windows and MacOS X Message-ID: <44E21188.2010307@howsoft.com> And since Rev is supposed to be "cross-platform", it will also be available for Linux too after Rev 2.7 appears???????????? Bob From bobwarren at howsoft.com Tue Aug 15 14:39:13 2006 From: bobwarren at howsoft.com (Bob Warren) Date: Tue, 15 Aug 2006 15:39:13 -0300 Subject: OT: Is there a more English-like Programming language, than Transcript? Message-ID: <44E214D1.9030206@howsoft.com> Peter T. Evensen wrote: > The problem is "Revolution" is a normal word. Other names, like "ReadBasic," are more unique, and will always take you to where you want to go. ------------------------ And my site, which mentions the name "Revolution" quite a lot, is constantly visited by the US military. I wonder why? Bob From jonseymour at mac.com Tue Aug 15 14:52:24 2006 From: jonseymour at mac.com (Jon Seymour) Date: Tue, 15 Aug 2006 13:52:24 -0500 Subject: Windows standalone application to foreground upon un-minimizing? Message-ID: <DF3CC368-1EA4-4781-9AEE-EBC2C3DB5FA0@mac.com> Hello, When I minimize a standalone application for Win32 made with Rev, then click its button in the "task bar" at the bottom of the screen, my application's window is drawn behind other apps that are currently open. I've never observed this behavior before with mainstream Windows apps as the intent of "un-minimizing" is obviously to bring the app to the foreground, on top of the others. Does anyone know how to combat this? Thanks, Jon From ambassador at fourthworld.com Tue Aug 15 15:03:19 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 15 Aug 2006 12:03:19 -0700 Subject: OT: Is there a more English-like Programming language, than Transcript? Message-ID: <44E21A77.80404@fourthworld.com> Bob Warren wrote: > And my site, which mentions the name "Revolution" quite a lot, is > constantly visited by the US military. I wonder why? Getting started early for this year's Jam Echelon Day on Oct. 21, eh? :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From dleyanna at rtl.org Tue Aug 15 15:05:02 2006 From: dleyanna at rtl.org (Dave LeYanna) Date: Tue, 15 Aug 2006 15:05:02 -0400 Subject: Galaxy/Constellation Message-ID: <20060815190503.8AD42420062@mail.rtl.org> What is the relationship between these two products. I don't see anything on Daniels & Mara?s site about Constellation. Dave From jerry at daniels-mara.com Tue Aug 15 15:10:00 2006 From: jerry at daniels-mara.com (Jerry Daniels) Date: Tue, 15 Aug 2006 14:10:00 -0500 Subject: Galaxy/Constellation In-Reply-To: <20060815190503.8AD42420062@mail.rtl.org> References: <20060815190503.8AD42420062@mail.rtl.org> Message-ID: <190C00EA-9312-4CD3-85DC-32982AC46D5D@daniels-mara.com> Constellation has been replaced by Galaxy. Read all about it on our RevSelect blog: http://www.revdeveloper.com/include/blog/revselect/daniels_mara/?p=6 Best, Jerry Daniels Tool makers for the 21st century http://www.daniels-mara.com On Aug 15, 2006, at 2:05 PM, Dave LeYanna wrote: > What is the relationship between these two products. I don't see > anything on Daniels & Mara?s site about Constellation. > > 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 JimAultWins at yahoo.com Tue Aug 15 15:12:56 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 15 Aug 2006 12:12:56 -0700 Subject: Scrolling List Field In-Reply-To: <623723c0608151059k4e503835obd97cd3e4548af0f@mail.gmail.com> Message-ID: <C1076AC8.3C4BC%JimAultWins@yahoo.com> On 8/15/06 10:59 AM, "John Baxter" <mandozine at gmail.com> wrote: > What I'm trying to do is mix font styles in the mainstack field when I do > the mouseUp from each Palette. I experimented with different code, but can't > get the inserted characters to display in the proper font. Be careful of the mixed fonts, scrolling position, and formatted height. search the archives for a discussion about this about 6-8 weeks ago http://www.mail-archive.com/use-revolution at lists.runrev.com/ Jim Ault Las Vegas > Thanks for the help. You guys are great. I've got most everything working > except for the font issue. I have a mainstack with a "TabField". I use this > code: > > on openStack > put empty into field "TabField" > end openStack > > I have two palettes, each one uses a different font. > > Palette1 - buttons use this code: > > on mouseUp > put "A" after field "TabField" of stack "UkeTab" > end mouseUp > > Palette2 - scrolling list and insert button. Button uses this code: > > on mouseUp > global chord > put value(the selectedLine of fld "ChordList") into chord > placechord > end mouseUp > > on placechord > global chord > if chord is "A" then > put "A" after field "TabField" of stack "UkeTab" > end placechord > > > What I'm trying to do is mix font styles in the mainstack field when I do > the mouseUp from each Palette. I experimented with different code, but can't > get the inserted characters to display in the proper font. > > [set text font of "A" to "ukefont"] -- when I click a button on Palette1 > [set textfont of "A" to "ukechord"] -- which I click Insert button on > Palette2 > > Thanks for any help or advise you have. From RGould8 at aol.com Tue Aug 15 15:22:42 2006 From: RGould8 at aol.com (RGould8 at aol.com) Date: Tue, 15 Aug 2006 15:22:42 EDT Subject: Can Rev as CGI pull an URL's HTML into a variable? Message-ID: <c16.18e5a91.32137902@aol.com> Is the "put URL" command something that is not permitted when running Rev as a CGI? I'm getting no data back when I run this short script. (I just put Google in as a sample URL) #!revolution on startup put "Content-Type: text/plain" & cr & cr put $QUERY_STRING into searchstring put "http://www.google.com" into searchURL put URL searchURL into databack put "trying to pull in " & searchURL put "databack = " & databack end startup From pevensen at siboneylg.com Tue Aug 15 15:33:26 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Tue, 15 Aug 2006 14:33:26 -0500 Subject: Windows NT Message-ID: <6.2.1.2.2.20060815143237.123e4d10@exchange.slg.com> Has anyone here successfully run a standalone on Windows NT with version 2.7.x? With 2.7.2 or 2.7.3 I get the following: Entry Point Not Found The procedure entry point SHGetSpecialFolderPathA could not be located in teh dynamic link library shell32.dll Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 From revdev at pdslabs.net Tue Aug 15 15:38:18 2006 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 15 Aug 2006 12:38:18 -0700 Subject: Can Rev as CGI pull an URL's HTML into a variable? In-Reply-To: <c16.18e5a91.32137902@aol.com> References: <c16.18e5a91.32137902@aol.com> Message-ID: <44E222AA.4080606@pdslabs.net> Don't you need to be using libURL for this to work? So before you issue 'put url', your CGI would need to 'start using' a stack that includes libUrl. Phil Davis RGould8 at aol.com wrote: > Is the "put URL" command something that is not permitted when running Rev as > a CGI? I'm getting no data back when I run this short script. (I just put > Google in as a sample URL) > > > #!revolution > > on startup > put "Content-Type: text/plain" & cr & cr > > put $QUERY_STRING into searchstring > > put "http://www.google.com" into searchURL > > put URL searchURL into databack > > put "trying to pull in " & searchURL > > put "databack = " & databack > > end startup From RGould8 at aol.com Tue Aug 15 15:42:08 2006 From: RGould8 at aol.com (RGould8 at aol.com) Date: Tue, 15 Aug 2006 15:42:08 EDT Subject: Can Rev as CGI pull an URL's HTML into a variable? Message-ID: <53a.344c5600.32137d90@aol.com> In a message dated 8/15/06 3:36:02 PM, revdev at pdslabs.net writes: > Don't you need to be using libURL for this to work? So before you issue > 'put > url', your CGI would need to 'start using' a stack that includes libUrl. > > Phil Davis > I think I understand what you're saying - - - now since I'm just running the revolution engine as a non-GUI CGI on Mac OS X, can you tell me what exactly I'd need to reference as a "stack that includes libURL?" When I downloaded the revolution engine for Mac OS X Unix, it only came with 1 "rev" file. From bobs at twft.com Tue Aug 15 15:56:21 2006 From: bobs at twft.com (Robert Sneidar) Date: Tue, 15 Aug 2006 12:56:21 -0700 Subject: OT: Is there a more English-like Programming languagethan Transcript? In-Reply-To: <20060815164330.AC404825657@mail.runrev.com> References: <20060815164330.AC404825657@mail.runrev.com> Message-ID: <720AC709-5D49-4982-A58A-BE4FF2FFA167@twft.com> But what if they were searching for the French localized version of Revolution? Would they search for FrenchRevolution? Would google faithfully reply, "Did you mean, 'French Revolution?' and so misdirect the user? Germany never had a revolution that I know if. They have historically been too busy taking over other people's countries, so GermanRevolution might produce the correct links. Of course if Hitler had his way we wouldn't be having this conversation. <uuurp... more French wine pls...> Bob Sneidar IT Manager Logos Management Calvary Chapel CM >> The problem is "Revolution" is a normal word. Other names, like >> "ReadBasic," are more unique, and will always take you to where >> you want to >> go. > > mmmmmh... what about RealRevolution... ;-) > > JB From revdev at pdslabs.net Tue Aug 15 16:20:21 2006 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 15 Aug 2006 13:20:21 -0700 Subject: Can Rev as CGI pull an URL's HTML into a variable? In-Reply-To: <53a.344c5600.32137d90@aol.com> References: <53a.344c5600.32137d90@aol.com> Message-ID: <44E22C85.7070302@pdslabs.net> In the IDE, you can create a stack (named "inetCode" below) and copy button "revLibUrl" of stack "revlibrary" to it. Then in the stack script: on libraryStack insert script of btn "revLibUrl" of this stack into back end libraryStack Near the beginning of your CGI script, you would then have this line: start using stack "inetCode" Now just make sure the "inetCode" stack is in the same folder as your script and the engine, and I think it should work - unless I've overlooked something... nahhh, that never happens... ;o) Phil RGould8 at aol.com wrote: > In a message dated 8/15/06 3:36:02 PM, revdev at pdslabs.net writes: > > >> Don't you need to be using libURL for this to work? So before you issue >> 'put >> url', your CGI would need to 'start using' a stack that includes libUrl. >> >> Phil Davis >> > > I think I understand what you're saying - - - now since I'm just running the > revolution engine as a non-GUI CGI on Mac OS X, can you tell me what exactly > I'd need to reference as a "stack that includes libURL?" When I downloaded > the revolution engine for Mac OS X Unix, it only came with 1 "rev" file. From revdev at pdslabs.net Tue Aug 15 16:30:31 2006 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 15 Aug 2006 13:30:31 -0700 Subject: Can Rev as CGI pull an URL's HTML into a variable? In-Reply-To: <44E22C85.7070302@pdslabs.net> References: <53a.344c5600.32137d90@aol.com> <44E22C85.7070302@pdslabs.net> Message-ID: <44E22EE7.3050901@pdslabs.net> Second thoughts... An alternate approach would be to forget the 'libraryStack' handler and just set the script of your new stack to the script of the "revLiburl" button. Then do everything else as already stated. This is a little more simple conceptually. Phil Phil Davis wrote: > In the IDE, you can create a stack (named "inetCode" below) and copy > button "revLibUrl" of stack "revlibrary" to it. Then in the stack script: > > > on libraryStack > insert script of btn "revLibUrl" of this stack into back > end libraryStack > > > Near the beginning of your CGI script, you would then have this line: > > start using stack "inetCode" > > Now just make sure the "inetCode" stack is in the same folder as your > script and the engine, and I think it should work - unless I've > overlooked something... nahhh, that never happens... ;o) > > Phil > > > RGould8 at aol.com wrote: >> In a message dated 8/15/06 3:36:02 PM, revdev at pdslabs.net writes: >> >> >>> Don't you need to be using libURL for this to work? So before you >>> issue 'put >>> url', your CGI would need to 'start using' a stack that includes libUrl. >>> >>> Phil Davis >>> >> >> I think I understand what you're saying - - - now since I'm just >> running the revolution engine as a non-GUI CGI on Mac OS X, can you >> tell me what exactly I'd need to reference as a "stack that includes >> libURL?" When I downloaded the revolution engine for Mac OS X Unix, >> it only came with 1 "rev" file. From jerry at daniels-mara.com Tue Aug 15 16:46:51 2006 From: jerry at daniels-mara.com (Jerry Daniels) Date: Tue, 15 Aug 2006 15:46:51 -0500 Subject: Galaxy Studio is available for Windows and MacOS X In-Reply-To: <44E21188.2010307@howsoft.com> References: <44E21188.2010307@howsoft.com> Message-ID: <E519884D-0A0D-4642-80AB-051BDDD73F20@daniels-mara.com> Bob, We will be watching closely when Rev 2.7 for Linux comes out to see what the level of work will be for a Linux version of Galaxy. Thanks for the interest. Jerry Daniels Tool makers for the 21st century http://www.daniels-mara.com On Aug 15, 2006, at 1:25 PM, Bob Warren wrote: > And since Rev is supposed to be "cross-platform", it will also be > available for Linux too after Rev 2.7 appears???????????? > > 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 effendi at wanadoo.fr Tue Aug 15 16:59:07 2006 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Tue, 15 Aug 2006 22:59:07 +0200 Subject: Is there a more English-like Programming language ? Message-ID: <fb63b7abac4a79294105c4f68023a1ed@wanadoo.fr> Hi from Paris, Paul explains it well - but let's look at it another way ! It all depends on who you are, where you are, and most important, who you are talking to ! From Hypercard, through Supercard to Dreamcard, in Transcript, or WHATEVER ! I find that the majority of people I talk to have never heard of ANY OF THEM !! Maybe they are living in another world ! Or perhaps, maybe WE ARE ! Incidentally, I prefer to live in my world (yours too ?) ! Call it Transcript if you will ..! Who cares ? We dig it !!!!! Close to English - Certainly Not ! But acceptable to many, English or not - "Bien S?r" (Of Course !) Precursors - Without a doubt ! -Francis (nearly 20 years of Mac, and nearly as many of Hypercard) > You can be more specific with more knowledgeable people. > When I travel overseas and people ask where I'm from, I say "The > United States". When people ask in the US, I say "California". If they > live on the west coast, I'll probably say "Los Angeles". If they live > in California, I'll just say "LA". If they live in greater LA, I'll say > "San Dimas". If they live in San Dimas, I'll say "The corner of > Commercial St." > Sometimes "Revolution" is right. Sometimes "Transcript". Transcript > definitely has its place and it is seldom difficult to know when to use > it. > Paul Looney From simplsol at aol.com Tue Aug 15 17:27:06 2006 From: simplsol at aol.com (simplsol at aol.com) Date: Tue, 15 Aug 2006 17:27:06 -0400 Subject: Revolution as a good name for programming software? In-Reply-To: <C1075C2E.1FF8E%bill@bluewatermaritime.com> Message-ID: <8C88EC8B114EA4D-54C-24D5@mblk-d37.sysops.aol.com> Why not just call it "Rev" (many of us do so anyway)? It is short. It is a word, a verb; you "rev" an engine to make it go faster (perfect name for the fastest programming language). It would google well. Transcript could become "Revscript" and we'd all live happily ever after. Paul Looney -----Original Message----- From: bill at bluewatermaritime.com To: use-revolution at lists.runrev.com Sent: Tue, 15 Aug 2006 8:10 AM Subject: Revolution as a good name for programming software? You have a very good point. Java is an example of nearly the best possible name for a programming language. It is a normal word but not such a common one. It is such a cool name that "JavaScript" took the name too. I think part of the success of Java was because of the name. But... Isn't it a little to late to change the name of "Revolution"? Or maybe we could always call it "RunRev" and then at least people could find it instantly in a google search. It's not as easy to remember as "Java" but if you repeat "runtime revolution" as well as "RunRev" people should remember it. On 8/15/06 10:19 AM, "Peter T. Evensen" <pevensen at siboneylg.com> wrote: > I hesitate to bring this up, but one problem with "Revolution" is the > name. It is a unsearchable name. Image this guy going and Googling > "Revolution." Will the RunRev site come up? It's the 6th link when I do > it, and it comes up after "Revolution Software" which sounds like what one > would want. > > Frankly I'm impressed the RunRev site appears 6th. > > The problem is "Revolution" is a normal word. Other names, like > "ReadBasic," are more unique, and will always take you to where you want to > go. > > At 10:45 PM 8/14/2006, you wrote: >> I said "Revolution" He said "Hmm never heard of Revolution. Oops gotta >> go... I'm up next...." >> >> I don't think I should to have said "coded in transcipt" at that moment. >> >> >> Sivakatirswami >> > > Peter T. Evensen > http://www.PetersRoadToHealth.com > 314-629-5248 or 888-682-4588 > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 _______________________________________________ use-revolution mailing list use-revolution 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 AOL.com today. Breaking news, video search, pictures, email and IM. All on demand. Always Free. From simplsol at aol.com Tue Aug 15 17:37:15 2006 From: simplsol at aol.com (simplsol at aol.com) Date: Tue, 15 Aug 2006 17:37:15 -0400 Subject: OT: Is there a more English-like Programming language than Transcript? In-Reply-To: <7aa52a210608150844x5954c827qdb95e23aa40ea072@mail.gmail.com> References: <44E15AD3.9080101@fourthworld.com> <8C88E8F79810C3F-ED4-190@mblk-d37.sysops.aol.com> <7aa52a210608150844x5954c827qdb95e23aa40ea072@mail.gmail.com> Message-ID: <8C88ECA1C52B8D9-54C-25B5@mblk-d37.sysops.aol.com> Chipp, Thanks for the kind words. I'm always gratified when I hear folks implement the suggestions. Dan and I had a short talk after the conference about me giving a full session to disseminate similar marketing morsels. We both concluded that those who might benefit most would probably not attend. Glad to hear you ran with it! PL -----Original Message----- From: chipp at chipp.com To: use-revolution at lists.runrev.com Sent: Tue, 15 Aug 2006 8:44 AM Subject: Re: OT: Is there a more English-like Programming language than Transcript? Excellent point Paul. You often say the most interesting things!? Thanks again for the advice about pricing you gave at the conference.? I've implemented it on ButtonGadget and it seems to work :-)? ? On 8/15/06, simplsol at aol.com <simplsol at aol.com> wrote:? > You can be more specific with more knowledgeable people.? > When I travel overseas and people ask where I'm from, I say "The? > United States". When people ask in the US, I say "California". If they? > live on the west coast, I'll probably say "Los Angeles". If they live? > in California, I'll just say "LA". If they live in greater LA, I'll say? > "San Dimas". If they live in San Dimas, I'll say "The corner of? > Commercial St."? > Sometimes "Revolution" is right. Sometimes "Transcript". Transcript? > definitely has its place and it is seldom difficult to know when to use? > it.? > Paul Looney? _______________________________________________? use-revolution mailing list? use-revolution at lists.runrev.com? Please visit this url to subscribe, unsubscribe and manage your subscription preferences:? http://lists.runrev.com/mailman/listinfo/use-revolution? ________________________________________________________________________ Check out AOL.com today. Breaking news, video search, pictures, email and IM. All on demand. Always Free. From mandozine at gmail.com Tue Aug 15 18:10:29 2006 From: mandozine at gmail.com (John Baxter) Date: Tue, 15 Aug 2006 15:10:29 -0700 Subject: Scrolling List Field In-Reply-To: <5987CABD-61F4-47E4-A5A8-E84C2C6F4799@maseurope.net> References: <3F4054C2-DD96-4D18-8B80-E299C397BDC7@maseurope.net> <C106A206.415C6%kray@sonsothunder.com> <623723c0608151059k4e503835obd97cd3e4548af0f@mail.gmail.com> <5987CABD-61F4-47E4-A5A8-E84C2C6F4799@maseurope.net> Message-ID: <623723c0608151510k4933ce16if79e5122c831b48f@mail.gmail.com> Mark, The code works great for my listfield stack! The TabField on my mainstack was displaying the ukefont, but when I clicked Insert on the chord Palette, the chord was inserted without changing the existing text. Exacty what I'm trying to do. But, I'm not sure what the code would be for the other Palette with multiple buttons (all using the same font). When I click a button, it changes all the text back to the ukefont. John On 8/15/06, Mark Smith <mark at maseurope.net> wrote: > > To do this, I think you'll have to explicitly set the textFont of the > text you have just placed in fld "TabField". The text you have placed > in the global variable "chord" has no font property - it is simply text. > > So you might put something like this at the end of the placeChord > handler: > > put length(chord) into chordLength > set the textFont of char (0 - chordLength) to -1 of fld "tabField" of > stack "UkeTab" to the textFont of fld "ChordList" > > Best, > > Mark > > > On 15 Aug 2006, at 18:59, John Baxter wrote: > > > Thanks for the help. You guys are great. I've got most everything > > working > > except for the font issue. I have a mainstack with a "TabField". I > > use this > > code: > > > > on openStack > > put empty into field "TabField" > > end openStack > > > > I have two palettes, each one uses a different font. > > > > Palette1 - buttons use this code: > > > > on mouseUp > > put "A" after field "TabField" of stack "UkeTab" > > end mouseUp > > > > Palette2 - scrolling list and insert button. Button uses this code: > > > > on mouseUp > > global chord > > put value(the selectedLine of fld "ChordList") into chord > > placechord > > end mouseUp > > > > on placechord > > global chord > > if chord is "A" then > > put "A" after field "TabField" of stack "UkeTab" > > end placechord > > > > > > What I'm trying to do is mix font styles in the mainstack field > > when I do > > the mouseUp from each Palette. I experimented with different code, > > but can't > > get the inserted characters to display in the proper font. > > > > [set text font of "A" to "ukefont"] -- when I click a button on > > Palette1 > > [set textfont of "A" to "ukechord"] -- which I click Insert button on > > Palette2 > > > > Thanks for any help or advise 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 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- John Baxter http://www.mandozine.com http://www.mandotunes.com Mandozine Radio: Tuned Locally - Played Globally http://www.live365.com/stations/mandozine From fde101 at fjrhome.net Tue Aug 15 18:21:12 2006 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 15 Aug 2006 18:21:12 -0400 Subject: Subversion and online code libraries! In-Reply-To: <c1c5836b0608120450k6d5a7c6eqee0b80ad01108473@mail.gmail.com> References: <c1c5836b0608120450k6d5a7c6eqee0b80ad01108473@mail.gmail.com> Message-ID: <CA514122-E395-42FC-A17D-147835365DDF@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've been playing around with using Subversion for Ada code. The problem with using SVN (or any other modern version control system, for that matter) with Revolution is the fact that the "source code" (stacks) are binary files. That's okay for simple versioning, but it is somewhat impossible to "merge" changes of multiple developers. Unless a Rev stack file format is modified to be text-based, and in such a way that developers can manage the discrepancies enough to handle conflict resolution, it is not possible to take full advantage of SVN (or CVS for that matter) with Revolution projects. Partial advantage yes (using locking rather than merging, each developer working with a separate stack file at any given time), but not full advantage. On Aug 12, 2006, at 7:50 AM, David Bovill wrote: > Anyone using Subversion out there? > > I've been using Subversion for the last 9 months or so to save > changes to > the projects I have been working on. This is not really taking much > advantage of subversion other than saving some disk space as every few > changes are automatically saved (only the differences). I have this > working > on OSX, but it should work just the same on windows and Linux. > There is not > much of an interface yet. > > The real use of subversion / cvs is with a team working on a > project - for > instance members of this list working on libraries or components > together. I > have an online subversion repository that I use, with integrated > documentation that I use for my own projects, and was wandering if > there > would be any interest in others on this list using such a tool? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iD8DBQFE4khlRS7sy0VSQ1gRAgBHAKCMHwqkl1C5dwn/JNvz+ob+n8AfegCdFJNE JQK0vgRZD3ywa13r316tea4= =84ZE -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From rishi at puredata.com.au Tue Aug 15 18:59:18 2006 From: rishi at puredata.com.au (Rishi Viner) Date: Wed, 16 Aug 2006 08:59:18 +1000 Subject: Galaxy Studio is available for Windows and MacOS X In-Reply-To: <E519884D-0A0D-4642-80AB-051BDDD73F20@daniels-mara.com> References: <44E21188.2010307@howsoft.com> <E519884D-0A0D-4642-80AB-051BDDD73F20@daniels-mara.com> Message-ID: <200608160859.18914.rishi@puredata.com.au> Hi Jerry, On Wednesday 16 August 2006 06:46, Jerry Daniels wrote: > Bob, > > We will be watching closely when Rev 2.7 for Linux comes out to see > what the level of work will be for a Linux version of Galaxy. > > Thanks for the interest. > > Jerry Daniels Just a quick note of support for this. And a commitment, I'll be happy to help with testing under Linux when 2.7 does finally come out, if you need any testing. I'll also commit to purchase when it does come out... Cheers, -- Rishi Viner -------------- Australia From bridgeyman at gmail.com Tue Aug 15 19:04:09 2006 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Tue, 15 Aug 2006 17:04:09 -0600 Subject: OT: Is there a more English-like Programming language than Transcript? In-Reply-To: <8C88ECA1C52B8D9-54C-25B5@mblk-d37.sysops.aol.com> References: <44E15AD3.9080101@fourthworld.com> <8C88E8F79810C3F-ED4-190@mblk-d37.sysops.aol.com> <7aa52a210608150844x5954c827qdb95e23aa40ea072@mail.gmail.com> <8C88ECA1C52B8D9-54C-25B5@mblk-d37.sysops.aol.com> Message-ID: <86ae76bb0608151604r295617fax947db0033fc8ea91@mail.gmail.com> Hey, I was just getting the Revolution update and I happened to notice that on one of the little info screens it displays as it installs it says, "You don't have to have a degree in programming to develop in Revolution. Revolution uses an easy to understand English-based language also called Revolution." That sounds pretty official that the language is no longer called "Transcipt" anymore by the people at Runrev. (Realize that I was paraphrasing a little except for the sentence "language also called Revolution" because I don't have a photographic memory). TTFN Bridger On 8/15/06, simplsol at aol.com <simplsol at aol.com> wrote: > > Chipp, > Thanks for the kind words. > I'm always gratified when I hear folks implement the suggestions. > Dan and I had a short talk after the conference about me giving a full > session to disseminate similar marketing morsels. We both concluded > that those who might benefit most would probably not attend. > Glad to hear you ran with it! > PL > > -----Original Message----- > From: chipp at chipp.com > To: use-revolution at lists.runrev.com > Sent: Tue, 15 Aug 2006 8:44 AM > Subject: Re: OT: Is there a more English-like Programming language > than Transcript? > > Excellent point Paul. You often say the most interesting things! > Thanks again for the advice about pricing you gave at the conference. > I've implemented it on ButtonGadget and it seems to work :-) > > On 8/15/06, simplsol at aol.com <simplsol at aol.com> wrote: > > You can be more specific with more knowledgeable people. > > When I travel overseas and people ask where I'm from, I say "The > > United States". When people ask in the US, I say "California". If > they > > live on the west coast, I'll probably say "Los Angeles". If they > live > > in California, I'll just say "LA". If they live in greater LA, I'll > say > > "San Dimas". If they live in San Dimas, I'll say "The corner of > > Commercial St." > > Sometimes "Revolution" is right. Sometimes "Transcript". Transcript > > definitely has its place and it is seldom difficult to know when to > use > > it. > > Paul Looney > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > ________________________________________________________________________ > Check out AOL.com today. Breaking news, video search, pictures, email > and IM. All on demand. Always Free. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Tue Aug 15 19:20:26 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 15 Aug 2006 16:20:26 -0700 Subject: Subversion and online code libraries! Message-ID: <44E256BA.3060707@fourthworld.com> Frank D. Engel wrote: > The problem with using SVN (or any other modern version control > system, for that matter) with Revolution is the fact that the "source > code" (stacks) are binary files. That's okay for simple versioning, > but it is somewhat impossible to "merge" changes of multiple developers. Fortunately, in my experience it's rarely needed. Admittedly that experience may be limited: the largest team I've managed in an xTalk had only 20 developers, and most commonly the teams I work with have only 3 or 4. But with an average of about 12 product releases a year here, in each of these cases we've needed no finer granularity than the stack level. In fact, since both library stacks and UI stacks tend to deal with specific areas of functionality, from a project management standpoint there are many benefits to keeping the team member ownership tied to that level of the object model. If multiple developers need to work on a stack, it often makes sense to let one finish before sharing it with another. If the stack is large enough to warrant multiple concurrent programmers, perhaps that's really a sign to think about breaking the stack up into more easily managed parts. As Steven McConnell reminds us, adding programmers adds overhead, so that a second programmer only results in a net gain of about 50% additional productivity on average, with the rest being taken up with the overhead of coordination. Each additional programmer adds a smaller net gain, with coordination overhead increasing with team size. The rate of these diminishing returns vary from project to project, but for every project there is a point where the coordination overhead exceeds the productivity gained -- truly a suboptimal team size. :) Coordination overhead can be minimized to the degree that each programmer is working in a discrete section of the program; the fewer dependencies between modules assigned to different programmers, the lower the overhead. If a project is complex enough to warrant multiple programers, it's probably complex enough to give some serious thought to how the code is factored. If you're developing with an xTalk, chances are you'll find that stacks make a natural dividing line that not only goes with the grain of the object model, but also with effective use of that object model in applying good team management practices which not only facilitate team member communication but code maintenance as well. The only downside is that the nature of Rev's unique binary-objects-bound-with-code often means that off-the-shelf systems for text-only languages don't work as well here. The upside is that it's dirt simple to roll your own check-in/check-out mechanism -- and Chipp already has a handy one available if you're crunched for time: <http://www.altuit.com/webs/altuit2/MagicCarpetCover/default.htm> -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From mark at maseurope.net Tue Aug 15 19:31:48 2006 From: mark at maseurope.net (Mark Smith) Date: Wed, 16 Aug 2006 00:31:48 +0100 Subject: Scrolling List Field In-Reply-To: <623723c0608151510k4933ce16if79e5122c831b48f@mail.gmail.com> References: <3F4054C2-DD96-4D18-8B80-E299C397BDC7@maseurope.net> <C106A206.415C6%kray@sonsothunder.com> <623723c0608151059k4e503835obd97cd3e4548af0f@mail.gmail.com> <5987CABD-61F4-47E4-A5A8-E84C2C6F4799@maseurope.net> <623723c0608151510k4933ce16if79e5122c831b48f@mail.gmail.com> Message-ID: <B86E0CF3-AB0F-4B2A-B9CE-DD20058DCBF4@maseurope.net> John, you might try using a more generalized approach. Create a handler in the script of your UkeTab stack (the mainstack) on placeChord theChord,theFont put length(theChord) into chordLength put theChord after field "TabField" of me set the textFont of char (0 - chordLength) to -1 of fld "TabField" of me to theFont end placeChord then, in each button of the first sub-stack on mouseUp placeChord "A","verdana" -- or whatever end mouseUp and in the button of the second sub-stack on mouseUp placeChord value(the selectedLine of fld "ChordList"),the textFont of fld "ChordList" end mouseUp So what happens is that the placeChord handler is responsible for any and all text that needs to be put into fld "TabField", and you make use of the message path to avoid duplicating code all over the place. Best, Mark On 15 Aug 2006, at 23:10, John Baxter wrote: > Mark, > The code works great for my listfield stack! The TabField on my > mainstack > was displaying the ukefont, but when I clicked Insert on the chord > Palette, > the chord was inserted without changing the existing text. Exacty > what I'm > trying to do. But, I'm not sure what the code would be for the > other Palette > with multiple buttons (all using the same font). When I click a > button, it > changes all the text back to the ukefont. > John > > > > > On 8/15/06, Mark Smith <mark at maseurope.net> wrote: >> >> To do this, I think you'll have to explicitly set the textFont of the >> text you have just placed in fld "TabField". The text you have placed >> in the global variable "chord" has no font property - it is simply >> text. >> >> So you might put something like this at the end of the placeChord >> handler: >> >> put length(chord) into chordLength >> set the textFont of char (0 - chordLength) to -1 of fld "tabField" of >> stack "UkeTab" to the textFont of fld "ChordList" >> >> Best, >> >> Mark >> >> >> On 15 Aug 2006, at 18:59, John Baxter wrote: >> >> > Thanks for the help. You guys are great. I've got most everything >> > working >> > except for the font issue. I have a mainstack with a "TabField". I >> > use this >> > code: >> > >> > on openStack >> > put empty into field "TabField" >> > end openStack >> > >> > I have two palettes, each one uses a different font. >> > >> > Palette1 - buttons use this code: >> > >> > on mouseUp >> > put "A" after field "TabField" of stack "UkeTab" >> > end mouseUp >> > >> > Palette2 - scrolling list and insert button. Button uses this code: >> > >> > on mouseUp >> > global chord >> > put value(the selectedLine of fld "ChordList") into chord >> > placechord >> > end mouseUp >> > >> > on placechord >> > global chord >> > if chord is "A" then >> > put "A" after field "TabField" of stack "UkeTab" >> > end placechord >> > >> > >> > What I'm trying to do is mix font styles in the mainstack field >> > when I do >> > the mouseUp from each Palette. I experimented with different code, >> > but can't >> > get the inserted characters to display in the proper font. >> > >> > [set text font of "A" to "ukefont"] -- when I click a button on >> > Palette1 >> > [set textfont of "A" to "ukechord"] -- which I click Insert >> button on >> > Palette2 >> > >> > Thanks for any help or advise 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 >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > John Baxter > http://www.mandozine.com > http://www.mandotunes.com > > Mandozine Radio: Tuned Locally - Played Globally > http://www.live365.com/stations/mandozine > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Tue Aug 15 19:34:37 2006 From: chris at altuit.com (chris bohnert) Date: Tue, 15 Aug 2006 18:34:37 -0500 Subject: Subversion and online code libraries! In-Reply-To: <44E256BA.3060707@fourthworld.com> References: <44E256BA.3060707@fourthworld.com> Message-ID: <2e0cf4750608151634t3d63f956oc6f6ce895e8fd608@mail.gmail.com> I've used subversion for awhile now. From a development tool standpoint, besides a marginal savings in disk space, the best advantage of it is to be able to pull any branch and any build by looking through the log file. Where it really shines though is when used as part of a product architecture that needs to capture or retrieve a very large number of files. We integrated it into a project that builds custom linux distros. By calling the checkout procedure we were able to download an entire linux distro worth of files onto the users thumbdrive...we keep the distro up to date by calling the update procedure. Rev stack version control may not prove extremely useful, but any time you need a very large amount of file transfers, especially to sync a client to the server, it may prove particularly handy. -- cb On 8/15/06, Richard Gaskin <ambassador at fourthworld.com> wrote: > > Frank D. Engel wrote: > > > The problem with using SVN (or any other modern version control > > system, for that matter) with Revolution is the fact that the "source > > code" (stacks) are binary files. That's okay for simple versioning, > > but it is somewhat impossible to "merge" changes of multiple developers. > > Fortunately, in my experience it's rarely needed. > > Admittedly that experience may be limited: the largest team I've > managed in an xTalk had only 20 developers, and most commonly the teams > I work with have only 3 or 4. > > But with an average of about 12 product releases a year here, in each of > these cases we've needed no finer granularity than the stack level. > > In fact, since both library stacks and UI stacks tend to deal with > specific areas of functionality, from a project management standpoint > there are many benefits to keeping the team member ownership tied to > that level of the object model. > > If multiple developers need to work on a stack, it often makes sense to > let one finish before sharing it with another. If the stack is large > enough to warrant multiple concurrent programmers, perhaps that's really > a sign to think about breaking the stack up into more easily managed > parts. > > As Steven McConnell reminds us, adding programmers adds overhead, so > that a second programmer only results in a net gain of about 50% > additional productivity on average, with the rest being taken up with > the overhead of coordination. Each additional programmer adds a smaller > net gain, with coordination overhead increasing with team size. The rate > of these diminishing returns vary from project to project, but for every > project there is a point where the coordination overhead exceeds the > productivity gained -- truly a suboptimal team size. :) > > Coordination overhead can be minimized to the degree that each > programmer is working in a discrete section of the program; the fewer > dependencies between modules assigned to different programmers, the > lower the overhead. > > If a project is complex enough to warrant multiple programers, it's > probably complex enough to give some serious thought to how the code is > factored. If you're developing with an xTalk, chances are you'll find > that stacks make a natural dividing line that not only goes with the > grain of the object model, but also with effective use of that object > model in applying good team management practices which not only > facilitate team member communication but code maintenance as well. > > The only downside is that the nature of Rev's unique > binary-objects-bound-with-code often means that off-the-shelf systems > for text-only languages don't work as well here. > > The upside is that it's dirt simple to roll your own check-in/check-out > mechanism -- and Chipp already has a handy one available if you're > crunched for time: > <http://www.altuit.com/webs/altuit2/MagicCarpetCover/default.htm> > > -- > 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 dcragg at lacscentre.co.uk Tue Aug 15 19:49:58 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 16 Aug 2006 00:49:58 +0100 Subject: Can Rev as CGI pull an URL's HTML into a variable? In-Reply-To: <44E22EE7.3050901@pdslabs.net> References: <53a.344c5600.32137d90@aol.com> <44E22C85.7070302@pdslabs.net> <44E22EE7.3050901@pdslabs.net> Message-ID: <3E907519-3080-4EC4-8A31-2B78D119AD81@lacscentre.co.uk> On 15 Aug 2006, at 21:30, Phil Davis wrote: > Second thoughts... > > An alternate approach would be to forget the 'libraryStack' handler > and just set the script of your new stack to the script of the > "revLiburl" button. Then do everything else as already stated. This > is a little more simple conceptually. Unfortunately, this won't work. libUrl relies on some properties of the button as well. But you can download a ready-made libUrl stack at the following page: http://www.lacscentre.co.uk/liburl/releases.html Look at the section at the foot of the page named "libUrl for CGI scripts". Cheers Dave From revdev at pdslabs.net Tue Aug 15 21:16:07 2006 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 15 Aug 2006 18:16:07 -0700 Subject: Can Rev as CGI pull an URL's HTML into a variable? In-Reply-To: <3E907519-3080-4EC4-8A31-2B78D119AD81@lacscentre.co.uk> References: <53a.344c5600.32137d90@aol.com> <44E22C85.7070302@pdslabs.net> <44E22EE7.3050901@pdslabs.net> <3E907519-3080-4EC4-8A31-2B78D119AD81@lacscentre.co.uk> Message-ID: <44E271D7.5020300@pdslabs.net> Thanks Dave. Phil Dave Cragg wrote: > > On 15 Aug 2006, at 21:30, Phil Davis wrote: > >> Second thoughts... >> >> An alternate approach would be to forget the 'libraryStack' handler >> and just set the script of your new stack to the script of the >> "revLiburl" button. Then do everything else as already stated. This is >> a little more simple conceptually. > > Unfortunately, this won't work. libUrl relies on some properties of the > button as well. > > But you can download a ready-made libUrl stack at the following page: > > http://www.lacscentre.co.uk/liburl/releases.html > > Look at the section at the foot of the page named "libUrl for CGI scripts". > > Cheers > Dave From teacherjim42 at gmail.com Tue Aug 15 22:18:29 2006 From: teacherjim42 at gmail.com (Jim Lyons) Date: Tue, 15 Aug 2006 22:18:29 -0400 Subject: RichText Implementation In-Reply-To: <003f01c6bf06$8804c200$980e4600$@no> References: <000001c6b879$bddbf3a0$3993dae0$@no> <000501c6b887$4a6497c0$df2dc740$@no> <492C3CE0-F9F2-46D2-BB76-D95A10071102@inria.fr> <003f01c6bf06$8804c200$980e4600$@no> Message-ID: <a690a2ea9b0e73aa786417b3a7748978@gmail.com> Another way to solve this problem easily and elegantly, with far more capabilities than you ask for, with off-the-shelf components: 1. Forget about Rich Text Format. 2. Get a copy of altBrowser from Altuit. 3. Learn CSS. 8^) Quite seriously, Jim Lyons On Aug 13, 2006, at 2:30 PM, Jan S?lid wrote: > Hi Andr? and Dan > > I will definitively keep you updated! If I can do anything about this, > it's > for everyone. I will post my stack online under Jan Selid, if I feel > I'm > remotely close to anything. > > There are 3 big tasks that needs to be done. > 1. Individual margins > The only solution I have right now is tabstops. > > 2. A custom wordwrapper that calculates the wordwrap based on the above > tabstops. > > 3. an rtf-exporter > A handler that converts the above tabstops to the proper "li"-number > of the rtf-code. > Since rev already has RTFText property, this is, I believe, not too > difficult. > > - and, as you said, calculations when using different fonts. > > It's a huge task, and your interest surely helps ;-) > > Andr? wrote: >> I am following attentively your attempt to "simulate" a richtext >> field. >> I hope you will keep informing us about the problems you are >> encountering > and your solutions. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jerry at daniels-mara.com Tue Aug 15 22:31:39 2006 From: jerry at daniels-mara.com (Jerry Daniels) Date: Tue, 15 Aug 2006 21:31:39 -0500 Subject: Galaxy Studio is available for Windows and MacOS X In-Reply-To: <200608160859.18914.rishi@puredata.com.au> References: <44E21188.2010307@howsoft.com> <E519884D-0A0D-4642-80AB-051BDDD73F20@daniels-mara.com> <200608160859.18914.rishi@puredata.com.au> Message-ID: <4798A747-FE7C-4096-BE26-F3BC40EC999C@daniels-mara.com> Thanks, Rishi. So noted. Best, Jerry Daniels -------------- next part -------------- Tool makers for the 21st century http://www.daniels-mara.com Voice: 512.879.6286 Skype: jerry.daniels On Aug 15, 2006, at 5:59 PM, Rishi Viner wrote: > Hi Jerry, > > On Wednesday 16 August 2006 06:46, Jerry Daniels wrote: >> Bob, >> >> We will be watching closely when Rev 2.7 for Linux comes out to see >> what the level of work will be for a Linux version of Galaxy. >> >> Thanks for the interest. >> >> Jerry Daniels > > Just a quick note of support for this. And a commitment, I'll be > happy to help > with testing under Linux when 2.7 does finally come out, if you > need any > testing. I'll also commit to purchase when it does come out... > > Cheers, > > -- > Rishi Viner > -------------- > Australia > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From devinasay at gmail.com Tue Aug 15 23:38:55 2006 From: devinasay at gmail.com (Devin Asay) Date: Tue, 15 Aug 2006 21:38:55 -0600 Subject: Getting version string for standalone app Message-ID: <AFB00445-8106-423F-88ED-69FF72476E9C@gmail.com> I want to be able to dynamically update the version number of my application--the number I assign in the Standalone Application Settings--to display in my app's "About" substack. My idea is to read it from wherever the Standalone Application Settings stack stores it. Except after some poking around I wasn't able to find it. So how do I read the version string that I assign in the S.A.S. stack? Or is there some easy, obvious way to read that short version string? Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From rgould8 at aol.com Tue Aug 15 23:49:39 2006 From: rgould8 at aol.com (rgould8 at aol.com) Date: Tue, 15 Aug 2006 23:49:39 -0400 Subject: Can Rev as CGI pull an URL's HTML into a variable? In-Reply-To: <44E271D7.5020300@pdslabs.net> References: <53a.344c5600.32137d90@aol.com> <44E22C85.7070302@pdslabs.net> <44E22EE7.3050901@pdslabs.net> <3E907519-3080-4EC4-8A31-2B78D119AD81@lacscentre.co.uk> <44E271D7.5020300@pdslabs.net> Message-ID: <8C88EFE221ABF64-D14-313E@mblk-d19.sysops.aol.com> Thanks so much for your help! That liburl stack seems to be doing the trick - - - - except for one thing: When I run the below script as a CGI, I get, maybe 90% of the html back, but it hangs at the end for some reason. Is there a character-limit to how much text libURL can retrieve at once? #!revolution on startup start using stack "liburl_1.1.5_minus.rev" put "Content-Type: text/plain" & cr & cr put "parameter = " & urlDecode($QUERY_STRING) put $QUERY_STRING into searchstring put "http://www.imdb.com/find?s=tt&q=" & searchstring into searchURL put URL searchURL into databack put "databack = " & databack -- you'll never see this, because it's never done. put "done!" end startup -----Original Message----- From: revdev at pdslabs.net To: use-revolution at lists.runrev.com Sent: Tue, 15 Aug 2006 9:16 PM Subject: Re: Can Rev as CGI pull an URL's HTML into a variable? Thanks Dave.? ? Phil? ? Dave Cragg wrote:? > > On 15 Aug 2006, at 21:30, Phil Davis wrote:? > >> Second thoughts...? >>? >> An alternate approach would be to forget the 'libraryStack' handler >> and just set the script of your new stack to the script of the >> "revLiburl" button. Then do everything else as already stated. This is >> a little more simple conceptually.? > > Unfortunately, this won't work. libUrl relies on some properties of the > button as well.? > > But you can download a ready-made libUrl stack at the following page:? > > http://www.lacscentre.co.uk/liburl/releases.html? > > Look at the section at the foot of the page named "libUrl for CGI scripts".? > > 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? ________________________________________________________________________ Check out AOL.com today. Breaking news, video search, pictures, email and IM. All on demand. Always Free. From jacque at hyperactivesw.com Tue Aug 15 23:52:11 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 15 Aug 2006 22:52:11 -0500 Subject: Getting version string for standalone app In-Reply-To: <AFB00445-8106-423F-88ED-69FF72476E9C@gmail.com> References: <AFB00445-8106-423F-88ED-69FF72476E9C@gmail.com> Message-ID: <44E2966B.5060201@hyperactivesw.com> Devin Asay wrote: > I want to be able to dynamically update the version number of my > application--the number I assign in the Standalone Application > Settings--to display in my app's "About" substack. My idea is to read it > from wherever the Standalone Application Settings stack stores it. What a good idea. I'm going to steal it. :) > Except after some poking around I wasn't able to find it. > > So how do I read the version string that I assign in the S.A.S. stack? > Or is there some easy, obvious way to read that short version string? It's in the stacks custom property set "cRevStandaloneSettings". You can only see these if "Show UI elements in lists" is turned on in prefs. All the versions are in there; OS X, Windows, etc. along with everything else. Pick the one you need. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Wed Aug 16 00:01:08 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 15 Aug 2006 21:01:08 -0700 Subject: Getting version string for standalone app Message-ID: <44E29884.1080702@fourthworld.com> Devin Asay wrote: > I want to be able to dynamically update the version number of my > application--the number I assign in the Standalone Application > Settings--to display in my app's "About" substack. My idea is to read > it from wherever the Standalone Application Settings stack stores it. > Except after some poking around I wasn't able to find it. > > So how do I read the version string that I assign in the S.A.S. > stack? Or is there some easy, obvious way to read that short version > string? I don't know where Rev gets it, but any IDE _could_ be getting it -- and setting it -- in the uRIP["Version"] property. The Revolution Interoperability Project (RIP) has a document describing common properties for common uses: <http://groups.yahoo.com/group/revInterop/> This initiative is used by a few tools vendors already, and the degree to which it's adopted by more is the degree to which version control systems, automated build systems, frameworks, templates, and a whole lot more can be built easily and used interchangeably with one another. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From devin_asay at byu.edu Wed Aug 16 00:02:26 2006 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 15 Aug 2006 22:02:26 -0600 Subject: Getting version string for standalone app In-Reply-To: <44E2966B.5060201@hyperactivesw.com> References: <AFB00445-8106-423F-88ED-69FF72476E9C@gmail.com> <44E2966B.5060201@hyperactivesw.com> Message-ID: <E14FF356-9830-4DD6-A399-2991F1F5BBA6@byu.edu> Thanks, Jacque. I was hoping you were listening out there. :-) On Aug 15, 2006, at 9:52 PM, J. Landman Gay wrote: > Devin Asay wrote: >> I want to be able to dynamically update the version number of my >> application--the number I assign in the Standalone Application >> Settings--to display in my app's "About" substack. My idea is to >> read it from wherever the Standalone Application Settings stack >> stores it. > > What a good idea. I'm going to steal it. :) Steal away! We're no where near even. > >> Except after some poking around I wasn't able to find it. >> So how do I read the version string that I assign in the S.A.S. >> stack? Or is there some easy, obvious way to read that short >> version string? > > It's in the stacks custom property set "cRevStandaloneSettings". > You can only see these if "Show UI elements in lists" is turned on > in prefs. All the versions are in there; OS X, Windows, etc. along > with everything else. Pick the one you need. I assume these custom prop sets survive to the standalone state-- can't imagine why they wouldn't. So I can just read them at runtime rather than having to dynamically update the About stack before I save as standalone? Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From sarah.reichelt at gmail.com Wed Aug 16 00:10:02 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 16 Aug 2006 14:10:02 +1000 Subject: Getting version string for standalone app In-Reply-To: <44E2966B.5060201@hyperactivesw.com> References: <AFB00445-8106-423F-88ED-69FF72476E9C@gmail.com> <44E2966B.5060201@hyperactivesw.com> Message-ID: <f99b52860608152110k14f216ak1e404519dd2c59e@mail.gmail.com> On 8/16/06, J. Landman Gay <jacque at hyperactivesw.com> wrote: > Devin Asay wrote: > > I want to be able to dynamically update the version number of my > > application--the number I assign in the Standalone Application > > Settings--to display in my app's "About" substack. My idea is to read it > > from wherever the Standalone Application Settings stack stores it. > > What a good idea. I'm going to steal it. :) > > > Except after some poking around I wasn't able to find it. > > > > So how do I read the version string that I assign in the S.A.S. stack? > > Or is there some easy, obvious way to read that short version string? > > It's in the stacks custom property set "cRevStandaloneSettings". You can > only see these if "Show UI elements in lists" is turned on in prefs. All > the versions are in there; OS X, Windows, etc. along with everything > else. Pick the one you need. I want to work the other way around. I want to be able to set a version number in my application and have it transfer this to all the various settings in the Standalone Builder. So far laziness has won and I haven't actually done anything about this, but you never know, I might get there in the end. Sarah From ambassador at fourthworld.com Wed Aug 16 01:29:08 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 15 Aug 2006 22:29:08 -0700 Subject: Getting version string for standalone app Message-ID: <44E2AD24.40301@fourthworld.com> Sarah Reichelt wrote: > I want to work the other way around. I want to be able to set a > version number in my application and have it transfer this to all the > various settings in the Standalone Builder. Me too, so I built my own standalone builder. The Universal Binary engine broke it, and in the course of adding support for UB I've taken it rather completely apart, but once it's put back together I'll make it available publicly along with the other devolution goodies. The inspiration for Rev's recent support for one-click builds, my standalone builder has been used by a number of developers for years -- but the new version in the works will be fully RIP-compliant from the ground up, so the uRIP["Version"] property it uses can also be used by the About box in your app, any Fourth World framework or project template, updating libraries, and as many other goodies as others are willing to support. More about RIP: <http://groups.yahoo.com/group/revInterop/> collaboration = symbiosis = productivity -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Wed Aug 16 01:33:11 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 15 Aug 2006 22:33:11 -0700 Subject: Getting version string for standalone app In-Reply-To: <AFB00445-8106-423F-88ED-69FF72476E9C@gmail.com> References: <AFB00445-8106-423F-88ED-69FF72476E9C@gmail.com> Message-ID: <1847115047.20060815223311@ahsoftware.net> Devin- Tuesday, August 15, 2006, 8:38:55 PM, you wrote: > So how do I read the version string that I assign in the S.A.S. > stack? Or is there some easy, obvious way to read that short version > string? I'm not aure this answers your question, but I store the version string in the uRIP["version"] of the mainstack. I then grab that custom property on stackOpen and place it a field in my About substack. -- -Mark Wieder mwieder at ahsoftware.net From pkocsis at cox.net Wed Aug 16 03:26:21 2006 From: pkocsis at cox.net (Paul Kocsis) Date: Wed, 16 Aug 2006 02:26:21 -0500 Subject: 'there is' anomaly Message-ID: <002901c6c105$45d21170$fb00a8c0@pklap05> I have a handler in a mainstack card script: on trydelete2 pgrp if there is a group pgrp then delete group pgrp end if end trydelete2 Once in a great while, my standalone will error with the following error text: Executing at 1:01:03 AM on Wednesday, August 16, 2006 Type: delete: can't find object Object: card "card id 1002" of stack "C:/MultiMediaApp/MultiMediaApp.exe" Line: if there is a group pgrp then Line Num: 0 Hint: trydelete2 Obviously, my handler is written to not attempt to delete a group if the 'there is' fails....so how is it conceivable that I could get this execution error???? Any ideas?? Paul Kocsis From dcragg at lacscentre.co.uk Wed Aug 16 03:34:14 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 16 Aug 2006 08:34:14 +0100 Subject: Can Rev as CGI pull an URL's HTML into a variable? In-Reply-To: <8C88EFE221ABF64-D14-313E@mblk-d19.sysops.aol.com> References: <53a.344c5600.32137d90@aol.com> <44E22C85.7070302@pdslabs.net> <44E22EE7.3050901@pdslabs.net> <3E907519-3080-4EC4-8A31-2B78D119AD81@lacscentre.co.uk> <44E271D7.5020300@pdslabs.net> <8C88EFE221ABF64-D14-313E@mblk-d19.sysops.aol.com> Message-ID: <D7F00E57-31A0-484A-A60D-42BD7DA5FB12@lacscentre.co.uk> On 16 Aug 2006, at 04:49, rgould8 at aol.com wrote: > > When I run the below script as a CGI, I get, maybe 90% of the html > back, but it hangs at the end for some reason. Is there a > character-limit to how much text libURL can retrieve at once? There's no limit. As a first step, I'd suggest you retrieve the url before you starting sending back any response from your CGI. Something like this (untested): #!revolution on startup start using stack "liburl_1.1.5_minus.rev" put $QUERY_STRING into searchstring put "http://www.imdb.com/find?s=tt&q=" & searchstring into searchURL put URL searchURL into databack if the result <> empty then ##error occurred put "error" && the result into databack end if put "parameter = " & urlDecode($QUERY_STRING) into tRet put cr & "databack = " & databack after tRet put "Content-Type: text/plain" & cr put "Content-Length:" & length(tRet) & cr & cr put tRet wait 20 milliseconds ##helps with some servers end startup If this still has problems, let us know. Cheers Dave From mb.ur at harbourhosting.co.uk Wed Aug 16 04:12:59 2006 From: mb.ur at harbourhosting.co.uk (Martin Baxter) Date: Wed, 16 Aug 2006 09:12:59 +0100 Subject: OT: Is there a more English-like Programming language than Transcript? In-Reply-To: <86ae76bb0608151604r295617fax947db0033fc8ea91@mail.gmail.com> References: <44E15AD3.9080101@fourthworld.com> <8C88E8F79810C3F-ED4-190@mblk-d37.sysops.aol.com> <7aa52a210608150844x5954c827qdb95e23aa40ea072@mail.gmail.com> <8C88ECA1C52B8D9-54C-25B5@mblk-d37.sysops.aol.com> <86ae76bb0608151604r295617fax947db0033fc8ea91@mail.gmail.com> Message-ID: <44E2D38B.3050503@harbourhosting.co.uk> Bridger Maxwell wrote: > Hey, > I was just getting the Revolution update and I happened to notice that on > one of the little info screens it displays as it installs it says, "You > don't have to have a degree in programming to develop in Revolution. > Revolution uses an easy to understand English-based language also called > Revolution." That sounds pretty official that the language is no longer > called "Transcipt" anymore by the people at Runrev. (Realize that I was > paraphrasing a little except for the sentence "language also called > Revolution" because I don't have a photographic memory). > > TTFN > Bridger Oh it's official all right, but the sentence you quote serves to highlight the linguistic folly of the move. "The boards are joined together using a tool called 'hammer' which drives in metal pins also called 'hammer'". I recall that in the 1990's Apple decided that it would discourage customers from calling their computers "Mac" or "Macintosh" and instead dictated that they should in future be referred to as "Apple Macintosh" or "AppleMac". This was actually adopted by a minority of users, and is occasionally still seen today. I regard it as evidence of the date at which those people started using the platform. Apple has moved on though. The marketing argument was no doubt sound on its own terms, but why waste your energy pushing a pea uphill with a pointed stick? Around here, when town planners build a new open space, they usually build footpaths around the periphery of the grassy area, it looks nice on the renderings and models probably. To the planners' surprise, people end up walking across the grass, because that is the shortest route between the access points. This wears a track across the grass. Sooner or later, the town council gives in and paves the natural track. As an on-and-off-musician, with some history of naming bands as well as creative projects in general, I would say that a name people are unembarrassed to include in conversation is many times more valuable than a name that makes people feel silly or awkward when they say it. how *do* you pronounce "postgres"? Martin Baxter From david at dvglasgow.wanadoo.co.uk Wed Aug 16 05:20:11 2006 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Wed, 16 Aug 2006 10:20:11 +0100 Subject: OT: The passing of Transcript (was Is there a more English-like Programming language than Transcript?) In-Reply-To: <20060816021520.D1187825A1B@mail.runrev.com> References: <20060816021520.D1187825A1B@mail.runrev.com> Message-ID: <9e3a9e466557c419643591ec101fa82d@dvglasgow.wanadoo.co.uk> On 16 Aug 2006, at 3:15 am, Bridger Maxwell" <bridgeyman at gmail.com wrote: > "You don't have to have a degree in programming to develop in > Revolution. > Revolution uses an easy to understand English-based language also > called > Revolution." That sounds pretty official that the language is no > longer > called "Transcipt" anymore by the people at Runrev. if 'Transcript' is now dead, (long live the Revolution), I am going to break cover and record my own footnote in Rev history. Back in the early days, users were invited to suggest names for the language. I was working on a discourse analysis stack at the time - using transcripts, geddit? As I drove up the M6 past Wigan, scripting away in my head, 'Transcript' popped into my head as a possible name. I liked it because it implied the spanning of the platforms unique to the language. Objections to 'Transcript' included that it was an ordinary English word with its own meaning. Perfectly reasonable point, but I was indeed chuffed when the Rev folks went for 'Transcript'. I don't have the skills to contribute to the development of Rev, or indeed much to this list, so this was one thing that made me feel I was supporting the whole Revolution thing. Sadly, it was at a time when prizes weren't awarded for winning suggestions, so I will have to toast the passing of the name with my own single malt. Best Wishes, David Glasgow Carlton Glasgow Partnership http://www.i-psych.co.uk From jinjenator at googlemail.com Wed Aug 16 06:01:05 2006 From: jinjenator at googlemail.com (N C) Date: Wed, 16 Aug 2006 11:01:05 +0100 Subject: Surpress DOS box in Windows Message-ID: <26b986890608160301x4aeba736rf80838b88f23b062@mail.gmail.com> Hi all I was wondering if it is possible to surpress a DOS box in Windows (running a DOS based app) but still grab the output from it? I can get this working if the DOS box is allowed to show but not any other way. Any ideas would be appreciated. Neil From r.beynon at liverpool.ac.uk Wed Aug 16 06:04:33 2006 From: r.beynon at liverpool.ac.uk (Rob Beynon) Date: Wed, 16 Aug 2006 11:04:33 +0100 Subject: XML and Revolutin Message-ID: <1325790924.20060816110433@liv.ac.uk> Dear All, I'm writing a small program that will read a text file and generate a corresponding SVG graphic. Ideally, the input text file would be readily parsed, and I'm wondering about using XML style construction. I'd appreciate pointers to any resources that would help me use XML. Is there, for example a tool that would strip an XML file to a list of variables and values? -- Best regards, Rob [Message created: 16 August 2006 at 11:02:48] ============================================================== Prof. Rob Beynon |+44 151 794 4312 (voice) Dept. Veterinary Preclinical |+44 151 794 4243 (fax) Sciences, University of Liverpool, Crown Street, Liverpool L69 7ZJ |mailto:r.beynon at liv.ac.uk -------------------------------------------------------------- http://www.liv.ac.uk/pfg |http://www.csiv.org ============================================================== From david at openpartnership.net Wed Aug 16 06:05:55 2006 From: david at openpartnership.net (David Bovill) Date: Wed, 16 Aug 2006 11:05:55 +0100 Subject: Subversion and online code libraries! In-Reply-To: <2e0cf4750608151634t3d63f956oc6f6ce895e8fd608@mail.gmail.com> References: <44E256BA.3060707@fourthworld.com> <2e0cf4750608151634t3d63f956oc6f6ce895e8fd608@mail.gmail.com> Message-ID: <c1c5836b0608160305l70b59482k8d2b1540a1dbd66a@mail.gmail.com> OK - good points all round! Here are my use cases: 1. Incremental backup of all code - aka Apples Leopard's Time Machine 2. Shared code libraries - text only versioned and integrated into editing environment 3. Shared "MVC controllers" - same as above 4. Perhaps also a shared scrap book - documentation, code snippets, html and so forth. I agree with Richards pros and cons with regard Rev development - we agreed to disagree on this back when I wanted to host the MC IDE project on sourceforge. For development projects careful chinking of code into stacks with responsible developers is all that is needed. It is precisely Revs strengths at RAD development that make code versioning unecessary, and of little interest to companies focussed on RAD development of projects. However, IMO it is precisely this advantage which leads to the fact that there are very few high quality shared code libraries for Rev. At least it is one of the contributing factors. This is not a concern to an individual developer - it is quicker to roll your own in the short term - but is SHOULD be a concern to RunRev and the community, because over time our code base is inevitably out-competed by open source projects with large robust well tested freely available libraries. IMO code versioning is not the answer it is a factor towards a solution which can combine the best of both worlds. To go back to the use-cases: Incremental backup of all code - I've been using autobackup in Constellation for a while - but it backs up the whole stack in a seperate file every few minutes! multiply that by 50 or so stacks each with 10 or so versions and well... a lot of storage. How about the "binary problem"? As most of the work involved in the early stages is code, this can be automatically saves as a text file with hyperlinked documentation. as it is good practice to pull in images and templates as external files in any case (at least for development) - these can be versioned as well (not done yet). What do you get? Well the ability to go back to any stage of your project - you know the time when things were actually working before all those clever changes in 15 different stacks really screwed things up :) Shared "Code libraries" and "MVC controllers": both again text files only. The imporatnt part is shared and shared over time - which means a few developers working on them, and that these developers are likely to drop in and drop out over time - this sort of thing is what cvs / svn is good at manageing - organised chaos. The shared scrap book is probably best doen with a simple wiki. From asgg35 at dsl.pipex.com Wed Aug 16 06:16:34 2006 From: asgg35 at dsl.pipex.com (Chris Carroll-Davis) Date: Wed, 16 Aug 2006 11:16:34 +0100 Subject: Menu madness Message-ID: <C33085E9-FBCD-4BE7-936E-677795868CF7@dsl.pipex.com> Hello everyone - I'm hoping someone can help me with a problem with menus. I have a set of three menus (as one menubar) repeated on several cards. In the menu Builder I have "set as menu bar on Mac OS" selected. Whenever I navigate from one card to another the height of my stack shrinks! Now I suppose Rev is trying to be *helpful* by compensating for the difference in the way Mac and PC handle menus - but obviously something is going awry here. Is there something obvious I'm doing wrong? Help! Chris From david at openpartnership.net Wed Aug 16 06:22:20 2006 From: david at openpartnership.net (David Bovill) Date: Wed, 16 Aug 2006 11:22:20 +0100 Subject: OT: The passing of Transcript (was Is there a more English-like Programming language than Transcript?) In-Reply-To: <9e3a9e466557c419643591ec101fa82d@dvglasgow.wanadoo.co.uk> References: <20060816021520.D1187825A1B@mail.runrev.com> <9e3a9e466557c419643591ec101fa82d@dvglasgow.wanadoo.co.uk> Message-ID: <c1c5836b0608160322n38e1748cvc19effd7ff198d53@mail.gmail.com> So it was you! I like Transcript now - I tend to use it when as Paul says "Revolution" or Rev does not fit the bill - in anarchist circles for instance :) It is elegant - xScript, xTalk and xCode got my votes at the time - with the main disadvantage of searches leading you to a wide variety of porn sites. "Revolution programmed in Revolution" doesn't go down well with me - but of a mouth full at best, hyperbolic, and not that it matters - logically confused. Both suffer from non-googleability. Bad marketing. From sakari.ruoho at academica.com Wed Aug 16 06:28:47 2006 From: sakari.ruoho at academica.com (Sakari) Date: Wed, 16 Aug 2006 13:28:47 +0300 Subject: VS: XML and Revolutin In-Reply-To: <1325790924.20060816110433@liv.ac.uk> Message-ID: <000b01c6c11e$c23aa240$1100000a@NeoFIHKIWRK03> Hi Rob! How about parsing your XML document with revCreateXMLTreeFromFile function and inserting revStartXMLNode, revEndXMLNode, revXMLStartTree, revXMLEndTree and revStartXMLData message handlers in the script of you card. Now you can catch element names, attribute names and the data. Also this way you don't have to load the document in the memory. Don't know if this is what you we're looking for, but it's something :D Sakari Ruoho Programmer Academica Information LTD -----Alkuper?inen viesti----- L?hett?j?: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] Puolesta Rob Beynon L?hetetty: 16. elokuuta 2006 13:05 Vastaanottaja: use-revolution at lists.runrev.com Kopio: r.beynon at liverpool.ac.uk Aihe: XML and Revolutin Dear All, I'm writing a small program that will read a text file and generate a corresponding SVG graphic. Ideally, the input text file would be readily parsed, and I'm wondering about using XML style construction. I'd appreciate pointers to any resources that would help me use XML. Is there, for example a tool that would strip an XML file to a list of variables and values? -- Best regards, Rob [Message created: 16 August 2006 at 11:02:48] ============================================================== Prof. Rob Beynon |+44 151 794 4312 (voice) Dept. Veterinary Preclinical |+44 151 794 4243 (fax) Sciences, University of Liverpool, Crown Street, Liverpool L69 7ZJ |mailto:r.beynon at liv.ac.uk -------------------------------------------------------------- http://www.liv.ac.uk/pfg |http://www.csiv.org ============================================================== _______________________________________________ use-revolution mailing list use-revolution at 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 Aug 16 06:35:20 2006 From: klaus at major-k.de (Klaus Major) Date: Wed, 16 Aug 2006 12:35:20 +0200 Subject: XML and Revolutin In-Reply-To: <1325790924.20060816110433@liv.ac.uk> References: <1325790924.20060816110433@liv.ac.uk> Message-ID: <0B553078-1CEA-49B0-A553-FAD2036A9F89@major-k.de> Hi Rob, > Dear All, > > I'm writing a small program that will read a text file and generate a > corresponding SVG graphic. Ideally, the input text file would be > readily parsed, and I'm wondering about using XML style construction. > > I'd appreciate pointers to any resources that would help me use XML. > Is there, for example a tool that would strip an XML file to a list of > variables and values? please check Sarah's great XML tutorial, that will definitiely get you started. It was (and still is) for me a very valuable resource for dealing with Rev XML :-) Get it here http://www.troz.net/Rev/tutorials.php > Best regards, > Rob > > [Message created: 16 August 2006 at 11:02:48] > ============================================================== > Prof. Rob Beynon |+44 151 794 4312 (voice) > Dept. Veterinary Preclinical |+44 151 794 4243 (fax) > Sciences, University of Liverpool, > Crown Street, Liverpool L69 7ZJ |mailto:r.beynon at liv.ac.uk > -------------------------------------------------------------- > http://www.liv.ac.uk/pfg |http://www.csiv.org Best Klaus Major klaus at major-k.de http://www.major-k.de From sarah.reichelt at gmail.com Wed Aug 16 06:57:09 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 16 Aug 2006 20:57:09 +1000 Subject: XML and Revolutin In-Reply-To: <0B553078-1CEA-49B0-A553-FAD2036A9F89@major-k.de> References: <1325790924.20060816110433@liv.ac.uk> <0B553078-1CEA-49B0-A553-FAD2036A9F89@major-k.de> Message-ID: <f99b52860608160357lec2849dxd7976e88ddda10e9@mail.gmail.com> On 8/16/06, Klaus Major <klaus at major-k.de> wrote: > Hi Rob, > > Dear All, > > > > I'm writing a small program that will read a text file and generate a > > corresponding SVG graphic. Ideally, the input text file would be > > readily parsed, and I'm wondering about using XML style construction. > > > > I'd appreciate pointers to any resources that would help me use XML. > > Is there, for example a tool that would strip an XML file to a list of > > variables and values? > > please check Sarah's great XML tutorial, that will definitiely get > you started. > > It was (and still is) for me a very valuable resource for dealing > with Rev XML :-) > > Get it here > http://www.troz.net/Rev/tutorials.php > Thanks for that Klaus! It's great to know that people appreciate what I did. Cheers, Sarah From sarah.reichelt at gmail.com Wed Aug 16 06:58:24 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 16 Aug 2006 20:58:24 +1000 Subject: Surpress DOS box in Windows In-Reply-To: <26b986890608160301x4aeba736rf80838b88f23b062@mail.gmail.com> References: <26b986890608160301x4aeba736rf80838b88f23b062@mail.gmail.com> Message-ID: <f99b52860608160358w67447340j512d8d0b775d12f7@mail.gmail.com> On 8/16/06, N C <jinjenator at googlemail.com> wrote: > Hi all > > I was wondering if it is possible to surpress a DOS box in Windows (running > a DOS based app) but still grab the output from it? I can get this working > if the DOS box is allowed to show but not any other way. > Any ideas would be appreciated. > I forget the exact term and I'm not on a computer with Revolution, but I think it's called "hideConsoleWindows". Set that (or something similar) to true and no DOS window will appear. HTH, Sarah From klaus at major-k.de Wed Aug 16 07:06:51 2006 From: klaus at major-k.de (Klaus Major) Date: Wed, 16 Aug 2006 13:06:51 +0200 Subject: XML and Revolutin In-Reply-To: <f99b52860608160357lec2849dxd7976e88ddda10e9@mail.gmail.com> References: <1325790924.20060816110433@liv.ac.uk> <0B553078-1CEA-49B0-A553-FAD2036A9F89@major-k.de> <f99b52860608160357lec2849dxd7976e88ddda10e9@mail.gmail.com> Message-ID: <44CA452C-B0BD-4F74-BBBA-75E2BD6D0D66@major-k.de> Hi Sarah, > On 8/16/06, Klaus Major <klaus at major-k.de> wrote: >> Hi Rob, >> > Dear All, >> > >> > I'm writing a small program that will read a text file and >> generate a >> > corresponding SVG graphic. Ideally, the input text file would be >> > readily parsed, and I'm wondering about using XML style >> construction. >> > >> > I'd appreciate pointers to any resources that would help me use >> XML. >> > Is there, for example a tool that would strip an XML file to a >> list of >> > variables and values? >> >> please check Sarah's great XML tutorial, that will definitiely get >> you started. >> >> It was (and still is) for me a very valuable resource for dealing >> with Rev XML :-) >> >> Get it here >> http://www.troz.net/Rev/tutorials.php >> > > Thanks for that Klaus! It's great to know that people appreciate > what I did. Nothing but the truth, Sarah! After working through that tutorial I was able to create a nice database app that deals with XML. (Hi Bob :-) > Cheers, > Sarah Regards Klaus Major klaus at major-k.de http://www.major-k.de From eric.miclo at wanadoo.fr Wed Aug 16 07:10:32 2006 From: eric.miclo at wanadoo.fr (=?ISO-8859-1?Q?=C9ric_Miclo?=) Date: Wed, 16 Aug 2006 13:10:32 +0200 Subject: Replicate hang up In-Reply-To: <44E0D1E7.000003.01880@CALSBIGPC> References: <44E0D1E7.000003.01880@CALSBIGPC> Message-ID: <9F160733-48FF-4B1A-9D3C-05188E9D4457@wanadoo.fr> Hello, Perhaps should you bugzilla it. Best, ?rIC Le 14 ao?t 06 ? 21:41, Cal Horner a ?crit : > My Platform: WinXp SP2. > > BTW, Duplicate works fine. > > And of course the old Standbys Copy and paste have kept me from going > completley "Crackers". > > Cal > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- My NeXT computer will Be a Mac too! -- From jerry at daniels-mara.com Wed Aug 16 07:40:45 2006 From: jerry at daniels-mara.com (Jerry Daniels) Date: Wed, 16 Aug 2006 06:40:45 -0500 Subject: How Galaxy is installed and un-installed In-Reply-To: <9F160733-48FF-4B1A-9D3C-05188E9D4457@wanadoo.fr> References: <44E0D1E7.000003.01880@CALSBIGPC> <9F160733-48FF-4B1A-9D3C-05188E9D4457@wanadoo.fr> Message-ID: <51E6B95F-0A1A-4964-996B-D597FEBC8225@daniels-mara.com> For those who are trying Galaxy... Any version of Galaxy can be as easily installed and un-installed as any other plugin: place it in or remove it from the third party plugins folder. The third party plugins folder is in the documents folder. The path is something like this, depending upon your OS and the version of Rev and Galaxy you have: ...documents/my revolution studio/plugins/galaxy lite startup.rev. Best, Jerry Daniels Tool makers for the 21st century http://www.daniels-mara.com On Aug 16, 2006, at 6:10 AM, ?ric Miclo wrote: > Hello, > > Perhaps should you bugzilla it. > > Best, > > ?rIC > > Le 14 ao?t 06 ? 21:41, Cal Horner a ?crit : > >> My Platform: WinXp SP2. >> >> BTW, Duplicate works fine. >> >> And of course the old Standbys Copy and paste have kept me from going >> completley "Crackers". >> >> Cal >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > -- My NeXT computer will Be a Mac too! -- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From wdesmet at wanadoo.nl Wed Aug 16 08:14:45 2006 From: wdesmet at wanadoo.nl (William de Smet) Date: Wed, 16 Aug 2006 14:14:45 +0200 Subject: Line numbers in scripteditor? Message-ID: <b016f13e0608160514p1354d896g348f2890645620b8@mail.gmail.com> Hi there, Is it possible to show line numbers in the scripteditor? If it is I don't know how to show them. greetings, William (from a sunny Holland) From kray at sonsothunder.com Wed Aug 16 11:20:45 2006 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 16 Aug 2006 10:20:45 -0500 Subject: Surpress DOS box in Windows In-Reply-To: <f99b52860608160358w67447340j512d8d0b775d12f7@mail.gmail.com> Message-ID: <C108A1FD.41ABA%kray@sonsothunder.com> On 8/16/06 5:58 AM, "Sarah Reichelt" <sarah.reichelt at gmail.com> wrote: > On 8/16/06, N C <jinjenator at googlemail.com> wrote: >> Hi all >> >> I was wondering if it is possible to surpress a DOS box in Windows (running >> a DOS based app) but still grab the output from it? I can get this working >> if the DOS box is allowed to show but not any other way. >> Any ideas would be appreciated. >> > > I forget the exact term and I'm not on a computer with Revolution, but > I think it's called "hideConsoleWindows". Set that (or something > similar) to true and no DOS window will appear. You got it right, Sarah: set the hideConsoleWindows to true put shell(<whatever you're executing>) into tVar Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From JimAultWins at yahoo.com Wed Aug 16 11:21:36 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 16 Aug 2006 08:21:36 -0700 Subject: 'there is' anomaly In-Reply-To: <002901c6c105$45d21170$fb00a8c0@pklap05> Message-ID: <C1088610.3C558%JimAultWins@yahoo.com> On 8/16/06 12:26 AM, "Paul Kocsis" <pkocsis at cox.net> wrote: > Obviously, my handler is written to not attempt to delete a group if the > 'there is' fails....so how is it conceivable that I could get this execution > error???? <detailed message below> Not the real answer to your question, but another approach that may avoid any error message in the standalone. Version 4 would be my choice. ---ver 1--------- > on trydelete2 pgrp try > if there is a group pgrp then > delete group pgrp > end if end try > end trydelete2 ---ver 2--------- > on trydelete2 pgrp try > if there is a group pgrp then delete group pgrp end try > end trydelete2 ---ver 3--------- > on trydelete2 pgrp try > delete group pgrp end try > end trydelete2 ---ver 4--------- --one line of visible code, obvious meaning, no function call try; delete group pgrp;end try Jim Ault Las Vegas On 8/16/06 12:26 AM, "Paul Kocsis" <pkocsis at cox.net> wrote: > I have a handler in a mainstack card script: > > on trydelete2 pgrp > if there is a group pgrp then > delete group pgrp > end if > end trydelete2 > > Once in a great while, my standalone will error with the following error > text: > > Executing at 1:01:03 AM on Wednesday, August 16, 2006 > Type: delete: can't find object > Object: card "card id 1002" of stack "C:/MultiMediaApp/MultiMediaApp.exe" > Line: if there is a group pgrp then > Line Num: 0 > Hint: trydelete2 > > Obviously, my handler is written to not attempt to delete a group if the > 'there is' fails....so how is it conceivable that I could get this execution > error???? > > Any ideas?? > > Paul Kocsis > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Aug 16 11:23:07 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 16 Aug 2006 10:23:07 -0500 Subject: Getting version string for standalone app In-Reply-To: <E14FF356-9830-4DD6-A399-2991F1F5BBA6@byu.edu> References: <AFB00445-8106-423F-88ED-69FF72476E9C@gmail.com> <44E2966B.5060201@hyperactivesw.com> <E14FF356-9830-4DD6-A399-2991F1F5BBA6@byu.edu> Message-ID: <44E3385B.2070808@hyperactivesw.com> Devin Asay wrote: > I assume these custom prop sets survive to the standalone state--can't > imagine why they wouldn't. I hadn't thought about that. I just did a quick test and it looks like they don't, unless I did something wrong. > So I can just read them at runtime rather > than having to dynamically update the About stack before I save as > standalone? Looks like you'll have to update before building. I didn't try it, but you might test using a setProp handler to manage it automatically, so when the SB sets the version properties, your setProp handler would catch that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Aug 16 11:25:14 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 16 Aug 2006 10:25:14 -0500 Subject: Getting version string for standalone app In-Reply-To: <f99b52860608152110k14f216ak1e404519dd2c59e@mail.gmail.com> References: <AFB00445-8106-423F-88ED-69FF72476E9C@gmail.com> <44E2966B.5060201@hyperactivesw.com> <f99b52860608152110k14f216ak1e404519dd2c59e@mail.gmail.com> Message-ID: <44E338DA.6060003@hyperactivesw.com> Sarah Reichelt wrote: > I want to work the other way around. I want to be able to set a > version number in my application and have it transfer this to all the > various settings in the Standalone Builder. So far laziness has won > and I haven't actually done anything about this, but you never know, I > might get there in the end. Now you can -- just make a handler that sets the cRevStandaloneSettings[<version you want>] of the stack. This should work fine during development. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jerry at daniels-mara.com Wed Aug 16 11:38:27 2006 From: jerry at daniels-mara.com (Jerry Daniels) Date: Wed, 16 Aug 2006 10:38:27 -0500 Subject: How Galaxy is installed and un-installed In-Reply-To: <51E6B95F-0A1A-4964-996B-D597FEBC8225@daniels-mara.com> References: <44E0D1E7.000003.01880@CALSBIGPC> <9F160733-48FF-4B1A-9D3C-05188E9D4457@wanadoo.fr> <51E6B95F-0A1A-4964-996B-D597FEBC8225@daniels-mara.com> Message-ID: <1ECDB686-1292-40E1-9256-AD58EC45DD71@daniels-mara.com> We have just posted a new version of the Galaxy Installer that has de- install capabilities. Download away! Best, Jerry Daniels -------------- next part -------------- Tool makers for the 21st century http://www.daniels-mara.com Voice: 512.879.6286 Skype: jerry.daniels On Aug 16, 2006, at 6:40 AM, Jerry Daniels wrote: > For those who are trying Galaxy... > > Any version of Galaxy can be as easily installed and un-installed > as any other plugin: place it in or remove it from the third party > plugins folder. > > The third party plugins folder is in the documents folder. The path > is something like this, depending upon your OS and the version of > Rev and Galaxy you have: ...documents/my revolution studio/plugins/ > galaxy lite startup.rev. > > Best, > > Jerry Daniels > > Tool makers for the 21st century > http://www.daniels-mara.com > > > On Aug 16, 2006, at 6:10 AM, ?ric Miclo wrote: > >> Hello, >> >> Perhaps should you bugzilla it. >> >> Best, >> >> ?rIC >> >> Le 14 ao?t 06 ? 21:41, Cal Horner a ?crit : >> >>> My Platform: WinXp SP2. >>> >>> BTW, Duplicate works fine. >>> >>> And of course the old Standbys Copy and paste have kept me from >>> going >>> completley "Crackers". >>> >>> Cal >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> -- My NeXT computer will Be a Mac too! -- >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 bobs at twft.com Wed Aug 16 12:05:15 2006 From: bobs at twft.com (Robert Sneidar) Date: Wed, 16 Aug 2006 09:05:15 -0700 Subject: Windows NT Message-ID: <F93193B3-1649-4423-8913-5FC3776CDA2F@twft.com> Interestingly, I get the same error when trying to install Neon Responder on an NT machine. I suspect it's an 16 bit vs. 32 bit problem. In short, I think it's NT's way of saying, "I can't use that". Bob Sneidar IT Manager Logos Management Calvary Chapel CM > Has anyone here successfully run a standalone on Windows NT with > version 2.7.x? > > With 2.7.2 or 2.7.3 I get the following: > > Entry Point Not Found > > The procedure entry point SHGetSpecialFolderPathA could not be > located in teh > dynamic link library shell32.dll > > Peter T. Evensen > http://www.PetersRoadToHealth.com > 314-629-5248 or 888-682-4588 From simplsol at aol.com Wed Aug 16 12:27:58 2006 From: simplsol at aol.com (simplsol at aol.com) Date: Wed, 16 Aug 2006 12:27:58 -0400 Subject: Menu madness In-Reply-To: <C33085E9-FBCD-4BE7-936E-677795868CF7@dsl.pipex.com> References: <C33085E9-FBCD-4BE7-936E-677795868CF7@dsl.pipex.com> Message-ID: <8C88F68122C71B6-5D0-1E43@mblk-d46.sysops.aol.com> Hi Chris, "Madness" is a good term for this behavior! The problem appears when you try to add menus to an existing multicard stack on OS X. If you start with a singlecard stack and create your menus before adding cards there is no problem. I know!!! You can resize the stack in an open card handler but that is so much of a kludge I'd not recommend it. Paul Looney -----Original Message----- From: asgg35 at dsl.pipex.com To: use-revolution at lists.runrev.com Sent: Wed, 16 Aug 2006 3:16 AM Subject: Menu madness Hello everyone -? ? I'm hoping someone can help me with a problem with menus.? ? I have a set of three menus (as one menubar) repeated on several cards. In the menu Builder I have "set as menu bar on Mac OS" selected. Whenever I navigate from one card to another the height of my stack shrinks!? ? Now I suppose Rev is trying to be *helpful* by compensating for the difference in the way Mac and PC handle menus - but obviously something is going awry here. Is there something obvious I'm doing wrong?? ? Help!? ? 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? ________________________________________________________________________ Check out AOL.com today. Breaking news, video search, pictures, email and IM. All on demand. Always Free. From klaus at major-k.de Wed Aug 16 12:32:44 2006 From: klaus at major-k.de (Klaus Major) Date: Wed, 16 Aug 2006 18:32:44 +0200 Subject: Menu madness In-Reply-To: <8C88F68122C71B6-5D0-1E43@mblk-d46.sysops.aol.com> References: <C33085E9-FBCD-4BE7-936E-677795868CF7@dsl.pipex.com> <8C88F68122C71B6-5D0-1E43@mblk-d46.sysops.aol.com> Message-ID: <3F0F5361-F138-481A-912C-CD3008D2196B@major-k.de> Hi Chris and all, >> Hi Chris, >> "Madness" is a good term for this behavior! >> The problem appears when you try to add menus to an existing >> multicard stack on OS X. If you start with a singlecard stack and >> create your menus before adding cards there is no problem. I know!!! >> You can resize the stack in an open card handler but that is so >> much of a kludge I'd not recommend it. >> Paul Looney > -----Original Message----- > From: asgg35 at dsl.pipex.com > To: use-revolution at lists.runrev.com > Sent: Wed, 16 Aug 2006 3:16 AM > Subject: Menu madness > > Hello everyone - > > I'm hoping someone can help me with a problem with menus. > I have a set of three menus (as one menubar) repeated on several > cards. In the menu Builder I have "set as menu bar on Mac OS" > selected. Whenever I navigate from one card to another the height > of my stack shrinks! > > Now I suppose Rev is trying to be *helpful* by compensating for > the difference in the way Mac and PC handle menus - but obviously > something is going awry here. Is there something obvious I'm doing > wrong? > > Help! > > Chris another good idea is to simply use a separate substack to (only) keep the menu group! I do this all the time and this way it will not do any harm or amazing and unexspected things :-) Regards Klaus Major klaus at major-k.de http://www.major-k.de From simplsol at aol.com Wed Aug 16 12:35:53 2006 From: simplsol at aol.com (simplsol at aol.com) Date: Wed, 16 Aug 2006 12:35:53 -0400 Subject: OT: The passing of Transcript (was Is there a more English-like Programming language than Transcript?) In-Reply-To: <9e3a9e466557c419643591ec101fa82d@dvglasgow.wanadoo.co.uk> References: <20060816021520.D1187825A1B@mail.runrev.com> <9e3a9e466557c419643591ec101fa82d@dvglasgow.wanadoo.co.uk> Message-ID: <8C88F692CF230E5-16B8-7D7@mblk-d42.sysops.aol.com> David, Half a world away when "Revolution" programmers gather, they still speak of "Transcript" in the present tense! Paul Looney PS In San Dimas, California; where the 10, 210 and 57 converge - far from Wigan. -----Original Message----- From: david at dvglasgow.wanadoo.co.uk To: use-revolution at lists.runrev.com Sent: Wed, 16 Aug 2006 2:20 AM Subject: Re: OT: The passing of Transcript (was Is there a more English-like Programming language than Transcript?) On 16 Aug 2006, at 3:15 am, Bridger Maxwell" <bridgeyman at gmail.com wrote:? ? > "You don't have to have a degree in programming to develop in > Revolution.? > Revolution uses an easy to understand English-based language also > called? > Revolution." That sounds pretty official that the language is no > longer? > called "Transcipt" anymore by the people at Runrev.? ? if 'Transcript' is now dead, (long live the Revolution), I am going to break cover and record my own footnote in Rev history.? ? Back in the early days, users were invited to suggest names for the language. I was working on a discourse analysis stack at the time - using transcripts, geddit? As I drove up the M6 past Wigan, scripting away in my head, 'Transcript' popped into my head as a possible name. I liked it because it implied the spanning of the platforms unique to the language.? ? Objections to 'Transcript' included that it was an ordinary English word with its own meaning. Perfectly reasonable point, but I was indeed chuffed when the Rev folks went for 'Transcript'. I don't have the skills to contribute to the development of Rev, or indeed much to this list, so this was one thing that made me feel I was supporting the whole Revolution thing.? ? Sadly, it was at a time when prizes weren't awarded for winning suggestions, so I will have to toast the passing of the name with my own single malt.? ? ? Best Wishes,? ? David Glasgow? Carlton Glasgow Partnership? ? http://www.i-psych.co.uk? _______________________________________________? use-revolution mailing list? use-revolution 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 AOL.com today. Breaking news, video search, pictures, email and IM. All on demand. Always Free. From bobwarren at howsoft.com Wed Aug 16 12:51:34 2006 From: bobwarren at howsoft.com (Bob Warren) Date: Wed, 16 Aug 2006 13:51:34 -0300 Subject: Galaxy Studio is available for Windows and MacOS X Message-ID: <44E34D16.4000503@howsoft.com> Jerry Daniels wrote: > Bob, We will be watching closely when Rev 2.7 for Linux comes out to see what the level of work will be for a Linux version of Galaxy. Thanks for the interest. ---------------------- Ditto! Bob From bobs at twft.com Wed Aug 16 13:02:18 2006 From: bobs at twft.com (Robert Sneidar) Date: Wed, 16 Aug 2006 10:02:18 -0700 Subject: Menu madness In-Reply-To: <20060816150108.AE715825B7E@mail.runrev.com> References: <20060816150108.AE715825B7E@mail.runrev.com> Message-ID: <5F8A1D0C-C357-4C69-A0EB-B15950DBC6BF@twft.com> Yes. Apparently since Menus are nothing more than a group of buttons in Revolution that are hidden, Revolution "compensates" for this by changing the height of the card. I personally think this is a bug. I would like to be able to set a property that tells Revolution what the default height for cards in a stack are, and then I can change that on the fly, but alas, that is not how it is now. To date I have not heard of any real solution except to include code in a preopenstack handler that sets the height of the card to what you want it to be. Another idea I have been playing with is to create and implement menus "on the fly", that is build your menus when the stack or card opens and then set the menu to that group. It's just an idea though. Also you should consider setting the menu to act as a background so you do not have to replicate it. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Aug 16, 2006, at 8:01 AM, use-revolution-request at lists.runrev.com wrote: > Hello everyone - > > I'm hoping someone can help me with a problem with menus. > > I have a set of three menus (as one menubar) repeated on several > cards. In the menu Builder I have "set as menu bar on Mac OS" > selected. Whenever I navigate from one card to another the height of > my stack shrinks! > > Now I suppose Rev is trying to be *helpful* by compensating for the > difference in the way Mac and PC handle menus - but obviously > something is going awry here. Is there something obvious I'm doing > wrong? > > Help! > > > Chris From stephenREVOLUTION at barncard.com Wed Aug 16 13:06:08 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 16 Aug 2006 10:06:08 -0700 Subject: OT: The passing of Transcript (was Is there a more English-like Programming language than Transcript?) In-Reply-To: <8C88F692CF230E5-16B8-7D7@mblk-d42.sysops.aol.com> References: <20060816021520.D1187825A1B@mail.runrev.com> <9e3a9e466557c419643591ec101fa82d@dvglasgow.wanadoo.co.uk> <8C88F692CF230E5-16B8-7D7@mblk-d42.sysops.aol.com> Message-ID: <p06230902c108fe03dadd@[192.168.1.105]> TRANSCRIPT is part of the Rev culture now...no turning back..sorry Lynn. some old audio and radio guys still refer to 'kilocycles', capacitors as condensers, and CDs as 'records'. I imagine the term will be around for a while. sqb >David, >Half a world away when "Revolution" programmers gather, they still >speak of "Transcript" in the present tense! >Paul Looney -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From soapdog at mac.com Wed Aug 16 13:24:47 2006 From: soapdog at mac.com (Andre Garzia) Date: Wed, 16 Aug 2006 14:24:47 -0300 Subject: OT: The passing of Transcript (was Is there a more English-like Programming language than Transcript?) In-Reply-To: <p06230902c108fe03dadd@[192.168.1.105]> References: <20060816021520.D1187825A1B@mail.runrev.com> <9e3a9e466557c419643591ec101fa82d@dvglasgow.wanadoo.co.uk> <8C88F692CF230E5-16B8-7D7@mblk-d42.sysops.aol.com> <p06230902c108fe03dadd@[192.168.1.105]> Message-ID: <395B1F53-0466-4582-A0E9-8E6E604B6A20@mac.com> Stephen, kilocycles sound as a sci-fi tour de france to me.... Watch as Lance Armstrong XV rides his kilocycle across france in the speed of light.... zoooommmmmmmm PS:... need, more, coffee. Andre On Aug 16, 2006, at 2:06 PM, Stephen Barncard wrote: > kilocycles From RGould8 at aol.com Wed Aug 16 13:54:12 2006 From: RGould8 at aol.com (RGould8 at aol.com) Date: Wed, 16 Aug 2006 13:54:12 EDT Subject: Can Rev as CGI pull an URL's HTML into a variable? Message-ID: <58e.2ac0b6a.3214b5c4@aol.com> Hmmm, I'm afraid I'm having the same problem, using the script you provided. I do get 90% of the html, but the loading process just hangs. Server: Mac OS X Tiger 10.4 Client: Safari or Firefox Could it be something with Mac OS X? In a message dated 8/16/06 3:34:31 AM, dcragg at lacscentre.co.uk writes: > > On 16 Aug 2006, at 04:49, rgould8 at aol.com wrote: > > > > > When I run the below script as a CGI, I get, maybe 90% of the html? > > back, but it hangs at the end for some reason.? Is there a? > > character-limit to how much text libURL can retrieve at once? > > There's no limit. > > As a first step, I'd suggest you retrieve the url before you starting? > sending back any response from your CGI. Something like this (untested): > > #!revolution > > on startup > > ? start using stack "liburl_1.1.5_minus.rev" > > ? put $QUERY_STRING into searchstring > ? put "http://www.imdb.com/find?s=tt&q=" & searchstring into searchURL > ? put URL searchURL into databack > ? if the result <> empty then ##error occurred > ?? put "error" && the result into databack > ? end if > > ? put "parameter?? = " & urlDecode($QUERY_STRING) into tRet > ? put cr & "databack = " & databack after tRet > > ? put "Content-Type: text/plain" & cr > ? put "Content-Length:" & length(tRet) & cr & cr > > ? put tRet > > ? wait 20 milliseconds ##helps with some servers > ? end startup > > If this still has problems, let us 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 soapdog at mac.com Wed Aug 16 14:17:40 2006 From: soapdog at mac.com (Andre Garzia) Date: Wed, 16 Aug 2006 15:17:40 -0300 Subject: Can Rev as CGI pull an URL's HTML into a variable? In-Reply-To: <58e.2ac0b6a.3214b5c4@aol.com> References: <58e.2ac0b6a.3214b5c4@aol.com> Message-ID: <EF8A3AFF-74A2-4492-BDCF-D16B6D322F44@mac.com> Rob, try: pput $QUERY_STRING into searchstring >> put "http://www.imdb.com/find?s=tt&q=" & searchstring into >> searchURL >> put shell("curl" && searchURL) into databack beware that curl will put more data in the answer such as transfer time. You'll need to use lineoffset to find where to start. Andre On Aug 16, 2006, at 2:54 PM, RGould8 at aol.com wrote: > Hmmm, I'm afraid I'm having the same problem, using the script you > provided. > I do get 90% of the html, but the loading process just hangs. > > Server: Mac OS X Tiger 10.4 > Client: Safari or Firefox > > Could it be something with Mac OS X? > > > In a message dated 8/16/06 3:34:31 AM, dcragg at lacscentre.co.uk writes: > > >> >> On 16 Aug 2006, at 04:49, rgould8 at aol.com wrote: >> >>> >>> When I run the below script as a CGI, I get, maybe 90% of the html >>> back, but it hangs at the end for some reason. Is there a >>> character-limit to how much text libURL can retrieve at once? >> >> There's no limit. >> >> As a first step, I'd suggest you retrieve the url before you starting >> sending back any response from your CGI. Something like this >> (untested): >> >> #!revolution >> >> on startup >> >> start using stack "liburl_1.1.5_minus.rev" >> >> put $QUERY_STRING into searchstring >> put "http://www.imdb.com/find?s=tt&q=" & searchstring into >> searchURL >> put URL searchURL into databack >> if the result <> empty then ##error occurred >> put "error" && the result into databack >> end if >> >> put "parameter = " & urlDecode($QUERY_STRING) into tRet >> put cr & "databack = " & databack after tRet >> >> put "Content-Type: text/plain" & cr >> put "Content-Length:" & length(tRet) & cr & cr >> >> put tRet >> >> wait 20 milliseconds ##helps with some servers >> end startup >> >> If this still has problems, let us 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 >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Aug 16 14:26:06 2006 From: mark at maseurope.net (Mark Smith) Date: Wed, 16 Aug 2006 19:26:06 +0100 Subject: Can Rev as CGI pull an URL's HTML into a variable? In-Reply-To: <EF8A3AFF-74A2-4492-BDCF-D16B6D322F44@mac.com> References: <58e.2ac0b6a.3214b5c4@aol.com> <EF8A3AFF-74A2-4492-BDCF-D16B6D322F44@mac.com> Message-ID: <46E64C8B-58EC-413A-8808-C6E039D5179E@maseurope.net> I can't remember what it is, but there's a -v or -s or something you can put in curl string to stop it doing that... Mark On 16 Aug 2006, at 19:17, Andre Garzia wrote: > Rob, > > try: > > pput $QUERY_STRING into searchstring >>> put "http://www.imdb.com/find?s=tt&q=" & searchstring into >>> searchURL >>> put shell("curl" && searchURL) into databack > > beware that curl will put more data in the answer such as transfer > time. You'll need to use lineoffset to find where to start. > > Andre > > > On Aug 16, 2006, at 2:54 PM, RGould8 at aol.com wrote: > >> Hmmm, I'm afraid I'm having the same problem, using the script you >> provided. >> I do get 90% of the html, but the loading process just hangs. >> >> Server: Mac OS X Tiger 10.4 >> Client: Safari or Firefox >> >> Could it be something with Mac OS X? >> >> >> In a message dated 8/16/06 3:34:31 AM, dcragg at lacscentre.co.uk >> writes: >> >> >>> >>> On 16 Aug 2006, at 04:49, rgould8 at aol.com wrote: >>> >>>> >>>> When I run the below script as a CGI, I get, maybe 90% of the html >>>> back, but it hangs at the end for some reason. Is there a >>>> character-limit to how much text libURL can retrieve at once? >>> >>> There's no limit. >>> >>> As a first step, I'd suggest you retrieve the url before you >>> starting >>> sending back any response from your CGI. Something like this >>> (untested): >>> >>> #!revolution >>> >>> on startup >>> >>> start using stack "liburl_1.1.5_minus.rev" >>> >>> put $QUERY_STRING into searchstring >>> put "http://www.imdb.com/find?s=tt&q=" & searchstring into >>> searchURL >>> put URL searchURL into databack >>> if the result <> empty then ##error occurred >>> put "error" && the result into databack >>> end if >>> >>> put "parameter = " & urlDecode($QUERY_STRING) into tRet >>> put cr & "databack = " & databack after tRet >>> >>> put "Content-Type: text/plain" & cr >>> put "Content-Length:" & length(tRet) & cr & cr >>> >>> put tRet >>> >>> wait 20 milliseconds ##helps with some servers >>> end startup >>> >>> If this still has problems, let us 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 >>> >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 Aug 16 14:36:52 2006 From: soapdog at mac.com (Andre Garzia) Date: Wed, 16 Aug 2006 15:36:52 -0300 Subject: Can Rev as CGI pull an URL's HTML into a variable? In-Reply-To: <46E64C8B-58EC-413A-8808-C6E039D5179E@maseurope.net> References: <58e.2ac0b6a.3214b5c4@aol.com> <EF8A3AFF-74A2-4492-BDCF-D16B6D322F44@mac.com> <46E64C8B-58EC-413A-8808-C6E039D5179E@maseurope.net> Message-ID: <C7F34C11-CEC6-485F-A8FD-69A84500D648@mac.com> Mark, thanks, it's -s just tried it out... it works like a charm, no need for libURL. Andre On Aug 16, 2006, at 3:26 PM, Mark Smith wrote: > I can't remember what it is, but there's a -v or -s or something > you can put in curl string to stop it doing that... > > Mark > > On 16 Aug 2006, at 19:17, Andre Garzia wrote: > >> Rob, >> >> try: >> >> pput $QUERY_STRING into searchstring >>>> put "http://www.imdb.com/find?s=tt&q=" & searchstring into >>>> searchURL >>>> put shell("curl" && searchURL) into databack >> >> beware that curl will put more data in the answer such as transfer >> time. You'll need to use lineoffset to find where to start. >> >> Andre >> >> >> On Aug 16, 2006, at 2:54 PM, RGould8 at aol.com wrote: >> >>> Hmmm, I'm afraid I'm having the same problem, using the script >>> you provided. >>> I do get 90% of the html, but the loading process just hangs. >>> >>> Server: Mac OS X Tiger 10.4 >>> Client: Safari or Firefox >>> >>> Could it be something with Mac OS X? >>> >>> >>> In a message dated 8/16/06 3:34:31 AM, dcragg at lacscentre.co.uk >>> writes: >>> >>> >>>> >>>> On 16 Aug 2006, at 04:49, rgould8 at aol.com wrote: >>>> >>>>> >>>>> When I run the below script as a CGI, I get, maybe 90% of the html >>>>> back, but it hangs at the end for some reason. Is there a >>>>> character-limit to how much text libURL can retrieve at once? >>>> >>>> There's no limit. >>>> >>>> As a first step, I'd suggest you retrieve the url before you >>>> starting >>>> sending back any response from your CGI. Something like this >>>> (untested): >>>> >>>> #!revolution >>>> >>>> on startup >>>> >>>> start using stack "liburl_1.1.5_minus.rev" >>>> >>>> put $QUERY_STRING into searchstring >>>> put "http://www.imdb.com/find?s=tt&q=" & searchstring into >>>> searchURL >>>> put URL searchURL into databack >>>> if the result <> empty then ##error occurred >>>> put "error" && the result into databack >>>> end if >>>> >>>> put "parameter = " & urlDecode($QUERY_STRING) into tRet >>>> put cr & "databack = " & databack after tRet >>>> >>>> put "Content-Type: text/plain" & cr >>>> put "Content-Length:" & length(tRet) & cr & cr >>>> >>>> put tRet >>>> >>>> wait 20 milliseconds ##helps with some servers >>>> end startup >>>> >>>> If this still has problems, let us 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 >>>> >>>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution 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 soapdog at mac.com Wed Aug 16 14:55:02 2006 From: soapdog at mac.com (Andre Garzia) Date: Wed, 16 Aug 2006 15:55:02 -0300 Subject: About sending email and Mac OS X Message-ID: <40447149-E707-4EAE-86C5-64A9F57D2C96@mac.com> Friends, send email from your local machine using "mail" or "sendmail" shell command from Mac OS X is not as trivial as it seems. In most cases the email will bounce because your local machine does not sport a fully MX Record qualified domain name. To solve this, I advise people to look into this URL: http:// www.david-reitter.com/software/osxpostfix.html it's about setting Postfix to work in mac os x. I needed not to follow any of the procedures in that page, but it explained to me a lot. I did follow only one instruction which was to add the MAILSERVICES=- YES- option to hostconfig (I think it is used by launchd) All I needed to do was to open /etc/postfix/main.cf and changed the domain data there from a dynamic variable to my own domain "andregarzia.com", then all of a sudden, this little function started working: function sendMail pFrom, pTo, pSubject, pBody switch the platform case "Linux" put "/var/qmail/bin/sendmail -t" into mprocess open process mprocess for write write "From:" && pFrom & crlf to process mprocess write "To:" && pTo & crlf to process mprocess write "Subject:" && pSubject & crlf & crlf to process mprocess write pBody & crlf to process mprocess close process mprocess wait until mprocess is not among the lines of the openProcesses return the result break case "MacOS" put "mail -s " & quote & pSubject & quote && pTo into mprocess open process mprocess for write write pBody & crlf to process mprocess close process mprocess wait until mprocess is not among the lines of the openProcesses return the result break end switch end sendMail no more bounces. simply and fast. Cheers andre PS: David, if you need more info, send email to me. From dcragg at lacscentre.co.uk Wed Aug 16 15:18:04 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 16 Aug 2006 20:18:04 +0100 Subject: Can Rev as CGI pull an URL's HTML into a variable? In-Reply-To: <58e.2ac0b6a.3214b5c4@aol.com> References: <58e.2ac0b6a.3214b5c4@aol.com> Message-ID: <72AB3E2F-FEB8-489B-A4D1-B29770A6C064@lacscentre.co.uk> On 16 Aug 2006, at 18:54, RGould8 at aol.com wrote: > Hmmm, I'm afraid I'm having the same problem, using the script you > provided. > I do get 90% of the html, but the loading process just hangs. I'm seeing the same thing. Strange. Only about 16K of data comes back instead of an expected 18K or so. The problem seems to be with the CGI after it has obtained the data from the imdb site. The response headers from the CGI show a content length of 18K, so it has retrieved all the data at that point. However, if I ask the CGI to get a different url which returns just as much data (for example http://www.runrev.com/), it works fine. Which makes me think there might be something odd in the data returned from the imdb server which upsets either the Rev CGI engine, the web server or its cgi process (Apache in my case). I'll try and probe a bit further, but if anyone has any hints or has had a similar experience, please let us know. Cheers Dave From dcragg at lacscentre.co.uk Wed Aug 16 15:37:00 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 16 Aug 2006 20:37:00 +0100 Subject: Can Rev as CGI pull an URL's HTML into a variable? In-Reply-To: <72AB3E2F-FEB8-489B-A4D1-B29770A6C064@lacscentre.co.uk> References: <58e.2ac0b6a.3214b5c4@aol.com> <72AB3E2F-FEB8-489B-A4D1-B29770A6C064@lacscentre.co.uk> Message-ID: <5AAD451D-A6B5-46A9-B1B5-11A0674EB8DF@lacscentre.co.uk> On 16 Aug 2006, at 20:18, Dave Cragg wrote: > > On 16 Aug 2006, at 18:54, RGould8 at aol.com wrote: > >> Hmmm, I'm afraid I'm having the same problem, using the script you >> provided. >> I do get 90% of the html, but the loading process just hangs. > > I'm seeing the same thing. Strange. Only about 16K of data comes > back instead of an expected 18K or so. I may have figured it out. The following now works from here. ---------------------------------- #!revolution on startup start using stack "liburl_1.1.5_minus.rev" put $QUERY_STRING into searchstring put "http://www.imdb.com/find?s=tt&q=" & searchstring into searchURL set the httpHeaders to "Connection: close" ##ADD THIS put URL searchURL into databack if the result <> empty then ##error occurred put "error" && the result into databack end if put "parameter = " & urlDecode($QUERY_STRING) into tRet put cr & "databack = " & databack after tRet put "Content-Type: text/plain" & cr put "Content-Length:" & length(tRet) & cr & cr put tRet wait 30 milliseconds ##helps with some servers end startup ---------------------------------------- I noticed that the headers returned from the imdb server had a typo: "Connneciton: close" instead of "Connection: close" This would mean the Rev CGI wasn't closing the socket before it returned, which may have upset the Apache server. Adding the httpHeaders seems to have forced the imdb server to correct its response header. But this probably suggests that we should always add a "Connection: close" header when making a url request from a CGI. I wonder if this is an engine bug, and that open sockets are not getting closed at shutdown. Let me know if it works. As for you curl users -- traitors. :-) Cheers Dave From kray at sonsothunder.com Wed Aug 16 16:52:36 2006 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 16 Aug 2006 15:52:36 -0500 Subject: Menu madness In-Reply-To: <3F0F5361-F138-481A-912C-CD3008D2196B@major-k.de> Message-ID: <C108EFC4.41C0F%kray@sonsothunder.com> > another good idea is to simply use a separate substack to (only) keep > the menu group! > I do this all the time and this way it will not do any harm or > amazing and unexspected things :-) For Mac OS X, yes, but in Windows it won't work (unfortunately). Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From geradamas at yahoo.com Wed Aug 16 17:09:26 2006 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 16 Aug 2006 14:09:26 -0700 (PDT) Subject: OT: The passing of Transcript (was Is there a more English-like Programming language than Transcript?) Message-ID: <20060816210926.69012.qmail@web37505.mail.mud.yahoo.com> Stephen Barncard wrote: "TRANSCRIPT is part of the Rev culture now...no turning back..sorry Lynn.s ome old audio and radio guys still refer to 'kilocycles', capacitors as condensers, and CDs as 'records'. I imagine the term will be around for a while." I find that I do my most creative thinking when I sit down in front of my GUI-less BBC Master Compact - lets face it; BBC BASIC had a certain elegance about it - and one didn't have to worry about OBJECTS! :) My Bulgarian typewriter features 2 letters the Communists removed from the Bulgarian alphabet in 1952. And I am typing this by using a keyboard attached to a CPU and a VDU. So, 'TRANSCRIPT' sounds extremely modern to me. and that was 2 pence from me. sincerely, Richmond Mathewson ____________________________________________________________ "Philosophical problems are confusions arising owing to the fluidity of meanings users attach to words and phrases." Mathewson, 2006 ____________________________________________________________ From kray at sonsothunder.com Wed Aug 16 17:22:50 2006 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 16 Aug 2006 16:22:50 -0500 Subject: OT: LA Company Looking For MC/Rev Programmer Message-ID: <C108F6DA.41C1A%kray@sonsothunder.com> I'm doing freelance for a client of mine in Beverly Hills, CA, and he's looking for someone to help out on his project. Here's what he says: --- I own a small growing software company. All of our programming has been written in MetaCard by Ken. We are looking for a MetaCard (MC) programmer to work with Ken on a regular basis, perhaps 20 hours a week, perhaps more to get started. We're also interested in hiring a non-MC programmer we can train in MC to work full-time in our office (unless there's a fulltime MC programmer available).? We think this could be a programmer or recent computer science graduate with?experience developing with one or more?programming (C++, Java, Visual Basic, etc.) or scripting languages?(Director, Flash, Javascript, etc.), preferably on a Macintosh platform.?Knowledge of xTalk languages (Toolbook, HyperCard, Revolution, etc.) would be a plus. --- The company is in Los Angeles; if you are interested or know someone who might be, please have them contact me offlist. Thanks! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From ambassador at fourthworld.com Wed Aug 16 17:45:10 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 16 Aug 2006 14:45:10 -0700 Subject: Menu madness Message-ID: <44E391E6.5050702@fourthworld.com> Robert Sneidar wrote: > Apparently since Menus are nothing more than a group of buttons in > Revolution that are hidden, Revolution "compensates" for this by > changing the height of the card. I personally think this is a bug. Actually it's a feature, and a very useful one. The biggest challenge with menus comes from Rev being multi-platform. On Mac the menu bar is separate from the window at the top of the monitor, and on all other OSes it's bound to the top of the window. So for most of your audience (without even trying I get four times as many Windows customers as Mac) the natural placement of the group of menu buttons at the top of the window works great just as you see it. To deal with Mac OS, the portion of the window occupied by the menu group is cropped, and the menus are displayed in the menu bar as your users will expect. This behavior is pretty convenient: it's automatic once you add a menu bar group to your stack; without having to write a single line of code you get the expected appearance on all platforms. > I would like to be able to set a property that tells Revolution what > the default height for cards in a stack are, and then I can change > that on the fly See the editMenus property: Turn it on, and the menu group is visible (though I'm not sure why anyone would want to do that on Mac OS). > Also you should consider setting the menu to act as a background so > you do not have to replicate it. Excellent suggestion. For more on working with menus, check out the Menus online conference stack: <http://downloads.runrev.com/section/scriptingconferences.php> -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From dcragg at lacscentre.co.uk Wed Aug 16 18:42:52 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 16 Aug 2006 23:42:52 +0100 Subject: Menu madness In-Reply-To: <44E391E6.5050702@fourthworld.com> References: <44E391E6.5050702@fourthworld.com> Message-ID: <4A274BDC-DF17-493D-BF8D-87247371B0FA@lacscentre.co.uk> On 16 Aug 2006, at 22:45, Richard Gaskin wrote: > Robert Sneidar wrote: > >> Apparently since Menus are nothing more than a group of buttons >> in Revolution that are hidden, Revolution "compensates" for this >> by changing the height of the card. I personally think this is a >> bug. > > Actually it's a feature, and a very useful one. > > The biggest challenge with menus comes from Rev being multi- > platform. On Mac the menu bar is separate from the window at the > top of the monitor, and on all other OSes it's bound to the top of > the window. Except... :-) On Macs, a menubar is pretty much a requirement. But on Windows, and Linux too I guess, they are not always needed, and many apps don't have one. (I'm looking at Norton Anti-Virus right now.) And in the multi-media, internet world, they can seem out of place. (All that File, Edit stuff is so 80's. :-)) In these situations, we need a menubar for the Mac but not on other platforms. And so we want the window to remain the same size on both platforms. But it's not that obvious how to achieve this. The only way I've found that works is to "remove" the menubar group from the card. The menubar will still display on a Mac, but no resizing takes palce, and no menubar appears on Windows. But it's not that obvious. A "Menubar on Mac only" option would be useful, I think. Cheers Dave From JimAultWins at yahoo.com Wed Aug 16 18:43:48 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 16 Aug 2006 15:43:48 -0700 Subject: Can Rev as CGI pull an URL's HTML into a variable? In-Reply-To: <EF8A3AFF-74A2-4492-BDCF-D16B6D322F44@mac.com> Message-ID: <C108EDB4.3C5AB%JimAultWins@yahoo.com> On 8/16/06 11:17 AM, "Andre Garzia" <soapdog at mac.com> wrote: > Rob, > try: > > pput $QUERY_STRING into searchstring >>> put "http://www.imdb.com/find?s=tt&q=" & searchstring into >>> searchURL >>> put shell("curl" && searchURL) into databack > > beware that curl will put more data in the answer such as transfer > time. You'll need to use lineoffset to find where to start. > Instead, use the -s switch so you won't have to use lineoffset ---------------- Two notes about 'curl' (in order to go 'see a URL'), get it... curl -s -k -d 'formdataOrQueryToSend' 'http://remote.com/fldr/this/proc.php' (use s k d in this order to get them all to work) -s/--silent Silent mode. Don't show progress meter or error messages. Makes Curl mute. k/--insecure (SSL) This option explicitly allows curl to perform "insecure" SSL connections and transfers. Result == you don't need a certificate for this IP, since it is a trusted IP. d/--data <data> (HTTP) Sends the specified data in a POST request to the HTTP server, in a way that can emulate as if a user has filled in a HTML form and pressed the submit button. -----note 2 --------------------- I recently found that with the 'curl' command that the query string can be too long and OSX will return a two-line error message: /bin/sh: line 1: unexpected EOF while looking for matching `'' /bin/sh: line 35: syntax error: unexpected end of file Hope this helps. Jim Ault Las Vegas > > On Aug 16, 2006, at 2:54 PM, RGould8 at aol.com wrote: > >> Hmmm, I'm afraid I'm having the same problem, using the script you >> provided. >> I do get 90% of the html, but the loading process just hangs. >> >> Server: Mac OS X Tiger 10.4 >> Client: Safari or Firefox >> >> Could it be something with Mac OS X? >> >> >> In a message dated 8/16/06 3:34:31 AM, dcragg at lacscentre.co.uk writes: >> >> >>> >>> On 16 Aug 2006, at 04:49, rgould8 at aol.com wrote: >>> >>>> >>>> When I run the below script as a CGI, I get, maybe 90% of the html >>>> back, but it hangs at the end for some reason. Is there a >>>> character-limit to how much text libURL can retrieve at once? >>> >>> There's no limit. >>> >>> As a first step, I'd suggest you retrieve the url before you starting >>> sending back any response from your CGI. Something like this >>> (untested): >>> >>> #!revolution >>> >>> on startup >>> >>> start using stack "liburl_1.1.5_minus.rev" >>> >>> put $QUERY_STRING into searchstring >>> put "http://www.imdb.com/find?s=tt&q=" & searchstring into >>> searchURL >>> put URL searchURL into databack >>> if the result <> empty then ##error occurred >>> put "error" && the result into databack >>> end if >>> >>> put "parameter = " & urlDecode($QUERY_STRING) into tRet >>> put cr & "databack = " & databack after tRet >>> >>> put "Content-Type: text/plain" & cr >>> put "Content-Length:" & length(tRet) & cr & cr >>> >>> put tRet >>> >>> wait 20 milliseconds ##helps with some servers >>> end startup >>> >>> If this still has problems, let us 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 >>> >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Wed Aug 16 18:47:49 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 16 Aug 2006 15:47:49 -0700 Subject: Menu madness Message-ID: <44E3A095.4030107@fourthworld.com> Dave Cragg wrote: > On Macs, a menubar is pretty much a requirement. But on Windows, and > Linux too I guess, they are not always needed, and many apps don't > have one. (I'm looking at Norton Anti-Virus right now.) And in the > multi-media, internet world, they can seem out of place. (All that > File, Edit stuff is so 80's. :-)) > > In these situations, we need a menubar for the Mac but not on other > platforms. And so we want the window to remain the same size on both > platforms. But it's not that obvious how to achieve this. The only > way I've found that works is to "remove" the menubar group from the > card. The menubar will still display on a Mac, but no resizing takes > palce, and no menubar appears on Windows. But it's not that obvious. > A "Menubar on Mac only" option would be useful, I think. Does setting the group to invisible or moving it vertically above the top of the card do what you need? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From dcragg at lacscentre.co.uk Wed Aug 16 19:10:39 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 17 Aug 2006 00:10:39 +0100 Subject: Menu madness In-Reply-To: <44E3A095.4030107@fourthworld.com> References: <44E3A095.4030107@fourthworld.com> Message-ID: <1B099A9B-7BF8-41FE-B6FC-59CC438C6AF1@lacscentre.co.uk> On 16 Aug 2006, at 23:47, Richard Gaskin wrote: > Dave Cragg wrote: > >> On Macs, a menubar is pretty much a requirement. But on Windows, >> and Linux too I guess, they are not always needed, and many apps >> don't have one. (I'm looking at Norton Anti-Virus right now.) And >> in the multi-media, internet world, they can seem out of place. >> (All that File, Edit stuff is so 80's. :-)) >> In these situations, we need a menubar for the Mac but not on >> other platforms. And so we want the window to remain the same >> size on both platforms. But it's not that obvious how to achieve >> this. The only way I've found that works is to "remove" the >> menubar group from the card. The menubar will still display on a >> Mac, but no resizing takes palce, and no menubar appears on >> Windows. But it's not that obvious. A "Menubar on Mac only" >> option would be useful, I think. > > Does setting the group to invisible or moving it vertically above > the top of the card do what you need? Setting it to invisible works. (I don't think it used to.) Thanks for the tip. Moving it above the top doesn't work. Cheers Dave From stephenREVOLUTION at barncard.com Wed Aug 16 19:40:19 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 16 Aug 2006 16:40:19 -0700 Subject: Menu madness In-Reply-To: <4A274BDC-DF17-493D-BF8D-87247371B0FA@lacscentre.co.uk> References: <44E391E6.5050702@fourthworld.com> <4A274BDC-DF17-493D-BF8D-87247371B0FA@lacscentre.co.uk> Message-ID: <p06230901c1095d3e30a6@[192.168.1.105]> Perhaps too obvious, but have you guys checked out the editMenus property?? sqb -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From LunchnMeets at aol.com Wed Aug 16 21:07:03 2006 From: LunchnMeets at aol.com (LunchnMeets at aol.com) Date: Wed, 16 Aug 2006 21:07:03 EDT Subject: Beep question Message-ID: <378.7a7e2e00.32151b37@aol.com> Hi everyone, Can someone please tell me why when I put a beep before an ask or answer there's a delay between the beep and the opening of the dialog box? Joe, Orlando, Florida From dsc at swcp.com Wed Aug 16 22:23:35 2006 From: dsc at swcp.com (Dar Scott) Date: Wed, 16 Aug 2006 20:23:35 -0600 Subject: Beep question In-Reply-To: <378.7a7e2e00.32151b37@aol.com> References: <378.7a7e2e00.32151b37@aol.com> Message-ID: <08A8DC8F-6284-4828-8C6A-C113CDB88786@swcp.com> On Aug 16, 2006, at 7:07 PM, LunchnMeets at aol.com wrote: > Can someone please tell me why when I put a beep before an ask or > answer > there's a delay between the beep and the opening of the dialog box? Long ago on some OS I timed beeps and noticed that a single beep returned right away. I inferred that, for a single beep, it simply started the beep. So I am surprised. However, there was a bug (1690) with 2 or more beeps and perhaps the fix has caused the beep command to wait for the beep. It is not marked fixed, though. What OS? Dar Scott From revolutionary.dan at gmail.com Wed Aug 16 23:55:54 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Wed, 16 Aug 2006 20:55:54 -0700 Subject: Line numbers in scripteditor? In-Reply-To: <b016f13e0608160514p1354d896g348f2890645620b8@mail.gmail.com> References: <b016f13e0608160514p1354d896g348f2890645620b8@mail.gmail.com> Message-ID: <70ed6b130608162055l13838565l40abcb0f029dd325@mail.gmail.com> Nope. You can: (1) copy-paste and do your script editing in BBEdit on OS X or some other editor on Windows. (2) switch to Galaxy from Daniels-Mara which, if memory serves, does include this ability. On 8/16/06, William de Smet <wdesmet at wanadoo.nl> wrote: > > Hi there, > > Is it possible to show line numbers in the scripteditor? > If it is I don't know how to show them. > > greetings, > > William (from a sunny Holland) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From mandozine at gmail.com Thu Aug 17 01:14:55 2006 From: mandozine at gmail.com (John Baxter) Date: Wed, 16 Aug 2006 22:14:55 -0700 Subject: Scrolling List Field In-Reply-To: <B86E0CF3-AB0F-4B2A-B9CE-DD20058DCBF4@maseurope.net> References: <3F4054C2-DD96-4D18-8B80-E299C397BDC7@maseurope.net> <C106A206.415C6%kray@sonsothunder.com> <623723c0608151059k4e503835obd97cd3e4548af0f@mail.gmail.com> <5987CABD-61F4-47E4-A5A8-E84C2C6F4799@maseurope.net> <623723c0608151510k4933ce16if79e5122c831b48f@mail.gmail.com> <B86E0CF3-AB0F-4B2A-B9CE-DD20058DCBF4@maseurope.net> Message-ID: <623723c0608162214h4ffea579pea41f071b615c7f2@mail.gmail.com> Mark, Thanks for your help. I'm getting there, but there are two problems I am still having: I have uploaded images and the problems I am having at: http://www.ukefarm.com/uketab/ I thought it might be easier if there were a visual to help explain what I'm trying to accomplish. Your code has been very helpful. If anyone has suggestions on how to fix my problems I listed on the link above, I would really appreciate it. John On 8/15/06, Mark Smith <mark at maseurope.net> wrote: > > John, you might try using a more generalized approach. Create a > handler in the script of your UkeTab stack (the mainstack) > > on placeChord theChord,theFont > put length(theChord) into chordLength > put theChord after field "TabField" of me > set the textFont of char (0 - chordLength) to -1 of fld "TabField" > of me to theFont > end placeChord > > then, in each button of the first sub-stack > > on mouseUp > placeChord "A","verdana" -- or whatever > end mouseUp > > and in the button of the second sub-stack > > on mouseUp > placeChord value(the selectedLine of fld "ChordList"),the textFont > of fld "ChordList" > end mouseUp > > So what happens is that the placeChord handler is responsible for any > and all text that needs to be put into fld "TabField", and you make > use of the message path to avoid duplicating code all over the place. > > Best, > > Mark > > > > On 15 Aug 2006, at 23:10, John Baxter wrote: > > > Mark, > > The code works great for my listfield stack! The TabField on my > > mainstack > > was displaying the ukefont, but when I clicked Insert on the chord > > Palette, > > the chord was inserted without changing the existing text. Exacty > > what I'm > > trying to do. But, I'm not sure what the code would be for the > > other Palette > > with multiple buttons (all using the same font). When I click a > > button, it > > changes all the text back to the ukefont. > > John > > > > > > > > > > On 8/15/06, Mark Smith <mark at maseurope.net> wrote: > >> > >> To do this, I think you'll have to explicitly set the textFont of the > >> text you have just placed in fld "TabField". The text you have placed > >> in the global variable "chord" has no font property - it is simply > >> text. > >> > >> So you might put something like this at the end of the placeChord > >> handler: > >> > >> put length(chord) into chordLength > >> set the textFont of char (0 - chordLength) to -1 of fld "tabField" of > >> stack "UkeTab" to the textFont of fld "ChordList" > >> > >> Best, > >> > >> Mark > >> > >> > >> On 15 Aug 2006, at 18:59, John Baxter wrote: > >> > >> > Thanks for the help. You guys are great. I've got most everything > >> > working > >> > except for the font issue. I have a mainstack with a "TabField". I > >> > use this > >> > code: > >> > > >> > on openStack > >> > put empty into field "TabField" > >> > end openStack > >> > > >> > I have two palettes, each one uses a different font. > >> > > >> > Palette1 - buttons use this code: > >> > > >> > on mouseUp > >> > put "A" after field "TabField" of stack "UkeTab" > >> > end mouseUp > >> > > >> > Palette2 - scrolling list and insert button. Button uses this code: > >> > > >> > on mouseUp > >> > global chord > >> > put value(the selectedLine of fld "ChordList") into chord > >> > placechord > >> > end mouseUp > >> > > >> > on placechord > >> > global chord > >> > if chord is "A" then > >> > put "A" after field "TabField" of stack "UkeTab" > >> > end placechord > >> > > >> > > >> > What I'm trying to do is mix font styles in the mainstack field > >> > when I do > >> > the mouseUp from each Palette. I experimented with different code, > >> > but can't > >> > get the inserted characters to display in the proper font. > >> > > >> > [set text font of "A" to "ukefont"] -- when I click a button on > >> > Palette1 > >> > [set textfont of "A" to "ukechord"] -- which I click Insert > >> button on > >> > Palette2 > >> > > >> > Thanks for any help or advise 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 > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > > > > > > > -- > > John Baxter > > http://www.mandozine.com > > http://www.mandotunes.com > > > > Mandozine Radio: Tuned Locally - Played Globally > > http://www.live365.com/stations/mandozine > > _______________________________________________ > > use-revolution mailing list > > use-revolution 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 > -- John Baxter http://www.mandozine.com http://www.mandotunes.com Mandozine Radio: Tuned Locally - Played Globally http://www.live365.com/stations/mandozine From mwieder at ahsoftware.net Thu Aug 17 02:41:25 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 16 Aug 2006 23:41:25 -0700 Subject: Ubuntu audio redux Message-ID: <3150681646.20060816234125@ahsoftware.net> All- Spent this afternoon at Linux World 2006 and talked a bit with the Ubuntu folks from the London office. They hadn't heard of runrev, of course. The "official" word I got is that audio file support will be rolled into the distro when the codecs and such become open-source - there are too many DRM issues at present. At any rate, I learned of http://easyubuntu.freecontrib.org/, which looks like it might solve the audio problems with the current Ubuntu releases. -- -Mark Wieder mwieder at ahsoftware.net From geradamas at yahoo.com Thu Aug 17 02:59:31 2006 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 16 Aug 2006 23:59:31 -0700 (PDT) Subject: Ubuntu audio redux Message-ID: <20060817065931.44751.qmail@web37514.mail.mud.yahoo.com> Thanks, Mark HOWEVER . . . ("however' should be carved on my gravestone when I go - alright, alright, I know many people on the RR list will be queuing up to speed me on my way!) . . . For those of us who don't have all our Ubuntu boxes connected to the net one should download: http://easyubuntu.freecontrib.org/files/easyubuntu-3.022.tar.gz and then transfer it . . . (mind you, jacking an Ubuntu box and a Mac together with an Ethernet cable is a bit of a headache; and, strangely inconsistent). sincerely, Richmond Mathewson ____________________________________________________________ "Philosophical problems are confusions arising owing to the fluidity of meanings users attach to words and phrases." Mathewson, 2006 ____________________________________________________________ From benr_mc at cogapp.com Wed Aug 16 15:01:14 2006 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 16 Aug 2006 20:01:14 +0100 Subject: HTML Tag Cleaner Fails In-Reply-To: <03615919-5BE3-4DAA-8539-0D87606B8D35@swcp.com> References: <44D6674A.5000600@hindu.org><70ed6b130608062253k38f7f95i1af4955130c2c7b7@m ail.gmail.com><404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com><70 ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com><76FCC001-3C23-4 70D-93D0-767DFE1207D7@economy-x-talk.com> <4970B64B-1935-4478-B3EE-81FA8D179D80@swcp.com> <eb9qn5$ijv$1@sea.gmane.org> <A9E90682-3127-425F-8391-D31DD4057EE6@economy-x-talk.com> <98E39853-274A-4B70-991F-E96C643E1AF7@swcp.com> <0D7CBCF4-CAA2-4382-8786-ECF50857811F@economy-x-talk.com> <ECECBA79-62AA-457E-8719-243188B25FCA@swcp.com> <72837234-9BE4-443E-8137-426F4D57CE0B@economy-x-talk.com> <631FEF1D-8D75-4FAD-94C4-7A1D5D7FF47C@swcp.com> <p0623090fc0ffb5e048ef@[192.168.1.105]> <03615919-5BE3-4DAA-8539-0D87606B8D35@swcp.com> Message-ID: <44E36B7A.5020308@cogapp.com> Ah, this takes me back. On 07 Jun 2002, I wrote on this list (at the conclusion of a long rant): > ["htmlText" is an excellent method of representing the content and style of > a field] in so far as it fully represents every aspect that can currently be > set for text in a field. It's a great shortcut; without it one would have to > (as we used to do in HC) write functions that check the attributes of text > character by character. But ... I regret somewhat that it is formatted as a > kind of 'cod' HTML ... > At the end of this I think I have a new request: introduce a new term as a > synonym for "htmlText", and make it the preferred name. If "formattedText" > hadn't already been taken, that would be good. The "richText" might make > people think it was going to be RTF; how about "the styledtext"? (and Dar was kind enough to reply - to the concept, not any of the specific terminology suggestions - > I like this. ) Tragically - I word I use in purely ironic mood, given the shape of the world - this exchange came just one month before Bugzilla opened for business, so naturally I never entered the suggestion. But if I was on a decent internet connection at the moment, I'd do it now. Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From mark at maseurope.net Thu Aug 17 05:28:07 2006 From: mark at maseurope.net (Mark Smith) Date: Thu, 17 Aug 2006 10:28:07 +0100 Subject: Scrolling List Field In-Reply-To: <623723c0608162214h4ffea579pea41f071b615c7f2@mail.gmail.com> References: <3F4054C2-DD96-4D18-8B80-E299C397BDC7@maseurope.net> <C106A206.415C6%kray@sonsothunder.com> <623723c0608151059k4e503835obd97cd3e4548af0f@mail.gmail.com> <5987CABD-61F4-47E4-A5A8-E84C2C6F4799@maseurope.net> <623723c0608151510k4933ce16if79e5122c831b48f@mail.gmail.com> <B86E0CF3-AB0F-4B2A-B9CE-DD20058DCBF4@maseurope.net> <623723c0608162214h4ffea579pea41f071b615c7f2@mail.gmail.com> Message-ID: <8B9EC39B-D93C-44EA-9888-5E87DD4CC816@maseurope.net> John, I may have this wrong, but don't you need to map the "Am" (two chars) to the appropriate (single) character of the tab font, like you do when setting the chordField field? Mark On 17 Aug 2006, at 06:14, John Baxter wrote: > Mark, > Thanks for your help. I'm getting there, but there are two problems > I am > still having: > > I have uploaded images and the problems I am having at: > > http://www.ukefarm.com/uketab/ > > I thought it might be easier if there were a visual to help explain > what I'm > trying to accomplish. Your code has been very helpful. If anyone has > suggestions on how to fix my problems I listed on the link above, I > would > really appreciate it. > From mark at maseurope.net Thu Aug 17 05:32:42 2006 From: mark at maseurope.net (Mark Smith) Date: Thu, 17 Aug 2006 10:32:42 +0100 Subject: HTML Tag Cleaner Fails In-Reply-To: <44E36B7A.5020308@cogapp.com> References: <44D6674A.5000600@hindu.org><70ed6b130608062253k38f7f95i1af4955130c2c7b7@m ail.gmail.com><404C09F3-5613-4B44-8123-6E48088CE654@economy-x-talk.com><70 ed6b130608070108x1628f911j8f2478a9bbc945f1@mail.gmail.com><76FCC001-3C23-4 70D-93D0-767DFE1207D7@economy-x-talk.com> <4970B64B-1935-4478-B3EE-81FA8D179D80@swcp.com> <eb9qn5$ijv$1@sea.gmane.org> <A9E90682-3127-425F-8391-D31DD4057EE6@economy-x-talk.com> <98E39853-274A-4B70-991F-E96C643E1AF7@swcp.com> <0D7CBCF4-CAA2-4382-8786-ECF50857811F@economy-x-talk.com> <ECECBA79-62AA-457E-8719-243188B25FCA@swcp.com> <72837234-9BE4-443E-8137-426F4D57CE0B@economy-x-talk.com> <631FEF1D-8D75-4FAD-94C4-7A1D5D7FF47C@swcp.com> <p0623090fc0ffb5e048ef@[192.168.1.105]> <03615919-5BE3-4DAA-8539-0D87606B8D35@swcp.com> <44E36B7A.5020308@cogapp.com> Message-ID: <B66B0214-AA73-4B0C-9BC4-0436F9D1AF1E@maseurope.net> And in any case, you can already set and get the rtfText of a field - I think that this is, again, a subset of the rtf 'standard'.... Best, Mark On 16 Aug 2006, at 20:01, Ben Rubinstein wrote: >> The "richText" might make >> people think it was going to be RTF; how about "the styledtext"? From david at dvglasgow.wanadoo.co.uk Thu Aug 17 05:36:02 2006 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Thu, 17 Aug 2006 10:36:02 +0100 Subject: Constraining the pointer within a rect In-Reply-To: <20060816170007.EAD5D82515E@mail.runrev.com> References: <20060816170007.EAD5D82515E@mail.runrev.com> Message-ID: <7f9a8342e37065555f0baa8bbd5f645b@dvglasgow.wanadoo.co.uk> Greetings This is my annual mailing on this topic. I won't bore you with why I need to do this deprecated act, but I do. Basically I need the pointer to refuse to move outside a rect, and just 'bounce' against the edge. No recoil or anything fancy, just stop until the user moves elsewhere with the rect. I had a script that worked in a standalone in 1.1.1. It was inelegant, but effectively. It became painfully slow and jerky in 2.x. I posted to this list, and someone came up with a demon script (a variant of what follows). Can't remember who it was, but thanks again. I tested it in an empty stack, and it worked. Months later I come to actually implement it in my project, and can I get it to work? The script is as follows: on mouseMove X,Y --if button "constrain" is visible then put the rect of fld "container" into SrcImageRect put globalloc((item 1 of SrcImageRect) & "," & (item 2 of SrcImageRect)), globalloc((item 3 of SrcImageRect) & "," & (item 4 of SrcImageRect)) into Fred put min (item 3 of Fred - 4, max (item 1 of Fred + 4, X)) into X put min (item 4 of Fred - 4, max (item 2 of Fred + 4, Y)) into Y get the localloc of (X,Y) set the screenMouseLoc to it --end if end mouseMove The explanation which accompanied the original script is : > If the mouseLoc is within the specified rectangle, the mouse's X co-ord > will be less than item 3 of the rect, and greater than item 1 of the rect. Thus, > max (item 1 of rect, the mouse X) will always result in a number *at least* > as large as that item 1, and min (item 3 of rect, the mouse Y) will always > result in a number *no greater than* that item 3. Plug the results of the max into > a min (sorry about how that sounds, but you get the idea, right?), and you > end up with a number that *must* be somewhere between item 1 of the > rect and item 3 of the rect.Something similar applies to the mouse's Y co-ord, and items 2 and > 4 of the rect. There are 2 issues. The first is that if I uncomment the 'if then', whatever the visible of the button "constrain", nothing happens. Pointer moves freely about the screen. Commenting out the 'if then' results in a pointer which won't enter the stack window (the field "container" is much smaller than the stack), but jumps to a localloc of 121,-2. I have modified the original script by adding in the globalloc bit to get round a bug using the rect directly (thank you Mr Jimmieson). I think this was present in 2.2, and doesn't seem to be completely fixed in 2.7.2. if I miss the globalloc conversion out, the pointer dances around somewhere between the origin of the screen and the stack. I have a hunch I am not properly disentangling local and global locs, but I can't see where. Best Wishes, David Glasgow Carlton Glasgow Partnership http://www.i-psych.co.uk From mandozine at gmail.com Thu Aug 17 05:49:44 2006 From: mandozine at gmail.com (John Baxter) Date: Thu, 17 Aug 2006 02:49:44 -0700 Subject: Scrolling List Field In-Reply-To: <8B9EC39B-D93C-44EA-9888-5E87DD4CC816@maseurope.net> References: <3F4054C2-DD96-4D18-8B80-E299C397BDC7@maseurope.net> <C106A206.415C6%kray@sonsothunder.com> <623723c0608151059k4e503835obd97cd3e4548af0f@mail.gmail.com> <5987CABD-61F4-47E4-A5A8-E84C2C6F4799@maseurope.net> <623723c0608151510k4933ce16if79e5122c831b48f@mail.gmail.com> <B86E0CF3-AB0F-4B2A-B9CE-DD20058DCBF4@maseurope.net> <623723c0608162214h4ffea579pea41f071b615c7f2@mail.gmail.com> <8B9EC39B-D93C-44EA-9888-5E87DD4CC816@maseurope.net> Message-ID: <623723c0608170249o2fa326f0ifc0db47c4b641e99@mail.gmail.com> Mark, That is correct. I use "A" for the "A" chord, and "a" for the "Am" chord. But the code I am using is passing the "Am" rather that the "a", so it is displaying two chords. I'm not sure how to code this, other than creating a lookup list. That is what I had before, but I couldn't mix the fonts successfully. If I put chords in, and then switched to Tab, the chords would change to Tab. I apologize for my lack of knowledge on this. You have been extremely helpful and patient. John On 8/17/06, Mark Smith <mark at maseurope.net> wrote: > > John, I may have this wrong, but don't you need to map the "Am" (two > chars) to the appropriate (single) character of the tab font, like > you do when setting the chordField field? > > Mark > > On 17 Aug 2006, at 06:14, John Baxter wrote: > > > Mark, > > Thanks for your help. I'm getting there, but there are two problems > > I am > > still having: > > > > I have uploaded images and the problems I am having at: > > > > http://www.ukefarm.com/uketab/ > > > > I thought it might be easier if there were a visual to help explain > > what I'm > > trying to accomplish. Your code has been very helpful. If anyone has > > suggestions on how to fix my problems I listed on the link above, I > > would > > really appreciate 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 > -- John Baxter http://www.mandozine.com http://www.mandotunes.com Mandozine Radio: Tuned Locally - Played Globally http://www.live365.com/stations/mandozine From mark at maseurope.net Thu Aug 17 06:16:35 2006 From: mark at maseurope.net (Mark Smith) Date: Thu, 17 Aug 2006 11:16:35 +0100 Subject: Scrolling List Field In-Reply-To: <623723c0608170249o2fa326f0ifc0db47c4b641e99@mail.gmail.com> References: <3F4054C2-DD96-4D18-8B80-E299C397BDC7@maseurope.net> <C106A206.415C6%kray@sonsothunder.com> <623723c0608151059k4e503835obd97cd3e4548af0f@mail.gmail.com> <5987CABD-61F4-47E4-A5A8-E84C2C6F4799@maseurope.net> <623723c0608151510k4933ce16if79e5122c831b48f@mail.gmail.com> <B86E0CF3-AB0F-4B2A-B9CE-DD20058DCBF4@maseurope.net> <623723c0608162214h4ffea579pea41f071b615c7f2@mail.gmail.com> <8B9EC39B-D93C-44EA-9888-5E87DD4CC816@maseurope.net> <623723c0608170249o2fa326f0ifc0db47c4b641e99@mail.gmail.com> Message-ID: <B1407AC0-05BA-4EA9-AB18-123C45C404EE@maseurope.net> Is the idea to have both the text name of the chord "Am" with the Am tab below it? If so, it might be easier to have two fields, one above the other, and line up the contents using tabStops. You might be able to avoid a lookup, as such, by having the char you need for the tab font ('a' in this case) on the same line as "Am" in the chordList field, tabbed over to the right, so the user doesn't see it. So the A major and A minor lines in the chord list would be: A -tab- A Am -tab- a having set the tabStops of fld "chordList" to 200, or some number of pixels that puts the second word out of sight. Then you can get at the respective chord representations by using 'word 1 of value(the selected line of fld "chordList")' or 'word 2 of value(the selected line of fld "chordList")'. I'm still not exactly clear on what you want to insert into the main stack (chords or tabs, chords and tabs, sometimes one or other), but I'm sure we'll get there...:) best, Mark On 17 Aug 2006, at 10:49, John Baxter wrote: > Mark, > That is correct. I use "A" for the "A" chord, and "a" for the "Am" > chord. > But the code I am using is passing the "Am" rather that the "a", so > it is > displaying two chords. I'm not sure how to code this, other than > creating a > lookup list. That is what I had before, but I couldn't mix the fonts > successfully. If I put chords in, and then switched to Tab, the > chords would > change to Tab. I apologize for my lack of knowledge on this. You > have been > extremely helpful and patient. > John > > On 8/17/06, Mark Smith <mark at maseurope.net> wrote: >> >> John, I may have this wrong, but don't you need to map the "Am" (two >> chars) to the appropriate (single) character of the tab font, like >> you do when setting the chordField field? >> >> Mark >> >> On 17 Aug 2006, at 06:14, John Baxter wrote: >> >> > Mark, >> > Thanks for your help. I'm getting there, but there are two problems >> > I am >> > still having: >> > >> > I have uploaded images and the problems I am having at: >> > >> > http://www.ukefarm.com/uketab/ >> > >> > I thought it might be easier if there were a visual to help explain >> > what I'm >> > trying to accomplish. Your code has been very helpful. If anyone >> has >> > suggestions on how to fix my problems I listed on the link above, I >> > would >> > really appreciate 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 >> > > > > -- > John Baxter > http://www.mandozine.com > http://www.mandotunes.com > > Mandozine Radio: Tuned Locally - Played Globally > http://www.live365.com/stations/mandozine > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revolution at derbrill.de Thu Aug 17 06:29:53 2006 From: revolution at derbrill.de (Malte Brill) Date: Thu, 17 Aug 2006 12:29:53 +0200 Subject: [ANN] New ArcadeEngine Showcase for OS X and Windows In-Reply-To: <20060816150108.F246A825B7F@mail.runrev.com> References: <20060816150108.F246A825B7F@mail.runrev.com> Message-ID: <E90C5A69-A933-4EBC-8DB4-7FA0624A68A8@derbrill.de> Hi all, I am very happy to make myself a birthday present today. As I turned 33 I thought it was about time for a 3rd ArcadeEngine Showcase. So I took the time yesterday and here we are. :-) You can download the standalone apps for Mac and Win on the revselect pages: http://www.runrev.com/section/revselect/arcadeengine Direct download links: Mac OsX: http://www.runrev.com/section/revselect/arcadeengine/downloads/ ae20showcase.dmg Win: http://www.runrev.com/section/revselect/arcadeengine/downloads/ ae20showcase.zip I hope you like it. :-) The stack is available on request. Also there has been a maintenance release to AE which you can download here: http://www.runrev.com/section/revselect/arcadeengine/downloads/ae201.zip (All platforms, requires Rev 2.1 or higher or any version of Media) This version fixes all reported problems with the library. All the best, Malte -- Game development session at EuroRevCon Malta November 3,4,5 http://www.techietours.com From m.schonewille at economy-x-talk.com Thu Aug 17 06:50:11 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 17 Aug 2006 12:50:11 +0200 Subject: [ANN] New ArcadeEngine Showcase for OS X and Windows In-Reply-To: <E90C5A69-A933-4EBC-8DB4-7FA0624A68A8@derbrill.de> References: <20060816150108.F246A825B7F@mail.runrev.com> <E90C5A69-A933-4EBC-8DB4-7FA0624A68A8@derbrill.de> Message-ID: <E4EF2237-6630-442E-8353-276591A8365B@economy-x-talk.com> Happy birthday, Malte! Thanks for the demo. It looks great. I really love the moving marbles on the first card! Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 17-aug-2006, om 12:29 heeft Malte Brill het volgende geschreven: > Hi all, > > I am very happy to make myself a birthday present today. As I > turned 33 I thought it was about time for a 3rd ArcadeEngine > Showcase. So I took the time yesterday and here we are. :-) > > You can download the standalone apps for Mac and Win on the > revselect pages: > > http://www.runrev.com/section/revselect/arcadeengine > > Direct download links: > > Mac OsX: > http://www.runrev.com/section/revselect/arcadeengine/downloads/ > ae20showcase.dmg > > Win: > http://www.runrev.com/section/revselect/arcadeengine/downloads/ > ae20showcase.zip > > I hope you like it. :-) The stack is available on request. > > Also there has been a maintenance release to AE which you can > download here: > > http://www.runrev.com/section/revselect/arcadeengine/downloads/ > ae201.zip > (All platforms, requires Rev 2.1 or higher or any version of Media) > > This version fixes all reported problems with the library. > > All the best, > > Malte From jerry at daniels-mara.com Thu Aug 17 08:15:07 2006 From: jerry at daniels-mara.com (Jerry Daniels) Date: Thu, 17 Aug 2006 07:15:07 -0500 Subject: Line numbers in scripteditor? In-Reply-To: <70ed6b130608162055l13838565l40abcb0f029dd325@mail.gmail.com> References: <b016f13e0608160514p1354d896g348f2890645620b8@mail.gmail.com> <70ed6b130608162055l13838565l40abcb0f029dd325@mail.gmail.com> Message-ID: <3FFE752B-50D5-4620-8E0D-0D04BD7ADD42@daniels-mara.com> Galaxy does not show line numbers. Best, Jerry Daniels Tool makers for the 21st century http://www.daniels-mara.com On Aug 16, 2006, at 10:55 PM, Dan Shafer wrote: > Nope. > You can: > > (1) copy-paste and do your script editing in BBEdit on OS X or some > other > editor on Windows. > (2) switch to Galaxy from Daniels-Mara which, if memory serves, > does include > this ability. > > On 8/16/06, William de Smet <wdesmet at wanadoo.nl> wrote: >> >> Hi there, >> >> Is it possible to show line numbers in the scripteditor? >> If it is I don't know how to show them. >> >> greetings, >> >> William (from a sunny Holland) >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Information Product Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" >> From http://www.shafermediastore.com/tech_main.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 P.Jimmieson at csc.liv.ac.uk Thu Aug 17 09:02:16 2006 From: P.Jimmieson at csc.liv.ac.uk (Phil Jimmieson) Date: Thu, 17 Aug 2006 14:02:16 +0100 Subject: Constraining the pointer within a rect In-Reply-To: <7f9a8342e37065555f0baa8bbd5f645b@dvglasgow.wanadoo.co.uk> References: <20060816170007.EAD5D82515E@mail.runrev.com> <7f9a8342e37065555f0baa8bbd5f645b@dvglasgow.wanadoo.co.uk> Message-ID: <a06230901c109f868c8a1@[10.50.4.4]> >Greetings > >This is my annual mailing on this topic. I won't bore you with why >I need to do this deprecated act, but I do. > >Basically I need the pointer to refuse to move outside a rect, and >just 'bounce' against the edge. No recoil or anything fancy, just >stop until the user moves elsewhere with the rect. I had a script >that worked in a standalone in 1.1.1. It was inelegant, but >effectively. It became painfully slow and jerky in 2.x. > Hi David, basically, this modified version of the script works: on mouseMove X,Y if the hilite of button "constrain" is true then put the rect of fld "container" into Fred put min (item 3 of Fred , max (item 1 of Fred, X)) into X put min (item 4 of Fred , max (item 2 of Fred, Y)) into Y get the globalloc of (X,Y) set the screenMouseLoc to it end if end mouseMove but it is *incredibly* slow on OSX (not tried on Windows). I'm not quite sure what it is that's slowing this down - does setting the ScreenMouseLoc send a MouseMove message itself? There's bound to be a better way of doing this? -- Phil Jimmieson phil at csc.liv.ac.uk (UK) 0151 795 4236 (Mobile) 07976 983164 Computer Science Dept., Liverpool University, Ashton Building, Ashton Street Liverpool L69 7ZF http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. From LunchnMeets at aol.com Thu Aug 17 09:33:29 2006 From: LunchnMeets at aol.com (LunchnMeets at aol.com) Date: Thu, 17 Aug 2006 09:33:29 EDT Subject: Beep question Message-ID: <527.6045de9.3215ca29@aol.com> In a message dated 8/16/06 10:23:47 PM, dsc at swcp.com writes: > > Can someone please tell me why when I put a beep before an ask or? > > answer > > there's a delay between the beep and the opening of the dialog box? > > Long ago on some OS I timed beeps and noticed that a single beep? > returned right away.? I inferred that, for a single beep, it simply? > started the beep.? So I am surprised. > > However, there was a bug (1690) with 2 or more beeps and perhaps the? > fix has caused the beep command to wait for the beep.? It is not? > marked fixed, though. > > What OS? > > Dar Scott > Mac OSX is my system. I've also found that Beep 2 doesn't work so I use Beep wait 15 Beep I still have to wait for the dialog box either way From pevensen at siboneylg.com Thu Aug 17 11:04:28 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 17 Aug 2006 10:04:28 -0500 Subject: Constraining the pointer within a rect In-Reply-To: <a06230901c109f868c8a1@[10.50.4.4]> References: <20060816170007.EAD5D82515E@mail.runrev.com> <7f9a8342e37065555f0baa8bbd5f645b@dvglasgow.wanadoo.co.uk> <a06230901c109f868c8a1@[10.50.4.4]> Message-ID: <6.2.1.2.2.20060817100342.1cd68860@exchange.slg.com> I think you are getting recursion. Setting the screenMouseLoc causes mouseMove to be sent. You might want to try locking messages before setting screenMouseLoc. At 08:02 AM 8/17/2006, you wrote: >>Greetings >> >>This is my annual mailing on this topic. I won't bore you with why I >>need to do this deprecated act, but I do. >> >>Basically I need the pointer to refuse to move outside a rect, and just >>'bounce' against the edge. No recoil or anything fancy, just stop until >>the user moves elsewhere with the rect. I had a script that worked in a >>standalone in 1.1.1. It was inelegant, but effectively. It became >>painfully slow and jerky in 2.x. > >Hi David, >basically, this modified version of the script works: > >on mouseMove X,Y > if the hilite of button "constrain" is true then > put the rect of fld "container" into Fred > put min (item 3 of Fred , max (item 1 of Fred, X)) into X > put min (item 4 of Fred , max (item 2 of Fred, Y)) into Y > > get the globalloc of (X,Y) > set the screenMouseLoc to it > end if >end mouseMove > > >but it is *incredibly* slow on OSX (not tried on Windows). I'm not quite >sure what it is that's slowing this down - does setting the ScreenMouseLoc >send a MouseMove message itself? There's bound to be a better way of doing >this? >-- >Phil Jimmieson phil at csc.liv.ac.uk (UK) 0151 795 4236 (Mobile) 07976 983164 >Computer Science Dept., Liverpool University, Ashton Building, Ashton Street >Liverpool L69 7ZF http://www.csc.liv.ac.uk/~phil/ > I used to sit on a special medical board... ...but now I use this ointment. >_______________________________________________ >use-revolution mailing list >use-revolution 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 howard.bornstein at gmail.com Thu Aug 17 11:40:20 2006 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Thu, 17 Aug 2006 11:40:20 -0400 Subject: Constraining the pointer within a rect In-Reply-To: <200608171505.k7HF5hwV007624@ms-smtp-03.rdc-nyc.rr.com> References: <200608171505.k7HF5hwV007624@ms-smtp-03.rdc-nyc.rr.com> Message-ID: <3f07cc260608170840j7af9b897qaf72cb39ce3e40bd@mail.gmail.com> This script seems to work with adequate performance: on mousemove mh,mv if the hilite of btn "constrain" is true then if mh <= the left of fld "container" then set the screenmouseloc to the globalloc of (the left of fld "container", mv) end if if mh >= the right of fld "container" then set the screenmouseloc to the globalloc of (the right of fld "container", mv) end if if mv <= the top of fld "container" then set the screenmouseloc to the globalloc of (mh,the top of fld "container") end if if mv >= the bottom of fld "container" then set the screenmouseloc to the globalloc of (mh,the bottom of fld "container") end if end if end mousemove Note two things: 1) The button "Constrain" needs to be within the field "Container" or you'll never be able to get out. :-) 2) It is possible to move the mouse out of the rect for brief moments, but then it pops back into the rectangle. I'm assuming it's a function of slipping out between a mousemove scan. -- Regards, Howard Bornstein ----------------------- www.designeq.com From revolutionary.dan at gmail.com Thu Aug 17 12:44:06 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Thu, 17 Aug 2006 09:44:06 -0700 Subject: Line numbers in scripteditor? In-Reply-To: <3FFE752B-50D5-4620-8E0D-0D04BD7ADD42@daniels-mara.com> References: <b016f13e0608160514p1354d896g348f2890645620b8@mail.gmail.com> <70ed6b130608162055l13838565l40abcb0f029dd325@mail.gmail.com> <3FFE752B-50D5-4620-8E0D-0D04BD7ADD42@daniels-mara.com> Message-ID: <70ed6b130608170944t7165be81g2adfe6c6886e2fbd@mail.gmail.com> That's what relying on a creaky memory will do. Sorry. On 8/17/06, Jerry Daniels <jerry at daniels-mara.com> wrote: > > Galaxy does not show line numbers. > > Best, > > Jerry Daniels > > Tool makers for the 21st century > http://www.daniels-mara.com > > > On Aug 16, 2006, at 10:55 PM, Dan Shafer wrote: > > > Nope. > > You can: > > > > (1) copy-paste and do your script editing in BBEdit on OS X or some > > other > > editor on Windows. > > (2) switch to Galaxy from Daniels-Mara which, if memory serves, > > does include > > this ability. > > > > On 8/16/06, William de Smet <wdesmet at wanadoo.nl> wrote: > >> > >> Hi there, > >> > >> Is it possible to show line numbers in the scripteditor? > >> If it is I don't know how to show them. > >> > >> greetings, > >> > >> William (from a sunny Holland) > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > > > > > > > -- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Dan Shafer, Information Product Consultant and Author > > http://www.shafermedia.com > > Get my book, "Revolution: Software at the Speed of Thought" > >> From http://www.shafermediastore.com/tech_main.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 > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From kray at sonsothunder.com Thu Aug 17 12:48:43 2006 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 17 Aug 2006 11:48:43 -0500 Subject: [ANN] New ArcadeEngine Showcase for OS X and Windows In-Reply-To: <E90C5A69-A933-4EBC-8DB4-7FA0624A68A8@derbrill.de> Message-ID: <C10A081B.41D4C%kray@sonsothunder.com> On 8/17/06 5:29 AM, "Malte Brill" <revolution at derbrill.de> wrote: > I am very happy to make myself a birthday present today. Congratulations, Malte! Happy birthday! (says a 42-year-old remembering what it was like to be 33...) :-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From revolutionary.dan at gmail.com Thu Aug 17 13:29:01 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Thu, 17 Aug 2006 10:29:01 -0700 Subject: [OT] Used PowerBook G3 Available for Donation Message-ID: <70ed6b130608171029x47211e91u3be76b9ee8f4da6f@mail.gmail.com> I have a very old Macintosh PowerBook G3 with the pre-Bronze keyboard on which OS X cannot be installed that I would happily donate to the first educational or non-profit organization to raise its hand and ask for it. I'll even pay shipping within the U.S. But let's not garbage up the list. Email me privately at revolutionary.dan at gmail.com. First come, first served. Replying here disqualifies you! -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From dsc at swcp.com Thu Aug 17 13:51:11 2006 From: dsc at swcp.com (Dar Scott) Date: Thu, 17 Aug 2006 11:51:11 -0600 Subject: Beep question In-Reply-To: <527.6045de9.3215ca29@aol.com> References: <527.6045de9.3215ca29@aol.com> Message-ID: <03709529-3780-46AC-A14D-C588C9B2C66D@swcp.com> On Aug 17, 2006, at 7:33 AM, LunchnMeets at aol.com wrote: > Mac OSX is my system. I tried this on 2.7.3 on OS X 10.4.7. I made one button with beep and answer. Another had only answer. I muted the sound. I could not tell the difference. I had a vague feeling that one delayed every once in a while, but I wasn't sure. The time to execute the beep call is about 2.5 ms. The beep sound on OS X is about a half second by ear. I infer that the sound takes place after the beep is executed. It takes 0.4 second for the answer to pop up on my machine. If it is similar on yours, that might give the impression that it is waiting for the beep. Now if you want the beep to occur right after the answer dialog box pops up try this: on mouseUp send "beep" to me in 0 seconds answer "This notification comes with sound." end mouseUp To my perception they are part of the same action. What's happening is that 'answer' and 'ask' are implemented in, uh, Revolution and there is probably a 'wait with messages' to allow the button or field messages to work. Other messages also work. If you have a lot going on, you might want to change that to -100 seconds to queue the beep ahead of pending messages (but not sockets messages on OS X). If you are not comfortable with sending beep, you can send a message to a small handler that does a beep. Dar Scott From mandozine at gmail.com Thu Aug 17 15:02:01 2006 From: mandozine at gmail.com (John Baxter) Date: Thu, 17 Aug 2006 12:02:01 -0700 Subject: Scrolling List Field In-Reply-To: <B1407AC0-05BA-4EA9-AB18-123C45C404EE@maseurope.net> References: <3F4054C2-DD96-4D18-8B80-E299C397BDC7@maseurope.net> <C106A206.415C6%kray@sonsothunder.com> <623723c0608151059k4e503835obd97cd3e4548af0f@mail.gmail.com> <5987CABD-61F4-47E4-A5A8-E84C2C6F4799@maseurope.net> <623723c0608151510k4933ce16if79e5122c831b48f@mail.gmail.com> <B86E0CF3-AB0F-4B2A-B9CE-DD20058DCBF4@maseurope.net> <623723c0608162214h4ffea579pea41f071b615c7f2@mail.gmail.com> <8B9EC39B-D93C-44EA-9888-5E87DD4CC816@maseurope.net> <623723c0608170249o2fa326f0ifc0db47c4b641e99@mail.gmail.com> <B1407AC0-05BA-4EA9-AB18-123C45C404EE@maseurope.net> Message-ID: <623723c0608171202u2443c8d1j231266a5b8de6ba0@mail.gmail.com> Mark, Yes, the idea is to be able to insert both chords and Tab, and occasionally lyrics. There are times I will want to do just a chord sheet, and other times I will want to do just Tab. But, most of the time I will want to do both. The idea is to insert chords on one line and Tab on the next line, alternating between the two. You suggestion of putting the char in the ChordList, and hiding it using tabStops is great. I was able to get it working for both the label/chord display in the Chord Library, and for the insertion of chords into the mainstack. I've updated my web page to reflect the latest code. http://www.ukefarm.com/uketab/ Now all I need to do is be able to insert chords or Tab at the cursor location in the mainstack, rather than the char being added to the end of the last line. You have been extremely helpful and generous with your time. Maybe I can pay you something for your help? John On 8/17/06, Mark Smith <mark at maseurope.net> wrote: > > Is the idea to have both the text name of the chord "Am" with the Am > tab below it? If so, it might be easier to have two fields, one above > the other, and line up the contents using tabStops. > > You might be able to avoid a lookup, as such, by having the char you > need for the tab font ('a' in this case) on the same line as "Am" in > the chordList field, tabbed over to the right, so the user doesn't > see it. So the A major and A minor lines in the chord list would be: > > A -tab- A > Am -tab- a > having set the tabStops of fld "chordList" to 200, or some number of > pixels that puts the second word out of sight. > > Then you can get at the respective chord representations by using > 'word 1 of value(the selected line of fld "chordList")' or 'word 2 of > value(the selected line of fld "chordList")'. > > I'm still not exactly clear on what you want to insert into the main > stack (chords or tabs, chords and tabs, sometimes one or other), but > I'm sure we'll get there...:) > > best, > > Mark > > On 17 Aug 2006, at 10:49, John Baxter wrote: > > > Mark, > > That is correct. I use "A" for the "A" chord, and "a" for the "Am" > > chord. > > But the code I am using is passing the "Am" rather that the "a", so > > it is > > displaying two chords. I'm not sure how to code this, other than > > creating a > > lookup list. That is what I had before, but I couldn't mix the fonts > > successfully. If I put chords in, and then switched to Tab, the > > chords would > > change to Tab. I apologize for my lack of knowledge on this. You > > have been > > extremely helpful and patient. > > John > > > > On 8/17/06, Mark Smith <mark at maseurope.net> wrote: > >> > >> John, I may have this wrong, but don't you need to map the "Am" (two > >> chars) to the appropriate (single) character of the tab font, like > >> you do when setting the chordField field? > >> > >> Mark > >> > >> On 17 Aug 2006, at 06:14, John Baxter wrote: > >> > >> > Mark, > >> > Thanks for your help. I'm getting there, but there are two problems > >> > I am > >> > still having: > >> > > >> > I have uploaded images and the problems I am having at: > >> > > >> > http://www.ukefarm.com/uketab/ > >> > > >> > I thought it might be easier if there were a visual to help explain > >> > what I'm > >> > trying to accomplish. Your code has been very helpful. If anyone > >> has > >> > suggestions on how to fix my problems I listed on the link above, I > >> > would > >> > really appreciate 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 > >> > > > > > > > > -- > > John Baxter > > http://www.mandozine.com > > http://www.mandotunes.com > > > > Mandozine Radio: Tuned Locally - Played Globally > > http://www.live365.com/stations/mandozine > > _______________________________________________ > > use-revolution mailing list > > use-revolution 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 > -- John Baxter http://www.mandozine.com http://www.mandotunes.com Mandozine Radio: Tuned Locally - Played Globally http://www.live365.com/stations/mandozine From dsc at swcp.com Thu Aug 17 15:08:52 2006 From: dsc at swcp.com (Dar Scott) Date: Thu, 17 Aug 2006 13:08:52 -0600 Subject: Plugins folder? (was Re: How Galaxy is...) In-Reply-To: <51E6B95F-0A1A-4964-996B-D597FEBC8225@daniels-mara.com> References: <44E0D1E7.000003.01880@CALSBIGPC> <9F160733-48FF-4B1A-9D3C-05188E9D4457@wanadoo.fr> <51E6B95F-0A1A-4964-996B-D597FEBC8225@daniels-mara.com> Message-ID: <EE5FE558-C75C-49B8-BB76-1FD07F9D5D93@swcp.com> On Aug 16, 2006, at 5:40 AM, Jerry Daniels wrote: > The third party plugins folder is in the documents folder. The path > is something like this, depending upon your OS and the version of > Rev and Galaxy you have: ...documents/my revolution studio/plugins/ > galaxy lite startup.rev. This is new to me. I thought the plugins folder was that named "plugins" in the same folder that contained the Revolution application. I thought all plugins were (virtually) 3rd party by definition. The all.pdf doc refers to "the Plugins folder", which to me means one. (Well, it means that I should be able to identify the correct one from context, but for me the context says one.) What Rev versions look for plugins in these alternate places? If a Plugin requires a particular release of Revolution, how does Revolution know when to put it in the Plugins menu? Where is this documented? Not <user>/library ? Confused and curious... Dar Scott From pevensen at siboneylg.com Thu Aug 17 15:14:27 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 17 Aug 2006 14:14:27 -0500 Subject: Plugins folder? (was Re: How Galaxy is...) In-Reply-To: <EE5FE558-C75C-49B8-BB76-1FD07F9D5D93@swcp.com> References: <44E0D1E7.000003.01880@CALSBIGPC> <9F160733-48FF-4B1A-9D3C-05188E9D4457@wanadoo.fr> <51E6B95F-0A1A-4964-996B-D597FEBC8225@daniels-mara.com> <EE5FE558-C75C-49B8-BB76-1FD07F9D5D93@swcp.com> Message-ID: <6.2.1.2.2.20060817141205.05902d10@exchange.slg.com> This change came with 2.7.x. From 2.7 on, the Revolution folder is supposed to be considered "read only" so that the automatic updating, launching, etc. will work. As to where it is documented, I'm not sure. Perhaps in a 2.7.? read me file? As to versions, evidently your plugin should check the version and perform accordingly. (Keep in Mind that 2.6.1 and below still has the old folder format, so nothing changes there). At 02:08 PM 8/17/2006, you wrote: >On Aug 16, 2006, at 5:40 AM, Jerry Daniels wrote: > >>The third party plugins folder is in the documents folder. The path >>is something like this, depending upon your OS and the version of >>Rev and Galaxy you have: ...documents/my revolution studio/plugins/ >>galaxy lite startup.rev. > >This is new to me. > >I thought the plugins folder was that named "plugins" in the same >folder that contained the Revolution application. > >I thought all plugins were (virtually) 3rd party by definition. > >The all.pdf doc refers to "the Plugins folder", which to me means >one. (Well, it means that I should be able to identify the correct >one from context, but for me the context says one.) > >What Rev versions look for plugins in these alternate places? > >If a Plugin requires a particular release of Revolution, how does >Revolution know when to put it in the Plugins menu? > >Where is this documented? > >Not <user>/library ? > >Confused and curious... > >Dar Scott >_______________________________________________ Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 From ambassador at fourthworld.com Thu Aug 17 15:19:52 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 17 Aug 2006 12:19:52 -0700 Subject: Line numbers in scripteditor? Message-ID: <44E4C158.8070104@fourthworld.com> William de Smet asked: > Is it possible to show line numbers in the scripteditor? > If it is I don't know how to show them. I have line numbers in a text editor I've been working on in my spare time, and have considered moving them into my script editor but haven't yet taken the time because I find I don't use them often myself. But I'm sure my work habits are peculiar in many respects, and perhaps I've just lost sight of the value of line numbers. Do you mind if I ask how you find them useful? My script editor is currently tied to the MetaCard IDE, but sooner or later it'll be self-contained enough to use in any IDE. Once I can see the value of adding line numbers it won't take long to include them. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From dsc at swcp.com Thu Aug 17 15:57:48 2006 From: dsc at swcp.com (Dar Scott) Date: Thu, 17 Aug 2006 13:57:48 -0600 Subject: Plugins folder? (was Re: How Galaxy is...) In-Reply-To: <6.2.1.2.2.20060817141205.05902d10@exchange.slg.com> References: <44E0D1E7.000003.01880@CALSBIGPC> <9F160733-48FF-4B1A-9D3C-05188E9D4457@wanadoo.fr> <51E6B95F-0A1A-4964-996B-D597FEBC8225@daniels-mara.com> <EE5FE558-C75C-49B8-BB76-1FD07F9D5D93@swcp.com> <6.2.1.2.2.20060817141205.05902d10@exchange.slg.com> Message-ID: <7133912A-C477-4137-9B6A-81D9F617C91E@swcp.com> On Aug 17, 2006, at 1:14 PM, Peter T. Evensen wrote: > As to where it is documented, I'm not sure. Perhaps in a 2.7.? > read me file? I found it. It was hidden under Distribution Structure: There is a new directory structure. The customization folder is in "Documents/My Revolution [edition]", and contains subfolders: Plug ins now load from "Plugins" folder Database drivers now load from "Database Drivers" folder Externals now load from "Externals" folder External & database drivers loaded here are picked up by Standalone Builder Object Libraries now stored in Resources/Object Libraries Image Libraries now stored in Resources/Image Libraries Files placed in these folders will override the files installed in the main Revolution installation directory. Thus all of these components will survive an update to the main Revolution install. Hmmm. I assume that by externals, it means revolution externals. Dar Scott From scott at elementarysoftware.com Thu Aug 17 16:14:53 2006 From: scott at elementarysoftware.com (Scott Morrow) Date: Thu, 17 Aug 2006 13:14:53 -0700 Subject: Constraining the pointer within a rect In-Reply-To: <3f07cc260608170840j7af9b897qaf72cb39ce3e40bd@mail.gmail.com> References: <200608171505.k7HF5hwV007624@ms-smtp-03.rdc-nyc.rr.com> <3f07cc260608170840j7af9b897qaf72cb39ce3e40bd@mail.gmail.com> Message-ID: <F76E99B1-930F-4B4B-ACB0-15241715157D@elementarysoftware.com> I found that using a "send in time" structure to check the mouseLoc rather than waiting for the mouseMove message was slightly more reliable (OSX) and better kept it from going outside the bounding area. on MouseTrap -- keep the mouse pointer inside the window if the optionkey is NOT "down" then -- but overide this behavior with the "optionKey" put item 1 of globalLoc(the mouseLoc) into x put item 2 of globalLoc(the mouseLoc) into y put the top of this stack into tTopEdge put the bottom of this stack into tBottomEdge put the right of this stack into tRightEdge put the left of this stack into tLeftEdge if x < tLeftEdge then put tLeftEdge +1 into x if x > tRightEdge then put tRightEdge -1 into x if y < tTopEdge then put tTopEdge +1 into y if y > tBottomEdge then put tBottomEdge-1 into y set the screenmouseloc to x,y end if send MouseTrap to me in 40 millisec end MouseTrap -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com ----------------------------------------------------------------- On Aug 17, 2006, at 8:40 AM, Howard Bornstein wrote: > This script seems to work with adequate performance: > > on mousemove mh,mv > if the hilite of btn "constrain" is true then > > if mh <= the left of fld "container" then > set the screenmouseloc to the globalloc of (the left of fld > "container", mv) > end if > > if mh >= the right of fld "container" then > set the screenmouseloc to the globalloc of (the right of fld > "container", mv) > end if > > if mv <= the top of fld "container" then > set the screenmouseloc to the globalloc of (mh,the top of fld > "container") > end if > > if mv >= the bottom of fld "container" then > set the screenmouseloc to the globalloc of (mh,the bottom of fld > "container") > end if > > end if > end mousemove > > > Note two things: > > 1) The button "Constrain" needs to be within the field "Container" > or you'll > never be able to get out. :-) > > 2) It is possible to move the mouse out of the rect for brief > moments, but > then it pops back into the rectangle. I'm assuming it's a function of > slipping out between a mousemove scan. > > > > -- > Regards, > > Howard Bornstein > ----------------------- > www.designeq.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 pevensen at siboneylg.com Thu Aug 17 16:20:57 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 17 Aug 2006 15:20:57 -0500 Subject: Constraining the pointer within a rect In-Reply-To: <F76E99B1-930F-4B4B-ACB0-15241715157D@elementarysoftware.co m> References: <200608171505.k7HF5hwV007624@ms-smtp-03.rdc-nyc.rr.com> <3f07cc260608170840j7af9b897qaf72cb39ce3e40bd@mail.gmail.com> <F76E99B1-930F-4B4B-ACB0-15241715157D@elementarysoftware.com> Message-ID: <6.2.1.2.2.20060817152028.05059c20@exchange.slg.com> Perhaps you could just create an object and trap the mouseLeave message and move the pointer in that? At 03:14 PM 8/17/2006, you wrote: >I found that using a "send in time" structure to check the mouseLoc >rather than waiting for the mouseMove message was slightly more >reliable (OSX) and better kept it from going outside the bounding area. > >on MouseTrap > -- keep the mouse pointer inside the window > if the optionkey is NOT "down" then -- but overide this behavior >with the "optionKey" > put item 1 of globalLoc(the mouseLoc) into x > put item 2 of globalLoc(the mouseLoc) into y > put the top of this stack into tTopEdge > put the bottom of this stack into tBottomEdge > put the right of this stack into tRightEdge > put the left of this stack into tLeftEdge > if x < tLeftEdge then put tLeftEdge +1 into x > if x > tRightEdge then put tRightEdge -1 into x > if y < tTopEdge then put tTopEdge +1 into y > if y > tBottomEdge then put tBottomEdge-1 into y > set the screenmouseloc to x,y > end if > send MouseTrap to me in 40 millisec >end MouseTrap > > >-Scott Morrow > >Elementary Software >(Now with 20% less chalk dust !) >web http://elementarysoftware.com/ >email scott at elementarysoftware.com > >----------------------------------------------------------------- > >On Aug 17, 2006, at 8:40 AM, Howard Bornstein wrote: > >>This script seems to work with adequate performance: >> >>on mousemove mh,mv >> if the hilite of btn "constrain" is true then >> >> if mh <= the left of fld "container" then >> set the screenmouseloc to the globalloc of (the left of fld >>"container", mv) >> end if >> >> if mh >= the right of fld "container" then >> set the screenmouseloc to the globalloc of (the right of fld >>"container", mv) >> end if >> >> if mv <= the top of fld "container" then >> set the screenmouseloc to the globalloc of (mh,the top of fld >>"container") >> end if >> >> if mv >= the bottom of fld "container" then >> set the screenmouseloc to the globalloc of (mh,the bottom of fld >>"container") >> end if >> >> end if >>end mousemove >> >> >>Note two things: >> >>1) The button "Constrain" needs to be within the field "Container" >>or you'll >>never be able to get out. :-) >> >>2) It is possible to move the mouse out of the rect for brief >>moments, but >>then it pops back into the rectangle. I'm assuming it's a function of >>slipping out between a mousemove scan. >> >> >> >>-- >>Regards, >> >>Howard Bornstein >>----------------------- >>www.designeq.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 Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 From mark at maseurope.net Thu Aug 17 16:53:59 2006 From: mark at maseurope.net (Mark Smith) Date: Thu, 17 Aug 2006 21:53:59 +0100 Subject: Scrolling List Field In-Reply-To: <623723c0608171202u2443c8d1j231266a5b8de6ba0@mail.gmail.com> References: <3F4054C2-DD96-4D18-8B80-E299C397BDC7@maseurope.net> <C106A206.415C6%kray@sonsothunder.com> <623723c0608151059k4e503835obd97cd3e4548af0f@mail.gmail.com> <5987CABD-61F4-47E4-A5A8-E84C2C6F4799@maseurope.net> <623723c0608151510k4933ce16if79e5122c831b48f@mail.gmail.com> <B86E0CF3-AB0F-4B2A-B9CE-DD20058DCBF4@maseurope.net> <623723c0608162214h4ffea579pea41f071b615c7f2@mail.gmail.com> <8B9EC39B-D93C-44EA-9888-5E87DD4CC816@maseurope.net> <623723c0608170249o2fa326f0ifc0db47c4b641e99@mail.gmail.com> <B1407AC0-05BA-4EA9-AB18-123C45C404EE@maseurope.net> <623723c0608171202u2443c8d1j231266a5b8de6ba0@mail.gmail.com> Message-ID: <823F99D3-5687-4F00-B6BC-A7501C8809F2@maseurope.net> John, I'm just carrying on the fine tradition of this list, from which I have benefited many times...so you're most welcome. On 17 Aug 2006, at 20:02, John Baxter wrote: > You have been extremely helpful and generous with your time. Maybe > I can pay > you something for your help? As to inserting at the cursor position, I'm not very sure about this, but maybe someone here can make a suggestion? Best, Mark From m.schonewille at economy-x-talk.com Thu Aug 17 18:05:25 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 18 Aug 2006 00:05:25 +0200 Subject: Scrolling List Field In-Reply-To: <623723c0608171202u2443c8d1j231266a5b8de6ba0@mail.gmail.com> References: <3F4054C2-DD96-4D18-8B80-E299C397BDC7@maseurope.net> <C106A206.415C6%kray@sonsothunder.com> <623723c0608151059k4e503835obd97cd3e4548af0f@mail.gmail.com> <5987CABD-61F4-47E4-A5A8-E84C2C6F4799@maseurope.net> <623723c0608151510k4933ce16if79e5122c831b48f@mail.gmail.com> <B86E0CF3-AB0F-4B2A-B9CE-DD20058DCBF4@maseurope.net> <623723c0608162214h4ffea579pea41f071b615c7f2@mail.gmail.com> <8B9EC39B-D93C-44EA-9888-5E87DD4CC816@maseurope.net> <623723c0608170249o2fa326f0ifc0db47c4b641e99@mail.gmail.com> <B1407AC0-05BA-4EA9-AB18-123C45C404EE@maseurope.net> <623723c0608171202u2443c8d1j231266a5b8de6ba0@mail.gmail.com> Message-ID: <39DEAF0A-D39D-4A45-891A-EB8BAC1B8FC3@economy-x-talk.com> John, If you want to enter text after the text insertion point in a field: put "foo" after the selection or slightly more advanced: on insertString theString if the selectedChunk is not empty then put theString into myString put word 6 to -1 of the selectedChunk into myFld put word 4 of the selectedChunk into myCharNr put myString after the selection select after char myCharNr+length(myString) of myFld return true else return false end if end insertString Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 17-aug-2006, om 21:02 heeft John Baxter het volgende geschreven: > Now all I need to do is be able to insert chords or Tab at the cursor > location in the mainstack, rather than the char being added to the > end of > the last line. > > John From scott at elementarysoftware.com Thu Aug 17 18:13:39 2006 From: scott at elementarysoftware.com (Scott Morrow) Date: Thu, 17 Aug 2006 15:13:39 -0700 Subject: Constraining the pointer within a rect In-Reply-To: <6.2.1.2.2.20060817152028.05059c20@exchange.slg.com> References: <200608171505.k7HF5hwV007624@ms-smtp-03.rdc-nyc.rr.com> <3f07cc260608170840j7af9b897qaf72cb39ce3e40bd@mail.gmail.com> <F76E99B1-930F-4B4B-ACB0-15241715157D@elementarysoftware.com> <6.2.1.2.2.20060817152028.05059c20@exchange.slg.com> Message-ID: <C2140F7C-232C-4DAC-841A-5654EBF4E859@elementarysoftware.com> Ah, trapping the mouseLeave is much more elegant from a "number-of- messages-needed" standpoint. I just tried it. Unfortunately, in my situation, because a mouseLeave object only works for the portion that is not covered by another object (and it can't be transparent) this makes it awkward to use any controls underneath. On Aug 17, 2006, at 1:20 PM, Peter T. Evensen wrote: > Perhaps you could just create an object and trap the mouseLeave > message and move the pointer in that? > > At 03:14 PM 8/17/2006, you wrote: >> I found that using a "send in time" structure to check the mouseLoc >> rather than waiting for the mouseMove message was slightly more >> reliable (OSX) and better kept it from going outside the bounding >> area. >> >> on MouseTrap >> -- keep the mouse pointer inside the window >> if the optionkey is NOT "down" then -- but overide this behavior >> with the "optionKey" >> put item 1 of globalLoc(the mouseLoc) into x >> put item 2 of globalLoc(the mouseLoc) into y >> put the top of this stack into tTopEdge >> put the bottom of this stack into tBottomEdge >> put the right of this stack into tRightEdge >> put the left of this stack into tLeftEdge >> if x < tLeftEdge then put tLeftEdge +1 into x >> if x > tRightEdge then put tRightEdge -1 into x >> if y < tTopEdge then put tTopEdge +1 into y >> if y > tBottomEdge then put tBottomEdge-1 into y >> set the screenmouseloc to x,y >> end if >> send MouseTrap to me in 40 millisec >> end MouseTrap >> >> >> -Scott Morrow >> >> Elementary Software >> (Now with 20% less chalk dust !) >> web http://elementarysoftware.com/ >> email scott at elementarysoftware.com >> >> ----------------------------------------------------------------- >> >> On Aug 17, 2006, at 8:40 AM, Howard Bornstein wrote: >> >>> This script seems to work with adequate performance: >>> >>> on mousemove mh,mv >>> if the hilite of btn "constrain" is true then >>> >>> if mh <= the left of fld "container" then >>> set the screenmouseloc to the globalloc of (the left of fld >>> "container", mv) >>> end if >>> >>> if mh >= the right of fld "container" then >>> set the screenmouseloc to the globalloc of (the right of fld >>> "container", mv) >>> end if >>> >>> if mv <= the top of fld "container" then >>> set the screenmouseloc to the globalloc of (mh,the top of fld >>> "container") >>> end if >>> >>> if mv >= the bottom of fld "container" then >>> set the screenmouseloc to the globalloc of (mh,the bottom of >>> fld >>> "container") >>> end if >>> >>> end if >>> end mousemove >>> >>> >>> Note two things: >>> >>> 1) The button "Constrain" needs to be within the field "Container" >>> or you'll >>> never be able to get out. :-) >>> >>> 2) It is possible to move the mouse out of the rect for brief >>> moments, but >>> then it pops back into the rectangle. I'm assuming it's a >>> function of >>> slipping out between a mousemove scan. >>> >>> >>> >>> -- >>> Regards, >>> >>> Howard Bornstein >>> ----------------------- >>> www.designeq.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 > > Peter T. Evensen > http://www.PetersRoadToHealth.com > 314-629-5248 or 888-682-4588 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From pevensen at siboneylg.com Thu Aug 17 18:32:26 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 17 Aug 2006 17:32:26 -0500 Subject: Constraining the pointer within a rect In-Reply-To: <C2140F7C-232C-4DAC-841A-5654EBF4E859@elementarysoftware.co m> References: <200608171505.k7HF5hwV007624@ms-smtp-03.rdc-nyc.rr.com> <3f07cc260608170840j7af9b897qaf72cb39ce3e40bd@mail.gmail.com> <F76E99B1-930F-4B4B-ACB0-15241715157D@elementarysoftware.com> <6.2.1.2.2.20060817152028.05059c20@exchange.slg.com> <C2140F7C-232C-4DAC-841A-5654EBF4E859@elementarysoftware.com> Message-ID: <6.2.1.2.2.20060817172632.02750c40@exchange.slg.com> Actually, if you put the following in the card or stack and do you're constraining, it should work: on mouseLeave if the target is me then --- constrain here end if end mouseLeave The issue is, if you put this in the card or stack script, and a control doesn't trap mouseLeave, the control will pass it's mouseLeave up to the stack or card. I did a test with this in the card script with a button on it, and only got "mouse left" when I moved outside the window, and not when I moved over a control in the window: on mouseLeave if the target is me then put "Mouse Left" end mouseLeave on mouseEnter if the target is me then put "mouse entered" end mouseEnter At 05:13 PM 8/17/2006, you wrote: >Ah, trapping the mouseLeave is much more elegant from a "number-of- >messages-needed" standpoint. I just tried it. Unfortunately, in my >situation, because a mouseLeave object only works for the portion >that is not covered by another object (and it can't be transparent) >this makes it awkward to use any controls underneath. > >On Aug 17, 2006, at 1:20 PM, Peter T. Evensen wrote: > >>Perhaps you could just create an object and trap the mouseLeave >>message and move the pointer in that? >> >>At 03:14 PM 8/17/2006, you wrote: >>>I found that using a "send in time" structure to check the mouseLoc >>>rather than waiting for the mouseMove message was slightly more >>>reliable (OSX) and better kept it from going outside the bounding >>>area. >>> >>>on MouseTrap >>> -- keep the mouse pointer inside the window >>> if the optionkey is NOT "down" then -- but overide this behavior >>>with the "optionKey" >>> put item 1 of globalLoc(the mouseLoc) into x >>> put item 2 of globalLoc(the mouseLoc) into y >>> put the top of this stack into tTopEdge >>> put the bottom of this stack into tBottomEdge >>> put the right of this stack into tRightEdge >>> put the left of this stack into tLeftEdge >>> if x < tLeftEdge then put tLeftEdge +1 into x >>> if x > tRightEdge then put tRightEdge -1 into x >>> if y < tTopEdge then put tTopEdge +1 into y >>> if y > tBottomEdge then put tBottomEdge-1 into y >>> set the screenmouseloc to x,y >>> end if >>> send MouseTrap to me in 40 millisec >>>end MouseTrap >>> >>> >>>-Scott Morrow >>> >>>Elementary Software >>>(Now with 20% less chalk dust !) >>>web http://elementarysoftware.com/ >>>email scott at elementarysoftware.com >>> >>>----------------------------------------------------------------- >>> >>>On Aug 17, 2006, at 8:40 AM, Howard Bornstein wrote: >>> >>>>This script seems to work with adequate performance: >>>> >>>>on mousemove mh,mv >>>> if the hilite of btn "constrain" is true then >>>> >>>> if mh <= the left of fld "container" then >>>> set the screenmouseloc to the globalloc of (the left of fld >>>>"container", mv) >>>> end if >>>> >>>> if mh >= the right of fld "container" then >>>> set the screenmouseloc to the globalloc of (the right of fld >>>>"container", mv) >>>> end if >>>> >>>> if mv <= the top of fld "container" then >>>> set the screenmouseloc to the globalloc of (mh,the top of fld >>>>"container") >>>> end if >>>> >>>> if mv >= the bottom of fld "container" then >>>> set the screenmouseloc to the globalloc of (mh,the bottom of >>>>fld >>>>"container") >>>> end if >>>> >>>> end if >>>>end mousemove >>>> >>>> >>>>Note two things: >>>> >>>>1) The button "Constrain" needs to be within the field "Container" >>>>or you'll >>>>never be able to get out. :-) >>>> >>>>2) It is possible to move the mouse out of the rect for brief >>>>moments, but >>>>then it pops back into the rectangle. I'm assuming it's a >>>>function of >>>>slipping out between a mousemove scan. >>>> >>>> >>>> >>>>-- >>>>Regards, >>>> >>>>Howard Bornstein >>>>----------------------- >>>>www.designeq.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 >> >>Peter T. Evensen >>http://www.PetersRoadToHealth.com >>314-629-5248 or 888-682-4588 >> >>_______________________________________________ >>use-revolution mailing list >>use-revolution 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 Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 From pevensen at siboneylg.com Thu Aug 17 18:46:48 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 17 Aug 2006 17:46:48 -0500 Subject: Constraining the pointer within a rect In-Reply-To: <C2140F7C-232C-4DAC-841A-5654EBF4E859@elementarysoftware.co m> References: <200608171505.k7HF5hwV007624@ms-smtp-03.rdc-nyc.rr.com> <3f07cc260608170840j7af9b897qaf72cb39ce3e40bd@mail.gmail.com> <F76E99B1-930F-4B4B-ACB0-15241715157D@elementarysoftware.com> <6.2.1.2.2.20060817152028.05059c20@exchange.slg.com> <C2140F7C-232C-4DAC-841A-5654EBF4E859@elementarysoftware.com> Message-ID: <6.2.1.2.2.20060817174509.027d1da0@exchange.slg.com> If you want to keep the item within a rectangle, you could still do the check inside the rectangle. You will get a mouseLeave when the mouse goes into a control contained in the area, but the check will determine that no mouse adjustments are necessary. This will cut down on the number of messages needed. If you want to constrain the mouse to the window, see my previous post which works even better (or so it seems). At 05:13 PM 8/17/2006, you wrote: >Ah, trapping the mouseLeave is much more elegant from a "number-of- >messages-needed" standpoint. I just tried it. Unfortunately, in my >situation, because a mouseLeave object only works for the portion >that is not covered by another object (and it can't be transparent) >this makes it awkward to use any controls underneath. > >On Aug 17, 2006, at 1:20 PM, Peter T. Evensen wrote: > >>Perhaps you could just create an object and trap the mouseLeave >>message and move the pointer in that? >> >>At 03:14 PM 8/17/2006, you wrote: >>>I found that using a "send in time" structure to check the mouseLoc >>>rather than waiting for the mouseMove message was slightly more >>>reliable (OSX) and better kept it from going outside the bounding >>>area. >>> >>>on MouseTrap >>> -- keep the mouse pointer inside the window >>> if the optionkey is NOT "down" then -- but overide this behavior >>>with the "optionKey" >>> put item 1 of globalLoc(the mouseLoc) into x >>> put item 2 of globalLoc(the mouseLoc) into y >>> put the top of this stack into tTopEdge >>> put the bottom of this stack into tBottomEdge >>> put the right of this stack into tRightEdge >>> put the left of this stack into tLeftEdge >>> if x < tLeftEdge then put tLeftEdge +1 into x >>> if x > tRightEdge then put tRightEdge -1 into x >>> if y < tTopEdge then put tTopEdge +1 into y >>> if y > tBottomEdge then put tBottomEdge-1 into y >>> set the screenmouseloc to x,y >>> end if >>> send MouseTrap to me in 40 millisec >>>end MouseTrap >>> >>> >>>-Scott Morrow >>> >>>Elementary Software >>>(Now with 20% less chalk dust !) >>>web http://elementarysoftware.com/ >>>email scott at elementarysoftware.com >>> >>>----------------------------------------------------------------- >>> >>>On Aug 17, 2006, at 8:40 AM, Howard Bornstein wrote: >>> >>>>This script seems to work with adequate performance: >>>> >>>>on mousemove mh,mv >>>> if the hilite of btn "constrain" is true then >>>> >>>> if mh <= the left of fld "container" then >>>> set the screenmouseloc to the globalloc of (the left of fld >>>>"container", mv) >>>> end if >>>> >>>> if mh >= the right of fld "container" then >>>> set the screenmouseloc to the globalloc of (the right of fld >>>>"container", mv) >>>> end if >>>> >>>> if mv <= the top of fld "container" then >>>> set the screenmouseloc to the globalloc of (mh,the top of fld >>>>"container") >>>> end if >>>> >>>> if mv >= the bottom of fld "container" then >>>> set the screenmouseloc to the globalloc of (mh,the bottom of >>>>fld >>>>"container") >>>> end if >>>> >>>> end if >>>>end mousemove >>>> >>>> >>>>Note two things: >>>> >>>>1) The button "Constrain" needs to be within the field "Container" >>>>or you'll >>>>never be able to get out. :-) >>>> >>>>2) It is possible to move the mouse out of the rect for brief >>>>moments, but >>>>then it pops back into the rectangle. I'm assuming it's a >>>>function of >>>>slipping out between a mousemove scan. >>>> >>>> >>>> >>>>-- >>>>Regards, >>>> >>>>Howard Bornstein >>>>----------------------- >>>>www.designeq.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 >> >>Peter T. Evensen >>http://www.PetersRoadToHealth.com >>314-629-5248 or 888-682-4588 >> >>_______________________________________________ >>use-revolution mailing list >>use-revolution 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 Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 From janselid at broadpark.no Thu Aug 17 20:52:39 2006 From: janselid at broadpark.no (=?iso-8859-1?Q?Jan_S=E6lid?=) Date: Fri, 18 Aug 2006 02:52:39 +0200 Subject: Constraining the pointer within a rect In-Reply-To: <7f9a8342e37065555f0baa8bbd5f645b@dvglasgow.wanadoo.co.uk> References: <20060816170007.EAD5D82515E@mail.runrev.com> <7f9a8342e37065555f0baa8bbd5f645b@dvglasgow.wanadoo.co.uk> Message-ID: <000001c6c260$9ad88d50$d089a7f0$@no> This is just another addition to the suggestions. It is based on Tactile medias dragsample stack. Put it inside whatever object you want. Press and hold the mousebutton and drag the mouse to activate it. Change the mousedown, mouserelease and mouseup to any other handler you want. It is stable but there's still some minor flickering of the mouse cursor. At least on windows... ---- local constrain,boxL,boxR,boxT,boxB ON mouseDown put item 1 of rect of me+4 into boxL -- change number 4 to suit your needs put item 3 of rect of me-4 into boxR -- change 4 put item 2 of rect of me+4 into boxT -- change 4 put item 4 of rect of me-4 into boxB -- change 4 put true into constrain END mouseDown ON mouseMove x,y IF not constrain THEN exit mouseMove set the screenmouseloc to \ globalloc(min(boxR,max(boxL,(x))) & "," & min(boxB,max(boxT,(y)))) END mouseMove ON mouseUp put false into constrain END mouseUp ON mouseRelease mouseUp END mouseRelease ---- From ckutay at cse.unsw.edu.au Thu Aug 17 21:03:09 2006 From: ckutay at cse.unsw.edu.au (Cat Kutay) Date: Fri, 18 Aug 2006 11:03:09 +1000 Subject: Use of Phonetic Script Message-ID: <44E511CD.20705@cse.unsw.edu.au> Please I am trying to compare phonetic script from the htmlText of a card, and in a database. However the htmlText im meoory seems to lose the unicode formating, and also displaying messages for error do not have the formatting Any ideas Thanks From scott at elementarysoftware.com Fri Aug 18 00:29:36 2006 From: scott at elementarysoftware.com (Scott Morrow) Date: Thu, 17 Aug 2006 21:29:36 -0700 Subject: Constraining the pointer within a rect In-Reply-To: <6.2.1.2.2.20060817172632.02750c40@exchange.slg.com> References: <200608171505.k7HF5hwV007624@ms-smtp-03.rdc-nyc.rr.com> <3f07cc260608170840j7af9b897qaf72cb39ce3e40bd@mail.gmail.com> <F76E99B1-930F-4B4B-ACB0-15241715157D@elementarysoftware.com> <6.2.1.2.2.20060817152028.05059c20@exchange.slg.com> <C2140F7C-232C-4DAC-841A-5654EBF4E859@elementarysoftware.com> <6.2.1.2.2.20060817172632.02750c40@exchange.slg.com> Message-ID: <296976E4-2BA3-4113-B055-C893321BA082@elementarysoftware.com> Peter , Neat. That works really well. Alas, the stack I'm needing this for has a custom window shape and needs drag regions and images in buttons that are up against or overlapping the edge of the card, thus providing a path for the mouse to "escape." It is probably possible to rework my use of buttons but the lost convenience is too great. Sigh. -Scott On Aug 17, 2006, at 3:32 PM, Peter T. Evensen wrote: > Actually, if you put the following in the card or stack and do > you're constraining, it should work: > > on mouseLeave > if the target is me then > --- constrain here > end if > end mouseLeave > > The issue is, if you put this in the card or stack script, and a > control doesn't trap mouseLeave, the control will pass it's > mouseLeave up to the stack or card. > > I did a test with this in the card script with a button on it, and > only got "mouse left" when I moved outside the window, and not when > I moved over a control in the window: > > on mouseLeave > if the target is me then put "Mouse Left" > end mouseLeave > > on mouseEnter > if the target is me then put "mouse entered" > end mouseEnter > > At 05:13 PM 8/17/2006, you wrote: >> Ah, trapping the mouseLeave is much more elegant from a "number- >> of- messages-needed" standpoint. I just tried it. Unfortunately, >> in my >> situation, because a mouseLeave object only works for the portion >> that is not covered by another object (and it can't be transparent) >> this makes it awkward to use any controls underneath. >> >> On Aug 17, 2006, at 1:20 PM, Peter T. Evensen wrote: >> >>> Perhaps you could just create an object and trap the mouseLeave >>> message and move the pointer in that? >>> >>> At 03:14 PM 8/17/2006, you wrote: >>>> I found that using a "send in time" structure to check the mouseLoc >>>> rather than waiting for the mouseMove message was slightly more >>>> reliable (OSX) and better kept it from going outside the bounding >>>> area. >>>> >>>> on MouseTrap >>>> -- keep the mouse pointer inside the window >>>> if the optionkey is NOT "down" then -- but overide this >>>> behavior >>>> with the "optionKey" >>>> put item 1 of globalLoc(the mouseLoc) into x >>>> put item 2 of globalLoc(the mouseLoc) into y >>>> put the top of this stack into tTopEdge >>>> put the bottom of this stack into tBottomEdge >>>> put the right of this stack into tRightEdge >>>> put the left of this stack into tLeftEdge >>>> if x < tLeftEdge then put tLeftEdge +1 into x >>>> if x > tRightEdge then put tRightEdge -1 into x >>>> if y < tTopEdge then put tTopEdge +1 into y >>>> if y > tBottomEdge then put tBottomEdge-1 into y >>>> set the screenmouseloc to x,y >>>> end if >>>> send MouseTrap to me in 40 millisec >>>> end MouseTrap >>>> >>>> >>>> -Scott Morrow >>>> >>>> Elementary Software >>>> (Now with 20% less chalk dust !) >>>> web http://elementarysoftware.com/ >>>> email scott at elementarysoftware.com >>>> >>>> ----------------------------------------------------------------- >>>> >>>> On Aug 17, 2006, at 8:40 AM, Howard Bornstein wrote: >>>> >>>>> This script seems to work with adequate performance: >>>>> >>>>> on mousemove mh,mv >>>>> if the hilite of btn "constrain" is true then >>>>> >>>>> if mh <= the left of fld "container" then >>>>> set the screenmouseloc to the globalloc of (the left of fld >>>>> "container", mv) >>>>> end if >>>>> >>>>> if mh >= the right of fld "container" then >>>>> set the screenmouseloc to the globalloc of (the right of fld >>>>> "container", mv) >>>>> end if >>>>> >>>>> if mv <= the top of fld "container" then >>>>> set the screenmouseloc to the globalloc of (mh,the top of fld >>>>> "container") >>>>> end if >>>>> >>>>> if mv >= the bottom of fld "container" then >>>>> set the screenmouseloc to the globalloc of (mh,the bottom of >>>>> fld >>>>> "container") >>>>> end if >>>>> >>>>> end if >>>>> end mousemove >>>>> >>>>> >>>>> Note two things: >>>>> >>>>> 1) The button "Constrain" needs to be within the field "Container" >>>>> or you'll >>>>> never be able to get out. :-) >>>>> >>>>> 2) It is possible to move the mouse out of the rect for brief >>>>> moments, but >>>>> then it pops back into the rectangle. I'm assuming it's a >>>>> function of >>>>> slipping out between a mousemove scan. >>>>> >>>>> >>>>> >>>>> -- >>>>> Regards, >>>>> >>>>> Howard Bornstein >>>>> ----------------------- >>>>> www.designeq.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 >>> >>> Peter T. Evensen >>> http://www.PetersRoadToHealth.com >>> 314-629-5248 or 888-682-4588 >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution 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 > > Peter T. Evensen > http://www.PetersRoadToHealth.com > 314-629-5248 or 888-682-4588 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sharonstamps at byu.edu Fri Aug 18 01:28:16 2006 From: sharonstamps at byu.edu (Sharon Stamps) Date: Thu, 17 Aug 2006 23:28:16 -0600 Subject: Print Card Missing Objects? Message-ID: <75148698-B271-4B86-BF17-32040B77E3AD@byu.edu> Here's my problem - I am setting up a stack and then printing all the cards. I have been testing the printing feature to make sure it looks right before printing over 200 cards at a time. As I have been testing, parts of my card have gone missing - on one printout I have a line in my table field, the next printout I don't; I have an image on the lower right hand corner that prints every time, but the group of buttons to the left of it doesn't print out at all. Between printings I have changed the data I am importing, but nothing in the stack itself. (Although I did try to move the group of buttons to see if I could get them to show up in the printout) I didn't know I would run into this problem and I need a solution ASAP! Can anyone help? And while we're on the subject - I am basically filling in a form and then copying the filled in form to a new card. This should be done over 200 times, resulting in over 200 cards. However, by the time I reach 20-25 cards, the stack becomes VERY lethargic and even after the script has finished (for 25 cards it takes about 1.5 minutes), the stack is super super slow. I don't have too many cards and I should be able to have the 200 I want, right? Any ideas on why it's so slow? It's basically just fields and buttons. Thanks a bunch in advance! Sharon _____________ Sharon Stamps Testing Specialist English Language Center Brigham Young University (801) 319-7907 sharonstamps at byu.edu From dsc at swcp.com Fri Aug 18 02:05:28 2006 From: dsc at swcp.com (Dar Scott) Date: Fri, 18 Aug 2006 00:05:28 -0600 Subject: Use of Phonetic Script In-Reply-To: <44E511CD.20705@cse.unsw.edu.au> References: <44E511CD.20705@cse.unsw.edu.au> Message-ID: <5BF41EFE-FFBB-40C1-B68C-9BC784288C5D@swcp.com> On Aug 17, 2006, at 7:03 PM, Cat Kutay wrote: > I am trying to compare phonetic script from the htmlText of a card, > and in a database. However the htmlText im meoory seems to lose the > unicode formating, and also displaying messages for error do not > have the formatting Concerning the displaying of messages, the Revolution command dictionary entry for 'answer' includes this paragraph: The prompt can be either formatted text (in the htmlText property's format) or plain text. If the prompt contains <p> or a start/end tag pair, the answer command assumes the text is in the same format as the htmlText property. Otherwise, the answer command assumes the text is plain text. So, if you are using 'answer' to display messages with the special characters, try wrapping the text with <p>. Concerning the loss of unicode in memory, I have assumed IPA for the phonetic script and tried this: on mouseUp set the useUnicode to true -- IPA for "er" in some dialects of English set the unicodeText of field "field" to numToChar(0x025A) put the htmlText of field "field" end mouseUp That put this into the message box: <p><font face="Lucida Grande" lang="ja">ɚ</font></p> (Don't worry about the "ja"; Revolution thinks everything is Japanese.) The IPA "er" is represented by the "ɚ". Notice that the number is now in decimal, not in hexadecimal. I have seen Revolution get confused about diacritical marks, so if there are combining marks in your phonetic notation, then there might be a problem. For example, I tried to modify the above handler to display a dental t, but the diacritic did not display and it was isolated from the t in the htmlText. If the database uses UTF-16 or UTF-18 rather than the number for the character or a character encoding other than Unicode, then you might have trouble with the comparison. If you want Unicode text, then use the unicodeText property. That is UTF-16 in host byte order. You can convert that to UTF-8 with the uniDecode() function. Look at 'unicodeText' and 'uniDecode' in the Revolution dictionary. I might have misunderstood the problem. Please ask again if that is the case. Dar Scott From eric.chatonet at sosmartsoftware.com Fri Aug 18 03:13:33 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 18 Aug 2006 09:13:33 +0200 Subject: Line numbers in scripteditor? In-Reply-To: <70ed6b130608162055l13838565l40abcb0f029dd325@mail.gmail.com> References: <b016f13e0608160514p1354d896g348f2890645620b8@mail.gmail.com> <70ed6b130608162055l13838565l40abcb0f029dd325@mail.gmail.com> Message-ID: <3FF5BECF-0267-48AB-BB07-6535672903F9@sosmartsoftware.com> Hi all, I could not resist: there is a very simple solution: on selectionChanged if the short name of the owner of the target = "revScript" \ and the short name of the selectedfield = "script" then put word 2 of the selectedLine into fld "GoLine" end if pass selectionChanged end selectionChanged Paste this handler into the "revCommon" back script and save it. The "Go line" box will be interactive: allowing to go to any line or displaying the number of the current clicked line. Le 17 ao?t 06 ? 05:55, Dan Shafer a ?crit : > Nope. > You can: > > (1) copy-paste and do your script editing in BBEdit on OS X or some > other > editor on Windows. > (2) switch to Galaxy from Daniels-Mara which, if memory serves, > does include > this ability. > > On 8/16/06, William de Smet <wdesmet at wanadoo.nl> wrote: >> >> Hi there, >> >> Is it possible to show line numbers in the scripteditor? >> If it is I don't know how to show them. >> >> greetings, >> >> William (from a sunny Holland) >> _______________________________________________ Best Regards from Paris, Eric Chatonet ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From Andre.Bisseret at inria.fr Fri Aug 18 04:13:00 2006 From: Andre.Bisseret at inria.fr (=?ISO-8859-1?Q? Andr=E9.Bisseret ?=) Date: Fri, 18 Aug 2006 10:13:00 +0200 Subject: Line numbers in scripteditor? In-Reply-To: <3FF5BECF-0267-48AB-BB07-6535672903F9@sosmartsoftware.com> References: <b016f13e0608160514p1354d896g348f2890645620b8@mail.gmail.com> <70ed6b130608162055l13838565l40abcb0f029dd325@mail.gmail.com> <3FF5BECF-0267-48AB-BB07-6535672903F9@sosmartsoftware.com> Message-ID: <75D99CEE-18FE-4A9E-90B1-9A00EA92E5CF@inria.fr> Bonjour ?ric, I am very happy to read you again here ! Nice weather on this list to day :-))), thanks to William I hope others will post questions that you will not resist to answer to ;-)) Best regards from Grenoble Andr? Le 18 ao?t 06 ? 09:13, Eric Chatonet a ?crit : > Hi all, > > I could not resist: there is a very simple solution: > > on selectionChanged > if the short name of the owner of the target = "revScript" \ > and the short name of the selectedfield = "script" then > put word 2 of the selectedLine into fld "GoLine" > end if > pass selectionChanged > end selectionChanged > > Paste this handler into the "revCommon" back script and save it. > The "Go line" box will be interactive: allowing to go to any line > or displaying the number of the current clicked line. > > Le 17 ao?t 06 ? 05:55, Dan Shafer a ?crit : > >> Nope. >> You can: >> >> (1) copy-paste and do your script editing in BBEdit on OS X or >> some other >> editor on Windows. >> (2) switch to Galaxy from Daniels-Mara which, if memory serves, >> does include >> this ability. >> >> On 8/16/06, William de Smet <wdesmet at wanadoo.nl> wrote: >>> >>> Hi there, >>> >>> Is it possible to show line numbers in the scripteditor? >>> If it is I don't know how to show them. >>> >>> greetings, >>> >>> William (from a sunny Holland) >>> _______________________________________________ > > > 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 david at dvglasgow.wanadoo.co.uk Fri Aug 18 04:36:23 2006 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Fri, 18 Aug 2006 09:36:23 +0100 Subject: Constraining the pointer within a rect In-Reply-To: <20060817170005.2AFCF8250BE@mail.runrev.com> References: <20060817170005.2AFCF8250BE@mail.runrev.com> Message-ID: <e5d1348b171dca537e77791d351f416c@dvglasgow.wanadoo.co.uk> Thanks Phil, Howard and Peter. I can't get Phil's script to work any better, even with messages locked. Howard's seems fine even without. This suggests that the problem with Phil's is not a recursion caused by set mousescreenloc, because Howard uses that too. (Ironically, my original Rev 1.x script used if thens, so maybe I should have just resurrected that). Unless there is a further contribution explaining and fixing the jerky cursor with Phil's script, I declare the Howard method the preferred technique for doing a thing you oughn't ;-)) Best Wishes, David Glasgow Carlton Glasgow Partnership http://www.i-psych.co.uk From david at dvglasgow.wanadoo.co.uk Fri Aug 18 04:57:30 2006 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Fri, 18 Aug 2006 09:57:30 +0100 Subject: Constraining the pointer within a rect Message-ID: <c130c63dfd09690704d1abdd6f4a9585@dvglasgow.wanadoo.co.uk> ......and another interesting thing. Having played with Howards Way (heh!) a little, I find that there are strange 'weaknesses' near the corners of the rect through which you can sneak the pointer a little way until the script spots the breakout and does its thing. How weird is that? Best Wishes, David Glasgow Carlton Glasgow Partnership http://www.i-psych.co.uk From david at dvglasgow.wanadoo.co.uk Fri Aug 18 05:04:04 2006 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Fri, 18 Aug 2006 10:04:04 +0100 Subject: Constraining the pointer within a rect Message-ID: <4eed6e8ab0d7c04dbb9b6ae63e19a438@dvglasgow.wanadoo.co.uk> I promise this is the last interesting thing.... The script works even if Rev isn't the frontmost application, as long as there are no windows between the front and the Rev stack. I found my pointer a prisoner when I was in Mail! Best Wishes, David Glasgow Carlton Glasgow Partnership http://www.i-psych.co.uk From janselid at broadpark.no Fri Aug 18 05:06:10 2006 From: janselid at broadpark.no (=?iso-8859-1?Q?Jan_S=E6lid?=) Date: Fri, 18 Aug 2006 11:06:10 +0200 Subject: Constraining the pointer within a rect In-Reply-To: <c130c63dfd09690704d1abdd6f4a9585@dvglasgow.wanadoo.co.uk> References: <c130c63dfd09690704d1abdd6f4a9585@dvglasgow.wanadoo.co.uk> Message-ID: <000401c6c2a5$8c4ff300$a4efd900$@no> Hi David, I sent you another suggestion. Maybe it slipped through. Try it. It's stable. Just put this into the script of a button or rectangle. Try it --- local constrain,boxL,boxR,boxT,boxB ON mouseDown put item 1 of rect of me+4 into boxL -- change 4 to your own needs put item 3 of rect of me-4 into boxR -- change 4 put item 2 of rect of me+4 into boxT -- change 4 put item 4 of rect of me-4 into boxB -- change 4 put true into constrain END mouseDown ON mouseMove x,y IF not constrain THEN exit mouseMove set the screenmouseloc to \ globalloc(min(boxR,max(boxL,(x))) & "," &min(boxB,max(boxT,(y)))) END mouseMove ON mouseUp put false into constrain END mouseUp ON mouseRelease mouseUp END mouseRelease --- Jan From JimAultWins at yahoo.com Fri Aug 18 10:07:05 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 18 Aug 2006 07:07:05 -0700 Subject: Print Card Missing Objects? In-Reply-To: <75148698-B271-4B86-BF17-32040B77E3AD@byu.edu> Message-ID: <C10B1799.3C682%JimAultWins@yahoo.com> > And while we're on the subject - I am basically filling in a form and > then copying the filled in form to a new card. This should be done > over 200 times, resulting in over 200 cards. However, by the time I > reach 20-25 cards, the stack becomes VERY lethargic and even after > the script has finished (for 25 cards it takes about 1.5 minutes), > the stack is super super slow. I don't have too many cards and I > should be able to have the 200 I want, right? Any ideas on why it's > so slow? It's basically just fields and buttons. <full post below> Quick reply, since I have little time this morning and am not familiar with the printing issues in Rev. Point 1. Design the fields and buttons on a card that you want to use for all 200 cards and group them. Now, while in pointer mode, select the group, go into the inspector and choose "Behave like a background". This will mean that if you are in browse mode, looking at this card and choose "New Card" from the menu, the new card will also have this group. At this point, the fields will be blank, since each card can hold different information. You may have a field that is a set of instructions that you want to appear on every card and when you make a change, it will change on every card. To do this, go into pointer mode, select the group, choose 'edit group', select the field, then in the inspector choose 'share text'. You could already know this, but when you say 'copy the filled form to another card', this sounds like a counter-productive technique. If you want the field contents to be copied to the next card, I would suggest a small utility script such as repeat with x = 1 to the number of fields put field x of the previous card into field x end repeat To make 200 cards try repeat 200 times lock screen new card repeat with x = 1 to the number of fields put field x of the previous card into field x end repeat end repeat By the way, do know Devin Asay at BYU? He is a very accomplished Rev guy and does a lot to help others on this list. Devin Asay Humanities Technology and Research Support Center Brigham Young University Hope this helps Jim Ault Las Vegas On 8/17/06 10:28 PM, "Sharon Stamps" <sharonstamps at byu.edu> wrote: > Here's my problem - I am setting up a stack and then printing all the > cards. I have been testing the printing feature to make sure it > looks right before printing over 200 cards at a time. As I have been > testing, parts of my card have gone missing - on one printout I have > a line in my table field, the next printout I don't; I have an image > on the lower right hand corner that prints every time, but the group > of buttons to the left of it doesn't print out at all. Between > printings I have changed the data I am importing, but nothing in the > stack itself. (Although I did try to move the group of buttons to > see if I could get them to show up in the printout) I didn't know I > would run into this problem and I need a solution ASAP! Can anyone > help? > > And while we're on the subject - I am basically filling in a form and > then copying the filled in form to a new card. This should be done > over 200 times, resulting in over 200 cards. However, by the time I > reach 20-25 cards, the stack becomes VERY lethargic and even after > the script has finished (for 25 cards it takes about 1.5 minutes), > the stack is super super slow. I don't have too many cards and I > should be able to have the 200 I want, right? Any ideas on why it's > so slow? It's basically just fields and buttons. > > Thanks a bunch in advance! > > Sharon > > > _____________ > Sharon Stamps > Testing Specialist > English Language Center > Brigham Young University > (801) 319-7907 > sharonstamps at byu.edu > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 dvglasgow.wanadoo.co.uk Fri Aug 18 11:08:19 2006 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Fri, 18 Aug 2006 16:08:19 +0100 Subject: Constraining the pointer within a rect In-Reply-To: <20060818123151.903988253B5@mail.runrev.com> References: <20060818123151.903988253B5@mail.runrev.com> Message-ID: <d3c70186c833a1742eb42ef5dcdd721c@dvglasgow.wanadoo.co.uk> On 18 Aug 2006, at 1:31 pm, Jan S?lid wrote: > Hi David, I sent you another suggestion. Maybe it slipped through. Try > it. > It's stable. Just put this into the script of a button or rectangle. > Try it Thanks, Jan. It is very jerky and slow here. Maybe this is an OS X thing? I am using Panther, G4 iMac/TiBook. Best Wishes, David Glasgow Carlton Glasgow Partnership http://www.i-psych.co.uk From bobs at twft.com Fri Aug 18 11:23:12 2006 From: bobs at twft.com (Robert Sneidar) Date: Fri, 18 Aug 2006 08:23:12 -0700 Subject: Plugins folder? (was Re: How Galaxy is...) In-Reply-To: <20060818123152.3731F8253BD@mail.runrev.com> References: <20060818123152.3731F8253BD@mail.runrev.com> Message-ID: <74DE5C9D-0B1C-474B-8C4B-067064A2B8DA@twft.com> Oddly though, my Galaxy Studio did not work in this configuration. I had to move the Galaxy folder and stack to the Applications/ Revolution Studio/2.7.3-gm-1/Plugins folder to get it to load automatically. I don't know why. Bob Sneidar IT Manager Logos Management Calvary Chapel CM >> As to where it is documented, I'm not sure. Perhaps in a 2.7.? >> read me file? > > I found it. It was hidden under Distribution Structure: > > There is a new directory structure. The customization folder is > in "Documents/My > Revolution [edition]", and contains subfolders: > Plug ins now load from "Plugins" folder > Database drivers now load from "Database Drivers" folder > Externals now load from "Externals" folder > External & database drivers loaded here are picked up by > Standalone Builder > Object Libraries now stored in Resources/Object Libraries > Image Libraries now stored in Resources/Image Libraries > Files placed in these folders will override the files installed > in the main Revolution > installation directory. Thus all of these components will > survive an update to the > main Revolution install. > > Hmmm. I assume that by externals, it means revolution externals. > > Dar Scott From jbv.silences at club-internet.fr Fri Aug 18 11:47:24 2006 From: jbv.silences at club-internet.fr (jbv) Date: Fri, 18 Aug 2006 17:47:24 +0200 Subject: Rev cgi & gzip HTML data to browser Message-ID: <44E5E100.20B3C979@club-internet.fr> Hi list, Has anyone tried to send compress data (gzip) from Rev cgi to a browser ? I've spent the afternoon experimenting with this, and it works quite well (compress() squeezes 1 Mb of HTML data into 120 Kb), but it seems that the browser takes forever to decompress the code... And finally, there's no real gain, since the time saved in downloading data is lost when browser decompresses data... Is there any trick / tip ? I had the feeling that decompress routines embeded in the browser (IE6 Win) would be much faster, at least as fast as the decompress() function in Rev... Sure, my Win box is a bit slow (Athlon 1.46 GHz), but nevertheless... Thanks, JB From ambassador at fourthworld.com Fri Aug 18 12:04:31 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 18 Aug 2006 09:04:31 -0700 Subject: Top 5 Articles at revJournal.com Message-ID: <44E5E50F.7000602@fourthworld.com> I was reviewing the hit logs for revJournal.com today, and discovered that the top 5 most frequently accessed articles there are, in order: #1: Using Imported Images in Your Stack by Sandy Beadle <http://www.revjournal.com/tutorials/importing-images-in-revolution.html> #2: Making of ArcadeEngine by Malte Brill <http://www.revjournal.com/features/arcade-engine.html> #3: Everything You Know Is Wrong, Part 1 by Mark Wieder, Ah Software <http://www.revjournal.com/tutorials/everything-you-know.html> #4: Handy Handlers #5: Pack/Unpack by yours truly <http://www.revjournal.com/tutorials/handy-handlers-005.html> #5: Saving data in Revolution standalones by Sarah Reichelt <http://www.revjournal.com/tutorials/saving_data_in_revolution.html> If you haven't read these yet I think you'll find them very useful. Many thanks to these authors and the others who've contributed to revJournal. As a community-driven effort, revJournal relies on submissions like these from Rev developers who want to share their knowledge to help others. If you'd like to contribute an article to the growing knowledge base there, just drop me a note anytime. And don't worry if you're not a professional developer -- the #1 article at revJournal was submitted by an educator who learned a few tips about working with images and wanted to pass those along (good work, Sandy). -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From joel.guillod at net2000.ch Fri Aug 18 12:14:26 2006 From: joel.guillod at net2000.ch (Joel Guillod) Date: Fri, 18 Aug 2006 18:14:26 +0200 Subject: How to find which applications for this file? In-Reply-To: <20060816170008.6BD8A82516E@mail.runrev.com> References: <20060816170008.6BD8A82516E@mail.runrev.com> Message-ID: <1DFE04C9-F2BF-4F76-B3AB-19C5B76AB174@net2000.ch> From a file path or a file extension or a MIME type, how can we get a list of the applications which can open the corresponding file? The "launch document <filepath>" can open the corresponding application like a double-click in the Finder/Windows Explorer. But has anyone some tricks to get a list of compatible application for a file or MIME: Applescript (on MacOSX) or shell commands (MacOSX, Windows, Linux)? Thanks for each appropriate reply! From david at openpartnership.net Fri Aug 18 12:32:19 2006 From: david at openpartnership.net (David Bovill) Date: Fri, 18 Aug 2006 17:32:19 +0100 Subject: HTML email from Rev Message-ID: <c1c5836b0608180932r3cb5409du6e839ab08a1b7156@mail.gmail.com> Quick question - client wants to able to send emails with images and links. Attachments do not show up reliably. Different email clients show things different ways - what is the best way to do this so it works? What are the steps to get Rev to create and send rich email that shows correctly in the majority of email clients? From bmmeili at swissonline.ch Fri Aug 18 12:36:26 2006 From: bmmeili at swissonline.ch (Martin Meili) Date: Fri, 18 Aug 2006 18:36:26 +0200 Subject: Problems with standalonebuilder of Rev.2.7.3.? Message-ID: <afc3dfe40937aa1291b7c8926c589782@swissonline.ch> Hi I've got a stack I can tax my students in terms of different language skills with (sliders, text fields in combination with sliders). The program runs very fast on my PowerPC, OS 10.3.9. I store the data of each student in textfiles. They are reloadable in my taxation panel. If I use Revolution 2.7.2 and have a standalone for the intel-32 processor built , the program runs sufficiently, that means, it's slower than on the PowerPC, but every feature of the program works as I want it to do. If I use Revolution 2.7.3, it seems to be faster, but storing data doesn't work anymore. There must be something wrong with the path, and the sliders in combination with the textfields don't work anymore. You can enter data into the texfields using the ask dialogue, but the thumbposition of the sliders don't change. What's wrong here? Has anybody had the same or other problems with the Rev.2.7.3. standalone builder? Martin From sharonstamps at byu.edu Fri Aug 18 13:37:22 2006 From: sharonstamps at byu.edu (Sharon Stamps) Date: Fri, 18 Aug 2006 11:37:22 -0600 Subject: Print Card Missing Objects? In-Reply-To: <C10B1799.3C682%JimAultWins@yahoo.com> References: <C10B1799.3C682%JimAultWins@yahoo.com> Message-ID: <795A3B5C-0E02-4B9B-9AE9-D0BF2004EFC4@byu.edu> Jim, Thanks for the help - I thought of this, but decided it might be counter-productive, because I didn't want to have to create all the cards before copying the info. I have fields, buttons, and graphics that need to be located in a certain place on each different form, so having the group placed on the card would mean that I would have to run the script to each card to accomplish that, right? I really appreciate the suggestion. And actually, I went ahead and built the standalone and the copying process was speedy (less than a minute for 200 cards). For some reason, it was just a problem with doing it in the revolution environment. I also worked around my printing appearance issues by just printing to a pdf and then printing the pdf. Not completely efficient, but I needed a quick solution and that was the one. I'm still wondering why the problem occurs when revolution prints... Thanks for recommending Devin - he's actually one of main reasons why I use revolution and why I even started programming at all! I gave him a ring as soon as I ran into my problems - but he's out of the office until the 22nd. I was hoping he or one of you would read this and respond. :) And Devin, if you see this, I'd really appreciate it if you wouldn't schedule being gone right when I need advice :) Thanks again! Sharon On Aug 18, 2006, at 8:07 AM, Jim Ault wrote: >> And while we're on the subject - I am basically filling in a form and >> then copying the filled in form to a new card. This should be done >> over 200 times, resulting in over 200 cards. However, by the time I >> reach 20-25 cards, the stack becomes VERY lethargic and even after >> the script has finished (for 25 cards it takes about 1.5 minutes), >> the stack is super super slow. I don't have too many cards and I >> should be able to have the 200 I want, right? Any ideas on why it's >> so slow? It's basically just fields and buttons. > <full post below> > Quick reply, since I have little time this morning and am not > familiar with > the printing issues in Rev. > > Point 1. Design the fields and buttons on a card that you want to > use for > all 200 cards and group them. Now, while in pointer mode, select > the group, > go into the inspector and choose "Behave like a background". This > will mean > that if you are in browse mode, looking at this card and choose > "New Card" > from the menu, the new card will also have this group. > > At this point, the fields will be blank, since each card can hold > different > information. You may have a field that is a set of instructions > that you > want to appear on every card and when you make a change, it will > change on > every card. To do this, go into pointer mode, select the group, > choose > 'edit group', select the field, then in the inspector choose 'share > text'. > > You could already know this, but when you say 'copy the filled form to > another card', this sounds like a counter-productive technique. If > you want > the field contents to be copied to the next card, I would suggest a > small > utility script such as > > repeat with x = 1 to the number of fields > put field x of the previous card into field x > end repeat > > > To make 200 cards try > > repeat 200 times > lock screen > new card > repeat with x = 1 to the number of fields > put field x of the previous card into field x > end repeat > end repeat > > By the way, do know Devin Asay at BYU? He is a very accomplished > Rev guy > and does a lot to help others on this list. > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > Hope this helps > > Jim Ault > Las Vegas > > On 8/17/06 10:28 PM, "Sharon Stamps" <sharonstamps at byu.edu> wrote: > >> Here's my problem - I am setting up a stack and then printing all the >> cards. I have been testing the printing feature to make sure it >> looks right before printing over 200 cards at a time. As I have been >> testing, parts of my card have gone missing - on one printout I have >> a line in my table field, the next printout I don't; I have an image >> on the lower right hand corner that prints every time, but the group >> of buttons to the left of it doesn't print out at all. Between >> printings I have changed the data I am importing, but nothing in the >> stack itself. (Although I did try to move the group of buttons to >> see if I could get them to show up in the printout) I didn't know I >> would run into this problem and I need a solution ASAP! Can anyone >> help? >> >> And while we're on the subject - I am basically filling in a form and >> then copying the filled in form to a new card. This should be done >> over 200 times, resulting in over 200 cards. However, by the time I >> reach 20-25 cards, the stack becomes VERY lethargic and even after >> the script has finished (for 25 cards it takes about 1.5 minutes), >> the stack is super super slow. I don't have too many cards and I >> should be able to have the 200 I want, right? Any ideas on why it's >> so slow? It's basically just fields and buttons. >> >> Thanks a bunch in advance! >> >> Sharon >> >> >> _____________ >> Sharon Stamps >> Testing Specialist >> English Language Center >> Brigham Young University >> (801) 319-7907 >> sharonstamps at byu.edu >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bvg at mac.com Fri Aug 18 13:39:00 2006 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 18 Aug 2006 19:39:00 +0200 Subject: How to find which applications for this file? In-Reply-To: <1DFE04C9-F2BF-4F76-B3AB-19C5B76AB174@net2000.ch> References: <20060816170008.6BD8A82516E@mail.runrev.com> <1DFE04C9-F2BF-4F76-B3AB-19C5B76AB174@net2000.ch> Message-ID: <95961cbe214d685af8e2a97ba2783672@mac.com> I wanted to do the same on Mac OS X, it seems the only api for such a thing is the Carbon one: "Launch services" I made a command line standalone that facilitates it with filepaths. I can send it to you if you want it (no source code). the usage is: <path to app> -default <path to file> gives back the standard application <path to app> -all <path to file> gives back all the apps that claim to open up the file. to use it from rev you'd do this: shell("test -all /Users/Test/Desktop/test.rev") On Aug 18 2006, at 18:14, Joel Guillod wrote: > From a file path or a file extension or a MIME type, how can we get a > list of the applications which can open the corresponding file? > > The "launch document <filepath>" can open the corresponding > application like a double-click in the Finder/Windows Explorer. But > has anyone some tricks to get a list of compatible application for a > file or MIME: Applescript (on MacOSX) or shell commands (MacOSX, > Windows, Linux)? > > Thanks for each appropriate reply! > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From janselid at broadpark.no Fri Aug 18 15:00:49 2006 From: janselid at broadpark.no (=?iso-8859-1?Q?Jan_S=E6lid?=) Date: Fri, 18 Aug 2006 21:00:49 +0200 Subject: Constraining the pointer within a rect In-Reply-To: <d3c70186c833a1742eb42ef5dcdd721c@dvglasgow.wanadoo.co.uk> References: <20060818123151.903988253B5@mail.runrev.com> <d3c70186c833a1742eb42ef5dcdd721c@dvglasgow.wanadoo.co.uk> Message-ID: <000d01c6c2f8$9e98f4a0$dbcadde0$@no> David, It must be the screenmouseloc that slows the mac. As stated earlier. I guess that is practical to know. I have always used tips from the free stacks of Tactile Media. In their dragsample stack, they explain that it's always more efficient to compare variables instead of repeatedly testing the object's dimensions/position. That's why the dimensions and limits is set outside the mousemove handler in my example. I'll think of a way to replace the screenmouseloc. David wrote >Thanks, Jan. It is very jerky and slow here. Maybe this is an OS X thing? I am using Panther, G4 >iMac/TiBook. From sims at ezpzapps.com Sat Aug 19 06:59:20 2006 From: sims at ezpzapps.com (sims) Date: Sat, 19 Aug 2006 12:59:20 +0200 Subject: Stack width problem PC 2.7.3 (build 278) Message-ID: <p06230900c10c9e7b8f85@ezpzapps.com> I just installed Rev Enterprise 2.7.3 (build 278) on my WIndows machine and cannot make a stack that has a width smaller than 115 pixels. No problem on OS X but on the PC I cannot make or resize a stack that has a width of under 115 pixels. Can anyone else confirm this? ciao, sims European Rev Conference 2006 www.techietours.com From sims at ezpzapps.com Sat Aug 19 07:10:51 2006 From: sims at ezpzapps.com (sims) Date: Sat, 19 Aug 2006 13:10:51 +0200 Subject: Stack width problem PC 2.7.3 (build 278) In-Reply-To: <p06230900c10c9e7b8f85@ezpzapps.com> References: <p06230900c10c9e7b8f85@ezpzapps.com> Message-ID: <p06230901c10ca15d3c3e@[10.0.0.12]> >I just installed Rev Enterprise 2.7.3 (build 278) on my WIndows machine >and cannot make a stack that has a width smaller than 115 pixels. Actually, if I change the decorations I can make it smaller. BUT - in Rev 2.6.1 I have a stack 100 pixels wide with title, menu, minimize, close. When I open that same stack in 2.7.3 it seems to require 115 pixels. Anyone know why this might be so? Bug? sims From shaosean at hotmail.com Sat Aug 19 10:06:00 2006 From: shaosean at hotmail.com (Sean Shao) Date: Sat, 19 Aug 2006 10:06:00 -0400 Subject: HTML email from Rev Message-ID: <BAY105-F36A2BDE75CE59FFE6A8CBEC3430@phx.gbl> Dave, take a look at "Email Encode Library" that will encode data into a properly formatted email message (including file attachments and inline images). To send email from directly within Rev look at "SMTP Library". Email Encode and SMTP Library can be found at: <http://shaosean.wehostmacs.com/downloads.html> Sarah also has a SMTP LIbrary for download at her site: <http://www.troz.net/Rev/libraries.php> Hope that helps, -Sean _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From david at openpartnership.net Sat Aug 19 13:07:45 2006 From: david at openpartnership.net (David Bovill) Date: Sat, 19 Aug 2006 18:07:45 +0100 Subject: HTML email from Rev In-Reply-To: <BAY105-F36A2BDE75CE59FFE6A8CBEC3430@phx.gbl> References: <BAY105-F36A2BDE75CE59FFE6A8CBEC3430@phx.gbl> Message-ID: <c1c5836b0608191007t7ff730c0ja1aca3009d7bdedf@mail.gmail.com> Sean - general question about how to include images in an HTML email: I think they "can" be included as attachements or as references to online images? I guess the latter need to be absolute references - I am not sure about how to reference attached images from the HTML? It would be nice to have an example? From dynamech1 at sbcglobal.net Sat Aug 19 13:47:11 2006 From: dynamech1 at sbcglobal.net (DynaMECH Design Ltd) Date: Sat, 19 Aug 2006 13:47:11 -0400 Subject: serial port, modem, audio files through modem Message-ID: <03d801c6c3b7$7fafffb0$0200a8c0@HP110001> I hope to build a stack that can control a modem to dial a number, then send an audio file through it and hang up. Sounds simple to start, but I can see a few bumps in the road. How can an audio file be sent through the modem? How can the app "listen" to see when the other end has picked up the line? I'm somewhat new to Rev., I have written some simple apps, and thought this would be a useful app (for me, and for others if I can get it to work). Any help would be appreciated. Bruce -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.11.3/423 - Release Date: 8/18/2006 From stephenREVOLUTION at barncard.com Sat Aug 19 14:15:36 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sat, 19 Aug 2006 11:15:36 -0700 Subject: serial port, modem, audio files through modem In-Reply-To: <03d801c6c3b7$7fafffb0$0200a8c0@HP110001> References: <03d801c6c3b7$7fafffb0$0200a8c0@HP110001> Message-ID: <p06230905c10d006c6c62@[192.168.1.40]> Your roadblock to doing this is not Rev, but interface hardware. Modem interfaces just can't send back audio in all cases I've seen. You need something more like an telephone hybrid. If this is a professional installation, I'd suggest finding an interface that is designed for the purpose, especially if the audio is to sound fairly decent. Most modems are designed to listen to audio only before connect, and not receive audio outside of the usual mod/demod it does. Rat Shack crap will not really work well, trust me. I'd search around in the telemarketing and broadcast hardware world for this. Somebody must make a telephone interface. Find something that uses a serial interface; proprietary USB hookups may not work with your app. Here's some of the best interfaces I've seen: http://www.bradleybroadcast.com/2001/Telephone.htm you might contact them and ask for what you need. >I hope to build a stack that can control a modem to dial a number, >then send an audio file through it and hang up. Sounds simple to >start, but I can see a few bumps in the road. How can an audio file >be sent through the modem? How can the app "listen" to see when the >other end has picked up the line? I'm somewhat new to Rev., I have >written some simple apps, and thought this would be a useful app >(for me, and for others if I can get it to work). Any help would be >appreciated. > >Bruce -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From stephenREVOLUTION at barncard.com Sat Aug 19 14:32:02 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sat, 19 Aug 2006 11:32:02 -0700 Subject: serial port, modem, audio files through modem In-Reply-To: <p06230905c10d006c6c62@[192.168.1.40]> References: <03d801c6c3b7$7fafffb0$0200a8c0@HP110001> <p06230905c10d006c6c62@[192.168.1.40]> Message-ID: <p06230906c10d09487fe7@[192.168.1.40]> By the way the broadcast stuff is not cheap new, but there are sometimes some nice Gentner telephone hybrids on ebay and they can be had for less than $300. >Your roadblock to doing this is not Rev, but interface hardware. >Modem interfaces just can't send back audio in all cases I've seen. >You need something more like an telephone hybrid. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From LunchnMeets at aol.com Sat Aug 19 15:56:58 2006 From: LunchnMeets at aol.com (LunchnMeets at aol.com) Date: Sat, 19 Aug 2006 15:56:58 EDT Subject: Multiple beeps Message-ID: <bff.1f2813f.3218c70a@aol.com> Hi Everyone I'm using Mac OSX. How do I vary the interval between beeps? I tried... send beep to me in 0 sec;beep;answer but the beeps are too far apart and there's too much of a delay before the first beep. Thanks in advance, Joe from Orlando, FL From dsc at swcp.com Sat Aug 19 17:34:45 2006 From: dsc at swcp.com (Dar Scott) Date: Sat, 19 Aug 2006 15:34:45 -0600 Subject: Multiple beeps In-Reply-To: <bff.1f2813f.3218c70a@aol.com> References: <bff.1f2813f.3218c70a@aol.com> Message-ID: <4674B6C2-80C3-440F-B880-A58850757EFE@swcp.com> On Aug 19, 2006, at 1:56 PM, LunchnMeets at aol.com wrote: > send beep to me in 0 sec;beep;answer > > but the beeps are too far apart and there's too much of a delay > before the > first beep. The second beep in the above will beep first. The one in the send will beep in the answer. I don't get any delay in hearing the first beep. The above is equivalent to this: beep send "beep" to me in 0 seconds answer "Huh?" The first beep returns right away. It starts a .5 second beep. The send is delayed until the answer dialog is open. The answer takes (say) .4 seconds to open. Once open the pending message can execute and the next beep occurs. So the length of time between the start of the two beeps is the time it takes to open the answer. One approach is to create a sound and play that. It can have a pause you want at the start. Or you can try something like this which makes a double-beep on my machine right when the answer opens: on mouseUp send "dobeep" to me in 0 seconds answer "Huh?" end mouseUp on dobeep beep send beep to me in .15 seconds end dobeep On my machine a beep interrupts a beep, it does not wait for any queued beeps to finish. So that comes out as Beebeep. I was not able to see the delay at the start. Dar From m.schonewille at economy-x-talk.com Sat Aug 19 06:55:03 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 19 Aug 2006 12:55:03 +0200 Subject: Problems with standalonebuilder of Rev.2.7.3.? In-Reply-To: <afc3dfe40937aa1291b7c8926c589782@swissonline.ch> References: <afc3dfe40937aa1291b7c8926c589782@swissonline.ch> Message-ID: <1F62FC1F-5547-440C-A6AD-1D66D159A5E9@economy-x-talk.com> Hi Martin, My first thought is that it is not the standalone builder which causes the problem. If you suspect something is wrong with the path, why don't you just include a check for that in your scripts? if there is a file thePathToYourFile then -- read data etc else beep answer error "Sorry, the file could not be found." end if Probably, correct error handling may help you here. You could check the result after each attempt to access a file. I assume that the sliders don't work because the data is not loaded correctly, while you don't check that the file could be accessed and correct data has been read. If you check the result after each attempt to access the file, you should have a script like this: function readData theFile,theIdentifier open file theFile for read put the result into rslt read from file theFile until EOF if the result is not empty them put cr & the result after rslt close file theFile if rslt is not empty then return "Error:" & cr & rslt -- error 1 else put it into myData if char 1 to length(theIdentifier) of myData is theIdentifier then return myData else set the itemDel to slash return "Error: the file" && last item of theFile && ? "cannot be read." -- error 2 end if end if end readData This is just an example. You can alter the check for correct data in any feasible way, e.g. by checking the number of lines in a file or the presence of a particular string. If error 1 occurs, you may want to check that the path tot he file is correct or possibly that the defaultfolder or directory has been set correctly. If error 2 occurs, maybe something went wrong when you copied the files to the intel Mac. In the case of the latter, you might want to compare the files on both computers: on test answer file "Choose a file..." if it is not empty then put it into myFile open file myFile for binary read read from file myFile until EOF put it into fld 1 close file myFile end if end test Include this script in a new stack with 1 field and run the script. Choose the file when the file dialog appears and open it. Do this on both computers and see if there is any difference. If the test that appears in the text fields, you should probably do a test with the sliders. Do the sliders work if you make a new stack, save the thumbPos values to a file, reset the sliders, open the file again and set the thumbPos values using the data from the file? If not, which script do you use to set the thumbPositions? 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 18-aug-2006, om 18:36 heeft Martin Meili het volgende geschreven: > Hi > I've got a stack I can tax my students in terms of different > language skills with (sliders, text fields in combination with > sliders). The program runs very fast on my PowerPC, OS 10.3.9. I > store the data of each student in textfiles. They are reloadable in > my taxation panel. > > If I use Revolution 2.7.2 and have a standalone for the intel-32 > processor built , the program runs sufficiently, that means, it's > slower than on the PowerPC, but every feature of the program works > as I want it to do. > > If I use Revolution 2.7.3, it seems to be faster, but storing data > doesn't work anymore. There must be something wrong with the path, > and the sliders in combination with the textfields don't work > anymore. You can enter data into the texfields using the ask > dialogue, but the thumbposition of the sliders don't change. > > What's wrong here? Has anybody had the same or other problems with > the Rev.2.7.3. standalone builder? > > Martin > From m.schonewille at economy-x-talk.com Sat Aug 19 07:19:49 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 19 Aug 2006 13:19:49 +0200 Subject: Rev cgi & gzip HTML data to browser In-Reply-To: <44E5E100.20B3C979@club-internet.fr> References: <44E5E100.20B3C979@club-internet.fr> Message-ID: <51CB7937-AFBE-4554-8AE4-CC70FC6817D0@economy-x-talk.com> HiJB, It is not clear to me whether you are trying to display data in a browser or want to download a file to disk. In any case, make sure that the first line returned by the cgi contains the correct mime type for the .gz extension: put "Content-Type: application/octet-stream" & cr & cr It is possible that the browser slows down because it needs to find out what type of data it is downloading. Providing the correct mime type may help. 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 18-aug-2006, om 17:47 heeft jbv het volgende geschreven: > Hi list, > > Has anyone tried to send compress data (gzip) from Rev cgi to a > browser > ? > I've spent the afternoon experimenting with this, and it works quite > well > (compress() squeezes 1 Mb of HTML data into 120 Kb), but it seems that > the browser takes forever to decompress the code... And finally, > there's > no > real gain, since the time saved in downloading data is lost when > browser > > decompresses data... > > Is there any trick / tip ? > I had the feeling that decompress routines embeded in the browser (IE6 > Win) > would be much faster, at least as fast as the decompress() function in > Rev... > Sure, my Win box is a bit slow (Athlon 1.46 GHz), but nevertheless... > > Thanks, > JB From katir at hindu.org Sat Aug 19 20:39:46 2006 From: katir at hindu.org (Sivakatirswami) Date: Sat, 19 Aug 2006 14:39:46 -1000 Subject: Problems with long text fld on Windows Message-ID: <44E7AF52.1040709@hindu.org> I have deployed an application which runs on top of a standalone engine build with 2.6 The "player" stack is called "Himalayan Academy Stack Player" code name HARP the separate stack file where all the actual work is done is called "Audio Transcriber 2.rev" code name "ATRA" among the team that uses it. I have no problems with most users, virtually zero for mac users, but Windows users experience a variety of issues. It's simple app that load a file name to a QT player, supplies some neat controls for going forward, backward etc. underneath there is one big field where the user transcribes what he or she hears. they can stop periodically and save and come back and start up at the same point in the audio file and continue. "bad stuff" starts to happen after the user has been working for a while on Windows. I'm coping a report below to see if anyone might have clues I suppose I should post my stack but if you have any immediate insights I would appreciate it. I really need to see if I have built up a long queue of pending msgs that might be causing troubles....I thought i fixed that one though... Sivakatirswami My user from Australia writes: ====== Here is some feedback on ATRA for you: * selecting the text of the transcription field and "Copy" only works if it is a freshly opened ATRA. If i have been working for a while, and want to copy, i have to close the whole application (HARP too [[the standalone]]) and reopen. * Ditto for loading a fresh file. The window asking to clear the headers comes up, but the window allowing selection of the new file does not. I have to close the application down and start again. * When I copy from Word back into ATRA after spell checking, some capitalised words lose the spaces between them. Eg. "Saiva Siddhanta Church is" becomes "SaivaSiddhantaChurchis". So to spell check i have to: - close down, restart, and copy text to Word. Spell check. - copy back to ATRA. - copy next text from ATRA back to word. - search for the compressed words using the spell checker - manually fix those occurrences in ATRA - there might be 3 - 6 of them. * Sometimes, if I have been using ATRA for a while, the cursor goes "haywire" turning into a "|", moving the window up and down, and not selecting words very well. I have to close down again and restart. From sarah.reichelt at gmail.com Sat Aug 19 20:46:08 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 20 Aug 2006 10:46:08 +1000 Subject: serial port, modem, audio files through modem In-Reply-To: <03d801c6c3b7$7fafffb0$0200a8c0@HP110001> References: <03d801c6c3b7$7fafffb0$0200a8c0@HP110001> Message-ID: <f99b52860608191746p73b0bdffn15c2310fe5a5d549@mail.gmail.com> On 8/20/06, DynaMECH Design Ltd <dynamech1 at sbcglobal.net> wrote: > I hope to build a stack that can control a modem to dial a number, then send an audio file through it and hang up. Sounds simple to start, but I can see a few bumps in the road. How can an audio file be sent through the modem? How can the app "listen" to see when the other end has picked up the line? I'm somewhat new to Rev., I have written some simple apps, and thought this would be a useful app (for me, and for others if I can get it to work). Any help would be appreciated. I use Ovolab's Phlink <http://www.ovolab.com/phlink/> for this sort of thing, but I think it's Mac only, so I don't know if that's any help. For anyone who needs this sort of ability on a Mac, it works really well with Rev + AppleScript. Cheers, Sarah From m.mackenzie at sasktel.net Sat Aug 19 21:33:54 2006 From: m.mackenzie at sasktel.net (Mark MacKenzie) Date: Sat, 19 Aug 2006 19:33:54 -0600 Subject: text into a tabstopped field Message-ID: <44E7BC02.2060904@sasktel.net> Hello. I need to put a DB query result into a RunRev stack field which has tabstops at 62,123,282,467,606,822,911. I don't wish to just put the query result into the field as this overwrites all current information in that field. I just want to update portions of this field. For example I would like to put "some information" in field "SomeField" between its first and second tabstops. In some cases the query result would be a single number while in other cases it could be a short phrase. I am stumped. Regards Mark MacKenzie Past Ink Publishing From mark at maseurope.net Sat Aug 19 21:52:37 2006 From: mark at maseurope.net (Mark Smith) Date: Sun, 20 Aug 2006 02:52:37 +0100 Subject: text into a tabstopped field In-Reply-To: <44E7BC02.2060904@sasktel.net> References: <44E7BC02.2060904@sasktel.net> Message-ID: <7EDE33D1-6ED8-4179-B848-A6BEE5A0BEA5@maseurope.net> set the itemDelimiter to tab put "someInfo" into item 2 of line n of fld "someField" On the other hand, if you're making many updates at once and the field contains a lot of data, it might be more efficient to put the field into a variable, update the variable and then put the variable back into the field. Best, Mark On 20 Aug 2006, at 02:33, Mark MacKenzie wrote: > Hello. I need to put a DB query result into a RunRev stack field > which has tabstops at 62,123,282,467,606,822,911. > I don't wish to just put the query result into the field as this > overwrites all current information in that field. > > I just want to update portions of this field. For example I would > like to put "some information" in field "SomeField" between its > first and second tabstops. > > In some cases the query result would be a single number while in > other cases it could be a short phrase. > > I am stumped. > > Regards > > Mark MacKenzie > Past Ink Publishing > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From shaosean at hotmail.com Sun Aug 20 00:01:38 2006 From: shaosean at hotmail.com (Sean Shao) Date: Sun, 20 Aug 2006 00:01:38 -0400 Subject: [TIP] systemWindow and windowShape properties Message-ID: <BAY105-F9186D8B41548455674225C3400@phx.gbl> I don't remember seeing anything posted about this on the list, so I thought I'd share my frustration with you all ;-) You need to set the "windowShape" property before the "systemWindow" property (and the "shadow" property).. It seems that if you set the "windowShape" property after it resets those properties.. *sigh* Anyways, thought I'd share that to save someone else a few hours of tracking down why it doesn't work properly.. _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From JimAultWins at yahoo.com Sun Aug 20 04:19:44 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Sun, 20 Aug 2006 01:19:44 -0700 Subject: text into a tabstopped field In-Reply-To: <7EDE33D1-6ED8-4179-B848-A6BEE5A0BEA5@maseurope.net> Message-ID: <C10D6930.3C757%JimAultWins@yahoo.com> On 8/19/06 6:52 PM, "Mark Smith" <mark at maseurope.net> wrote: > set the itemDelimiter to tab > put "someInfo" into item 2 of line n of fld "someField" > > On the other hand, if you're making many updates at once and the > field contains a lot of data, it might be more efficient to put the > field into a variable, update the variable and then put the variable > back into the field. Major Caveat! the item in Rev does not always mean what you may think it should. The number of items in "a,b,c,d,e,f,g" is 7 The number of items in "a,b,c,d,e,f," is 6 The number of items in "a,b,c,d,e,," is 6 The number of items in "a,,,,,," is 6 It is the same with cr's (lines) The trailing comma is not counted as delimiting an empty item. This will throw off you updating algorithm. One answer is to fill a far-right dummy column with '1' or something to insure that you will be updating properly. you could use [a very fast loop for Rev] set the itemdel to tab get fld dbTabList repeat for each line LNN in it put LNN into newLine put 1 into item 20 of newLine --insures 20 tabs minimum put newLine & cr after newTabList end repeat filter newTabList without empty Jim Ault Las Vegas > > On 20 Aug 2006, at 02:33, Mark MacKenzie wrote: > >> Hello. I need to put a DB query result into a RunRev stack field >> which has tabstops at 62,123,282,467,606,822,911. >> I don't wish to just put the query result into the field as this >> overwrites all current information in that field. >> >> I just want to update portions of this field. For example I would >> like to put "some information" in field "SomeField" between its >> first and second tabstops. >> >> In some cases the query result would be a single number while in >> other cases it could be a short phrase. >> >> I am stumped. >> >> Regards >> >> Mark MacKenzie >> Past Ink Publishing >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 jbv.silences at club-internet.fr Sun Aug 20 05:54:54 2006 From: jbv.silences at club-internet.fr (jbv) Date: Sun, 20 Aug 2006 11:54:54 +0200 Subject: Rev cgi & gzip HTML data to browser References: <44E5E100.20B3C979@club-internet.fr> <51CB7937-AFBE-4554-8AE4-CC70FC6817D0@economy-x-talk.com> Message-ID: <44E8316D.EBEC03E0@club-internet.fr> Mark, Thanks for your reply. Here's the code that I'm actually using : get compress(myHTML) put "Content-Type: application/octet-stream" & cr & "Content-Encoding: gzip" & cr & "Content-Length : " & number of chars of it & cr & cr put it Best, JB > HiJB, > > It is not clear to me whether you are trying to display data in a > browser or want to download a file to disk. In any case, make sure > that the first line returned by the cgi contains the correct mime > type for the .gz extension: > > put "Content-Type: application/octet-stream" & cr & cr > > It is possible that the browser slows down because it needs to find > out what type of data it is downloading. Providing the correct mime > type may help. > > Best, > > Mark > > -- From mark at maseurope.net Sun Aug 20 06:21:46 2006 From: mark at maseurope.net (Mark Smith) Date: Sun, 20 Aug 2006 11:21:46 +0100 Subject: text into a tabstopped field In-Reply-To: <C10D6930.3C757%JimAultWins@yahoo.com> References: <C10D6930.3C757%JimAultWins@yahoo.com> Message-ID: <BF00BF31-FFBD-4847-8B5E-5FF92CAC8691@maseurope.net> On 20 Aug 2006, at 09:19, Jim Ault wrote: > Major Caveat! > the item in Rev does not always mean what you may think it should. > > The number of items in "a,b,c,d,e,f,g" is 7 > The number of items in "a,b,c,d,e,f," is 6 > The number of items in "a,b,c,d,e,," is 6 > The number of items in "a,,,,,," is 6 > It is the same with cr's (lines) > The trailing comma is not counted as delimiting an empty item. This is true. And it's also worth noting that this might surprise you when using negative indices. So as well as Jims counting examples, get item -1 of "a,b," -- returns "b" whereas when getting and setting items by positive index get item 3 of "a,b," -- returns empty (as you'd expect) put "a,b," into tLine put "d" into item 4 of tLine -- leaves tLine as: "a,b,,d" Best, Mark From m.schonewille at economy-x-talk.com Sun Aug 20 10:33:37 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 20 Aug 2006 16:33:37 +0200 Subject: Rev cgi & gzip HTML data to browser In-Reply-To: <44E8316D.EBEC03E0@club-internet.fr> References: <44E5E100.20B3C979@club-internet.fr> <51CB7937-AFBE-4554-8AE4-CC70FC6817D0@economy-x-talk.com> <44E8316D.EBEC03E0@club-internet.fr> Message-ID: <741C1E22-4724-4639-888D-3B4675BC8D12@economy-x-talk.com> Hi JB, I'll try it myself when Im at home again. In the mean time, are you sure that the value of "it" is correct? Is it possible that your browser is still waiting for data, until the socket times out and the browser tries to decompress the data? Your variable is called myHtml. Are you downloading data to a file or do you want to display the contents of myHtml in the browser? 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 20-aug-2006, om 11:54 heeft jbv het volgende geschreven: > > > Mark, > > Thanks for your reply. > > Here's the code that I'm actually using : > > get compress(myHTML) > put "Content-Type: application/octet-stream" & cr & "Content- > Encoding: gzip" & cr & > "Content-Length : " & number of chars of it & cr & cr > put it > > Best, > JB From jbv.silences at club-internet.fr Sun Aug 20 11:18:58 2006 From: jbv.silences at club-internet.fr (jbv) Date: Sun, 20 Aug 2006 17:18:58 +0200 Subject: Rev cgi & gzip HTML data to browser References: <44E5E100.20B3C979@club-internet.fr> <51CB7937-AFBE-4554-8AE4-CC70FC6817D0@economy-x-talk.com> <44E8316D.EBEC03E0@club-internet.fr> <741C1E22-4724-4639-888D-3B4675BC8D12@economy-x-talk.com> Message-ID: <44E87D55.D07606B1@club-internet.fr> Mark, Thanks for your time & efforts. All my data is correct, since all HTML code displays OK in the browser. My only problem is that compressing the HTML data doesn't speed up anything : as stated in my original post, compressing actually speeds up download time (from server to browser) but then all the time saved when downloading 120 Kb of compressed HTML (instead of 1 Mb of plain HTML) is lost when the browser decompresses the HTML... In all cases HTML displays OK, but there's no point compressing... I'm a bit surprised, since in Rev decompress() is as fast as compress()... FYI my HTML data is a very complex <TABLE> structure (500 rows & 30 cols) with quite a lot of CSS... about 1Mb of HTML... I have the feeling that I'm pushing hard towards the limits of IE6 and my Win box (512 Mb of RAM only) and that the browser must be re-allocating some memory space before decompressing... I tried to skip that problem by using window.location.replace(... instead of window.location.href=... in myHTML code when calling the new HTML... but it doesn't seem to help much... Best, JB > Hi JB, > > I'll try it myself when Im at home again. In the mean time, are you > sure that the value of "it" is correct? Is it possible that your > browser is still waiting for data, until the socket times out and the > browser tries to decompress the data? > > Your variable is called myHtml. Are you downloading data to a file or > do you want to display the contents of myHtml in the browser? > > 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 20-aug-2006, om 11:54 heeft jbv het volgende geschreven: > > > > > > > Mark, > > > > Thanks for your reply. > > > > Here's the code that I'm actually using : > > > > get compress(myHTML) > > put "Content-Type: application/octet-stream" & cr & "Content- > > Encoding: gzip" & cr & > > "Content-Length : " & number of chars of it & cr & cr > > put it > > > > Best, > > JB > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: -- _________________________ Faith is a central nervous system disease, like Alzheimer or multiple sclerosis. From FlexibleLearning at aol.com Sun Aug 20 13:28:25 2006 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sun, 20 Aug 2006 13:28:25 EDT Subject: [ANN.ALT.OT.INFO] Scripter's Scrapbook Message-ID: <535.638b514.3219f5b9@aol.com> Alternate URL for the Scripter's Scrapbook: You can still use www.FlexibleLearning.com/ssbk.htm but it is a bit of a mouthful, so an easier address is now available... www.ssbk.co.uk Pre-Release Announcement ssBk 5.2: We are currently putting the finishing touches to the next release (v5.2). It includes a fully fledged API for the development of third-party plugin utilities (like an XML extractor, an auto-export-and-launch widget, your own Search palette, Navigator or Menu selectors, or whatever else comes to mind) as well as a simple system for inter-application communications for 'scripting the Scrapbook' remotely. If anyone else wishes to join the beta-test team of the upgrade with API-IAC or write a utility or script to test the system (ssBk newbies welcome), please contact me. Last I heard, there are still a few places at the bar although the light ale has run out. Thank you. And we now return you to your discussion service... /H FLCo The Scripter's Scrapbook From mark at maseurope.net Sun Aug 20 14:45:22 2006 From: mark at maseurope.net (Mark Smith) Date: Sun, 20 Aug 2006 19:45:22 +0100 Subject: Can Rev as CGI pull an URL's HTML into a variable? In-Reply-To: <C7F34C11-CEC6-485F-A8FD-69A84500D648@mac.com> References: <58e.2ac0b6a.3214b5c4@aol.com> <EF8A3AFF-74A2-4492-BDCF-D16B6D322F44@mac.com> <46E64C8B-58EC-413A-8808-C6E039D5179E@maseurope.net> <C7F34C11-CEC6-485F-A8FD-69A84500D648@mac.com> Message-ID: <3E40702D-83A8-4830-A61D-FDC30181ABD1@maseurope.net> Andre, just out of interest, is there an advantage in using curl rather than libURL? Best, Mark On 16 Aug 2006, at 19:36, Andre Garzia wrote: > it's -s just tried it out... it works like a charm, no need for > libURL. From katir at hindu.org Sun Aug 20 05:23:39 2006 From: katir at hindu.org (Sivakatirswami) Date: Sat, 19 Aug 2006 23:23:39 -1000 Subject: OT: The passing of Transcript (was Is there a more English-like Programming language than Transcript?) In-Reply-To: <395B1F53-0466-4582-A0E9-8E6E604B6A20@mac.com> References: <20060816021520.D1187825A1B@mail.runrev.com> <9e3a9e466557c419643591ec101fa82d@dvglasgow.wanadoo.co.uk> <8C88F692CF230E5-16B8-7D7@mblk-d42.sysops.aol.com> <p06230902c108fe03dadd@[192.168.1.105]> <395B1F53-0466-4582-A0E9-8E6E604B6A20@mac.com> Message-ID: <44E82A1B.3000301@hindu.org> And transcript is that text doctors get back after they do surgery and call up a service and give their report over the phone and they get a transcript sent back to office later. Yep, programming in transcript must mean Revolution records you dictating your code, then later you listen to it and if it sounds good, you can transcribe it and poof, it's magic... you have transcript! (Sorry, couldn't resist...) Perl script... Java Script... Revolution Script... Chat session with tech support at Data Center for web server: Tech: "I put an example for you in your CGI bin, it's a Perl Script, you can use that as a model. Check the paths you need to use in there... BTW, what's that code you are using... looks really cool, so clear and simple. And wow, you get a lot done in a few lines!" KT:: "Thanks... That's Transcript" Tech: "It's what???" KT: "I mean, its a Revolution script." Tech: "Oh, right. I see that now in your call line: #!usr/local/bin/revolution" Andre Garzia wrote: > Stephen, > > kilocycles sound as a sci-fi tour de france to me.... > > Watch as Lance Armstrong XV rides his kilocycle across france in the > speed of light.... zoooommmmmmmm > > PS:... need, more, coffee. > Andre > > On Aug 16, 2006, at 2:06 PM, Stephen Barncard wrote: > >> kilocycles > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Sun Aug 20 21:47:55 2006 From: dsc at swcp.com (Dar Scott) Date: Sun, 20 Aug 2006 19:47:55 -0600 Subject: text into a tabstopped field In-Reply-To: <BF00BF31-FFBD-4847-8B5E-5FF92CAC8691@maseurope.net> References: <C10D6930.3C757%JimAultWins@yahoo.com> <BF00BF31-FFBD-4847-8B5E-5FF92CAC8691@maseurope.net> Message-ID: <AA71A484-88AF-453F-9EB2-C20A20EA7B96@swcp.com> On Aug 20, 2006, at 4:21 AM, Mark Smith wrote: >> The number of items in "a,b,c,d,e,f,g" is 7 >> The number of items in "a,b,c,d,e,f," is 6 >> The number of items in "a,b,c,d,e,," is 6 >> The number of items in "a,,,,,," is 6 >> It is the same with cr's (lines) >> The trailing comma is not counted as delimiting an empty item. > > This is true. And it's also worth noting that this might surprise > you when using negative indices. > So as well as Jims counting examples, > > get item -1 of "a,b," -- returns "b" > > whereas when getting and setting items by positive index > > get item 3 of "a,b," -- returns empty (as you'd expect) > > put "a,b," into tLine > put "d" into item 4 of tLine > -- leaves tLine as: "a,b,,d" If you think of the delimiter as being after the data, then this makes sense. The 'tween delimiter notion fails. The "delimiter after" also allows both representation of a single empty item distinct from an empty list of items. The comma operator doesn't support this notion very well, put a loop with 'put it & comma after stuff' does. On the other hand I think the following is awkward and others might feel it make sense: put item 3 of (1,2 &lf& 3,4) ==>4 It seems the line end should be an item delimiter along with whatever the current delimiter character is. Dar From mandozine at gmail.com Mon Aug 21 00:02:38 2006 From: mandozine at gmail.com (John Baxter) Date: Sun, 20 Aug 2006 21:02:38 -0700 Subject: Rev Development help needed for hire Message-ID: <623723c0608202102w22ec9d0cvb2bb0b0ce368ceaf@mail.gmail.com> I have a stack that I converted from a SuperCard stack I created about 10 years ago. It has a mainstack, and multiple palletes that insert characters from two custom fonts into the mainstack. Most of the features are done and working. I need someone to help me finalize this and create the stand-alone apps for Windows and Mac. I don't have much of a budget, but I think the work involved is mainly as follows: 1) create any standard missing code for an app. [My stack just opens an editing window, with a menu for displaying various palettes, which all work] 2) Create the code for the menus [Open, Save, Print, Quit] 3) If possible, create code for inserting a character from a palette at the cursor location in the mainstack. [I can insert a char using the keyboard, but the palettes all insert a char at the end of the last line.] 4) Generate the stand-alone apps. I would like to embed the fonts so the user doesn't need to install them. I've been developing on an Intel Mac, but one of the plugins doesn't work on Intel Macs. Running Revolution under Rosetta crashes when I use the plug-in or generate a stand-alone. I figure that getting help will speed this project along, and give me code to study for future projects. Email me off-line if you are interested. ps. This list ROCKS! I have received some great help, especially from Mark Smith. -- John Baxter http://www.mandozine.com http://www.mandotunes.com Mandozine Radio: Tuned Locally - Played Globally http://www.live365.com/stations/mandozine From klaus at major-k.de Mon Aug 21 07:51:54 2006 From: klaus at major-k.de (Klaus Major) Date: Mon, 21 Aug 2006 13:51:54 +0200 Subject: [TIP] systemWindow and windowShape properties In-Reply-To: <BAY105-F9186D8B41548455674225C3400@phx.gbl> References: <BAY105-F9186D8B41548455674225C3400@phx.gbl> Message-ID: <9244B2D2-BD63-4A80-97FA-4B416C56BC68@major-k.de> Hi Sean, > I don't remember seeing anything posted about this on the list, so > I thought I'd share my frustration with you all ;-) > > You need to set the "windowShape" property before the > "systemWindow" property (and the "shadow" property).. It seems that > if you set the "windowShape" property after it resets those > properties.. *sigh* Anyways, thought I'd share that to save someone > else a few hours of tracking down why it doesn't work properly.. thanks a lot for this info! Right now I have to deal with this problem and was VERY delighted, that you posted this yesterday :-) Best from germany Klaus Major klaus at major-k.de http://www.major-k.de From abril at mayafun.com Mon Aug 21 10:10:06 2006 From: abril at mayafun.com (Alvaro Abril - Tecnologia) Date: Mon, 21 Aug 2006 08:10:06 -0600 Subject: Connecting 2 stand alone programs. In-Reply-To: <623723c0608202102w22ec9d0cvb2bb0b0ce368ceaf@mail.gmail.com> Message-ID: <20060821113500.D93C9825BA6@mail.runrev.com> Dear Sirs : We need to know how to connect two stand alone programs. For example : I have my standalone "menu.exe" And I need to GO to the stand alone "programone.exe" The instruction go stack "programone.exe" don?t operate.. What I need to use? Cordialmente, Alvaro Abril Gerente de Tecnolog?a Divertia S.A. www.fantasticguatemala.com Tel. 502 2410 4600 Fax.502 2410 4646 Guatemala From klaus at major-k.de Mon Aug 21 09:22:51 2006 From: klaus at major-k.de (Klaus Major) Date: Mon, 21 Aug 2006 15:22:51 +0200 Subject: Connecting 2 stand alone programs. In-Reply-To: <20060821113500.D93C9825BA6@mail.runrev.com> References: <20060821113500.D93C9825BA6@mail.runrev.com> Message-ID: <AEE034A9-281C-4976-B2F8-ED88854E590C@major-k.de> Buenos dias Alvaro, > Dear Sirs : > > We need to know how to connect two stand alone programs. > For example : I have my standalone "menu.exe" > And I need to GO to the stand alone "programone.exe" > The instruction go stack "programone.exe" don?t operate.. yes, standalones are totally independent "units" > What I need to use? Try this: ... open process "programone.exe" for neither ... NOT tested, please tell me if it works for you. > Cordialmente, > Alvaro Abril > Gerente de Tecnolog?a > Divertia S.A. > www.fantasticguatemala.com > Tel. 502 2410 4600 > Fax.502 2410 4646 > Guatemala Regards from germany Klaus Major klaus at major-k.de http://www.major-k.de From abril at mayafun.com Mon Aug 21 10:27:38 2006 From: abril at mayafun.com (Alvaro Abril - Tecnologia) Date: Mon, 21 Aug 2006 08:27:38 -0600 Subject: Connecting 2 stand alone programs. In-Reply-To: <AEE034A9-281C-4976-B2F8-ED88854E590C@major-k.de> Message-ID: <20060821115232.EE88B825927@mail.runrev.com> Excellent Klauss.. is very good for me!! And if I need to use global variables between applications .exe, I will use this kind of variables? Or I need to use external files .txt in order to remember values? Cordialmente, Alvaro Abril Gerente de Tecnolog?a Divertia S.A. www.fantasticguatemala.com Tel. 502 2410 4600 Fax.502 2410 4646 Guatemala -----Mensaje original----- De: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] En nombre de Klaus Major Enviado el: Lunes, 21 de Agosto de 2006 07:23 a.m. Para: How to use Revolution Asunto: Re: Connecting 2 stand alone programs. Importancia: Alta Buenos dias Alvaro, > Dear Sirs : > > We need to know how to connect two stand alone programs. > For example : I have my standalone "menu.exe" > And I need to GO to the stand alone "programone.exe" > The instruction go stack "programone.exe" don?t operate.. yes, standalones are totally independent "units" > What I need to use? Try this: ... open process "programone.exe" for neither ... NOT tested, please tell me if it works for you. > Cordialmente, > Alvaro Abril > Gerente de Tecnolog?a > Divertia S.A. > www.fantasticguatemala.com > Tel. 502 2410 4600 > Fax.502 2410 4646 > Guatemala 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 shaosean at hotmail.com Mon Aug 21 09:34:21 2006 From: shaosean at hotmail.com (Sean Shao) Date: Mon, 21 Aug 2006 09:34:21 -0400 Subject: [UPD] Filter Widget 1.1.1 (originally called Search Widget) Message-ID: <BAY105-F342D31F2134516205F984BC3410@phx.gbl> Thanks to Ton Kuyper of Digital Media Partners [www.dmp-int.com] for submitting code changes. - Multiple Filter Widgets can be used on a single card - Filter Widget is easily resized using the resize handles http://shaosean.tk/ OR http://shaosean.wehostmacs.com/ _________________________________________________________________ Don?t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ From klaus at major-k.de Mon Aug 21 09:37:34 2006 From: klaus at major-k.de (Klaus Major) Date: Mon, 21 Aug 2006 15:37:34 +0200 Subject: Connecting 2 stand alone programs. In-Reply-To: <20060821115232.EE88B825927@mail.runrev.com> References: <20060821115232.EE88B825927@mail.runrev.com> Message-ID: <2F071E48-31EA-43BB-93F0-7FC91FCEC354@major-k.de> Hi Alvaro, > Excellent Klaus.. is very good for me!! so it works for you? Good :-) > And if I need to use global variables between applications .exe, I > will use > this kind of variables? Or I need to use external files .txt in > order to > remember values? The latter, only stacks in ONE standalone share the same memory, two standalones do not. > Cordialmente, > Alvaro Abril > Gerente de Tecnolog?a > Divertia S.A. > www.fantasticguatemala.com > Tel. 502 2410 4600 > Fax.502 2410 4646 > Guatemala Regards Klaus Major klaus at major-k.de http://www.major-k.de From klaus at major-k.de Mon Aug 21 09:44:54 2006 From: klaus at major-k.de (Klaus Major) Date: Mon, 21 Aug 2006 15:44:54 +0200 Subject: windowshape and systemwindow Message-ID: <77254543-3FEF-40CF-AA37-9566E5AAA39E@major-k.de> Hi all, I am a bit stuck here... I am trying to create a stack with a windowshape and thus default decorations!, so it appears in the windows taskbar! But it turns out that only images WITH any tranparency can be used as windowshape and NOT simple rectangle images with NO transparency at all???? Can someone please confirm this? And can someone give me a hint how I can fulfill this task: I need a window without decorations that will appear in the windows taskbar when minimized/iconified AND switch the "systemwindow" with a mouseclick. Tried everything already but no success, my desparation is growing :-/ Thanks in advance! Best Klaus Major klaus at major-k.de http://www.major-k.de From meitnik at bellsouth.net Mon Aug 21 10:18:26 2006 From: meitnik at bellsouth.net (Andrew Meit) Date: Mon, 21 Aug 2006 10:18:26 -0400 Subject: U3 and Mac and possible tool.... In-Reply-To: <20060820170005.25079825D39@mail.runrev.com> References: <20060820170005.25079825D39@mail.runrev.com> Message-ID: <10E22999-128A-403D-A677-BA9C9411249C@bellsouth.net> I would love to see someone make this work for Rev with a smart gui front end... http://macscripter.net/articles/440_0_10_0_C/ Read and create! Shalom, Andrew {Choose Life, Create Hope, Nurture Love...} From sims at ezpzapps.com Mon Aug 21 10:19:37 2006 From: sims at ezpzapps.com (sims) Date: Mon, 21 Aug 2006 16:19:37 +0200 Subject: windowshape and systemwindow In-Reply-To: <77254543-3FEF-40CF-AA37-9566E5AAA39E@major-k.de> References: <77254543-3FEF-40CF-AA37-9566E5AAA39E@major-k.de> Message-ID: <p06230906c10f7123ac5a@[10.0.0.16]> At 3:44 PM +0200 8/21/06, Klaus Major wrote: >I need a window without decorations that will appear in the windows taskbar >when minimized/iconified AND switch the "systemwindow" with a mouseclick. > >Tried everything already but no success, my desparation is growing :-/ "On Windows systems, the menu decoration must be set along with minimize: you cannot use minimize without including menu." ciao, sims European Rev Conference 2006 www.techietours.com From klaus at major-k.de Mon Aug 21 10:43:24 2006 From: klaus at major-k.de (Klaus Major) Date: Mon, 21 Aug 2006 16:43:24 +0200 Subject: windowshape and systemwindow In-Reply-To: <p06230906c10f7123ac5a@[10.0.0.16]> References: <77254543-3FEF-40CF-AA37-9566E5AAA39E@major-k.de> <p06230906c10f7123ac5a@[10.0.0.16]> Message-ID: <54FA26E5-EAFF-45FC-BDB1-1EF7D9C2F292@major-k.de> Hi sims, > At 3:44 PM +0200 8/21/06, Klaus Major wrote: >> I need a window without decorations that will appear in the >> windows taskbar >> when minimized/iconified AND switch the "systemwindow" with a >> mouseclick. >> >> Tried everything already but no success, my desparation is >> growing :-/ > "On Windows systems, the menu decoration must be set along with > minimize: you cannot use minimize without including menu." yep, that was one of the reasons for my deperation! Although I use a button to set the iconic of my stack. But i found a workaround! Hoooray :-D I simply make ONE pixel of my rectangle (windowshape) images 1 % tranpsarent in Photoshop! You won't see this with bare eyes on the screen, but this way I can leave the decorations to default, have the stack as an entry in the windowws taskbar and can switch the "systemwindow"!!! Thanks mom, for making me so clever :-D > ciao, > sims > > European Rev Conference 2006 > www.techietours.com Regards Klaus Major klaus at major-k.de http://www.major-k.de From mdswindell at cruzio.com Mon Aug 21 11:01:33 2006 From: mdswindell at cruzio.com (Mark Swindell) Date: Mon, 21 Aug 2006 08:01:33 -0700 Subject: My Dream App Message-ID: <512247BC-CBE9-4D82-9694-0748D9B97D98@cruzio.com> I know I see here mention of the elusive "killer app" for Rev that will bring it the credit it deserves. Here's a chance to get it out there if someone envisions and develops it. http://arstechnica.com/journals/apple.ars/2006/8/21/5051 From abril at mayafun.com Mon Aug 21 12:05:02 2006 From: abril at mayafun.com (Alvaro Abril - Tecnologia) Date: Mon, 21 Aug 2006 10:05:02 -0600 Subject: How to download installer of version 2.7.2 In-Reply-To: <54FA26E5-EAFF-45FC-BDB1-1EF7D9C2F292@major-k.de> Message-ID: <20060821132959.279E0825C10@mail.runrev.com> Dear Klauss : How I can to download version 2.7.2 of Revolution. I need a backup. I have license of 2.7.2 .. If I download version 2.7.3, my software dont operate? Cordialmente, Alvaro Abril Gerente de Tecnolog?a Divertia S.A. www.fantasticguatemala.com Tel. 502 2410 4600 Fax.502 2410 4646 Guatemala -----Mensaje original----- De: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] En nombre de Klaus Major Enviado el: Lunes, 21 de Agosto de 2006 08:43 a.m. Para: How to use Revolution Asunto: Re: windowshape and systemwindow Hi sims, > At 3:44 PM +0200 8/21/06, Klaus Major wrote: >> I need a window without decorations that will appear in the >> windows taskbar >> when minimized/iconified AND switch the "systemwindow" with a >> mouseclick. >> >> Tried everything already but no success, my desparation is >> growing :-/ > "On Windows systems, the menu decoration must be set along with > minimize: you cannot use minimize without including menu." yep, that was one of the reasons for my deperation! Although I use a button to set the iconic of my stack. But i found a workaround! Hoooray :-D I simply make ONE pixel of my rectangle (windowshape) images 1 % tranpsarent in Photoshop! You won't see this with bare eyes on the screen, but this way I can leave the decorations to default, have the stack as an entry in the windowws taskbar and can switch the "systemwindow"!!! Thanks mom, for making me so clever :-D > ciao, > sims > > European Rev Conference 2006 > www.techietours.com 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 yvescoppe at skynet.be Mon Aug 21 11:05:50 2006 From: yvescoppe at skynet.be (Yves COPPE) Date: Mon, 21 Aug 2006 17:05:50 +0200 Subject: Connecting 2 stand alone programs. In-Reply-To: <2F071E48-31EA-43BB-93F0-7FC91FCEC354@major-k.de> References: <20060821115232.EE88B825927@mail.runrev.com> <2F071E48-31EA-43BB-93F0-7FC91FCEC354@major-k.de> Message-ID: <BCA67330-C632-463E-9088-B0BBBAEA8A27@skynet.be> Le 21 ao?t 06 ? 15:37, Klaus Major a ?crit : > Hi Alvaro, > >> Excellent Klaus.. is very good for me!! > > so it works for you? > Good :-) > >> And if I need to use global variables between applications .exe, I >> will use >> this kind of variables? Or I need to use external files .txt in >> order to >> remember values? > You can only share information with an external .txt file between 2 apps or if you are sure there is no interference, with the clipboard data Greetings. Yves COPPE yvescoppe at skynet.be From klaus at major-k.de Mon Aug 21 11:10:13 2006 From: klaus at major-k.de (Klaus Major) Date: Mon, 21 Aug 2006 17:10:13 +0200 Subject: OT: message to Yves In-Reply-To: <BCA67330-C632-463E-9088-B0BBBAEA8A27@skynet.be> References: <20060821115232.EE88B825927@mail.runrev.com> <2F071E48-31EA-43BB-93F0-7FC91FCEC354@major-k.de> <BCA67330-C632-463E-9088-B0BBBAEA8A27@skynet.be> Message-ID: <DFD91A16-3941-4270-B54E-5AC86EEFA92F@major-k.de> Hi Yves, did you rceive my mails lately? My latest mail to you bounced back for unknown reasons!??? Best Klaus Major klaus at major-k.de http://www.major-k.de From yvescoppe at skynet.be Mon Aug 21 11:14:22 2006 From: yvescoppe at skynet.be (Yves COPPE) Date: Mon, 21 Aug 2006 17:14:22 +0200 Subject: OT: message to Yves In-Reply-To: <DFD91A16-3941-4270-B54E-5AC86EEFA92F@major-k.de> References: <20060821115232.EE88B825927@mail.runrev.com> <2F071E48-31EA-43BB-93F0-7FC91FCEC354@major-k.de> <BCA67330-C632-463E-9088-B0BBBAEA8A27@skynet.be> <DFD91A16-3941-4270-B54E-5AC86EEFA92F@major-k.de> Message-ID: <CB82F9F4-4492-427C-817C-EDAB9B540DBA@skynet.be> Le 21 ao?t 06 ? 17:10, Klaus Major a ?crit : > Hi Yves, > > did you rceive my mails lately? > My latest mail to you bounced back for unknown reasons!??? > > > Best > I didn't receive your off list mail I was expecting your answer with "fever" but nothing !!! Greetings. Yves COPPE yvescoppe at skynet.be From klaus at major-k.de Mon Aug 21 11:15:19 2006 From: klaus at major-k.de (Klaus Major) Date: Mon, 21 Aug 2006 17:15:19 +0200 Subject: How to download installer of version 2.7.2 In-Reply-To: <20060821132959.279E0825C10@mail.runrev.com> References: <20060821132959.279E0825C10@mail.runrev.com> Message-ID: <F7B012BC-A2BB-403E-A19A-EE69134BA5FD@major-k.de> Hi Alvaro, > Dear Klauss: Klaus, ONE "S" only :-) > How I can to download version 2.7.2 of Revolution. I need a backup. > I have license of 2.7.2 .. you can access the public FTP server of RunRev: ftp://ftp.runrev.com/pub/revolution/downloads/distributions/ There you will find earlier version for download. > If I download version 2.7.3, my software dont operate? Then you might need a new license. > Cordialmente, > Alvaro Abril > Gerente de Tecnolog?a > Divertia S.A. > www.fantasticguatemala.com > Tel. 502 2410 4600 > Fax.502 2410 4646 Best Klaus Major klaus at major-k.de http://www.major-k.de From klaus at major-k.de Mon Aug 21 11:20:47 2006 From: klaus at major-k.de (Klaus Major) Date: Mon, 21 Aug 2006 17:20:47 +0200 Subject: OT: message to Yves In-Reply-To: <CB82F9F4-4492-427C-817C-EDAB9B540DBA@skynet.be> References: <20060821115232.EE88B825927@mail.runrev.com> <2F071E48-31EA-43BB-93F0-7FC91FCEC354@major-k.de> <BCA67330-C632-463E-9088-B0BBBAEA8A27@skynet.be> <DFD91A16-3941-4270-B54E-5AC86EEFA92F@major-k.de> <CB82F9F4-4492-427C-817C-EDAB9B540DBA@skynet.be> Message-ID: <FD5B5EFE-AF03-443A-82D8-027339433E2B@major-k.de> Hi Yves, > Le 21 ao?t 06 ? 17:10, Klaus Major a ?crit : >> Hi Yves, >> did you rceive my mails lately? >> My latest mail to you bounced back for unknown reasons!??? >> >> Best > I didn't receive your off list mail > I was expecting your answer with "fever" but nothing !!! just sent again a couple of minutes before and did not yet come back! May be a good sign :-) > Greetings. > > Yves COPPE > yvescoppe at skynet.be Regards Klaus Major klaus at major-k.de http://www.major-k.de From abril at mayafun.com Mon Aug 21 12:23:07 2006 From: abril at mayafun.com (Alvaro Abril - Tecnologia) Date: Mon, 21 Aug 2006 10:23:07 -0600 Subject: How to download installer of version 2.7.2 In-Reply-To: <F7B012BC-A2BB-403E-A19A-EE69134BA5FD@major-k.de> Message-ID: <20060821134802.26DE8825C1D@mail.runrev.com> Klauss, I have a license of 2.7.2, do you think i can to download version 2.7.3 or I need a new license for 2.7.3? Cordialmente, Alvaro Abril Gerente de Tecnolog?a Divertia S.A. www.fantasticguatemala.com Tel. 502 2410 4600 Fax.502 2410 4646 Guatemala -----Mensaje original----- De: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] En nombre de Klaus Major Enviado el: Lunes, 21 de Agosto de 2006 09:15 a.m. Para: How to use Revolution Asunto: Re: How to download installer of version 2.7.2 Hi Alvaro, > Dear Klauss: Klaus, ONE "S" only :-) > How I can to download version 2.7.2 of Revolution. I need a backup. > I have license of 2.7.2 .. you can access the public FTP server of RunRev: ftp://ftp.runrev.com/pub/revolution/downloads/distributions/ There you will find earlier version for download. > If I download version 2.7.3, my software dont operate? Then you might need a new license. > Cordialmente, > Alvaro Abril > Gerente de Tecnolog?a > Divertia S.A. > www.fantasticguatemala.com > Tel. 502 2410 4600 > Fax.502 2410 4646 Best Klaus Major klaus at major-k.de http://www.major-k.de _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From abril at mayafun.com Mon Aug 21 13:00:22 2006 From: abril at mayafun.com (Alvaro Abril - Tecnologia) Date: Mon, 21 Aug 2006 11:00:22 -0600 Subject: About Openstack In-Reply-To: <FD5B5EFE-AF03-443A-82D8-027339433E2B@major-k.de> Message-ID: <20060821142518.7E8A4825C51@mail.runrev.com> Dear Sirs : I need to use On Openstack structure. Where I need to put this instruction? We are working with standalones. I know about Openstack, but in Hypercard we had Stack Script.. but in Revolution, i dont know where to put this instruction. Cordialmente, Alvaro Abril Gerente de Tecnolog?a Divertia S.A. www.fantasticguatemala.com Tel. 502 2410 4600 Fax.502 2410 4646 Guatemala -----Mensaje original----- De: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] En nombre de Klaus Major Enviado el: Lunes, 21 de Agosto de 2006 09:21 a.m. Para: How to use Revolution Asunto: Re: OT: message to Yves Hi Yves, > Le 21 ao?t 06 ? 17:10, Klaus Major a ?crit : >> Hi Yves, >> did you rceive my mails lately? >> My latest mail to you bounced back for unknown reasons!??? >> >> Best > I didn't receive your off list mail > I was expecting your answer with "fever" but nothing !!! just sent again a couple of minutes before and did not yet come back! May be a good sign :-) > Greetings. > > Yves COPPE > yvescoppe at skynet.be 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 pevensen at siboneylg.com Mon Aug 21 12:05:39 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Mon, 21 Aug 2006 11:05:39 -0500 Subject: About Openstack In-Reply-To: <20060821142518.7E8A4825C51@mail.runrev.com> References: <FD5B5EFE-AF03-443A-82D8-027339433E2B@major-k.de> <20060821142518.7E8A4825C51@mail.runrev.com> Message-ID: <6.2.1.2.2.20060821110414.048b35c0@exchange.slg.com> There is a stack script in Revolution as well. You can access it via the Object menu -> Stack Script. It's been a while since I've used Hypercard, but Revolultion is very similar in structure, so you should be able to find the same things in Revolution. At 12:00 PM 8/21/2006, you wrote: >Dear Sirs : > >I need to use On Openstack structure. >Where I need to put this instruction? We are working with standalones. >I know about Openstack, but in Hypercard we had Stack Script.. but in >Revolution, i dont know where to put this instruction. > >Cordialmente, >Alvaro Abril >Gerente de Tecnolog?a >Divertia S.A. >www.fantasticguatemala.com >Tel. 502 2410 4600 >Fax.502 2410 4646 >Guatemala > >-----Mensaje original----- >De: use-revolution-bounces at lists.runrev.com >[mailto:use-revolution-bounces at lists.runrev.com] En nombre de Klaus Major >Enviado el: Lunes, 21 de Agosto de 2006 09:21 a.m. >Para: How to use Revolution >Asunto: Re: OT: message to Yves > >Hi Yves, > > > Le 21 ao?t 06 ? 17:10, Klaus Major a ?crit : > >> Hi Yves, > >> did you rceive my mails lately? > >> My latest mail to you bounced back for unknown reasons!??? > >> > >> Best > > I didn't receive your off list mail > > I was expecting your answer with "fever" but nothing !!! > >just sent again a couple of minutes before and did not yet come back! >May be a good sign :-) > > > Greetings. > > > > Yves COPPE > > yvescoppe at skynet.be > >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 Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 From bobs at twft.com Mon Aug 21 12:22:19 2006 From: bobs at twft.com (Robert Sneidar) Date: Mon, 21 Aug 2006 09:22:19 -0700 Subject: text into a tabstopped field Message-ID: <BBDF6DA3-071A-4A3B-B33E-BF7C2C29B8C0@twft.com> Ah hah!! Just as I expected! There IS ambiguity in Transcript... err Revolution!!! ;-) Seriously though, this should be corrected. I am reminded that in Foxpro a plus "+" can add two numbers AND concatenate 2 strings. How is this the same you ask? Because in both cases the same thing turns out to mean different things based upon context, which means I cannot make a code converter that works 100%. No computer language should even mean 2 different things using one convention. (Anyone at Runrev listening?) Bob Sneidar IT Manager Logos Management Calvary Chapel CM >> Major Caveat! >> the item in Rev does not always mean what you may think it should. >> >> The number of items in "a,b,c,d,e,f,g" is 7 >> The number of items in "a,b,c,d,e,f," is 6 >> The number of items in "a,b,c,d,e,," is 6 >> The number of items in "a,,,,,," is 6 >> It is the same with cr's (lines) >> The trailing comma is not counted as delimiting an empty item. >> > > This is true. And it's also worth noting that this might surprise you > when using negative indices. > So as well as Jims counting examples, > > get item -1 of "a,b," -- returns "b" > > whereas when getting and setting items by positive index > > get item 3 of "a,b," -- returns empty (as you'd expect) > > put "a,b," into tLine > put "d" into item 4 of tLine > -- leaves tLine as: "a,b,,d" > > > Best, > > Mark From JimAultWins at yahoo.com Mon Aug 21 12:24:24 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 21 Aug 2006 09:24:24 -0700 Subject: Connecting 2 stand alone programs. In-Reply-To: <BCA67330-C632-463E-9088-B0BBBAEA8A27@skynet.be> Message-ID: <C10F2C48.3C7FD%JimAultWins@yahoo.com> > You can only share information with an external .txt file between 2 apps > or if you are sure there is no interference, with the clipboard data > Yves COPPE You cold try the shell() commands as another option, or you could use UDP or TCP, which means the apps talk (send message packets) directly to each other. Currently I use UDP for this, since the my grand scheme includes substantial communication by apps between computers. -------------- appOne open datagram socket to "127.0.0.1:4567" write varToBeSent to socket "127.0.0.1:4567" close socket "127.0.0.1:4567" ------------ appTwo on openstack accept datagram socket on 4567 with message "gotPacketFrAppOne" on gotPacketFrAppOne pHost, pMsg, pSocket answer "Received from "& pHost answer "on socket " & pSocket answer "with the following text "&cr & pMsg end gotPacketFrAppOne --this can be a two-way --UDP packets can only be about 8k max --one advantage is the the receipt of a UDP packet will trigger the handler to action --text files are good, but the receiving app needs a way to know to read them --Rev can easily send/receive 10 packets per second (actually more) --the docs give details and Alex Tweedly's example stacks work on the same computer (available at RevOnline, user spaces, alextweedly) Just another option. Jim Ault Las Vegas On 8/21/06 8:05 AM, "Yves COPPE" <yvescoppe at skynet.be> wrote: > > Le 21 ao?t 06 ? 15:37, Klaus Major a ?crit : > >> Hi Alvaro, >> >>> Excellent Klaus.. is very good for me!! >> >> so it works for you? >> Good :-) >> >>> And if I need to use global variables between applications .exe, I >>> will use >>> this kind of variables? Or I need to use external files .txt in >>> order to >>> remember values? >> > > > You can only share information with an external .txt file between 2 apps > or if you are sure there is no interference, with the clipboard data > > Greetings. > > Yves COPPE > yvescoppe at skynet.be > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Mon Aug 21 13:26:37 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 21 Aug 2006 10:26:37 -0700 Subject: text into a tabstopped field Message-ID: <44E9ECCD.3010604@fourthworld.com> Robert Sneidar wrote: > Ah hah!! Just as I expected! There IS ambiguity in Transcript... err > Revolution!!! ;-) > > Seriously though, this should be corrected. I am reminded that in > Foxpro a plus "+" can add two numbers AND concatenate 2 strings. How > is this the same you ask? Because in both cases the same thing turns > out to mean different things based upon context, which means I cannot > make a code converter that works 100%. No computer language should > even mean 2 different things using one convention. (Anyone at Runrev > listening?) There's a striking relevance between the first and last sentence here -- if intended, quite clever. :) The solution is the same for both: before attempting to convert tokens, the context of each instance must be taken into account. With "+", this means both operands need to be checked to see if they evaluate to numbers (the "is a number" operator is good for that). Determining the extents of the expressions which comprise each operand may be difficult or easy, depending on the flexibility of FoxPro (it's been many years since I've programmed in it so I no longer recall). With "Transcript", it means every sentence containing it must be read and evaluated by a human to ensure that translating the token won't introduce ambiguity. The popular solution seems simpler: most folks in the Rev community just continue to use "Transcript" for clarity. :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From revolutionary.dan at gmail.com Mon Aug 21 13:30:58 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Mon, 21 Aug 2006 10:30:58 -0700 Subject: Connecting 2 stand alone programs. In-Reply-To: <C10F2C48.3C7FD%JimAultWins@yahoo.com> References: <BCA67330-C632-463E-9088-B0BBBAEA8A27@skynet.be> <C10F2C48.3C7FD%JimAultWins@yahoo.com> Message-ID: <70ed6b130608211030k56c16c3al20a95e4a9495235c@mail.gmail.com> Actually, it's probably true that the best solution here, Alvaro, is to re-create your application so that menu is the mainstack and programone is a substack. Then you don't have multiple applications to deal with, just separate stacks in a single appllication. That makes it much easier to pass information between the processes. One almost never needs to create multiple stack files, just multiple stacks in a single stack file to create a single standalone. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From chipp at chipp.com Mon Aug 21 15:21:28 2006 From: chipp at chipp.com (Chipp Walters) Date: Mon, 21 Aug 2006 14:21:28 -0500 Subject: My Dream App In-Reply-To: <512247BC-CBE9-4D82-9694-0748D9B97D98@cruzio.com> References: <512247BC-CBE9-4D82-9694-0748D9B97D98@cruzio.com> Message-ID: <7aa52a210608211221k22fe78ado4eea28a8154f3179@mail.gmail.com> Mark, Good link. Interesting idea. Double negative withstanding, I'm not sure if they're not the latest Peter Minuit, trading a few Apple trinkets for the next 'Killer App'. <http://www.straightdope.com/classics/a3_156.html> That said, the winner does get 15%, which is fine. But my guess is the real value is in all the apps voted on which _DON'T_ win. I wonder if it's even possible to protect that sort of intellectual property? -Chipp From mwieder at ahsoftware.net Mon Aug 21 17:48:22 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 21 Aug 2006 14:48:22 -0700 Subject: text into a tabstopped field In-Reply-To: <BBDF6DA3-071A-4A3B-B33E-BF7C2C29B8C0@twft.com> References: <BBDF6DA3-071A-4A3B-B33E-BF7C2C29B8C0@twft.com> Message-ID: <4319512637.20060821144822@ahsoftware.net> Robert- Monday, August 21, 2006, 9:22:19 AM, you wrote: > Seriously though, this should be corrected. I am reminded that in > Foxpro a plus "+" can add two numbers AND concatenate 2 strings. How > is this the same you ask? Because in both cases the same thing turns > out to mean different things based upon context, which means I cannot > make a code converter that works 100%. Try "if x is a number then..." Disambiguation then becomes a simple matter of "if both x and y are numbers then add them, otherwise concatenate them". ...and if you think reusing the plus sign is bad, you should see what Ruby does with punctuation... -- -Mark Wieder mwieder at ahsoftware.net From sarah.reichelt at gmail.com Mon Aug 21 20:39:31 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 22 Aug 2006 10:39:31 +1000 Subject: Getting version string for standalone app In-Reply-To: <44E338DA.6060003@hyperactivesw.com> References: <AFB00445-8106-423F-88ED-69FF72476E9C@gmail.com> <44E2966B.5060201@hyperactivesw.com> <f99b52860608152110k14f216ak1e404519dd2c59e@mail.gmail.com> <44E338DA.6060003@hyperactivesw.com> Message-ID: <f99b52860608211739r523fe1bfyf6639bf0faf80f87@mail.gmail.com> > > I want to work the other way around. I want to be able to set a > > version number in my application and have it transfer this to all the > > various settings in the Standalone Builder. So far laziness has won > > and I haven't actually done anything about this, but you never know, I > > might get there in the end. > > Now you can -- just make a handler that sets the > cRevStandaloneSettings[<version you want>] of the stack. This should > work fine during development. OK, here it is. It wasn't difficult, but finding all the properties that had to be set was tedious, so I thought other people might like to share the handler: on setVersionNum put the cProgramVersion of this stack into tVersion ask info "Enter the new version number:" with tVersion if it is empty then exit to top put it into tNewVersion set the cProgramVersion of this stack to tNewVersion -- OS X settings put the cRevStandaloneSettings["OSX,info"] of this stack into tInfo put tNewVersion into last word of tInfo set the cRevStandaloneSettings["OSX,info"] of this stack to tInfo put the cRevStandaloneSettings["OSX,longVersion"] of this stack into tInfo put tNewVersion into last word of tInfo set the cRevStandaloneSettings["OSX,longVersion"] of this stack to tInfo set the cRevStandaloneSettings["OSX,shortVersion"] of this stack to tNewVersion -- Windows settings put the cRevStandaloneSettings["Windows,FileDescription"] of this stack into tInfo put tNewVersion into word -3 of tInfo set the cRevStandaloneSettings["Windows,FileDescription"] of this stack to tInfo -- split Windows version up into 4 separate bits put ".0.0.0" after tNewVersion -- make sure it has enough set the itemdel to "." put item 1 of tNewVersion into tVersion1 put item 2 of tNewVersion into tVersion2 put item 3 of tNewVersion into tVersion3 put item 4 of tNewVersion into tVersion4 set the cRevStandaloneSettings["Windows,fileversion1"] of this stack to tVersion1 set the cRevStandaloneSettings["Windows,fileversion2"] of this stack to tVersion2 set the cRevStandaloneSettings["Windows,fileversion3"] of this stack to tVersion3 set the cRevStandaloneSettings["Windows,fileversion4"] of this stack to tVersion4 set the cRevStandaloneSettings["Windows,productversion1"] of this stack to tVersion1 set the cRevStandaloneSettings["Windows,productversion2"] of this stack to tVersion2 set the cRevStandaloneSettings["Windows,productversion3"] of this stack to tVersion3 set the cRevStandaloneSettings["Windows,productversion4"] of this stack to tVersion4 save this stack end setVersionNum It deals with OS X & Windows only, but could easily be expanded to accomodate others. This works on Rev 2.7.3 but I haven't tested it on anything else, so use at your own risk :-) Cheers, Sarah From sarah.reichelt at gmail.com Mon Aug 21 21:02:34 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 22 Aug 2006 11:02:34 +1000 Subject: RunRev logos Message-ID: <f99b52860608211802o6b8050c2g651044091378fb61@mail.gmail.com> In earlier versions of Revolution, they used to supply a set of image files with RunRev logos which we were supposed to display in our apps. I cannot find these files in any 2.7.x folders. I guess I can dig back through my archives and find older copies, but does this mean it is no longer expected that we give credit to RunRev in our apps? They used to supply some text as well. What's the story and what should I do? Cheers, Sarah From saxtell at megavision.com Mon Aug 21 21:36:29 2006 From: saxtell at megavision.com (Steven Axtell) Date: Mon, 21 Aug 2006 20:36:29 -0500 Subject: Opening card by clicking on linked text Message-ID: <008301c6c58b$67e58960$8ecef9d0@axtell> I want to be able to open a card by clicking on linked text. How do I do that? Ax From kray at sonsothunder.com Mon Aug 21 21:50:02 2006 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 21 Aug 2006 20:50:02 -0500 Subject: Opening card by clicking on linked text In-Reply-To: <008301c6c58b$67e58960$8ecef9d0@axtell> Message-ID: <C10FCCFA.4226F%kray@sonsothunder.com> On 8/21/06 8:36 PM, "Steven Axtell" <saxtell at megavision.com> wrote: > I want to be able to open a card by clicking on linked text. How do I do > that? Put in a "linkClicked" handler either in the field, group or card. Something like: on linkClicked pLink go card pLink end linkClicked HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From martyknapp at comcast.net Mon Aug 21 23:06:40 2006 From: martyknapp at comcast.net (Marty Knapp) Date: Mon, 21 Aug 2006 20:06:40 -0700 Subject: Getting version string for standalone app In-Reply-To: <f99b52860608211739r523fe1bfyf6639bf0faf80f87@mail.gmail.com> References: <AFB00445-8106-423F-88ED-69FF72476E9C@gmail.com> <44E2966B.5060201@hyperactivesw.com> <f99b52860608152110k14f216ak1e404519dd2c59e@mail.gmail.com> <44E338DA.6060003@hyperactivesw.com> <f99b52860608211739r523fe1bfyf6639bf0faf80f87@mail.gmail.com> Message-ID: <44EA74C0.70004@comcast.net> Thanks Sarah, Very handy for my purposes. Seems to work fine with Rev 2.6.1 Marty Knapp >> > I want to work the other way around. I want to be able to set a >> > version number in my application and have it transfer this to all the >> > various settings in the Standalone Builder. So far laziness has won >> > and I haven't actually done anything about this, but you never know, I >> > might get there in the end. >> >> Now you can -- just make a handler that sets the >> cRevStandaloneSettings[<version you want>] of the stack. This should >> work fine during development. > > OK, here it is. It wasn't difficult, but finding all the properties > that had to be set was tedious, so I thought other people might like > to share the handler: > > on setVersionNum > put the cProgramVersion of this stack into tVersion > ask info "Enter the new version number:" with tVersion > if it is empty then exit to top > put it into tNewVersion > > set the cProgramVersion of this stack to tNewVersion > > -- OS X settings > put the cRevStandaloneSettings["OSX,info"] of this stack into tInfo > put tNewVersion into last word of tInfo > set the cRevStandaloneSettings["OSX,info"] of this stack to tInfo > > put the cRevStandaloneSettings["OSX,longVersion"] of this stack > into tInfo > put tNewVersion into last word of tInfo > set the cRevStandaloneSettings["OSX,longVersion"] of this stack to > tInfo > > set the cRevStandaloneSettings["OSX,shortVersion"] of this stack > to tNewVersion > > -- Windows settings > put the cRevStandaloneSettings["Windows,FileDescription"] of this > stack into tInfo > put tNewVersion into word -3 of tInfo > set the cRevStandaloneSettings["Windows,FileDescription"] of this > stack to tInfo > > -- split Windows version up into 4 separate bits > put ".0.0.0" after tNewVersion -- make sure it has enough > set the itemdel to "." > put item 1 of tNewVersion into tVersion1 > put item 2 of tNewVersion into tVersion2 > put item 3 of tNewVersion into tVersion3 > put item 4 of tNewVersion into tVersion4 > > set the cRevStandaloneSettings["Windows,fileversion1"] of this > stack to tVersion1 > set the cRevStandaloneSettings["Windows,fileversion2"] of this > stack to tVersion2 > set the cRevStandaloneSettings["Windows,fileversion3"] of this > stack to tVersion3 > set the cRevStandaloneSettings["Windows,fileversion4"] of this > stack to tVersion4 > > set the cRevStandaloneSettings["Windows,productversion1"] of this > stack to tVersion1 > set the cRevStandaloneSettings["Windows,productversion2"] of this > stack to tVersion2 > set the cRevStandaloneSettings["Windows,productversion3"] of this > stack to tVersion3 > set the cRevStandaloneSettings["Windows,productversion4"] of this > stack to tVersion4 > > save this stack > end setVersionNum > > > It deals with OS X & Windows only, but could easily be expanded to > accomodate others. This works on Rev 2.7.3 but I haven't tested it on > anything else, so use at your own risk :-) > > Cheers, > Sarah From janschenkel at yahoo.com Mon Aug 21 23:30:08 2006 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 21 Aug 2006 20:30:08 -0700 (PDT) Subject: RunRev logos In-Reply-To: <f99b52860608211802o6b8050c2g651044091378fb61@mail.gmail.com> Message-ID: <20060822033008.4776.qmail@web60516.mail.yahoo.com> --- Sarah Reichelt <sarah.reichelt at gmail.com> wrote: > In earlier versions of Revolution, they used to > supply a set of image > files with RunRev logos which we were supposed to > display in our apps. > I cannot find these files in any 2.7.x folders. I > guess I can dig back > through my archives and find older copies, but does > this mean it is no > longer expected that we give credit to RunRev in our > apps? They used > to supply some text as well. > > What's the story and what should I do? > > Cheers, > Sarah > Hi Sarah, They're still there, but no longer a copy per version. On Windows, inside the \Program Files\Revolution [Media|Studio|Enterprise] directory is a subdirectory 'Supporting Materials' which has a subdirectory 'Made With Logos'. Likewise on MacOS, in your /Applications/Revolution [Media|Studio|Enterprise] folder you'll find a folder 'Supporting Materials' which has a subfolder 'Made With Logos' The license still 'encourages' us to place these logos. Hope this helped, Jan Schenkel. Quartam Reports for Revolution <http://www.quartam.com> ===== "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 jacque at hyperactivesw.com Mon Aug 21 23:35:39 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 21 Aug 2006 22:35:39 -0500 Subject: RunRev logos In-Reply-To: <f99b52860608211802o6b8050c2g651044091378fb61@mail.gmail.com> References: <f99b52860608211802o6b8050c2g651044091378fb61@mail.gmail.com> Message-ID: <44EA7B8B.305@hyperactivesw.com> Sarah Reichelt wrote: > In earlier versions of Revolution, they used to supply a set of image > files with RunRev logos which we were supposed to display in our apps. > I cannot find these files in any 2.7.x folders. I guess I can dig back > through my archives and find older copies, but does this mean it is no > longer expected that we give credit to RunRev in our apps? They used > to supply some text as well. > > What's the story and what should I do? I've got a folder called "Supporting Materials" in the root level of my Revolution Enterprise main folder, the one that holds all the various versions. The logos are in there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sarah.reichelt at gmail.com Tue Aug 22 00:45:38 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 22 Aug 2006 14:45:38 +1000 Subject: RunRev logos In-Reply-To: <44EA7B8B.305@hyperactivesw.com> References: <f99b52860608211802o6b8050c2g651044091378fb61@mail.gmail.com> <44EA7B8B.305@hyperactivesw.com> Message-ID: <f99b52860608212145r1cc264f1k54e20e13801c4b26@mail.gmail.com> On 8/22/06, J. Landman Gay <jacque at hyperactivesw.com> wrote: > Sarah Reichelt wrote: > > In earlier versions of Revolution, they used to supply a set of image > > files with RunRev logos which we were supposed to display in our apps. > > I cannot find these files in any 2.7.x folders. I guess I can dig back > > through my archives and find older copies, but does this mean it is no > > longer expected that we give credit to RunRev in our apps? They used > > to supply some text as well. > > > > What's the story and what should I do? > > I've got a folder called "Supporting Materials" in the root level of my > Revolution Enterprise main folder, the one that holds all the various > versions. The logos are in there. > Ah yes, I see it now. I was looking in the version folders a level down from that. Thanks. Sarah From sarah.reichelt at gmail.com Tue Aug 22 02:16:03 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 22 Aug 2006 16:16:03 +1000 Subject: Printing in Windows Message-ID: <f99b52860608212316j259bba29hc052716482447eb0@mail.gmail.com> How is printing in Windows supposed to work? In Mac, I go to "Page setup" and choose the paper layout I want. Then when I print, I get another dialog allowing me to choose copies, page ranges, quality etc. Rev ignores the page ranges :-( but apart from that, printing works as I would expect. With Windows, when I use "answer printer" which I do when "Page setup" is chosen from the menu, I get a dialog allowing me to choose the printer and it's settings, but it also has a Print button. rather to my surprise, this seems to work, even though I haven't scripted for it at all. However choosing "Print" from the menu gives me no dialog at all, it just prints to the default printer, no matter what I chose in "Page setup". So what do Windows users expect? Is this correct behaviour? Or should I forget "Page setup" for Windows and just use the "answer printer" dialog for printing in a single step? Please help a confused Mac person... Cheers, Sarah From garrett at paraboliclogic.com Tue Aug 22 03:14:46 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Tue, 22 Aug 2006 00:14:46 -0700 Subject: RunRev logos In-Reply-To: <20060822033008.4776.qmail@web60516.mail.yahoo.com> References: <20060822033008.4776.qmail@web60516.mail.yahoo.com> Message-ID: <48A04B4B-D010-4E72-8894-58FEC32A7284@paraboliclogic.com> On Aug 21, 2006, at 8:30 PM, Jan Schenkel wrote: [snip] > The license still 'encourages' us to place these > logos. Ummmm, without trying to start something here..... You mean that we're suppose to be putting a logo or some credit to Runtime in our apps? -Garrett From P.Jimmieson at csc.liv.ac.uk Tue Aug 22 03:48:04 2006 From: P.Jimmieson at csc.liv.ac.uk (Phil Jimmieson) Date: Tue, 22 Aug 2006 08:48:04 +0100 Subject: RunRev logos In-Reply-To: <48A04B4B-D010-4E72-8894-58FEC32A7284@paraboliclogic.com> References: <20060822033008.4776.qmail@web60516.mail.yahoo.com> <48A04B4B-D010-4E72-8894-58FEC32A7284@paraboliclogic.com> Message-ID: <a06230900c110660582d3@[10.50.4.4]> >On Aug 21, 2006, at 8:30 PM, Jan Schenkel wrote: > >[snip] > >>The license still 'encourages' us to place these >>logos. > >Ummmm, without trying to start something here..... You mean that >we're suppose to be putting a logo or some credit to Runtime in our >apps? and some of the logos seem very messed up (the small pct, png and gif) - it looks like the image has been scaled to make it smaller than the full size version, but there's a white cutout that's still the full size and the image is being drawn onto that. -- Phil Jimmieson phil at csc.liv.ac.uk (UK) 0151 795 4236 (Mobile) 07976 983164 Computer Science Dept., Liverpool University, Ashton Building, Ashton Street Liverpool L69 7ZF http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. From wjm at wjm.org Tue Aug 22 04:14:41 2006 From: wjm at wjm.org (Bill Marriott) Date: Tue, 22 Aug 2006 04:14:41 -0400 Subject: RunRev logos References: <20060822033008.4776.qmail@web60516.mail.yahoo.com><48A04B4B-D010-4E72-8894-58FEC32A7284@paraboliclogic.com> <a06230900c110660582d3@[10.50.4.4]> Message-ID: <eceede$d36$1@sea.gmane.org> Yes, I wish they had just given us a decent .eps >>>The license still 'encourages' us to place these >>>logos. >> >>Ummmm, without trying to start something here..... You mean that we're >>suppose to be putting a logo or some credit to Runtime in our apps? > > and some of the logos seem very messed up (the small pct, png and gif) - > it looks like the image has been scaled to make it smaller than the full > size version, but there's a white cutout that's still the full size and > the image is being drawn onto that. From klaus at major-k.de Tue Aug 22 04:41:07 2006 From: klaus at major-k.de (Klaus Major) Date: Tue, 22 Aug 2006 10:41:07 +0200 Subject: RunRev logos In-Reply-To: <eceede$d36$1@sea.gmane.org> References: <20060822033008.4776.qmail@web60516.mail.yahoo.com><48A04B4B-D010-4E72-8894-58FEC32A7284@paraboliclogic.com> <a06230900c110660582d3@[10.50.4.4]> <eceede$d36$1@sea.gmane.org> Message-ID: <3190AB3D-C855-4424-86B7-3D5E0F47187F@major-k.de> Hi Bill, > Yes, I wish they had just given us a decent .eps you'll find some EPS files in that folder, too 8-) >>>> The license still 'encourages' us to place these >>>> logos. >>> Ummmm, without trying to start something here..... You mean that >>> we're >>> suppose to be putting a logo or some credit to Runtime in our apps? >> and some of the logos seem very messed up (the small pct, png and >> gif) - >> it looks like the image has been scaled to make it smaller than >> the full >> size version, but there's a white cutout that's still the full >> size and >> the image is being drawn onto that. Regards Klaus Major klaus at major-k.de http://www.major-k.de From paolo.mazza at neol.it Tue Aug 22 04:46:48 2006 From: paolo.mazza at neol.it (paolo mazza) Date: Tue, 22 Aug 2006 10:46:48 +0200 Subject: From CGI to MySQL database In-Reply-To: <44EA74C0.70004@comcast.net> References: <AFB00445-8106-423F-88ED-69FF72476E9C@gmail.com> < > <44E2966B.5060201@hyperactivesw.com> < > <f99b52860608152110k14f216ak1e404519dd2c59e@mail.gmail.com> < > <44E338DA.6060003@hyperactivesw.com> <, > <f99b52860608211739r523fe1bfyf6639bf0faf80f87@mail.gmail.com> <,> <44EA74C0.70004@comcast.net> Message-ID: <fc.000f58e500b444e83b9aca0097a0ce85.b444f1@fc.neol.it> Some months ago I tryed to read/write from a CGI -revolution to a MySQL database in the web server. For some reasons it did not work and I gave up. Now I reconsidering this opportunity... but i wonder if is possible.. Any of you have never experienced this? Where am I supposed to place the database drivers? Ciao Paolo Mazza From jbv.silences at club-internet.fr Tue Aug 22 05:24:06 2006 From: jbv.silences at club-internet.fr (jbv) Date: Tue, 22 Aug 2006 11:24:06 +0200 Subject: From CGI to MySQL database References: <AFB00445-8106-423F-88ED-69FF72476E9C@gmail.com> < > <44E2966B.5060201@hyperactivesw.com> < > <f99b52860608152110k14f216ak1e404519dd2c59e@mail.gmail.com> < > <44E338DA.6060003@hyperactivesw.com> <, > <f99b52860608211739r523fe1bfyf6639bf0faf80f87@mail.gmail.com> <,> <44EA74C0.70004@comcast.net> <fc.000f58e500b444e83b9aca0097a0ce85.b444f1@fc.neol.it> Message-ID: <44EACD32.257C9E95@club-internet.fr> paolo, I put it in the same directory as Rev cgi : put "/usr/local/bin/" into path revSetDatabaseDriverPath path Best, JB > Some months ago I tryed to read/write from a CGI -revolution to a MySQL > database in the web server. > For some reasons it did not work and I gave up. > Now I reconsidering this opportunity... but i wonder if is possible.. > Any of you have never experienced this? > Where am I supposed to place the database drivers? > Ciao > > Paolo Mazza > From mb.ur at harbourhosting.co.uk Tue Aug 22 05:30:07 2006 From: mb.ur at harbourhosting.co.uk (Martin Baxter) Date: Tue, 22 Aug 2006 10:30:07 +0100 Subject: RunRev logos In-Reply-To: <48A04B4B-D010-4E72-8894-58FEC32A7284@paraboliclogic.com> References: <20060822033008.4776.qmail@web60516.mail.yahoo.com> <48A04B4B-D010-4E72-8894-58FEC32A7284@paraboliclogic.com> Message-ID: <44EACE9F.20002@harbourhosting.co.uk> Garrett Hylltun wrote: > > On Aug 21, 2006, at 8:30 PM, Jan Schenkel wrote: > > [snip] > >> The license still 'encourages' us to place these >> logos. > > Ummmm, without trying to start something here..... You mean that we're > suppose to be putting a logo or some credit to Runtime in our apps? > > -Garrett In the license agreement, there is a Revolution copyright statement that you must include along with your own copyright statements. Including the rev logo is optional, but encouraged. Martin Baxter From rcozens at pon.net Tue Aug 22 11:06:12 2006 From: rcozens at pon.net (Rob Cozens) Date: Tue, 22 Aug 2006 08:06:12 -0700 Subject: Connecting 2 stand alone programs. In-Reply-To: <C10F2C48.3C7FD%JimAultWins@yahoo.com> References: <C10F2C48.3C7FD%JimAultWins@yahoo.com> Message-ID: <a05210600c110cc997baf@[66.81.74.119]> Alvaro, Yves, Jim, et al: > > You can only share information with an external .txt file between 2 apps > > or if you are sure there is no interference, with the clipboard data > >You cold try the shell() commands as another option, or you could use UDP or >TCP, which means the apps talk (send message packets) directly to each >other. If you're simply trying to pass data to app 2 from app 1 when app 1 starts app 2 (as opposed to ongoing interprocess communications), look at the $ keyword in Rev Dictionary. -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Tue Aug 22 11:14:32 2006 From: rcozens at pon.net (Rob Cozens) Date: Tue, 22 Aug 2006 08:14:32 -0700 Subject: text into a tabstopped field In-Reply-To: <4319512637.20060821144822@ahsoftware.net> References: <BBDF6DA3-071A-4A3B-B33E-BF7C2C29B8C0@twft.com> <4319512637.20060821144822@ahsoftware.net> Message-ID: <a05210601c110cec6fe61@[66.81.74.119]> Robert, Richard, Mark, et al: > > Seriously though, this should be corrected. I am reminded that in > > Foxpro a plus "+" can add two numbers AND concatenate 2 strings. > >Try "if x is a number then..." Disambiguation then becomes a simple >matter of "if both x and y are numbers then add them, otherwise >concatenate them". Perhaps Foxpro has stronger variable typing than xTalk. "123" and "456" are strings AND numbers in Revolution; so would "Foxpro syntax" like "123" + "456" resolve to 579 or "123456"? -- 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 jean-pierre.soto at wanadoo.fr Tue Aug 22 11:20:24 2006 From: jean-pierre.soto at wanadoo.fr (Jean-Pierre Soto) Date: Tue, 22 Aug 2006 17:20:24 +0200 Subject: MySQL problem... Message-ID: <20A81CD3-45AF-471C-A924-1102E52D8F92@wanadoo.fr> hello, I have a some problem with MySQL , this line work fine : revExecuteSQL IDdata,"insert into table1 values (5,'new word')" but this one doesn't work , why ? revExecuteSQL IDdata,"insert into table1 values (:1,:2)",5,"new word" so i can't use "c'est beau l'amour" as new word because there is confusion between quote and apostrophe ... revExecuteSQL IDdata,"insert into table1 values (5,'c'est beau l'amour')" Sig... From jbv.silences at club-internet.fr Tue Aug 22 11:58:54 2006 From: jbv.silences at club-internet.fr (jbv) Date: Tue, 22 Aug 2006 17:58:54 +0200 Subject: MySQL problem... References: <20A81CD3-45AF-471C-A924-1102E52D8F92@wanadoo.fr> Message-ID: <44EB29AA.FC142894@club-internet.fr> Jean-Pierre, have tou tried putting a backslash before the apostrophe : revExecuteSQL IDdata,"insert into table1 values (5,'c\'est beau l\'amour')" Jb > hello, > > I have a some problem with MySQL , > > this line work fine : > > revExecuteSQL IDdata,"insert into table1 values (5,'new word')" > > but this one doesn't work , why ? > > revExecuteSQL IDdata,"insert into table1 values (:1,:2)",5,"new > word" > > so i can't use "c'est beau l'amour" as new word because there is > confusion between quote and apostrophe ... > > revExecuteSQL IDdata,"insert into table1 values (5,'c'est beau > l'amour')" Sig... > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: From jean-pierre.soto at wanadoo.fr Tue Aug 22 13:46:43 2006 From: jean-pierre.soto at wanadoo.fr (Jean-Pierre Soto) Date: Tue, 22 Aug 2006 19:46:43 +0200 Subject: MySQL problem(2) ... Message-ID: <7636C25C-B5EB-4F60-979D-B7FEFC62827F@wanadoo.fr> Sorry ... I have too big finger ... I have another problem ... I can access to any data in the database but when I want to see complete record one by one, I have just FIRST,PREVIOUS,NEXT and LAST with built-in manager... How can I jump to record 100 in one step, see it, and go to the next record etc... Thanks ... From janschenkel at yahoo.com Tue Aug 22 14:10:33 2006 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 22 Aug 2006 11:10:33 -0700 (PDT) Subject: MySQL problem(2) ... In-Reply-To: <7636C25C-B5EB-4F60-979D-B7FEFC62827F@wanadoo.fr> Message-ID: <20060822181033.98956.qmail@web60522.mail.yahoo.com> --- Jean-Pierre Soto <jean-pierre.soto at wanadoo.fr> wrote: > Sorry ... I have too big finger ... > > I have another problem ... > > I can access to any data in the database but when I > want to see > complete record one by one, I have just > FIRST,PREVIOUS,NEXT and LAST > with built-in manager... > > How can I jump to record 100 in one step, see it, > and go to the next > record etc... > > Thanks ... > Hi Jean-Pierre, If you're using the Automated queries and database linked controls, you can use the undocumented command 'revGoToRecordOfQuery'. If your query is named 'foobar' then use: ## on mouseUp revGoToRecordOfQuery "foobar",100 end mouseUp ## This will automatically update all the controls linked to that query. If you're using revdb library calls , you'll just have to iterate over the revdb cursor with 'revdb_movenext' until you get there: ## on mouseUp global gCursorID local tCurrentRec -- determine where we are in the cursor put revdb_currentrecord(gCursorID) into tCurrentRec if tCurrentRec < 100 then repeat 100 - tCurrentRec times get revdb_movenext(gCursorID) end repeat else repeat tCurrentRec - 100 times get revdb_moveprev(gCursorID) end repeat end if -- now that we're at the right record, do something -- ... end mouseUp ## Hope this helped, Jan Schenkel. Quartam Reports for Revolution <http://www.quartam.com> ===== "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 janschenkel at yahoo.com Tue Aug 22 14:16:38 2006 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 22 Aug 2006 11:16:38 -0700 (PDT) Subject: MySQL problem... In-Reply-To: <20A81CD3-45AF-471C-A924-1102E52D8F92@wanadoo.fr> Message-ID: <20060822181638.67125.qmail@web60519.mail.yahoo.com> --- Jean-Pierre Soto <jean-pierre.soto at wanadoo.fr> wrote: > hello, > > I have a some problem with MySQL , > > this line work fine : > > revExecuteSQL IDdata,"insert into table1 values > (5,'new word')" > > but this one doesn't work , why ? > > revExecuteSQL IDdata,"insert into table1 values > (:1,:2)",5,"new > word" > > > so i can't use "c'est beau l'amour" as new word > because there is > confusion between quote and apostrophe ... > > revExecuteSQL IDdata,"insert into table1 values > (5,'c'est beau > l'amour')" Sig... > Hi Jean-Pierre, When you're using the data binding option of the revdb library calls, you need to use variable names, not their content: ## on mouseUp global gConnectionID local tQuery, tFirstValue,tSecondValue put "INSERT INTO table1 VALUES(:1,:2)" into tQuery put 5 into tFirstValue put "c'est beau l'amour" into tSecondValue get revdb_execute(gConnectionID,tQuery,"tFirstValue","tSecondValue") end mouseUp ## Of course, you can always escape the apostrophe in the query by using a backslash, as JBV suggested. Hope this helped, Jan Schenkel. Quartam Reports for Revolution <http://www.quartam.com> ===== "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 janschenkel at yahoo.com Tue Aug 22 14:30:13 2006 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 22 Aug 2006 11:30:13 -0700 (PDT) Subject: Printing in Windows In-Reply-To: <f99b52860608212316j259bba29hc052716482447eb0@mail.gmail.com> Message-ID: <20060822183013.55276.qmail@web60513.mail.yahoo.com> --- Sarah Reichelt <sarah.reichelt at gmail.com> wrote: > How is printing in Windows supposed to work? In Mac, > I go to "Page > setup" and choose the paper layout I want. Then when > I print, I get > another dialog allowing me to choose copies, page > ranges, quality etc. > Rev ignores the page ranges :-( but apart from that, > printing works as > I would expect. > > With Windows, when I use "answer printer" which I do > when "Page setup" > is chosen from the menu, I get a dialog allowing me > to choose the > printer and it's settings, but it also has a Print > button. rather to > my surprise, this seems to work, even though I > haven't scripted for it > at all. However choosing "Print" from the menu gives > me no dialog at > all, it just prints to the default printer, no > matter what I chose in > "Page setup". > > So what do Windows users expect? Is this correct > behaviour? Or should > I forget "Page setup" for Windows and just use the > "answer printer" > dialog for printing in a single step? > > Please help a confused Mac person... > > Cheers, > Sarah > Hi Sarah, Printing on Windows is a tad confusing in Revolution. The 'answer printer' command displays the Page Setup dialog box on MacOS, but on Windows it looks like the place to print from. And the other fun thing is that you can't actually read and store the page setup data, so you have to ask the user every time. On Windows, users either never get the printer selection screen, or they get it every time. Usually, my printing code looks something like this: ## on mouseUp answer printer if the result is "Cancel" then exit mouseUp -- some preparation code -- ... -- about to start printing -- Note: won't display a dialog box on Win or Unix open printing with dialog as sheet if the result is not "Cancel" then print this card close printing end if -- some cleanup code -- ... end mouseUp ## And then the fun starts when 'formatForPrinting' gets added to the mix... Hope this helped, Jan Schenkel. Quartam Reports for Revolution <http://www.quartam.com> ===== "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 laurent at ostiz.com Tue Aug 22 15:05:34 2006 From: laurent at ostiz.com (Laurent Ostiz) Date: Tue, 22 Aug 2006 21:05:34 +0200 Subject: Touchscreen interface Message-ID: <19F60AED-8656-46DD-8184-298127A9E393@ostiz.com> Hi ! Does anybody have some experience he can share using a touchscreen with Revolution and a Macintosh ? What model of Mac and which touchscreen technology and which manufacturer ? Thanks Laurent From yvescoppe at skynet.be Tue Aug 22 15:37:22 2006 From: yvescoppe at skynet.be (Yves COPPE) Date: Tue, 22 Aug 2006 21:37:22 +0200 Subject: Rev 2.7.3 and Internet Message-ID: <CA1C3388-4588-439A-AB97-F87ACF83E48C@skynet.be> Hi list, On mac OSX on a MacIntel MacBook Mac OSX 10.4.7 Rev 2.7.3 Enterprise version I have a stack which have to take info from internet the script is : put URL ("http://.......") into tData the standalone build on the MacBook : - for PPC only : runs Ok (on PPC and MacIntel) - U.B. : runs OK - Windows version : runs OK on windows PC - for macIntel only : tdata is empty Don't understand what happens ... Someone has any idea ? Bien amicalement Yves COPPE yvescoppe at skynet.be From wdesmet at wanadoo.nl Tue Aug 22 15:37:41 2006 From: wdesmet at wanadoo.nl (William de Smet) Date: Tue, 22 Aug 2006 21:37:41 +0200 Subject: FTP with SSL/TLS Message-ID: <b016f13e0608221237sa575272g48897abdadd3df21@mail.gmail.com> Hi there, I just thought to make a small easy FTP app so the teachers on the school I work (two locations in two different cities) could FTP documents to the other location. The FTP however needs SSL/TLS and I don't know how to do that! I know there are some free FTP apps out there which do SSL/TLS but I want simple drag and drop and nothing more. The documentation says: open socket command open [datagram] socket [to] host[:port[|ID]] [with message callbackMessage] open secure socket [to] host[:port[|ID]] [with message callbackMessage] [with|without verification] [using certificate certificate and key key] I don't know how to use it an d where to put it! Is this easy to do with RunRev? Are there any examples? I need to use this: IP 80.127.43.153 Socket 21|6932 Thanks, William de Smet From garrett at paraboliclogic.com Tue Aug 22 15:44:56 2006 From: garrett at paraboliclogic.com (Garrett Hylltun) Date: Tue, 22 Aug 2006 12:44:56 -0700 Subject: RunRev logos In-Reply-To: <44EACE9F.20002@harbourhosting.co.uk> References: <20060822033008.4776.qmail@web60516.mail.yahoo.com> <48A04B4B-D010-4E72-8894-58FEC32A7284@paraboliclogic.com> <44EACE9F.20002@harbourhosting.co.uk> Message-ID: <8A85CDF7-A6E3-4A30-99F0-972082B09674@paraboliclogic.com> On Aug 22, 2006, at 2:30 AM, Martin Baxter wrote: > Garrett Hylltun wrote: >> On Aug 21, 2006, at 8:30 PM, Jan Schenkel wrote: >> [snip] >>> The license still 'encourages' us to place these >>> logos. >> Ummmm, without trying to start something here..... You mean that >> we're suppose to be putting a logo or some credit to Runtime in >> our apps? >> -Garrett > > In the license agreement, there is a Revolution copyright statement > that you must include along with your own copyright statements. > Including the rev logo is optional, but encouraged. Ok....... Well that just put the nail in the coffin for me and Rev. I didn't pay all this damn money so I could put their copyright statement along with mine on anything I do. If this was a free version I was using then I could see doing something like that, even putting their logo all over it, but not after having to pay so much money, and continue to pay so much money if I want updates or upgrade/ updates, or whatever they want to call them. It's buggy, too expensive, price structure that's intended to suck the blood of it's users, introducing new features, err, bugs in updates instead of focusing on smashing as many bugs as possible already in Rev.... On and on and on the list goes why Rev is such a major disappointment. I feel like I've been totally ripped off here. The rest of you can continue to keep your blinders on and praise it all you want, but for me, I'm out of here! -Garrett From mpetrides at earthlink.net Tue Aug 22 15:58:21 2006 From: mpetrides at earthlink.net (Marian Petrides) Date: Tue, 22 Aug 2006 14:58:21 -0500 Subject: RunRev logos In-Reply-To: <8A85CDF7-A6E3-4A30-99F0-972082B09674@paraboliclogic.com> References: <20060822033008.4776.qmail@web60516.mail.yahoo.com> <48A04B4B-D010-4E72-8894-58FEC32A7284@paraboliclogic.com> <44EACE9F.20002@harbourhosting.co.uk> <8A85CDF7-A6E3-4A30-99F0-972082B09674@paraboliclogic.com> Message-ID: <10A9D17B-C845-4999-916A-99282A8584DF@earthlink.net> Garrett This fairly standard verbiage and should be no big deal. If you pay attention to the software you use daily, I bet you'll find a number of programs that include a statement something like this: "Portions copyright(c) ...some other guy's software company...." I can't recall offhand where I've seen it before, but I know I have. In fact, I'm pretty sure I ended up having to give credit to Apple for something or another when I published my software. Marian On Aug 22, 2006, at 2:44 PM, Garrett Hylltun wrote: > > On Aug 22, 2006, at 2:30 AM, Martin Baxter wrote: > >> Garrett Hylltun wrote: >>> On Aug 21, 2006, at 8:30 PM, Jan Schenkel wrote: >>> [snip] >>>> The license still 'encourages' us to place these >>>> logos. >>> Ummmm, without trying to start something here..... You mean that >>> we're suppose to be putting a logo or some credit to Runtime in >>> our apps? >>> -Garrett >> >> In the license agreement, there is a Revolution copyright >> statement that you must include along with your own copyright >> statements. Including the rev logo is optional, but encouraged. > > Ok....... Well that just put the nail in the coffin for me and > Rev. I didn't pay all this damn money so I could put their > copyright statement along with mine on anything I do. If this was > a free version I was using then I could see doing something like > that, even putting their logo all over it, but not after having to > pay so much money, and continue to pay so much money if I want > updates or upgrade/updates, or whatever they want to call them. > > It's buggy, too expensive, price structure that's intended to suck > the blood of it's users, introducing new features, err, bugs in > updates instead of focusing on smashing as many bugs as possible > already in Rev.... On and on and on the list goes why Rev is such a > major disappointment. > > I feel like I've been totally ripped off here. The rest of you can > continue to keep your blinders on and praise it all you want, but > for me, I'm out of here! > > -Garrett > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Tue Aug 22 15:59:27 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 22 Aug 2006 12:59:27 -0700 Subject: MySQL problem(2) ... In-Reply-To: <20060822181033.98956.qmail@web60522.mail.yahoo.com> References: <20060822181033.98956.qmail@web60522.mail.yahoo.com> Message-ID: <14914783988.20060822125927@ahsoftware.net> Jan- Tuesday, August 22, 2006, 11:10:33 AM, you wrote: > If you're using the Automated queries and database > linked controls, you can use the undocumented command > 'revGoToRecordOfQuery'. I hate all these undocumented db commands. You wouldn't happen to have a list of the undocumented ones around, would you? Or would that be considered documenting them? -- -Mark Wieder mwieder at ahsoftware.net From janschenkel at yahoo.com Tue Aug 22 16:17:49 2006 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 22 Aug 2006 13:17:49 -0700 (PDT) Subject: MySQL problem(2) ... In-Reply-To: <14914783988.20060822125927@ahsoftware.net> Message-ID: <20060822201749.8204.qmail@web60516.mail.yahoo.com> --- Mark Wieder <mwieder at ahsoftware.net> wrote: > Jan- > > Tuesday, August 22, 2006, 11:10:33 AM, you wrote: > > > If you're using the Automated queries and database > > linked controls, you can use the undocumented > command > > 'revGoToRecordOfQuery'. > > I hate all these undocumented db commands. You > wouldn't happen to have > a list of the undocumented ones around, would you? > Or would that be > considered documenting them? > Heh, they're all there for your perusing, in the 'revDatabase' frontscript. Just open the Message Box, go to the 'Front Scripts' tab, tick the 'Show Revolution UI Front Scripts' checkbox, and doubleclick the line 'revDatabase' in the list that appears. Most of them have a short explanation of what they do. Unfortunately, the fact that they're undocumented means they can change at any given time. On the plus side, this means they can rip it out and improve it at some point in the future, maybe even adding engine-level data bindings? Jan Schenkel. Quartam Reports for Revolution <http://www.quartam.com> ===== "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 janschenkel at yahoo.com Tue Aug 22 16:24:05 2006 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 22 Aug 2006 13:24:05 -0700 (PDT) Subject: FTP with SSL/TLS In-Reply-To: <b016f13e0608221237sa575272g48897abdadd3df21@mail.gmail.com> Message-ID: <20060822202405.5922.qmail@web60515.mail.yahoo.com> --- William de Smet <wdesmet at wanadoo.nl> wrote: > Hi there, > > I just thought to make a small easy FTP app so the > teachers on the > school I work (two locations in two different > cities) could FTP > documents to the other location. > The FTP however needs SSL/TLS and I don't know how > to do that! > > I know there are some free FTP apps out there which > do SSL/TLS but I > want simple drag and drop and nothing more. > > The documentation says: > open socket command open [datagram] socket [to] > host[:port[|ID]] [with > message callbackMessage] open secure socket [to] > host[:port[|ID]] > [with message callbackMessage] [with|without > verification] [using > certificate certificate and key key] > > I don't know how to use it an d where to put it! > Is this easy to do with RunRev? Are there any > examples? > > I need to use this: > IP 80.127.43.153 > Socket 21|6932 > > Thanks, > > William de Smet > Hi William, The SFTP protocol is a different protocol from FTP - it's not just a matter of opening a secure socket connection. <http://en.wikipedia.org/wiki/SSH_file_transfer_protocol> While this might be an interesting project if you want to learn more about socket communication, it might be better to file a feature request in Bugzilla, so LibURL guru Dave Cragg can build it for you ;-) Jan Schenkel. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From ambassador at fourthworld.com Tue Aug 22 16:26:06 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 22 Aug 2006 13:26:06 -0700 Subject: RunRev logos Message-ID: <44EB685E.3040803@fourthworld.com> Garrett wrote: >> In the license agreement, there is a Revolution copyright statement >> that you must include along with your own copyright statements. >> Including the rev logo is optional, but encouraged. > > Ok....... Well that just put the nail in the coffin for me and Rev. > I didn't pay all this damn money so I could put their copyright > statement along with mine on anything I do. If this was a free > version I was using then I could see doing something like that, even > putting their logo all over it, but not after having to pay so much > money, and continue to pay so much money if I want updates or upgrade/ > updates, or whatever they want to call them. Most companies charge for upgrades, and I haven't seen a software package yet that doesn't have bugs. The trick of course is to find the right balance between bugs and marketability. I don't have the stats on how Rev measures up against other apps for bugs/KLOC, but for myself and most of the folks here the balance is in their favor relative to the productivity it allows me to deliver to my clients. Search for "good enough software" for some good reading on the topic; there are some who argue against shipping with any known bugs, and indeed I try to get my own stuff as close to that as practical, but in general the "Good Enough" philosophy helps apps ship and delivers more value to customers more quickly than attempting perfection. As for the copyright notice, I think you'll find that with just about any libraries, components, frameworks, or anything else. Modern software is just too complex to write without using at least a framework written by someone else, and that someone usually wants appropriate copyright protection for their contribution. Going back as far as MacApp Apple required a notice, THINK C required one, Code Warrior required one, and Rev requires one. It's pretty customary, unless you're writing everything 100% from scratch. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mark at maseurope.net Tue Aug 22 16:30:27 2006 From: mark at maseurope.net (Mark Smith) Date: Tue, 22 Aug 2006 21:30:27 +0100 Subject: RunRev logos In-Reply-To: <8A85CDF7-A6E3-4A30-99F0-972082B09674@paraboliclogic.com> References: <20060822033008.4776.qmail@web60516.mail.yahoo.com> <48A04B4B-D010-4E72-8894-58FEC32A7284@paraboliclogic.com> <44EACE9F.20002@harbourhosting.co.uk> <8A85CDF7-A6E3-4A30-99F0-972082B09674@paraboliclogic.com> Message-ID: <B71D206A-6109-437D-BA53-CD2D9BDC4BF5@maseurope.net> Do you really mean to say that since Rev apparently doesn't provide the cost/benefit that you want, any and all of 'us' are wearing 'blinders' if we have had a different experience? That is fairly insulting. Still, best of luck, Mark On 22 Aug 2006, at 20:44, Garrett Hylltun wrote: > The rest of you can continue to keep your blinders on and praise it > all you want, but for me, I'm out of here! From dcragg at lacscentre.co.uk Tue Aug 22 16:41:27 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 22 Aug 2006 21:41:27 +0100 Subject: FTP with SSL/TLS In-Reply-To: <20060822202405.5922.qmail@web60515.mail.yahoo.com> References: <20060822202405.5922.qmail@web60515.mail.yahoo.com> Message-ID: <5511102C-2FA8-43F0-AB05-92F307E1A369@lacscentre.co.uk> On 22 Aug 2006, at 21:24, Jan Schenkel wrote: > --- William de Smet <wdesmet at wanadoo.nl> wrote: >> Hi there, >> >> I just thought to make a small easy FTP app so the >> teachers on the >> school I work (two locations in two different >> cities) could FTP >> documents to the other location. >> The FTP however needs SSL/TLS and I don't know how >> to do that! > > Hi William, > > The SFTP protocol is a different protocol from FTP - > it's not just a matter of opening a secure socket > connection. > <http://en.wikipedia.org/wiki/SSH_file_transfer_protocol> > > While this might be an interesting project if you want > to learn more about socket communication, it might be > better to file a feature request in Bugzilla, so > LibURL guru Dave Cragg can build it for you ;-) FTP over SSL/TLS is different from SFTP (FTP over SSH), I believe. It's a while since I looked at this, but I think FTP over SSL/TLS would probably be easier to implement. However, I think the engine still needs a way to negotiate a secure connection (secure handshake??) over an existing non-secure connection before this could be implemented in libUrl. On the other hand, SFTP seems to be more widely supported by servers. Does anyone know if curl can be used for this? Cheers Dave From jacque at hyperactivesw.com Tue Aug 22 17:01:44 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 22 Aug 2006 16:01:44 -0500 Subject: RunRev logos In-Reply-To: <8A85CDF7-A6E3-4A30-99F0-972082B09674@paraboliclogic.com> References: <20060822033008.4776.qmail@web60516.mail.yahoo.com> <48A04B4B-D010-4E72-8894-58FEC32A7284@paraboliclogic.com> <44EACE9F.20002@harbourhosting.co.uk> <8A85CDF7-A6E3-4A30-99F0-972082B09674@paraboliclogic.com> Message-ID: <44EB70B8.3000408@hyperactivesw.com> Garrett Hylltun wrote: > > I > didn't pay all this damn money so I could put their copyright statement > along with mine on anything I do. It's pretty much boilerplate standard. Look in any About box or credits listing for almost any product and you'll see attributions for other development systems. I recall "Portions copyright by Think C" on almost every program I ran on OS 9. The attribution does not have to be prominent, nor do you need to use the logo, nor do you need to make a big deal out of it. I generally put a tiny line of type at the bottom of a credits listing. That's all that's needed. And when it comes right down to it, I doubt very much that RR will prosecute you if you happen to omit it. This is really a minor thing to get upset about. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mark at maseurope.net Tue Aug 22 17:11:10 2006 From: mark at maseurope.net (Mark Smith) Date: Tue, 22 Aug 2006 22:11:10 +0100 Subject: FTP with SSL/TLS In-Reply-To: <5511102C-2FA8-43F0-AB05-92F307E1A369@lacscentre.co.uk> References: <20060822202405.5922.qmail@web60515.mail.yahoo.com> <5511102C-2FA8-43F0-AB05-92F307E1A369@lacscentre.co.uk> Message-ID: <16D1773D-B334-45B6-A5F7-5E0B5A17F725@maseurope.net> On 22 Aug 2006, at 21:41, Dave Cragg wrote: > > > FTP over SSL/TLS is different from SFTP (FTP over SSH), I believe. > It's a while since I looked at this, but I think FTP over SSL/TLS > would probably be easier to implement. However, I think the engine > still needs a way to negotiate a secure connection (secure > handshake??) over an existing non-secure connection before this > could be implemented in libUrl. On the other hand, SFTP seems to be > more widely supported by servers. > > Does anyone know if curl can be used for this? > > Cheers > Dave > _______________________________________________ From the curl manual: FTPS It is just like for FTP, but you may also want to specify and use SSL-specific options for certificates etc. So I guess it can. Best, Mark From bobs at twft.com Tue Aug 22 17:19:00 2006 From: bobs at twft.com (Robert Sneidar) Date: Tue, 22 Aug 2006 14:19:00 -0700 Subject: Not sure what this thread was... Message-ID: <2262DC61-CABD-4EC6-ABC4-5D9E67A617F8@twft.com> >>> Seriously though, this should be corrected. I am reminded that in >>> Foxpro a plus "+" can add two numbers AND concatenate 2 strings. >>> >> >> Try "if x is a number then..." Disambiguation then becomes a simple >> matter of "if both x and y are numbers then add them, otherwise >> concatenate them". >> > > Perhaps Foxpro has stronger variable typing than xTalk. > > "123" and "456" are strings AND numbers in Revolution; so would > "Foxpro syntax" like > "123" + "456" > resolve to 579 or "123456"? > -- > > Rob Cozens > CCW, Serendipity Software Company > It would resolve to "123456" because it would evaluate the operands first and determine that they were strings. If you tried: 123 + "456" you would get a type mismatch error. But as I said in another post, I would only be able to evaluate variables at runtime. Literals are easy. Variables are only known at runtime, in which case I am in Foxpro, not Revolution and so would not be running my code converter. Bob Sneidar IT Manager Logos Management Calvary Chapel CM From janschenkel at yahoo.com Tue Aug 22 17:20:34 2006 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 22 Aug 2006 14:20:34 -0700 (PDT) Subject: FTP with SSL/TLS In-Reply-To: <5511102C-2FA8-43F0-AB05-92F307E1A369@lacscentre.co.uk> Message-ID: <20060822212034.64483.qmail@web60524.mail.yahoo.com> --- Dave Cragg <dcragg at lacscentre.co.uk> wrote: > > [snipping away information about SFTP] > > Does anyone know if curl can be used for this? > > Cheers > Dave > Weren't curl users traitors? ;o) Cheers, Jan. Quartam Reports for Revolution <http://www.quartam.com> ===== "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 janschenkel at yahoo.com Tue Aug 22 17:30:32 2006 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 22 Aug 2006 14:30:32 -0700 (PDT) Subject: FTP with SSL/TLS In-Reply-To: <20060822212034.64483.qmail@web60524.mail.yahoo.com> Message-ID: <20060822213032.42734.qmail@web60520.mail.yahoo.com> --- Jan Schenkel <janschenkel at yahoo.com> wrote: > --- Dave Cragg <dcragg at lacscentre.co.uk> wrote: > > > > [snipping away information about SFTP] > > > > Does anyone know if curl can be used for this? > > > > Cheers > > Dave > > > > Weren't curl users traitors? ;o) > > Cheers, > > Jan. For those of you who just tuned in, I was referring to <http://mail.runrev.com/pipermail/use-revolution/2006-August/086131.html> Jan. Quartam Reports for Revolution <http://www.quartam.com> ===== "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 lynn at paradigmasoft.com Tue Aug 22 17:46:14 2006 From: lynn at paradigmasoft.com (Lynn Fredricks) Date: Tue, 22 Aug 2006 14:46:14 -0700 Subject: RunRev logos In-Reply-To: <20060822033008.4776.qmail@web60516.mail.yahoo.com> Message-ID: <003a01c6c634$745bf360$6501a8c0@lynn> If there is a specific set of size/formats that everyone wants, I can have these put together in a separate download. Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution, Ltd From m.schonewille at economy-x-talk.com Tue Aug 22 17:58:18 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 22 Aug 2006 23:58:18 +0200 Subject: RunRev logos In-Reply-To: <003a01c6c634$745bf360$6501a8c0@lynn> References: <003a01c6c634$745bf360$6501a8c0@lynn> Message-ID: <6BBDDAE8-1D06-4CF7-A014-0138B39EE11C@economy-x-talk.com> Lynn, It would be useful if a high-resolution version, a small 72dpi version, and a EPS version of the RunRev logo in the current style were always available on the RunRev web site, together with high-res pictures of the RunRev staff ;-) 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 22-aug-2006, om 23:46 heeft Lynn Fredricks het volgende geschreven: > If there is a specific set of size/formats that everyone wants, I > can have > these put together in a separate download. > > Best regards, > > > Lynn Fredricks > Worldwide Business Operations > Runtime Revolution, Ltd From dcragg at lacscentre.co.uk Tue Aug 22 17:59:11 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 22 Aug 2006 22:59:11 +0100 Subject: FTP with SSL/TLS In-Reply-To: <20060822212034.64483.qmail@web60524.mail.yahoo.com> References: <20060822212034.64483.qmail@web60524.mail.yahoo.com> Message-ID: <9AFA34BE-719C-4569-B5E2-4EC786603161@lacscentre.co.uk> On 22 Aug 2006, at 22:20, Jan Schenkel wrote: > --- Dave Cragg <dcragg at lacscentre.co.uk> wrote: >> >> [snipping away information about SFTP] >> >> Does anyone know if curl can be used for this? >> >> Cheers >> Dave >> > > Weren't curl users traitors? ;o) That was last week. :-) Cheers Dave From barryb at libero.it Tue Aug 22 18:18:02 2006 From: barryb at libero.it (barryb at libero.it) Date: Wed, 23 Aug 2006 00:18:02 +0200 Subject: RE- My Dream App. Message-ID: <J4F7A2$9786939FDF199A499C5794C583167CEC@libero.it> Yesterday Chipp Walters wrote: >Mark, >Good link. Interesting idea. Double negative withstanding, I'm >not sure if they're not the latest Peter Minuit, trading a few Apple trinkets for the next 'Killer App'. <http://www.straightdope.com/classics/a3_156.html> >That said, the winner does get 15%, which is fine. But my guess >is the real value is in all the apps voted on which _DON'T_ win. >I wonder ifit's even possible to protect that sort of >intellectual property? >Chipp ----------------------------- Any proud owner of a Revolution licence with a bright idea will be trying to develop it alone, not farming it out to a group of developers at the cost of 85% of eventual sales profit. I thought the same as Chipp, (who preceded me), its the eliminated projects that are going to be the organizer's pay off! This is known in Italy as "Putting out mirrors for nightingales" --- a hunter's decoy trick for shooting down attracted birds. Good try though. >From what I've read, if you don't know how to write your application just tell the good people here what you want to do and they will write it for you! (^_^) The best to all. Barry Barber ___________________________________________________________________ 30 euro di sconto sull'abbonamento annuale, solo fino al 31/8! Cogli subito la grande offerta SKY http://click.libero.it/sky From ambassador at fourthworld.com Tue Aug 22 18:53:57 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 22 Aug 2006 15:53:57 -0700 Subject: RunRev logos Message-ID: <44EB8B05.6010800@fourthworld.com> Mark Schonewille wrote: > It would be useful if a high-resolution version, a small 72dpi > version, and a EPS version of the RunRev logo in the current style > were always available on the RunRev web site, together with high-res > pictures of the RunRev staff ;-) In kilts. :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From dsc at swcp.com Tue Aug 22 19:31:09 2006 From: dsc at swcp.com (Dar Scott) Date: Tue, 22 Aug 2006 17:31:09 -0600 Subject: FTP with SSL/TLS In-Reply-To: <5511102C-2FA8-43F0-AB05-92F307E1A369@lacscentre.co.uk> References: <20060822202405.5922.qmail@web60515.mail.yahoo.com> <5511102C-2FA8-43F0-AB05-92F307E1A369@lacscentre.co.uk> Message-ID: <E114BA6F-CAEA-4BFD-A198-22B3303D1B04@swcp.com> On Aug 22, 2006, at 2:41 PM, Dave Cragg wrote: > FTP over SSL/TLS is different from SFTP (FTP over SSH), I believe. > It's a while since I looked at this, but I think FTP over SSL/TLS > would probably be easier to implement. However, I think the engine > still needs a way to negotiate a secure connection (secure > handshake??) over an existing non-secure connection before this > could be implemented in libUrl. On the other hand, SFTP seems to be > more widely supported by servers. Yes, FTPS (FTP over SSL/TLS) should be easier for libUrl, at least if you assume implicit FTPS where you assume the connection is secure from the start and no command is needed to turn it on. Some rambling on the subject... I have looked at SSH several times to be used as part of a Rev standalone and each time the biggest technical problem was getting the passphrase to the right place at the right time with minimum abrasion of the user. This was especially a problem on OS X. The other big technical problem was setting up painless installation. It can be done; it is just a bunch of work. However, there is a way to use SSH with FTP on systems that allow it. One who is willing to invest a little learning can create an automatic tunnel from the client system to the server. This can make a local port look just like the FTP port on the server. Instead of connecting to the server, you connect to the local port. SSH is listening on that and will make a connection to the server asking it to make an "inside" connection to the FTP port. Some people do this for their POP accounts. This is not SFTP and this is not FTPS. I don't know what to call it. Dar Scott From andrewnelson at mac.com Tue Aug 22 22:00:50 2006 From: andrewnelson at mac.com (Andrew Nelson) Date: Tue, 22 Aug 2006 21:00:50 -0500 Subject: QT Player controls frozen in Deamcard 2.7.2 Message-ID: <6D3725BF-7D03-4419-A800-4F2F32B131B6@mac.com> I upgraded to DreamCard 2.7.2 only to discover that all my movie players no longer work! The controller is visible etc. but it won't play (or drag) by clicking the button or with a scripted command. Is there something buggy between QT version 7.1.2 and Dreamcard 2.7.2? Help, I am a classroom music teacher that depends on QuickTime to play my soundtracks & midi files for the students to sing and play instruments with. Post by Andrew Nelson From sarah.reichelt at gmail.com Tue Aug 22 22:01:44 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 23 Aug 2006 12:01:44 +1000 Subject: Fixing Mac OS X standalones Message-ID: <f99b52860608221901r2ce085dfna25a901dac8ab38d@mail.gmail.com> Hi All, When you build a standalone for Mac OS X, at the moment (Rev 2.7.x) the required display plugins are not copied over, so the app looks like it was built for OS 9. Also, if you have specified a custom icon, it does not get displayed. Here is a script that fixes all that. It is set to work only when building on OS X systems, I don't know if it is needed on others. Just put this in the stack script of your mainStack and it will happen auto-magically after the standalne has been created. HTH, Sarah -- after a standalone is created, this is called -- pFolder is the name of the folder containing the standalone's folder -- -- this routine copies over the missing display plugins -- and "touches" the app tho make the icon appear -- on standaloneSaved pFolder -- only works when building on Mac OS X if the platform <> "MacOS" then exit standaloneSaved set the itemdel to "." if item 1 of the systemversion >= 10 then exit standaloneSaved -- check if building any Mac OS X version put the cRevStandaloneSettings["MacOSX"] of the topstack into tMacUB put the cRevStandaloneSettings["MacOSX PowerPC-32"] of the topstack into tMacPPC put the cRevStandaloneSettings["MacOSX x86-32"] of the topstack into tMacIntel if tMacUB = false and tMacPPC = false and tMacIntel = false then exit standaloneSaved -- get the full name of the standalone folder put the cRevStandaloneSettings["name"] of the topstack into tName put pFolder & tName & "/" into tAppFolder -- if building multiples, there will be a Mac OS X folder, otherwise, just .app if there is a folder (tAppFolder & "MacOSX") then put "MacOSX/" after tAppFolder end if -- get out if can't find the new app if there is not a folder (tAppFolder & tName & ".app") then exit standaloneSaved -- get the new app's plugins folder so the display plugins can be copied across put tAppFolder & tName & ".app" & "/Contents/PlugIns/" into tAppPlugins -- get the path to the Rev app's plugins folder to find the originals put the effective filename of stack "Home" into tRevPath set the itemdel to "/" delete item -2 to -1 of tRevPath put "/Revolution.app/Contents/PlugIns/" after tRevPath -- list the plugins put the defaultfolder into tOldDefault set the defaultfolder to tRevPath put the folders into tPlugins filter tPlugins with "*.bundle" -- copy them to the new app -- bundles need revCopyFolder despite what the docs say -- revCopyFolder needs the full path for source & destination repeat for each line i in tPlugins put tRevPath & i into tSource revCopyFolder tSource, tAppPlugins end repeat -- 'touch' new app to make it's icon appear put "touch '" & tAppFolder & tName & ".app'" into tCmd get shell(tCmd) -- reset default folder set the defaultfolder to tOldDefault end standaloneSaved From pkcrossley at earthlink.net Tue Aug 22 22:09:52 2006 From: pkcrossley at earthlink.net (Pamela Crossley) Date: Tue, 22 Aug 2006 22:09:52 -0400 Subject: Fixing Mac OS X standalones In-Reply-To: <f99b52860608221901r2ce085dfna25a901dac8ab38d@mail.gmail.com> References: <f99b52860608221901r2ce085dfna25a901dac8ab38d@mail.gmail.com> Message-ID: <83388B0D-A8EE-46EC-8DBC-CEA03AFE6D38@earthlink.net> Thank you Sarah! You have fixed some of the nagging little issues that were plaguing me. On Aug 22, 2006, at 10:01 PM, Sarah Reichelt wrote: > Hi All, > > When you build a standalone for Mac OS X, at the moment (Rev 2.7.x) > the required display plugins are not copied over, so the app looks > like it was built for OS 9. Also, if you have specified a custom icon, > it does not get displayed. > > Here is a script that fixes all that. It is set to work only when > building on OS X systems, I don't know if it is needed on others. Just > put this in the stack script of your mainStack and it will happen > auto-magically after the standalne has been created. > > HTH, > Sarah > From sarah.reichelt at gmail.com Tue Aug 22 22:28:32 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 23 Aug 2006 12:28:32 +1000 Subject: Fixing Mac OS X standalones In-Reply-To: <f99b52860608221901r2ce085dfna25a901dac8ab38d@mail.gmail.com> References: <f99b52860608221901r2ce085dfna25a901dac8ab38d@mail.gmail.com> Message-ID: <f99b52860608221928r33302477k2346c22b72453775@mail.gmail.com> > When you build a standalone for Mac OS X, at the moment (Rev 2.7.x) > the required display plugins are not copied over, so the app looks > like it was built for OS 9. Also, if you have specified a custom icon, > it does not get displayed. > > Here is a script that fixes all that. It is set to work only when > building on OS X systems, I don't know if it is needed on others. Just > put this in the stack script of your mainStack and it will happen > auto-magically after the standalne has been created. Sorry all, some last minutes changes made it stop working :-( Here is the correct version. Cheers, Sarah -- after a standalone is created, this is called -- pFolder is the name of the folder containing the standalone's folder -- -- this routine copies over the missing display plugins -- and "touches" the app tho make the icon appear -- on standaloneSaved pFolder -- only works when building on Mac OS X if the platform <> "MacOS" then exit standaloneSaved set the itemdel to "." if item 1 of the systemversion < 10 then exit standaloneSaved put the short name of this stack into tStackName -- check if building any Mac OS X version put the cRevStandaloneSettings["MacOSX"] of stack tStackName into tMacUB put the cRevStandaloneSettings["MacOSX PowerPC-32"] of stack tStackName into tMacPPC put the cRevStandaloneSettings["MacOSX x86-32"] of stack tStackName into tMacIntel if tMacUB = false and tMacPPC = false and tMacIntel = false then exit standaloneSaved -- get the full name of the standalone folder put the cRevStandaloneSettings["name"] of stack tStackName into tName put pFolder & tName & "/" into tAppFolder -- if building multiples, there will be a Mac OS X folder, otherwise, just .app if there is a folder (tAppFolder & "MacOSX") then put "MacOSX/" after tAppFolder end if -- get out if can't find the new app if there is not a folder (tAppFolder & tName & ".app") then exit standaloneSaved -- get the new app's plugins folder so the display plugins can be copied across put tAppFolder & tName & ".app" & "/Contents/PlugIns/" into tAppPlugins -- get the path to the Rev app's plugins folder to find the originals put the effective filename of stack "Home" into tRevPath set the itemdel to "/" delete item -2 to -1 of tRevPath put "/Revolution.app/Contents/PlugIns/" after tRevPath -- list the plugins put the defaultfolder into tOldDefault set the defaultfolder to tRevPath put the folders into tPlugins filter tPlugins with "*.bundle" -- copy them to the new app -- bundles need revCopyFolder despite what the docs say -- revCopyFolder needs the full path for source & destination repeat for each line i in tPlugins put tRevPath & i into tSource revCopyFolder tSource, tAppPlugins end repeat -- 'touch' new app to make it's icon appear put "touch '" & tAppFolder & tName & ".app'" into tCmd get shell(tCmd) -- reset default folder set the defaultfolder to tOldDefault end standaloneSaved From jacque at hyperactivesw.com Wed Aug 23 01:03:49 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 23 Aug 2006 00:03:49 -0500 Subject: QT Player controls frozen in Deamcard 2.7.2 In-Reply-To: <6D3725BF-7D03-4419-A800-4F2F32B131B6@mac.com> References: <6D3725BF-7D03-4419-A800-4F2F32B131B6@mac.com> Message-ID: <44EBE1B5.4060204@hyperactivesw.com> Andrew Nelson wrote: > I upgraded to DreamCard 2.7.2 only to discover that all my movie players > no longer work! The controller is visible etc. but it won't play (or > drag) by clicking the button or with a scripted command. This happens when a player's alwaysBuffer property is set to true. Check that property, and set it to false if it somehow got toggled. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From runrev at animabit.de Wed Aug 23 05:08:52 2006 From: runrev at animabit.de (runrev at animabit.de) Date: Wed, 23 Aug 2006 09:08:52 +0000 Subject: using socket port twice in runrev on the same machine Message-ID: <DIIE.00000051000126F2@animabit.de> Hi Today in the morning I got a runrev problem I do not understand: When I use a runrev stack for serving like a webserver (like httpd of Andre Garcia - thank you very much for your work) or a webserver written in Perl for serving files on any port (8080 for example) I cannot call the URL using runrev code "put URL 'http://127.0.0.1:8080/index.html" The servers (the perl one or the runrev one ...) get the call (the log shows the correct GET command) but the result is not displayed in runrev. Is it impossible for the Internetlibrary of runrev (especially the URL command) to use a port used of another process on the SAME machine? Could I use another command of runrev to get the data form the other program/webserver on the same machine? The IExplore can load the page without any problem at the same time - the log shows no difference at all in the GET command. Any idea? I want to connect different programs (runrev standalones, visual basic based exe and perl programms on webservers) using sockets and often it is necessary to connect two programs on the same machine. A) runrev_program_a.exe serving on port 8080 B) runrev_program_b.exe calling info from A at http://127.0.0.1:8080 and perhaps serving on port 8081 and viceversa ... Regards, 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 VijayBABU.KALANGI at insead.edu Wed Aug 23 05:26:30 2006 From: VijayBABU.KALANGI at insead.edu (KALANGI Vijay BABU) Date: Wed, 23 Aug 2006 11:26:30 +0200 Subject: Variable size cells in a table Object Message-ID: <29CB66FA5AFE7446BE8729615CE52D790E26DF62@GAIA.FBL.insead.intra> Hi all, Can somebody suggest me a way to create a table object (tab/tab/return) with varying sizes of cells basically I need a way to change dimensions of an individual cell. Thanks in Advance!! Bye Vijay From m.schonewille at economy-x-talk.com Wed Aug 23 06:10:57 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 23 Aug 2006 12:10:57 +0200 Subject: Variable size cells in a table Object In-Reply-To: <29CB66FA5AFE7446BE8729615CE52D790E26DF62@GAIA.FBL.insead.intra> References: <29CB66FA5AFE7446BE8729615CE52D790E26DF62@GAIA.FBL.insead.intra> Message-ID: <5DE35A0E-8957-4B1B-AE9F-3197EEC21975@economy-x-talk.com> Hi, set the tabstops of fld 1 to 100,200,300 set the tabstops of fld 1 to 100,150,300 set the tabstops of fld 1 to 110,160,310 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 23-aug-2006, om 11:26 heeft KALANGI Vijay BABU het volgende geschreven: > Hi all, > > > > Can somebody suggest me a way to create a table object (tab/tab/ > return) > with varying sizes of cells basically I need a way to change > dimensions > of an individual cell. > > > > Thanks in Advance!! > > > > Bye > > Vijay From andrewnelson at mac.com Wed Aug 23 07:31:17 2006 From: andrewnelson at mac.com (Andrew Nelson) Date: Wed, 23 Aug 2006 06:31:17 -0500 Subject: QT Player controls frozen in Deamcard 2.7.2 Message-ID: <9070B5DF-0549-4EDB-BDF5-28C83A90E678@mac.com> Jacqueline, thanks for the info but changing the buffer from true to false makes no difference, controls still frozen. I am going to try some other scenario's like running some stacks that I have not yet opened in 2.7.2 on an older DreamCard Player (which they worked fine on last spring)and see what the outcome is so I can see if maybe my 2.7.2 download did not come through totally sound. Everything except movie players seems to work O.K. I am using QuickTime Pro 7.1.2 by the way. Any other suggestions? Would purchasing the new Revolution Media 2 (which I assume is the replacement for DreamCard) solve my problem? From viktoras at ekoinf.net Wed Aug 23 08:50:00 2006 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Wed, 23 Aug 2006 15:50:00 +0300 (FLE Standard Time) Subject: preserving scrolling position References: <9070B5DF-0549-4EDB-BDF5-28C83A90E678@mac.com> Message-ID: <44EC4EF8.000001.00448@MAZYTIS> Hi, I have 2 fields on my stack - one is table, another - text field. When I scroll down the table and then give focus for writing things to that another field, table scrolling position is being reset so all the records I need to see go out of sight. As far as I understand it is default behavior of fields Is it possible somehow to lock the current position of the table, when changing the focus to another field? All the best Viktoras From andrewnelson at mac.com Wed Aug 23 10:14:33 2006 From: andrewnelson at mac.com (Andrew Nelson) Date: Wed, 23 Aug 2006 09:14:33 -0500 Subject: QT Player controls frozen in Deamcard 2.7.2 Message-ID: <4800532.1156342473422.JavaMail.andrewnelson@mac.com> I was right about my build of Dreamcard 2.7.2 being buggy. I downloaded 2.7.3 this A.M. and the movie players worked fine! Now I just have to wait for the player version to catch up so I can run it successfully in class (Dreamcard player can't run files from a new version of DreamCard apparently). I keep my full version of DreamCard on my iBook and just use the DreamCard Player on my presentation iMac G5 because I eventually want to share my stacks with other music teachers in my school system who will only want to use the free player. Would another option be to break down and buy the new Revolution Media 2 for my presentation computer iMac G-5 and keep creating stacks on my iBook with DreamCard ? From tkuypers at dmp-int.com Wed Aug 23 10:35:12 2006 From: tkuypers at dmp-int.com (Ton Kuypers) Date: Wed, 23 Aug 2006 16:35:12 +0200 Subject: preserving scrolling position In-Reply-To: <44EC4EF8.000001.00448@MAZYTIS> References: <9070B5DF-0549-4EDB-BDF5-28C83A90E678@mac.com> <44EC4EF8.000001.00448@MAZYTIS> Message-ID: <2EC9138D-B4E7-4BAB-B2D6-4029A32108C2@dmp-int.com> Hi Viktoras, Very easy, should work... Enter the following scripts in the field you want to edit global gHilited, gScrolled on openField put the hilitedlines of fld "myTable" into gHilited put the scroll of fld "myTable" into gScrolled end openField on closeField set the hilitedlines of fld "myTable" to gHilited set the scroll of fld "myTable" to gScrolled end closeField This should do the trick... Warm regards, Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com On 23-aug-06, at 14:50, Viktoras Didziulis wrote: > Hi, > > I have 2 fields on my stack - one is table, another - text field. > When I > scroll down the table and then give focus for writing things to > that another > field, table scrolling position is being reset so all the records I > need to > see go out of sight. As far as I understand it is default behavior > of fields > Is it possible somehow to lock the current position of the table, > when > changing the focus to another field? > > All the best > 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 laurent at ostiz.com Wed Aug 23 11:01:46 2006 From: laurent at ostiz.com (Laurent Ostiz) Date: Wed, 23 Aug 2006 17:01:46 +0200 Subject: Displaying Windows-1252 encoded URL in field Message-ID: <9C31D992-89C2-4347-B14B-4B0FC9BCE0AA@ostiz.com> Hi ! I download XML files from the Internet that are windows-1252 encoded. I do not see how to specify for a field that the text is encoded this way so that it displays correctly. Certainly a newby question. Thanks for your answer. Laurent From jacque at hyperactivesw.com Wed Aug 23 11:14:42 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 23 Aug 2006 10:14:42 -0500 Subject: QT Player controls frozen in Deamcard 2.7.2 In-Reply-To: <9070B5DF-0549-4EDB-BDF5-28C83A90E678@mac.com> References: <9070B5DF-0549-4EDB-BDF5-28C83A90E678@mac.com> Message-ID: <44EC70E2.7000602@hyperactivesw.com> Andrew Nelson wrote: > Jacqueline, thanks for the info but changing the buffer from true to > false makes no difference, controls still frozen. I am going to try some > other scenario's like running some stacks that I have not yet opened in > 2.7.2 on an older DreamCard Player (which they worked fine on last > spring)and see what the outcome is so I can see if maybe my 2.7.2 > download did not come through totally sound. Everything except movie > players seems to work O.K. I am using QuickTime Pro 7.1.2 by the way. > > Any other suggestions? > > Would purchasing the new Revolution Media 2 (which I assume is the > replacement for DreamCard) solve my problem? Yes, 2.7.3 would probably fix it. I now remember that there was a bug in 2.7.2 that caused the controller to stop working on OS X machines if you have assigned a menubar to the stack. It was fixed in 2.7.3. I'll bet that's what is happening. In the mean time, if you want to continue using 2.7.2, you can create a substack that holds your menubar instead of placing the group directly on the main stack. I'm surprised I forgot that bug, because it affected one of my projects as well. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mb.ur at harbourhosting.co.uk Wed Aug 23 11:46:37 2006 From: mb.ur at harbourhosting.co.uk (Martin Baxter) Date: Wed, 23 Aug 2006 16:46:37 +0100 Subject: Displaying Windows-1252 encoded URL in field In-Reply-To: <9C31D992-89C2-4347-B14B-4B0FC9BCE0AA@ostiz.com> References: <9C31D992-89C2-4347-B14B-4B0FC9BCE0AA@ostiz.com> Message-ID: <44EC785D.40306@harbourhosting.co.uk> Laurent Ostiz wrote: > Hi ! > > I download XML files from the Internet that are windows-1252 encoded. I > do not see how to specify for a field that the text is encoded this way > so that it displays correctly. > Certainly a newby question. > > Thanks for your answer. > > Laurent Hi Laurent. If you want to display the readable text from these files in a Rev field on a Mac (which I'm guessing is what you're doing), you can translate it to Mac Roman using the isotoMac() function. Despite this function's name (and despite what it says in the dictionary), this built-in function converts from ansi (a.k.a. Windows-1252) to Mac roman. There is a nearly-symmetrical function MacToIso() for converting back again. Be careful to only use these to convert user-readable text as it can mess up certain of the low-ascii control characters that are sometimes used as delimiters in data. You shouldn't find any of those in XML though. Martin Baxter From revdev at pdslabs.net Wed Aug 23 11:41:15 2006 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 23 Aug 2006 08:41:15 -0700 Subject: using socket port twice in runrev on the same machine In-Reply-To: <DIIE.00000051000126F2@animabit.de> References: <DIIE.00000051000126F2@animabit.de> Message-ID: <44EC771B.6040309@pdslabs.net> Hi Franz, runrev at animabit.de wrote: > Hi --- snip --- > I want to connect different programs (runrev standalones, visual basic based exe and perl programms on webservers) using sockets and often it is necessary to connect two programs on the same machine. > > A) runrev_program_a.exe serving on port 8080 > B) runrev_program_b.exe calling info from A at http://127.0.0.1:8080 and perhaps serving on port 8081 and viceversa ... This should be no problem at all. I do something similar in a system I wrote. It works like this: app#1 - listen on 1335 - write to 1336 app#2 - listen on 1336 - write to 1335 The apps read/write binary data back and forth to each other. They don't use HTTP when they talk. They just use 127.0.0.1:<port number>. Phil Davis From dsc at swcp.com Wed Aug 23 12:07:48 2006 From: dsc at swcp.com (Dar Scott) Date: Wed, 23 Aug 2006 10:07:48 -0600 Subject: using socket port twice in runrev on the same machine In-Reply-To: <DIIE.00000051000126F2@animabit.de> References: <DIIE.00000051000126F2@animabit.de> Message-ID: <005B961D-27D1-490E-AA25-E3C25447FFC4@swcp.com> On Aug 23, 2006, at 3:08 AM, runrev at animabit.de wrote: > Any idea? > > I want to connect different programs (runrev standalones, visual > basic based exe and perl programms on webservers) using sockets and > often it is necessary to connect two programs on the same machine. 1 On Windows, Rev will listen on a port even when another process is listening on that port. You won't get an error message. Maybe you had another app up and it was accessed instead of the Rev app. 2 If you are testing in the IDE you might have one stack blocking the other stack. Dar Scott From dsc at swcp.com Wed Aug 23 12:36:03 2006 From: dsc at swcp.com (Dar Scott) Date: Wed, 23 Aug 2006 10:36:03 -0600 Subject: Displaying Windows-1252 encoded URL in field In-Reply-To: <44EC785D.40306@harbourhosting.co.uk> References: <9C31D992-89C2-4347-B14B-4B0FC9BCE0AA@ostiz.com> <44EC785D.40306@harbourhosting.co.uk> Message-ID: <45A28CBE-3C3B-4C41-A333-12FBFDBEF4EF@swcp.com> On Aug 23, 2006, at 9:46 AM, Martin Baxter wrote: > Despite this function's name (and despite what it says in the > dictionary), this built-in function converts from ansi (a.k.a. > Windows-1252) to Mac roman. Microsoft uses so-called ANSI to refer to any of many code pages, not just Windows-1252. (Microsoft's use of ANSI is fraudulent and should be avoided, thus the use of Windows-1252 is appropriate here.) Codes 80-9F are not used in ISO-8859-1, but most are used in Windows-1252. The isoToMac() function does indeed translate most of these suitably for Windows-1252, but notably does not translate the Euro (80), mentioned in BZ 3681. Thanks for mentioning that the function works on Windows-1252, Martin. I had done a quick check at one time and must have goofed, because I came away thinking otherwise. Dar Scott From viktoras at ekoinf.net Wed Aug 23 13:04:19 2006 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Wed, 23 Aug 2006 20:04:19 +0300 (FLE Standard Time) Subject: preserving scrolling position References: <2EC9138D-B4E7-4BAB-B2D6-4029A32108C2@dmp-int.com> Message-ID: <44EC8A93.000001.03260@MAZYTIS> Thank you! I thought there might be a combination of properties that do the trick, because this happens only with table field. List fields for example keep their scrolling position unchanged, when giving focus to other text field (RevStudio 2.6.1). Viktoras -------Original Message------- From: Ton Kuypers Date: 08/23/06 17:35:21 To: How to use Revolution Subject: Re: preserving scrolling position Hi Viktoras, Very easy, should work... Enter the following scripts in the field you want to edit global gHilited, gScrolled on openField put the hilitedlines of fld "myTable" into gHilited put the scroll of fld "myTable" into gScrolled end openField on closeField set the hilitedlines of fld "myTable" to gHilited set the scroll of fld "myTable" to gScrolled end closeField This should do the trick... Warm regards, Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com On 23-aug-06, at 14:50, Viktoras Didziulis wrote: > Hi, > > I have 2 fields on my stack - one is table, another - text field. > When I > scroll down the table and then give focus for writing things to > that another > field, table scrolling position is being reset so all the records I > need to > see go out of sight. As far as I understand it is default behavior > of fields > Is it possible somehow to lock the current position of the table, > when > changing the focus to another field? > > All the best > 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 > _______________________________________________ use-revolution mailing list use-revolution at 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 Aug 23 13:24:23 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 23 Aug 2006 10:24:23 -0700 Subject: RunRev logos In-Reply-To: <8A85CDF7-A6E3-4A30-99F0-972082B09674@paraboliclogic.com> References: <20060822033008.4776.qmail@web60516.mail.yahoo.com> <48A04B4B-D010-4E72-8894-58FEC32A7284@paraboliclogic.com> <44EACE9F.20002@harbourhosting.co.uk> <8A85CDF7-A6E3-4A30-99F0-972082B09674@paraboliclogic.com> Message-ID: <p06230900c1123dab902f@[192.168.1.40]> Garrett, if you don't get it you don't get it. You can't even read the statement correctly, which used the phrase 'Encouraged to use logos' NOT 'must use'. You're just looking for a fight. A troller. Quite frankly, something about Rev really bugs you, and it's not the software. Perhaps you don't like our culture, and your posts have often been provocative and pugilistic. If you don't come into this scene with an open heart, then you won't get what you want. This goes for life too. Get one. So if you must leave, leave now. Thanks, I appreciate it. I'm sick of hearing your childish rants, and how we're a bunch of losers because we subscribe to Revolution. sqb > >>Garrett Hylltun wrote: > >Ok....... Well that just put the nail in the coffin for me and Rev. >I didn't pay all this damn money so I could put their copyright >statement along with mine on anything I do. If this was a free >version I was using then I c >keep your blinders on and praise it all you want, but for me, I'm out of here! > >-Garrett -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From mb.ur at harbourhosting.co.uk Wed Aug 23 13:50:32 2006 From: mb.ur at harbourhosting.co.uk (Martin Baxter) Date: Wed, 23 Aug 2006 18:50:32 +0100 Subject: Displaying Windows-1252 encoded URL in field In-Reply-To: <45A28CBE-3C3B-4C41-A333-12FBFDBEF4EF@swcp.com> References: <9C31D992-89C2-4347-B14B-4B0FC9BCE0AA@ostiz.com> <44EC785D.40306@harbourhosting.co.uk> <45A28CBE-3C3B-4C41-A333-12FBFDBEF4EF@swcp.com> Message-ID: <44EC9568.8020001@harbourhosting.co.uk> Dar Scott wrote: > > On Aug 23, 2006, at 9:46 AM, Martin Baxter wrote: > >> Despite this function's name (and despite what it says in the >> dictionary), this built-in function converts from ansi (a.k.a. >> Windows-1252) to Mac roman. > > Microsoft uses so-called ANSI to refer to any of many code pages, not > just Windows-1252. (Microsoft's use of ANSI is fraudulent and should be > avoided, thus the use of Windows-1252 is appropriate here.) > I sort of recall hearing that before Dar, but my memory has accumulated an impressive number of twisty pathways now, and often rewires itself without permission. Glad you're there to stop things drifting too far. > Codes 80-9F are not used in ISO-8859-1, but most are used in > Windows-1252. The isoToMac() function does indeed translate most of > these suitably for Windows-1252, but notably does not translate the Euro > (80), mentioned in BZ 3681. > > Thanks for mentioning that the function works on Windows-1252, Martin. > I had done a quick check at one time and must have goofed, because I > came away thinking otherwise. > > Dar Scott I did a thorough check, some time ago, and was surprised at the results. That's true about euro. IsoToMac translates 80 to F0, which is apple logo, but should translate to DB. I assume the function was written before MacRoman's DB was re-assigned to euro. It used to be the generic currency symbol in Mac Roman. As you probably know, MacToIso translates DB to A4, which is ¤ in Windows. (BTW I don't really think in Hex. I cheat. I have a calculator that converts ;-)) Martin From dsc at swcp.com Wed Aug 23 15:00:11 2006 From: dsc at swcp.com (Dar Scott) Date: Wed, 23 Aug 2006 13:00:11 -0600 Subject: Displaying Windows-1252 encoded URL in field In-Reply-To: <44EC9568.8020001@harbourhosting.co.uk> References: <9C31D992-89C2-4347-B14B-4B0FC9BCE0AA@ostiz.com> <44EC785D.40306@harbourhosting.co.uk> <45A28CBE-3C3B-4C41-A333-12FBFDBEF4EF@swcp.com> <44EC9568.8020001@harbourhosting.co.uk> Message-ID: <3E92009E-0E05-44BD-AB69-6269FDFC5FCE@swcp.com> On Aug 23, 2006, at 11:50 AM, Martin Baxter wrote: > (BTW I don't really think in Hex. I cheat. I have a calculator that > converts ;-)) Since one of the code I mentioned had an F in it, I was a little lax in indicating hex. I'm a bit twiddler from way back and at one time long, long ago knew all the ASCII codes in hex and in decimal. Well, maybe I didn't know SUB and GS. I've been working with Unicode and those tables only have the hex. With Unicode, it seems, the in crowd uses notation like U+0080. Great, a notation that is ambiguous in Revolution. Dar From cmsheffield at gmail.com Wed Aug 23 16:12:13 2006 From: cmsheffield at gmail.com (Chris Sheffield) Date: Wed, 23 Aug 2006 14:12:13 -0600 Subject: revGoURL works in IDE but not standalone Message-ID: <AFC4198C-693B-4CE5-B124-7700FD9B5D92@gmail.com> Does anyone know why this would be? I have a call to revGoURL in the mouseUp of a button. Everything works great in the IDE, but in my standalone, nothing happens when I click the button. No error is occurring as far as I can tell. I've tried checking "the result" as well as placing the bug reporting tool in my standalone. I can't figure out what's going on. My url is valid (as I said, it works in the IDE). It's almost as if internet support is not getting saved with my standalone. But I've tried both letting the standalone builder search for necessary components and just manually selecting the Internet component. Neither works. Anyone have any ideas? I'm using Rev 2.6.1 and Mac OS 10.4.7. Thanks, Chris -- Chris Sheffield Read Naturally The Fluency Company From howard.bornstein at gmail.com Wed Aug 23 17:02:19 2006 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Wed, 23 Aug 2006 17:02:19 -0400 Subject: When does Get URL time out? Message-ID: <3f07cc260608231402n6331ec94hb4b711e9062435a2@mail.gmail.com> I'm using Get URL <url> to access a web page. Sometimes that page comes back blank. I assume it's because the request timed out before the page contents was delivered. In this case it's fine because I'm testing to see if the page is up and responding. But what determines how much time it takes before Rev returns with blank data as opposed to the contents of the web page? The docs on URL say: "All actions that refer to a URL container are blocking: that is, the handler pauses until Revolution is finished accessing the URL. Since fetching a web page may take some time due to network lag, accessing URLs may take long enough to be noticeable to the user." So if getting the URL is a blocking activity, why does Rev go on at all if nothing is returned? Is there a way to set the amount of time Rev will wait before timing out? -- Regards, Howard Bornstein ----------------------- www.designeq.com From m.schonewille at economy-x-talk.com Wed Aug 23 17:50:50 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 23 Aug 2006 23:50:50 +0200 Subject: When does Get URL time out? In-Reply-To: <3f07cc260608231402n6331ec94hb4b711e9062435a2@mail.gmail.com> References: <3f07cc260608231402n6331ec94hb4b711e9062435a2@mail.gmail.com> Message-ID: <9146A788-AEEC-427E-BDD1-DD4EB3C16BF6@economy-x-talk.com> Hello Howard, Check the socketTimeoutInterval in the docs. This property allows you to increase time before the request for the url times out. Rev continues to run a handler after the get/put url command terminates. It terminates either because it has read all available data or because it times out. 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 23-aug-2006, om 23:02 heeft Howard Bornstein het volgende geschreven: > I'm using Get URL <url> to access a web page. Sometimes that page > comes back > blank. I assume it's because the request timed out before the page > contents > was delivered. In this case it's fine because I'm testing to see if > the page > is up and responding. But what determines how much time it takes > before Rev > returns with blank data as opposed to the contents of the web page? > > The docs on URL say: > > "All actions that refer to a URL container are blocking: that is, the > handler pauses until Revolution is finished accessing the URL. Since > fetching a web page may take some time due to network lag, > accessing URLs > may take long enough to be noticeable to the user." > > So if getting the URL is a blocking activity, why does Rev go on at > all if > nothing is returned? Is there a way to set the amount of time Rev > will wait > before timing out? > > -- > Regards, > > Howard Bornstein From soapdog at mac.com Wed Aug 23 19:49:36 2006 From: soapdog at mac.com (Andre Garzia) Date: Wed, 23 Aug 2006 20:49:36 -0300 Subject: Question: MacOS X Bundled Apache Server or Embeded Web Server? Message-ID: <A0D7289D-9ACE-412D-BDB8-D26DCF1DD4BC@mac.com> Hi Folks, I am building my soon to be released web application development thingy. I am bundling all my libraries (and some third party with credits), docs and example. But since I talked with Dan and others during RevConWest, I decided that the most important part of this package is the out-of-the-box experience. The hardest thing about CGI and WebApps for rev users is usually setting up the environment. The idea is to develop locally and then deploy when ready. I can't really build this for Windows, I expect help on that later. So the idea is that there's a home stack that sets everything up. Till today I was bundling the LiteSpeed Web Server <http:// www.litespeedtech.com> server with the package. The server would be all set up out of the box so that you could just launch and play. The problem is, the thing is not running CGIs, the plain old ones... they run once, then the server deadlocks. ARGH!!!! I thought about using cherokee web server <http://www.0x50.org/> but then, it comes out in source form and when it compiles it hard code some paths for the dynamic loading libraries, so you cannot really build it and then just bundle. You must compile it for each installation. Thats the same trouble with Lighttp <http://www.lighttpd.net/>, and building it with static options makes a huge server like 158mb and still it hard code the paths. The MacOS X Apache server is not ready for FastCGI, for that we need to install the modules, which is easy. Actually thats not hard, simple commands and a revolution made stack could drive that installation easy. But again MacOS X out-of-the-box lacks the needed C compiler for that, only those that installed XCode development tools have the needed stuff to build Apache Modules. So here I am. The little servers all have some trouble or another, the MacOS X bundled one is fine, but again, you need to download 1GB XCode tools just to build simple couple megs apache module... any clue out there folks? is there any autoconf magician here that can build a lighttp install with relative paths instead of absolute ones (I tried and it didn't like). Can we use otool to rewrite the linkers absolute path using a relative one like we do for frameworks (using @executable_path). Argh, I am looking for help. Andre From mb.ur at harbourhosting.co.uk Wed Aug 23 21:07:16 2006 From: mb.ur at harbourhosting.co.uk (Martin Baxter) Date: Thu, 24 Aug 2006 02:07:16 +0100 Subject: Question: MacOS X Bundled Apache Server or Embeded Web Server? In-Reply-To: <A0D7289D-9ACE-412D-BDB8-D26DCF1DD4BC@mac.com> References: <A0D7289D-9ACE-412D-BDB8-D26DCF1DD4BC@mac.com> Message-ID: <44ECFBC4.6000808@harbourhosting.co.uk> Andre Garzia wrote: > Hi Folks, > > I am building my soon to be released web application development thingy. > I am bundling all my libraries (and some third party with credits), docs > and example. > > But since I talked with Dan and others during RevConWest, I decided that > the most important part of this package is the out-of-the-box > experience. The hardest thing about CGI and WebApps for rev users is > usually setting up the environment. The idea is to develop locally and > then deploy when ready. I can't really build this for Windows, I expect > help on that later. So the idea is that there's a home stack that sets > everything up. > > Till today I was bundling the LiteSpeed Web Server > <http://www.litespeedtech.com> server with the package. The server would > be all set up out of the box so that you could just launch and play. The > problem is, the thing is not running CGIs, the plain old ones... they > run once, then the server deadlocks. ARGH!!!! I thought about using > cherokee web server <http://www.0x50.org/> but then, it comes out in > source form and when it compiles it hard code some paths for the dynamic > loading libraries, so you cannot really build it and then just bundle. > You must compile it for each installation. Thats the same trouble with > Lighttp <http://www.lighttpd.net/>, and building it with static options > makes a huge server like 158mb and still it hard code the paths. > > The MacOS X Apache server is not ready for FastCGI, for that we need to > install the modules, which is easy. Actually thats not hard, simple > commands and a revolution made stack could drive that installation easy. > But again MacOS X out-of-the-box lacks the needed C compiler for that, > only those that installed XCode development tools have the needed stuff > to build Apache Modules. > > So here I am. The little servers all have some trouble or another, the > MacOS X bundled one is fine, but again, you need to download 1GB XCode > tools just to build simple couple megs apache module... > > any clue out there folks? is there any autoconf magician here that can > build a lighttp install with relative paths instead of absolute ones (I > tried and it didn't like). > > Can we use otool to rewrite the linkers absolute path using a relative > one like we do for frameworks (using @executable_path). > > Argh, I am looking for help. > > Andre Andre, I'm not sure if this qualifies as help but it sounds to me like you want to provide something similar to MAMP. It's a dev-server package. I think it comes as a precompiled binary package. System requirements are quoted as >= Panther, no mention of Xcode tools having to be available or not. Installation is very easy. It installs everything to its own folder (so it's easy to delete) runs on port 8888 by default, can have its own web root if you want. Existing Apache installs are unaffected. http://sourceforge.net/projects/mamp http://www.mamp.info/ Probably you have seen it? Maybe it's irrelevant. But just maybe this will give you some ideas? Martin Baxter From kray at sonsothunder.com Wed Aug 23 22:33:34 2006 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 23 Aug 2006 21:33:34 -0500 Subject: Question: MacOS X Bundled Apache Server or Embeded Web Server? In-Reply-To: <A0D7289D-9ACE-412D-BDB8-D26DCF1DD4BC@mac.com> Message-ID: <C1127A2E.42A1C%kray@sonsothunder.com> On 8/23/06 6:49 PM, "Andre Garzia" <soapdog at mac.com> wrote: > The MacOS X Apache server is not ready for FastCGI, for that we need > to install the modules, which is easy. Actually thats not hard, > simple commands and a revolution made stack could drive that > installation easy. But again MacOS X out-of-the-box lacks the needed > C compiler for that, only those that installed XCode development > tools have the needed stuff to build Apache Modules. Is the problem that the modules have to be built on the machine that will be the server? I mean, you can't pre-create the modules and ship them with your stuff? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From pinch_from_spock at hotmail.com Wed Aug 23 22:34:56 2006 From: pinch_from_spock at hotmail.com (Graeme Harlick) Date: Wed, 23 Aug 2006 22:34:56 -0400 Subject: Simple Myst-Like Application Message-ID: <BAY103-F38C4C96E50629ED9389BD3C1440@phx.gbl> RunRev, I am building a simple Myst-like point and click of my own cottage, like a virtual tour. I have made it a game for the family to enjoy, with sound and animated gifs to bring the different screens to life. I am hoping to add a point system, as where when one finds a hidden screen/pathway/object (lets say the outhouse), then one gets points added to a Field at the bottom of the screen. How and where would I put the code so that the points don't get lost going from screen to screen, and also what code would I use to set variables so that users can explore freely and find hidden areas non-sequentially? Eg. The user (0 pts) moves up to the cottage click by click and scores 10 pts by opening the fridge (10 pts). The click by click moves all the way out and down to the first screen (the dock) and clicks on a fishing pole for another 10 pts (20 pts) and so on. I am a newbie programmer, and hopefully this one is an easy one. Thank you, Graeme From soapdog at mac.com Wed Aug 23 22:39:38 2006 From: soapdog at mac.com (Andre Garzia) Date: Wed, 23 Aug 2006 23:39:38 -0300 Subject: Question: MacOS X Bundled Apache Server or Embeded Web Server? In-Reply-To: <44ECFBC4.6000808@harbourhosting.co.uk> References: <A0D7289D-9ACE-412D-BDB8-D26DCF1DD4BC@mac.com> <44ECFBC4.6000808@harbourhosting.co.uk> Message-ID: <9A6FAF6C-80A6-4099-9E0D-D36CFF9338BF@mac.com> Martin, Thanks for the tip, I was not familiar with MAMPS, it's exactly the same thing I am building, I am familiar with Locomotive <http:// locomotive.raaum.org/> which is the same thing but for Ruby On Rails. Locomotive solves dynamic linking by using some clever plists that are rewritten at runtime, I don't really understand how they do it. But MAMPS solve the path problem in a very simple way. You simply must put it on /Applications. That's so easy. All macs have a / Applications, even if the system is localized, the /Applications will be there, it's a no code solution, pure and clever hard code. It solves everything. I'll follow the same suit for now. Damn, why didn't I thought of it too. Thanks for the tip. Andre On Aug 23, 2006, at 10:07 PM, Martin Baxter wrote: > Andre Garzia wrote: >> Hi Folks, >> I am building my soon to be released web application development >> thingy. I am bundling all my libraries (and some third party with >> credits), docs and example. >> But since I talked with Dan and others during RevConWest, I >> decided that the most important part of this package is the out-of- >> the-box experience. The hardest thing about CGI and WebApps for >> rev users is usually setting up the environment. The idea is to >> develop locally and then deploy when ready. I can't really build >> this for Windows, I expect help on that later. So the idea is that >> there's a home stack that sets everything up. >> Till today I was bundling the LiteSpeed Web Server <http:// >> www.litespeedtech.com> server with the package. The server would >> be all set up out of the box so that you could just launch and >> play. The problem is, the thing is not running CGIs, the plain old >> ones... they run once, then the server deadlocks. ARGH!!!! I >> thought about using cherokee web server <http://www.0x50.org/> but >> then, it comes out in source form and when it compiles it hard >> code some paths for the dynamic loading libraries, so you cannot >> really build it and then just bundle. You must compile it for each >> installation. Thats the same trouble with Lighttp <http:// >> www.lighttpd.net/>, and building it with static options makes a >> huge server like 158mb and still it hard code the paths. >> The MacOS X Apache server is not ready for FastCGI, for that we >> need to install the modules, which is easy. Actually thats not >> hard, simple commands and a revolution made stack could drive that >> installation easy. But again MacOS X out-of-the-box lacks the >> needed C compiler for that, only those that installed XCode >> development tools have the needed stuff to build Apache Modules. >> So here I am. The little servers all have some trouble or another, >> the MacOS X bundled one is fine, but again, you need to download >> 1GB XCode tools just to build simple couple megs apache module... >> any clue out there folks? is there any autoconf magician here that >> can build a lighttp install with relative paths instead of >> absolute ones (I tried and it didn't like). >> Can we use otool to rewrite the linkers absolute path using a >> relative one like we do for frameworks (using @executable_path). >> Argh, I am looking for help. >> Andre > > Andre, I'm not sure if this qualifies as help but it sounds to me > like you want to provide something similar to MAMP. It's a dev- > server package. I think it comes as a precompiled binary package. > System requirements are quoted as >= Panther, no mention of Xcode > tools having to be available or not. Installation is very easy. It > installs everything to its own folder (so it's easy to delete) runs > on port 8888 by default, can have its own web root if you want. > Existing Apache installs are unaffected. > > http://sourceforge.net/projects/mamp > http://www.mamp.info/ > > Probably you have seen it? Maybe it's irrelevant. But just maybe this > will give you some ideas? > > Martin Baxter > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From JimAultWins at yahoo.com Wed Aug 23 22:43:38 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 23 Aug 2006 19:43:38 -0700 Subject: Timeout for a shell command? Message-ID: <C112606A.3C9E7%JimAultWins@yahoo.com> Currently I use a shell command to submit a curl -1 -k -d to a server and once every 3 to 4 days it will 'hang' waiting for a response. There seems to be no timeout in effect. Obviously I would like to know if there is a way to adjust this, since the handler will behave as though it were in an infinite loop. In the IDE version, cmd-period will interrupt this, but not sure what will work in the compiled version. OSX 10.4.4.6, Mac mini solo, Rev 2.7.2 Thanks, Jim Ault Las Vegas From soapdog at mac.com Wed Aug 23 23:03:35 2006 From: soapdog at mac.com (Andre Garzia) Date: Thu, 24 Aug 2006 00:03:35 -0300 Subject: Question: MacOS X Bundled Apache Server or Embeded Web Server? In-Reply-To: <C1127A2E.42A1C%kray@sonsothunder.com> References: <C1127A2E.42A1C%kray@sonsothunder.com> Message-ID: <83475AFC-FDB6-4843-818F-C48B1CB60AE6@mac.com> Ken, I can't because of the paths. It will hard code the paths like /Users/ soapdog/somefolder... unless I make it hard coded as /Applications/ somefolder which everyone can have. The modules link to each other and they must all reside in the correct linked folder. Do a experiment, go to the terminal, choose a executable file at random and type "otool -L" and the name of the file, you'll see where it is linking. For example, for our HT Digital magazine, which is built with Revolution we get the following output: otool -L /Applications/HT\ Digital\ Edition.app/Contents/MacOS/HT\ Digital\ Edition /Applications/HT Digital Edition.app/Contents/MacOS/HT Digital Edition: /System/Library/Frameworks/Carbon.framework/Versions/A/ Carbon (compatibility version 2.0.0, current version 122.0.0) /System/Library/Frameworks/QuickTime.framework/Versions/A/ QuickTime (compatibility version 1.0.0, current version 11.0.0) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 120.3.0) /usr/lib/libz.1.1.3.dylib (compatibility version 1.0.0, current version 1.1.3) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 63.0.0) See, if any of those files move, the app breaks (and belive me, this are so generic libraries that moving them would break much more then HT Digital). This also related to why some people can't run the engine on their web hosts using ancient linux versions, because their linux version is shipping with GLIBC 2.2 and Rev is linked against 2.3... dynamic linking solves many problems but introduces new ones. Some times I just want to link everything as static and be happy. Andre On Aug 23, 2006, at 11:33 PM, Ken Ray wrote: > Is the problem that the modules have to be built on the machine > that will be > the server? I mean, you can't pre-create the modules and ship them > with your > stuff? From got at mindspring.com Wed Aug 23 23:06:28 2006 From: got at mindspring.com (Gordon Tillman) Date: Wed, 23 Aug 2006 22:06:28 -0500 Subject: Simple Myst-Like Application In-Reply-To: <BAY103-F38C4C96E50629ED9389BD3C1440@phx.gbl> References: <BAY103-F38C4C96E50629ED9389BD3C1440@phx.gbl> Message-ID: <8800DF78-E0A1-4B0D-A811-EFE405248F1F@mindspring.com> Howdy Graeme, On Aug 23, 2006, at 21:34, Graeme Harlick wrote: > How and where would I put the code so that the points don't get > lost going from screen to screen, and also what code would I use to > set variables so that users can explore freely and find hidden > areas non-sequentially? No worries! One way would be to declare a global variable at the top of each card's script that needs to access your points. By convention, you would name the variable starting with a letter "g" (for global). For example: At the top of your stack script: global gUserPoints Then in your on preOpenStack handler or on openStack handler: put 0 into gUserPoints If you store the values away somewhere when they exit and come back into the game, you can set a different value into your variable: put pointsSoFar into gUserPoints Then, at the top of each of your card scripts that need to access this variable again use: global gUserPoints So the user now does something on this card to earn 10 additional points: add 10 to gUserPoints You get the point.... --gordy From JimAultWins at yahoo.com Wed Aug 23 23:19:32 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 23 Aug 2006 20:19:32 -0700 Subject: Simple Myst-Like Application In-Reply-To: <BAY103-F38C4C96E50629ED9389BD3C1440@phx.gbl> Message-ID: <C11268D4.3C9F0%JimAultWins@yahoo.com> This should be easy, and you have several options. Assumption: the scenes are on different cards Simplest solution: Make a new field, name it "userScore",select it, then click 'Group', which puts the field inside a group that has an ID, but not a name(yet). In the inspector palette, give the group the name of "scoreGroup". Near the bottom of the inspector, click 'Behave as background", and near the top click "Share text". At this point, the "scoreGroup" is only on the one card you are viewing. Now go to each card you want the field to appear, then choose from the menu 'Place group: scoreGroup'. Now anything that is put into field "userScore" will appear the same on all cards. NOTE: Is it ok if the user clicks the 'refrigerator' 4 times and gets 40 points? Jim Ault Las Vegas On 8/23/06 7:34 PM, "Graeme Harlick" <pinch_from_spock at hotmail.com> wrote: > RunRev, > > I am building a simple Myst-like point and click of my own cottage, like a > virtual tour. I have made it a game for the family to enjoy, with sound and > animated gifs to bring the different screens to life. I am hoping to add a > point system, as where when one finds a hidden screen/pathway/object (lets > say the outhouse), then one gets points added to a Field at the bottom of > the screen. > > How and where would I put the code so that the points don't get lost going > from screen to screen, and also what code would I use to set variables so > that users can explore freely and find hidden areas non-sequentially? > > Eg. The user (0 pts) moves up to the cottage click by click and scores 10 > pts by opening the fridge (10 pts). The click by click moves all the way > out and down to the first screen (the dock) and clicks on a fishing pole for > another 10 pts (20 pts) and so on. > > I am a newbie programmer, and hopefully this one is an easy one. > > Thank you, > > Graeme > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 dvglasgow.wanadoo.co.uk Thu Aug 24 05:17:55 2006 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Thu, 24 Aug 2006 10:17:55 +0100 Subject: Win build opens at minimum size (and 'Made with Rev' logos) In-Reply-To: <20060820170005.0A396825D38@mail.runrev.com> References: <20060820170005.0A396825D38@mail.runrev.com> Message-ID: <52d7474d305cd3273e0f64b916ba2404@dvglasgow.wanadoo.co.uk> I was recently testing a build on Win 98 and found that the app opened at minimum size. Same build for OS X was fine. I set the stack to be resizeable, but I couldn't grow it. It was as if the min size was being treated as a max size. My fix was to set the minimum size to the desired size and then build again. (using 2.7.2, OS X) Don't know whether this will be of any use to anyone, but there it is. And while I am on, I have no objections to giving Rev due recognition for the software I make. My beef is that the quality of the logo images provided is pretty poor, to the point where the 'made with' text of PNGs is virtually illegible - and certainly becomes so if scaled at all. The best is runtimeweb.gif, and I use that converted in GraphicConverter to the format and size I need. Best Wishes, David Glasgow Carlton Glasgow Partnership http://www.i-psych.co.uk From mark at maseurope.net Thu Aug 24 05:42:34 2006 From: mark at maseurope.net (Mark Smith) Date: Thu, 24 Aug 2006 10:42:34 +0100 Subject: Timeout for a shell command? In-Reply-To: <C112606A.3C9E7%JimAultWins@yahoo.com> References: <C112606A.3C9E7%JimAultWins@yahoo.com> Message-ID: <5D3A23F9-EAAB-4A4F-A20D-C9BA1D9F9753@maseurope.net> Jim, from the curl manual: --connect-timeout <seconds> Maximum time in seconds that you allow the connection to the server to take. This only limits the connection phase, once curl has connected this option is of no more use. See also the -m/--max-time option. -m/--max-time <seconds> Maximum time in seconds that you allow the whole operation to take. This is useful for preventing your batch jobs from hang- ing for hours due to slow networks or links going down. This doesn't work fully in win32 systems. See also the --connect- timeout option. Best, Matk On 24 Aug 2006, at 03:43, Jim Ault wrote: > Currently I use a shell command to submit a curl -1 -k -d to a > server and > once every 3 to 4 days it will 'hang' waiting for a response. > There seems > to be no timeout in effect. Obviously I would like to know if > there is a > way to adjust this, since the handler will behave as though it were > in an > infinite loop. > > In the IDE version, cmd-period will interrupt this, but not sure > what will > work in the compiled version. > > OSX 10.4.4.6, Mac mini solo, Rev 2.7.2 > > Thanks, > > 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 dvglasgow.wanadoo.co.uk Thu Aug 24 08:46:57 2006 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Thu, 24 Aug 2006 13:46:57 +0100 Subject: Skin conductance measurement In-Reply-To: <20060820170005.0A396825D38@mail.runrev.com> References: <20060820170005.0A396825D38@mail.runrev.com> Message-ID: <915b28a68165722b764e1a783e329159@dvglasgow.wanadoo.co.uk> I have been wanting to add a skin conductance measure to an old rev application for a a long while. I wanted something portable and cross platform, and nothing really seemed to fit the bill. I then came across the Handwave Bluetooth instrument from MIT. It is described here: http://tinyurl.com/s9l8h and here http://tinyurl.com/zg3vf I think it looks very promising. The acquisition at the computer end is handled via Python. I don't really know much about this, but would be willing to put a bit of effort into learning, if the curve isn't too steep, and if there was a reasonable chance of cross platform economy in the scripts...i.e. little or no messing about with platform specific stuff. I remember there used to be some folks on the list with python experience, as well as physiological hardware experience too. So, any thoughts or comments? Is this likely to be as easy from the software point of view? As far as I can see, this is a self build project ..... what kind of expertise would it involve? And most importantly, how easy would it be to suck the data into a Rev app? Best Wishes, David Glasgow Carlton Glasgow Partnership http://www.i-psych.co.uk From pevensen at siboneylg.com Thu Aug 24 09:51:28 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 24 Aug 2006 08:51:28 -0500 Subject: Win build opens at minimum size (and 'Made with Rev' logos) In-Reply-To: <52d7474d305cd3273e0f64b916ba2404@dvglasgow.wanadoo.co.uk> References: <20060820170005.0A396825D38@mail.runrev.com> <52d7474d305cd3273e0f64b916ba2404@dvglasgow.wanadoo.co.uk> Message-ID: <6.2.1.2.2.20060824085019.124c4520@exchange.slg.com> This was a bug I found. I believe it is fixed in 2.7.3. I had that same problem on 2.7.2 on Win 98. I just did a "set the minwidth of this stack to ..." in the preOpenstack. I haven't tested 2.7.3 on Win98 yet, but they say they fixed the problem. At 04:17 AM 8/24/2006, you wrote: >I was recently testing a build on Win 98 and found that the app opened at >minimum size. Same build for OS X was fine. I set the stack to be >resizeable, but I couldn't grow it. It was as if the min size was being >treated as a max size. My fix was to set the minimum size to the desired >size and then build again. (using 2.7.2, OS X) > >Don't know whether this will be of any use to anyone, but there it is. > >And while I am on, I have no objections to giving Rev due recognition for >the software I make. My beef is that the quality of the logo images >provided is pretty poor, to the point where the 'made with' text of PNGs >is virtually illegible - and certainly becomes so if scaled at all. The >best is runtimeweb.gif, and I use that converted in GraphicConverter to >the format and size I need. > >Best Wishes, > >David Glasgow >Carlton Glasgow Partnership > >http://www.i-psych.co.uk Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 From andrewnelson at mac.com Thu Aug 24 10:01:02 2006 From: andrewnelson at mac.com (Andrew Nelson) Date: Thu, 24 Aug 2006 09:01:02 -0500 Subject: Need script for hiding toolbar text & toolbar icons Message-ID: <15117293.1156428062274.JavaMail.andrewnelson@mac.com> I make stacks for presentation alla PowerPoint and need to get rid of all the development environment palletes and toolbars when I am using my stacks in music class. I know how to make the menubar go away, but can't find the command for hiding the toolbar text & toolbar icons. I do not want to go to the "View" menu & uncheck Toolbar Icons & Toolbar text. I have a single button on my opening card that hides menus, centers my stacks to cover all the screen real estate, etc. and I just want to stick in a script to hide the toolbar icons & text. Looked in the dictionary but toolbar does not return any listing. From devin_asay at byu.edu Thu Aug 24 10:19:34 2006 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 24 Aug 2006 08:19:34 -0600 Subject: Need script for hiding toolbar text & toolbar icons In-Reply-To: <15117293.1156428062274.JavaMail.andrewnelson@mac.com> References: <15117293.1156428062274.JavaMail.andrewnelson@mac.com> Message-ID: <6EF787A0-DEF9-4650-89AB-A23197F94215@byu.edu> Andrew, Suspend Development Tools from the Development menu does exactly what you want, but I don't know how to invoke it from a handler. Anyone know? Devin On Aug 24, 2006, at 8:01 AM, Andrew Nelson wrote: > I make stacks for presentation alla PowerPoint and need to get rid > of all the development environment palletes and toolbars when I am > using my stacks in music class. I know how to make the menubar go > away, but can't find the command for hiding the toolbar text & > toolbar icons. I do not want to go to the "View" menu & uncheck > Toolbar Icons & Toolbar text. I have a single button on my opening > card that hides menus, centers my stacks to cover all the screen > real estate, etc. and I just want to stick in a script to hide the > toolbar icons & text. Looked in the dictionary but toolbar does not > return any listing. Devin Asay Humanities Technology and Research Support Center Brigham Young University From chris at altuit.com Thu Aug 24 10:27:54 2006 From: chris at altuit.com (chris bohnert) Date: Thu, 24 Aug 2006 09:27:54 -0500 Subject: Question: MacOS X Bundled Apache Server or Embeded Web Server? In-Reply-To: <83475AFC-FDB6-4843-818F-C48B1CB60AE6@mac.com> References: <C1127A2E.42A1C%kray@sonsothunder.com> <83475AFC-FDB6-4843-818F-C48B1CB60AE6@mac.com> Message-ID: <2e0cf4750608240727p126baa3ga351020066fe751c@mail.gmail.com> Hi Andre, I'm not sure what it is you're linking that is using libraries that may not be in the standard /usr/lib or /usr/local/lib but when I run into problems like this I always try to cheat. Can you modify the LIBRARYPATH env. variable to include your install directory and then just put all your dependencies in your install directory? -- cb On 8/23/06, Andre Garzia <soapdog at mac.com> wrote: > > Ken, > > I can't because of the paths. It will hard code the paths like /Users/ > soapdog/somefolder... unless I make it hard coded as /Applications/ > somefolder which everyone can have. The modules link to each other > and they must all reside in the correct linked folder. Do a > experiment, go to the terminal, choose a executable file at random > and type "otool -L" and the name of the file, you'll see where it is > linking. > > For example, for our HT Digital magazine, which is built with > Revolution we get the following output: > > otool -L /Applications/HT\ Digital\ Edition.app/Contents/MacOS/HT\ > Digital\ Edition > /Applications/HT Digital Edition.app/Contents/MacOS/HT Digital Edition: > /System/Library/Frameworks/Carbon.framework/Versions/A/ > Carbon (compatibility version 2.0.0, current version 122.0.0) > /System/Library/Frameworks/QuickTime.framework/Versions/A/ > QuickTime (compatibility version 1.0.0, current version 11.0.0) > /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit > (compatibility version 1.0.0, current version 120.3.0) > /usr/lib/libz.1.1.3.dylib (compatibility version 1.0.0, > current version 1.1.3) > /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, > current version 63.0.0) > > See, if any of those files move, the app breaks (and belive me, this > are so generic libraries that moving them would break much more then > HT Digital). This also related to why some people can't run the > engine on their web hosts using ancient linux versions, because their > linux version is shipping with GLIBC 2.2 and Rev is linked against > 2.3... dynamic linking solves many problems but introduces new ones. > Some times I just want to link everything as static and be happy. > > Andre > > > On Aug 23, 2006, at 11:33 PM, Ken Ray wrote: > > > Is the problem that the modules have to be built on the machine > > that will be > > the server? I mean, you can't pre-create the modules and ship them > > with your > > stuff? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From klaus at major-k.de Thu Aug 24 10:30:27 2006 From: klaus at major-k.de (Klaus Major) Date: Thu, 24 Aug 2006 16:30:27 +0200 Subject: Need script for hiding toolbar text & toolbar icons In-Reply-To: <15117293.1156428062274.JavaMail.andrewnelson@mac.com> References: <15117293.1156428062274.JavaMail.andrewnelson@mac.com> Message-ID: <8E7D5EC7-32AE-43D7-8473-245993E00793@major-k.de> Hi Andrew, > I make stacks for presentation alla PowerPoint and need to get rid > of all the development environment palletes and toolbars when I am > using my stacks in music class. I know how to make the menubar go > away, but can't find the command for hiding the toolbar text & > toolbar icons. I do not want to go to the "View" menu & uncheck > Toolbar Icons & Toolbar text. I have a single button on my opening > card that hides menus, centers my stacks to cover all the screen > real estate, etc. and I just want to stick in a script to hide the > toolbar icons & text. Looked in the dictionary but toolbar does not > return any listing. ... hide stack "revMenubar" ... And ... show stack "revMenubar" ... Best Klaus Major klaus at major-k.de http://www.major-k.de From pinch_from_spock at hotmail.com Thu Aug 24 10:34:18 2006 From: pinch_from_spock at hotmail.com (Graeme Harlick) Date: Thu, 24 Aug 2006 10:34:18 -0400 Subject: Simple Myst-Like Application In-Reply-To: <8800DF78-E0A1-4B0D-A811-EFE405248F1F@mindspring.com> Message-ID: <BAY103-F7332B493566B2D863BE59C1440@phx.gbl> Gordon, So what I do is: In the Stack script I put: global gUserpoints on openStack put 0 into gUserpoints end openStack Then on the top of every Card script: global gUserpoints And if it is a point awarding card: global gUserpoints add 10 to gUserpoints And if its a point awarding button on mouseDown add 10 to gUserpoints end mouseDown Then I have a field at the bottom of the screen where the score adds up, so I set the contents of that field to gUserpoints? Would you know how to do this? Also in the last example, how could I make it work only ONE time, so that the user won't click on it again and get 20,30,40 pts....and so on. Thanks Graeme >From: Gordon Tillman <got at mindspring.com> >Reply-To: How to use Revolution <use-revolution at lists.runrev.com> >To: How to use Revolution <use-revolution at lists.runrev.com> >Subject: Re: Simple Myst-Like Application >Date: Wed, 23 Aug 2006 22:06:28 -0500 > >Howdy Graeme, > >On Aug 23, 2006, at 21:34, Graeme Harlick wrote: > >>How and where would I put the code so that the points don't get lost >>going from screen to screen, and also what code would I use to set >>variables so that users can explore freely and find hidden areas >>non-sequentially? > > >No worries! One way would be to declare a global variable at the top of >each card's script that needs to access your points. By convention, you >would name the variable starting with a letter "g" (for global). For >example: > >At the top of your stack script: > >global gUserPoints > >Then in your on preOpenStack handler or on openStack handler: > >put 0 into gUserPoints > >If you store the values away somewhere when they exit and come back into >the game, you can set a different value into your variable: > >put pointsSoFar into gUserPoints > >Then, at the top of each of your card scripts that need to access this >variable again use: > >global gUserPoints > >So the user now does something on this card to earn 10 additional points: > >add 10 to gUserPoints > >You get the point.... > >--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 pevensen at siboneylg.com Thu Aug 24 11:00:38 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 24 Aug 2006 10:00:38 -0500 Subject: Can one run out of IDs? Message-ID: <6.2.1.2.2.20060824095140.12078100@exchange.slg.com> I am creating an app that creates and deletes a lot of fields. It is basically a educational title with cloze activities (i.e., fill-in, like "The d_ _ likes to ch_ _ _ the ball.") I read the content from an external text file and then copy an existing field to get the different parts. In the example above I create 10 fields containing "The " "d" "_" "_" " likes to " "ch" "_" "_" "_" " the ball." I use separate fields so I can more easily control the placement of the text so as to not have text moving as I replace the underscores with letters (e.g. "_" is a lot wider than an "i", so if I have "dig" as "d__ a hole," and I replace the first _ with i, the text after the I will move to the left.) My concern is that with creating and deleting so many fields, I might run out of IDs. Are the IDs ever reused? This probably isn't a problem with the runtime, since the stack isn't saved, so the next time the program is run, it will start with the same IDs each time. My main concern is in testing the program in the IDE and ratcheting up the ID numbers. Is this a valid concern? Is there anyway to "reset" the ID numbers? Thanks! Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 From jbv.silences at club-internet.fr Thu Aug 24 11:23:14 2006 From: jbv.silences at club-internet.fr (jbv) Date: Thu, 24 Aug 2006 17:23:14 +0200 Subject: Can one run out of IDs? References: <6.2.1.2.2.20060824095140.12078100@exchange.slg.com> Message-ID: <44EDC45B.C2D7B728@club-internet.fr> Peter, Just curious : why do you delete & create fields ? Instead, why don't you work with a maximum set of fields (the maximum number of flds you'll ever need simulateously) and just replace the content of those fields on the fly ? JB > I am creating an app that creates and deletes a lot of fields. It is > basically a educational title with cloze activities (i.e., fill-in, > like "The d_ _ likes to ch_ _ _ the ball.") > > I read the content from an external text file and then copy an existing > field to get the different parts. In the example above I create 10 fields > containing "The " "d" "_" "_" " likes to " "ch" "_" "_" "_" " the ball." > > I use separate fields so I can more easily control the placement of the > text so as to not have text moving as I replace the underscores with > letters (e.g. "_" is a lot wider than an "i", so if I have "dig" as "d__ a > hole," and I replace the first _ with i, the text after the I will move to > the left.) > > My concern is that with creating and deleting so many fields, I might run > out of IDs. Are the IDs ever reused? > > This probably isn't a problem with the runtime, since the stack isn't > saved, so the next time the program is run, it will start with the same IDs > each time. My main concern is in testing the program in the IDE and > ratcheting up the ID numbers. Is this a valid concern? Is there anyway to > "reset" the ID numbers? From pevensen at siboneylg.com Thu Aug 24 11:17:18 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 24 Aug 2006 10:17:18 -0500 Subject: Can one run out of IDs? In-Reply-To: <44EDC45B.C2D7B728@club-internet.fr> References: <6.2.1.2.2.20060824095140.12078100@exchange.slg.com> <44EDC45B.C2D7B728@club-internet.fr> Message-ID: <6.2.1.2.2.20060824100747.120e4eb0@exchange.slg.com> In doing more reading, I think I answered a lot of my questions. ID's aren't reused. The ID of the stack contains the last ID assigned. Looks like IDs go for 1000-100,999. I delete and create fields because it makes the code much simpler. Otherwise I have to create "field management functions" to shuffle the fields around, hide ones that aren't used, make sure they aren't named in a way that will clash with fields that I am using. This wouldn't be too hard, but would be much more complex and could be a source of bugs. I'm also grouping fields to facilitate the layout. There is no easy way to move a field from one group to another that I can see, except for cutting and pasting. I suppose I could rework my algorithms to not use groups. At 10:23 AM 8/24/2006, you wrote: >Peter, > >Just curious : why do you delete & create fields ? >Instead, why don't you work with a maximum set of fields (the >maximum number of flds you'll ever need simulateously) and >just replace the content of those fields on the fly ? > >JB > > > I am creating an app that creates and deletes a lot of fields. It is > > basically a educational title with cloze activities (i.e., fill-in, > > like "The d_ _ likes to ch_ _ _ the ball.") > > > > I read the content from an external text file and then copy an existing > > field to get the different parts. In the example above I create 10 fields > > containing "The " "d" "_" "_" " likes to " "ch" "_" "_" "_" " the ball." > > > > I use separate fields so I can more easily control the placement of the > > text so as to not have text moving as I replace the underscores with > > letters (e.g. "_" is a lot wider than an "i", so if I have "dig" as "d__ a > > hole," and I replace the first _ with i, the text after the I will move to > > the left.) > > > > My concern is that with creating and deleting so many fields, I might run > > out of IDs. Are the IDs ever reused? > > > > This probably isn't a problem with the runtime, since the stack isn't > > saved, so the next time the program is run, it will start with the same IDs > > each time. My main concern is in testing the program in the IDE and > > ratcheting up the ID numbers. Is this a valid concern? Is there anyway to > > "reset" the ID numbers? > >_______________________________________________ >use-revolution mailing list >use-revolution 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 Thu Aug 24 11:18:52 2006 From: klaus at major-k.de (Klaus Major) Date: Thu, 24 Aug 2006 17:18:52 +0200 Subject: Simple Myst-Like Application In-Reply-To: <BAY103-F7332B493566B2D863BE59C1440@phx.gbl> References: <BAY103-F7332B493566B2D863BE59C1440@phx.gbl> Message-ID: <ECE969C5-3F4A-4816-8A02-7138B785FF33@major-k.de> Hi Graeme > Gordon, > > So what I do is: > > In the Stack script I put: > > global gUserpoints well, almost :-) In each handler you have to declare the global before you use ist: on openStack global gUserpoints put 0 into gUserpoints end openStack > > Then on the top of every Card script: > global gUserpoints. Not necessary, see above > And if it is a point awarding card: > > global gUserpoints > add 10 to gUserpoints Yes. > And if its a point awarding button on mouseDown global gUserpoints add 10 to gUserpoints end mouseDown > Then I have a field at the bottom of the screen where the score > adds up, so I set the contents of that field to gUserpoints? Would > you know how to do this? Also in the last example, how could I > make it work only ONE time, so that the user won't click on it > again and get 20,30,40 pts....and so on. Simply manage a global "inventory" list, too, where you store the names of all cards (If i get it right, you can only get ponts on cards? Anyway, the principle will be the same.) that can "give" points and have been cklicked. Of course you will have to give meaningful and unique names to your cards then! Then you can check each time before you add points. Don't worry the chekcing will be almost immediately, even for very long lists ;-) To use your examples above: on openStack global gUserpoints put 0 into gUserpoints global inventorylist put empty into inventorylist end openStack ... on mouseDown ## Why not use mouseUP? ##That will give the user a chance to make up his mind! ,-) global gUserpoints global inventorylist if the short name of this cd is not among the lines of inventorylist then put the short name of this cd & CR AFTER inventorylist ## build a RETURN delimted list of all point awarding cards to check against! add 10 to gUserpoints else beep ## or whatever. Optional! end if end mouseDown Know what I mean? Drop a line if you need more info/help! > Thanks > > Graeme Regards Klaus Major klaus at major-k.de http://www.major-k.de From jbv.silences at club-internet.fr Thu Aug 24 11:47:45 2006 From: jbv.silences at club-internet.fr (jbv) Date: Thu, 24 Aug 2006 17:47:45 +0200 Subject: Can one run out of IDs? References: <6.2.1.2.2.20060824095140.12078100@exchange.slg.com> <44EDC45B.C2D7B728@club-internet.fr> <6.2.1.2.2.20060824100747.120e4eb0@exchange.slg.com> Message-ID: <44EDCA1A.9DDA4C9D@club-internet.fr> > > I'm also grouping fields to facilitate the layout. There is no easy way to > move a field from one group to another that I can see, except for cutting > and pasting. I suppose I could rework my algorithms to not use groups. Yes, flds can be moved between groups very easily using the relayerGroupedControls property). But again, I think that simply moving contents would mean slimmer & faster scripts... JB From pevensen at siboneylg.com Thu Aug 24 11:33:16 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 24 Aug 2006 10:33:16 -0500 Subject: Can one run out of IDs? In-Reply-To: <44EDCA1A.9DDA4C9D@club-internet.fr> References: <6.2.1.2.2.20060824095140.12078100@exchange.slg.com> <44EDC45B.C2D7B728@club-internet.fr> <6.2.1.2.2.20060824100747.120e4eb0@exchange.slg.com> <44EDCA1A.9DDA4C9D@club-internet.fr> Message-ID: <6.2.1.2.2.20060824103219.0f472a30@exchange.slg.com> How does setting relayerGroupedControls let you move them from one group to another? Actually, I'm looking at reusing fields and it maybe be faster, but it isn't slimmer. It makes the layout of the scripts much more complex. At 10:47 AM 8/24/2006, you wrote: > > > > I'm also grouping fields to facilitate the layout. There is no easy way to > > move a field from one group to another that I can see, except for cutting > > and pasting. I suppose I could rework my algorithms to not use groups. > >Yes, flds can be moved between groups very easily using the >relayerGroupedControls property). >But again, I think that simply moving contents would mean slimmer & >faster scripts... Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 From jacque at hyperactivesw.com Thu Aug 24 11:50:24 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 24 Aug 2006 10:50:24 -0500 Subject: Hiding the cursor on Windows Message-ID: <44EDCAC0.7090209@hyperactivesw.com> I am running Windows XP under Parallels on a Mac Intel machine. The command "set cursor to none" does not work. (I did get it to work on one occasion, but I couldn't repeat it.) I don't know if the problem is with Revolution or with Parallels. Could someone with a real XP machine please tell me if this code works? Make a button with this script and then move the mouse over the button: on mouseEnter lock cursor set cursor to none end mouseEnter on mouseLeave unlock cursor end mouseLeave If it works for you, then I can stop trying to figure it out. Thanks. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pevensen at siboneylg.com Thu Aug 24 11:53:38 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 24 Aug 2006 10:53:38 -0500 Subject: Can one run out of IDs? In-Reply-To: <44EDCA1A.9DDA4C9D@club-internet.fr> References: <6.2.1.2.2.20060824095140.12078100@exchange.slg.com> <44EDC45B.C2D7B728@club-internet.fr> <6.2.1.2.2.20060824100747.120e4eb0@exchange.slg.com> <44EDCA1A.9DDA4C9D@club-internet.fr> Message-ID: <6.2.1.2.2.20060824105303.0f4dceb0@exchange.slg.com> Actually, I did just rewrite things to reuse fields. It wasn't that bad. It was simpler in some cases (so I take back what I said :)) At 10:47 AM 8/24/2006, you wrote: > > > > I'm also grouping fields to facilitate the layout. There is no easy way to > > move a field from one group to another that I can see, except for cutting > > and pasting. I suppose I could rework my algorithms to not use groups. > >Yes, flds can be moved between groups very easily using the >relayerGroupedControls property). >But again, I think that simply moving contents would mean slimmer & >faster scripts... > >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 Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 From lfredricks at proactive-intl.com Thu Aug 24 11:56:58 2006 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 24 Aug 2006 08:56:58 -0700 Subject: RunRev logos In-Reply-To: <6BBDDAE8-1D06-4CF7-A014-0138B39EE11C@economy-x-talk.com> Message-ID: <00f601c6c795$eec9b990$6501a8c0@lynn> > It would be useful if a high-resolution version, a small > 72dpi version, and a EPS version of the RunRev logo in the > current style were always available on the RunRev web site, > together with high-res pictures of the RunRev staff ;-) I think this is easy enough to do. There's been a press page planned for some time with support materials that can have these sizes plus some - minus the runrev staff photos ;-) Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution, Ltd From andrewnelson at mac.com Thu Aug 24 12:09:51 2006 From: andrewnelson at mac.com (Andrew Nelson) Date: Thu, 24 Aug 2006 11:09:51 -0500 Subject: Need script for hiding toolbar text & toolbar icons Message-ID: <8552886.1156435791042.JavaMail.andrewnelson@mac.com> Thanks Klaus. It works like a charm. I never would have found it but next time I will put rev in front of words I can't find when I search in the Dictionary. Regards, Andrew Nelson From lynn at paradigmasoft.com Thu Aug 24 12:09:45 2006 From: lynn at paradigmasoft.com (Lynn Fredricks) Date: Thu, 24 Aug 2006 09:09:45 -0700 Subject: Simple Myst-Like Application In-Reply-To: <BAY103-F38C4C96E50629ED9389BD3C1440@phx.gbl> Message-ID: <010901c6c797$c481ae20$6501a8c0@lynn> > I am building a simple Myst-like point and click of my own > cottage, like a virtual tour. I have made it a game for the > family to enjoy, with sound and animated gifs to bring the > different screens to life. I am hoping to add a point > system, as where when one finds a hidden > screen/pathway/object (lets say the outhouse), then one gets > points added to a Field at the bottom of the screen. > > How and where would I put the code so that the points don't > get lost going from screen to screen, and also what code > would I use to set variables so that users can explore freely > and find hidden areas non-sequentially? > > Eg. The user (0 pts) moves up to the cottage click by click > and scores 10 pts by opening the fridge (10 pts). The click > by click moves all the way out and down to the first screen > (the dock) and clicks on a fishing pole for another 10 pts > (20 pts) and so on. > > I am a newbie programmer, and hopefully this one is an easy one. http://www.revdeveloper.com/include/wiki/rev/doku.php?id=en:spotlights:adven turegames How very, very timely :-) Right now we are looking to expand coverage of Myst style games on the wiki RevDeveloper Spotlight Center on Adventure Games. Im looking for articles/sample code that we can post into this. If you are interested, please message me. Chikako has an article that she is working on (Im editing) that's up there, but its just the beginning. Malte has sections coming. Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution, Ltd From dcragg at lacscentre.co.uk Thu Aug 24 12:16:09 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 24 Aug 2006 17:16:09 +0100 Subject: Hiding the cursor on Windows In-Reply-To: <44EDCAC0.7090209@hyperactivesw.com> References: <44EDCAC0.7090209@hyperactivesw.com> Message-ID: <06AE914C-722B-4D55-83EC-24D03D09681E@lacscentre.co.uk> On 24 Aug 2006, at 16:50, J. Landman Gay wrote: > I am running Windows XP under Parallels on a Mac Intel machine. The > command "set cursor to none" does not work. (I did get it to work > on one occasion, but I couldn't repeat it.) I don't know if the > problem is with Revolution or with Parallels. Could someone with a > real XP machine please tell me if this code works? > > Make a button with this script and then move the mouse over the > button: > > on mouseEnter > lock cursor > set cursor to none > end mouseEnter > > on mouseLeave > unlock cursor > end mouseLeave > > If it works for you, then I can stop trying to figure it out. Thanks. It works here. (Assuming by working you mean the cursor disappears while over the button.) Cheers Dave From ambassador at fourthworld.com Thu Aug 24 12:35:05 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 24 Aug 2006 09:35:05 -0700 Subject: Simple Myst-Like Application Message-ID: <44EDD539.3080803@fourthworld.com> Of course in any thread that mentions these sorts of games it would be remiss not to draw the reader's attention to Alida: <http://www.alidagame.com/> This is a wonderful work, amazingly done by one person, Cos Russo. Originally developed in SuperCard, it was ported to Revolution a couple years ago for deployment to OS X and Windows. If you enjoy these sorts of game this rich five-CD environment is well worth the modest US$29.90 he asks for it. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From jacque at hyperactivesw.com Thu Aug 24 13:02:47 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 24 Aug 2006 12:02:47 -0500 Subject: Hiding the cursor on Windows In-Reply-To: <06AE914C-722B-4D55-83EC-24D03D09681E@lacscentre.co.uk> References: <44EDCAC0.7090209@hyperactivesw.com> <06AE914C-722B-4D55-83EC-24D03D09681E@lacscentre.co.uk> Message-ID: <44EDDBB7.7050400@hyperactivesw.com> Dave Cragg wrote: > > On 24 Aug 2006, at 16:50, J. Landman Gay wrote: > >> I am running Windows XP under Parallels on a Mac Intel machine. The >> command "set cursor to none" does not work. (I did get it to work on >> one occasion, but I couldn't repeat it.) I don't know if the problem >> is with Revolution or with Parallels. Could someone with a real XP >> machine please tell me if this code works? >> >> Make a button with this script and then move the mouse over the button: >> >> on mouseEnter >> lock cursor >> set cursor to none >> end mouseEnter >> >> on mouseLeave >> unlock cursor >> end mouseLeave >> >> If it works for you, then I can stop trying to figure it out. Thanks. > > It works here. (Assuming by working you mean the cursor disappears > while over the button.) Thank you, thank you. Parallels has some issues with the cursor, so I suspected that was the reason but I had no way to verify it. You've just saved me a lot of trouble, I appreciate it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From userev at canelasoftware.com Thu Aug 24 13:30:48 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 24 Aug 2006 10:30:48 -0700 Subject: Hiding the cursor on Windows In-Reply-To: <44EDCAC0.7090209@hyperactivesw.com> References: <44EDCAC0.7090209@hyperactivesw.com> Message-ID: <378C55BC-6820-4D4F-B781-580D54279CDB@canelasoftware.com> On Aug 24, 2006, at 8:50 AM, J. Landman Gay wrote: > I am running Windows XP under Parallels on a Mac Intel machine. The > command "set cursor to none" does not work. (I did get it to work > on one occasion, but I couldn't repeat it.) I don't know if the > problem is with Revolution or with Parallels. Could someone with a > real XP machine please tell me if this code works? > > Make a button with this script and then move the mouse over the > button: > > on mouseEnter > lock cursor > set cursor to none > end mouseEnter > > on mouseLeave > unlock cursor > end mouseLeave > > If it works for you, then I can stop trying to figure it out. Thanks. I just tested it under Virtual PC with Rev 2.7.2 and it failed on that as well. As reported already, my real PC passed just fine. Mark Talluto -- CANELA Software http://www.canelasoftware.com From jbv.silences at club-internet.fr Thu Aug 24 13:52:30 2006 From: jbv.silences at club-internet.fr (jbv) Date: Thu, 24 Aug 2006 19:52:30 +0200 Subject: Can one run out of IDs? References: <6.2.1.2.2.20060824095140.12078100@exchange.slg.com> <44EDC45B.C2D7B728@club-internet.fr> <6.2.1.2.2.20060824100747.120e4eb0@exchange.slg.com> <44EDCA1A.9DDA4C9D@club-internet.fr> <6.2.1.2.2.20060824103219.0f472a30@exchange.slg.com> Message-ID: <44EDE751.EF19058F@club-internet.fr> Peter, > How does setting relayerGroupedControls let you move them from one group to > another? > very simple : let's say we have 2 grps of flds : - grp 1 featuring flds 1 to 5 (with layers 1 to 5) - grp 2 featuring flds 6 to 10 (with layers 6 to 10) if you change layer of fld 7 (in grp 2) from 7 to 2, then that fld is automatically moved to grp 1 and becomes fld 2 of grp 1... JB From lfredricks at proactive-intl.com Thu Aug 24 13:53:48 2006 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 24 Aug 2006 10:53:48 -0700 Subject: Simple Myst-Like Application In-Reply-To: <44EDD539.3080803@fourthworld.com> Message-ID: <013601c6c7a6$41291db0$6501a8c0@lynn> > Of course in any thread that mentions these sorts of games it > would be remiss not to draw the reader's attention to Alida: > > <http://www.alidagame.com/> > > This is a wonderful work, amazingly done by one person, Cos Russo. > Originally developed in SuperCard, it was ported to > Revolution a couple years ago for deployment to OS X and Windows. > > If you enjoy these sorts of game this rich five-CD > environment is well worth the modest US$29.90 he asks for it. This is a super example! And also, this game saw wide distribution in retail, including CompUSA, Apple Store (retail) and more, here in the USA. There is an interview posted with Cos here: http://www.revdeveloper.com/include/wiki/rev/doku.php?id=en:spotlights:spotl ight_on_alida Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution, Ltd From devin_asay at byu.edu Thu Aug 24 14:10:31 2006 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 24 Aug 2006 12:10:31 -0600 Subject: Hiding the cursor on Windows In-Reply-To: <378C55BC-6820-4D4F-B781-580D54279CDB@canelasoftware.com> References: <44EDCAC0.7090209@hyperactivesw.com> <378C55BC-6820-4D4F-B781-580D54279CDB@canelasoftware.com> Message-ID: <46354C3B-635F-49DB-8E1A-73AB21BCBE39@byu.edu> On Aug 24, 2006, at 11:30 AM, Mark Talluto wrote: > > On Aug 24, 2006, at 8:50 AM, J. Landman Gay wrote: > >> I am running Windows XP under Parallels on a Mac Intel machine. >> The command "set cursor to none" does not work. (I did get it to >> work on one occasion, but I couldn't repeat it.) I don't know if >> the problem is with Revolution or with Parallels. Could someone >> with a real XP machine please tell me if this code works? >> >> Make a button with this script and then move the mouse over the >> button: >> >> on mouseEnter >> lock cursor >> set cursor to none >> end mouseEnter >> >> on mouseLeave >> unlock cursor >> end mouseLeave >> >> If it works for you, then I can stop trying to figure it out. Thanks. > > > I just tested it under Virtual PC with Rev 2.7.2 and it failed on > that as well. As reported already, my real PC passed just fine. Works here on an Intel Mac Mini with Boot Camp booted into XP. devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From dsc at swcp.com Thu Aug 24 14:14:53 2006 From: dsc at swcp.com (Dar Scott) Date: Thu, 24 Aug 2006 12:14:53 -0600 Subject: OT: The passing of Transcript (was Is there a more English-like Programming language than Transcript?) In-Reply-To: <44E82A1B.3000301@hindu.org> References: <20060816021520.D1187825A1B@mail.runrev.com> <9e3a9e466557c419643591ec101fa82d@dvglasgow.wanadoo.co.uk> <8C88F692CF230E5-16B8-7D7@mblk-d42.sysops.aol.com> <p06230902c108fe03dadd@[192.168.1.105]> <395B1F53-0466-4582-A0E9-8E6E604B6A20@mac.com> <44E82A1B.3000301@hindu.org> Message-ID: <404F87B0-EB1F-47CA-BC12-08189E32CAE6@swcp.com> Sometimes name changes just bug us. Scientists have been debating for a while what is the definition of a planet and this week a bunch at a scientist club have voted that Pluto is not a planet. I don't mind and my grandkids are excited. The only problem is that sometimes scientists think that the scientific jargon meaning of a word is the only meaning. For example, some people call all insects bugs and some entomologists say bug applies only to Hemiptera. When I was a small boy I read SF and books about astronomy. I knew from those books that the names of our sun, planet and moon were Sol, Terra and Luna respectively. Then at the start of the space race NASA started talking about planet Earth. The press followed. In a short time most people thought of the name of the planet as Earth. Now, that bugged this boy. I wanted to be excited about astronauts and rockets and such, but somehow that turned it into a PR game. I wonder if some mathematicians or word lovers were bugged when IBM changed the name of sexadecimal to hexadecimal. DEC used octal, perhaps to avoid an offensive chimeric word with magic spell connotations, being based in Massachusetts and all that. Sometime late last century I vaguely noticed that there weren't any Datsuns around. Dealing with name changes is part of how we cope, I guess. Dar Scott From JimAultWins at yahoo.com Thu Aug 24 14:17:29 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 24 Aug 2006 11:17:29 -0700 Subject: Simple Myst-Like Application In-Reply-To: <BAY103-F7332B493566B2D863BE59C1440@phx.gbl> Message-ID: <C1133B49.3CA97%JimAultWins@yahoo.com> As far as points not being duplicated, here are a couple ways you might do it... here is one of the simpler ways First make all the points on a single card (scene) different, eg 9,11,13,5. That is, each card can have one object worth 5 points. Second, use a global where each line of the global will correspond to the number of a card Third, put the points scored as a new item on the line for that card global gUserScore on addNewScore pointsToAdd put the number of this card into cdNum if pointsToAdd is not among the items of line cdNum of gUserScore then put comma & pointsToAdd after line cdNum of gUserScore get gUserScore replace cr with comma in it put sum(it) into fld totalScore --shared text --assumes shared text field "totalScore" is visible on all cards end if end addNewScore gUserScore ,5,8,6,12 < line 1 ,5,12,2 < line 2 ,9,4,5,2 < line 3 put sum(,5,8,6,12,,5,12,2,,9,4,5,2) -- 70 Since gUserScore is a global, you will always have a point record, even if they revisit a card and try to pick up more points. Only new points will work. Jim Ault Las Vegas On 8/24/06 7:34 AM, "Graeme Harlick" <pinch_from_spock at hotmail.com> wrote: > Gordon, > > So what I do is: > > In the Stack script I put: > > global gUserpoints > > on openStack > put 0 into gUserpoints > end openStack > > Then on the top of every Card script: > > global gUserpoints > > And if it is a point awarding card: > > global gUserpoints > add 10 to gUserpoints > > And if its a point awarding button > > on mouseDown > add 10 to gUserpoints > end mouseDown > > Then I have a field at the bottom of the screen where the score adds up, so > I set the contents of that field to gUserpoints? Would you know how to do > this? Also in the last example, how could I make it work only ONE time, so > that the user won't click on it again and get 20,30,40 pts....and so on. > > Thanks > > Graeme > > >> From: Gordon Tillman <got at mindspring.com> >> Reply-To: How to use Revolution <use-revolution at lists.runrev.com> >> To: How to use Revolution <use-revolution at lists.runrev.com> >> Subject: Re: Simple Myst-Like Application >> Date: Wed, 23 Aug 2006 22:06:28 -0500 >> >> Howdy Graeme, >> >> On Aug 23, 2006, at 21:34, Graeme Harlick wrote: >> >>> How and where would I put the code so that the points don't get lost >>> going from screen to screen, and also what code would I use to set >>> variables so that users can explore freely and find hidden areas >>> non-sequentially? >> >> >> No worries! One way would be to declare a global variable at the top of >> each card's script that needs to access your points. By convention, you >> would name the variable starting with a letter "g" (for global). For >> example: >> >> At the top of your stack script: >> >> global gUserPoints >> >> Then in your on preOpenStack handler or on openStack handler: >> >> put 0 into gUserPoints >> >> If you store the values away somewhere when they exit and come back into >> the game, you can set a different value into your variable: >> >> put pointsSoFar into gUserPoints >> >> Then, at the top of each of your card scripts that need to access this >> variable again use: >> >> global gUserPoints >> >> So the user now does something on this card to earn 10 additional points: >> >> add 10 to gUserPoints >> >> You get the point.... >> >> --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 > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Aug 24 14:57:12 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 24 Aug 2006 11:57:12 -0700 Subject: Timeout for a shell command? In-Reply-To: <5D3A23F9-EAAB-4A4F-A20D-C9BA1D9F9753@maseurope.net> Message-ID: <C1134498.3CAA1%JimAultWins@yahoo.com> Thanks, I did not see that in the docs.. must have been late and my eyes... oh well. Jim Ault Las Vegas On 8/24/06 2:42 AM, "Mark Smith" <mark at maseurope.net> wrote: > Jim, from the curl manual: > > --connect-timeout <seconds> > Maximum time in seconds that you allow the > connection to the > server to take. This only limits the connection > phase, once > curl has connected this option is of no more use. See > also the > -m/--max-time option. > > > > -m/--max-time <seconds> > Maximum time in seconds that you allow the whole > operation to > take. This is useful for preventing your batch jobs > from hang- > ing for hours due to slow networks or links going > down. This > doesn't work fully in win32 systems. See also the > --connect- > timeout option. > > > Best, > > Matk > > On 24 Aug 2006, at 03:43, Jim Ault wrote: > >> Currently I use a shell command to submit a curl -1 -k -d to a >> server and >> once every 3 to 4 days it will 'hang' waiting for a response. >> There seems >> to be no timeout in effect. Obviously I would like to know if >> there is a >> way to adjust this, since the handler will behave as though it were >> in an >> infinite loop. >> >> In the IDE version, cmd-period will interrupt this, but not sure >> what will >> work in the compiled version. >> >> OSX 10.4.4.6, Mac mini solo, Rev 2.7.2 >> >> Thanks, >> >> 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 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From got at mindspring.com Thu Aug 24 15:27:35 2006 From: got at mindspring.com (Gordon Tillman) Date: Thu, 24 Aug 2006 14:27:35 -0500 Subject: Simple Myst-Like Application In-Reply-To: <BAY103-F7332B493566B2D863BE59C1440@phx.gbl> References: <BAY103-F7332B493566B2D863BE59C1440@phx.gbl> Message-ID: <B352FA1F-680D-4A96-A30A-DA9C0827A630@mindspring.com> Howdy Graeme! Just got back to the office and saw your email. Looks like some other folks have kindly chimed in with clarification and details. (This is a great mailing list!) --gordy On Aug 24, 2006, at 09:34, Graeme Harlick wrote: > Gordon, > > So what I do is: > > In the Stack script I put: > > global gUserpoints > > on openStack > put 0 into gUserpoints > end openStack > > Then on the top of every Card script: > > global gUserpoints > > And if it is a point awarding card: > > global gUserpoints > add 10 to gUserpoints > > And if its a point awarding button > > on mouseDown > add 10 to gUserpoints > end mouseDown > > Then I have a field at the bottom of the screen where the score > adds up, so I set the contents of that field to gUserpoints? Would > you know how to do this? Also in the last example, how could I > make it work only ONE time, so that the user won't click on it > again and get 20,30,40 pts....and so on. From barryb at libero.it Thu Aug 24 16:06:54 2006 From: barryb at libero.it (barryb at libero.it) Date: Thu, 24 Aug 2006 22:06:54 +0200 Subject: Hiding the cursor on Windows Message-ID: <J4IQJI$69414DEFBEEE5DCD6CB744EF4DE47A88@libero.it> On 23 august 2006 Jacqueline Landman Gay wrote:- >I am running Windows XP under Parallels on a Mac Intel machine. >The command "set cursor to none" does not work. (I did get it to >work on one occasion, but I couldn't repeat it.) I don't know if >the problem is with Revolution or with Parallels. >Could someone with a real XP machine >please tell me if this code works? >Make a button with this script and then move the mouse over the button: >on mouseEnter >lock cursor >set cursor to none >end mouseEnter >on mouseLeave >unlock cursor >end mouseLeave >If it works for you, then I can stop trying to figure it out. Thanks. --------------------- Works OK on an XP.HE box. Revolution Media 2.7.2 Also in "Edit tool" mode which makes it difficult to resize the button! Yours, Barry ___________________________________________________________________ Mutui a tassi scontati da 30 banche. Richiedi online e risparmia. Servizio gratuito. http://click.libero.it/mutuionline From JimAultWins at yahoo.com Thu Aug 24 16:14:05 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 24 Aug 2006 13:14:05 -0700 Subject: Timeout for a shell command? In-Reply-To: <C1134498.3CAA1%JimAultWins@yahoo.com> Message-ID: <C113569D.3CAB4%JimAultWins@yahoo.com> The following does not work, but the one after does curl -s -k -d -m 10 --not curl -s -k -m 10 -d --looks good, 10 second timeout Jim Ault Las Vegs On 8/24/06 11:57 AM, "Jim Ault" <JimAultWins at yahoo.com> wrote: > Thanks, I did not see that in the docs.. must have been late and my eyes... > oh well. > > Jim Ault > Las Vegas > > > On 8/24/06 2:42 AM, "Mark Smith" <mark at maseurope.net> wrote: > >> Jim, from the curl manual: >> >> --connect-timeout <seconds> >> Maximum time in seconds that you allow the >> connection to the >> server to take. This only limits the connection >> phase, once >> curl has connected this option is of no more use. See >> also the >> -m/--max-time option. >> >> >> >> -m/--max-time <seconds> >> Maximum time in seconds that you allow the whole >> operation to >> take. This is useful for preventing your batch jobs >> from hang- >> ing for hours due to slow networks or links going >> down. This >> doesn't work fully in win32 systems. See also the >> --connect- >> timeout option. >> >> >> Best, >> >> Matk >> >> On 24 Aug 2006, at 03:43, Jim Ault wrote: >> >>> Currently I use a shell command to submit a curl -1 -k -d to a >>> server and >>> once every 3 to 4 days it will 'hang' waiting for a response. >>> There seems >>> to be no timeout in effect. Obviously I would like to know if >>> there is a >>> way to adjust this, since the handler will behave as though it were >>> in an >>> infinite loop. >>> >>> In the IDE version, cmd-period will interrupt this, but not sure >>> what will >>> work in the compiled version. >>> >>> OSX 10.4.4.6, Mac mini solo, Rev 2.7.2 >>> >>> Thanks, >>> >>> 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 >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 Thu Aug 24 17:07:22 2006 From: mark at maseurope.net (Mark Smith) Date: Thu, 24 Aug 2006 22:07:22 +0100 Subject: Timeout for a shell command? In-Reply-To: <C113569D.3CAB4%JimAultWins@yahoo.com> References: <C113569D.3CAB4%JimAultWins@yahoo.com> Message-ID: <552FABB2-828E-4007-B47F-5473942D85DF@maseurope.net> Interesting...might explain some mysterious things I experienced a little while ago. Thanks for pointing it out. best, Mark On 24 Aug 2006, at 21:14, Jim Ault wrote: > The following does not work, but the one after does > > curl -s -k -d -m 10 --not > > curl -s -k -m 10 -d --looks good, 10 second timeout > > Jim Ault > Las Vegs > > > On 8/24/06 11:57 AM, "Jim Ault" <JimAultWins at yahoo.com> wrote: > >> Thanks, I did not see that in the docs.. must have been late and >> my eyes... >> oh well. >> >> Jim Ault >> Las Vegas >> >> >> On 8/24/06 2:42 AM, "Mark Smith" <mark at maseurope.net> wrote: >> >>> Jim, from the curl manual: >>> >>> --connect-timeout <seconds> >>> Maximum time in seconds that you allow the >>> connection to the >>> server to take. This only limits the connection >>> phase, once >>> curl has connected this option is of no more use. See >>> also the >>> -m/--max-time option. >>> >>> >>> >>> -m/--max-time <seconds> >>> Maximum time in seconds that you allow the whole >>> operation to >>> take. This is useful for preventing your batch jobs >>> from hang- >>> ing for hours due to slow networks or links going >>> down. This >>> doesn't work fully in win32 systems. See also the >>> --connect- >>> timeout option. >>> >>> >>> Best, >>> >>> Matk >>> >>> On 24 Aug 2006, at 03:43, Jim Ault wrote: >>> >>>> Currently I use a shell command to submit a curl -1 -k -d to a >>>> server and >>>> once every 3 to 4 days it will 'hang' waiting for a response. >>>> There seems >>>> to be no timeout in effect. Obviously I would like to know if >>>> there is a >>>> way to adjust this, since the handler will behave as though it were >>>> in an >>>> infinite loop. >>>> >>>> In the IDE version, cmd-period will interrupt this, but not sure >>>> what will >>>> work in the compiled version. >>>> >>>> OSX 10.4.4.6, Mac mini solo, Rev 2.7.2 >>>> >>>> Thanks, >>>> >>>> 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 >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution 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 JimAultWins at yahoo.com Thu Aug 24 17:20:32 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 24 Aug 2006 14:20:32 -0700 Subject: Timeout for a shell command? In-Reply-To: <552FABB2-828E-4007-B47F-5473942D85DF@maseurope.net> Message-ID: <C1136630.3CAC2%JimAultWins@yahoo.com> In an earlier post I pointed out that the only order that works (for me) are these three switches as curl -s -k -d and now .. curl -s -k -m 10 -d Jim Ault Las Vegas On 8/24/06 2:07 PM, "Mark Smith" <mark at maseurope.net> wrote: > Interesting...might explain some mysterious things I experienced a > little while ago. > Thanks for pointing it out. > > best, > > Mark > > On 24 Aug 2006, at 21:14, Jim Ault wrote: > >> The following does not work, but the one after does >> >> curl -s -k -d -m 10 --not >> >> curl -s -k -m 10 -d --looks good, 10 second timeout >> >> Jim Ault >> Las Vegs >> >> >> On 8/24/06 11:57 AM, "Jim Ault" <JimAultWins at yahoo.com> wrote: >> >>> Thanks, I did not see that in the docs.. must have been late and >>> my eyes... >>> oh well. >>> >>> Jim Ault >>> Las Vegas >>> >>> >>> On 8/24/06 2:42 AM, "Mark Smith" <mark at maseurope.net> wrote: >>> >>>> Jim, from the curl manual: >>>> >>>> --connect-timeout <seconds> >>>> Maximum time in seconds that you allow the >>>> connection to the >>>> server to take. This only limits the connection >>>> phase, once >>>> curl has connected this option is of no more use. See >>>> also the >>>> -m/--max-time option. >>>> >>>> >>>> >>>> -m/--max-time <seconds> >>>> Maximum time in seconds that you allow the whole >>>> operation to >>>> take. This is useful for preventing your batch jobs >>>> from hang- >>>> ing for hours due to slow networks or links going >>>> down. This >>>> doesn't work fully in win32 systems. See also the >>>> --connect- >>>> timeout option. >>>> >>>> >>>> Best, >>>> >>>> Matk >>>> >>>> On 24 Aug 2006, at 03:43, Jim Ault wrote: >>>> >>>>> Currently I use a shell command to submit a curl -1 -k -d to a >>>>> server and >>>>> once every 3 to 4 days it will 'hang' waiting for a response. >>>>> There seems >>>>> to be no timeout in effect. Obviously I would like to know if >>>>> there is a >>>>> way to adjust this, since the handler will behave as though it were >>>>> in an >>>>> infinite loop. >>>>> >>>>> In the IDE version, cmd-period will interrupt this, but not sure >>>>> what will >>>>> work in the compiled version. >>>>> >>>>> OSX 10.4.4.6, Mac mini solo, Rev 2.7.2 >>>>> >>>>> Thanks, >>>>> >>>>> 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 >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution 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 livfoss at mac.com Thu Aug 24 18:06:50 2006 From: livfoss at mac.com (Graham Samuel) Date: Fri, 25 Aug 2006 00:06:50 +0200 Subject: Printing in Windows Message-ID: <95A366E5-11F5-446D-B1CD-3590043E247A@mac.com> Vote for BZ 1619 - still UNCONFIRMED for some reason. Really it's time Rev provided better access to information about printers and printer settings on all platforms. Still hoping Graham On Tue, 22 Aug 2006, Jan Schenkel wrote: >> [...] > And the other fun thing is that you can't actually > read and store the page setup data, so you have to ask > the user every time. ---------------------------------------- Graham Samuel / The Living Fossil Co. / UK and France From jacque at hyperactivesw.com Thu Aug 24 18:07:22 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 24 Aug 2006 17:07:22 -0500 Subject: Hiding the cursor on Windows In-Reply-To: <46354C3B-635F-49DB-8E1A-73AB21BCBE39@byu.edu> References: <44EDCAC0.7090209@hyperactivesw.com> <378C55BC-6820-4D4F-B781-580D54279CDB@canelasoftware.com> <46354C3B-635F-49DB-8E1A-73AB21BCBE39@byu.edu> Message-ID: <44EE231A.3080306@hyperactivesw.com> Devin Asay wrote: >>> Make a button with this script and then move the mouse over the button: >>> >>> on mouseEnter >>> lock cursor >>> set cursor to none >>> end mouseEnter >>> >>> on mouseLeave >>> unlock cursor >>> end mouseLeave >>> >>> If it works for you, then I can stop trying to figure it out. Thanks. >> >> >> I just tested it under Virtual PC with Rev 2.7.2 and it failed on that >> as well. As reported already, my real PC passed just fine. > > Works here on an Intel Mac Mini with Boot Camp booted into XP. There must be some gnarly issue with cursors and emulators. It's interesting that it fails on VPC too. This is probably good info to tuck away in the back of my mind, as I wasted about half an hour before realizing there might not be a problem at all. Hate that. What finally made me ask here was reading the Parallels documentation, where they said to click inside the virtual machine window to register the cursor location. Aha! The light went on. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Thu Aug 24 18:18:06 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 24 Aug 2006 15:18:06 -0700 Subject: OT: The passing of Pluto In-Reply-To: <404F87B0-EB1F-47CA-BC12-08189E32CAE6@swcp.com> References: <20060816021520.D1187825A1B@mail.runrev.com> <9e3a9e466557c419643591ec101fa82d@dvglasgow.wanadoo.co.uk> <8C88F692CF230E5-16B8-7D7@mblk-d42.sysops.aol.com> <p06230902c108fe03dadd@[192.168.1.105]> <395B1F53-0466-4582-A0E9-8E6E604B6A20@mac.com> <44E82A1B.3000301@hindu.org> <404F87B0-EB1F-47CA-BC12-08189E32CAE6@swcp.com> Message-ID: <11223668323.20060824151806@ahsoftware.net> Dar- Thursday, August 24, 2006, 11:14:53 AM, you wrote: > Now, that bugged this boy. I wanted to be excited about astronauts > and rockets and such, but somehow that turned it into a PR game. I'm still not used to the renaming of the Giants' ballpark. I wonder how long it will be before we get "AT&T Pluto" or "Halliburton Ceres". > I wonder if some mathematicians or word lovers were bugged when IBM > changed the name of sexadecimal to hexadecimal. DEC used octal, > perhaps to avoid an offensive chimeric word with magic spell > connotations, being based in Massachusetts and all that. ROTFL. Fortunately the only vestiges of octal left seem to be left over in things like chmod. > Sometime late last century I vaguely noticed that there weren't any > Datsuns around. ...and there's a town in Japan that got renamed Toyota. -- -Mark Wieder mwieder at ahsoftware.net From katir at hindu.org Thu Aug 24 18:47:02 2006 From: katir at hindu.org (Sivakatirswami) Date: Thu, 24 Aug 2006 12:47:02 -1000 Subject: Play One Movie On Top of Another? Message-ID: <44EE2C66.9090501@hindu.org> Another one of my "ask for the moon" queries: Is it possible to have one movie playing as a background object and another movie playing on top of it at the same time? Actually what I would really like is to have a movie running in the background (layer 1) looping with no controller or border; an animated GIF running on top of that (Layer 2:) where frames are presented under script control), and yet another Quicktime moving on top of that (layer three, topmost, ) with a controller that the user can use to stop) I tried, but I don't think it works, but before i give up, I just thought I would ask. User could stop the top most moving, scripted buttons sitting on top of the background movies are active... Context is: Having some branding motion graphics subtly playing in the background and then present a specific movies on top. The player on top might change out to other movies, with user interaction from a pull down menu or static side bar of links which dynamically reset the topmost player's URL to a remote.SMIL file. i.e. different user events are happening... underneath it all the motion graphics movie is running continuously on a loop. I'd rather not have to go into Final Cut Pro and Shake to composite all this if there's a way in Rev to just have movies running on top of each other... Alternate strategies, possible directions to go with, etc., welcome. This is in the brainstorming stages...or maybe it's a matter of "video cards just can't do that!" There's ways to do this with SMIL where we could leave a blank region in the center and run motion graphics in other /seq 's round it in the areas outside a central blank region, and of course QT renders this in a single video layer, but, it would be a lot easier in Rev if such layering of animated objects is doable. TIA Sivakatirswami From briany at qldlearning.com Thu Aug 24 18:54:40 2006 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 24 Aug 2006 15:54:40 -0700 Subject: Play One Movie On Top of Another? In-Reply-To: <44EE2C66.9090501@hindu.org> References: <44EE2C66.9090501@hindu.org> Message-ID: <0B1C4AD9-D090-42A4-BC6B-0A3B255B6B42@qldlearning.com> A couple of suggestions, although I can't confirm how far they will take you: 1) set the alwaysBuffer of the movies to TRUE -- this is generally required for layering movies with any object(s) 2) If you can't get everything running in one window, perhaps you could consider using multiple windows, with one floating borderless on top of the other HTH, Brian > Another one of my "ask for the moon" queries: From erikhans08 at yahoo.com Thu Aug 24 19:15:52 2006 From: erikhans08 at yahoo.com (Erik Hansen) Date: Thu, 24 Aug 2006 16:15:52 -0700 (PDT) Subject: Terra,sexadecimal : Sometimes name changes just bug us. In-Reply-To: <404F87B0-EB1F-47CA-BC12-08189E32CAE6@swcp.com> Message-ID: <20060824231552.44117.qmail@web33013.mail.mud.yahoo.com> Hate to tell you this, but many young college graduates would refer to your chrished astronomy book as a "novel" because it is a hard copy offering. --- Dar Scott <dsc at swcp.com> wrote: > Sometimes name changes just bug us. > > Scientists have been debating for a while what > is the definition of a > planet and this week a bunch at a scientist > club have voted that > Pluto is not a planet. I don't mind and my > grandkids are excited. > The only problem is that sometimes scientists > think that the > scientific jargon meaning of a word is the only > meaning. For > example, some people call all insects bugs and > some entomologists say > bug applies only to Hemiptera. > > When I was a small boy I read SF and books > about astronomy. I knew > from those books that the names of our sun, > planet and moon were Sol, > Terra and Luna respectively. Then at the start > of the space race > NASA started talking about planet Earth. The > press followed. In a > short time most people thought of the name of > the planet as Earth. > Now, that bugged this boy. I wanted to be > excited about astronauts > and rockets and such, but somehow that turned > it into a PR game. > > I wonder if some mathematicians or word lovers > were bugged when IBM > changed the name of sexadecimal to hexadecimal. > DEC used octal, > perhaps to avoid an offensive chimeric word > with magic spell > connotations, being based in Massachusetts and > all that. > > Sometime late last century I vaguely noticed > that there weren't any > Datsuns around. > > Dealing with name changes is part of how we > cope, I guess. erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From soapdog at mac.com Thu Aug 24 20:02:17 2006 From: soapdog at mac.com (Andre Garzia) Date: Thu, 24 Aug 2006 21:02:17 -0300 Subject: Question: MacOS X Bundled Apache Server or Embeded Web Server? In-Reply-To: <2e0cf4750608240727p126baa3ga351020066fe751c@mail.gmail.com> References: <C1127A2E.42A1C%kray@sonsothunder.com> <83475AFC-FDB6-4843-818F-C48B1CB60AE6@mac.com> <2e0cf4750608240727p126baa3ga351020066fe751c@mail.gmail.com> Message-ID: <FB9E24CB-DA63-4764-9549-01D5C405FE27@mac.com> Chris, tried that from the start, with DYLD_FALLBACK_LIBRARY_PATH e DYLD_LIBRARY_PATH, with no luck... :-( Andre PS: yes, never liked the way linkers works. On Aug 24, 2006, at 11:27 AM, chris bohnert wrote: > Hi Andre, > > I'm not sure what it is you're linking that is using libraries that > may not > be in the standard /usr/lib or /usr/local/lib but when I run into > problems > like this I always try to cheat. > > Can you modify the LIBRARYPATH env. variable to include your install > directory and then just put all your dependencies in your install > directory? > > -- > cb From revolutionary.dan at gmail.com Thu Aug 24 20:11:09 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Thu, 24 Aug 2006 17:11:09 -0700 Subject: OT: The passing of Pluto In-Reply-To: <11223668323.20060824151806@ahsoftware.net> References: <20060816021520.D1187825A1B@mail.runrev.com> <9e3a9e466557c419643591ec101fa82d@dvglasgow.wanadoo.co.uk> <8C88F692CF230E5-16B8-7D7@mblk-d42.sysops.aol.com> <p06230902c108fe03dadd@192.168.1.105> <395B1F53-0466-4582-A0E9-8E6E604B6A20@mac.com> <44E82A1B.3000301@hindu.org> <404F87B0-EB1F-47CA-BC12-08189E32CAE6@swcp.com> <11223668323.20060824151806@ahsoftware.net> Message-ID: <70ed6b130608241711i1ab3ecf8q5bccc34c7aa5fa26@mail.gmail.com> On 8/24/06, Mark Wieder <mwieder at ahsoftware.net> wrote: > > Dar- > > Thursday, August 24, 2006, 11:14:53 AM, you wrote: > > > Now, that bugged this boy. I wanted to be excited about astronauts > > and rockets and such, but somehow that turned it into a PR game. > > I'm still not used to the renaming of the Giants' ballpark. I wonder > how long it will be before we get "AT&T Pluto" or "Halliburton Ceres". It is for that reason that this long-time Giants fan and sports blogger refers to the Giants' home as Ringy-Dingy Park. That way, I figure whatever phone company buys whatever other phone company, the name of the park stays consistent and accurate. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From revolutionary.dan at gmail.com Thu Aug 24 20:13:21 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Thu, 24 Aug 2006 17:13:21 -0700 Subject: Play One Movie On Top of Another? In-Reply-To: <0B1C4AD9-D090-42A4-BC6B-0A3B255B6B42@qldlearning.com> References: <44EE2C66.9090501@hindu.org> <0B1C4AD9-D090-42A4-BC6B-0A3B255B6B42@qldlearning.com> Message-ID: <70ed6b130608241713j2ffdc377se21ac4506d8cc98b@mail.gmail.com> Just a guess, but I don't think you can do what you want because of transparency issues. You can't put buttons on top of QT movies (or at least you couldn't in the last version of Rev I tried it on). You have to create the QT interraction outside Rev and then play the move in Rev with the famous QTExternals. At least that's what I think is still the state of the art. On 8/24/06, Brian Yennie <briany at qldlearning.com> wrote: > > A couple of suggestions, although I can't confirm how far they will > take you: > > 1) set the alwaysBuffer of the movies to TRUE -- this is generally > required for layering movies with any object(s) > 2) If you can't get everything running in one window, perhaps you > could consider using multiple windows, with one floating borderless > on top of the other > > HTH, > Brian > > > Another one of my "ask for the moon" queries: > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From revdev at pdslabs.net Thu Aug 24 20:22:28 2006 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 24 Aug 2006 17:22:28 -0700 Subject: OT: The passing of Pluto In-Reply-To: <11223668323.20060824151806@ahsoftware.net> References: <20060816021520.D1187825A1B@mail.runrev.com> <9e3a9e466557c419643591ec101fa82d@dvglasgow.wanadoo.co.uk> <8C88F692CF230E5-16B8-7D7@mblk-d42.sysops.aol.com> <p06230902c108fe03dadd@[192.168.1.105]> <395B1F53-0466-4582-A0E9-8E6E604B6A20@mac.com> <44E82A1B.3000301@hindu.org> <404F87B0-EB1F-47CA-BC12-08189E32CAE6@swcp.com> <11223668323.20060824151806@ahsoftware.net> Message-ID: <44EE42C4.3050704@pdslabs.net> Have you heard about the town of half.com, Oregon? I think it has now reverted back to its original name, Halfway OR. Their city fathers made a deal (time-limited, I believe) with half.com and got the company to locate there. Phil Davis Mark Wieder wrote: > Dar- > > Thursday, August 24, 2006, 11:14:53 AM, you wrote: > >> Now, that bugged this boy. I wanted to be excited about astronauts >> and rockets and such, but somehow that turned it into a PR game. > > I'm still not used to the renaming of the Giants' ballpark. I wonder > how long it will be before we get "AT&T Pluto" or "Halliburton Ceres". > >> I wonder if some mathematicians or word lovers were bugged when IBM >> changed the name of sexadecimal to hexadecimal. DEC used octal, >> perhaps to avoid an offensive chimeric word with magic spell >> connotations, being based in Massachusetts and all that. > > ROTFL. Fortunately the only vestiges of octal left seem to be left > over in things like chmod. > >> Sometime late last century I vaguely noticed that there weren't any >> Datsuns around. > > ...and there's a town in Japan that got renamed Toyota. > From josh at dvcreators.net Thu Aug 24 21:05:10 2006 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 24 Aug 2006 18:05:10 -0700 Subject: Play One Movie On Top of Another? In-Reply-To: <44EE2C66.9090501@hindu.org> References: <44EE2C66.9090501@hindu.org> Message-ID: <6615A759-C0EF-4F9D-ADCB-D7B8838B683C@dvcreators.net> My instinct in this situation would be to create a series of graphics for the background layer and the one in front, then put a QT movie on top of both. Then you can swap out the icon properties of the background images as you wish. In my experience QT movies don't like having anything in front of them, they might play jerky and make the app unstable (although if the objects were different stacks layered over each other this might work better than having all layers on the same card - just a guess) On Aug 24, 2006, at 3:47 PM, Sivakatirswami wrote: > Another one of my "ask for the moon" queries: > > Is it possible to have one movie playing as a background object and > another movie playing on top of it at the same time? Actually what > I would really like is to have a movie running in the background > (layer 1) looping with no controller or border; an animated GIF > running on top of that (Layer 2:) where frames are presented under > script control), and yet another Quicktime moving on top of that > (layer three, topmost, ) with a controller that the user can use to > stop) I tried, but I don't think it works, but before i give up, I > just thought I would ask. > > User could stop the top most moving, scripted buttons sitting on > top of the background movies are active... > > Context is: > > Having some branding motion graphics subtly playing in the > background and then present a specific movies on top. The player on > top might change out to other movies, with user interaction from a > pull down menu or static side bar of links which dynamically reset > the topmost player's URL to a remote.SMIL file. i.e. different > user events are happening... underneath it all the motion graphics > movie is running continuously on a loop. > > I'd rather not have to go into Final Cut Pro and Shake to composite > all this if there's a way in Rev to just have movies running on top > of each other... > Alternate strategies, possible directions to go with, etc., > welcome. This is in the brainstorming stages...or maybe it's a > matter of "video cards just can't do that!" > > There's ways to do this with SMIL where we could leave a blank > region in the center and run motion graphics in other /seq 's round > it in the areas outside a central blank region, and of course QT > renders this in a single video layer, but, it would be a lot easier > in Rev if such layering of animated objects is doable. > > TIA > > Sivakatirswami > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bvlahos at mac.com Thu Aug 24 23:34:37 2006 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 24 Aug 2006 20:34:37 -0700 Subject: RunRev logos In-Reply-To: <00f601c6c795$eec9b990$6501a8c0@lynn> References: <00f601c6c795$eec9b990$6501a8c0@lynn> Message-ID: <D8784F32-7304-48A6-A7E3-023CAFCC7190@mac.com> I would like a horizontally oriented logo to use. The current logos are too vertically oriented for where I'd like to place them. The RealBasic logo image that is commonly used is an example of what I'm talking about. Bill On Aug 24, 2006, at 8:56 AM, Lynn Fredricks wrote: >> It would be useful if a high-resolution version, a small >> 72dpi version, and a EPS version of the RunRev logo in the >> current style were always available on the RunRev web site, >> together with high-res pictures of the RunRev staff ;-) > > I think this is easy enough to do. There's been a press page > planned for > some time with support materials that can have these sizes plus > some - minus > the runrev staff photos ;-) > > 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 dsc at swcp.com Fri Aug 25 00:14:41 2006 From: dsc at swcp.com (Dar Scott) Date: Thu, 24 Aug 2006 22:14:41 -0600 Subject: OT: The passing of Pluto In-Reply-To: <11223668323.20060824151806@ahsoftware.net> References: <20060816021520.D1187825A1B@mail.runrev.com> <9e3a9e466557c419643591ec101fa82d@dvglasgow.wanadoo.co.uk> <8C88F692CF230E5-16B8-7D7@mblk-d42.sysops.aol.com> <p06230902c108fe03dadd@[192.168.1.105]> <395B1F53-0466-4582-A0E9-8E6E604B6A20@mac.com> <44E82A1B.3000301@hindu.org> <404F87B0-EB1F-47CA-BC12-08189E32CAE6@swcp.com> <11223668323.20060824151806@ahsoftware.net> Message-ID: <E57C7D12-F481-4AE5-A360-1004E448898E@swcp.com> On Aug 24, 2006, at 4:18 PM, Mark Wieder wrote: > I wonder > how long it will be before we get "AT&T Pluto" or "Halliburton Ceres". Company names are always changing, too. Here in the US, many large corporations are being bought out by companies from overseas, a consequence, in part, of the high government deficit in the US. Name changes with education campaigns follow. Here in New Mexico supermarkets went through a soap opera frenzy of buying, selling, merging, selling off, so that in a few months a few years back almost all supermarkets I knew changed names and some within a few blocks of each other ended up swapping names. (For all I know that happened nation wide or world wide.) Here it was more than a name change; I learned that district leadership and national management really does make a difference. > ...and there's a town in Japan that got renamed Toyota. In New Mexico, over a half century ago, the town of Hot Springs New Mexico (often spelled without the comma and always said with the state name) changed its name to Truth or Consequences after the TV show. It never changed it back. Dar From soapdog at mac.com Fri Aug 25 00:25:30 2006 From: soapdog at mac.com (Andre Garzia) Date: Fri, 25 Aug 2006 01:25:30 -0300 Subject: OT: City naming or The passing of Pluto In-Reply-To: <E57C7D12-F481-4AE5-A360-1004E448898E@swcp.com> References: <20060816021520.D1187825A1B@mail.runrev.com> <9e3a9e466557c419643591ec101fa82d@dvglasgow.wanadoo.co.uk> <8C88F692CF230E5-16B8-7D7@mblk-d42.sysops.aol.com> <p06230902c108fe03dadd@[192.168.1.105]> <395B1F53-0466-4582-A0E9-8E6E604B6A20@mac.com> <44E82A1B.3000301@hindu.org> <404F87B0-EB1F-47CA-BC12-08189E32CAE6@swcp.com> <11223668323.20060824151806@ahsoftware.net> <E57C7D12-F481-4AE5-A360-1004E448898E@swcp.com> Message-ID: <CF486617-A0E8-4360-A409-58D0684DE23A@mac.com> Irgh at least in Brazil cities don't change name like this... My city founded in 1573 was named Vila de S?o Louren?o dos ?ndios (Village of Saint Laurence of the Indians) being a part of the piece of land called Banda D'Al?m (which literally means land beyond). In 1819 the village was recognized by central goverment and it was then called Vila Real da Praia Grande (Royal Village of Long Beach) then in 1835 it was renamed Niter?i which is the name it retains till today, it's named after the indian word Nictheroy which means hidden waters. If someone tried to change my city name to some TV Show he would face a civil war or at least some eggs in the face and a go- home-never-step-back-here attitude by the city crowd. Some stuff in America really scary the bits out of me, at least in England they do keep the city names, I think London is London since forever (or some time later than the romans)... PS: The japanese always scare me. not just some stuff. they. always. scare. me. PS: I have some nice web gallery on photos of my city case anyone wonders what the other side of Rio de Janeiro looks like. On Aug 25, 2006, at 1:14 AM, Dar Scott wrote: >> ...and there's a town in Japan that got renamed Toyota. > > In New Mexico, over a half century ago, the town of Hot Springs New > Mexico (often spelled without the comma and always said with the > state name) changed its name to Truth or Consequences after the TV > show. It never changed it back. > > Dar From scott at tactilemedia.com Fri Aug 25 01:45:51 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 24 Aug 2006 22:45:51 -0700 Subject: OT: The passing of Pluto In-Reply-To: <E57C7D12-F481-4AE5-A360-1004E448898E@swcp.com> Message-ID: <C113DC9F.107DD%scott@tactilemedia.com> Personally, I couldn't care less whether or not Pluto should or shouldn't be called a planet. I've always thought the more compelling story was the discovery (or dispute) of the existence of Planet X: http://xfacts.com/x1.htm http://www.halexandria.org/dward236.htm 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 Aug 25 01:46:57 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 24 Aug 2006 22:46:57 -0700 (PDT) Subject: Simple Myst-Like Application In-Reply-To: <013601c6c7a6$41291db0$6501a8c0@lynn> Message-ID: <Pine.GSO.4.33.0608242243560.17089-100000@titan.ecs.fullerton.edu> Indeed, I used it as an example and gave the background story as reading for my class... Most regrettably, one of the brighter students in the class was heard to remark something to the effect that: 'yeah, but it wasn't really done in Rev; all the real work was done in Photoshop...' Sigh... Judy On Thu, 24 Aug 2006, Lynn Fredricks wrote: > > Of course in any thread that mentions these sorts of games it > > would be remiss not to draw the reader's attention to Alida: > > > > <http://www.alidagame.com/> > > > > This is a wonderful work, amazingly done by one person, Cos Russo. > > Originally developed in SuperCard, it was ported to > > Revolution a couple years ago for deployment to OS X and Windows. <snip> > > This is a super example! And also, this game saw wide distribution in > retail, including CompUSA, Apple Store (retail) and more, here in the USA. > There is an interview posted with Cos here: > > http://www.revdeveloper.com/include/wiki/rev/doku.php?id=en:spotlights:spotl > ight_on_alida From sarah.reichelt at gmail.com Fri Aug 25 02:22:04 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 25 Aug 2006 16:22:04 +1000 Subject: Printing in Windows In-Reply-To: <20060822183013.55276.qmail@web60513.mail.yahoo.com> References: <f99b52860608212316j259bba29hc052716482447eb0@mail.gmail.com> <20060822183013.55276.qmail@web60513.mail.yahoo.com> Message-ID: <f99b52860608242322k4a30ae4akd112961518d7e246@mail.gmail.com> > > How is printing in Windows supposed to work? In Mac, > > I go to "Page > > setup" and choose the paper layout I want. Then when > > I print, I get > > another dialog allowing me to choose copies, page > > ranges, quality etc. > > Rev ignores the page ranges :-( but apart from that, > > printing works as > > I would expect. > > > > With Windows, when I use "answer printer" which I do > > when "Page setup" > > is chosen from the menu, I get a dialog allowing me > > to choose the > > printer and it's settings, but it also has a Print > > button. rather to > > my surprise, this seems to work, even though I > > haven't scripted for it > > at all. However choosing "Print" from the menu gives > > me no dialog at > > all, it just prints to the default printer, no > > matter what I chose in > > "Page setup". > > > > So what do Windows users expect? Is this correct > > behaviour? Or should > > I forget "Page setup" for Windows and just use the > > "answer printer" > > dialog for printing in a single step? > > > > Please help a confused Mac person... > > > > Cheers, > > Sarah > > > > Hi Sarah, > > Printing on Windows is a tad confusing in Revolution. > The 'answer printer' command displays the Page Setup > dialog box on MacOS, but on Windows it looks like the > place to print from. > And the other fun thing is that you can't actually > read and store the page setup data, so you have to ask > the user every time. > On Windows, users either never get the printer > selection screen, or they get it every time. > Thanks Jan, here's what i came up with: if the platform = "MacOS" then revShowPrintDialog false, true else revShowPrintDialog true, false end if revPrintText ..... I'm not sure this is ideal, but at least it gives a print dialog for both platforms. And Graham, BZ16169 already has my votes. Cheers, Sarah From sarah.reichelt at gmail.com Fri Aug 25 02:33:06 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 25 Aug 2006 16:33:06 +1000 Subject: answer files with filter Message-ID: <f99b52860608242333g30d7610ar7971d87d0261a841@mail.gmail.com> Hi all, The "answer file" command usually gets me thoroughly confused, but this time, I'm not sure it is able to do what I want. I want to allow the user to select a text file, but it has to be a text file with a name like "Slot45.txt". The number will vary, but it has to start with "Slot" and have the ".txt". Is this possible? I can get it to limit to text files, but is it possible to limit the available files to only text files which start with "Slot"? Cheers, Sarah From david at dvglasgow.wanadoo.co.uk Fri Aug 25 04:08:26 2006 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Fri, 25 Aug 2006 09:08:26 +0100 Subject: OT: The passing of Transcript (was Is there a more ...... In-Reply-To: <20060824170006.4F7F9825579@mail.runrev.com> References: <20060824170006.4F7F9825579@mail.runrev.com> Message-ID: <1845ae3d7c9bfe46db6a00010cecc2fb@dvglasgow.wanadoo.co.uk> On 24 Aug 2006, at 6:00 pm, use-revolution-request at lists.runrev.com wrote: > Sometime late last century I vaguely noticed that there weren't any > Datsuns around. > > Dealing with name changes is part of how we cope, I guess. > > Dar Scott ....and here in the UK 'Jif' became 'Cif', 'Marathon' 'Snickers' and 'Opal Fruits' 'Starburst' I don't know whether they have noticed my boycott, but I don't buy 'em any more Best Wishes, David Glasgow Carlton Glasgow Partnership http://www.i-psych.co.uk From sims at ezpzapps.com Fri Aug 25 05:13:41 2006 From: sims at ezpzapps.com (sims) Date: Fri, 25 Aug 2006 11:13:41 +0200 Subject: OT: The passing of Pluto In-Reply-To: <C113DC9F.107DD%scott@tactilemedia.com> References: <C113DC9F.107DD%scott@tactilemedia.com> Message-ID: <p06230907c1146e202b8d@[10.0.0.26]> At 10:45 PM -0700 8/24/06, Scott Rossi wrote: > >Personally, I couldn't care less whether or not Pluto should or shouldn't be >called a planet. I've always thought the more compelling story was the >discovery (or dispute) of the existence of Planet X: > >http://xfacts.com/x1.htm >http://www.halexandria.org/dward236.htm > >Regards, > >Scott Rossi Time for a confession. Malta is the gateway to Planet X. Those who have been here can attest to that fact. There will be a short presentation about this deep connection at the EuroRevCon 2006 being held in Malta. Learn more & prosper. sims European Rev Conference 2006 www.techietours.com From psahores at easynet.fr Fri Aug 25 06:36:34 2006 From: psahores at easynet.fr (Pierre Sahores) Date: Fri, 25 Aug 2006 12:36:34 +0200 Subject: Question: MacOS X Bundled Apache Server or Embeded Web Server? In-Reply-To: <A0D7289D-9ACE-412D-BDB8-D26DCF1DD4BC@mac.com> References: <A0D7289D-9ACE-412D-BDB8-D26DCF1DD4BC@mac.com> Message-ID: <81F5EB7E-4504-4D02-A9A0-422CDA526CBF@easynet.fr> Hi Andre, I'm bundeling MC/Rev client-server's applications to Apache since 1997 in using this kind of architecture. The client part of the process can be un standard web browser under the Win32, MacOS9/X or Linux platforms, a webbrowser+AJAX add-ones (XMLHTTPRequest objects) on the same platforms or MC/Rev client-side apps. All works very securely in real solutions solded to my customers (Education, Universities, Humans Ressources Management and Coaching). Perhaps could you have an eye on the basic tutorial i maintain on the subject at <http://istream.homeunix.com/insead/index_en.html>. Dont hesite to ask me more about the details ;-) Best Regards, Pierre Le 24 ao?t 06 ? 01:49, Andre Garzia a ?crit : > Hi Folks, > > I am building my soon to be released web application development > thingy. I am bundling all my libraries (and some third party with > credits), docs and example. > > But since I talked with Dan and others during RevConWest, I decided > that the most important part of this package is the out-of-the-box > experience. The hardest thing about CGI and WebApps for rev users > is usually setting up the environment. The idea is to develop > locally and then deploy when ready. I can't really build this for > Windows, I expect help on that later. So the idea is that there's a > home stack that sets everything up. > > Till today I was bundling the LiteSpeed Web Server <http:// > www.litespeedtech.com> server with the package. The server would be > all set up out of the box so that you could just launch and play. > The problem is, the thing is not running CGIs, the plain old > ones... they run once, then the server deadlocks. ARGH!!!! I > thought about using cherokee web server <http://www.0x50.org/> but > then, it comes out in source form and when it compiles it hard code > some paths for the dynamic loading libraries, so you cannot really > build it and then just bundle. You must compile it for each > installation. Thats the same trouble with Lighttp <http:// > www.lighttpd.net/>, and building it with static options makes a > huge server like 158mb and still it hard code the paths. > > The MacOS X Apache server is not ready for FastCGI, for that we > need to install the modules, which is easy. Actually thats not > hard, simple commands and a revolution made stack could drive that > installation easy. But again MacOS X out-of-the-box lacks the > needed C compiler for that, only those that installed XCode > development tools have the needed stuff to build Apache Modules. > > So here I am. The little servers all have some trouble or another, > the MacOS X bundled one is fine, but again, you need to download > 1GB XCode tools just to build simple couple megs apache module... > > any clue out there folks? is there any autoconf magician here that > can build a lighttp install with relative paths instead of absolute > ones (I tried and it didn't like). > > Can we use otool to rewrite the linkers absolute path using a > relative one like we do for frameworks (using @executable_path). > > Argh, I am looking for help. > > 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 > -- Pierre Sahores www.sahores-conseil.com From shaosean at hotmail.com Fri Aug 25 10:29:44 2006 From: shaosean at hotmail.com (Sean Shao) Date: Fri, 25 Aug 2006 10:29:44 -0400 Subject: answer files with filter Message-ID: <BAY105-F39357B1CD82DCE5F487B81C3450@phx.gbl> I don't know if you can filter based on the actual filename, but would it be possible for you to use your own file type / extension? If you do need the filtering on a filename I'm thinking you'd have to roll your own dialog.. _________________________________________________________________ Check the weather nationwide with MSN Search: Try it now! http://search.msn.com/results.aspx?q=weather&FORM=WLMTAG From soapdog at mac.com Fri Aug 25 11:30:43 2006 From: soapdog at mac.com (Andre Garzia) Date: Fri, 25 Aug 2006 12:30:43 -0300 Subject: a praise for Galaxy Message Box. Message-ID: <B13A6D0F-3E6F-48E3-9B31-1B84FD2E68DB@mac.com> Friends, I must say, I always wondered why Jerry was creating a message box replacement for Galaxy and Constelation. I thought that was to create a tight package, like it's not cool to tune a car and leave some part of it like the boring original. Today, I just discovered why! Galaxy Message Box Rocks!!!! I am in love! The way the put commands pile up is a very useful productive gain, all my debug info there with no trouble, no need to go writing to custom flds or log files. The message box takes care of storing previous put commands. Yes Jerry, I now understand the elegance of simple things. Thanks for your hard work! Cheers andre From rcozens at pon.net Fri Aug 25 12:07:06 2006 From: rcozens at pon.net (Rob Cozens) Date: Fri, 25 Aug 2006 09:07:06 -0700 Subject: answer files with filter In-Reply-To: <f99b52860608242333g30d7610ar7971d87d0261a841@mail.gmail.com> References: <f99b52860608242333g30d7610ar7971d87d0261a841@mail.gmail.com> Message-ID: <a05210600c114c40f138d@[66.81.74.70]> G'day Sarah, >I want to allow the user to select a text file, but it has to be a >text file with a name like "Slot45.txt". The number will vary, but it >has to start with "Slot" and have the ".txt". > >Is this possible? I can get it to limit to text files, but is it >possible to limit the available files to only text files which start >with "Slot"? If you allow these files to be created by other text editing applications, filtering by Mac file type is out.. If you want to maintain the ".txt" extension, filtering by extension likewise. The only practical approach I see off the top of my head involves building a custom answer file dialog stack and filtering the detailed files for the selected folder: put the detailed files into folderContents repeat for each line fileInfo in folderContents get URLDecode(item 1 of fileInfo) -- itemDelimiter should set to comma if offset("Slof",it) <> 1 then next repeat -- process or build list of "Slot" files here end repeat -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From jerry at daniels-mara.com Fri Aug 25 12:10:43 2006 From: jerry at daniels-mara.com (Jerry Daniels) Date: Fri, 25 Aug 2006 11:10:43 -0500 Subject: a praise for Galaxy Message Box. In-Reply-To: <B13A6D0F-3E6F-48E3-9B31-1B84FD2E68DB@mac.com> References: <B13A6D0F-3E6F-48E3-9B31-1B84FD2E68DB@mac.com> Message-ID: <7331DCE3-3C56-4CA8-9C0E-AD62DA144261@daniels-mara.com> Andre, Thanks much for your praise! As regards the accumulating results option in Galaxy Message Box, I have to give credit to Troy Rollins for heckling me until I coded that option and to Trevor DeVore who QA'd and contributed code where needed. My primary job on the Galaxy project is to say "no" to complexity in the UI. Even so, some complexity sneaks in there. Best, Jerry Daniels -------------- next part -------------- Tool makers for the 21st century http://www.daniels-mara.com Voice: 512.879.6286 Skype: jerry.daniels On Aug 25, 2006, at 10:30 AM, Andre Garzia wrote: > Friends, > > I must say, I always wondered why Jerry was creating a message box > replacement for Galaxy and Constelation. I thought that was to > create a tight package, like it's not cool to tune a car and leave > some part of it like the boring original. Today, I just discovered > why! Galaxy Message Box Rocks!!!! I am in love! The way the put > commands pile up is a very useful productive gain, all my debug > info there with no trouble, no need to go writing to custom flds or > log files. The message box takes care of storing previous put > commands. > > Yes Jerry, I now understand the elegance of simple things. Thanks > for your hard work! > > 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 bobs at twft.com Fri Aug 25 12:19:43 2006 From: bobs at twft.com (Robert Sneidar) Date: Fri, 25 Aug 2006 09:19:43 -0700 Subject: Hiding the cursor on Windows Message-ID: <D235C58C-B46F-49EE-8DC8-272B10546A06@twft.com> >>> I am running Windows XP under Parallels on a Mac Intel machine. The >>> command "set cursor to none" does not work. (I did get it to work on >>> one occasion, but I couldn't repeat it.) I don't know if the problem >>> is with Revolution or with Parallels. Could someone with a real XP >>> machine please tell me if this code works? >>> >>> Make a button with this script and then move the mouse over the >>> button: >>> >>> on mouseEnter >>> lock cursor >>> set cursor to none >>> end mouseEnter >>> >>> on mouseLeave >>> unlock cursor >>> end mouseLeave >>> >>> If it works for you, then I can stop trying to figure it out. >>> Thanks. >>> >> >> It works here. (Assuming by working you mean the cursor disappears >> while over the button.) >> > > Thank you, thank you. Parallels has some issues with the cursor, so I > suspected that was the reason but I had no way to verify it. You've > just > saved me a lot of trouble, I appreciate it. Hi Jacque. Did you install the Parallels Tools? There is improved cursor support and also display adapter support there. Bob Sneidar IT Manager Logos Management Calvary Chapel CM From jacque at hyperactivesw.com Fri Aug 25 13:16:10 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 25 Aug 2006 12:16:10 -0500 Subject: Hiding the cursor on Windows In-Reply-To: <D235C58C-B46F-49EE-8DC8-272B10546A06@twft.com> References: <D235C58C-B46F-49EE-8DC8-272B10546A06@twft.com> Message-ID: <44EF305A.1010102@hyperactivesw.com> Robert Sneidar wrote: > Did you install the Parallels Tools? There is improved cursor support > and also display adapter support there. Yes, the tools are installed. In general everything works fine, but apparently hiding the cursor is tricky business. I suspect these emulators go out of their way to avoid losing the cursor, and an invisible cursor isn't a normal state of affairs in most apps. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From geradamas at yahoo.com Fri Aug 25 13:52:47 2006 From: geradamas at yahoo.com (Richmond Mathewson) Date: Fri, 25 Aug 2006 10:52:47 -0700 (PDT) Subject: OT: The passing of Transcript (was Is there a more ...... Message-ID: <20060825175247.85922.qmail@web37508.mail.mud.yahoo.com> "Sharps' Extras Strong Mints" of course some sneaky companies by out other companies but keep the product name the same: a case in point (in the UK at least) are "Victory Vs" (which I notice, no longer contain morphine - shame!). Personally I always think of the language that is used to program RR and MetaCard as "the language formally known as 'HyperTalk'". sincerely, Richmond Mathewson (Previously known as "Queen Latifa's poodle") ____________________________________________________________ "Philosophical problems are confusions arising owing to the fluidity of meanings users attach to words and phrases." Mathewson, 2006 ____________________________________________________________ From barryb at libero.it Fri Aug 25 14:27:35 2006 From: barryb at libero.it (barryb at libero.it) Date: Fri, 25 Aug 2006 20:27:35 +0200 Subject: OT: The passing of Pluto Message-ID: <J4KGLZ$5A4EA5FE29C3C0B8C55D5AA0C99F7513@libero.it> While we all seem to be Ot abut place names , heres my bit. Yes London has practically always been called that. It was Londinos when the Romans arrived, they changed it to Lundinium and so on through the ages. But my favourite is a townlet near here in Northen Italy which the Romans knew by the lovely name of Argentia which makes you think of something silver. In the 16th century it was changed to Gorgonzola! As Shakespeare once wrote (I think) "A 'cheese' by any other name would smell as sweet" Oh! the adds at the bottom of my posts are not mine, that comes from using a free email provider and I didn't know until I saw it here. Barry From katir at hindu.org Fri Aug 25 05:53:19 2006 From: katir at hindu.org (Sivakatirswami) Date: Thu, 24 Aug 2006 23:53:19 -1000 Subject: Play One Movie On Top of Another? In-Reply-To: <0B1C4AD9-D090-42A4-BC6B-0A3B255B6B42@qldlearning.com> References: <44EE2C66.9090501@hindu.org> <0B1C4AD9-D090-42A4-BC6B-0A3B255B6B42@qldlearning.com> Message-ID: <44EEC88F.2000606@hindu.org> OK yes! this works: 1) create stack window: set background to black 2) create player object in center of stack window, set player to no control...call it "bgMovie" "Background Movie 3) Create substack "topMovie" with smaller "player1", position stack on top of main stack, over the background movie. 4) set decorations for stack "topMovie" to none and shrink stack window to fit exactly under the rect of player 1. Then off to the side of the bg movie on the mainstack card put this button: on mouseUp start player "bgMovie" palette "topMovie" start player "Player1" of stack "topMovie" end mouseUp OK, works beautifully. background movie is running underneath, top movie is playing, audio tracks from both are coming thru. note, its important to make sure you "palette" the topmovie stack. It behaves the same as a palette, even though decorations are off, which means if the user clicks on the background card of the mainstack, the topMovie stack sticks on the top layer of the video card.. if you "topLevel "topMovie" then when you click on the main stack, the topMovie drops out to the back. "disappears" from the user though it's sound track is still running of course... its there, just underneath the mainstack. OK, this has lots of possibilities! (smile) Now, if I can figure out how to mask the top movie so that is is not just an ugly square rect, this actually may begin to look professional...and if we can stream the two movies over the net simultaneously... :-) I think I should post a stack to RevOnline and get some tests done on Windows.. so next question would be, how to mask a movie so it has rounded corners, radius, say 12 pixels, with gaussian blur, feathered edges from full opacity on the inside to transparent on the outer edges... Sivakatirswami Brian Yennie wrote: > A couple of suggestions, although I can't confirm how far they will > take you: > > 1) set the alwaysBuffer of the movies to TRUE -- this is generally > required for layering movies with any object(s) > 2) If you can't get everything running in one window, perhaps you > could consider using multiple windows, with one floating borderless on > top of the other > > HTH, > Brian > >> Another one of my "ask for the moon" queries: > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Aug 25 15:38:17 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 25 Aug 2006 12:38:17 -0700 Subject: OT: The passing of Pluto Message-ID: <44EF51A9.3020500@fourthworld.com> sims wrote: > Time for a confession. > Malta is the gateway to Planet X. Those who have been here can attest > to that fact. > There will be a short presentation about this deep connection at the > EuroRevCon 2006 > being held in Malta. I think the exact location of the gateway is in the former armory beneath the walls of the fortress at Mdina, where the wonderful Bacchus restaurant now sits. Can't wait to get back there.... -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From katir at hindu.org Fri Aug 25 17:47:26 2006 From: katir at hindu.org (Sivakatirswami) Date: Fri, 25 Aug 2006 11:47:26 -1000 Subject: Play One Movie On Top of Another? In-Reply-To: <44EEC88F.2000606@hindu.org> References: <44EE2C66.9090501@hindu.org> <0B1C4AD9-D090-42A4-BC6B-0A3B255B6B42@qldlearning.com> <44EEC88F.2000606@hindu.org> Message-ID: <44EF6FEE.2060607@hindu.org> A sample is up on Rev Online: Go to "Education" or user space "Sivakatirswami" and check out "Two Movies" This stack loads two.SMIL files into two player objects , from our server in San Francisco, which then stream two movies, one underneath and the other on top. I would be really interested in testers. It's working on OSX. Does it work on Windows? Sivakatirswami Sivakatirswami wrote: > OK yes! this works: > > 1) create stack window: set background to black > 2) create player object in center of stack window, set player to no > control...call it "bgMovie" "Background Movie > 3) Create substack "topMovie" with smaller "player1", position stack > on top of main stack, over the background movie. > 4) set decorations for stack "topMovie" to none and shrink stack > window to fit exactly under the rect of player 1. > > Then off to the side of the bg movie on the mainstack card put this > button: > > on mouseUp > > start player "bgMovie" > palette "topMovie" > start player "Player1" of stack "topMovie" > > end mouseUp > > OK, works beautifully. background movie is running underneath, > top movie is playing, audio tracks from both are coming thru. > > note, its important to make sure you "palette" the topmovie stack. It > behaves the same as a palette, even though decorations are off, which > means if the user clicks on the background card of the mainstack, > the topMovie stack sticks on the top layer of the video card.. if you > "topLevel "topMovie" then when you click on the main stack, the > topMovie drops out to the back. "disappears" from the user though > it's sound track is still running of course... its there, just > underneath the mainstack. > > OK, this has lots of possibilities! (smile) Now, if I can figure out > how to mask the top movie so that is is not just an ugly square rect, > this actually may begin to look professional...and if we can stream > the two movies over the net simultaneously... :-) > > I think I should post a stack to RevOnline and get some tests done on > Windows.. > > so next question would be, how to mask a movie so it has rounded > corners, radius, say 12 pixels, with gaussian blur, feathered edges > from full opacity on the inside to transparent on the outer edges... > > Sivakatirswami > > > Brian Yennie wrote: >> A couple of suggestions, although I can't confirm how far they will >> take you: >> >> 1) set the alwaysBuffer of the movies to TRUE -- this is generally >> required for layering movies with any object(s) >> 2) If you can't get everything running in one window, perhaps you >> could consider using multiple windows, with one floating borderless >> on top of the other >> >> HTH, >> Brian >> >>> Another one of my "ask for the moon" queries: >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 pinch_from_spock at hotmail.com Fri Aug 25 22:40:11 2006 From: pinch_from_spock at hotmail.com (Graeme Harlick) Date: Fri, 25 Aug 2006 22:40:11 -0400 Subject: Program Icons and Autoplay In-Reply-To: <C11268D4.3C9F0%JimAultWins@yahoo.com> Message-ID: <BAY103-F36023B44B848E0879BFAC5C13A0@phx.gbl> RunRev, My Myst App is near completion and looking and sounding great, thanks for everyone's help here on the mailing list. I'm a newbie programmer, but you guys made this a very nice looking program. How do I give my standalone application an icon instead of the plain-program-screen-looking icon? Along with one in the corner of my program's window? Also, I hope to burn my program onto a disk, how would I make it autoplay when the disk is inserted into the D drive? Thanks alot, Graeme From katir at hindu.org Fri Aug 25 23:43:08 2006 From: katir at hindu.org (Sivakatirswami) Date: Fri, 25 Aug 2006 17:43:08 -1000 Subject: Question: MacOS X Bundled Apache Server or Embeded Web Server? In-Reply-To: <81F5EB7E-4504-4D02-A9A0-422CDA526CBF@easynet.fr> References: <A0D7289D-9ACE-412D-BDB8-D26DCF1DD4BC@mac.com> <81F5EB7E-4504-4D02-A9A0-422CDA526CBF@easynet.fr> Message-ID: <44EFC34C.1010100@hindu.org> Pierre: If a single engine is running as a daemon, and, as we know, Revolution is no multi-threaded and cannot fork a new process. What happens if one of your CGI has a "wait 10 seconds" in it... or a blocking call ? Doesn't this bring down the entire framework for 10 seconds and all other attempts to use the engine are blocked for 10 seconds? Sivakatirswami Pierre Sahores wrote: > Hi Andre, > > I'm bundeling MC/Rev client-server's applications to Apache since 1997 > in using this kind of architecture. The client part of the process can > be un standard web browser under the Win32, MacOS9/X or Linux > platforms, a webbrowser+AJAX add-ones (XMLHTTPRequest objects) on the > same platforms or MC/Rev client-side apps. All works very securely in > real solutions solded to my customers (Education, Universities, Humans > Ressources Management and Coaching). > > Perhaps could you have an eye on the basic tutorial i maintain on the > subject at <http://istream.homeunix.com/insead/index_en.html>. > > Dont hesite to ask me more about the details ;-) > > Best Regards, > > Pierre > > > Le 24 ao?t 06 ? 01:49, Andre Garzia a ?crit : > >> Hi Folks, >> >> I am building my soon to be released web application development >> thingy. I am bundling all my libraries (and some third party with >> credits), docs and example. >> >> But since I talked with Dan and others during RevConWest, I decided >> that the most important part of this package is the out-of-the-box >> experience. The hardest thing about CGI and WebApps for rev users is >> usually setting up the environment. The idea is to develop locally >> and then deploy when ready. I can't really build this for Windows, I >> expect help on that later. So the idea is that there's a home stack >> that sets everything up. >> >> Till today I was bundling the LiteSpeed Web Server >> <http://www.litespeedtech.com> server with the package. The server >> would be all set up out of the box so that you could just launch and >> play. The problem is, the thing is not running CGIs, the plain old >> ones... they run once, then the server deadlocks. ARGH!!!! I thought >> about using cherokee web server <http://www.0x50.org/> but then, it >> comes out in source form and when it compiles it hard code some paths >> for the dynamic loading libraries, so you cannot really build it and >> then just bundle. You must compile it for each installation. Thats >> the same trouble with Lighttp <http://www.lighttpd.net/>, and >> building it with static options makes a huge server like 158mb and >> still it hard code the paths. >> >> The MacOS X Apache server is not ready for FastCGI, for that we need >> to install the modules, which is easy. Actually thats not hard, >> simple commands and a revolution made stack could drive that >> installation easy. But again MacOS X out-of-the-box lacks the needed >> C compiler for that, only those that installed XCode development >> tools have the needed stuff to build Apache Modules. >> >> So here I am. The little servers all have some trouble or another, >> the MacOS X bundled one is fine, but again, you need to download 1GB >> XCode tools just to build simple couple megs apache module... >> >> any clue out there folks? is there any autoconf magician here that >> can build a lighttp install with relative paths instead of absolute >> ones (I tried and it didn't like). >> >> Can we use otool to rewrite the linkers absolute path using a >> relative one like we do for frameworks (using @executable_path). >> >> Argh, I am looking for help. >> >> 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 >> > > -- > 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 > From m.schonewille at economy-x-talk.com Sat Aug 26 05:14:44 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 26 Aug 2006 11:14:44 +0200 Subject: Program Icons and Autoplay In-Reply-To: <BAY103-F36023B44B848E0879BFAC5C13A0@phx.gbl> References: <BAY103-F36023B44B848E0879BFAC5C13A0@phx.gbl> Message-ID: <E59CCAB0-BE9B-4644-AAD0-08DC77F3872F@economy-x-talk.com> Hi Graeme, You need to create icon files with special icon software, such as IconBuilder, IconoGrapher, LiguidIcon, or IconWorkshop. IconBuilder is a little complex, IconoGrapher easy but created bad icons for Windows, LiquicIcon is free but not very intuitive, and I have heard many good things about IconWorkshop. Once you have created your icon files, you have to tell the Revolution Standalone builder which files to use for icons. I am sure you can figure this out yourself. You can autostart a CD on Windows by including a text file in the root of the CD containing the line: open=setup.exe. Setup.exe would be the path to the application you want to start. There was a trick on Mac to autostart CDs. I don't know if this is still possible and it is generally seen as bad behaviour by Mac users. Best regards, 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 26-aug-2006, om 4:40 heeft Graeme Harlick het volgende geschreven: > RunRev, > > My Myst App is near completion and looking and sounding great, > thanks for everyone's help here on the mailing list. I'm a newbie > programmer, but you guys made this a very nice looking program. > > How do I give my standalone application an icon instead of the > plain-program-screen-looking icon? Along with one in the corner of > my program's window? > > Also, I hope to burn my program onto a disk, how would I make it > autoplay when the disk is inserted into the D drive? > > Thanks alot, > > Graeme > From klaus at major-k.de Sat Aug 26 06:06:11 2006 From: klaus at major-k.de (Klaus Major) Date: Sat, 26 Aug 2006 12:06:11 +0200 Subject: Program Icons and Autoplay In-Reply-To: <E59CCAB0-BE9B-4644-AAD0-08DC77F3872F@economy-x-talk.com> References: <BAY103-F36023B44B848E0879BFAC5C13A0@phx.gbl> <E59CCAB0-BE9B-4644-AAD0-08DC77F3872F@economy-x-talk.com> Message-ID: <D2D24A8B-4608-4416-9416-D92EABA018E9@major-k.de> Hi Greame, Am 26.08.2006 um 11:14 schrieb Mark Schonewille: > Hi Graeme, > > You need to create icon files with special icon software, such as > IconBuilder, IconoGrapher, LiguidIcon, or IconWorkshop. IconBuilder > is a little complex, IconoGrapher easy but created bad icons for > Windows, LiquicIcon is free but not very intuitive, and I have > heard many good things about IconWorkshop. > > Once you have created your icon files, you have to tell the > Revolution Standalone builder which files to use for icons. I am > sure you can figure this out yourself. > > You can autostart a CD on Windows by including a text file in the > root of the CD containing the line: open=setup.exe. Setup.exe would > be the path to the application you want to start. Put a simple textfile named "autorun.inf" (without the quotes, of course!) on the root level of you CD-Rom. You can also define a nice icon for the CD by putting the ico file on the root level of the CD-Rom and adding these line to the file: icon=nice_icon.ico open=name_of_your_app.exe The icon is of course optional. > There was a trick on Mac to autostart CDs. I don't know if this is > still possible and it is generally seen as bad behaviour by Mac users. This anti-feature is no more available on a Mac! Since one of the rare Mac virii (the so called "autostart virus, I think it was programmed in HyperCard?) used this leak in earlier days, Apple completely diabled this feature. Unfortunately, and since CDs do NOT appear on the windows desktop like they do on the Mac, the autorun feature is almost a MUST for windows distribution on CD. Most windows users are completely lost and do not know what to do without this "feature", which of course a heartfelt invitation for malicious code :-) icon=harmless_kitten_or_something.ico open=evil_app_that_will_erase_the_complete_harddisk.exe :-D > Best regards, > > Mark > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > http://www.salery.biz Regards Klaus Major klaus at major-k.de http://www.major-k.de From psahores at easynet.fr Sat Aug 26 06:36:01 2006 From: psahores at easynet.fr (Pierre Sahores) Date: Sat, 26 Aug 2006 12:36:01 +0200 Subject: Question: MacOS X Bundled Apache Server or Embeded Web Server? In-Reply-To: <44EFC34C.1010100@hindu.org> References: <A0D7289D-9ACE-412D-BDB8-D26DCF1DD4BC@mac.com> <81F5EB7E-4504-4D02-A9A0-422CDA526CBF@easynet.fr> <44EFC34C.1010100@hindu.org> Message-ID: <D312AC7A-6C73-4900-AF96-342523AED2EF@easynet.fr> Hello Katir, In theory such a process will block your framework for 10 seconds as you expect. In practice, there is, for sure, a way we can design the entiere "n-tier" process your are thinking about to have the blocking part of it on the client-side part of the solution (AJAX xmlhttprequest object calls if the client app is a webbrowser, Rev scripting if the client-side app is a Rev one), so you will never need to slow-up and breake your server-side queue of tasks. In this case, the fact that Rev is not multi-threaded will never be a problem because, even if some ones can doubt of this, J2SE deamon are running up to teen time slower than Rev deamons (Linux and OSX) : J2SE supports 3 threads max at once while Rev is queuing each task = 3 * 10 times unit for J2SE and, only, 3 * 1 times under a Rev server- side deamon to have the same quantity (and quality !) of queries served to the clients. As you can expect, even if Rev is not multi- threaded, the work will be well done by Rev because its ablity to speed-up the responses to the queue of requests... If you give me some more details about the process, you are thinking about, i'm sure we will be able to design the solution without having to manage synchronious blockings on the server-side. Kind Regards, Pierre Le 26 ao?t 06 ? 05:43, Sivakatirswami a ?crit : > Pierre: > > If a single engine is running as a daemon, and, as we know, > Revolution is no multi-threaded and cannot fork a new process. > What happens if one of your CGI has a "wait 10 seconds" in it... or > a blocking call ? Doesn't this bring down the entire framework for > 10 seconds and all other attempts to use the engine are blocked for > 10 seconds? > > Sivakatirswami > > > Pierre Sahores wrote: >> Hi Andre, >> >> I'm bundeling MC/Rev client-server's applications to Apache since >> 1997 in using this kind of architecture. The client part of the >> process can be un standard web browser under the Win32, MacOS9/X >> or Linux platforms, a webbrowser+AJAX add-ones (XMLHTTPRequest >> objects) on the same platforms or MC/Rev client-side apps. All >> works very securely in real solutions solded to my customers >> (Education, Universities, Humans Ressources Management and Coaching). >> >> Perhaps could you have an eye on the basic tutorial i maintain on >> the subject at <http://istream.homeunix.com/insead/index_en.html>. >> >> Dont hesite to ask me more about the details ;-) >> >> Best Regards, >> >> Pierre >> >> >> Le 24 ao?t 06 ? 01:49, Andre Garzia a ?crit : >> >>> Hi Folks, >>> >>> I am building my soon to be released web application development >>> thingy. I am bundling all my libraries (and some third party with >>> credits), docs and example. >>> >>> But since I talked with Dan and others during RevConWest, I >>> decided that the most important part of this package is the out- >>> of-the-box experience. The hardest thing about CGI and WebApps >>> for rev users is usually setting up the environment. The idea is >>> to develop locally and then deploy when ready. I can't really >>> build this for Windows, I expect help on that later. So the idea >>> is that there's a home stack that sets everything up. >>> >>> Till today I was bundling the LiteSpeed Web Server <http:// >>> www.litespeedtech.com> server with the package. The server would >>> be all set up out of the box so that you could just launch and >>> play. The problem is, the thing is not running CGIs, the plain >>> old ones... they run once, then the server deadlocks. ARGH!!!! I >>> thought about using cherokee web server <http://www.0x50.org/> >>> but then, it comes out in source form and when it compiles it >>> hard code some paths for the dynamic loading libraries, so you >>> cannot really build it and then just bundle. You must compile it >>> for each installation. Thats the same trouble with Lighttp >>> <http://www.lighttpd.net/>, and building it with static options >>> makes a huge server like 158mb and still it hard code the paths. >>> >>> The MacOS X Apache server is not ready for FastCGI, for that we >>> need to install the modules, which is easy. Actually thats not >>> hard, simple commands and a revolution made stack could drive >>> that installation easy. But again MacOS X out-of-the-box lacks >>> the needed C compiler for that, only those that installed XCode >>> development tools have the needed stuff to build Apache Modules. >>> >>> So here I am. The little servers all have some trouble or >>> another, the MacOS X bundled one is fine, but again, you need to >>> download 1GB XCode tools just to build simple couple megs apache >>> module... >>> >>> any clue out there folks? is there any autoconf magician here >>> that can build a lighttp install with relative paths instead of >>> absolute ones (I tried and it didn't like). >>> >>> Can we use otool to rewrite the linkers absolute path using a >>> relative one like we do for frameworks (using @executable_path). >>> >>> Argh, I am looking for help. >>> >>> 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 >>> >> >> -- >> 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 >> > _______________________________________________ > use-revolution mailing list > use-revolution 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 psahores at easynet.fr Sat Aug 26 06:46:51 2006 From: psahores at easynet.fr (Pierre Sahores) Date: Sat, 26 Aug 2006 12:46:51 +0200 Subject: Fwd: Question: MacOS X Bundled Apache Server or Embeded Web Server? References: <D312AC7A-6C73-4900-AF96-342523AED2EF@easynet.fr> Message-ID: <85B07921-C3BF-4ACA-88AD-1586EE68B32C@easynet.fr> Katir, I forgot to precise, in the previous mail, that the tasks queued to the Rev deamon is'nt managed by the Rev deamon it-self (Rev is not so good in about this) but by Apache+PHP, so the Rev deamon always just know about one task after the other and never twice at once. Because Apache does this part of the job in multi-thread mode, the result is for us that the global server-side process "Apache+PHP+Rev" works just alike a 100% multiprocess system would do with just a small difference : it works then time faster than the Tomcat, JBoss or Websphere based solutions... Best, Pierre D?but du message r?exp?di? : > De : Pierre Sahores <psahores at easynet.fr> > Date : 26 ao?t 2006 12:36:01 HAEC > ? : How to use Revolution <use-revolution at lists.runrev.com> > Cc : Pierre Sahores <psahores at easynet.fr>, Sivakatirswami > <katir at hindu.org> > Objet : R?p : Question: MacOS X Bundled Apache Server or Embeded > Web Server? > > Hello Katir, > > In theory such a process will block your framework for 10 seconds > as you expect. In practice, there is, for sure, a way we can design > the entiere "n-tier" process your are thinking about to have the > blocking part of it on the client-side part of the solution (AJAX > xmlhttprequest object calls if the client app is a webbrowser, Rev > scripting if the client-side app is a Rev one), so you will never > need to slow-up and breake your server-side queue of tasks. In this > case, the fact that Rev is not multi-threaded will never be a > problem because, even if some ones can doubt of this, J2SE deamon > are running up to teen time slower than Rev deamons (Linux and OSX) : > > J2SE supports 3 threads max at once while Rev is queuing each task > = 3 * 10 times unit for J2SE and, only, 3 * 1 times under a Rev > server-side deamon to have the same quantity (and quality !) of > queries served to the clients. As you can expect, even if Rev is > not multi-threaded, the work will be well done by Rev because its > ablity to speed-up the responses to the queue of requests... > > If you give me some more details about the process, you are > thinking about, i'm sure we will be able to design the solution > without having to manage synchronious blockings on the server-side. > > Kind Regards, > > Pierre > > Le 26 ao?t 06 ? 05:43, Sivakatirswami a ?crit : > >> Pierre: >> >> If a single engine is running as a daemon, and, as we know, >> Revolution is no multi-threaded and cannot fork a new process. >> What happens if one of your CGI has a "wait 10 seconds" in it... >> or a blocking call ? Doesn't this bring down the entire framework >> for 10 seconds and all other attempts to use the engine are >> blocked for 10 seconds? >> >> Sivakatirswami >> >> >> Pierre Sahores wrote: >>> Hi Andre, >>> >>> I'm bundeling MC/Rev client-server's applications to Apache since >>> 1997 in using this kind of architecture. The client part of the >>> process can be un standard web browser under the Win32, MacOS9/X >>> or Linux platforms, a webbrowser+AJAX add-ones (XMLHTTPRequest >>> objects) on the same platforms or MC/Rev client-side apps. All >>> works very securely in real solutions solded to my customers >>> (Education, Universities, Humans Ressources Management and >>> Coaching). >>> >>> Perhaps could you have an eye on the basic tutorial i maintain on >>> the subject at <http://istream.homeunix.com/insead/index_en.html>. >>> >>> Dont hesite to ask me more about the details ;-) >>> >>> Best Regards, >>> >>> Pierre >>> >>> >>> Le 24 ao?t 06 ? 01:49, Andre Garzia a ?crit : >>> >>>> Hi Folks, >>>> >>>> I am building my soon to be released web application development >>>> thingy. I am bundling all my libraries (and some third party >>>> with credits), docs and example. >>>> >>>> But since I talked with Dan and others during RevConWest, I >>>> decided that the most important part of this package is the out- >>>> of-the-box experience. The hardest thing about CGI and WebApps >>>> for rev users is usually setting up the environment. The idea is >>>> to develop locally and then deploy when ready. I can't really >>>> build this for Windows, I expect help on that later. So the idea >>>> is that there's a home stack that sets everything up. >>>> >>>> Till today I was bundling the LiteSpeed Web Server <http:// >>>> www.litespeedtech.com> server with the package. The server would >>>> be all set up out of the box so that you could just launch and >>>> play. The problem is, the thing is not running CGIs, the plain >>>> old ones... they run once, then the server deadlocks. ARGH!!!! I >>>> thought about using cherokee web server <http://www.0x50.org/> >>>> but then, it comes out in source form and when it compiles it >>>> hard code some paths for the dynamic loading libraries, so you >>>> cannot really build it and then just bundle. You must compile it >>>> for each installation. Thats the same trouble with Lighttp >>>> <http://www.lighttpd.net/>, and building it with static options >>>> makes a huge server like 158mb and still it hard code the paths. >>>> >>>> The MacOS X Apache server is not ready for FastCGI, for that we >>>> need to install the modules, which is easy. Actually thats not >>>> hard, simple commands and a revolution made stack could drive >>>> that installation easy. But again MacOS X out-of-the-box lacks >>>> the needed C compiler for that, only those that installed XCode >>>> development tools have the needed stuff to build Apache Modules. >>>> >>>> So here I am. The little servers all have some trouble or >>>> another, the MacOS X bundled one is fine, but again, you need to >>>> download 1GB XCode tools just to build simple couple megs apache >>>> module... >>>> >>>> any clue out there folks? is there any autoconf magician here >>>> that can build a lighttp install with relative paths instead of >>>> absolute ones (I tried and it didn't like). >>>> >>>> Can we use otool to rewrite the linkers absolute path using a >>>> relative one like we do for frameworks (using @executable_path). >>>> >>>> Argh, I am looking for help. >>>> >>>> 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 >>>> >>> >>> -- >>> 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 >>> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 > > > -- Pierre Sahores www.sahores-conseil.com From revolution at derbrill.de Sat Aug 26 13:48:34 2006 From: revolution at derbrill.de (Malte Brill) Date: Sat, 26 Aug 2006 19:48:34 +0200 Subject: u3: where to store data? Message-ID: <44F08972.4060706@derbrill.de> Hi all, I thought I?ll give the u3 thingy a shot today, so I got me a small u3 drive. Now I wonder: Where should my app store its data? Where would preferences usually go? I already looked at the globals and checked the paths in there. I recall vaguely that I have seen a post on this a while back, but a search comes up with zilch. Any hints welcome. All the best, Malte From fmidd1 at mac.com Sat Aug 26 14:09:00 2006 From: fmidd1 at mac.com (Fred Middlebrooks) Date: Sat, 26 Aug 2006 13:09:00 -0500 Subject: u3: where to store data? In-Reply-To: <44F08972.4060706@derbrill.de> References: <44F08972.4060706@derbrill.de> Message-ID: <12033242.1156615740561.JavaMail.fmidd1@mac.com> On Saturday, August 26, 2006, at 12:48PM, Malte Brill <revolution at derbrill.de> wrote: >Hi all, > >I thought I?ll give the u3 thingy a shot today, so I got me a small u3 >drive. Now I wonder: Where should my app store its data? Where would >preferences usually go? I already looked at the globals and checked the >paths in there. I recall vaguely that I have seen a post on this a while >back, but a search comes up with zilch. Any hints welcome. > >All the best, > >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 howard.bornstein at gmail.com Sat Aug 26 14:38:20 2006 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Sat, 26 Aug 2006 14:38:20 -0400 Subject: Play One Movie On Top of Another? In-Reply-To: <200608252147.k7PLlqqW022604@ms-smtp-03.rdc-nyc.rr.com> References: <200608252147.k7PLlqqW022604@ms-smtp-03.rdc-nyc.rr.com> Message-ID: <3f07cc260608261138l7572781dj82b83c338e958691@mail.gmail.com> Sorry, I couldn't get this to download from RevOnline. :-( -- Regards, Howard Bornstein ----------------------- www.designeq.com On 8/25/06, Sivakatirswami <katir at hindu.org> wrote: > > A sample is up on Rev Online: > > Go to "Education" or user space "Sivakatirswami" and check out "Two > Movies" > > This stack loads two.SMIL files into two player objects , from our > server in San Francisco, which then stream two movies, one underneath > and the other on top. > > I would be really interested in testers. > It's working on OSX. Does it work on Windows? > > Sivakatirswami From dsc at swcp.com Sat Aug 26 16:59:19 2006 From: dsc at swcp.com (Dar Scott) Date: Sat, 26 Aug 2006 14:59:19 -0600 Subject: [partly OT?] Amazon S3, EC2, cyborgs Message-ID: <788AB2FD-3029-4E6A-8BB8-9550282A1028@swcp.com> I don't have an application (yet), but I'm curious if anybody has run a standalone or command-line Rev script on an Amazon EC2 virtual machine. The Amazon [so-called] Web Services just dazzle me. Storage, queues, virtual servers, cyborgs... All accessible and with upfront simple pricing. Dar Scott From jbv.silences at club-internet.fr Sat Aug 26 17:17:34 2006 From: jbv.silences at club-internet.fr (jbv) Date: Sat, 26 Aug 2006 23:17:34 +0200 Subject: finding repeating patterns Message-ID: <44F0BA5F.1935BD10@club-internet.fr> Hi list, Does anyone have (or know of) an algorithm to find repeating patterns of characters in a string ? I'm not sure Transcript (er... Revolution) is fast enough for that kind of task, but anyway I thought it was worth asking... Thanks, JB From jbv.silences at club-internet.fr Sat Aug 26 17:22:53 2006 From: jbv.silences at club-internet.fr (jbv) Date: Sat, 26 Aug 2006 23:22:53 +0200 Subject: finding repeating patterns References: <44F0BA5F.1935BD10@club-internet.fr> Message-ID: <44F0BB9F.C363E804@club-internet.fr> well, I just realized that my question isn't very clear... I DON'T WANT to find how many times pattern "ta" appears in string "tatata" (for instance)... What I want to find is : is there any repeating pattern of chars in any string, which are they and (that's easy) how many times each pattern appears in the string... > Hi list, > > Does anyone have (or know of) an algorithm to find repeating > patterns of characters in a string ? > I'm not sure Transcript (er... Revolution) is fast enough for > that kind of task, but anyway I thought it was worth asking... > From dsc at swcp.com Sat Aug 26 17:36:39 2006 From: dsc at swcp.com (Dar Scott) Date: Sat, 26 Aug 2006 15:36:39 -0600 Subject: finding repeating patterns In-Reply-To: <44F0BA5F.1935BD10@club-internet.fr> References: <44F0BA5F.1935BD10@club-internet.fr> Message-ID: <62CEB548-5687-4686-AF67-88E1A787C496@swcp.com> On Aug 26, 2006, at 3:17 PM, jbv wrote: > Does anyone have (or know of) an algorithm to find repeating > patterns of characters in a string ? This brute-force method came to my mind. Decide on a min and max length of patterns. Try all possible substrings. (Outer loop is start position, inner loop is end char based on min & max length. With each one check in an array. If not there put 1 otherwise increment. Look for counts greater than 1. If the repeating pattern must come right after the starting pattern, then this does not apply. In that case, just look for the repeats of the substring after the trial string. The problem is that "xaxaxaxa" would be counted as a repeating of "xa" and a repeating of "xaxa". Dar Scott From jbv.silences at club-internet.fr Sat Aug 26 18:07:27 2006 From: jbv.silences at club-internet.fr (jbv) Date: Sun, 27 Aug 2006 00:07:27 +0200 Subject: finding repeating patterns References: <44F0BA5F.1935BD10@club-internet.fr> <62CEB548-5687-4686-AF67-88E1A787C496@swcp.com> Message-ID: <44F0C60F.A254E619@club-internet.fr> Dar, I came up to something similar... Here's a (very raw and quite slow) first approach (it checks only groups of 6 to 20 chars) : on mouseUp set cursor to watch lock screen put fld 1 into myST put "" into myL set the casesensitive to true repeat with k=1 to 1000 repeat with i=20 down to 6 put k+i-1 into b get char k to b of myST put myST into a replace it with "" in a put ((number of chars of myST - number of chars of a) / b) into c if c>=2 then put it & tab & c & cr after myL exit repeat end if end repeat end repeat put myL end mouseUp > On Aug 26, 2006, at 3:17 PM, jbv wrote: > > > Does anyone have (or know of) an algorithm to find repeating > > patterns of characters in a string ? > > This brute-force method came to my mind. Decide on a min and max > length of patterns. Try all possible substrings. (Outer loop is > start position, inner loop is end char based on min & max length. > With each one check in an array. If not there put 1 otherwise > increment. Look for counts greater than 1. > > If the repeating pattern must come right after the starting pattern, > then this does not apply. In that case, just look for the repeats of > the substring after the trial string. The problem is that "xaxaxaxa" > would be counted as a repeating of "xa" and a repeating of "xaxa". > > Dar Scott From jbv.silences at club-internet.fr Sat Aug 26 18:23:48 2006 From: jbv.silences at club-internet.fr (jbv) Date: Sun, 27 Aug 2006 00:23:48 +0200 Subject: finding repeating patterns References: <44F0BA5F.1935BD10@club-internet.fr> <62CEB548-5687-4686-AF67-88E1A787C496@swcp.com> <44F0C60F.A254E619@club-internet.fr> Message-ID: <44F0C9E3.44B131F3@club-internet.fr> for those interested, here's something much faster : on mouseUp set cursor to watch lock screen put fld 1 into myST put number of chars of myST into n put "" into myL set the casesensitive to true put 1 into k repeat while k<=1000 repeat with i=100 down to 6 put k+i-1 into b get char k to b of myST put myST into a replace it with "" in a put ((n - number of chars of a) / b) into c if c>=2 then put it & tab & c & cr after myL add b-1 to k exit repeat end if end repeat add 1 to k end repeat put myL end mouseUp From katir at hindu.org Sat Aug 26 06:14:53 2006 From: katir at hindu.org (Sivakatirswami) Date: Sat, 26 Aug 2006 00:14:53 -1000 Subject: Sending ArrowKey("down") Message-ID: <44F01F1D.9070200@hindu.org> I have an arrowkey handler in a list field. when the user arrows down, stuff happens... I would like to be able to pass that arrow key down from a field but i can't get it to work: the idea is: someone is typing in this field and when they are done, they hit tab and the arrowkey msg is sent to the list field. on tabkey send arrowkey("down") to fld "fileList" end tabkey doesn't work on tabkey send arrowkey(down) to fld "fileList" end tabkey also doesn't work. The field is not in a group, there is no group on the card and thus the field does not have tabbed behavior explicitely set, but still if I tab from the field it goes to the next field on the card. But the tabkey msg is sent, because I do get an error message say "error in function: arrowkey("down") The docs say: " Note: Sending an arrowKey message does nothing unless there is an arrowKey handler in the message path. This is a difference from HyperTalk's handling of the arrowKey message." So, it appears like it should work, but there's no example in the docs on just exactly how to send an arrowKey message, which one assumes must require a parameter to indicate which of the four arrow keys one is emulating. I'm missing some thing simple TIA Sivakatirswami From saxtell at megavision.com Sat Aug 26 21:16:52 2006 From: saxtell at megavision.com (Steven Axtell) Date: Sat, 26 Aug 2006 20:16:52 -0500 Subject: Loading Application into Memory Message-ID: <004401c6c976$7ea2a4f0$65cef9d0@axtell> I am writing a textbook-like application that consists of text and JPEG figures. The total size of the application is about 500 KB. When I launch the application, the first card comes up fast. When I select a button to bring up a second card, there is a fair amount of delay (about 2 seconds on a Windows Pentium III, 1 GHz, 512 MB machine) before the second card comes up. It's as though the application is loading into memory at that time. After that, all of the cards come up fast. What can I do to get the application to load into memory at launch? Also, what would I need to do to show a card briefly while the application is loading into memory? Thanks, Steve Axtell From kray at sonsothunder.com Sat Aug 26 21:28:36 2006 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 26 Aug 2006 20:28:36 -0500 Subject: Sending ArrowKey("down") In-Reply-To: <44F01F1D.9070200@hindu.org> Message-ID: <C1165F74.430B1%kray@sonsothunder.com> On 8/26/06 5:14 AM, "Sivakatirswami" <katir at hindu.org> wrote: > But the tabkey msg is sent, because I do get an error message say > "error in function: arrowkey("down") > > The docs say: > > " Note: Sending an arrowKey message does nothing unless there is an > arrowKey handler in the message path. This is a difference from > HyperTalk's handling of the arrowKey message." > > So, it appears like it should work, but there's no example in the docs > on just exactly how to send an arrowKey message, which one assumes must > require a parameter to indicate which of the four arrow keys one is > emulating. Try: send "arrowKey" && quote & "down" & quote to fld "fileList" But personally if there is a better way, like to activate the same handler that is activated when "arrowkey down" is triggered, that would be best, IMHO... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From sarah.reichelt at gmail.com Sun Aug 27 04:02:08 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 27 Aug 2006 18:02:08 +1000 Subject: Loading Application into Memory In-Reply-To: <004401c6c976$7ea2a4f0$65cef9d0@axtell> References: <004401c6c976$7ea2a4f0$65cef9d0@axtell> Message-ID: <f99b52860608270102o3a8a5565xd2c4a29be45e7a61@mail.gmail.com> On 8/27/06, Steven Axtell <saxtell at megavision.com> wrote: > I am writing a textbook-like application that consists of text and JPEG figures. The total size of the application is about 500 KB. When I launch the application, the first card comes up fast. When I select a button to bring up a second card, there is a fair amount of delay (about 2 seconds on a Windows Pentium III, 1 GHz, 512 MB machine) before the second card comes up. It's as though the application is loading into memory at that time. After that, all of the cards come up fast. What can I do to get the application to load into memory at launch? Also, what would I need to do to show a card briefly while the application is loading into memory? The mail application file will load into memory before showing the first card. If you have a very big app, the way around this is to have separate stack files for you sub-stacks, so that they load as needed and not all at once. Your problem sounds like something is happening when you go to the second card. Does the first card have a "closeCard" handler? Does the second card have a "preOpenCard" or "openCard" handler? To test, try locking messages and then going to the second card. If that is fast, then you have something happening - perhaps loading an image file. You may be able to delay it until after the second card is displayed. Cheers, Sarah From jrvalent at wisc.edu Sun Aug 27 12:46:33 2006 From: jrvalent at wisc.edu (rand valentine) Date: Sun, 27 Aug 2006 11:46:33 -0500 Subject: revolution player vs. stackrunner & launching documents Message-ID: <C1173699.5A87%jrvalent@wisc.edu> Hi, dear Revolution cognoscenti, I need your help with some development I'm doing. I'm an instructor, and have been using Revolution Studio (2.7.2) on a Mac with the latest OS to develop some language learning materials that I will distribute to students. The students will be using both windows and macs. In the past, I've been very successful in using StackRunner to distribute things, and it's worked better than the Revolution Player in the past -- meaning that more people were able to run my stacks with StackRunner than the Rev Player, perhaps because SR is "cleaner," as it says on the Sons of Thunder webpage. Some people seem to have _ancient_ Windows computers that choke on nearly everything. But now I've run into a small problem -- StackRunner doesn't seem to be able to implement the "launch document" command (I assume some library isn't available), and I want to use that to provide students with access to millions of pdfs. I notice that the Player _does_ allow use of "launch document." So here's my question: 1. What's the status of the Rev Player -- is it robust, and is it likely the bulk of your typical student community of Windows users will be able to use it to play my stacks (the only real demand is that they use lots of sound, but I've no problem with sounds testing with StackRunner on Windows? 2. Is there some other way to launch documents that _is_ likely implemented in StackRunner? Thanks so much for any comments. rand valentine From rcozens at pon.net Sun Aug 27 13:00:24 2006 From: rcozens at pon.net (Rob Cozens) Date: Sun, 27 Aug 2006 10:00:24 -0700 Subject: finding repeating patterns In-Reply-To: <44F0BA5F.1935BD10@club-internet.fr> References: <44F0BA5F.1935BD10@club-internet.fr> Message-ID: <a05210600c1175fc56570@[66.81.75.207]> All, >Does anyone have (or know of) an algorithm to find repeating >patterns of characters in a string ? This started out as a mental exercise for moi, and the mouseUp logic is untested: on mouseUp put field 1 into sourceString put empty into patternList put 6 into minPatternLength -- or whatever put length(sourceString) div 2 into maxPatternLength -- pattern can't be longer than half the length if maxPatternLength < minPatternLength then exit mouseUp repeat with patternLength = maxPatternLength down to minPatternLength put ((length(sourceString) mod patternLength)-1)*patternLength into maxStartPosition -- pattern can't start within patterenLength-1 chars from end put patternLength - 1 into endAdjustment repeat with startingPoint = 1 to maxStartPosition set cursor to busy put startingPoint+endAdjustment into patternEnd put char startingPoint to patternEnd of sourceString into targetPattern if targetPattern is among the words of patternList then next repeat -- may need stronger checking? get the number of lines of offsets(targetPattern,char (patternEnd+1) to -1 of sourceString) if it > 0 then put targetPattern&&it&return after patternList end repeat end repeat put patternList end mouseUp OTOH, working on it led me to the following offsets function, which has been tested. function offsets targetString, sourceString put empty into offsetsList put 0 into offsetAdjustment put length(targetString)-1 into targetLengthAdjustment repeat get offset(targetString,sourceString) if it = 0 then return offsetsList put (it+offsetAdjustment) &return after offsetsList put it+targetLengthAdjustment into deleteCutoff delete char 1 to deleteCutoff of sourceString add deleteCutoff to offsetAdjustment end repeat end offsets Example: offsets("at","The cat in the hat smelled a rat where he sat.") returns 6 17 31 44 Note that the same logic can be applied to create lineOffsets, itemOffsets, and wordOffsets functions. Enjoy! -- 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 mark at maseurope.net Sun Aug 27 13:33:05 2006 From: mark at maseurope.net (Mark Smith) Date: Sun, 27 Aug 2006 18:33:05 +0100 Subject: finding repeating patterns In-Reply-To: <44F0C9E3.44B131F3@club-internet.fr> References: <44F0BA5F.1935BD10@club-internet.fr> <62CEB548-5687-4686-AF67-88E1A787C496@swcp.com> <44F0C60F.A254E619@club-internet.fr> <44F0C9E3.44B131F3@club-internet.fr> Message-ID: <9090F7DC-4970-44B0-BE13-FDADBBE9B285@maseurope.net> Here's my version: function getRepeatingPatterns tString,minLength,maxLength set the caseSensitive to true repeat with n = minLength to maxLength put empty into testString put 0 into charCount repeat for each char c in tString put c after testString get length(testString) if it < n then next repeat if it > n then delete char 1 of testString if space is in testString then next repeat -- optional if cr is in testString then next repeat -- optional add 1 to countArray[testString] end repeat end repeat repeat for each line L in the keys of countArray if countArray[L] > 1 then put L && countArray[L] & cr after countList end repeat delete char -1 of countList sort lines of countList return countList end getRepeatingPatterns On 26 Aug 2006, at 23:23, jbv wrote: > for those interested, here's something much faster : > > on mouseUp > set cursor to watch > lock screen > put fld 1 into myST > put number of chars of myST into n > put "" into myL > set the casesensitive to true > put 1 into k > repeat while k<=1000 > repeat with i=100 down to 6 > put k+i-1 into b > get char k to b of myST > put myST into a > replace it with "" in a > put ((n - number of chars of a) / b) into c > if c>=2 then > put it & tab & c & cr after myL > add b-1 to k > exit repeat > end if > end repeat > add 1 to k > end repeat > put myL > 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 kray at sonsothunder.com Sun Aug 27 15:47:18 2006 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 27 Aug 2006 14:47:18 -0500 Subject: revolution player vs. stackrunner & launching documents In-Reply-To: <C1173699.5A87%jrvalent@wisc.edu> Message-ID: <C11760F6.4314F%kray@sonsothunder.com> On 8/27/06 11:46 AM, "rand valentine" <jrvalent at wisc.edu> wrote: > But now I've run into a small problem -- > StackRunner doesn't seem to be able to implement the "launch document" > command (I assume some library isn't available) The problem, Rand, is that the "2.7" version of StackRunner was built with the 2.7.0 engine, and the "launch document" feature didn't arrive until 2.7.1. I'll rebuild a new version with 2.7.3 and upload it to the STS web site. Thanks for the prod in the back... ;-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Sun Aug 27 15:55:25 2006 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 27 Aug 2006 14:55:25 -0500 Subject: revolution player vs. stackrunner & launching documents In-Reply-To: <C11760F6.4314F%kray@sonsothunder.com> Message-ID: <C11762DD.43158%kray@sonsothunder.com> On 8/27/06 2:47 PM, "Ken Ray" <kray at sonsothunder.com> wrote: > The problem, Rand, is that the "2.7" version of StackRunner was built with > the 2.7.0 engine, and the "launch document" feature didn't arrive until > 2.7.1. I'll rebuild a new version with 2.7.3 and upload it to the STS web > site. Uh... It may be a day or so... Rev's no cooperating and the 2.7.3 version of SR doesn't run properly; I'll update you when it's ready... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From fde101 at fjrhome.net Sun Aug 27 17:24:55 2006 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Sun, 27 Aug 2006 17:24:55 -0400 Subject: OT: The passing of Pluto In-Reply-To: <J4KGLZ$5A4EA5FE29C3C0B8C55D5AA0C99F7513@libero.it> References: <J4KGLZ$5A4EA5FE29C3C0B8C55D5AA0C99F7513@libero.it> Message-ID: <0EDC9861-1449-4B62-BF4B-0260CF0EFA6D@fjrhome.net> The only "adds" I see at the bottom of your message are the ones that the Rev mailing list tacks on. Now mine, on the other hand... On Aug 25, 2006, at 2:27 PM, barryb@@libero..it wrote: > While we all seem to be Ot abut place names , heres my bit. > > Yes London has practically always been called that. It was Londinos > when the Romans arrived, they changed it to Lundinium and so on > through the ages. > But my favourite is a townlet near here in Northen Italy which the > Romans knew by the lovely name of Argentia which makes you think of > something silver. > In the 16th century it was changed to Gorgonzola! > As Shakespeare once wrote (I think) "A 'cheese' by any other name > would smell as sweet" > > Oh! the adds at the bottom of my posts are not mine, that comes > from using a free email provider and I didn't know until I saw it > here. > Barry > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From jrosat at mac.com Sun Aug 27 17:48:09 2006 From: jrosat at mac.com (=?ISO-8859-1?Q?J=E9r=F4me_Rosat?=) Date: Sun, 27 Aug 2006 23:48:09 +0200 Subject: [FR] [EN] Answer folder Message-ID: <3FD7755F-248D-43FE-842B-514E50EA45B2@mac.com> Bonjour, J'utilise Revolution Studio 2.7.3 sur un MacBook et avec MacOS 10.4.7 en fran?ais. J'utilise dans le script d'un bouton la fonction "Answer folder". Dans l'environnement de d?veloppement, les boutons de la fen?tre de dialogue sont en fran?ais ("Nouveau dossier", "Annuler","Choisir"). Dans l'application, les boutons sont en anglais. Comment faire pour qu'ils soient en fran?ais ? S'agit-il d'un bug ? Merci pour votre aide. --- 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. From chipp at chipp.com Sun Aug 27 18:25:56 2006 From: chipp at chipp.com (Chipp Walters) Date: Sun, 27 Aug 2006 17:25:56 -0500 Subject: u3: where to store data? In-Reply-To: <12033242.1156615740561.JavaMail.fmidd1@mac.com> References: <44F08972.4060706@derbrill.de> <12033242.1156615740561.JavaMail.fmidd1@mac.com> Message-ID: <7aa52a210608271525k26fc3f00v22366ff4d9b6bd95@mail.gmail.com> Hi Malte, I, too, want to WRITE to a specific folder on U3 drive (not a default documents directory). Let us know if you learn anything. -Chipp From m.schonewille at economy-x-talk.com Sun Aug 27 18:37:04 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 28 Aug 2006 00:37:04 +0200 Subject: [EN] Answer folder In-Reply-To: <3FD7755F-248D-43FE-842B-514E50EA45B2@mac.com> References: <3FD7755F-248D-43FE-842B-514E50EA45B2@mac.com> Message-ID: <E4BD66C6-3829-4CD2-A1C2-AF499555AAD1@economy-x-talk.com> 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. From sarah.reichelt at gmail.com Sun Aug 27 18:45:05 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 28 Aug 2006 08:45:05 +1000 Subject: answer files with filter In-Reply-To: <f99b52860608242333g30d7610ar7971d87d0261a841@mail.gmail.com> References: <f99b52860608242333g30d7610ar7971d87d0261a841@mail.gmail.com> Message-ID: <f99b52860608271545s6fbb076cp40b10aac3908b4e9@mail.gmail.com> On 8/25/06, Sarah Reichelt <sarah.reichelt at gmail.com> wrote: > Hi all, > > The "answer file" command usually gets me thoroughly confused, but > this time, I'm not sure it is able to do what I want. > > I want to allow the user to select a text file, but it has to be a > text file with a name like "Slot45.txt". The number will vary, but it > has to start with "Slot" and have the ".txt". > > Is this possible? I can get it to limit to text files, but is it > possible to limit the available files to only text files which start > with "Slot"? Thanks for the replies, Sean & Rob. I need to keep the files as text files so they can be imported into a spreadsheet later, so a custom file type is not an option. I guess I'll build my own file selector. In the meantime I've gone the lazy way and allowed selection of any text file, with a file name check after selection to catch any non-matching files. Since it's only for in-house use (& mainly by me), this will be OK for now. Thanks, Sarah From katir at hindu.org Sun Aug 27 20:43:18 2006 From: katir at hindu.org (Sivakatirswami) Date: Sun, 27 Aug 2006 14:43:18 -1000 Subject: Sending ArrowKey("down") In-Reply-To: <C1165F74.430B1%kray@sonsothunder.com> References: <C1165F74.430B1%kray@sonsothunder.com> Message-ID: <44F23C26.5090403@hindu.org> yep, that's exactly what I ended up doing... much more solid approach, slightly more verbose, But sometimes verbose is good: you can see what's happening setting the hilitedline of a fld makes more sense than than trying to emulate a system keyboard input event. got this now in that same fld. on tabkey if the shiftkey is down then saveCaption set the hilitedline of fld "fileList" to (gLastLine-1) send postimage to fld "fileList" else saveCaption set the hilitedline of fld "fileList" to (gLastLine+1) send postimage to fld "fileList" end if end tabkey Ken Ray wrote: > > > Try: > > send "arrowKey" && quote & "down" & quote to fld "fileList" > > But personally if there is a better way, like to activate the same handler > that is activated when "arrowkey down" is triggered, that would be best, > IMHO... > > Ken Ray > > From katir at hindu.org Sun Aug 27 20:50:54 2006 From: katir at hindu.org (Sivakatirswami) Date: Sun, 27 Aug 2006 14:50:54 -1000 Subject: Play One Movie On Top of Another? In-Reply-To: <3f07cc260608261138l7572781dj82b83c338e958691@mail.gmail.com> References: <200608252147.k7PLlqqW022604@ms-smtp-03.rdc-nyc.rr.com> <3f07cc260608261138l7572781dj82b83c338e958691@mail.gmail.com> Message-ID: <44F23DEE.4040000@hindu.org> I sent you copy off list. Howard Bornstein wrote: > Sorry, I couldn't get this to download from RevOnline. :-( > From kray at sonsothunder.com Sun Aug 27 21:20:18 2006 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 27 Aug 2006 20:20:18 -0500 Subject: ANN: StackRunner 1.5 Now Available In-Reply-To: <C11762DD.43158%kray@sonsothunder.com> Message-ID: <C117AF02.4319A%kray@sonsothunder.com> Just a quick note to let you all know that StackRunner has been updated to version 1.5 using the Rev 2.7.2 engine (Rev 2.7.3 could not be used because there is a significant bug in AppleEvents that prevents SR from operating). There are now Universal Binary, PowerPC and Intel Only builds in addition to the Windows build. Those needing OS 9 or Linux builds can still download StackRunner 1.3. You can download it here: http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htm A final reminder: StackRunner is to be used with Revolution Studio or Enterprise in order to simplify deployment of stacks. If you are using Revolution Media or Dreamcard, you need to use the Revolution Player (in fact, StackRunner cannot open stacks created in Revolution Media at all). Thanks! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Sun Aug 27 23:32:27 2006 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 27 Aug 2006 22:32:27 -0500 Subject: [ANN] STS XML Library Version 2.0.3 Now Available Message-ID: <C117CDFB.431B9%kray@sonsothunder.com> Version 2.0.3 of the STS XML Library is now available, and fixes a few bugs that were found in the previous version. For more information on what was fixed, please visit: http://www.sonsothunder.com/products/xmllib/xmllib_versionhistory.htm And if you don't know about the STS XML Library, you can take a look at what it does and how it compares with Revolution's XML DLL here: http://www.sonsothunder.com/products/xmllib/xmllib.htm Regards, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From jrosat at mac.com Mon Aug 28 03:21:06 2006 From: jrosat at mac.com (=?ISO-8859-1?Q?"J=E9r=F4me_Rosat"?=) Date: Mon, 28 Aug 2006 09:21:06 +0200 Subject: [EN] Answer folder In-Reply-To: <E4BD66C6-3829-4CD2-A1C2-AF499555AAD1@economy-x-talk.com> References: <3FD7755F-248D-43FE-842B-514E50EA45B2@mac.com> <E4BD66C6-3829-4CD2-A1C2-AF499555AAD1@economy-x-talk.com> Message-ID: <7261180.1156749666056.JavaMail.jrosat@mac.com> 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 <m.schonewille at economy-x-talk.com> 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 > > From mb.ur at harbourhosting.co.uk Mon Aug 28 04:22:35 2006 From: mb.ur at harbourhosting.co.uk (Martin Baxter) Date: Mon, 28 Aug 2006 09:22:35 +0100 Subject: answer files with filter In-Reply-To: <f99b52860608271545s6fbb076cp40b10aac3908b4e9@mail.gmail.com> References: <f99b52860608242333g30d7610ar7971d87d0261a841@mail.gmail.com> <f99b52860608271545s6fbb076cp40b10aac3908b4e9@mail.gmail.com> Message-ID: <44F2A7CB.6050601@harbourhosting.co.uk> Sarah Reichelt wrote: > On 8/25/06, Sarah Reichelt <sarah.reichelt at gmail.com> wrote: >> Hi all, >> >> The "answer file" command usually gets me thoroughly confused, but >> this time, I'm not sure it is able to do what I want. >> >> I want to allow the user to select a text file, but it has to be a >> text file with a name like "Slot45.txt". The number will vary, but it >> has to start with "Slot" and have the ".txt". >> >> Is this possible? I can get it to limit to text files, but is it >> possible to limit the available files to only text files which start >> with "Slot"? > > Thanks for the replies, Sean & Rob. I need to keep the files as text > files so they can be imported into a spreadsheet later, so a custom > file type is not an option. > > I guess I'll build my own file selector. In the meantime I've gone the > lazy way and allowed selection of any text file, with a file name > check after selection to catch any non-matching files. Since it's only > for in-house use (& mainly by me), this will be OK for now. > > Thanks, > Sarah Just a thought, If your files are tab/return delimited, it might be useful to give them a .tsv suffix. This is a more correct suffix for such files than .txt anyway. Since almost nobody actually does this, it would amount, in practice, to a custom file type suffix. In my experience, Microsoft spreadsheets understand this type. OpenOffice however does not, it opens them in Write (doh). So you should test with your preferred spreadsheet. Martin Baxter From sarah.reichelt at gmail.com Mon Aug 28 04:47:53 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 28 Aug 2006 18:47:53 +1000 Subject: answer files with filter In-Reply-To: <44F2A7CB.6050601@harbourhosting.co.uk> References: <f99b52860608242333g30d7610ar7971d87d0261a841@mail.gmail.com> <f99b52860608271545s6fbb076cp40b10aac3908b4e9@mail.gmail.com> <44F2A7CB.6050601@harbourhosting.co.uk> Message-ID: <f99b52860608280147n5238019q14ace16dc1af4414@mail.gmail.com> On 8/28/06, Martin Baxter <mb.ur at harbourhosting.co.uk> wrote: > Sarah Reichelt wrote: > > On 8/25/06, Sarah Reichelt <sarah.reichelt at gmail.com> wrote: > >> Hi all, > >> > >> The "answer file" command usually gets me thoroughly confused, but > >> this time, I'm not sure it is able to do what I want. > >> > >> I want to allow the user to select a text file, but it has to be a > >> text file with a name like "Slot45.txt". The number will vary, but it > >> has to start with "Slot" and have the ".txt". > >> > >> Is this possible? I can get it to limit to text files, but is it > >> possible to limit the available files to only text files which start > >> with "Slot"? > > > > Thanks for the replies, Sean & Rob. I need to keep the files as text > > files so they can be imported into a spreadsheet later, so a custom > > file type is not an option. > > > > I guess I'll build my own file selector. In the meantime I've gone the > > lazy way and allowed selection of any text file, with a file name > > check after selection to catch any non-matching files. Since it's only > > for in-house use (& mainly by me), this will be OK for now. > > > > Thanks, > > Sarah > > Just a thought, > > If your files are tab/return delimited, it might be useful to give them > a .tsv suffix. This is a more correct suffix for such files than .txt > anyway. Since almost nobody actually does this, it would amount, in > practice, to a custom file type suffix. In my experience, Microsoft > spreadsheets understand this type. OpenOffice however does not, it opens > them in Write (doh). So you should test with your preferred spreadsheet. Thanks for the idea Martin, I'll try that and see how it works. Sarah From wjm at wjm.org Mon Aug 28 06:13:46 2006 From: wjm at wjm.org (Bill Marriott) Date: Mon, 28 Aug 2006 06:13:46 -0400 Subject: Smooth & Fast Stack Resize? Message-ID: <ecufkq$as9$1@sea.gmane.org> When I show the default decorations for a stack and resize it with the standard Windows controls, the window adjusts very quickly and smoothly. What I would like to do is to show no decorations and use my own custom controls for resizing the stack window. Unfortunately, the methods I've tried so far result in a very slow, herky-jerky resize of the stack window. Does anyone have a magic handler (that could be attached, for example, to a small rectangle graphic) that resizes the stack window as smoothly (or closely as possible) as the "OS native" resizing method works? From jc at spl21.net Mon Aug 28 08:53:24 2006 From: jc at spl21.net (John Craig) Date: Mon, 28 Aug 2006 13:53:24 +0100 Subject: answer files with filter In-Reply-To: <f99b52860608280147n5238019q14ace16dc1af4414@mail.gmail.com> References: <f99b52860608242333g30d7610ar7971d87d0261a841@mail.gmail.com> <f99b52860608271545s6fbb076cp40b10aac3908b4e9@mail.gmail.com> <44F2A7CB.6050601@harbourhosting.co.uk> <f99b52860608280147n5238019q14ace16dc1af4414@mail.gmail.com> Message-ID: <44F2E744.4000101@spl21.net> Sarah Reichelt wrote: > On 8/28/06, Martin Baxter <mb.ur at harbourhosting.co.uk> wrote: >> Sarah Reichelt wrote: >> > On 8/25/06, Sarah Reichelt <sarah.reichelt at gmail.com> wrote: >> >> Hi all, >> >> >> >> The "answer file" command usually gets me thoroughly confused, but >> >> this time, I'm not sure it is able to do what I want. >> >> >> >> I want to allow the user to select a text file, but it has to be a >> >> text file with a name like "Slot45.txt". The number will vary, but it >> >> has to start with "Slot" and have the ".txt". >> >> >> >> Is this possible? I can get it to limit to text files, but is it >> >> possible to limit the available files to only text files which start >> >> with "Slot"? > The following works for me on Rev 2.7.2 on Windows answer file "choose a file" with filter "Slots,slot*.txt" - just shows .txt files beginning with 'slot' (case insensitive) However, the same code using Rev 2.6.1 on Linux does not work - even using with filter "JPG,*.jpg" The whole filter string is inserted into the file selection dialog, matching nothing. I don't have a mac - donations welcome! From pmbrig at comcast.net Mon Aug 28 10:05:16 2006 From: pmbrig at comcast.net (Peter Brigham) Date: Mon, 28 Aug 2006 10:05:16 -0400 Subject: finding repeating patterns Message-ID: <B3203CCF-D2AE-4B48-9971-240FAC75D63C@comcast.net> On Sun, 27 Aug 2006 10:00:24 -0700 Rob Cozens <rcozens at hidden> wrote: **** This started out as a mental exercise for moi, and the mouseUp logic is untested: ...<snip>... OTOH, working on it led me to the following offsets function, which has been tested. function offsets targetString, sourceString put empty into offsetsList put 0 into offsetAdjustment put length(targetString)-1 into targetLengthAdjustment repeat get offset(targetString,sourceString) if it = 0 then return offsetsList put (it+offsetAdjustment) &return after offsetsList put it+targetLengthAdjustment into deleteCutoff delete char 1 to deleteCutoff of sourceString add deleteCutoff to offsetAdjustment end repeat end offsets Example: offsets("at","The cat in the hat smelled a rat where he sat.") returns 6 17 31 44 Note that the same logic can be applied to create lineOffsets, itemOffsets, and wordOffsets functions. Enjoy! **** Here's my version of the same thing -- I use it constantly. **************** function multOffset str,ctr -- returns a comma-delimited list of all the offsets of str in ctr put "" into mosList put 0 into startPoint repeat put offset(str,ctr,startPoint) into os if os = 0 then exit repeat add os to startPoint put startPoint & "," after mosList end repeat if char -1 of mosList = "," then delete char -1 of mosList return mosList end multOffset function multLineOffset str,ctr -- returns a comma-delimited list of all the lineOffsets of str in ctr put multOffset(str,ctr) into charList if charList = "0" then return "0" put the number of items of charList into nbr put "" into mlo repeat with n = 1 to nbr put the number of lines of (char 1 to (item n of charList) of ctr) & "," after mlo end repeat if char -1 of mlo = "," then delete char -1 of mlo return mlo end multLineOffset **************** -- Peter Peter M. Brigham pmbrig at comcast.net http://home.comcast.net/~pmbrig/ ~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~ My life has a superb cast, but I can't figure out the plot. From ambassador at fourthworld.com Mon Aug 28 14:12:32 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 28 Aug 2006 11:12:32 -0700 Subject: answer files with filter Message-ID: <44F33210.2020002@fourthworld.com> Sarah Reichelt wrote: > The "answer file" command usually gets me thoroughly confused, but > this time, I'm not sure it is able to do what I want. > > I want to allow the user to select a text file, but it has to be a > text file with a name like "Slot45.txt". The number will vary, but it > has to start with "Slot" and have the ".txt". As has been noted here, filtering for prefixes is a lot harder than filtering for suffixes. The former is too prone to user error, while the latter is what the system expects. "Go with the grain", as they say. Mark Waddingham did an *excellent* reworking of the answer file command for v2.6.1, and since then it offer unprecedented flexibility which works on all platforms without branching statements -- from the Dictionary: Syntax answer file[s] prompt [with defaultPath] [with type types \ [or type types ...]] [titled windowTitle] [as sheet] Examples answer file "Select a file to delete:" answer files "Select the files you wish to process:" answer file "Input:" with "/Macintosh HD/" answer file (field "Prompt") with type "Revolution Stacks|rev|RSTK" -- shows stacks answer files "Select the images you wish to view:" with \ type "JPEG Images|jpg|JPEG" \ or type "GIF Images|gif|GIFf" \ or type "All Images|jpg,gif|JPEG,GIFf" So in your case you could support a suffix like "tsv" and ALSO support "txt" and all: answer files "Select a file:" with type "Tab-Separated|tsv|TEXT" \ or type "Text Files|txt|TEXT" \ or type "All Files" This will present the user on any supported platform with a standard GetFile dialog with an option control at the top which lets them choose between filtering for Tab-Separated, Text Files, or All Files, with the first one ("Tab Separated") as the default. I LOVE this new "answer file with type" option, and have been replacing all of my older "answer file" calls with this new form to allow smooth support on both Mac and Win without having to check the platform and using "...with filter..." or "...of type..." for each one separately. Thank you Mark! -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From bfr at nwlink.com Mon Aug 28 14:14:35 2006 From: bfr at nwlink.com (Bruce Robertson) Date: Mon, 28 Aug 2006 11:14:35 -0700 Subject: XML and Revolutin In-Reply-To: <0B553078-1CEA-49B0-A553-FAD2036A9F89@major-k.de> Message-ID: <C118809B.5B799%bfr@nwlink.com> > Hi Rob, >> Dear All, >> >> I'm writing a small program that will read a text file and generate a >> corresponding SVG graphic. Ideally, the input text file would be >> readily parsed, and I'm wondering about using XML style construction. >> >> I'd appreciate pointers to any resources that would help me use XML. >> Is there, for example a tool that would strip an XML file to a list of >> variables and values? > > please check Sarah's great XML tutorial, that will definitiely get > you started. > > It was (and still is) for me a very valuable resource for dealing > with Rev XML :-) > > Get it here > http://www.troz.net/Rev/tutorials.php Oops, the XMLDemo1.rev download links doesn't work. From mwieder at ahsoftware.net Mon Aug 28 14:16:36 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 28 Aug 2006 11:16:36 -0700 Subject: Skin conductance measurement In-Reply-To: <915b28a68165722b764e1a783e329159@dvglasgow.wanadoo.co.uk> References: <20060820170005.0A396825D38@mail.runrev.com> <915b28a68165722b764e1a783e329159@dvglasgow.wanadoo.co.uk> Message-ID: <725917969.20060828111636@ahsoftware.net> David- Thursday, August 24, 2006, 5:46:57 AM, you wrote: > I have been wanting to add a skin conductance measure to an old rev > application for a a long while. I wanted something portable and cross > platform, and nothing really seemed to fit the bill. I then came > across the Handwave Bluetooth instrument from MIT. It is described > here: > http://tinyurl.com/s9l8h > and here > http://tinyurl.com/zg3vf Well, neither of those links is very useful. The first one links to a page that says "You have attempted to access full membership-level ZDNet UK content!", and the second one just times out. Communications between Python and rev apps is fairly easy to work out if that's where you're heading. If you're trying to duplicate the work of the MIT Media Lab, I would think the harder part of the job would be designing and constructing the collector. From the MIT document: "The core of the HandWave consists of two sandwiched printed circuit boards, one containing amplification circuitry, and one containing the Bluetooth module. The amplifier board provides the power connections and the terminal for the pair of electrodes. The device resides within an injection molded polypropylene housing, which includes an external power switch and electrode connection port." Then you'll have to learn how to program the PIC microcontroller to access the EDA device data and communicate with the main app. You could probably get by without the Bluetooth if you could deal with the limited portability, as that's what would eat up most of the battery power, but portability seems one of the primary advantages of this project. All in all, I think this isn't something I'd want to tackle without having something like the resources of an MIT behind me - note that this project was a Mechanical Engineering thesis. -- -Mark Wieder mwieder at ahsoftware.net From Thomas at vonfintel.org Mon Aug 28 14:20:57 2006 From: Thomas at vonfintel.org (Thomas von Fintel) Date: Mon, 28 Aug 2006 20:20:57 +0200 Subject: XML and Revolutin In-Reply-To: <C118809B.5B799%bfr@nwlink.com> References: <C118809B.5B799%bfr@nwlink.com> Message-ID: <334a721bceced4419843dc70eac7f4ed@vonfintel.org> Am 28.08.2006 um 20:14 schrieb Bruce Robertson: >> Get it here >> http://www.troz.net/Rev/tutorials.php > > Oops, the XMLDemo1.rev download links doesn't work. I had no problems downloading the stack. Thomas From stephenREVOLUTION at barncard.com Mon Aug 28 14:54:43 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 28 Aug 2006 11:54:43 -0700 Subject: Skin conductance measurement In-Reply-To: <725917969.20060828111636@ahsoftware.net> References: <20060820170005.0A396825D38@mail.runrev.com> <915b28a68165722b764e1a783e329159@dvglasgow.wanadoo.co.uk> <725917969.20060828111636@ahsoftware.net> Message-ID: <p06230900c118e6be8990@[192.168.1.40]> Don't forget that a Bluetooth interface will also give the maximum electrical isolation for the subject!!! (that would actually be my FIRST concern!) Optoisolators or transformers must be used (it's probably a law) between a human subject and anything connected to mains-based devices. That would rule out any DC-scaled sensors (most optoisolators are not linear) unless they're wired into a data acquisition module at the patient end. Old systems probably used PWM for output to get through the isolation. Isolation and safety should be foremost in medical equipment design. (Duh) Me? I don't want to write software that can blow up something, hurt someone or get me sued! ( I guess that also means defense contracts?) Good luck with your new project. Multiply your estimate of how much time it will take by 10, unless you can get out-of-the-box products to do what you want. Interfacing with the noisy, drifting, always changing Analog world after being in a nice, save, digital-stepped world can be a bit jarring. I'd love to have a software-hardware Bluetooth breadboard kit, with rev XCMDs for all platforms. [I can dream - or make one!!] sqb > >Then you'll have to learn how to program the PIC microcontroller to >access the EDA device data and communicate with the main app. You >could probably get by without the Bluetooth if you could deal with the >limited portability, as that's what would eat up most of the battery >power, but portability seems one of the primary advantages of this >project. All in all, I think this isn't something I'd want to tackle >without having something like the resources of an MIT behind me - note >that this project was a Mechanical Engineering thesis. > >-- >-Mark Wieder > mwieder at ahsoftware.net -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From mwieder at ahsoftware.net Mon Aug 28 15:38:30 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 28 Aug 2006 12:38:30 -0700 Subject: [partly OT?] Amazon S3, EC2, cyborgs In-Reply-To: <788AB2FD-3029-4E6A-8BB8-9550282A1028@swcp.com> References: <788AB2FD-3029-4E6A-8BB8-9550282A1028@swcp.com> Message-ID: <10110832005.20060828123830@ahsoftware.net> Dar- Saturday, August 26, 2006, 1:59:19 PM, you wrote: > I don't have an application (yet), but I'm curious if anybody has run > a standalone or command-line Rev script on an Amazon EC2 virtual > machine. > The Amazon [so-called] Web Services just dazzle me. Storage, queues, > virtual servers, cyborgs... All accessible and with upfront simple > pricing. Well, the combination of EC2 and S3 is very intriguing. EC2 by itself doesn't offer persistence (the data is gone after the vm quits) so you'd need to move any data you wanted to keep to S3 space. But the pricing is great and it sounds like Amazon is one of the few places around that's really thinking about what Web 3.0 is gonna look like. IIRC the problem with rev and S3 is that the Amazon S3 group has only implemented SHA1 authentication and there's no rev support for that. I tried at one point to convert a javascript implementation but kept coming up with different results, so I back-burnered it. -- -Mark Wieder mwieder at ahsoftware.net From scott at tactilemedia.com Mon Aug 28 15:56:46 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 28 Aug 2006 12:56:46 -0700 Subject: Plugin/Lib Structure Message-ID: <C118988E.10CD1%scott@tactilemedia.com> Hey plugin/lib gurus... I'm looking for feedback regarding the structure of a Rev library -- is it acceptable to arrange multiple library stacks as substacks of a single main library stack? I have several library stacks that I would like to store as substacks in a single master library stack for ease of management/updating. Some of the substacks must be loaded as frontscripts, the rest are to be loaded as backscripts. Am I facing any issues with this orientation? Thanks for any comments. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From bobs at twft.com Mon Aug 28 15:57:50 2006 From: bobs at twft.com (Robert Sneidar) Date: Mon, 28 Aug 2006 12:57:50 -0700 Subject: answer files with filter In-Reply-To: <20060828170006.3C8D482603F@mail.runrev.com> References: <20060828170006.3C8D482603F@mail.runrev.com> Message-ID: <CE464BA0-1D22-4A5F-8243-385DF5195F0E@twft.com> Upon doing some testing for Mac OS X, if you use the "with filter" clause, you MUST use the file type arguement, and no wild cards characters are allowed in the file type. For example: answer file "choose a file" with filter "F+PR,bob*.prg" -- allows selection of all Foxpro Program files beginning with "bob" and ending in ".prg" answer file "choose a file" with filter "*,bob*.prg" -- no dice answer file "choose a file" with filter ",bob*.prg" -- still no dice answer file "choose a file" with filter "bob*.prg" -- nuh uh. nix. nada. You can see that if you don't know the file type, the "with filter" clause is useless to you. Also note, that on OS X you can SEE the files, but cannot select them if they do not match the filter. Also be aware that the file type IS case sensitive. I think since this seems to work differently between Windows and Mac OSes, you will need to include logic to handle different Oes. Bob Sneidar IT Manager Logos Management Calvary Chapel CM > Sarah Reichelt wrote: >> On 8/28/06, Martin Baxter <mb.ur at harbourhosting.co.uk> wrote: >>> Sarah Reichelt wrote: >>>> On 8/25/06, Sarah Reichelt <sarah.reichelt at gmail.com> wrote: >>>>> Hi all, >>>>> >>>>> The "answer file" command usually gets me thoroughly confused, but >>>>> this time, I'm not sure it is able to do what I want. >>>>> >>>>> I want to allow the user to select a text file, but it has to be a >>>>> text file with a name like "Slot45.txt". The number will vary, >>>>> but it >>>>> has to start with "Slot" and have the ".txt". >>>>> >>>>> Is this possible? I can get it to limit to text files, but is it >>>>> possible to limit the available files to only text files which >>>>> start >>>>> with "Slot"? >> > The following works for me on Rev 2.7.2 on Windows > answer file "choose a file" with filter "Slots,slot*.txt" > - just shows .txt files beginning with 'slot' (case insensitive) > > However, the same code using Rev 2.6.1 on Linux does not work - even > using with filter "JPG,*.jpg" > The whole filter string is inserted into the file selection dialog, > matching nothing. > > I don't have a mac - donations welcome! From ambassador at fourthworld.com Mon Aug 28 16:11:37 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 28 Aug 2006 13:11:37 -0700 Subject: Plugin/Lib Structure Message-ID: <44F34DF9.4090700@fourthworld.com> Scott Rossi wrote: > I'm looking for feedback regarding the structure of a Rev library -- is it > acceptable to arrange multiple library stacks as substacks of a single main > library stack? > > I have several library stacks that I would like to store as substacks in a > single master library stack for ease of management/updating. Some of the > substacks must be loaded as frontscripts, the rest are to be loaded as > backscripts. Am I facing any issues with this orientation? Only if you're using these in a standalone, in which the limit of 10 frontscripts and 10 backscripts would come into play. In the IDE there are no such limits, so knock yourself out. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From userev at canelasoftware.com Mon Aug 28 16:11:37 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 28 Aug 2006 13:11:37 -0700 Subject: answer files with filter In-Reply-To: <CE464BA0-1D22-4A5F-8243-385DF5195F0E@twft.com> References: <20060828170006.3C8D482603F@mail.runrev.com> <CE464BA0-1D22-4A5F-8243-385DF5195F0E@twft.com> Message-ID: <659DA839-0379-4854-918D-673CAFFF0F62@canelasoftware.com> On Aug 28, 2006, at 12:57 PM, Robert Sneidar wrote: > Also note, that on OS X you can SEE the files, but cannot select > them if they do not match the filter. Also be aware that the file > type IS case sensitive. This is an OS X behavior for good or worse. Not a Rev thing. Mark Talluto -- CANELA Software http://www.canelasoftware.com From chipp at chipp.com Mon Aug 28 16:27:48 2006 From: chipp at chipp.com (Chipp Walters) Date: Mon, 28 Aug 2006 15:27:48 -0500 Subject: Plugin/Lib Structure In-Reply-To: <44F34DF9.4090700@fourthworld.com> References: <44F34DF9.4090700@fourthworld.com> Message-ID: <7aa52a210608281327s2e1f15d6nc25371a871032b08@mail.gmail.com> I guess it depends on if the library is for yourself, or others. In the past, I've created an autoinstaller which intalled the requisite stacks into a users main stack. Or, of course you can 'start using' your library as it's own. Another option, and one which I think could be a good idea is 'suck-up/spit-out' where you unpack the stacks in memory when the library is initilized. This has the advantage of being able to work as a substack of a mainstack. -C From sarah.reichelt at gmail.com Mon Aug 28 17:22:14 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 29 Aug 2006 07:22:14 +1000 Subject: XML and Revolutin In-Reply-To: <334a721bceced4419843dc70eac7f4ed@vonfintel.org> References: <C118809B.5B799%bfr@nwlink.com> <334a721bceced4419843dc70eac7f4ed@vonfintel.org> Message-ID: <f99b52860608281422s4727a771wa9008d20635faf9a@mail.gmail.com> On 8/29/06, Thomas von Fintel <Thomas at vonfintel.org> wrote: > Am 28.08.2006 um 20:14 schrieb Bruce Robertson: > > >> Get it here > >> http://www.troz.net/Rev/tutorials.php > > > > Oops, the XMLDemo1.rev download links doesn't work. > > I had no problems downloading the stack. I've just changed my web site to a new host, so depending on how fast your local DNS gets updated, my links may not work for a couple of days. I have emailed Bruce the file directly and if anyone else has any download problems, just let me know and I'd be happy to send them the stacks they want. Regards, Sarah From dsc at swcp.com Mon Aug 28 18:00:34 2006 From: dsc at swcp.com (Dar Scott) Date: Mon, 28 Aug 2006 16:00:34 -0600 Subject: Plugin/Lib Structure In-Reply-To: <C118988E.10CD1%scott@tactilemedia.com> References: <C118988E.10CD1%scott@tactilemedia.com> Message-ID: <AE9CA3EF-4F61-4AEA-B8EC-BD5CD6EF883A@swcp.com> On Aug 28, 2006, at 1:56 PM, Scott Rossi wrote: > I have several library stacks that I would like to store as > substacks in a > single master library stack for ease of management/updating. Some > of the > substacks must be loaded as frontscripts, the rest are to be loaded as > backscripts. Am I facing any issues with this orientation? That depends on whether you or others using the master library stack would, at times, want to include that as a substack of another stack, say when building a standalone. I have assumed that that is the case in some of my library stacks and thus avoid having substacks of the library stack. I don't really know how others use library stacks. I have stored compressed library stacks in properties. With some tweaking it is possible to use those without saving to disk. This is especially useful for libraries needed rarely, libraries variations that are selected based on the environment, or libraries that must be loaded after an external is installed or put into a temporary location. If a library is used only as a front script or back script, you might consider putting each into a button or other control on a card in your master stack. This might be simpler. (I have a vague impression that stacks as front scripts are slower than buttons as front scripts, but I have not measured that and have no idea why that would be so.) The current darzTimer plugin has versions of the 'darzTimer Helper Library' stacks in properties. Some versions need an external and that external exists where temporary files go momentarily as the library is set up. Right now the darzTimer plugin is much like your master library stack and the helper much like your other library stacks. In the future, after I get some more feedback on how darzTimer is working out for folks, I'll augment it so users can install a 'darzTimer Library' where they want and use that in projects. It would be like your master library and would use the appropriate version of 'darzTimer Helper Library'. In that version, the darzTimer plugin would be simply a client of the 'darzTimer Library'. That library would have no substacks, which--depending on folks' build habits--might be handy. For example, I could make--in that future version--the 'darzTimer Library' a substack of the plugin. If the substacks are very large, then load time might be a factor. However, I don't know of anything inherently wrong with library substacks. Dar Scott From sarah.reichelt at gmail.com Mon Aug 28 18:10:50 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 29 Aug 2006 08:10:50 +1000 Subject: Plugin/Lib Structure In-Reply-To: <C118988E.10CD1%scott@tactilemedia.com> References: <C118988E.10CD1%scott@tactilemedia.com> Message-ID: <f99b52860608281510y6a547795m8bc0751758548d09@mail.gmail.com> On 8/29/06, Scott Rossi <scott at tactilemedia.com> wrote: > Hey plugin/lib gurus... > > I'm looking for feedback regarding the structure of a Rev library -- is it > acceptable to arrange multiple library stacks as substacks of a single main > library stack? > > I have several library stacks that I would like to store as substacks in a > single master library stack for ease of management/updating. Some of the > substacks must be loaded as frontscripts, the rest are to be loaded as > backscripts. Am I facing any issues with this orientation? > I don't think of myself as a plugin guru, but here's my 2 cents worth :-) If you are using the libraries as front & back scripts, not with "start using", then they could just be a selection of buttons on a single stack. I have an app that uses several stacks that are set as libraries with "start using". Having each of them as separate stack files makes for easy updating, but if they were all part of the same stack file, I would lose that advantage. So my preference would either be to have multiple front/back script buttons on a single stack, or to have multiple separate stack files. Cheers, Sarah From dsc at swcp.com Mon Aug 28 18:27:33 2006 From: dsc at swcp.com (Dar Scott) Date: Mon, 28 Aug 2006 16:27:33 -0600 Subject: [partly OT?] Amazon S3, EC2, cyborgs In-Reply-To: <10110832005.20060828123830@ahsoftware.net> References: <788AB2FD-3029-4E6A-8BB8-9550282A1028@swcp.com> <10110832005.20060828123830@ahsoftware.net> Message-ID: <AB57558C-D3F0-4205-8A43-5F66A67B3C21@swcp.com> On Aug 28, 2006, at 1:38 PM, Mark Wieder wrote: > IIRC the problem with rev and S3 is that the Amazon S3 group has only > implemented SHA1 authentication and there's no rev support for that. I'll put a vote on a SHA feature enhancement. For a little while, at least; I use shell() for now, so it is not crucial for me. I mentioned the hole in the Rev cryptographic capability in my dense & cryptic talk in RevCon05. A workaround might be to use Interachy controlled by appleTalk to do S3. I haven't looked at S3 closely, so I am not familiar with what it needs. We have SOAP now, and I suppose one could throw together a specialized SOAP or REST for S3. I'd like to have something that kept going even when Seattle falls into the sound. Some distribution would be nice. The Internet went down in the NW for a bit, according to a report on the AWS forum, and folks couldn't get their S3 data, even though AWS was up. On the other hand, the license terms "legal" and "as required by law" are vague and do not specify the location of the data or governing body. I'd hate to have my data stored in a data center in Ugabuga (or Transylvania) and find my data given to the chief (or Natasha & Boris). It is no fun to carefully abide by the law (in addition to doing right) and then discover it was the wrong law. The queues look cool, too, and seem to be mature. Dar Scott From shaosean at hotmail.com Mon Aug 28 20:11:06 2006 From: shaosean at hotmail.com (Sean Shao) Date: Mon, 28 Aug 2006 20:11:06 -0400 Subject: Plugin/Lib Structure Message-ID: <BAY105-F15777BBF90F9E972906301C3390@phx.gbl> I know that the limits were good to have back in the old "free version" days of Rev / MetaCard, but since it's been a long time since there's been anything of the sort why are still limited to the amount of stacks that we can load (library, frontscript, backscript, etc) as well as the length of a script that we can assign to a control in a compiled app? _________________________________________________________________ Get the new Windows Live Messenger! http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline From soapdog at mac.com Mon Aug 28 20:46:23 2006 From: soapdog at mac.com (Andre Garzia) Date: Mon, 28 Aug 2006 21:46:23 -0300 Subject: [partly OT?] Amazon S3, EC2, cyborgs In-Reply-To: <AB57558C-D3F0-4205-8A43-5F66A67B3C21@swcp.com> References: <788AB2FD-3029-4E6A-8BB8-9550282A1028@swcp.com> <10110832005.20060828123830@ahsoftware.net> <AB57558C-D3F0-4205-8A43-5F66A67B3C21@swcp.com> Message-ID: <EC0C6136-5136-44A2-B4DA-92D46A4D14A4@mac.com> We use OpenSSL for the crypto-thing routines right? I think OpenSSL has SHA1 support in it so it would be a matter of exposing it just like LibXML2 has support for XSLT but RunRev team has not exposed it to upper levels. Andre On Aug 28, 2006, at 7:27 PM, Dar Scott wrote: > > On Aug 28, 2006, at 1:38 PM, Mark Wieder wrote: > >> IIRC the problem with rev and S3 is that the Amazon S3 group has only >> implemented SHA1 authentication and there's no rev support for that. > > I'll put a vote on a SHA feature enhancement. For a little while, > at least; I use shell() for now, so it is not crucial for me. I > mentioned the hole in the Rev cryptographic capability in my dense > & cryptic talk in RevCon05. > > A workaround might be to use Interachy controlled by appleTalk to > do S3. > > I haven't looked at S3 closely, so I am not familiar with what it > needs. We have SOAP now, and I suppose one could throw together a > specialized SOAP or REST for S3. > > I'd like to have something that kept going even when Seattle falls > into the sound. Some distribution would be nice. The Internet > went down in the NW for a bit, according to a report on the AWS > forum, and folks couldn't get their S3 data, even though AWS was up. > > On the other hand, the license terms "legal" and "as required by > law" are vague and do not specify the location of the data or > governing body. I'd hate to have my data stored in a data center > in Ugabuga (or Transylvania) and find my data given to the chief > (or Natasha & Boris). It is no fun to carefully abide by the law > (in addition to doing right) and then discover it was the wrong law. > > The queues look cool, too, and seem to be mature. > > Dar Scott > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Mon Aug 28 21:53:44 2006 From: dsc at swcp.com (Dar Scott) Date: Mon, 28 Aug 2006 19:53:44 -0600 Subject: [partly OT?] Amazon S3, EC2, cyborgs In-Reply-To: <EC0C6136-5136-44A2-B4DA-92D46A4D14A4@mac.com> References: <788AB2FD-3029-4E6A-8BB8-9550282A1028@swcp.com> <10110832005.20060828123830@ahsoftware.net> <AB57558C-D3F0-4205-8A43-5F66A67B3C21@swcp.com> <EC0C6136-5136-44A2-B4DA-92D46A4D14A4@mac.com> Message-ID: <0E1A426B-E35F-41D0-BB76-B1F2053F5F9E@swcp.com> On Aug 28, 2006, at 6:46 PM, Andre Garzia wrote: > We use OpenSSL for the crypto-thing routines right? I think OpenSSL > has SHA1 support in it so it would be a matter of exposing it just > like LibXML2 has support for XSLT but RunRev team has not exposed > it to upper levels. Right. I have no idea how much work that would be. Also, when adding to the language, RunRev needs to consider where a feature fits in, whether it has the right generalizations and options. What's needed in S3 is hmac-sha1. The HMAC part is straightforward, but some people might want hmac-sha1, too, or instead. On bugzilla is a feature request to allow applying MD5 to files too large to bring in at one time. This requires a partial MD5, I think. I am not able to figure out how to build one from MD5. That is, a partial would need to be built from scratch or use partial functions from, say, openSSL. No doubt, folks would want to do the same with SHA1. I imagine this would need 3 functions. So 3 variations for partial plus one for full, times hmac or not, times the number of digest methods could add up. Thats 16 functions for just MD5 and SHA1. But, if we have just one added, I would want SHA1. Like I said, I can build the hmac around that, a one-liner on a wide screen. Dar From saxtell at megavision.com Mon Aug 28 22:21:31 2006 From: saxtell at megavision.com (Steven Axtell) Date: Mon, 28 Aug 2006 21:21:31 -0500 Subject: Loading Application into Memory References: <004401c6c976$7ea2a4f0$65cef9d0@axtell> <f99b52860608270102o3a8a5565xd2c4a29be45e7a61@mail.gmail.com> Message-ID: <001001c6cb11$db1d7060$88cef9d0@axtell> ----- Original Message ----- From: "Sarah Reichelt" <sarah.reichelt at gmail.com> To: "How to use Revolution" <use-revolution at lists.runrev.com> Sent: Sunday, August 27, 2006 3:02 AM Subject: Re: Loading Application into Memory > On 8/27/06, Steven Axtell <saxtell at megavision.com> wrote: > > I am writing a textbook-like application that consists of text and JPEG figures. The total size of the application is about 500 KB. When I launch the application, the first card comes up fast. When I select a button to bring up a second card, there is a fair amount of delay (about 2 seconds on a Windows Pentium III, 1 GHz, 512 MB machine) before the second card comes up. It's as though the application is loading into memory at that time. After that, all of the cards come up fast. What can I do to get the application to load into memory at launch? Also, what would I need to do to show a card briefly while the application is loading into memory? > > The mail application file will load into memory before showing the > first card. If you have a very big app, the way around this is to have > separate stack files for you sub-stacks, so that they load as needed > and not all at once. > > Your problem sounds like something is happening when you go to the > second card. Does the first card have a "closeCard" handler? Does the > second card have a "preOpenCard" or "openCard" handler? To test, try > locking messages and then going to the second card. If that is fast, > then you have something happening - perhaps loading an image file. You > may be able to delay it until after the second card is displayed. > > Cheers, > Sarah Sarah, I am not using closeCard, preOpenCard or openCard handlers. I am just using simple "go to card 1" statements. Card 2 doesn't have any images on it, so there shouldn't be any delay due to that. The only time I notice the delay with the second card is when I run the application as a standalone application. When I am working with the application file (building the application), there is no problem with delays between cards. Also, after I have launched the standalone application and went to card 2, I can go back and forth between card 1 and card 2 without delay. It gives me the impression that all of the cards except card 1 are loading up into memory when I go from card 1 to card 2. I appreciate any more thoughts that you have on this. Thanks, Steve > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Aug 28 22:18:19 2006 From: soapdog at mac.com (Andre Garzia) Date: Mon, 28 Aug 2006 23:18:19 -0300 Subject: the need for hmac-sha1 (was Re: [partly OT?] Amazon S3, EC2, cyborgs) In-Reply-To: <0E1A426B-E35F-41D0-BB76-B1F2053F5F9E@swcp.com> References: <788AB2FD-3029-4E6A-8BB8-9550282A1028@swcp.com> <10110832005.20060828123830@ahsoftware.net> <AB57558C-D3F0-4205-8A43-5F66A67B3C21@swcp.com> <EC0C6136-5136-44A2-B4DA-92D46A4D14A4@mac.com> <0E1A426B-E35F-41D0-BB76-B1F2053F5F9E@swcp.com> Message-ID: <B1FA1243-9B0F-42E7-AB83-ABEEB78CE891@mac.com> Not only Amazon S3 but Blogger and some other web services out there need hmac-sha1 based authentication. Many soap web services need that. Anyone doing web service works on the client side would benefit from having hmac-sha1 support. I'd vote for that. I can't do hmac by hand, but I can do a XSLT subset in about 200 lines! :D Cheers andre On Aug 28, 2006, at 10:53 PM, Dar Scott wrote: > > On Aug 28, 2006, at 6:46 PM, Andre Garzia wrote: > >> We use OpenSSL for the crypto-thing routines right? I think >> OpenSSL has SHA1 support in it so it would be a matter of exposing >> it just like LibXML2 has support for XSLT but RunRev team has not >> exposed it to upper levels. > > Right. > > I have no idea how much work that would be. > > Also, when adding to the language, RunRev needs to consider where a > feature fits in, whether it has the right generalizations and options. > > What's needed in S3 is hmac-sha1. The HMAC part is > straightforward, but some people might want hmac-sha1, too, or > instead. > > On bugzilla is a feature request to allow applying MD5 to files too > large to bring in at one time. This requires a partial MD5, I > think. I am not able to figure out how to build one from MD5. > That is, a partial would need to be built from scratch or use > partial functions from, say, openSSL. No doubt, folks would want > to do the same with SHA1. I imagine this would need 3 functions. > > So 3 variations for partial plus one for full, times hmac or not, > times the number of digest methods could add up. Thats 16 functions > for just MD5 and SHA1. > > But, if we have just one added, I would want SHA1. > > Like I said, I can build the hmac around that, a one-liner on a > wide screen. > > Dar > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Tue Aug 29 00:06:09 2006 From: dsc at swcp.com (Dar Scott) Date: Mon, 28 Aug 2006 22:06:09 -0600 Subject: the need for hmac-sha1 (was Re: [partly OT?] Amazon S3, EC2, cyborgs) In-Reply-To: <B1FA1243-9B0F-42E7-AB83-ABEEB78CE891@mac.com> References: <788AB2FD-3029-4E6A-8BB8-9550282A1028@swcp.com> <10110832005.20060828123830@ahsoftware.net> <AB57558C-D3F0-4205-8A43-5F66A67B3C21@swcp.com> <EC0C6136-5136-44A2-B4DA-92D46A4D14A4@mac.com> <0E1A426B-E35F-41D0-BB76-B1F2053F5F9E@swcp.com> <B1FA1243-9B0F-42E7-AB83-ABEEB78CE891@mac.com> Message-ID: <18A2EA6F-D6C9-4E55-987B-82E5F3166CBF@swcp.com> On Aug 28, 2006, at 8:18 PM, Andre Garzia wrote: > I can't do hmac by hand, but I can do a XSLT subset in about 200 > lines! :D Actually, there is nothing to hmac. If you have a digest function, I can show you how to hmac it. If you make unhex() and xorBytes() functions, then it is one line. Some folks are going to other SHA and other digests. Maybe we need generic functions like digest() and mac() with options that have standards-based names. Those options can grow over time. Dar From meitnik at bellsouth.net Tue Aug 29 10:07:30 2006 From: meitnik at bellsouth.net (Andrew Meit) Date: Tue, 29 Aug 2006 10:07:30 -0400 Subject: Studio resizeing stack behind back of user... In-Reply-To: <20060828170006.282EA826038@mail.runrev.com> References: <20060828170006.282EA826038@mail.runrev.com> Message-ID: <44B8EA19-0CF2-4364-A755-7E11BB9187CF@bellsouth.net> Mac Studio 2.7.3 users out there, does Studio resize your saved stacks when you later reopen them? That is it thinks you have a Win Taskbar and clips the stack height to account for it. I can't even imagine why Rev would touch a users stack behind a developer's back. That is a big no-no. And nothing I can do overrides Rev editing my stack size. Shalom, Andrew {Choose Life, Create Hope, Nurture Love...} From SimPLsol at aol.com Tue Aug 29 11:12:33 2006 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Tue, 29 Aug 2006 11:12:33 EDT Subject: Studio resizeing stack behind back of user... Message-ID: <427.8572fbf.3225b361@aol.com> Andrew, In my experience, this problem appears when trying to add menus to a stack that already has cards. Putting the menu group inside the stack background group does NOT help - actually makes it worse. If possible, create a new single card stack, build your menus, and import the other cards. Cumbersome but it works. PL From jacque at hyperactivesw.com Tue Aug 29 11:21:42 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 29 Aug 2006 10:21:42 -0500 Subject: Studio resizeing stack behind back of user... In-Reply-To: <44B8EA19-0CF2-4364-A755-7E11BB9187CF@bellsouth.net> References: <20060828170006.282EA826038@mail.runrev.com> <44B8EA19-0CF2-4364-A755-7E11BB9187CF@bellsouth.net> Message-ID: <44F45B86.40408@hyperactivesw.com> Andrew Meit wrote: > Mac Studio 2.7.3 users out there, does Studio resize your saved stacks > when you later reopen them? That is it thinks you have a Win Taskbar and > clips the stack height to account for it. I can't even imagine why Rev > would touch a users stack behind a developer's back. That is a big > no-no. And nothing I can do overrides Rev editing my stack size. As was mentioned, this sometimes happens if you add a menubar after you have already placed objects on cards. To fix it, you can use the method described in my tutorial here: <http://hyperactivesw.com/mctutorial/rrcreateMenus.html> Basically, you need to resize the card to accomodate the menu bar, and push down all the existing objects. There is a script in the tutorial that can do all the pushing for you. The best way to avoid the issue is to always create your menubar first in new projects. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From userev at canelasoftware.com Tue Aug 29 12:46:38 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 29 Aug 2006 09:46:38 -0700 Subject: Studio resizeing stack behind back of user... In-Reply-To: <44B8EA19-0CF2-4364-A755-7E11BB9187CF@bellsouth.net> References: <20060828170006.282EA826038@mail.runrev.com> <44B8EA19-0CF2-4364-A755-7E11BB9187CF@bellsouth.net> Message-ID: <5DA7E308-628F-426F-B6DA-20C9A29416FC@canelasoftware.com> On Aug 29, 2006, at 7:07 AM, Andrew Meit wrote: > Mac Studio 2.7.3 users out there, does Studio resize your saved > stacks when you later reopen them? That is it thinks you have a Win > Taskbar and clips the stack height to account for it. I can't even > imagine why Rev would touch a users stack behind a developer's > back. That is a big no-no. And nothing I can do overrides Rev > editing my stack size. I have seen this when you build a Mac standalone on a Win system. Mark Talluto -- CANELA Software http://www.canelasoftware.com From stephenREVOLUTION at barncard.com Tue Aug 29 12:54:24 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 29 Aug 2006 09:54:24 -0700 Subject: Studio resizeing stack behind back of user... In-Reply-To: <44F45B86.40408@hyperactivesw.com> References: <20060828170006.282EA826038@mail.runrev.com> <44B8EA19-0CF2-4364-A755-7E11BB9187CF@bellsouth.net> <44F45B86.40408@hyperactivesw.com> Message-ID: <p06230900c11a14cf558f@[192.168.1.40]> > >The best way to avoid the issue is to always create your menubar >first in new projects. > >-- >Jacqueline Landman Gay | jacque at hyperactivesw.com \ That's good advice, but it's a workaround, people often don't develop in xTalk that way. I KNOW the classic building methods; Write it out on paper, flowchart, bottom up, plan everything. But it's hard to plan methods that may not work or be more efficient than others, or the specs might evolve during the project, or down the road one gets a better insight on what it is the client really wants after working with the data. With Xtalks, I divide up the functionality first, make the parts work individually, then bring them together in the middle, and spend the rest of the time making it all work together, and that's the point where I make it pretty and add menus. In my project, if I had done the menus first, I'd be changing them all the time. And while I'm in the IDE, I want the IDE features. Also how does one deal with one's own menus 'getting in the way' when testing and trying to use the IDE menus? Just seems like a hassle. I develop routines with buttons with or single commands. When I started, I had no idea what was going to be in those menus. In a long development, features change. I'm planning to put my future menus in their own stack, and "set the menubar to..." I've heard it works, does anyone have a downside for this approach? -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From jrvalent at wisc.edu Tue Aug 29 13:09:45 2006 From: jrvalent at wisc.edu (rand valentine) Date: Tue, 29 Aug 2006 12:09:45 -0500 Subject: mics and sound recording Message-ID: <C119DF09.5AF8%jrvalent@wisc.edu> Hi, all. I'm kind of an amateur at Revolution, in the sense that I don't program for a direct living. But I use it a lot. I'm using Studio 2.7.2 on a Mac 17" portable running the latest Tiger incarnation. I'm always discovering new cool stuff in RunRev. Today I discovered the tools for audio recording, and I've been experimenting. Since I use RunRev for building language learning tools, this record thing is really useful. But I have a couple of questions. 1. the recordInput setting lets you specify a recording source, with two choices being "imic" for internal microphone, and "emic" for external microphone. Now by my thinking, you should choose "emic" if you are plugging a microphone into your computer, and "imic" if you're using the built-in. But it doesn't seem to work this way. If I plug in an external mike and choose "emic," _no_ recording is made. If I plug in an external with "imic" chosen, I get a recording, but it's noticeably hissy. Does anyone have any idea of what's going on here? I mean, what I am doing wrong, or what do I not understand. 2. Is "dflt" a better setting, since it would look to the system for guidance? Help! And thank you! rand valentine From meitnik at bellsouth.net Tue Aug 29 13:27:01 2006 From: meitnik at bellsouth.net (Andrew Meit) Date: Tue, 29 Aug 2006 13:27:01 -0400 Subject: Studio resizeing stack behind back of user..., i Message-ID: <C213FCAD-0B10-4005-B37C-1A22EC333B63@bellsouth.net> For Mac Studio 2.7.3 users, there is a nasty bug. It will resize your stacks thinking it has to consider a taskbar. For a workaround I put in my preopenstack: set the windowBoundingRect to 0,20,1024,764 currently its set by rev as 0,50,1024,764. If someone can tell me where in IDE I can fix it, I would love it. Shalom, Andrew {Choose Life, Create Hope, Nurture Love...} From ambassador at fourthworld.com Tue Aug 29 13:27:31 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 29 Aug 2006 10:27:31 -0700 Subject: Studio resizeing stack behind back of user... Message-ID: <44F47903.5020102@fourthworld.com> Andrew Meit wrote: > Mac Studio 2.7.3 users out there, does Studio resize your saved > stacks when you later reopen them? That is it thinks you have a Win > Taskbar and clips the stack height to account for it. The cause may be the menubar as others have noted, but it may also be that the engine's setting of the windowBoundingRect and how that affects the window buffer. By default, the windowBoundingRect is set to the largest screen size available after subtracting room for the various OS trimmings (Task Bar on Win, menu bar and Dock on Mac). The window buffer is apparently sized to match the windowBoundingRect, since of course it wouldn't make much sense to buffer larger than can be displayed. The side-effect of this is that a stack larger than the windowBoundingRect may appear in a window cropped to match the windowBoundingRect. The default windowBoundingRect is a customary size which makes sense for most apps, governing among other things the maximum size you get when you click the window's zoomBox. But if you need a stack larger than the system default, you'll need to change it to the size you want, and then adjust your stack to match: on preOpenStack set the windowBoundingRect to the screenRect set the rect of this stack to the screenRect pass preOpenStack end preOpenStack That assumes of course you were looking to make a full-screen stack. If not, then just replace screenRect with whatever rect you're after. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From tereza at califex.com Tue Aug 29 13:34:18 2006 From: tereza at califex.com (Tereza Snyder) Date: Tue, 29 Aug 2006 12:34:18 -0500 Subject: Studio resizeing stack behind back of user... In-Reply-To: <p06230900c11a14cf558f@[192.168.1.40]> References: <20060828170006.282EA826038@mail.runrev.com> <44B8EA19-0CF2-4364-A755-7E11BB9187CF@bellsouth.net> <44F45B86.40408@hyperactivesw.com> <p06230900c11a14cf558f@[192.168.1.40]> Message-ID: <50DF8AF5-AB87-4FD1-9428-7DB469F46896@califex.com> On Aug 29, 2006, at 11:54 AM, Stephen Barncard wrote: > I develop routines with buttons with or single commands. When I > started, I had no idea what was going to be in those menus. In a > long development, features change. > > I'm planning to put my future menus in their own stack, and "set > the menubar to..." > > I've heard it works, does anyone have a downside for this approach? > The downside arises when you need the menus cross-platform. That is, since it has to be on the current card for Windows, you might as well use it from there on the Mac. Because I develop applications that hide the menubar, I avoid most of these hassles -- most of the time -- by always having my menus, if any, inside the card window for both Mac and Windows. But now and then I do need a menubar menu for all or part of an application. In that case, I store menus in a resources card on my launching stack and set the menubar to whichever one I need when I need it, and copy or place them on cards at runtime on Windows. I've heard that the spontaneous resizing-the-window-with-or-without- the-menu-group problems are much improved of late, but it used to be a gigantic hassle, resulting, in one memorable case, of having to recall and remaster hundreds of CDs just after a product release. I just got out of the habit of letting the engine manage menus. t -- Tereza Snyder Califex Software, Inc. www.califexsoftware.com From jacque at hyperactivesw.com Tue Aug 29 13:57:00 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 29 Aug 2006 12:57:00 -0500 Subject: Studio resizeing stack behind back of user... In-Reply-To: <p06230900c11a14cf558f@[192.168.1.40]> References: <20060828170006.282EA826038@mail.runrev.com> <44B8EA19-0CF2-4364-A755-7E11BB9187CF@bellsouth.net> <44F45B86.40408@hyperactivesw.com> <p06230900c11a14cf558f@[192.168.1.40]> Message-ID: <44F47FEC.6070309@hyperactivesw.com> Stephen Barncard wrote: > With Xtalks, I divide up the functionality first, make the parts work > individually, then bring them together in the middle, and spend the rest > of the time making it all work together, and that's the point where I > make it pretty and add menus. I think most of us work that way; I know I do. Rev just lends itself to that kind of tinkering and its natural to take advantage of it. > > In my project, if I had done the menus first, I'd be changing them all > the time. Right, but note that you don't have to build the menu ahead of time, just put a placeholder there to reserve the screen space. What I usually do is just open the menu editor, click "okay" and put up the default menubar. I don't bother scripting it, or adding things to it, or anything. Just stick one up there right at first. I usually don't know what menus I will need, but 99% of the time I do know whether the app will eventually have a menu bar. That's all that is necessary at first. It is very easy to edit it later when you're ready. > And while I'm in the IDE, I want the IDE features. Also how does one > deal with one's own menus 'getting in the way' when testing and trying > to use the IDE menus? Just seems like a hassle. It isn't hard. There are a couple of ways to manage this. One way is to just leave editMenus set to true. That gives you the best of both worlds on a Mac. You have Rev's native menus at the top as usual, and the stack's menu bar inside the stack window (ala Windows). The stack menu responds to the mouse, so you can use that if you want to test your own menus. And the Rev menu responds to both mouse and keyboard shortcuts, so you still have full use of that one. Another way is to go ahead and place your stack menu as the Mac menu bar. If you do that, then whenever your stack has focus, its menus will be used. If you click on any Rev window or palette, the Rev menus come back. You can alternate which menu you see simply by clicking on a stack. I use both methods. It is easier for me to keep the menus showing in the stack window during development, and when I am testing, I put them up top in the normal Mac position. > > I develop routines with buttons with or single commands. When I started, > I had no idea what was going to be in those menus. In a long > development, features change. To edit an existing menu, just choose the menu editor and make your changes. It's very easy. I do it all the time. > > I'm planning to put my future menus in their own stack, and "set the > menubar to..." > > I've heard it works, does anyone have a downside for this approach? As Tereza mentioned, it will fail if you build for Windows. If you are deploying for Mac only, then it should work okay provided your menus don't make calls to card scripts. I routinely put 1-line calls into my menu handlers and then store the full handler in the stack somewhere (this makes them easy to test from the message box and easy to get to for editing.) A menubar that lives in a separate stack won't see handlers stored in the cards of the main stack. You can bypass this problem by always storing your menu handlers in the main stack script, or in the menu buttons themselves. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION at barncard.com Tue Aug 29 14:17:15 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 29 Aug 2006 11:17:15 -0700 Subject: Studio resizeing stack behind back of user... In-Reply-To: <44F47FEC.6070309@hyperactivesw.com> References: <20060828170006.282EA826038@mail.runrev.com> <44B8EA19-0CF2-4364-A755-7E11BB9187CF@bellsouth.net> <44F45B86.40408@hyperactivesw.com> <p06230900c11a14cf558f@[192.168.1.40]> <44F47FEC.6070309@hyperactivesw.com> Message-ID: <p06230903c11a3450b7c7@[192.168.1.40]> Good points, Jacque, thanks. At 12:57 -0500 8/29/06, J. Landman Gay wrote: >Right, but note that you don't have to build the menu ahead of time, >just put a placeholder there to reserve the screen space. What I >usually do is just open the menu editor, click "okay" and put up the -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From jrvalent at wisc.edu Tue Aug 29 14:23:55 2006 From: jrvalent at wisc.edu (rand valentine) Date: Tue, 29 Aug 2006 13:23:55 -0500 Subject: more on the recorder Message-ID: <C119F06B.5B06%jrvalent@wisc.edu> Well, I've had some interesting experiences recording sound into Revolution (Studio 2.7.2). Here's what I've found: 1. If I set the inputsource to "dflt" on my g4 powerbook, and try to record, I get audio files that sounds like pigs on acid. I'm sure my students would find this entertaining, but not exactly what I want to do. The only working choice on the Mac (Tiger) seems to be "imic" Nothing else works, either producing silence or the above stated porcophony. And I have to choose imic regardless of whether I'm using the internal or a plug-in mike. But this only works if I go to the System Preferences Sound settings, and _there_ change the input source to either internal or external. That setting seems to override anything in RunRev. 2. When I take my file over to my Dell 5100 running latest Windows, the only setting that works is "dflt" I don't think this dell has a built-in mike, and have been recording with an external. That works fine, as long as inputsource is "dflt" Using "imic" or "emic" doesn't seem to work. I haven't looked at the Windows system pref to see if there might be any variables there to play with. Too many variables in the world. Please let me know if you've written up some notes on these sorts of things, or even could point me to a well-coded stack. Thanks so much. rand valentine From devin_asay at byu.edu Tue Aug 29 15:08:21 2006 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 29 Aug 2006 13:08:21 -0600 Subject: more on the recorder In-Reply-To: <C119F06B.5B06%jrvalent@wisc.edu> References: <C119F06B.5B06%jrvalent@wisc.edu> Message-ID: <1A5FB017-FCCF-4DEA-9763-183848B87DD2@byu.edu> Rand, My experience was similar with regard to choosing a mic input. I just decided to always use the default input and set the input using the system prefs rather than Rev. I put together a "sandbox" stack that allows me to play with all the recording settings. If you want to look at it enter into your message box: go stack url "http://revolution.byu.edu/stacksRecordingToolbox.rev" Warning: this was written on my OS X box and uses some shell calls, so if you want to try it on windows, you'll have to change or comment those out. Some of it's a little rough, but it might help you figure some things out. Devin On Aug 29, 2006, at 12:23 PM, rand valentine wrote: > Well, I've had some interesting experiences recording sound into > Revolution > (Studio 2.7.2). Here's what I've found: > > 1. If I set the inputsource to "dflt" on my g4 powerbook, and try > to record, > I get audio files that sounds like pigs on acid. I'm sure my > students would > find this entertaining, but not exactly what I want to do. The only > working > choice on the Mac (Tiger) seems to be "imic" Nothing else works, > either > producing silence or the above stated porcophony. And I have to > choose imic > regardless of whether I'm using the internal or a plug-in mike. But > this > only works if I go to the System Preferences Sound settings, and > _there_ > change the input source to either internal or external. That > setting seems > to override anything in RunRev. > > 2. When I take my file over to my Dell 5100 running latest Windows, > the only > setting that works is "dflt" I don't think this dell has a built-in > mike, > and have been recording with an external. That works fine, as long as > inputsource is "dflt" Using "imic" or "emic" doesn't seem to work. > I haven't > looked at the Windows system pref to see if there might be any > variables > there to play with. Too many variables in the world. > > Please let me know if you've written up some notes on these sorts of > things, or even could point me to a well-coded stack. Thanks so much. > > rand valentine > > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 mwieder at ahsoftware.net Tue Aug 29 15:27:31 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 29 Aug 2006 12:27:31 -0700 Subject: [partly OT?] Amazon S3, EC2, cyborgs In-Reply-To: <AB57558C-D3F0-4205-8A43-5F66A67B3C21@swcp.com> References: <788AB2FD-3029-4E6A-8BB8-9550282A1028@swcp.com> <10110832005.20060828123830@ahsoftware.net> <AB57558C-D3F0-4205-8A43-5F66A67B3C21@swcp.com> Message-ID: <9296573024.20060829122731@ahsoftware.net> Dar- Monday, August 28, 2006, 3:27:33 PM, you wrote: > I haven't looked at S3 closely, so I am not familiar with what it > needs. We have SOAP now, and I suppose one could throw together a > specialized SOAP or REST for S3. S3 is a prerequisite for EC2. You have to prepare your AMI, then upload it to S3 in order to get it into EC2space. This would obviously be done outside of rev. There are also problems in that EC2 is a linux-only space and there is no current linux version of rev. -- -Mark Wieder mwieder at ahsoftware.net From devin_asay at byu.edu Tue Aug 29 17:24:00 2006 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 29 Aug 2006 15:24:00 -0600 Subject: more on the recorder In-Reply-To: <1A5FB017-FCCF-4DEA-9763-183848B87DD2@byu.edu> References: <C119F06B.5B06%jrvalent@wisc.edu> <1A5FB017-FCCF-4DEA-9763-183848B87DD2@byu.edu> Message-ID: <50E1BCA0-CF82-4E09-A064-BC89B312D125@byu.edu> I forgot a directory delimiter in my haste: go stack url "http://revolution.byu.edu/stacks/RecordingToolbox.rev" On Aug 29, 2006, at 1:08 PM, Devin Asay wrote: > Rand, > > My experience was similar with regard to choosing a mic input. I > just decided to always use the default input and set the input > using the system prefs rather than Rev. > > I put together a "sandbox" stack that allows me to play with all > the recording settings. If you want to look at it enter into your > message box: > > go stack url "http://revolution.byu.edu/stacksRecordingToolbox.rev" > > Warning: this was written on my OS X box and uses some shell calls, > so if you want to try it on windows, you'll have to change or > comment those out. > > Some of it's a little rough, but it might help you figure some > things out. > Devin Asay Humanities Technology and Research Support Center Brigham Young University From meitnik at bellsouth.net Tue Aug 29 17:32:33 2006 From: meitnik at bellsouth.net (Andrew Meit) Date: Tue, 29 Aug 2006 17:32:33 -0400 Subject: Studio resizeing stack behind back of user...,ii In-Reply-To: <20060829170005.B597E824F0E@mail.runrev.com> References: <20060829170005.B597E824F0E@mail.runrev.com> Message-ID: <3E9615D0-BDA1-44DD-843A-47E223C6297B@bellsouth.net> Am not doing nothing with menus of any kind and am not doing a full screen stack either. Yes, all my OS X apps resize large for me I when I set them too. I can't stand Rev taking over my design. I would like to pass preopenstack to ide but discovered if I do Rev changes my stack again on reload. Tessler used to wear a t-shirt at PARC, "DONT MODE ME IN" It works for me. So how do I hack the IDE to give me an option???? Shalom, Andrew {Choose Life, Create Hope, Nurture Love...} From m.schonewille at economy-x-talk.com Tue Aug 29 17:40:41 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 29 Aug 2006 23:40:41 +0200 Subject: Studio resizeing stack behind back of user...,ii In-Reply-To: <3E9615D0-BDA1-44DD-843A-47E223C6297B@bellsouth.net> References: <20060829170005.B597E824F0E@mail.runrev.com> <3E9615D0-BDA1-44DD-843A-47E223C6297B@bellsouth.net> Message-ID: <B78CFFA6-8C64-4EF8-B851-4A2EDA0B7ADE@economy-x-talk.com> Hi Andrew, Why would you want to pass preopenstack to the IDE and... what exactly do you mean? Are you changine the size of a stack window and observing that this size is not saved? Could you tell us step-by-step what you are doing? -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz phone: +31 84 003 51 56 Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 29-aug-2006, om 23:32 heeft Andrew Meit het volgende geschreven: > Am not doing nothing with menus of any kind and am not doing a full > screen stack either. Yes, all my OS X apps resize large for me I > when I set them too. I can't stand Rev taking over my design. I > would like to pass preopenstack to ide but discovered if I do Rev > changes my stack again on reload. Tessler used to wear a t-shirt at > PARC, "DONT MODE ME IN" It works for me. So how do I hack the IDE > to give me an option???? > > Shalom, Andrew > {Choose Life, Create Hope, Nurture Love...} > From revolution at derbrill.de Tue Aug 29 19:06:36 2006 From: revolution at derbrill.de (Malte Brill) Date: Wed, 30 Aug 2006 01:06:36 +0200 Subject: u3: where to store data? In-Reply-To: <20060827170005.69289825FB1@mail.runrev.com> References: <20060827170005.69289825FB1@mail.runrev.com> Message-ID: <CB9F4FCB-DF00-459C-B8F5-508A78DB4925@derbrill.de> > I, too, want to WRITE to a specific folder on U3 drive (not a default > documents directory). Let us know if you learn anything. Hi all (and specially Chipp), here is what I found with help from the mothership (thanks Marcus) on mouseUp put $U3_APP_DATA_PATH into tPath replace "\" with "/" in tPath put "/test.txt" after tPath put "this is a test" into URL ("file:"&tPath) answer the result & cr & URL ("file:"&tPath) & cr & there is a file tPath & cr & tPath end mouseUp This way the data ends up in the /app/data folder on the u3 drive. Somehow it failed when I used "file://" no idea why. Another script that I find handy is this (which I wrote in my frustration about the meager specs) on mouseUp repeat for each item theItem in the globals if "U3" is in theItem then put theItem && value (theItem) & cr after allU3Vars end if end repeat put allU3Vars end mouseUp Interesting what one can find out about the drive. ;-) Hope this is of any help, Malte From dsc at swcp.com Tue Aug 29 19:13:25 2006 From: dsc at swcp.com (Dar Scott) Date: Tue, 29 Aug 2006 17:13:25 -0600 Subject: [partly OT?] Amazon S3, EC2, cyborgs In-Reply-To: <9296573024.20060829122731@ahsoftware.net> References: <788AB2FD-3029-4E6A-8BB8-9550282A1028@swcp.com> <10110832005.20060828123830@ahsoftware.net> <AB57558C-D3F0-4205-8A43-5F66A67B3C21@swcp.com> <9296573024.20060829122731@ahsoftware.net> Message-ID: <DA9EBDD1-2C75-4434-827D-A331BBC2586A@swcp.com> On Aug 29, 2006, at 1:27 PM, Mark Wieder wrote: > S3 is a prerequisite for EC2. You have to prepare your AMI, then > upload it to S3 in order to get it into EC2space. This would > obviously be done outside of rev. Hmmm. I know you sometimes challenge the obvious. The REST interface to S3 seems to be simply HTTP with some tags. The HTTP examples I saw looked pretty straightforward. Well, looked that way to me, I'm new to the REST ideas. As you mentioned, the sha1 seems to be the stumbling block for S3 in Rev, but that can be handled with shell() if S3 is needed in Rev. As simple data storage, S3 reminds me of Revolution arrays. One could made a uniform interface. At the time I started this topic, I didn't realize that an S3 bucket could look like a scalable web site to the public. Cool. > There are also problems in that EC2 > is a linux-only space and there is no current linux version of rev. Yeah, it seems to be Xen for virtualization, which I assume means Linux for now. I'm not completely sure of that, because I had earlier understood that you could load your own Linux and I thought Xen needed a modified Linux as a client OS. I have heard there are delays in getting computers started. Dar Scott From katir at hindu.org Tue Aug 29 18:43:11 2006 From: katir at hindu.org (Sivakatirswami) Date: Tue, 29 Aug 2006 12:43:11 -1000 Subject: Crash report procedure Message-ID: <44F4C2FF.7050403@hindu.org> I'm getting more crashes under 2.7.3 than I've had in past years with Revolution. What's the proper procedure? 1) Bugzilla? or Support at runrev.com? 2) And, the crash report that is put up by OSX... 3) should we copy that and save to the bug zilla? 4) Should we also submit to Apple to by hitting the submit button on their crash reporter? TIA Sivakatirswami From jacque at hyperactivesw.com Tue Aug 29 20:01:44 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 29 Aug 2006 19:01:44 -0500 Subject: Crash report procedure In-Reply-To: <44F4C2FF.7050403@hindu.org> References: <44F4C2FF.7050403@hindu.org> Message-ID: <44F4D568.7000306@hyperactivesw.com> Sivakatirswami wrote: > I'm getting more crashes under 2.7.3 than > I've had in past years with Revolution. > > What's the proper procedure? > > 1) Bugzilla? or Support at runrev.com? Bugzilla is preferable. You can alternately send to support if you want, but then the ticket has to be handled by a series of humans and it takes longer to get inputted. If you input to Bugzilla directly, it shows up immediately. Do choose only one of the two methods though; otherwise we get duplicates. > 2) And, the crash report that is put up by OSX... > 3) should we copy that and save to the bug zilla? Yes, always include the crash log if you have it. You can paste it directly into the comments field, underneath any explanation you enter about how to reproduce the problem. That way everything is all together in one place and the engineers can see it easily. > 4) Should we also submit to Apple to by hitting the submit button > on their crash reporter? I don't think that does much good, except for Apple apps. They likely ignore reports about stuff they don't own. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From johnmiller1950 at sbcglobal.net Tue Aug 29 20:35:02 2006 From: johnmiller1950 at sbcglobal.net (John Miller) Date: Tue, 29 Aug 2006 20:35:02 -0400 Subject: Screen Refresh Problem Message-ID: <63BAF347-7136-409E-94D2-31D96FA3EFE0@sbcglobal.net> Greetings All, I am writing a program that will show the images of any number of folders in a slideshow. Before the first slide in each folder is shown, I show a field telling the name of the folder. The first time I press the arrowKey, the title field comes up and then I can press the arrowkey to show the images in that folder. However, when I go from the last image of the first folder to the title field of the second folder, the screen seems to freeze up. The last command in the script is exit to top. In test lines, just before I exit, the lockscreen property is false, the various fields that keep track of which folders and which slides are being shown are correct, but the screen is just not updated. In development mode, if I press commandKey-M to bring up the message box, the screen refreshes and everything is as it should be. The script is actually exiting, and I am not in an infinite loop. Has anybody else seen this? Thanks! John Miller From jacque at hyperactivesw.com Tue Aug 29 21:41:34 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 29 Aug 2006 20:41:34 -0500 Subject: Screen Refresh Problem In-Reply-To: <63BAF347-7136-409E-94D2-31D96FA3EFE0@sbcglobal.net> References: <63BAF347-7136-409E-94D2-31D96FA3EFE0@sbcglobal.net> Message-ID: <44F4ECCE.4090605@hyperactivesw.com> John Miller wrote: > Greetings All, > > I am writing a program that will show the images of any number of > folders in a slideshow. Before the first slide in each folder is shown, > I show a field telling the name of the folder. > > The first time I press the arrowKey, the title field comes up and then I > can press the arrowkey to show the images in that folder. However, when > I go from the last image of the first folder to the title field of the > second folder, the screen seems to freeze up. > > The last command in the script is exit to top. In test lines, just > before I exit, the lockscreen property is false, the various fields that > keep track of which folders and which slides are being shown are > correct, but the screen is just not updated. > > In development mode, if I press commandKey-M to bring up the message > box, the screen refreshes and everything is as it should be. > > The script is actually exiting, and I am not in an infinite loop. > > Has anybody else seen this? Not exactly, but I recently had a similar problem where the screen wouldn't refresh. I never did figure out why. I stuck in a "go this card" statement which forced a redraw. You might try that as a work-around if you can't figure out anything else. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From chipp at chipp.com Tue Aug 29 22:17:50 2006 From: chipp at chipp.com (Chipp Walters) Date: Tue, 29 Aug 2006 21:17:50 -0500 Subject: u3: where to store data? In-Reply-To: <CB9F4FCB-DF00-459C-B8F5-508A78DB4925@derbrill.de> References: <20060827170005.69289825FB1@mail.runrev.com> <CB9F4FCB-DF00-459C-B8F5-508A78DB4925@derbrill.de> Message-ID: <7aa52a210608291917l2fd3be12w34134c207706225f@mail.gmail.com> Thanks Malte! I'm looking to find the folder where the application lives on the U3 drive...Did you find an ENVIRONMENT VARIABLE for that? Thanks again, Chipp On 8/29/06, Malte Brill <revolution at derbrill.de> wrote: > > I, too, want to WRITE to a specific folder on U3 drive (not a default > > documents directory). Let us know if you learn anything. > > Hi all (and specially Chipp), > > here is what I found with help from the mothership (thanks Marcus) > > on mouseUp > put $U3_APP_DATA_PATH into tPath > replace "\" with "/" in tPath > put "/test.txt" after tPath > put "this is a test" into URL ("file:"&tPath) > answer the result & cr & URL ("file:"&tPath) & cr & there is a > file tPath & cr & tPath > end mouseUp > > This way the data ends up in the /app/data folder on the u3 drive. > Somehow it failed when I used "file://" no idea why. > > Another script that I find handy is this (which I wrote in my > frustration about the meager specs) > > on mouseUp > repeat for each item theItem in the globals > if "U3" is in theItem then > put theItem && value (theItem) & cr after allU3Vars > end if > end repeat > put allU3Vars > end mouseUp > > Interesting what one can find out about the drive. ;-) > > Hope this is of any help, > > 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 revdev at pdslabs.net Tue Aug 29 23:25:58 2006 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 29 Aug 2006 20:25:58 -0700 Subject: u3: where to store data? In-Reply-To: <7aa52a210608291917l2fd3be12w34134c207706225f@mail.gmail.com> References: <20060827170005.69289825FB1@mail.runrev.com> <CB9F4FCB-DF00-459C-B8F5-508A78DB4925@derbrill.de> <7aa52a210608291917l2fd3be12w34134c207706225f@mail.gmail.com> Message-ID: <44F50546.6030309@pdslabs.net> Hey Chipp - Here's what I got when I ran Malte's second script (slightly modified, and I inserted extra CRs to make wraps more detectable): $U3_IS_UPGRADE = false $U3_IS_DEVICE_AVAILABLE = true $U3_IS_AUTORUN = false $U3_HOST_EXEC_PATH = C:\Documents and Settings\Phil\Application Data\U3\0CB16C50A2916885\E12D38CA-C6EF-4bd0-B62A-F230F996FE2F\Exec $U3_ENV_VERSION = 1.0 $U3_ENV_SUB_VERSION = 1 $U3_ENV_LANGUAGE = 1033 $U3_DEVICE_VENDOR_ID = 2284 $U3_DEVICE_VENDOR = Yahoo $U3_DEVICE_SERIAL = 0CB16C50A2916885 $U3_DEVICE_PRODUCT = U3 smart drive $U3_DEVICE_PATH = F: $U3_DEVICE_EXEC_PATH = F:\System\Apps\E12D38CA-C6EF-4bd0-B62A-F230F996FE2F\Exec $U3_DEVICE_DOCUMENT_PATH = F:\Documents $U3_DAPI_CONNECT_STRING = 0CB16C50A2916885 $U3_APP_DATA_PATH = F:\System\Apps\E12D38CA-C6EF-4bd0-B62A-F230F996FE2F\Data Hopefully this 'data picture' is worth a few words... Phil Davis Chipp Walters wrote: > Thanks Malte! I'm looking to find the folder where the application > lives on the U3 drive...Did you find an ENVIRONMENT VARIABLE for that? > > Thanks again, > Chipp > > On 8/29/06, Malte Brill <revolution at derbrill.de> wrote: >> > I, too, want to WRITE to a specific folder on U3 drive (not a default >> > documents directory). Let us know if you learn anything. >> >> Hi all (and specially Chipp), >> >> here is what I found with help from the mothership (thanks Marcus) >> >> on mouseUp >> put $U3_APP_DATA_PATH into tPath >> replace "\" with "/" in tPath >> put "/test.txt" after tPath >> put "this is a test" into URL ("file:"&tPath) >> answer the result & cr & URL ("file:"&tPath) & cr & there is a >> file tPath & cr & tPath >> end mouseUp >> >> This way the data ends up in the /app/data folder on the u3 drive. >> Somehow it failed when I used "file://" no idea why. >> >> Another script that I find handy is this (which I wrote in my >> frustration about the meager specs) >> >> on mouseUp >> repeat for each item theItem in the globals >> if "U3" is in theItem then >> put theItem && value (theItem) & cr after allU3Vars >> end if >> end repeat >> put allU3Vars >> end mouseUp >> >> Interesting what one can find out about the drive. ;-) >> >> Hope this is of any help, >> >> 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 >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Wed Aug 30 01:17:58 2006 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 30 Aug 2006 00:17:58 -0500 Subject: Crash report procedure In-Reply-To: <44F4C2FF.7050403@hindu.org> Message-ID: <C11A89B6.436C5%kray@sonsothunder.com> On 8/29/06 5:43 PM, "Sivakatirswami" <katir at hindu.org> wrote: > I'm getting more crashes under 2.7.3 than > I've had in past years with Revolution. What crashes are you getting, and what do you think is triggering them? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From chipp at chipp.com Wed Aug 30 02:29:16 2006 From: chipp at chipp.com (Chipp Walters) Date: Wed, 30 Aug 2006 01:29:16 -0500 Subject: u3: where to store data? In-Reply-To: <44F50546.6030309@pdslabs.net> References: <20060827170005.69289825FB1@mail.runrev.com> <CB9F4FCB-DF00-459C-B8F5-508A78DB4925@derbrill.de> <7aa52a210608291917l2fd3be12w34134c207706225f@mail.gmail.com> <44F50546.6030309@pdslabs.net> Message-ID: <7aa52a210608292329v20522144j16c903eac7e1a670@mail.gmail.com> Phil, thanks... 'You da man!!!' -c From runrev260805 at m-r-d.de Wed Aug 30 02:38:57 2006 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Wed, 30 Aug 2006 06:38:57 +0000 Subject: Re-2: u3: where to store data? Message-ID: <DIIE.0000018B0002259F@192.168.168.3> Hi, it seems that the application just lives in the u3p file on the stick. After starting the app from launchpad it is copied to the folder c:\Documents and Settings\user\Application Data\U3\u3stickid\programid\Exec Try it your self. Just rename the U3P file for any of the installed apps on the u3 stick and run it from launchpad. You will get an errormessage like this "An error has occurred whily trying to launch the selected program. Renaming it back, will let you run it again. If you have startefd the application already on the stick, renaming won?t produce the error message, as the application was already copied to c:\documents... . In this case you have to eject and reconnect the stick, as this deletes the content of the U3 folder on C. The app resides in c:\Docuemtns and Settings.... until the stick is removed by clicking the eject button in launchpad. Clicking eject runs a tool c:\Documents and Settings\user\Application Data\U3\temp\cleanup.exe , which removes the content of the U3 folder on C, except the temp folder. So if you have an autoupdate function built in your app, why not adding the new app into the u3p file. It?s an zipcompressed format. Regards, Matthias -------- Original Message -------- Subject: Re: u3: where to store data? (30-Aug-2006 4:20) From: chipp at chipp.com To: runrev260805 at m-r-d.de > Thanks Malte! I'm looking to find the folder where the application > lives on the U3 drive...Did you find an ENVIRONMENT VARIABLE for that? > > Thanks again, > Chipp > > On 8/29/06, Malte Brill <revolution at derbrill.de> wrote: > > > I, too, want to WRITE to a specific folder on U3 drive (not a default > > > documents directory). Let us know if you learn anything. > > > > Hi all (and specially Chipp), > > > > here is what I found with help from the mothership (thanks Marcus) > > > > on mouseUp > > put $U3_APP_DATA_PATH into tPath > > replace "\" with "/" in tPath > > put "/test.txt" after tPath > > put "this is a test" into URL ("file:"&tPath) > > answer the result & cr & URL ("file:"&tPath) & cr & there is a > > file tPath & cr & tPath > > end mouseUp > > > > This way the data ends up in the /app/data folder on the u3 drive. > > Somehow it failed when I used "file://" no idea why. > > > > Another script that I find handy is this (which I wrote in my > > frustration about the meager specs) > > > > on mouseUp > > repeat for each item theItem in the globals > > if "U3" is in theItem then > > put theItem && value (theItem) & cr after allU3Vars > > end if > > end repeat > > put allU3Vars > > end mouseUp > > > > Interesting what one can find out about the drive. ;-) > > > > Hope this is of any help, > > > > 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 > > > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 erikhans08 at yahoo.com Wed Aug 30 02:52:52 2006 From: erikhans08 at yahoo.com (Erik Hansen) Date: Tue, 29 Aug 2006 23:52:52 -0700 (PDT) Subject: when the topColor and the bottomColor switch In-Reply-To: <4489DAA0.9060702@hyperactivesw.com> Message-ID: <20060830065252.16629.qmail@web33003.mail.mud.yahoo.com> when the topColor and the bottomColor switch, I found the property once... Erik Hansen erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From m.schonewille at economy-x-talk.com Wed Aug 30 04:11:27 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 30 Aug 2006 10:11:27 +0200 Subject: Studio resizeing stack behind back of user...,ii In-Reply-To: <B78CFFA6-8C64-4EF8-B851-4A2EDA0B7ADE@economy-x-talk.com> References: <20060829170005.B597E824F0E@mail.runrev.com> <3E9615D0-BDA1-44DD-843A-47E223C6297B@bellsouth.net> <B78CFFA6-8C64-4EF8-B851-4A2EDA0B7ADE@economy-x-talk.com> Message-ID: <C4E82A60-3627-4703-9EF1-752B8B571F4C@economy-x-talk.com> Dear Andrew, Having read the older Studio Resizing Stack thread now, I assume the windowBoundingRect is the problem. You cannot change the size windowBoundingRect as Revolution sets it on startup by yourself, as ar as I can see. I had a look at the accessible scripts and I suspect that the script setting the windowBoundingRect on startup is not editable. If you make a small splash stack which opens before the large screen, you could set the windowboundingrect in the preOpenStack handler of the splash stack. You could also make a plugin which opens when Revolution starts up and put a script to set the windowBoundingRect when it opens. Best regards, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz phone: +31 84 003 51 56 Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 29-aug-2006, om 23:40 heeft Mark Schonewille het volgende geschreven: > Hi Andrew, > > Why would you want to pass preopenstack to the IDE and... what > exactly do you mean? Are you changine the size of a stack window > and observing that this size is not saved? Could you tell us step- > by-step what you are doing? > >> Am not doing nothing with menus of any kind and am not doing a >> full screen stack either. Yes, all my OS X apps resize large for >> me I when I set them too. I can't stand Rev taking over my design. >> I would like to pass preopenstack to ide but discovered if I do >> Rev changes my stack again on reload. Tessler used to wear a t- >> shirt at PARC, "DONT MODE ME IN" It works for me. So how do I hack >> the IDE to give me an option???? >> >> Shalom, Andrew >> {Choose Life, Create Hope, Nurture Love...} From m.schonewille at economy-x-talk.com Wed Aug 30 04:20:17 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 30 Aug 2006 10:20:17 +0200 Subject: Crash report procedure In-Reply-To: <44F4C2FF.7050403@hindu.org> References: <44F4C2FF.7050403@hindu.org> Message-ID: <747093F9-C492-4818-9921-BE5DE5450C40@economy-x-talk.com> Dear Sivakatirswami, In RevOnline, in the user space called Mark, you will find a stack with the name Verbose Logging. This plugin gives you an easy wayto turn on and off the verboselogging feature. When you experience crashes, turn it on and submit the verboselog with the crash report to BugZilla. Normally, you will find the verboselog in the same folder as the Revolution application, but I have noticed that Revolution puts the file into the defaultFolder sometimes, which is not always the same folder. Best Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz phone: +31 84 003 51 56 Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 30-aug-2006, om 0:43 heeft Sivakatirswami het volgende geschreven: > I'm getting more crashes under 2.7.3 than > I've had in past years with Revolution. > > What's the proper procedure? > > 1) Bugzilla? or Support at runrev.com? > 2) And, the crash report that is put up by OSX... > 3) should we copy that and save to the bug zilla? > 4) Should we also submit to Apple to by hitting the submit button > on their crash reporter? > > TIA > Sivakatirswami From benr_mc at cogapp.com Wed Aug 30 05:11:21 2006 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 30 Aug 2006 10:11:21 +0100 Subject: Sending an apple event with custom parameters (BBEdit roundtrip) Message-ID: <44F55639.6060301@cogapp.com> I want to send an AppleEvent with custom parameters, not covered in the application's dictionary. Specifically, I want to implement BBEdit round-trip editing - which perhaps others have already done? Essentially the missing piece in this is that when you invite BBEdit to open a document, you supply an extra parameter (keyServerID); it then knows to notify your application via an AppleEvent when the document is saved or closed. However, I cannot figure out how in Transcript to add parameters to a call. So I can do this inside a "tell BBEdit" (all sent via "do ... as applescript): open "/test.txt" or this (equivalent) <<event aevtodoc>> "/test.txt" or this open "/test.txt" opening in new_window or this (equivalent) <<event aevtodoc>> "/test.txt" opening in new_window but I can't figure out a syntax to let me add the optional parameter without using the dictionary, ie something like this should be the equivalent to the last two above: <<event aevtodoc>> "/test.txt" <<property OpnI>> new_window All the variations I've thought of give me a compiler error. So how do I do that, then? (Of course, if someone has a stack implementing BBEdit round-trip, that would answer this question and several others!) TIA, Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From marcus at runrev.com Wed Aug 30 05:35:29 2006 From: marcus at runrev.com (Marcus van Houdt) Date: Wed, 30 Aug 2006 10:35:29 +0100 Subject: U3 applications and Revolution In-Reply-To: <44F55639.6060301@cogapp.com> References: <44F55639.6060301@cogapp.com> Message-ID: <BC5C668E-441D-4445-BF48-C4CFEAE69191@runrev.com> Hi, In response to some recent posts on the list, I have created a forum entry with regards to building U3 applications using Revolution. It can be found at http://forums.runrev.com/phpBB2/viewtopic.php?p=1553 If you have any suggestions, comments or questions, please leave them at the forum. Marcus +~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+ Marcus van Houdt ~ marcus at runrev.com ~ http://www.runrev.com Runtime Revolution ~ User-Centric Development Tools +~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+ From paolo.mazza at neol.it Wed Aug 30 07:20:59 2006 From: paolo.mazza at neol.it (paolo mazza) Date: Wed, 30 Aug 2006 13:20:59 +0200 Subject: encode text to image In-Reply-To: <BC5C668E-441D-4445-BF48-C4CFEAE69191@runrev.com> References: <BC5C668E-441D-4445-BF48-C4CFEAE69191@runrev.com> Message-ID: <fc.000f58e500b4bfcf3b9aca0037f1105a.b4bfdf@fc.neol.it> I imported an image as text (URL file:xxx) I wonder if I can convert the text file to binary and set the imagedata of an image to it Ciao Paolo ******************************************************** Paolo Mazza NEOL SRL Via Calatafimi, 16 - 35137 PADOVA www.neol.it paolo.mazza at neol.it Tel 049-7386590 From larsbrehmer at mac.com Wed Aug 30 12:35:43 2006 From: larsbrehmer at mac.com (Lars Brehmer) Date: Wed, 30 Aug 2006 19:35:43 +0300 Subject: foreign languages in the script editor Message-ID: <9063726C-47CC-4BA8-A109-3CCBD7E6F320@mac.com> A question for you pros out there. I couldn't find much on this in the archives, so I have to ask you all now: Is there a way to use non Roman characters in the script editor? I have a pop-up menu button that gives two language choices for the program interface language - Estonian and Russian. All buttons and a few other things have 2 profiles - Estonian and Russian with the labels and text in the appropriate language. The problem seems to be that when I put the Russian choices into the menuPick script it doesn't respond. When I switch profiles with the message box, all is well. Is there a workaround for this? Another way characterize the menu choices that are in Russian in the button pop-up? on menuPick pWhichItem switch pWhichItem case "eesti keeles" beep exit menuPick break case "vene keeles" revSetCardProfile "rus" break case "?? ????????? ?????" -- could this be called something like "line 1 of the menu items for profile rus" or something along those lines? revSetCardProfile "Master" break case " ?? ??????? ?????" -- same as above beep exit menuPick break end switch end menuPick If there is not a known way to do this, anybody have any ideas? I need to demonstrate this project at the Estonian Ministry for Education and Research in a couple of weeks, so if I sound desperate, I guess I am. I have tired everything I can think of and I still hope I have the right idea but am making some little mistake I can't see myself. Cheers, Lars From index at kenjikojima.com Wed Aug 30 13:09:53 2006 From: index at kenjikojima.com (Kenji Kojima) Date: Wed, 30 Aug 2006 13:09:53 -0400 Subject: foreign languages in the script editor In-Reply-To: <9063726C-47CC-4BA8-A109-3CCBD7E6F320@mac.com> References: <9063726C-47CC-4BA8-A109-3CCBD7E6F320@mac.com> Message-ID: <8C050DB7-F1AB-4B46-8A2C-FC9B4279F81F@kenjikojima.com> Hi Lars, I use base64Encode in Japanese. -- Kenji Kojima http://www.kenjikojima.com/jikankei/ On Aug 30, 2006, at 12:35 PM, Lars Brehmer wrote: > A question for you pros out there. > > I couldn't find much on this in the archives, so I have to ask you > all now: > > Is there a way to use non Roman characters in the script editor? I > have a pop-up menu button that gives two language choices for the > program interface language - Estonian and Russian. All buttons and > a few other things have 2 profiles - Estonian and Russian with the > labels and text in the appropriate language. The problem seems to > be that when I put the Russian choices into the menuPick script it > doesn't respond. When I switch profiles with the message box, all > is well. Is there a workaround for this? Another way characterize > the menu choices that are in Russian in the button pop-up? > > on menuPick pWhichItem > switch pWhichItem > case "eesti keeles" > beep > exit menuPick > break > case "vene keeles" > revSetCardProfile "rus" > break > case "?? ????????? ?????" -- could this be called > something like "line 1 of the menu items for profile rus" or > something along those lines? > revSetCardProfile "Master" > break > case " ?? ??????? ?????" -- same as above > beep > exit menuPick > break > end switch > end menuPick > > If there is not a known way to do this, anybody have any ideas? I > need to demonstrate this project at the Estonian Ministry for > Education and Research in a couple of weeks, so if I sound > desperate, I guess I am. I have tired everything I can think of > and I still hope I have the right idea but am making some little > mistake I can't see myself. > > Cheers, > > Lars > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Aug 30 13:26:55 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 30 Aug 2006 10:26:55 -0700 Subject: Studio resizeing stack behind back of user...,ii Message-ID: <44F5CA5F.5030100@fourthworld.com> Mark Schonewille wrote: > You cannot change the size windowBoundingRect as Revolution sets it > on startup by yourself, as ar as I can see. Fortunately they've added a new extension to the screenRect function which allows us to deal with windowBoundingRect with complete flexibility -- from the v2.7.3 "What's New": The 'screenRect' function has been extended with the 'working' adjective: the working screenRect: returns the available work-area of the primary display There is a new function 'screenRects' which returns a list of all such rectangles on multi-monitor systems: the screenRects: returns the bounding rectangles of all the displays (one per line) the working screenRects: returns the available work-area of all displays (one per line) The windowBoundingRect property is settable, but without knowing the original values it wasn't previously possible to restore it to its default setting. Now that "the working screenRect" has been added we can know that, so one can easily and safely change the windowBoundingRect to that, or to any other value, knowing it can be restored to the default if needed. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From JimAultWins at yahoo.com Wed Aug 30 13:38:09 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 30 Aug 2006 10:38:09 -0700 Subject: Sending an apple event with custom parameters (BBEdit roundtrip) In-Reply-To: <44F55639.6060301@cogapp.com> Message-ID: <C11B1B11.3CDCB%JimAultWins@yahoo.com> On 8/30/06 2:11 AM, "Ben Rubinstein" <benr_mc at cogapp.com> wrote: > but I can't figure out a syntax to let me add the optional parameter without > using the dictionary, ie something like this should be the equivalent to the > last two above: > > <<event aevtodoc>> "/test.txt" <<property OpnI>> new_window > > All the variations I've thought of give me a compiler error. So how do I do > that, then? I think you need to think 'misc' 'dosc' with your own data structure and content. Google the following "dosc misc revolution" and look at a couple of the archive posts on our list. on appleEvent theClass,theID if theClass is "misc" and theID is "dosc" then request appleEvent data put it into thedata ---- Ken Ray has some good help pages on the use of appleEvents http://www.sonsothunder.com/devres/revolution/revolution.htm http://www.sonsothunder.com/devres/revolution/tips/ascr005.htm Jim Ault Las Vegas On 8/30/06 2:11 AM, "Ben Rubinstein" <benr_mc at cogapp.com> wrote: > I want to send an AppleEvent with custom parameters, not covered in the > application's dictionary. > > Specifically, I want to implement BBEdit round-trip editing - which perhaps > others have already done? > > Essentially the missing piece in this is that when you invite BBEdit to open a > document, you supply an extra parameter (keyServerID); it then knows to notify > your application via an AppleEvent when the document is saved or closed. > > However, I cannot figure out how in Transcript to add parameters to a call. > So I can do this inside a "tell BBEdit" (all sent via "do ... as applescript): > > open "/test.txt" > > or this (equivalent) > > <<event aevtodoc>> "/test.txt" > > or this > > open "/test.txt" opening in new_window > > or this (equivalent) > > <<event aevtodoc>> "/test.txt" opening in new_window > > but I can't figure out a syntax to let me add the optional parameter without > using the dictionary, ie something like this should be the equivalent to the > last two above: > > <<event aevtodoc>> "/test.txt" <<property OpnI>> new_window > > All the variations I've thought of give me a compiler error. So how do I do > that, then? > > (Of course, if someone has a stack implementing BBEdit round-trip, that would > answer this question and several others!) > > TIA, > > Ben Rubinstein | Email: benr_mc at cogapp.com > Cognitive Applications Ltd | Phone: +44 (0)1273-821600 > http://www.cogapp.com | Fax : +44 (0)1273-728866 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dcragg at lacscentre.co.uk Wed Aug 30 13:56:14 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 30 Aug 2006 18:56:14 +0100 Subject: foreign languages in the script editor In-Reply-To: <9063726C-47CC-4BA8-A109-3CCBD7E6F320@mac.com> References: <9063726C-47CC-4BA8-A109-3CCBD7E6F320@mac.com> Message-ID: <59AADABE-BB67-4882-9F81-1E63E3F6E422@lacscentre.co.uk> On 30 Aug 2006, at 17:35, Lars Brehmer wrote: > A question for you pros out there. > > I couldn't find much on this in the archives, so I have to ask you > all now: > > Is there a way to use non Roman characters in the script editor? I > have a pop-up menu button that gives two language choices for the > program interface language - Estonian and Russian. All buttons and > a few other things have 2 profiles - Estonian and Russian with the > labels and text in the appropriate language. The problem seems to > be that when I put the Russian choices into the menuPick script it > doesn't respond. When I switch profiles with the message box, all > is well. Is there a workaround for this? Another way characterize > the menu choices that are in Russian in the button pop-up? Off the top of my head and not tested. Can you store the Russian choices somewhere, for example in a custom property or hidden field? And in the menuPick script make a comparison with the stored versions. For example: on menuPick pWhichItem switch case pWhichItem = line 1 of field "storedItems" ## ##etc. end menuPick Cheers Dave From kray at sonsothunder.com Wed Aug 30 14:02:05 2006 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 30 Aug 2006 13:02:05 -0500 Subject: Sending an apple event with custom parameters (BBEdit roundtrip) In-Reply-To: <C11B1B11.3CDCB%JimAultWins@yahoo.com> Message-ID: <C11B3CCD.43929%kray@sonsothunder.com> On 8/30/06 12:38 PM, "Jim Ault" <JimAultWins at yahoo.com> wrote: > On 8/30/06 2:11 AM, "Ben Rubinstein" <benr_mc at cogapp.com> wrote: >> but I can't figure out a syntax to let me add the optional parameter without >> using the dictionary, ie something like this should be the equivalent to the >> last two above: >> >> <<event aevtodoc>> "/test.txt" <<property OpnI>> new_window >> >> All the variations I've thought of give me a compiler error. So how do I do >> that, then? > > I think you need to think 'misc' 'dosc' with your own data structure and > content. > > Google the following "dosc misc revolution" and look at a couple of the > archive posts on our list. > > on appleEvent theClass,theID > if theClass is "misc" and theID is "dosc" then > request appleEvent data > put it into thedata > ---- > Ken Ray has some good help pages on the use of appleEvents > http://www.sonsothunder.com/devres/revolution/revolution.htm > http://www.sonsothunder.com/devres/revolution/tips/ascr005.htm But keep in mind that you cannot do this with Revolution 2.7.3 because of a bug that scrambles the apple events. If you use Revolution 2.7.2, you can use apple events, but they come in backwards on Universal Binary builds (i.e. The class is "csim" and theID is "csod"), although PPC builds are OK. Anything 2.7.1 or earlier should work properly. See Bug #3809 in Bugzilla for more info. Just FYI, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From JimAultWins at yahoo.com Wed Aug 30 14:28:22 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 30 Aug 2006 11:28:22 -0700 Subject: Applescript question - request cmd Message-ID: <C11B26D6.3CDDC%JimAultWins@yahoo.com> Got error -1708 when sending Apple event in the dictionary request "the hilite of button 3" from program "HyperCard" Use the request command to obtain data from another application via the eval Apple event. on testAS request "address of active cell" from program "Microsoft Excel" request "value of active cell" from program "Microsoft Excel" request "get value of active cell" from program "Microsoft Excel" any of the above run from a script container gives: >>Got error -1708 when sending Apple event -- put "tell application "&q&"Microsoft Excel"&q&return into cmd -- put "get address of active cell"&return after cmd -- put "get value of active cell"&return after cmd -- put "end tell"&return after cmd -- do cmd as applescript >>correct result put it & cr & the result end testAS Question 1 - what am I missing to get the 'request' cmd to work Question 2 - Where can I find the error codes so I know what is wrong? Thanks, Jim Ault Las Vegas From mwieder at ahsoftware.net Wed Aug 30 15:08:44 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 30 Aug 2006 12:08:44 -0700 Subject: [partly OT?] Amazon S3, EC2, cyborgs In-Reply-To: <DA9EBDD1-2C75-4434-827D-A331BBC2586A@swcp.com> References: <788AB2FD-3029-4E6A-8BB8-9550282A1028@swcp.com> <10110832005.20060828123830@ahsoftware.net> <AB57558C-D3F0-4205-8A43-5F66A67B3C21@swcp.com> <9296573024.20060829122731@ahsoftware.net> <DA9EBDD1-2C75-4434-827D-A331BBC2586A@swcp.com> Message-ID: <562721863.20060830120844@ahsoftware.net> Dar- Tuesday, August 29, 2006, 4:13:25 PM, you wrote: > As you mentioned, the sha1 seems to be the stumbling block for S3 in > Rev, but that can be handled with shell() if S3 is needed in Rev. Anyone who wants to try debugging my attempt at an SHA1 library is welcome to it. But I'd really rather see it built into the engine for speed. > I have heard there are delays in getting computers started. Well, it's a beta program if that's what you mean. If you're referring to booting speed, I don't have any info on that. If you run your EC2 implementation 24/7 your cpu costs will run $72 a month. I assume, though, that the major use of this will be to configure a cluster of virtual machines for a given task, boot the cluster until the task is complete, then shut it down. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Aug 30 15:10:41 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 30 Aug 2006 12:10:41 -0700 Subject: u3: where to store data? In-Reply-To: <7aa52a210608292329v20522144j16c903eac7e1a670@mail.gmail.com> References: <20060827170005.69289825FB1@mail.runrev.com> <CB9F4FCB-DF00-459C-B8F5-508A78DB4925@derbrill.de> <7aa52a210608291917l2fd3be12w34134c207706225f@mail.gmail.com> <44F50546.6030309@pdslabs.net> <7aa52a210608292329v20522144j16c903eac7e1a670@mail.gmail.com> Message-ID: <1392839022.20060830121041@ahsoftware.net> > Phil, thanks... > 'You da man!!!' Ditto from here. Thanks, Phil (and Malte). Great useful stuff. -- -Mark Wieder mwieder at ahsoftware.net From janschenkel at yahoo.com Wed Aug 30 15:26:50 2006 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 30 Aug 2006 12:26:50 -0700 (PDT) Subject: Applescript question - request cmd In-Reply-To: <C11B26D6.3CDDC%JimAultWins@yahoo.com> Message-ID: <20060830192650.93846.qmail@web60521.mail.yahoo.com> --- Jim Ault <JimAultWins at yahoo.com> wrote: > Got error -1708 when sending Apple event > > in the dictionary > > request "the hilite of button 3" from program > "HyperCard" > Use the request command to obtain data from another > application via the eval > Apple event. > > on testAS > request "address of active cell" from program > "Microsoft Excel" > request "value of active cell" from program > "Microsoft Excel" > request "get value of active cell" from program > "Microsoft Excel" > > any of the above run from a script container gives: > >>Got error -1708 when sending Apple event > > -- put "tell application "&q&"Microsoft > Excel"&q&return into cmd > -- put "get address of active cell"&return after > cmd > -- put "get value of active cell"&return after > cmd > -- put "end tell"&return after cmd > -- do cmd as applescript > >>correct result > put it & cr & the result > end testAS > > > Question 1 - what am I missing to get the 'request' > cmd to work > > Question 2 - Where can I find the error codes so I > know what is wrong? > > Thanks, > > Jim Ault > Hi Jim, The 'request' command requires that the other application implements the 'eval' apple event. HyperCard was one of the few to implement it (along with FoxPro, IIRC), but it looks like Excel doesn't implement that particular apple event. And that's why your more convoluted second approach (building an AppleScript) works, as it sends the proper apple events to Excel. You could rework that into a generic 'getFromExcel' function that builds the AppleScript, executes said AppleScript, and returns the value of 'it'. The advantage of such a wrapper is that you can then add a platform check, and build and execute a VBScript instead of an AppleScript if your application is running on Windows. Jan Schenkel. Quartam Reports for Revolution <http://www.quartam.com> ===== "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 JimAultWins at yahoo.com Wed Aug 30 15:38:11 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 30 Aug 2006 12:38:11 -0700 Subject: Applescript question - request cmd In-Reply-To: <20060830192650.93846.qmail@web60521.mail.yahoo.com> Message-ID: <C11B3733.3CDE7%JimAultWins@yahoo.com> Thanks, Jan, I already have several utility scripts for doing the Applescript cmd building. I found the request command in the Rev reference and thought I would check it out for simple cases. Now that I know, I stick with my lib of wrappers. BTW, I did find the following link on the Apple site: http://developer.apple.com/documentation/AppleScript/Conceptual/AppleScriptL angGuide/index.html then look down near the bottom of the left hand scroll 'menu' for Error Numbers and Error Messages, then click. -1708 is <reference> doesn't understand the <commandName> message. which must mean that Excel does not understand the 'eval' message, like you said, Jan. Jim Ault On 8/30/06 12:26 PM, "Jan Schenkel" <janschenkel at yahoo.com> wrote: > --- Jim Ault <JimAultWins at yahoo.com> wrote: >> Got error -1708 when sending Apple event >> >> in the dictionary >> >> request "the hilite of button 3" from program >> "HyperCard" >> Use the request command to obtain data from another >> application via the eval >> Apple event. >> >> on testAS >> request "address of active cell" from program >> "Microsoft Excel" >> request "value of active cell" from program >> "Microsoft Excel" >> request "get value of active cell" from program >> "Microsoft Excel" >> >> any of the above run from a script container gives: >>>> Got error -1708 when sending Apple event >> >> -- put "tell application "&q&"Microsoft >> Excel"&q&return into cmd >> -- put "get address of active cell"&return after >> cmd >> -- put "get value of active cell"&return after >> cmd >> -- put "end tell"&return after cmd >> -- do cmd as applescript >>>> correct result >> put it & cr & the result >> end testAS >> >> >> Question 1 - what am I missing to get the 'request' >> cmd to work >> >> Question 2 - Where can I find the error codes so I >> know what is wrong? >> >> Thanks, >> >> Jim Ault >> > > Hi Jim, > > The 'request' command requires that the other > application implements the 'eval' apple event. > HyperCard was one of the few to implement it (along > with FoxPro, IIRC), but it looks like Excel doesn't > implement that particular apple event. > > And that's why your more convoluted second approach > (building an AppleScript) works, as it sends the > proper apple events to Excel. > You could rework that into a generic 'getFromExcel' > function that builds the AppleScript, executes said > AppleScript, and returns the value of 'it'. > > The advantage of such a wrapper is that you can then > add a platform check, and build and execute a VBScript > instead of an AppleScript if your application is > running on Windows. > > Jan Schenkel. > > Quartam Reports for Revolution > <http://www.quartam.com> > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La > Rochefoucauld) > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Wed Aug 30 16:11:42 2006 From: dsc at swcp.com (Dar Scott) Date: Wed, 30 Aug 2006 14:11:42 -0600 Subject: encode text to image In-Reply-To: <fc.000f58e500b4bfcf3b9aca0037f1105a.b4bfdf@fc.neol.it> References: <BC5C668E-441D-4445-BF48-C4CFEAE69191@runrev.com> <fc.000f58e500b4bfcf3b9aca0037f1105a.b4bfdf@fc.neol.it> Message-ID: <C5C2E40D-20A1-4B52-A1AC-23EBB435DC83@swcp.com> On Aug 30, 2006, at 5:20 AM, paolo mazza wrote: > I imported an image as text (URL file:xxx) > I wonder if I can convert the text file to binary and set the > imagedata of > an image to it If the image file format is inherently binary, such as PNG or JPEG, then you should read it as a binary file (URL binfile:). Reading a binary file as a text file will corrupt it. If it is really text, then it probably has some header information that includes the size, and then a bunch of numerals in decimal or hex. You need to know what its format is. From that, you can build imageData. If the file has an alpha channel (transparency) you can also build alphaData. After you have the image data, set the text of the image to empty then set the height and width of the image, then set the imageData (and alphaData). (I'm going by memory; there might be a flaw in that.) If the image file is really JPEG or PNG then simply set the text of the image to the value. Dar Scott From hershf at rgllc.us Wed Aug 30 16:20:00 2006 From: hershf at rgllc.us (Hershel Fisch) Date: Wed, 30 Aug 2006 16:20:00 -0400 Subject: Cgi function Message-ID: <C11B6B30.8412%hershf@rgllc.us> Hi, I'm wondering why the following function doesn't work in a CGI script? FUNCTION getTip put revOpenDatabase("Postgresql","127.0.0.1","test","postgres",) into tS put revDataFromQuery(,,ts,"select * from contact") into theTFile return theTFile END getTip If I add it to a button as below it works fine. ON mouseUp put getTip() END mouseUp Thanks, Hershel From dsc at swcp.com Wed Aug 30 16:24:19 2006 From: dsc at swcp.com (Dar Scott) Date: Wed, 30 Aug 2006 14:24:19 -0600 Subject: foreign languages in the script editor In-Reply-To: <9063726C-47CC-4BA8-A109-3CCBD7E6F320@mac.com> References: <9063726C-47CC-4BA8-A109-3CCBD7E6F320@mac.com> Message-ID: <271BBA59-9D10-4FA0-A021-C2E3605B252E@swcp.com> On Aug 30, 2006, at 10:35 AM, Lars Brehmer wrote: > Is there a way to use non Roman characters in the script editor? I > have a pop-up menu button that gives two language choices for the > program interface language - Estonian and Russian. All buttons and > a few other things have 2 profiles - Estonian and Russian with the > labels and text in the appropriate language. The problem seems to > be that when I put the Russian choices into the menuPick script it > doesn't respond. When I switch profiles with the message box, all > is well. Is there a workaround for this? Another way characterize > the menu choices that are in Russian in the button pop-up? Would menu history do what you want? Maybe you can ignore pWhichItem and menuHistory. What gets stuck into the script property does not seem to be what is typed in in the editor. The script property seems to get the low byte of each Unicode character. An alternate script editor might use some special syntax (say U"...") to generate UTF-8 or to build UTF-16 with format(), but I don't know of any such editor. Dar Scott From jbv.silences at club-internet.fr Wed Aug 30 16:44:37 2006 From: jbv.silences at club-internet.fr (jbv) Date: Wed, 30 Aug 2006 22:44:37 +0200 Subject: Cgi function References: <C11B6B30.8412%hershf@rgllc.us> Message-ID: <44F5F8AD.AAB70B7B@club-internet.fr> Hershel , Does your cgi engine include db library ? Did you set up somewhere in your script the path to the DB driver ? JB > Hi, I'm wondering why the following function doesn't work in a CGI script? > > FUNCTION getTip > put revOpenDatabase("Postgresql","127.0.0.1","test","postgres",) into tS > put revDataFromQuery(,,ts,"select * from contact") into theTFile > return theTFile > END getTip > > If I add it to a button as below it works fine. > > ON mouseUp > put getTip() > END mouseUp > > Thanks, Hershel From abril at mayafun.com Wed Aug 30 17:26:26 2006 From: abril at mayafun.com (Alvaro Abril - Tecnologia) Date: Wed, 30 Aug 2006 15:26:26 -0600 Subject: How I can to save files .txt on internet? In-Reply-To: <271BBA59-9D10-4FA0-A021-C2E3605B252E@swcp.com> Message-ID: <20060830184928.0B409825193@mail.runrev.com> Dear Sirs: I have some servers on internet. I want to save information directly on internet using .txt files. How can I? If I specify the path, is it necesary to place username and password in order to access the server? I know about instructions open, write, read, close... but how can I to apply this commands to save on internet? Cordialmente, Alvaro Abril Tecnolog?a Divertia S.A. www.fantasticguatemala.com Tel. 502 2410 4600 Fax.502 2410 4646 Guatemala From klaus at major-k.de Wed Aug 30 16:38:25 2006 From: klaus at major-k.de (Klaus Major) Date: Wed, 30 Aug 2006 22:38:25 +0200 Subject: How I can to save files .txt on internet? In-Reply-To: <20060830184928.0B409825193@mail.runrev.com> References: <20060830184928.0B409825193@mail.runrev.com> Message-ID: <2C4AF393-FEA1-4113-9FD7-556B0B09D60D@major-k.de> Buenas tardes Alvaro :-) > Dear Sirs: > > I have some servers on internet. I want to save information > directly on > internet using .txt files. How can I? See below... > If I specify the path, is it necesary to place username and > password in > order to access the server? Yes. > I know about instructions open, write, read, close... but how can I > to apply > this commands to save on internet? You will have to use FTP to upload your files to your server(s). Check "libURLftpUpload" and/or "libURLftpUploadFile" in the docs. That will get you started. > Cordialmente, > Alvaro Abril > Tecnolog?a > Divertia S.A. > www.fantasticguatemala.com > Tel. 502 2410 4600 > Fax.502 2410 4646 > Guatemala Best from germany Klaus Major klaus at major-k.de http://www.major-k.de From abril at mayafun.com Wed Aug 30 17:41:10 2006 From: abril at mayafun.com (Alvaro Abril - Tecnologia) Date: Wed, 30 Aug 2006 15:41:10 -0600 Subject: How I can to save files .txt on internet? In-Reply-To: <2C4AF393-FEA1-4113-9FD7-556B0B09D60D@major-k.de> Message-ID: <20060830190412.2985882516E@mail.runrev.com> Thank you Klauss ... Good instructions, but where we can I to place the username and password of the server? Cordialmente, Alvaro Abril Tecnolog?a Divertia S.A. www.fantasticguatemala.com Tel. 502 2410 4600 Fax.502 2410 4646 Guatemala -----Mensaje original----- De: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] En nombre de Klaus Major Enviado el: Mi?rcoles, 30 de Agosto de 2006 02:38 p.m. Para: How to use Revolution Asunto: Re: How I can to save files .txt on internet? Importancia: Alta Buenas tardes Alvaro :-) > Dear Sirs: > > I have some servers on internet. I want to save information > directly on > internet using .txt files. How can I? See below... > If I specify the path, is it necesary to place username and > password in > order to access the server? Yes. > I know about instructions open, write, read, close... but how can I > to apply > this commands to save on internet? You will have to use FTP to upload your files to your server(s). Check "libURLftpUpload" and/or "libURLftpUploadFile" in the docs. That will get you started. > Cordialmente, > Alvaro Abril > Tecnolog?a > Divertia S.A. > www.fantasticguatemala.com > Tel. 502 2410 4600 > Fax.502 2410 4646 > Guatemala Best 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 hershf at rgllc.us Wed Aug 30 16:43:01 2006 From: hershf at rgllc.us (Hershel Fisch) Date: Wed, 30 Aug 2006 16:43:01 -0400 Subject: Cgi function In-Reply-To: <44F5F8AD.AAB70B7B@club-internet.fr> Message-ID: <C11B7095.841B%hershf@rgllc.us> On 8/30/06 4:44 PM, "jbv" <jbv.silences at club-internet.fr> wrote: > > > Hershel , > > Does your cgi engine include db library ? > Did you set up somewhere in your script the path to the DB driver ? > > JB Good thinking, I didn't think about that because its local, but any how should that be done? I believe that the same thing applies when its uploaded to a hosting server. Thanks, > >> Hi, I'm wondering why the following function doesn't work in a CGI script? >> >> FUNCTION getTip >> put revOpenDatabase("Postgresql","127.0.0.1","test","postgres",) into tS >> put revDataFromQuery(,,ts,"select * from contact") into theTFile >> return theTFile >> END getTip >> >> If I add it to a button as below it works fine. >> >> ON mouseUp >> put getTip() >> END mouseUp >> >> Thanks, 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 jbv.silences at club-internet.fr Wed Aug 30 17:18:04 2006 From: jbv.silences at club-internet.fr (jbv) Date: Wed, 30 Aug 2006 23:18:04 +0200 Subject: Cgi function References: <C11B7095.841B%hershf@rgllc.us> Message-ID: <44F60083.C7B294BD@club-internet.fr> Hershel , Well, some other list members might give you more accurate answers, but as for cgi engine I'm using Rev 2.5 on a Linux server because I've been told that this version includes db libs as well as xml libs. As for the db driver path, I use the following lines : put "/usr/local/bin/" into path revSetDatabaseDriverPath path right before the script line that calls revOpenDatabase... HTH, JB > > > > > Hershel , > > > > Does your cgi engine include db library ? > > Did you set up somewhere in your script the path to the DB driver ? > > > > JB > Good thinking, I didn't think about that because its local, but any how > should that be done? I believe that the same thing applies when its uploaded > to a hosting server. > Thanks, > > > >> Hi, I'm wondering why the following function doesn't work in a CGI script? > >> > >> FUNCTION getTip > >> put revOpenDatabase("Postgresql","127.0.0.1","test","postgres",) into tS > >> put revDataFromQuery(,,ts,"select * from contact") into theTFile > >> return theTFile > >> END getTip > >> > >> If I add it to a button as below it works fine. > >> > >> ON mouseUp > >> put getTip() > >> END mouseUp > >> > >> Thanks, 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 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: -- _________________________ Faith is a central nervous system disease, like Alzheimer or multiple sclerosis. From m.schonewille at economy-x-talk.com Wed Aug 30 17:11:29 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 30 Aug 2006 23:11:29 +0200 Subject: My Revolution folder Message-ID: <723C2C11-3540-4CC8-9D54-BB0971E186C4@economy-x-talk.com> Hello, Quite a few people who are using Rev 2.7.x have reported to me not to have a My Revolution folder in their documents folder, while there are also quite a few people who report they have this folder. I would like to have some insight in how many people don't see a My Revolution folder and what might cause what might cause this "problem". 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 lists at mangomultimedia.com Wed Aug 30 17:19:39 2006 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 30 Aug 2006 14:19:39 -0700 Subject: My Revolution folder In-Reply-To: <723C2C11-3540-4CC8-9D54-BB0971E186C4@economy-x-talk.com> References: <723C2C11-3540-4CC8-9D54-BB0971E186C4@economy-x-talk.com> Message-ID: <CA033574-53E0-40CA-9537-A2A63B4E0E32@mangomultimedia.com> On Aug 30, 2006, at 2:11 PM, Mark Schonewille wrote: > Hello, > > Quite a few people who are using Rev 2.7.x have reported to me not > to have a My Revolution folder in their documents folder, while > there are also quite a few people who report they have this folder. > I would like to have some insight in how many people don't see a My > Revolution folder and what might cause what might cause this > "problem". Revolution does not install this folder. Your (or some tool you use) has to create it. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From m.schonewille at economy-x-talk.com Wed Aug 30 17:22:54 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 30 Aug 2006 23:22:54 +0200 Subject: My Revolution folder In-Reply-To: <CA033574-53E0-40CA-9537-A2A63B4E0E32@mangomultimedia.com> References: <723C2C11-3540-4CC8-9D54-BB0971E186C4@economy-x-talk.com> <CA033574-53E0-40CA-9537-A2A63B4E0E32@mangomultimedia.com> Message-ID: <DF06CA9F-074C-430E-92BF-63F0A11D3A00@economy-x-talk.com> Then I must have created it :-) Thanks Trevor. -- 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-aug-2006, om 23:19 heeft Trevor DeVore het volgende geschreven: > Revolution does not install this folder. Your (or some tool you > use) has to create it. > > > -- > Trevor DeVore > Blue Mango Learning Systems - www.bluemangolearning.com > trevor at bluemangolearning.com From hershf at rgllc.us Wed Aug 30 18:17:54 2006 From: hershf at rgllc.us (Hershel Fisch) Date: Wed, 30 Aug 2006 18:17:54 -0400 Subject: Cgi function In-Reply-To: <44F60083.C7B294BD@club-internet.fr> Message-ID: <C11B86D2.8422%hershf@rgllc.us> On 8/30/06 5:18 PM, "jbv" <jbv.silences at club-internet.fr> wrote: > put "/usr/local/bin/" into path > revSetDatabaseDriverPath path Hi, doesn't work, "Internal error". Tanks, Hershel From rbarber at yhb.att.ne.jp Wed Aug 30 20:35:44 2006 From: rbarber at yhb.att.ne.jp (ron) Date: Wed, 30 Aug 2006 20:35:44 -0400 Subject: foreign languages in the script editor In-Reply-To: <9063726C-47CC-4BA8-A109-3CCBD7E6F320@mac.com> References: <9063726C-47CC-4BA8-A109-3CCBD7E6F320@mac.com> Message-ID: <64f70c36043c1d95c6a9aa46874e728a@yhb.att.ne.jp> Hi Lars, This is the one place where I can consistently make rev crash - using unicode in the script editor. I use two approaches for my app using Japanese/Korean/Chinese and they work for me. The first works with menus that don't have any submenus, the second approach is for those with submenus so you have to use the name. 1. put the menuhistory of me into pWhichItem switch pWhichItem case 1 ..... case 2 ..... etc 2. I unidecode the pWhichItem before trying to switch the case. put unidecode(pWhichItem,"japanese") into pWhichItem switch pWhichItem case "?????..." HTH. Note also Kenji's solution in a previous post. Ron On Aug 30, 2006, at 12:35 PM, Lars Brehmer wrote: > A question for you pros out there. > > I couldn't find much on this in the archives, so I have to ask you all > now: > > Is there a way to use non Roman characters in the script editor? I > have a pop-up menu button that gives two language choices for the > program interface language - Estonian and Russian. All buttons and a > few other things have 2 profiles - Estonian and Russian with the > labels and text in the appropriate language. The problem seems to be > that when I put the Russian choices into the menuPick script it > doesn't respond. When I switch profiles with the message box, all is > well. Is there a workaround for this? Another way characterize the > menu choices that are in Russian in the button pop-up? > > on menuPick pWhichItem > switch pWhichItem > case "eesti keeles" > beep > exit menuPick > break > case "vene keeles" > revSetCardProfile "rus" > break > case "?? ????????? ?????" -- could this be called something like > "line 1 of the menu items for profile rus" or something along those > lines? > revSetCardProfile "Master" > break > case " ?? ??????? ?????" -- same as above > beep > exit menuPick > break > end switch > end menuPick > > If there is not a known way to do this, anybody have any ideas? I > need to demonstrate this project at the Estonian Ministry for > Education and Research in a couple of weeks, so if I sound desperate, > I guess I am. I have tired everything I can think of and I still hope > I have the right idea but am making some little mistake I can't see > myself. > > Cheers, > > Lars > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Aug 30 21:02:57 2006 From: mark at maseurope.net (Mark Smith) Date: Thu, 31 Aug 2006 02:02:57 +0100 Subject: How I can to save files .txt on internet? In-Reply-To: <20060830190412.2985882516E@mail.runrev.com> References: <20060830190412.2985882516E@mail.runrev.com> Message-ID: <4D9DC296-4DC3-444A-8CA8-741106C33FCD@maseurope.net> Alvaro, you can include the username and password as part of the URL: ftp://username:password at remoteserver/directory/file Best, Mark On 30 Aug 2006, at 22:41, Alvaro Abril - Tecnologia wrote: > Thank you Klauss ... Good instructions, but where we can I to place > the > username and password of the server? > > Cordialmente, > Alvaro Abril > Tecnolog?a > Divertia S.A. > www.fantasticguatemala.com > Tel. 502 2410 4600 > Fax.502 2410 4646 > Guatemala > > -----Mensaje original----- > De: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] En nombre de Klaus > Major > Enviado el: Mi?rcoles, 30 de Agosto de 2006 02:38 p.m. > Para: How to use Revolution > Asunto: Re: How I can to save files .txt on internet? > Importancia: Alta > > Buenas tardes Alvaro :-) > >> Dear Sirs: >> >> I have some servers on internet. I want to save information >> directly on >> internet using .txt files. How can I? > > See below... > >> If I specify the path, is it necesary to place username and >> password in >> order to access the server? > > Yes. > >> I know about instructions open, write, read, close... but how can I >> to apply >> this commands to save on internet? > > You will have to use FTP to upload your files to your server(s). > > Check "libURLftpUpload" and/or "libURLftpUploadFile" in the docs. > That will get you started. > >> Cordialmente, >> Alvaro Abril >> Tecnolog?a >> Divertia S.A. >> www.fantasticguatemala.com >> Tel. 502 2410 4600 >> Fax.502 2410 4646 >> Guatemala > > Best 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 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From katir at hindu.org Wed Aug 30 05:41:47 2006 From: katir at hindu.org (Sivakatirswami) Date: Tue, 29 Aug 2006 23:41:47 -1000 Subject: Crash report procedure In-Reply-To: <C11A89B6.436C5%kray@sonsothunder.com> References: <C11A89B6.436C5%kray@sonsothunder.com> Message-ID: <44F55D5B.8000505@hindu.org> (MORE THAN YOU WANT TO KNOW: ) Well most recent crashes seemed to be related to http url calls during a period when our internet connection was really bad. Our cable modem here was running with a 36% packet loss for a few days until Ocean Time Warner fixed it today. but it meant that downloaded files were ending up incomplete, or corrupt, even though an actual file was downloaded and sitting on disk with the right file name but probably with no valid eof. One recipe for sure is: I'm getting unexpectedly quit from altSplash in a standalone app which is trying check to see if it has a copy of a stack file it needs already on disk. If it does, then it doesn't need to go get a new one from the server, but if the one on disk is corrupt altSplash is crashing Rev. I manually deleted the files it's supposed to be looking for, and re-ran it. Now it works. "Oh, you don't have the stack files you need, I'll go get them again from the web server." What makes me nervous is not so much that things can go wrong... that's to be expected. But there's no way for the user recover in some of these situations. So, yes, I know where the files are but in a "public" distribution, all that user is going to experience is crash, with no way to recover. He doesn't know that if he digs into his application support and into this other folder he can find some stacks he needs to delete. Of course it means we might need to build in a little more error checking, perhaps a checksum() on some stack files and if it's not in a reasonable range, then assume the files are corrupt and delete them and get fresh copies. I need to do better at logging the context and scenarios. Frankly this kind of thing is a bit over my head... If Rev actually crashes, there's no way to trap with "catch" and do anything intelligent, no mechanism to get a user to send us a report or tell them how to fix it. The UI is gone, Kaput! No way to click on "Support" and send us anything....that's scary. They would have to be aggressive enough to want to solve the problem to go to our web site and then email us from there. Very few users will do that. ummmm. This could all boil down to (tentative guess) go stack ("~/Library/Preferences/HTDigital/" & "someCorruptStack.rev") causes Rev to crash? guess is should be possible to test that if one "contrived" a corrupt stack file...maybe open in BBEdit and hack it up and save? Sivakatirswami Ken Ray wrote: > On 8/29/06 5:43 PM, "Sivakatirswami" <katir at hindu.org> wrote: > > >> I'm getting more crashes under 2.7.3 than >> I've had in past years with Revolution. >> > > What crashes are you getting, and what do you think is triggering them? > > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From chipp at chipp.com Thu Aug 31 01:56:49 2006 From: chipp at chipp.com (Chipp Walters) Date: Thu, 31 Aug 2006 00:56:49 -0500 Subject: Crash report procedure In-Reply-To: <44F55D5B.8000505@hindu.org> References: <C11A89B6.436C5%kray@sonsothunder.com> <44F55D5B.8000505@hindu.org> Message-ID: <7aa52a210608302256o4d06004bo907563197747fd5d@mail.gmail.com> Sivakatirswami, altSplash (there are probably quite a few new versions since the one you have) looks for a fld 'vers' in the mainstack (not the standalone). If I were you, I'd try something like: if there is a file tMainStackPath then if there is a stack tMainStackPath then That way it will check to see if it's a valid path. If you're still getting a crash then you might use a try statement around the 'if thre is a stack' I'm pretty sure that's where you're running into problems. Even so, I've never seen altSplash crash on a corrupted stack, and a press of the resetAll button should delete the offending stack and quit so the user can relaunch. HTH, Chipp From chipp at chipp.com Thu Aug 31 01:58:17 2006 From: chipp at chipp.com (Chipp Walters) Date: Thu, 31 Aug 2006 00:58:17 -0500 Subject: Crash report procedure In-Reply-To: <7aa52a210608302256o4d06004bo907563197747fd5d@mail.gmail.com> References: <C11A89B6.436C5%kray@sonsothunder.com> <44F55D5B.8000505@hindu.org> <7aa52a210608302256o4d06004bo907563197747fd5d@mail.gmail.com> Message-ID: <7aa52a210608302258k503de5d2r617836c265f4ff0a@mail.gmail.com> On 8/31/06, Chipp Walters <chipp at chipp.com> wrote: > I've never seen altSplash crash on a corrupted stack, That said, I haven't really been using 2.7 much either. Recently built some 2.7 U3 products, but that's about it. From paolo.mazza at neol.it Thu Aug 31 03:47:24 2006 From: paolo.mazza at neol.it (paolo mazza) Date: Thu, 31 Aug 2006 09:47:24 +0200 Subject: encode text to image In-Reply-To: <C5C2E40D-20A1-4B52-A1AC-23EBB435DC83@swcp.com> References: <C5C2E40D-20A1-4B52-A1AC-23EBB435DC83@swcp.com> Message-ID: <fc.000f58e500b4cd983b9aca0037f1105a.b4cdc5@fc.neol.it> Thank you Dar . I have to store an image in a MySQL database and I was told I could store the text... it is not gonna work ... I thought it was like that.... but I wanted be sure that there was not a way to recover the imagedata from the text. So, I have to encode and decode the image data ... I tryed this way, but unfortunately , when I decode image data and upload it in in the database, some chars get lost. Ciao Paolo > > >> I imported an image as text (URL file:xxx) >> I wonder if I can convert the text file to binary and set the >> imagedata of >> an image to it > >If the image file format is inherently binary, such as PNG or JPEG, >then you should read it as a binary file (URL binfile:). Reading a >binary file as a text file will corrupt it. > > >If it is really text, then it probably has some header information >that includes the size, and then a bunch of numerals in decimal or >hex. You need to know what its format is. > > From that, you can build imageData. If the file has an alpha >channel (transparency) you can also build alphaData. > > >After you have the image data, set the text of the image to empty >then set the height and width of the image, then set the imageData >(and alphaData). (I'm going by memory; there might be a flaw in that.) > >If the image file is really JPEG or PNG then simply set the text of >the image to the value. > >Dar Scott ******************************************************** Paolo Mazza NEOL SRL Via Calatafimi, 16 - 35137 PADOVA www.neol.it paolo.mazza at neol.it Tel 049-7386590 From klaus at major-k.de Thu Aug 31 04:09:24 2006 From: klaus at major-k.de (Klaus Major) Date: Thu, 31 Aug 2006 10:09:24 +0200 Subject: How I can to save files .txt on internet? In-Reply-To: <20060830190412.2985882516E@mail.runrev.com> References: <20060830190412.2985882516E@mail.runrev.com> Message-ID: <CFF10DAE-E16B-45C3-9F0C-38DF9299D09F@major-k.de> Hi Alvaro, > Thank you Klauss ... Good instructions, but where we can I to place > the > username and password of the server? I think Mark Smith already answered this: ftp://username:password at remoteserver/directory/file But, madre de dios, my name is STILL spelled Klaus, with only ONE "s"! :-D > Cordialmente, > Alvaro Abril > Tecnolog?a > Divertia S.A. > www.fantasticguatemala.com > Tel. 502 2410 4600 > Fax.502 2410 4646 > Guatemala Regards Klaus Major klaus at major-k.de http://www.major-k.de From jbv.silences at club-internet.fr Thu Aug 31 05:21:52 2006 From: jbv.silences at club-internet.fr (jbv) Date: Thu, 31 Aug 2006 11:21:52 +0200 Subject: Cgi function References: <C11B86D2.8422%hershf@rgllc.us> Message-ID: <44F6AA2F.8C7A0B87@club-internet.fr> Hershel, Actually you need to place the db driver inside a folder of your choice and let it know to the rev cgi engine by these 2 lines in your scripts. JB > On 8/30/06 5:18 PM, "jbv" <jbv.silences at club-internet.fr> wrote: > > > put "/usr/local/bin/" into path > > revSetDatabaseDriverPath path > Hi, doesn't work, "Internal error". > Tanks, Hershel From paolo.mazza at neol.it Thu Aug 31 05:30:40 2006 From: paolo.mazza at neol.it (paolo mazza) Date: Thu, 31 Aug 2006 11:30:40 +0200 Subject: Cgi function In-Reply-To: <44F6AA2F.8C7A0B87@club-internet.fr> References: <C11B86D2.8422%hershf@rgllc.us> <,> <44F6AA2F.8C7A0B87@club-internet.fr> Message-ID: <fc.000f58e500b4cee83b9aca00b8a9de46.b4cef7@fc.neol.it> JB, I am Just trying this in MACOSX As far as I know the last Rev engine for MacOSX is 2.5 If I send >revSetDatabaseDriverPath to Rev 2.5 i get an error. Are you sure the mySQL Library is included in the 2.5 engine? How can I check this? Thanks Paolo How to use Revolution <use-revolution at lists.runrev.com> writes: >> On 8/30/06 5:18 PM, "jbv" <jbv.silences at club-internet.fr> wrote: >> >> > put "/usr/local/bin/" into path >> > revSetDatabaseDriverPath path >> Hi, doesn't work, "Internal error". >> Tanks, Hershel ******************************************************** Paolo Mazza NEOL SRL Via Calatafimi, 16 - 35137 PADOVA www.neol.it paolo.mazza at neol.it Tel 049-7386590 From jbv.silences at club-internet.fr Thu Aug 31 06:48:05 2006 From: jbv.silences at club-internet.fr (jbv) Date: Thu, 31 Aug 2006 12:48:05 +0200 Subject: Cgi function References: <C11B86D2.8422%hershf@rgllc.us> <,> <44F6AA2F.8C7A0B87@club-internet.fr> <fc.000f58e500b4cee83b9aca00b8a9de46.b4cef7@fc.neol.it> Message-ID: <44F6BE61.67C0B321@club-internet.fr> paolo, what I know for sure is that the Linux Rev 2.5 I'm using as cgi engine for more than 2 years on a Linux box accepts revSetDatabaseDriverPath... Perhaps should you asked RR support : AFAIR this is where I got the advice about using Rev 2.5 because it featured various libs... JB > JB, > I am Just trying this in MACOSX > As far as I know the last Rev engine for MacOSX is 2.5 > If I send > >revSetDatabaseDriverPath > to Rev 2.5 i get an error. > Are you sure the mySQL Library is included in the 2.5 engine? > How can I check this? > Thanks Paolo > > How to use Revolution <use-revolution at lists.runrev.com> writes: > >> On 8/30/06 5:18 PM, "jbv" <jbv.silences at club-internet.fr> wrote: > >> > >> > put "/usr/local/bin/" into path > >> > revSetDatabaseDriverPath path > >> Hi, doesn't work, "Internal error". > >> Tanks, Hershel > > ******************************************************** > Paolo Mazza > NEOL SRL > Via Calatafimi, 16 - 35137 PADOVA > www.neol.it paolo.mazza at neol.it > Tel 049-7386590 From benr_mc at cogapp.com Thu Aug 31 06:33:41 2006 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 31 Aug 2006 10:33:41 +0000 (UTC) Subject: Sending an apple event with custom parameters (BBEdit roundtrip) References: <44F55639.6060301@cogapp.com> <C11B1B11.3CDCB%JimAultWins@yahoo.com> Message-ID: <loom.20060831T123139-205@post.gmane.org> Jim Ault <JimAultWins at ...> writes: > > I think you need to think 'misc' 'dosc' with your own data structure and > content. > > Google the following "dosc misc revolution" and look at a couple of the > archive posts on our list. > > on appleEvent theClass,theID > if theClass is "misc" and theID is "dosc" then > request appleEvent data > put it into thedata Hi Jim, Thanks for the reply - but that's the other end of the round trip. You're right that I also need to handle the appleEvent message, in order to receive the messages from BBEdit when they come in - but I won't be receiving any until I can send the right command to BBEdit in the first place. So my question remains, how do I *send* an event with custom parameters? TIA, Ben From benr_mc at cogapp.com Thu Aug 31 06:39:53 2006 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 31 Aug 2006 10:39:53 +0000 (UTC) Subject: Sending an apple event with custom parameters (BBEdit roundtrip) References: <C11B1B11.3CDCB%JimAultWins@yahoo.com> <C11B3CCD.43929%kray@sonsothunder.com> Message-ID: <loom.20060831T123745-258@post.gmane.org> Ken Ray <kray at ...> writes: > But keep in mind that you cannot do this with Revolution 2.7.3 because of a > bug that scrambles the apple events. If you use Revolution 2.7.2, you can > use apple events, but they come in backwards on Universal Binary builds > (i.e. The class is "csim" and theID is "csod"), although PPC builds are OK. > Anything 2.7.1 or earlier should work properly. See Bug #3809 in Bugzilla > for more info. Thanks Ken - that's a handy reminder for when my Rev app starts *receiving* appleEvents from BBEdit. However, it's moot until I can figure out how my Rev app can *send* an apple event with custom parameters. Perhaps I was too optimistic: maybe my question should have been, not how do I do this, but *can* Revolution send an apple event with custom parameters? TIA, Ben From katir at hindu.org Thu Aug 31 05:05:45 2006 From: katir at hindu.org (Sivakatirswami) Date: Wed, 30 Aug 2006 23:05:45 -1000 Subject: Call for Media Viewer Test: Windows Users Especially Message-ID: <44F6A669.8000308@hindu.org> I would kind request anyone who has time to test the following. go stack decompress(URL "http://www.hinduismtoday.com/digital/htde_media-player.rev.gz") It is a small "Media Viewer" that streams on-line video and sound via Quicktime. I have the players set to SMIL files, but we are getting reports from some Windows users that this stack is crashing the standalone completely. Some horrible Window message that the our application has to be closed and there is this ugly message from Microsoft saying: "The error was caused by Quicktime player. the Software was created by Apple inc." There is an auto start the starts one player after 2 secs The previous version for this stack was working fine. So I'm looking at possible culprit being my "innovative" attempt to do a SMIL slide show behind audio file playing on top of a series of seq's that call a remote slide every 1minute10secs. Possibly QT on Windows is incapable of handling this. So I may have shot myself in the foot expecting MS to be able to do what Apple can do.... Send reports to me off list. Thanks! Sivakatirswami From jrvalent at wisc.edu Thu Aug 31 08:36:37 2006 From: jrvalent at wisc.edu (rand valentine) Date: Thu, 31 Aug 2006 07:36:37 -0500 Subject: Subject: Re: more on the recorder Message-ID: <C11C4205.5B6F%jrvalent@wisc.edu> Thanks to the people who have given me information about recording sound in Revolution on both mac and pc. The bottom line for me is that it doesn't seem remotely work _at all_. While I was able to get something to work on my g4 laptop initially (by using the imic input and playing with the system settings independently), now nothing works, all I get are super, super slow unrecognizable recordings, whether the recordinput is imic, emic or dflt. I wonder why this is, and why such an important function is in such bad shape. I'm using 2.7.2. For those of us who use runrev to produce language materials, this capacity to record in the program is quite important, since it provides a means for students to compare their pronunciations with those of native speakers (by just recording the student and then a&b-ing the student's sound and the native speaker's) rand valentine u of wisconsin-madison From tereza at califex.com Thu Aug 31 09:25:34 2006 From: tereza at califex.com (Tereza Snyder) Date: Thu, 31 Aug 2006 08:25:34 -0500 Subject: Crash report procedure In-Reply-To: <44F55D5B.8000505@hindu.org> References: <C11A89B6.436C5%kray@sonsothunder.com> <44F55D5B.8000505@hindu.org> Message-ID: <EF41917E-F7B7-4E7D-B0EB-BA8628E8D118@califex.com> On Aug 30, 2006, at 4:41 AM, Sivakatirswami wrote: ... > > Of course it means we might need to build in a little more error > checking, > perhaps a checksum() on some stack files and if it's not in a > reasonable > range, then assume the files are corrupt and delete them and get > fresh copies. > I need to do better at logging the context and scenarios. > Frankly this kind of thing is a bit over my head... > A possible strategy could be to provide, at your server, a small file with an MD5 digest or other check associated with each stack. Your application obtains that file first, then downloads the stack as binary data (perhaps writing it to disk with a "~" prefix, as Metacard does for stack saves), then checks the file for correctness, and finally renames the file and opens it only if it passes the test. I know it's obvious, but I had to stick my finger in, t -- Tereza Snyder Califex Software, Inc. www.califexsoftware.com From sanke at hrz.uni-kassel.de Thu Aug 31 09:29:07 2006 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Thu, 31 Aug 2006 15:29:07 +0200 Subject: encode text to image Message-ID: <44F6E423.4070006@hrz.uni-kassel.de> On Thu Aug 31, 2006, paolo mazza paolo.mazza at neol.it wrote: > Thank you Dar . > I have to store an image in a MySQL database and I was told I could store > the text... it is not gonna work ... I thought it was like that.... but I > wanted be sure that there was not a way to recover the imagedata from the > text. > > So, I have to encode and decode the image data ... I tryed this way, but > unfortunately , when I decode image data and upload it in in the database, > some chars get lost. > > Ciao Paolo > > >After you have the image data, set the text of the image to empty > >then set the height and width of the image, then set the imageData > >(and alphaData). (I'm going by memory; there might be a flaw in that.) > > > >If the image file is really JPEG or PNG then simply set the text of > >the image to the value. > > > >Dar Scott Getting the "text" of an image and then later setting the imagedata to that text indeed results in very much distorted images. What is probably needed here would be property like he "formattedtext of image x". When you compare the number of chars of the "text" of the image and the number of chars of the imagedata you see that a lot of chars is missing in the text.- I used the scripts below in an experimental stack, which worked fine with most pictures (that is, with very few pictures some lines are missing at the bottom of the image, but otherwise the image is undistorted - the reason for the missing lines escapes me). A. Converting the imagedata to text: "on mouseUp put the imageData of image x into iData put empty into imagetext repeat for each char c in idata put chartonum(C) into tc put numtochar(tC) after imagetext end repeat put imagetext into fld "imagetext" end mouseUp" B. Setting the imagedata from the text: "on mouseUp put the imageData of image x into iData put 0 into counter put fld "imagetext" into tText repeat for each char C in tText add 1 to counter put chartonum(char counter of tText) into tC put numtochar(tC) into char counter of idata end repeat set the imageData of image x to iData end mouseUp" The important thing here is to first get the imagedata of the image in which you want to display the stored imagetext data. If you use - as a variation of the second script - "put empty into idata" and " put numtochar(tC) after idata" in the above script you will get a picture, but also a very distorted one. Regards, Wilhelm Sanke <http://www.sanke.org/MetaMedia> From joel.guillod at net2000.ch Thu Aug 31 12:49:44 2006 From: joel.guillod at net2000.ch (Joel Guillod) Date: Thu, 31 Aug 2006 18:49:44 +0200 Subject: Cgi function In-Reply-To: <20060831115100.1B11C8253C0@mail.runrev.com> References: <20060831115100.1B11C8253C0@mail.runrev.com> Message-ID: <99B1BC7E-366C-4C6A-AF3B-557AE650500C@net2000.ch> > revSetDatabaseDriverPath... The rev documentation states that : ?The revSetDatabaseDriverPath command is part of the Database library. To ensure that the command works in a standalone application, you must include this custom library when you create your standalone.? I have no idea but a need to solve this problem. With rev CGI you only have the engine not a standalone which includes the library. So maybe we have to manually include the revDatabase Library into another stack... From martyknapp at comcast.net Thu Aug 31 13:08:19 2006 From: martyknapp at comcast.net (Marty Knapp) Date: Thu, 31 Aug 2006 10:08:19 -0700 Subject: Communicate with stepper motors? In-Reply-To: <4D9DC296-4DC3-444A-8CA8-741106C33FCD@maseurope.net> References: <20060830190412.2985882516E@mail.runrev.com> <4D9DC296-4DC3-444A-8CA8-741106C33FCD@maseurope.net> Message-ID: <44F71783.4040007@comcast.net> I was talking with a guy yesterday who said that using Basic you could use the printer port on Windows to talk to a stepper motor. I know pretty much nothing about robotics (or communicating through ports for that matter). Does anyone know if this is possible with Rev? I read through the docs and could see that one can read from and write data to com ports and LPT ports, but wouldn't a stepper motor just need electrical pulses sent to it? I realize I'm revealing my ignorance to the world here, but any help would be appreciated. Marty Knapp From tkuypers at dmp-int.com Thu Aug 31 13:34:02 2006 From: tkuypers at dmp-int.com (Ton Kuypers) Date: Thu, 31 Aug 2006 19:34:02 +0200 Subject: mySQL & RR question Message-ID: <0FBB9906-E730-4406-AA8F-6280714EF9F9@dmp-int.com> Hi gang, I have created a few (and still more coming up) client-server applications using RR and mySQL, but now I am in need for a way to to create a back-up possibility for remote databases... The clients are Macs and PC's, the servers running the database Server can be Windows or Mac I need to create a dump of the whole database, including all table descriptions and content. Anyone any idea what to do, to get a dump of the database on one of the remote administrator desktops, or on my own development Mac, to have a local copy of the database? What I can do of course is use the "DESCRIBE" function and create my own dump, but is there another way anybody knows of? The content can run into thousands and thousands of records, so retrieving that and storing it locally can be a small problem when doing it this way, so any suggestions are welcome... Warm regards, Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com From stephenREVOLUTION at barncard.com Thu Aug 31 13:38:14 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 31 Aug 2006 10:38:14 -0700 Subject: Communicate with stepper motors? In-Reply-To: <44F71783.4040007@comcast.net> References: <20060830190412.2985882516E@mail.runrev.com> <4D9DC296-4DC3-444A-8CA8-741106C33FCD@maseurope.net> <44F71783.4040007@comcast.net> Message-ID: <p06230905c11cc9ac53d0@[192.168.1.40]> I worked with a lot of stepper motors in my days in the movies working with Jim Cameron in the early 80's. You don't want to create the pulses yourself unless you're trying to prove something. Stepper motors require a lot more than 'electrical pulses' sent to it. They also would need anywhere from 0 - 5000 pulses per second. But the killer part is that steppers need to be RAMPED. That is, they need to be started slowly and ramp to speed. So what you need is a stepper motor controller to create the pulses. If you're good with a soldering iron, you can create a controller this way http://www.controlchips.com/cy545.htm These are reasonably cheap. Also stepper motors consume current. YOu can't just take the output of an interface directly to a motor. It takes driver transistors and a high current low voltage supply to make it work. There are often 4 or even more coils to feed, and they must be fed a perfect square wave at the right time and in the right sequence, like an internal combustion engine. Superior Electric used to make the packaged products to drive steppers that I used at New World Pictures. These are pretty expensive, but they contain all you need to drive a motor from a computer serial port. http://www.danahermotion.com/products/product_detail.php?parent_id=549 Finally, you have to decide on a strategy of feedback. That is, you need to keep track of the absolute position of whatever you're controlling. If it's just 360 degrees, that's one thing. BUt if it's controlling a camera running down a track, then you need an external way to keep tabs on where you are. For that end one usually uses encoders. Also another alternative might be a DC SERVO which works inside a feedback loop. Offset the loop plus or minus voltage and the motor runs. Encoders are part of the package. Servos are more accurate and can deliver more torque quicker. >I was talking with a guy yesterday who said that using Basic you >could use the printer port on Windows to talk to a stepper motor. I >know pretty much nothing about robotics (or communicating through >ports for that matter). Does anyone know if this is possible with >Rev? I read through the docs and could see that one can read from >and write data to com ports and LPT ports, but wouldn't a stepper >motor just need electrical pulses sent to it? > >I realize I'm revealing my ignorance to the world here, but any help >would be appreciated. > >Marty Knapp -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From dsc at swcp.com Thu Aug 31 13:59:12 2006 From: dsc at swcp.com (Dar Scott) Date: Thu, 31 Aug 2006 11:59:12 -0600 Subject: encode text to image In-Reply-To: <fc.000f58e500b4cd983b9aca0037f1105a.b4cdc5@fc.neol.it> References: <C5C2E40D-20A1-4B52-A1AC-23EBB435DC83@swcp.com> <fc.000f58e500b4cd983b9aca0037f1105a.b4cdc5@fc.neol.it> Message-ID: <2D0ADE28-6508-494A-BF93-F8BF8FFA9F52@swcp.com> On Aug 31, 2006, at 1:47 AM, paolo mazza wrote: > I have to store an image in a MySQL database and I was told I could > store > the text... it is not gonna work ... I thought it was like that.... > but I > wanted be sure that there was not a way to recover the imagedata > from the > text. > > So, I have to encode and decode the image data ... I tryed this > way, but > unfortunately , when I decode image data and upload it in in the > database, > some chars get lost. The name "the text" for the property of the image that stores the standard compressed image is a little strange since the is binary. Perhaps it comes from the fact that you can do this... put imageValue into image "Image 1" ... and it is the same as this... set the text of image "Image 1" to imageValue ...just the same as setting the text of a field. If you have control over the type, you can store that in MySQL safely as a BLOB type, perhaps LONGBLOB. If you must store it as TEXT, you might be OK. If you are seeing roundtrip conversion problems, then you might want to convert the image to base64 using base64Encode() and back using base64Decode(). The function base64Encode() maps arbitrary binary data into a subset of ASCII characters. The roundtrip problem (if you have one) might not be in MySQL, but in the interface. Dar Scott From david at dvglasgow.wanadoo.co.uk Thu Aug 31 14:04:57 2006 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Thu, 31 Aug 2006 19:04:57 +0100 Subject: Skin conductance measurement In-Reply-To: <20060829170005.9293D824F0D@mail.runrev.com> References: <20060829170005.9293D824F0D@mail.runrev.com> Message-ID: <48c8e41c54fd9f6527c3a52307f48764@dvglasgow.wanadoo.co.uk> The guy that designed it was nice enough to send me a copy of his thesis. This, plus the posts from the Revistas makes it clear this is way out of my league. So unless I am offered a Chair at MIT....... Thanks anyway, and if anyone does anything on physiological measurement and Rev, be sure to post the news! Best Wishes, David Glasgow Carlton Glasgow Partnership http://www.i-psych.co.uk On 29 Aug 2006, at 6:00 pm, use-revolution-request at lists.runrev.com wrote: > > Don't forget that a Bluetooth interface will also give the maximum > electrical isolation for the subject!!! (that would actually be my > FIRST concern!) > > Optoisolators or transformers must be used (it's probably a law) > between a human subject and anything connected to mains-based devices. > > That would rule out any DC-scaled sensors (most optoisolators are not > linear) unless they're wired into a data acquisition module at the > patient end. Old systems probably used PWM for output to get through > the isolation. > > Isolation and safety should be foremost in medical equipment design. > (Duh) > > Me? I don't want to write software that can blow up something, hurt > someone or get me sued! ( I guess that also means defense contracts?) > > > Good luck with your new project. Multiply your estimate of how much > time it will take by 10, unless you can get out-of-the-box products to > do what you want. Interfacing with the noisy, drifting, always > changing Analog world after being in a nice, save, digital-stepped > world can be a bit jarring. > > I'd love to have a software-hardware Bluetooth breadboard kit, with > rev XCMDs for all platforms. > > [I can dream - or make one!!] > > > sqb > >> >> Then you'll have to learn how to program the PIC microcontroller to >> access the EDA device data and communicate with the main app. You >> could probably get by without the Bluetooth if you could deal with the >> limited portability, as that's what would eat up most of the battery >> power, but portability seems one of the primary advantages of this >> project. All in all, I think this isn't something I'd want to tackle >> without having something like the resources of an MIT behind me - note >> that this project was a Mechanical Engineering thesis. >> >> -- >> -Mark Wieder >> mwieder at ahsoftware.net From dsc at swcp.com Thu Aug 31 14:16:33 2006 From: dsc at swcp.com (Dar Scott) Date: Thu, 31 Aug 2006 12:16:33 -0600 Subject: Communicate with stepper motors? In-Reply-To: <44F71783.4040007@comcast.net> References: <20060830190412.2985882516E@mail.runrev.com> <4D9DC296-4DC3-444A-8CA8-741106C33FCD@maseurope.net> <44F71783.4040007@comcast.net> Message-ID: <245D7903-CDF0-486E-857D-63B908C80593@swcp.com> On Aug 31, 2006, at 11:08 AM, Marty Knapp wrote: > I was talking with a guy yesterday who said that using Basic you > could use the printer port on Windows to talk to a stepper motor. I > know pretty much nothing about robotics (or communicating through > ports for that matter). Does anyone know if this is possible with > Rev? I read through the docs and could see that one can read from > and write data to com ports and LPT ports, but wouldn't a stepper > motor just need electrical pulses sent to it? > > I realize I'm revealing my ignorance to the world here, but any > help would be appreciated. The stepper motor does not use pulses in that sense, but phase changes. You won't be able to drive the motor directly with TTL, you will need to do level shifting. Some motors need current going both directions, so this might get involved. The printer port has gotten pretty smart since the last time I used it, so this might or might not work. It might be worth a try. In the BIOS set the printer port to the simplest form you can find. It might be called classic. You can find some printer port data online. You might be able to rig it so the handshake is always there or it always responds to each byte sent out. Better, put in a oneshot or other delay so you can write several bytes and have the motor moving at that speed. You would drive the motor by sending four or 8 letters to it in a repeating sequence. I have used a driver that makes all bits available for bit twiddling, so you can get input. I forgot the name and I don't think it was being maintained last I used it. I have read about another that makes this bit twiddling I/O available as though you have a serial port. I'd look around online for output-only printer port I/O tips. You might have trouble with jitter and getting up to speed. You might be better off getting a hobby robot control board from many sources and using a serial interface. You can also try some toy/ educational robots. None of those will do microstepping, but if you have a motor that needs both positive and negative currents, you might have off as a half step. Dar Scott From kray at sonsothunder.com Thu Aug 31 15:03:49 2006 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 31 Aug 2006 14:03:49 -0500 Subject: mySQL & RR question In-Reply-To: <0FBB9906-E730-4406-AA8F-6280714EF9F9@dmp-int.com> Message-ID: <C11C9CC5.43CD3%kray@sonsothunder.com> On 8/31/06 12:34 PM, "Ton Kuypers" <tkuypers at dmp-int.com> wrote: > Hi gang, > > I have created a few (and still more coming up) client-server > applications using RR and mySQL, but now I am in need for a way to to > create a back-up possibility for remote databases... > The clients are Macs and PC's, the servers running the database > Server can be Windows or Mac > > I need to create a dump of the whole database, including all table > descriptions and content. > Anyone any idea what to do, to get a dump of the database on one of > the remote administrator desktops, or on my own development Mac, to > have a local copy of the database? It's really simple - you just need to use shell() to call on the mysqldump command line utility. For example, if you want to dump a database called "test" to a file at "/Users/ken/test.sql" you'd execut this at the command line (assuming a login of "root" and no password): mysqldump -u root test > /Users/ken/test.sql Depending on the size of the database this can take anything from a few seconds to several minutes. To give you an idea, I routinely "dump" a database with hundreds of thousands of records to a 250MB .sql file and it takes about 8 minutes. If you execute this manually in the console (Terminal in OS X or "DOS box" in Windows), you will know that it has completed when you get another command line prompt. You can, of course, execute it from Rev with shell(), in which case you won't get control back until the dump has finished. HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Thu Aug 31 15:11:02 2006 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 31 Aug 2006 14:11:02 -0500 Subject: Sending an apple event with custom parameters (BBEdit roundtrip) In-Reply-To: <loom.20060831T123745-258@post.gmane.org> Message-ID: <C11C9E76.43CDB%kray@sonsothunder.com> On 8/31/06 5:39 AM, "Ben Rubinstein" <benr_mc at cogapp.com> wrote: > Ken Ray <kray at ...> writes: >> But keep in mind that you cannot do this with Revolution 2.7.3 because of a >> bug that scrambles the apple events. If you use Revolution 2.7.2, you can >> use apple events, but they come in backwards on Universal Binary builds >> (i.e. The class is "csim" and theID is "csod"), although PPC builds are OK. >> Anything 2.7.1 or earlier should work properly. See Bug #3809 in Bugzilla >> for more info. > > Thanks Ken - that's a handy reminder for when my Rev app starts *receiving* > appleEvents from BBEdit. > > However, it's moot until I can figure out how my Rev app can *send* an apple > event with custom parameters. > > Perhaps I was too optimistic: maybe my question should have been, not how do I > do this, but *can* Revolution send an apple event with custom parameters? You should be able to use an AppleScript wrapper, so you can do something like this example: tell application "Safari" ?event GURLGURL? "http://www.apple.com/" end tell Note that the characters around "event" are not less-than and greater-than symbols (i.e. Not << >>) but chevrons (? ?) created using Option-\ and Option-Shift-\. See: http://developer.apple.com/documentation/AppleScript/Conceptual/AppleEvents/ debugging_aepg/chapter_9_section_3.html HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From tkuypers at dmp-int.com Thu Aug 31 15:34:23 2006 From: tkuypers at dmp-int.com (Ton Kuypers) Date: Thu, 31 Aug 2006 21:34:23 +0200 Subject: mySQL & RR question In-Reply-To: <C11C9CC5.43CD3%kray@sonsothunder.com> References: <C11C9CC5.43CD3%kray@sonsothunder.com> Message-ID: <3D84135C-5FBD-42DD-8C0F-87D2228871F8@dmp-int.com> ok, the mysqldump I know, what I didn't know I could use it across the network... Will give it a try, thanks :-) Warm regards, Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com On 31-aug-06, at 21:03, Ken Ray wrote: > On 8/31/06 12:34 PM, "Ton Kuypers" <tkuypers at dmp-int.com> wrote: > >> Hi gang, >> >> I have created a few (and still more coming up) client-server >> applications using RR and mySQL, but now I am in need for a way to to >> create a back-up possibility for remote databases... >> The clients are Macs and PC's, the servers running the database >> Server can be Windows or Mac >> >> I need to create a dump of the whole database, including all table >> descriptions and content. >> Anyone any idea what to do, to get a dump of the database on one of >> the remote administrator desktops, or on my own development Mac, to >> have a local copy of the database? > > It's really simple - you just need to use shell() to call on the > mysqldump > command line utility. For example, if you want to dump a database > called > "test" to a file at "/Users/ken/test.sql" you'd execut this at the > command > line (assuming a login of "root" and no password): > > mysqldump -u root test > /Users/ken/test.sql > > Depending on the size of the database this can take anything from a > few > seconds to several minutes. To give you an idea, I routinely "dump" a > database with hundreds of thousands of records to a 250MB .sql file > and it > takes about 8 minutes. > > If you execute this manually in the console (Terminal in OS X or > "DOS box" > in Windows), you will know that it has completed when you get another > command line prompt. You can, of course, execute it from Rev with > shell(), > in which case you won't get control back until the dump has finished. > > HTH, > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From scott at tactilemedia.com Thu Aug 31 15:43:17 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 31 Aug 2006 12:43:17 -0700 Subject: Another Plugin Question Message-ID: <C11C89E5.1114C%scott@tactilemedia.com> Where should libraries used by plugins be placed in the 2.7 folder structure? I have a stack to be used as a library by more than one Rev plugin. I don't need the stack accessible by users since it only provides functions, but there doesn't appear to be any means in Rev's Plugins Manager to configure a stack to open as a library, or to just not open at all. The only thing that comes to mind is to have Rev open the library stack as invisible and then call "start using" the library stack from my "real" plugins. This assumes I place the library stack in the plugins folder. Should I be placing the library somewhere else? Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From sanke at hrz.uni-kassel.de Thu Aug 31 16:15:42 2006 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Thu, 31 Aug 2006 22:15:42 +0200 Subject: encode text to image Message-ID: <44F7436E.3000208@hrz.uni-kassel.de> On Thu, 31 Aug 2006, Dar Scott <dsc at swcp.com> wrote: >The name "the text" for the property of the image that stores the >standard compressed image is a little strange since the is binary. >Perhaps it comes from the fact that you can do this... > > put imageValue into image "Image 1" > >... and it is the same as this... > > set the text of image "Image 1" to imageValue > >...just the same as setting the text of a field. > >(snip) > >Dar Scott Hi Dar, when I first tried to make use of the "text" property of images (someone on the list mentioned this property, maybe it was you?) I found that setting the text of an image to an imagevalue - as you describe it above -just produces a white and blank image, in case the imagevalue used was the "text" of the image extracted before: Putting the text of an image into a global (or elsewhere) "put the text of image x into imagetext" and then "set the text of image x to imagetext" produces a white and blank image. Maybe I am missing something very simple here, but all variations I tried with the "text" property failed.- The solution I showed in my earlier post of this thread (today) does *not* make use of the text property, but converts the imagedata chars to text chars, which can then indeed be used to restore the original image. And this opens the possiblity to store imagedata as plain text, which is what I guess Paolo intended. Best regards, Wilhelm Sanke <www.sanke.org/MetaMedia> From mark at maseurope.net Thu Aug 31 16:29:25 2006 From: mark at maseurope.net (Mark Smith) Date: Thu, 31 Aug 2006 21:29:25 +0100 Subject: Another Plugin Question In-Reply-To: <C11C89E5.1114C%scott@tactilemedia.com> References: <C11C89E5.1114C%scott@tactilemedia.com> Message-ID: <591E0F72-CEB7-4B7A-9923-25678B8CC026@maseurope.net> If you know the path (maybe a sub-folder of the plugins folder), couldn't you have an openStack handler in your plugins that starts using the library? Best, Mark On 31 Aug 2006, at 20:43, Scott Rossi wrote: > Where should libraries used by plugins be placed in the 2.7 folder > structure? > > I have a stack to be used as a library by more than one Rev > plugin. I don't > need the stack accessible by users since it only provides > functions, but > there doesn't appear to be any means in Rev's Plugins Manager to > configure a > stack to open as a library, or to just not open at all. The only > thing that > comes to mind is to have Rev open the library stack as invisible > and then > call "start using" the library stack from my "real" plugins. This > assumes I > place the library stack in the plugins folder. Should I be placing > the > library somewhere else? > > 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 jacque at hyperactivesw.com Thu Aug 31 16:30:30 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 31 Aug 2006 15:30:30 -0500 Subject: Another Plugin Question In-Reply-To: <C11C89E5.1114C%scott@tactilemedia.com> References: <C11C89E5.1114C%scott@tactilemedia.com> Message-ID: <44F746E6.9070206@hyperactivesw.com> Scott Rossi wrote: > Where should libraries used by plugins be placed in the 2.7 folder > structure? > > I have a stack to be used as a library by more than one Rev plugin. I don't > need the stack accessible by users since it only provides functions, but > there doesn't appear to be any means in Rev's Plugins Manager to configure a > stack to open as a library, or to just not open at all. The only thing that > comes to mind is to have Rev open the library stack as invisible and then > call "start using" the library stack from my "real" plugins. This assumes I > place the library stack in the plugins folder. Should I be placing the > library somewhere else? I have one of those. I used the Plugin Settings dialog to assign the stack to receive a "revOpenStack" message whenever a stack is opened. Then I put a handler in the stack script: on revOpenStack start using this stack end revOpenStack Then I set the stack to open invisibly when Rev starts up. After that, the first stack I open puts my library in use. Actually, every stack that is opened puts it in use all over again, but that doesn't hurt anything. If it bothers you, though, you can add: if the short name of this stack is not in the stacksinuse then start using this stack -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From abril at mayafun.com Thu Aug 31 17:45:56 2006 From: abril at mayafun.com (Alvaro Abril - Tecnologia) Date: Thu, 31 Aug 2006 15:45:56 -0600 Subject: How I can to save files .txt on internet? In-Reply-To: <CFF10DAE-E16B-45C3-9F0C-38DF9299D09F@major-k.de> Message-ID: <20060831190847.54EED825E86@mail.runrev.com> Hello Klaus.. Thanks ! I have other question. If I need to link .swf files, how I can? Cordialmente, Alvaro Abril Tecnolog?a Divertia S.A. www.fantasticguatemala.com Tel. 502 2410 4600 Fax.502 2410 4646 Guatemala -----Mensaje original----- De: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] En nombre de Klaus Major Enviado el: Jueves, 31 de Agosto de 2006 02:09 a.m. Para: How to use Revolution Asunto: Re: How I can to save files .txt on internet? Importancia: Alta Hi Alvaro, > Thank you Klauss ... Good instructions, but where we can I to place > the > username and password of the server? I think Mark Smith already answered this: ftp://username:password at remoteserver/directory/file But, madre de dios, my name is STILL spelled Klaus, with only ONE "s"! :-D > Cordialmente, > Alvaro Abril > Tecnolog?a > Divertia S.A. > www.fantasticguatemala.com > Tel. 502 2410 4600 > Fax.502 2410 4646 > Guatemala 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 dsc at swcp.com Thu Aug 31 17:05:14 2006 From: dsc at swcp.com (Dar Scott) Date: Thu, 31 Aug 2006 15:05:14 -0600 Subject: Another Plugin Question In-Reply-To: <C11C89E5.1114C%scott@tactilemedia.com> References: <C11C89E5.1114C%scott@tactilemedia.com> Message-ID: <C22EF0F7-12B2-4BD5-A63A-9625BD16E99B@swcp.com> On Aug 31, 2006, at 1:43 PM, Scott Rossi wrote: > Where should libraries used by plugins be placed in the 2.7 folder > structure? These questions are on my mind, too. I don't have an answer, but I have a few hints and opinions. You might guess that it could go into a new folder "Stack Libraries" next to the plugins folder. However, the section "New Distribution Structure" of file Whats_New.txt says that the Standalone Builder builds using the externals in the parallel folder "Externals", so there is a risk that the Standalone Builder will start inserting everything in folder "Stack Libraries" into builds. You might guess that it could go into a folder in the Plugins folder. This might be safe; I think altPlugins uses a folder in the plugins folder. However, it would be nice to have some structure in the plugins menu when it gets complicated. Also, vendors might use a submenu to keep all of their plugins from cluttering the plugin menu. One way to get that structure is to use subfolders. Rev can create the menu based on the folder structure. I like the idea, but I suspect it won't happen, so following Chipp's example should be OK. In the case of darzTimer, I embedded stack libraries and externals in the plugin stack, so I avoided the issue. I start using the libraries all in RAM, but the external is in a temp folder for a short time. Nothing is installed and no litter is left about. > I have a stack to be used as a library by more than one Rev > plugin. I don't > need the stack accessible by users since it only provides > functions, but > there doesn't appear to be any means in Rev's Plugins Manager to > configure a > stack to open as a library, or to just not open at all. The only > thing that > comes to mind is to have Rev open the library stack as invisible > and then > call "start using" the library stack from my "real" plugins. This > assumes I > place the library stack in the plugins folder. Should I be placing > the > library somewhere else? If the library is embedded, then it might be in all or in the primary of those plugins. That primary plugin can be used to make sure the library is start'd. It can be accessed by the other plugins to make sure the library is start'd. One plugin might have a way to make sure it is start'd so users can use it. If the library is intended to have a life independent of the plugins, such as being part of a standalone, then you can have an option to install it in some location. The plugins will need to have some way to know where that is so they can use it. The user can decide where that location is. An OS might have a recommended location for support and you can make that the default save location. Allowing the user to choose also makes it clear that you are installing something and where it is. My current plans for the future darzTimer is to allow the user to install the library where desired and let the user decide. However, if you learn of the right place to put user accessible libraries, I might switch. I'm currently thinking of distributing everything as plugins and let the plugin handle extended installation & updating, buying, docs, tutorials, and so on. I think having a folder for libraries that MIGHT go into a standalone could be handy. Right now there is only the Add Stack File... button. If there was a standard place for libraries, there might be check boxes or a multiple selection field. I wouldn't want them to automatically clutter a standalone as is described for the External folder. Dar Scott From dsc at swcp.com Thu Aug 31 17:18:50 2006 From: dsc at swcp.com (Dar Scott) Date: Thu, 31 Aug 2006 15:18:50 -0600 Subject: Another Plugin Question In-Reply-To: <44F746E6.9070206@hyperactivesw.com> References: <C11C89E5.1114C%scott@tactilemedia.com> <44F746E6.9070206@hyperactivesw.com> Message-ID: <8F051534-7B4A-43DA-9FEA-D725DDBA7E82@swcp.com> On Aug 31, 2006, at 2:30 PM, J. Landman Gay wrote: > Then I set the stack to open invisibly when Rev starts up. After > that, the first stack I open puts my library in use. Actually, > every stack that is opened puts it in use all over again, but that > doesn't hurt anything. If it bothers you, though, you can add: > > if the short name of this stack is not in the stacksinuse > then start using this stack Perhaps a robust library should be able to handle (or even exploit) being start'd multiple times. In this case, since the plugin is a "friend" of the library, it can handle the library with kid gloves as needed. It can even use hidden commands as needed. Dar From klaus at major-k.de Thu Aug 31 17:21:10 2006 From: klaus at major-k.de (Klaus Major) Date: Thu, 31 Aug 2006 23:21:10 +0200 Subject: How I can to save files .txt on internet? In-Reply-To: <20060831190847.54EED825E86@mail.runrev.com> References: <20060831190847.54EED825E86@mail.runrev.com> Message-ID: <CEFDFDAA-29A8-4C86-A28D-439F38FE635C@major-k.de> Hi Alvaro, > Hello Klaus.. Gracias, correct spelling :-) > Thanks ! You're welcome. > I have other question. If I need to link .swf files, > how I can? Hmm... Good question... You have 2 possibilities here: 1. Use a player object and play the Flash files via Quicktime. Pro: Built in solution Con: Needs QuickTime to be installed on the target computer and QT only supports Flash up to version 5 (or 6?) of Flash. 2. Use Chipps "altBrowser" external, that will supply a REAL internt-browser (inluding Flash etc...!) inside your Rev stacks and thus can play any Flash content. Pro: You can display websites inside your stacks on Mac an Win. Con: You will have to buy this external, but I can really recommend this solution! Check Chipps website for more info: http://www.altuit.com/webs/altuit2/altBrowserCover/default.htm Hope that helps. > Cordialmente, > Alvaro Abril > Tecnolog?a > Divertia S.A. > www.fantasticguatemala.com > Tel. 502 2410 4600 > Fax.502 2410 4646 > Guatemala Regards Klaus Major klaus at major-k.de http://www.major-k.de From dsc at swcp.com Thu Aug 31 17:28:35 2006 From: dsc at swcp.com (Dar Scott) Date: Thu, 31 Aug 2006 15:28:35 -0600 Subject: encode text to image In-Reply-To: <44F7436E.3000208@hrz.uni-kassel.de> References: <44F7436E.3000208@hrz.uni-kassel.de> Message-ID: <0E210EEF-2D2F-4D5B-8F72-501D64EE9D15@swcp.com> On Aug 31, 2006, at 2:15 PM, Wilhelm Sanke wrote: > Putting the text of an image into a global (or elsewhere) > > "put the text of image x into imagetext" > > and then > > "set the text of image x to imagetext" > > produces a white and blank image. > > Maybe I am missing something very simple here, but all variations I > tried with the "text" property failed.- I don't see it on Rev 2.7.3 on G4 with OS X 2.7.3 even after going to another card and back. Could there be some setting of paintCompression that affects this? There is a bug in which some images do not render correctly and a bug in which some lose transparency on card changes. Maybe those are related. Maybe there is an unexpected formatting option in an imported image. Dar From revolutionary.dan at gmail.com Thu Aug 31 17:40:28 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Thu, 31 Aug 2006 14:40:28 -0700 Subject: Standalone OS X Apps in 2.7.3 - Default Button Broken Message-ID: <70ed6b130608311440t319e272l49b58ce4cedf29f5@mail.gmail.com> I'm probably not searching by the right set of criteria, so there may be a BZ on this but I wanted to confirm this is a known issue. If I create a standalone app for OS X using 2.7.3, the default button comes out looking like the old Classic (OS9) default button rather than the new throbbing blue one. Not to say I wouldn't actually *prefer* the older button, but it's clearly wrong. Is this a known issue? Any fix or workaround or am I forced once again back to 2.6.1 because of stuff RR broke when moving to the 2.7 family? -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From dsc at swcp.com Thu Aug 31 17:47:54 2006 From: dsc at swcp.com (Dar Scott) Date: Thu, 31 Aug 2006 15:47:54 -0600 Subject: Communicate with stepper motors? In-Reply-To: <245D7903-CDF0-486E-857D-63B908C80593@swcp.com> References: <20060830190412.2985882516E@mail.runrev.com> <4D9DC296-4DC3-444A-8CA8-741106C33FCD@maseurope.net> <44F71783.4040007@comcast.net> <245D7903-CDF0-486E-857D-63B908C80593@swcp.com> Message-ID: <DDA92B72-8F71-41A9-BFF5-12BB5D4C5D6B@swcp.com> On Aug 31, 2006, at 12:16 PM, Dar Scott wrote: > You might have trouble with jitter and getting up to speed. Stephen Barncard mentioned that you need ramping. I think you can ramp with control from a serial port if you set a specified delay in your circuit for the handshake. All you need to do is repeat the same character several times. For example, suppose you use the lower two bits of the character code to control a two phase motor. Your forward stepping cycle could be "dfeg" allowing those bits to be 0, 1, 2 and then 3. To ramp up and step forward a total of 39 times you write this to the printer at one time (assuming on g): dddddffffeeeeggggdddfffeeeggddfegdfegdfegdfegdfegdfegddffeeggdddfffeeeeg ggggd Knowing your handshake time and the max acceleration and the max speed, you can calculate the string before hand. Now, if this is for more than tinkering, you might want some sort of a controller with a serial interface (or an interface that looks like serial). If the timing of the oneshot for handshake makes you go so slow that you don't need to ramp, then this is a lot easier. The motor is slow, though. If you simplify the handshake and don't have a delay, then you need to ramp up by sending one character at a time and varying the delay between characters. This will have a little bit of jitter at higher speeds and can have problems if you approach the max speed of the motor. My experience with stepper motors is mostly with scientific instruments. Dar From mwieder at ahsoftware.net Thu Aug 31 18:04:42 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 31 Aug 2006 15:04:42 -0700 Subject: mySQL & RR question In-Reply-To: <0FBB9906-E730-4406-AA8F-6280714EF9F9@dmp-int.com> References: <0FBB9906-E730-4406-AA8F-6280714EF9F9@dmp-int.com> Message-ID: <9699679832.20060831150442@ahsoftware.net> Ton- Thursday, August 31, 2006, 10:34:02 AM, you wrote: > I need to create a dump of the whole database, including all table > descriptions and content. mysqldump -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Aug 31 18:13:05 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 31 Aug 2006 15:13:05 -0700 Subject: Communicate with stepper motors? In-Reply-To: <p06230905c11cc9ac53d0@[192\.168\.1\.40]> References: <20060830190412.2985882516E@mail.runrev.com> <4D9DC296-4DC3-444A-8CA8-741106C33FCD@maseurope.net> <44F71783.4040007@comcast.net> <p06230905c11cc9ac53d0@[192.168.1.40]> Message-ID: <112100183305.20060831151305@ahsoftware.net> Marty- In addition to what Stephen posted, I want to add that if you *do* decide to write the low-level stuff yourself, stay away from setSerialControlString (BZ#1708). What you'll end up with is the port being reset before each new control value is set, and you'll have extra pulses in uncomfortable places. -- -Mark Wieder mwieder at ahsoftware.net From kray at sonsothunder.com Thu Aug 31 18:31:08 2006 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 31 Aug 2006 17:31:08 -0500 Subject: Standalone OS X Apps in 2.7.3 - Default Button Broken In-Reply-To: <70ed6b130608311440t319e272l49b58ce4cedf29f5@mail.gmail.com> Message-ID: <C11CCD5C.43D40%kray@sonsothunder.com> On 8/31/06 4:40 PM, "Dan Shafer" <revolutionary.dan at gmail.com> wrote: > I'm probably not searching by the right set of criteria, so there may be a > BZ on this but I wanted to confirm this is a known issue. > > If I create a standalone app for OS X using 2.7.3, the default button comes > out looking like the old Classic (OS9) default button rather than the new > throbbing blue one. Not to say I wouldn't actually *prefer* the older > button, but it's clearly wrong. > > Is this a known issue? Any fix or workaround or am I forced once again back > to 2.6.1 because of stuff RR broke when moving to the 2.7 family? Nope, you just need to copy the Plugins folder from the Rev bundle (in Contents) into your standalone's bundle. Something I *really hope* will be automated in the next version of Rev... Right now there are too many "oh yeah, and don't forget..." issues when building standalones with Rev to make it as easy as it should be, IMHO. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From stephenREVOLUTION at barncard.com Thu Aug 31 19:01:54 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 31 Aug 2006 16:01:54 -0700 Subject: Call for Media Viewer Test: Windows Users Especially In-Reply-To: <44F6A669.8000308@hindu.org> References: <44F6A669.8000308@hindu.org> Message-ID: <p06230907c11d1a9b4bb6@[192.168.1.40]> Is Micro$oft still doing that stuff to break others' competing products? I thought they got busted and had to stop. sqb > >"The error was caused by Quicktime player. the Software was created >by Apple inc." >... > >Thanks! >Sivakatirswami -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From stephenREVOLUTION at barncard.com Thu Aug 31 19:07:40 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 31 Aug 2006 16:07:40 -0700 Subject: Call for Media Viewer Test: Windows Users Especially In-Reply-To: <p06230907c11d1a9b4bb6@[192.168.1.40]> References: <44F6A669.8000308@hindu.org> <p06230907c11d1a9b4bb6@[192.168.1.40]> Message-ID: <p06230908c11d1beb9a97@[192.168.1.40]> In all fairness to MS, I've heard that the version of QT for windoze is at least a version or two behind MacOS. That's not exactly bridge building. sqb >Is Micro$oft still doing that stuff to break others' competing >products? I thought they got busted and had to stop. > >sqb -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From revolutionary.dan at gmail.com Thu Aug 31 19:16:27 2006 From: revolutionary.dan at gmail.com (Dan Shafer) Date: Thu, 31 Aug 2006 16:16:27 -0700 Subject: Standalone OS X Apps in 2.7.3 - Default Button Broken In-Reply-To: <C11CCD5C.43D40%kray@sonsothunder.com> References: <70ed6b130608311440t319e272l49b58ce4cedf29f5@mail.gmail.com> <C11CCD5C.43D40%kray@sonsothunder.com> Message-ID: <70ed6b130608311616w40ea994obc1ebf280b0f054@mail.gmail.com> Thanks, Ken. I knew there was an answer. Three dot-revs into 2.7 and we still have these kinds of rough edges? Hmmmmm On 8/31/06, Ken Ray <kray at sonsothunder.com> wrote: > > On 8/31/06 4:40 PM, "Dan Shafer" <revolutionary.dan at gmail.com> wrote: > > > I'm probably not searching by the right set of criteria, so there may be > a > > BZ on this but I wanted to confirm this is a known issue. > > > > If I create a standalone app for OS X using 2.7.3, the default button > comes > > out looking like the old Classic (OS9) default button rather than the > new > > throbbing blue one. Not to say I wouldn't actually *prefer* the older > > button, but it's clearly wrong. > > > > Is this a known issue? Any fix or workaround or am I forced once again > back > > to 2.6.1 because of stuff RR broke when moving to the 2.7 family? > > Nope, you just need to copy the Plugins folder from the Rev bundle (in > Contents) into your standalone's bundle. Something I *really hope* will be > automated in the next version of Rev... Right now there are too many "oh > yeah, and don't forget..." issues when building standalones with Rev to > make > it as easy as it should be, IMHO. > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" >From http://www.shafermediastore.com/tech_main.html From stephenREVOLUTION at barncard.com Thu Aug 31 19:24:20 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 31 Aug 2006 16:24:20 -0700 Subject: mySQL & RR question In-Reply-To: <0FBB9906-E730-4406-AA8F-6280714EF9F9@dmp-int.com> References: <0FBB9906-E730-4406-AA8F-6280714EF9F9@dmp-int.com> Message-ID: <p0623090ac11d1e2a2168@[192.168.1.40]> I've been working with Trevor's DB library, and it includes Transcript routines for uploading and download dumps. It's a bit slow on the data gathering side, however it works well. I think it needs to be optimized however for faster downloads, but it might be a place to start. His lib is completely open. Here's Trevor's site: http://mangomultimedia.com/developer/revolution/ Incidentally, he's working on some database objects stuff right now that will knock your socks off. You also might consider Applescripting CocoaMySQL or Navicat (both Mac) if they have the stuff. Navicat has the fastest DB Dump I've seen. And the fastest upload as well. I don't know about backing up raw DB files on the server that MYSQL creates. I think that's a no-no, unless it's an image of the whole server. sqb >Hi gang, > >I have created a few (and still more coming up) client-server >applications using RR and mySQL, but now I am in need for a way to >to create a back-up possibility for remote databases... >The clients are Macs and PC's, the servers running the database >Server can be Windows or Mac > >I need to create a dump of the whole database, including all table >descriptions and content. >Anyone any idea what to do, to get a dump of the database on one of >the remote administrator desktops, or on my own development Mac, to >have a local copy of the database? > >What I can do of course is use the "DESCRIBE" function and create my >own dump, but is there another way anybody knows of? The content can >run into thousands and thousands of records, so retrieving that and >storing it locally can be a small problem when doing it this way, so >any suggestions are welcome... > > >Warm regards, > >Ton Kuypers -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From sarah.reichelt at gmail.com Thu Aug 31 20:23:03 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 1 Sep 2006 10:23:03 +1000 Subject: Standalone OS X Apps in 2.7.3 - Default Button Broken In-Reply-To: <70ed6b130608311440t319e272l49b58ce4cedf29f5@mail.gmail.com> References: <70ed6b130608311440t319e272l49b58ce4cedf29f5@mail.gmail.com> Message-ID: <f99b52860608311723lb546d55y788ad0a21fef7489@mail.gmail.com> On 9/1/06, Dan Shafer <revolutionary.dan at gmail.com> wrote: > I'm probably not searching by the right set of criteria, so there may be a > BZ on this but I wanted to confirm this is a known issue. > > If I create a standalone app for OS X using 2.7.3, the default button comes > out looking like the old Classic (OS9) default button rather than the new > throbbing blue one. Not to say I wouldn't actually *prefer* the older > button, but it's clearly wrong. > > Is this a known issue? Any fix or workaround or am I forced once again back > to 2.6.1 because of stuff RR broke when moving to the 2.7 family? As Ken says, it is a known issue with the plugins folder not being copied over. In fairness to RunRev, I use 2 computers and this only happens on one of them, so I don't know what makes it fail. Anyway, I recently posted a script for OS X that you can use to automate the process yourself, and it has the extra benefit of using "touch" to make the custom icon appear in a newly created standalone. <http://lists.runrev.com/pipermail/use-revolution/2006-August/086297.html> Cheers, Sarah From jacque at hyperactivesw.com Thu Aug 31 21:52:59 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 31 Aug 2006 20:52:59 -0500 Subject: Another Plugin Question In-Reply-To: <8F051534-7B4A-43DA-9FEA-D725DDBA7E82@swcp.com> References: <C11C89E5.1114C%scott@tactilemedia.com> <44F746E6.9070206@hyperactivesw.com> <8F051534-7B4A-43DA-9FEA-D725DDBA7E82@swcp.com> Message-ID: <44F7927B.1010201@hyperactivesw.com> Dar Scott wrote: > > On Aug 31, 2006, at 2:30 PM, J. Landman Gay wrote: > >> Then I set the stack to open invisibly when Rev starts up. After that, >> the first stack I open puts my library in use. Actually, every stack >> that is opened puts it in use all over again, but that doesn't hurt >> anything. If it bothers you, though, you can add: >> >> if the short name of this stack is not in the stacksinuse >> then start using this stack > > Perhaps a robust library should be able to handle (or even exploit) > being start'd multiple times. It isn't started multiple times. If it is already in use, putting it in use again does nothing. Well, except for changing the layering order. Whatever stack has been most recently placed in use becomes "closest" in the message hierarchy. But the library stack doesn't receive any messages and doesn't know about it; it's all handled by the engine. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From katir at hindu.org Thu Aug 31 22:34:28 2006 From: katir at hindu.org (Sivakatirswami) Date: Thu, 31 Aug 2006 16:34:28 -1000 Subject: Crash report procedure In-Reply-To: <EF41917E-F7B7-4E7D-B0EB-BA8628E8D118@califex.com> References: <C11A89B6.436C5%kray@sonsothunder.com> <44F55D5B.8000505@hindu.org> <EF41917E-F7B7-4E7D-B0EB-BA8628E8D118@califex.com> Message-ID: <44F79C34.8090400@hindu.org> Thanks Tereza... good idea: not, it's not that obvious (smile) I'm open to all kinds of input! Tereza Snyder wrote: > > On Aug 30, 2006, at 4:41 AM, Sivakatirswami wrote: > ... > >> >> Of course it means we might need to build in a little more error >> checking, >> perhaps a checksum() on some stack files and if it's not in a >> reasonable >> range, then assume the files are corrupt and delete them and get >> fresh copies. >> I need to do better at logging the context and scenarios. >> Frankly this kind of thing is a bit over my head... >> > > A possible strategy could be to provide, at your server, a small file > with an MD5 digest or other check associated with each stack. Your > application obtains that file first, then downloads the stack as > binary data (perhaps writing it to disk with a "~" prefix, as Metacard > does for stack saves), then checks the file for correctness, and > finally renames the file and opens it only if it passes the test. > > I know it's obvious, but I had to stick my finger in, > > > t > > > --Tereza Snyder > > Califex Software, Inc. > www.califexsoftware.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Thu Aug 31 22:41:18 2006 From: katir at hindu.org (Sivakatirswami) Date: Thu, 31 Aug 2006 16:41:18 -1000 Subject: Call for Media Viewer Test: Windows Users Especially In-Reply-To: <p06230908c11d1beb9a97@[192.168.1.40]> References: <44F6A669.8000308@hindu.org> <p06230907c11d1a9b4bb6@[192.168.1.40]> <p06230908c11d1beb9a97@[192.168.1.40]> Message-ID: <44F79DCE.8060702@hindu.org> OK, true, Apples seems to take it's time getting the Windoz version of any given QT upgrade ported over to DOS (must be an engineering night mare) But at least at present I think they are close. Windows users are able to get a QT 7.0 version now. But my worry is that even if they are publicly touting that the QT version is uptodate, in fact its API on Windows is still deficient. On the other hand, we have windows users who say they never have a problem so, goes to hardware, configuration etc. over which no one has control... I don't know how anyone could debug this kind of thing...That's worrisome as it makes both your Application and Revolution look really bad... and you have nothing to offer the user by way of a solution. Stephen Barncard wrote: > In all fairness to MS, I've heard that the version of QT for windoze > is at least a version or two behind MacOS. That's not exactly bridge > building. > > sqb > >> Is Micro$oft still doing that stuff to break others' competing >> products? I thought they got busted and had to stop. >> >> sqb > From jacque at hyperactivesw.com Thu Aug 31 23:06:04 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 31 Aug 2006 22:06:04 -0500 Subject: Standalone OS X Apps in 2.7.3 - Default Button Broken In-Reply-To: <70ed6b130608311616w40ea994obc1ebf280b0f054@mail.gmail.com> References: <70ed6b130608311440t319e272l49b58ce4cedf29f5@mail.gmail.com> <C11CCD5C.43D40%kray@sonsothunder.com> <70ed6b130608311616w40ea994obc1ebf280b0f054@mail.gmail.com> Message-ID: <44F7A39C.2050208@hyperactivesw.com> Dan Shafer wrote: > Thanks, Ken. I knew there was an answer. Three dot-revs into 2.7 and we > still have these kinds of rough edges? Hmmmmm To be fair, the installer was overhauled more recently than that. The omission is an easy fix, requiring only a couple lines of script, and they're aware it was overlooked. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From katir at hindu.org Thu Aug 31 23:36:18 2006 From: katir at hindu.org (Sivakatirswami) Date: Thu, 31 Aug 2006 17:36:18 -1000 Subject: Crash report procedure In-Reply-To: <7aa52a210608302256o4d06004bo907563197747fd5d@mail.gmail.com> References: <C11A89B6.436C5%kray@sonsothunder.com> <44F55D5B.8000505@hindu.org> <7aa52a210608302256o4d06004bo907563197747fd5d@mail.gmail.com> Message-ID: <44F7AAB2.1040708@hindu.org> Aloha Chipp: OK great.. thanks.. this was really an anamoly brought on by our bad connection (turns out it was the cable modem which Ocean Time Warner had to replace...) in the folder where altSplash is download the files there were two files.. htde_main.rev htde_main.rev.gz I deleted those (I wish I had tested them first...) It's as if it got stuck... as normally the htde_main.rev.gz disappears. are deleting both of them, then it worked. I'm not sure we have a "resetAll" on the UI Sivakatirswami Chipp Walters wrote: > Sivakatirswami, > > altSplash (there are probably quite a few new versions since the one > you have) looks for a fld 'vers' in the mainstack (not the > standalone). > > If I were you, I'd try something like: > > if there is a file tMainStackPath then > if there is a stack tMainStackPath then > > That way it will check to see if it's a valid path. If you're still > getting a crash then you might use a try statement around the 'if thre > is a stack' > > I'm pretty sure that's where you're running into problems. Even so, > I've never seen altSplash crash on a corrupted stack, and a press of > the resetAll button should delete the offending stack and quit so the > user can relaunch. > > 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 >