From rabit at dimensionB.de Thu Jul 1 04:51:55 2010 From: rabit at dimensionB.de (Ralf Bitter) Date: Thu, 1 Jul 2010 10:51:55 +0200 Subject: [ANN] revIgniter v1.3.3b released Message-ID: This version addresses issues related to XSS cleaning of encrypted cookie data. Info and download at: http://revigniter.com/ Ralf From sanke at hrz.uni-kassel.de Thu Jul 1 08:08:22 2010 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Thu, 01 Jul 2010 14:08:22 +0200 Subject: Thoughts and facts about "text of image", "imagedata", and "paintcompression" Message-ID: <4C2C8536.9000602@hrz.uni-kassel.de> J. Landman Gay and Scott Rossi - in the recent thread "snapshot and background problems" - have discussed and informed us about the usefulness of the "text of image" property, the retaining of all binary data and the easy scalability. About "imagedata" Jacqueline writes: The imagedata is basically just a screen shot and if you set the imagedata of an image object, what you end up with is just a bitmap. All other binary info is lost, including channel data. If you set the imagedata of an image object that isn't exactly the same size as the original screen shot, the image will corrupt and become unrecognizable. While most of the above is correct, some clarifications are in order here: If you *change* the imagedata of an image that has transparency (an alphamask) this can be done in a way where the transparent parts of the image are *not* affected! This is the idea behind the structure to have separate imagedata and alphadata - and for that matter maskdata. Moreover the "imagedata" are much more than just a "screenshot", but a very important part of an image that can be creatively modified by all sorts of filters or generally "manipulating" various aspects of images (hues, saturation, exchanging colors, simplifying color maps, gamma corrections, overlays, seamless tiles, structural changes like creating patterns from selected parts of an image etc.etc.) similar to image-processing features to be found in other specific image tools (like Photoshop, Gimp; Lua color tools etc.). Such manipulations are not possible with "text of image" data. To conclude with one of the sentences of Jacqueline here: "They're different properties for different purposes"-- =================== Now there are situations where the three properties (text of image, imagedata, paintcompression) may influence each other and can lead to unexpected results - a fact you should bear in mind and observe when you are developing image tools in Rev. With "paintcompression" I here mean the "global" paintcompression which is different from the paintcompression of an individual image. From the docs: "The paintCompression is one of the following: "png", "jpeg", "gif", or "rle". By default, the *global* paintCompression property is set to "rle" in standalones and "png" in the development environment." Another clarification: The default global paintcompression of the common Metacard/Revolution engine is set to RLE. The Rev IDE changes this to PNG, and then back to RLE for standalones. The Metacard IDE leaves the paintcompression setting of the engine untouched. Let's take an example of mutual influence of these properties: Image Tool X uses two images in its basic structure: One "display" image that is of fixed size and another (hidden) "original" image of variable size. Images are imported into image "original" where the imagedata are then being manipulated by filters and other scripts. The original image and its changed states are immediately reflected in the "display" image via setting the text-of-image of the display image to that of the original image. In a cooperative project we suddenly found that the "display" image became empty when changing the imagedata of image "original". The cause was that the global paintcompression had been set to RLE when this occured, meaning: If the global paintcompression is set to RLE, after manipulating the imagedata of an image it is not possible to tranfer the text-of-image of the changed image to another image. You have to pay attention to this when you develop in the Rev IDE. What may work in the IDE will possibly not work in a standalone as the paintcompression there is set back to RLE. Changing the global paitcompression to JPEG or PNG solved the problem and let the "display" image reappear. ==================== Some other issue in this context I have repeatedly brought up during the last years on this list and demonstrated in test stacks. Global paintcompression substantially influences the speed of imagedata processing and retrieval. RLE is fastest, JPEG somewhat slower, and PNG on the average about 33% slower than RLE, the relative differences measured with the same image and image-processing script. Size of image and the complexity of the script are of course *additional* factors that influence the speed - as is also the version of the engine: From my tests I see that the fastest engine ever for image processing was Rev engine 2.6.1 (identical to Metacard 2.6.6). Subsequent engines were 20 to 30% slower, the newer engines have again improved very much. The speed difference caused by global paintcompression alone is especially spectacular when retrieving the imagedata stored in a custom property and resetting an image to these data: With paintcompression set to PNG this can be up to 12 (twelve) times slower than with RLE. If you embed C- or Lua-externals for imagedata processing they are of course surprisingly faster, but the basic relative speed difference caused by paintcompression remains, as the imagedata manipulated by the external must after that be reset in the Revscript part.-- Generally, imagedata processing in Revolution compared to most image tools is rather slow, as it was not developed with a focus on image processing. Maybe in the medium future improvements for image processing in Revolution could be achieved, given the present urgent need to work on other areas (including fixing bugs) on the backgound of the budget and personal resources of the Rev team. A lot could be achieved by adding externals for image processing to Rev. I had given this angle a thought in my post of March 9, 2010, to this list "Language comparisons: "Lua" - simpler and faster than RevTalk?" . . Regards, Wilhelm Sanke From admin at FlexibleLearning.com Thu Jul 1 08:27:54 2010 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Thu, 1 Jul 2010 13:27:54 +0100 Subject: Intelligent sorting: A bit of a poser In-Reply-To: <20100630083237.70CBD28902D@mail.runrev.com> Message-ID: I have a list of words, each ending in a number... img1 img10 img11 img2 img201 img3 img4 How do I sort them so they are in the visually correct numerical order, like this? ... img1 img2 img3 img4 img10 img11 img201 /H From klaus at major.on-rev.com Thu Jul 1 08:36:16 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 1 Jul 2010 14:36:16 +0200 Subject: Intelligent sorting: A bit of a poser In-Reply-To: References: Message-ID: <187C61FD-7273-48CC-9801-C485E99711D8@major.on-rev.com> Hi Hugh, > I have a list of words, each ending in a number... > > img1 > img10 > img11 > img2 > img201 > img3 > img4 > > How do I sort them so they are in the visually correct numerical order, like > this? ... > > img1 > img2 > img3 > img4 > img10 > img11 > img201 > > /H This works for me: ... sort lines of fld 1 numeric by char 4 to -1 of each ... Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From coiin at verizon.net Thu Jul 1 08:41:11 2010 From: coiin at verizon.net (Colin Holgate) Date: Thu, 1 Jul 2010 08:41:11 -0400 Subject: Intelligent sorting: A bit of a poser In-Reply-To: References: Message-ID: Darn, Klaus beat me by moments: on mouseup put "img1" & return & "img10" & return & "img5" & return & "img6" & return & "img60"into imagelist sort imagelist numeric by char 4 to -1 of each put imagelist end mouseup From jerry.daniels at me.com Thu Jul 1 09:05:38 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Thu, 01 Jul 2010 08:05:38 -0500 Subject: Thoughts and facts about "text of image", "imagedata", and "paintcompression" Message-ID: <8B8D7DE2-EABC-4BC7-95CC-E0C3AAC75148@me.com> Wilhelm, very VERY nicely done! (My grandpa's Christian name was same as yours. He was from Ulm.) Best, Jerry Daniels Join the Rodeo discussion: http://rodeoapps.com/rodeo-discuss-among-yourselves On Jul 1, 2010, at 7:08 AM, Wilhelm Sanke wrote: > J. Landman Gay and Scott Rossi - in the recent thread "snapshot and background problems" - have discussed and informed us about the usefulness of the "text of image" property, the retaining of all binary data and the easy scalability. > > About "imagedata" Jacqueline writes: > > The imagedata is > basically just a screen shot and if you set the imagedata of an image > object, what you end up with is just a bitmap. All other binary info is > lost, including channel data. If you set the imagedata of an image > object that isn't exactly the same size as the original screen shot, the > image will corrupt and become unrecognizable. > > While most of the above is correct, some clarifications are in order here: > > If you *change* the imagedata of an image that has transparency (an alphamask) this can be done in a way where the transparent parts of the image are *not* affected! This is the idea behind the structure to have separate imagedata and alphadata - and for that matter maskdata. > Moreover the "imagedata" are much more than just a "screenshot", but a very important part of an image that can be creatively modified by all sorts of filters or generally "manipulating" various aspects of images (hues, saturation, exchanging colors, simplifying color maps, gamma corrections, overlays, seamless tiles, structural changes like creating patterns from selected parts of an image etc.etc.) similar to image-processing features to be found in other specific image tools (like Photoshop, Gimp; Lua color tools etc.). > > Such manipulations are not possible with "text of image" data. > > To conclude with one of the sentences of Jacqueline here: "They're different properties for different purposes"-- > > =================== > > Now there are situations where the three properties (text of image, imagedata, paintcompression) may influence each other and can lead to unexpected results - a fact you should bear in mind and observe when you are developing image tools in Rev. > > With "paintcompression" I here mean the "global" paintcompression which is different from the paintcompression of an individual image. From the docs: > > "The paintCompression is one of the following: "png", "jpeg", "gif", or "rle". By default, the *global* paintCompression property is set to "rle" in standalones and "png" in the development environment." > > Another clarification: The default global paintcompression of the common Metacard/Revolution engine is set to RLE. The Rev IDE changes this to PNG, and then back to RLE for standalones. The Metacard IDE leaves the paintcompression setting of the engine untouched. > > Let's take an example of mutual influence of these properties: > > Image Tool X uses two images in its basic structure: One "display" image that is of fixed size and another (hidden) "original" image of variable size. > > Images are imported into image "original" where the imagedata are then being manipulated by filters and other scripts. The original image and its changed states are immediately reflected in the "display" image via setting the text-of-image of the display image to that of the original image. > > In a cooperative project we suddenly found that the "display" image became empty when changing the imagedata of image "original". The cause was that the global paintcompression had been set to RLE when this occured, meaning: If the global paintcompression is set to RLE, after manipulating the imagedata of an image it is not possible to tranfer the text-of-image of the changed image to another image. > > You have to pay attention to this when you develop in the Rev IDE. What may work in the IDE will possibly not work in a standalone as the paintcompression there is set back to RLE. > > Changing the global paitcompression to JPEG or PNG solved the problem and let the "display" image reappear. > > ==================== > > Some other issue in this context I have repeatedly brought up during the last years on this list and demonstrated in test stacks. > > Global paintcompression substantially influences the speed of imagedata processing and retrieval. RLE is fastest, JPEG somewhat slower, and PNG on the average about 33% slower than RLE, the relative differences measured with the same image and image-processing script. Size of image and the complexity of the script are of course *additional* factors that influence the speed - as is also the version of the engine: From my tests I see that the fastest engine ever for image processing was Rev engine 2.6.1 (identical to Metacard 2.6.6). Subsequent engines were 20 to 30% slower, the newer engines have again improved very much. > > The speed difference caused by global paintcompression alone is especially spectacular when retrieving the imagedata stored in a custom property and resetting an image to these data: With paintcompression set to PNG this can be up to 12 (twelve) times slower than with RLE. > > If you embed C- or Lua-externals for imagedata processing they are of course surprisingly faster, but the basic relative speed difference caused by paintcompression remains, as the imagedata manipulated by the external must after that be reset in the Revscript part.-- > > Generally, imagedata processing in Revolution compared to most image tools is rather slow, as it was not developed with a focus on image processing. > > Maybe in the medium future improvements for image processing in Revolution could be achieved, given the present urgent need to work on other areas (including fixing bugs) on the backgound of the budget and personal resources of the Rev team. > > A lot could be achieved by adding externals for image processing to Rev. I had given this angle a thought in my post of March 9, 2010, to this list > > "Language comparisons: "Lua" - simpler and faster than RevTalk?" . > > . > Regards, > > Wilhelm Sanke > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From alex at harryscollar.com Thu Jul 1 09:12:14 2010 From: alex at harryscollar.com (Alex Shaw) Date: Thu, 01 Jul 2010 23:12:14 +1000 Subject: [ANN] revIgniter v1.3.3b released In-Reply-To: References: Message-ID: <4C2C942E.10601@harryscollar.com> Hi Ralf Keen to really get into revigniter a bit more seriously and like the documentation you've put together. Does it work with the newly available revserver or only with on-rev? regards alex On 1/07/10 6:51 PM, Ralf Bitter wrote: > > This version addresses issues related to XSS cleaning of encrypted cookie data. > > > Info and download at: http://revigniter.com/ > > Ralf_______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mikekann at yahoo.com Thu Jul 1 09:15:19 2010 From: mikekann at yahoo.com (Michael Kann) Date: Thu, 1 Jul 2010 06:15:19 -0700 (PDT) Subject: Intelligent sorting: A bit of a poser In-Reply-To: Message-ID: <38769.13239.qm@web56704.mail.re3.yahoo.com> Klaus and Colin are the go-to guys. Here's a solution that is a bit more general. If you have different words before the numbers appear you can do the following. I'm sure it's as slow as molasses in winter, but it might give you some ideas. Mike ------------------------------------ -- data in fld 1 ------------------------------------ img1 lions10 img11 tigers2 img201 bears3 img4 ------------------------------------ function f x put "0123456789" into n repeat while char 1 of x is not in n delete char 1 of x end repeat return x end f on mouseUp sort fld 1 numeric by f(each) end mouseUp ------------------------------------ ------------------------------------ --- On Thu, 7/1/10, FlexibleLearning wrote: > From: FlexibleLearning > Subject: Intelligent sorting: A bit of a poser > To: use-revolution at lists.runrev.com > Date: Thursday, July 1, 2010, 7:27 AM > I have a list of words, each ending > in a number... > > img1 > img10 > img11 > img2 > img201 > img3 > img4 > > How do I sort them so they are in the visually correct > numerical order, like > this? ... > > img1 > img2 > img3 > img4 > img10 > img11 > img201 > > /H > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From admin at FlexibleLearning.com Thu Jul 1 09:46:43 2010 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Thu, 1 Jul 2010 14:46:43 +0100 Subject: Intelligent sorting: A bit of a poser In-Reply-To: <20100701130320.B2DCD2883D0@mail.runrev.com> Message-ID: Klaus, Colin... I should have been more clear! Looking for a generic solution to sorting arbitrary alphanumeric strings that have suffix numbers. For example... pic 10 pic 2 image1 pic 1 image10 image2 How do I sort them like this? image1 image2 image10 pic 1 pic 2 pic 10 /H From alex at harryscollar.com Thu Jul 1 10:01:33 2010 From: alex at harryscollar.com (Alex Shaw) Date: Fri, 02 Jul 2010 00:01:33 +1000 Subject: Smokescreen.rev In-Reply-To: References: Message-ID: <4C2C9FBD.2070109@harryscollar.com> Hi Here's a link to a good discussion on this i read recently.. http://news.ycombinator.com/item?id=1395509 There is lots of good of debate on whether flash is dead/restrictive/etc and html5 is the future.. http://apiblog.youtube.com/2010/06/flash-and-html5-tag.html Personally flash is just another media format and a very rich one in flexibility and you aren't necessarily restricted to adobe tools for construction. There are lots of good open source projects out there and rev has positioned itself in a unique way by making sometimes obstruce language documentation freely available and with a bit of knowhow extract the cgi/engine component (3.5 & below) to use at no cost. It would be nice if rev supported flash as a native object because interacting with it via quicktime or revbrowser is a bit of labour at the moment but certainly not a priority when rev is flexible in its own way. regards alex On 1/07/10 4:25 AM, Simon Lord wrote: > Not immediately related to RunRev but an enterprising person(s) wrote > a Javascript service which can read a Flash SWF and decompile& run it > in near-realtime. > > http://smokescreen.us/demo/ From DunbarX at aol.com Thu Jul 1 10:13:58 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 1 Jul 2010 10:13:58 EDT Subject: Intelligent sorting: A bit of a poser Message-ID: <85365.37e2a06f.395dfca6@aol.com> > Try this: > on mouseUp put separateNumbers(fld yourField) into temp sort temp numeric by item 2 of each & item 1 of each sort temp by item 1 of each replace comma with empty in temp put temp into fld yourField end mouseUp function separateNumbers var repeat for each char tchar in var if tChar is in "0123456789" then put comma before tChar end repeat return var end separateNumbers Craig Newman From DunbarX at aol.com Thu Jul 1 10:16:41 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 1 Jul 2010 10:16:41 EDT Subject: Intelligent sorting: A bit of a poser Message-ID: <856af.7b0efca2.395dfd49@aol.com> Hold everything. Doesn't work. Yet. From alex at harryscollar.com Thu Jul 1 10:19:02 2010 From: alex at harryscollar.com (Alex Shaw) Date: Fri, 02 Jul 2010 00:19:02 +1000 Subject: Smokescreen.rev In-Reply-To: References: <1277952257281-2274551.post@n4.nabble.com> Message-ID: <4C2CA3D6.4020604@harryscollar.com> Hi Simon The code is available @ http://smokescreen.us/demos/js/smokescreen.0.1.3-min.js Would be handy but just can't get into javascript :) regards alex On 1/07/10 12:55 PM, Simon Lord wrote: > The project is about 6 weeks old I think. Been keeping my eye on it. > Very curious to get my hands on the code to see how they are > reassembling the graphics and code in JS. From coiin at verizon.net Thu Jul 1 10:25:45 2010 From: coiin at verizon.net (Colin Holgate) Date: Thu, 1 Jul 2010 10:25:45 -0400 Subject: Intelligent sorting: A bit of a poser In-Reply-To: <856af.7b0efca2.395dfd49@aol.com> References: <856af.7b0efca2.395dfd49@aol.com> Message-ID: On Jul 1, 2010, at 10:16 AM, DunbarX at aol.com wrote: > Hold everything. Doesn't work. I noticed. This does though: on mouseUp put separateNumbers(fld yourField) into temp sort temp numeric by item 2 of each & item 1 of each sort temp by item 1 of each replace comma with empty in temp put temp into fld yourField end mouseUp function separateNumbers var repeat with a = 1 to the number of lines in var repeat with b = 1 to the number of chars in line a of var if char b of line a of var is in "0123456789" then put comma before char b of line a of var exit repeat end if end repeat end repeat return var end separateNumbers From mikekann at yahoo.com Thu Jul 1 10:28:35 2010 From: mikekann at yahoo.com (Michael Kann) Date: Thu, 1 Jul 2010 07:28:35 -0700 (PDT) Subject: Intelligent sorting: A bit of a poser In-Reply-To: Message-ID: <730749.56978.qm@web56702.mail.re3.yahoo.com> Another way to do it: function f_sort_num x put "0123456789" into n repeat while char 1 of x is not in n delete char 1 of x end repeat return x end f_sort_num function f_sort_word x put "0123456789" into n repeat while last char of x is in n delete last char of x end repeat return x end f_sort_word on mouseUp sort fld 1 numeric by f_sort_num(each) sort fld 1 by f_sort_word(each) end mouseUp --- On Thu, 7/1/10, Colin Holgate wrote: > From: Colin Holgate > Subject: Re: Intelligent sorting: A bit of a poser > To: "How to use Revolution" > Date: Thursday, July 1, 2010, 9:25 AM > > On Jul 1, 2010, at 10:16 AM, DunbarX at aol.com > wrote: > > > Hold everything. Doesn't work. > > I noticed. This does though: > > on mouseUp > ? ? ? put separateNumbers(fld yourField) > into temp > ? ? ? sort temp numeric???by > item 2 of each & item 1 of each > ? ? ? sort temp by item 1 of each > ? ? ? replace comma with empty in temp > ? ? ? put temp into fld yourField > end mouseUp > > function separateNumbers var > ???repeat with a = 1 to the number of lines > in var > ? ? ? repeat with b = 1 to the number of > chars in line a of var > ? ? ? ? ? if char b of line a of > var is in "0123456789" then > ? ? ? ? ? ? put comma before > char b of line a of var > ? ? ? ? ? ? exit repeat > ? ? ? ???end if > ? ? ? ? end repeat > ???end repeat > ? ? ? return var > end separateNumbers > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From DunbarX at aol.com Thu Jul 1 10:30:12 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 1 Jul 2010 10:30:12 EDT Subject: Intelligent sorting: A bit of a poser Message-ID: <86759.2d692f75.395e0074@aol.com> Probably could streamline this, but: function separateNumbers var repeat with y = 1 to the number of lines of var repeat with u = 1 to the number of chars of line y of var if char u of line y of var is in "0123456789" then put comma before char u of line y of var exit repeat end if end repeat end repeat return var end separateNumbers function separateNumbers var repeat for each char tchar in var if tChar is in "0123456789" then put comma before tChar end repeat return var end separateNumbers on mouseUp put separateNumbers(fld 2) into temp sort temp numeric by item 2 of each & item 1 of each sort temp by item 1 of each replace comma with empty in temp put temp into fld 2 end mouseUp From DunbarX at aol.com Thu Jul 1 10:35:39 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 1 Jul 2010 10:35:39 EDT Subject: Intelligent sorting: A bit of a poser Message-ID: <86e04.6a0c85b5.395e01bb@aol.com> This is what comes of these races to publish, especially against Colin. Frantic copying and pasting. Horrible mistakes. It has to stop! Anyway... function separateNumbers var repeat with y = 1 to the number of lines of var repeat with u = 1 to the number of chars of line y of var if char u of line y of var is in "0123456789" then put comma before char u of line y of var exit repeat end if end repeat end repeat return var end separateNumbers on mouseUp put separateNumbers(fld yourField) into temp sort temp numeric by item 2 of each & item 1 of each sort temp by item 1 of each replace comma with empty in temp put temp into fld yourField end mouseUp From DunbarX at aol.com Thu Jul 1 10:42:44 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 1 Jul 2010 10:42:44 EDT Subject: Intelligent sorting: A bit of a poser Message-ID: <87689.32b0be41.395e0364@aol.com> Colin, I actually just read your correction of my earlier script. I swear I did not do so before I sent my latest one in. Almost identical except you like the early part of the alphabet, and I like the latter. Craig From bonnmike at gmail.com Thu Jul 1 10:45:05 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 1 Jul 2010 08:45:05 -0600 Subject: Intelligent sorting: A bit of a poser In-Reply-To: <87689.32b0be41.395e0364@aol.com> References: <87689.32b0be41.395e0364@aol.com> Message-ID: Another method used to split at the numeric. on mouseUp put specialsorter(field "srcF") end mouseUp function specialSorter pVar repeat for each line theLIne in PVar get matchchunk(theLine,"([a-zA-Z\s]\d)" , theChar,theEnd ) put comma after char theChar of theLine put theLine & return after tTemp end repeat delete the last char of tTemp sort lines of tTemp ascending numeric by item 2 of each sort lines of tTemp ascending by item 1 of each replace comma with empty in tTemp return tTemp end specialSorter On Thu, Jul 1, 2010 at 8:42 AM, wrote: > Colin, I actually just read your correction of my earlier script. I swear I > did not do so before I sent my latest one in. Almost identical except you > like the early part of the alphabet, and I like the latter. > > Craig > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From coiin at verizon.net Thu Jul 1 10:49:44 2010 From: coiin at verizon.net (Colin Holgate) Date: Thu, 1 Jul 2010 10:49:44 -0400 Subject: Intelligent sorting: A bit of a poser In-Reply-To: <87689.32b0be41.395e0364@aol.com> References: <87689.32b0be41.395e0364@aol.com> Message-ID: <5E336501-E4D3-4BB8-97AA-D23E28742592@verizon.net> On Jul 1, 2010, at 10:42 AM, DunbarX at aol.com wrote: > Almost identical except you > like the early part of the alphabet, and I like the latter. I do more 3D work than you, so would want to use UV for texture coordinates, and XYZ for 3D locations. Interestingly, I use a and b, etc for 'Talk-like languages (including Lingo), but usually use i, j, k for Javascript or ActionScript. From dave.cragg at lacscentre.co.uk Thu Jul 1 11:45:07 2010 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 1 Jul 2010 16:45:07 +0100 Subject: Intelligent sorting: A bit of a poser In-Reply-To: References: Message-ID: <6D980109-E14C-47DD-BCC5-75E885DDADB0@lacscentre.co.uk> Coming late to this. It should handle cases where there are commas in the original text. I don't know how it scales with large data sets. function specialSort tData put "(^.*?)([0-9]*$)" into tRE put "" into tData2 repeat for each line tLine in tData get matchText(tLine, tRE, tS, tNum) put tS & comma & tNum & cr after tData2 end repeat sort lines of tData2 numeric by item -1 of each sort lines of tData2 by item 1 of each put "" into tData3 repeat for each line tLine in tData2 put item 1 to -2 of tLine & item -1 of tLine & cr after tData3 end repeat return tData3 end specialSort From rabit at dimensionB.de Thu Jul 1 11:55:36 2010 From: rabit at dimensionB.de (Ralf Bitter) Date: Thu, 1 Jul 2010 17:55:36 +0200 Subject: [ANN] revIgniter v1.3.3b released In-Reply-To: <4C2C942E.10601@harryscollar.com> References: <4C2C942E.10601@harryscollar.com> Message-ID: <9E5866DD-CC60-4A9F-A5DC-35426F514EE1@dimensionB.de> Hi Alex, AFAIK the only difference between revServer and the on-Rev service is that "revServer does not include the visual debugging tools and client side application that are available on the on-Rev hosting service". So, revIgniter should work fine with revServer. Ralf On 01.07.2010, at 15:12, Alex Shaw wrote: > Hi Ralf > > Keen to really get into revigniter a bit more seriously and like the documentation you've put together. > > Does it work with the newly available revserver or only with on-rev? > > regards > alex > From janschenkel at yahoo.com Thu Jul 1 11:59:45 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 1 Jul 2010 08:59:45 -0700 (PDT) Subject: Intelligent sorting: A bit of a poser In-Reply-To: Message-ID: <764826.68048.qm@web65410.mail.ac4.yahoo.com> This did the trick in my quick test: ## on mouseUp put the text of field "OriginalList" into tText sort lines of tText numeric by TrailingNumber(each) sort lines of tText put tText into field "SortedList" end mouseUp private function TrailingNumber pLine local tNumber, tChar repeat with tIndex = length(pLine) to 1 step -1 put char tIndex of pLine into tChar if tChar is not an integer then exit repeat put tChar before tNumber end repeat if tNumber is empty then put 0 into tNumber return tNumber end TrailingNumber ## No idea how it performs on longer lists, though... HTH, Jan Schenkel ===== Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) --- On Thu, 7/1/10, FlexibleLearning wrote: > From: FlexibleLearning > Subject: Re: Intelligent sorting: A bit of a poser > To: use-revolution at lists.runrev.com > Date: Thursday, July 1, 2010, 6:46 AM > Klaus, Colin... > > I should have been more clear! Looking for a generic > solution to sorting > arbitrary alphanumeric strings that have suffix numbers. > > For example... > > pic 10 > pic 2 > image1 > pic 1 > image10 > image2 > > How do I sort them like this? > > image1 > image2 > image10 > pic 1 > pic 2 > pic 10 > > /H > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Thu Jul 1 12:23:09 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 01 Jul 2010 11:23:09 -0500 Subject: How do you fix this? In-Reply-To: <1277950726521-2274538.post@n4.nabble.com> References: <1277950726521-2274538.post@n4.nabble.com> Message-ID: <4C2CC0ED.10600@hyperactivesw.com> charles61 wrote: > I had problems with the cutting off of the bottom because of not setting the > Set as Stack Menu bar in the Menu Builder. I have set the Destroystack of my > splash, app and substacks to false. Now when I created my Mac app, I get the > top of my second card showing the upper 1/4 inch of blue from the my main > card! It sounds like you didn't place the menu on that card, so you are seeing a blank place. You need to place the menu group on every card in the stack. Mac users should always develop with the menu showing at the top of the stack window. That is, turn off both "preview as menubar" and "set as stack menu" until you are ready to build a standalone. Being able to see the stack as Windows users will see it allows you to place objects on the card in the right positions, and tells you immediately if you've forgotten to put a menu on the card. When you are ready to build, turn those options back on and make sure destroystack is set to false. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From slord at karbonized.com Thu Jul 1 12:25:15 2010 From: slord at karbonized.com (Simon Lord) Date: Thu, 1 Jul 2010 12:25:15 -0400 Subject: Smokescreen.rev In-Reply-To: <4C2CA3D6.4020604@harryscollar.com> References: <1277952257281-2274551.post@n4.nabble.com> <4C2CA3D6.4020604@harryscollar.com> Message-ID: That code is minimized?which makes it near impossible to read as most of the variables are obfuscated to make names smaller (more lightweight). Will need to wait for the official release to read it. But even minimized it's a hefty file. On Thu, Jul 1, 2010 at 10:19 AM, Alex Shaw wrote: > Hi Simon > > The code is available @ > http://smokescreen.us/demos/js/smokescreen.0.1.3-min.js > > Would be handy but just can't get into javascript :) > > regards > alex > > On 1/07/10 12:55 PM, Simon Lord wrote: >> >> The project is about 6 weeks old I think. ?Been keeping my eye on it. >> Very curious to get my hands on the code to see how they are >> reassembling the graphics and code in JS. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From DunbarX at aol.com Thu Jul 1 12:30:45 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 1 Jul 2010 12:30:45 EDT Subject: Intelligent sorting: A bit of a poser Message-ID: <8f8af.79363921.395e1cb5@aol.com> In the handlers submitted earlier one could use an obscure delimiter, like ASCII 241 or whatever, instead of comma, and set the itemDel. In a message dated 7/1/10 11:46:06 AM, dave.cragg at lacscentre.co.uk writes: > It should handle cases where there are commas in the original text. I > don't know how it scales with large data sets. > From bobs at twft.com Thu Jul 1 12:31:30 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 1 Jul 2010 09:31:30 -0700 Subject: Running revlets on the iPad In-Reply-To: <4C2BB3E7.5040801@fourthworld.com> References: <4C2BB3E7.5040801@fourthworld.com> Message-ID: No one can believe anything in the media anymore these days! I remember when you could at least believe the facts reported (if not the slant they were delivered with) simply because reporters were bound by honor to do the research needed to validate their claims. I guess honor is all but gone in our modern world. That being said, how many people these days read the disclaimers in dialog boxes anymore? Bob On Jun 30, 2010, at 2:15 PM, Richard Gaskin wrote: > Bob Sneidar wrote: > > > On the flip side just last week I heard a story that 20% of > > the apps for Android are capable of revealing information > > about your location, addresses, and information contained > > on your Android phone. > > > CNet has since retracted that story: > > > > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From richmondmathewson at gmail.com Thu Jul 1 12:38:14 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 01 Jul 2010 19:38:14 +0300 Subject: Running revlets on the iPad In-Reply-To: References: <4C2BB3E7.5040801@fourthworld.com> Message-ID: <4C2CC476.104@gmail.com> On 07/01/2010 07:31 PM, Bob Sneidar wrote: > No one can believe anything in the media anymore these days! I remember when you could at least believe the facts reported (if not the slant they were delivered with) simply because reporters were bound by honor to do the research needed to validate their claims. I guess honor is all but gone in our modern world. > > I knew that honour (at least, if not 'honor') was gone when, in 1989, my boss at the time; Mustapha Adly, told me that as he knew I was a gentleman he would treat me in a gentlemanly way, and then proceeded to cheat me out of half of my salary. Mr Adly later absconded from Emirates Private School (Abu Dhabi and Al Ain) with all the money and hasn't been seen since. He also seems to have left one of his wives behind! I understand he was last seen back in his native Egypt. From gregory.lypny at videotron.ca Thu Jul 1 12:38:50 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 01 Jul 2010 12:38:50 -0400 Subject: Question About Menu Builder Message-ID: Hi everyone, It's my first time using the menu builder, and I have a question. I added a couple of menu items to the File menu and they work fine. I then added a new menu called View to the same menu bar and added another couple of items, but these do nothing when selected. All of the items had been tested in a separate menu popup button and work as expected. What am I doing wrong? (I've also forgotten what the ampersand means in front of some of the default menu items.) Regards, Gregory From jacque at hyperactivesw.com Thu Jul 1 12:40:43 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 01 Jul 2010 11:40:43 -0500 Subject: Mac Standalone Bug In-Reply-To: References: <421F3FC1-307D-4710-B770-AF7E4F8D0D9E@gmail.com> <4C239438.7010002@hyperactivesw.com> Message-ID: <4C2CC50B.2050806@hyperactivesw.com> Bill Vlahos wrote: > That doesn't fix it in 4.0. Here's one more way to deal with the problem. Keep destroystack set to false as before, and destroywindow as well. Add this to a preOpenStack handler: if the platform = "macOS" and the environment is not "development" then set the menubar of this stack to "myMenuGroup" Build your standalone with the menubar property turned off; that is, build it as though it were for Windows with the menu group showing. When your standalone launches, it will set the menubar on a Mac and the stack will resize as you'd expect. I've used this and it has always worked. > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. > > On Jun 24, 2010, at 10:22 AM, J. Landman Gay wrote: > >> Justin Sloan wrote: >>> Jeff, >>> I do have a menu. Is that the problem? How do I counter it? >> It's an ancient issue. If you have a menu, make sure the destroystack property of the stack is false. That fixes it. Then rebuild the standalone. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Thu Jul 1 12:45:24 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 1 Jul 2010 09:45:24 -0700 Subject: Intelligent sorting: A bit of a poser In-Reply-To: <187C61FD-7273-48CC-9801-C485E99711D8@major.on-rev.com> References: <187C61FD-7273-48CC-9801-C485E99711D8@major.on-rev.com> Message-ID: <449CC85C-5913-4C0E-B5DC-19DCF07997AA@twft.com> Whoa! You can do that?? Okay, how about concatenating sort criteria, like char 1 and char 3? Just curious I don't need to do that. Bob On Jul 1, 2010, at 5:36 AM, Klaus on-rev wrote: > Hi Hugh, > >> I have a list of words, each ending in a number... >> >> img1 >> img10 >> img11 >> img2 >> img201 >> img3 >> img4 >> >> How do I sort them so they are in the visually correct numerical order, like >> this? ... >> >> img1 >> img2 >> img3 >> img4 >> img10 >> img11 >> img201 >> >> /H > > This works for me: > ... > sort lines of fld 1 numeric by char 4 to -1 of each > ... > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From cszasz at mac.com Thu Jul 1 12:48:47 2010 From: cszasz at mac.com (charles61) Date: Thu, 1 Jul 2010 09:48:47 -0700 (PDT) Subject: How do you fix this? In-Reply-To: <4C2CC0ED.10600@hyperactivesw.com> References: <1277950726521-2274538.post@n4.nabble.com> <4C2CC0ED.10600@hyperactivesw.com> Message-ID: Jacqueline, Thank your for you e-mail! Well, I actually started my project with the Windows menubar showing. I continued with this procedure until I was ready to create my Mac standalone. I remembered from all of my previous experiences with Rev and the RevList that this is the recommended procedure. But you are right in assuming that my first card of my app does not have a menubar showing! This card has a nice graphic along with an altAccordion type menu. In my preOpen card script of for the first card my app I have: hide the group "menubar 1". On the rest of my cards the "menubar 1" is not hidden. I guess my question is how do other developers handle this type of situation when they hide the menubar on the first card? Or what do you suggest? Charles Szasz cszasz at mac.com On Jul 1, 2010, at 12:23 PM, J. Landman Gay [via Runtime Revolution] wrote: > charles61 wrote: > > I had problems with the cutting off of the bottom because of not setting the > > Set as Stack Menu bar in the Menu Builder. I have set the Destroystack of my > > splash, app and substacks to false. Now when I created my Mac app, I get the > > top of my second card showing the upper 1/4 inch of blue from the my main > > card! > > It sounds like you didn't place the menu on that card, so you are seeing > a blank place. You need to place the menu group on every card in the stack. > > Mac users should always develop with the menu showing at the top of the > stack window. That is, turn off both "preview as menubar" and "set as > stack menu" until you are ready to build a standalone. Being able to see > the stack as Windows users will see it allows you to place objects on > the card in the right positions, and tells you immediately if you've > forgotten to put a menu on the card. > > When you are ready to build, turn those options back on and make sure > destroystack is set to false. > > > -- > Jacqueline Landman Gay | [hidden email] > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > [hidden email] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > View message @ http://runtime-revolution.278305.n4.nabble.com/How-do-you-fix-this-tp2274538p2275389.html > To unsubscribe from How do you fix this?, click here. > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-do-you-fix-this-tp2274538p2275429.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Thu Jul 1 12:53:26 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 1 Jul 2010 09:53:26 -0700 Subject: Running revlets on the iPad In-Reply-To: <4C2CC476.104@gmail.com> References: <4C2BB3E7.5040801@fourthworld.com> <4C2CC476.104@gmail.com> Message-ID: I think that's a cultural thing. I have known several Egyptians, and while decent enough people on the whole, they do seem to believe that whatever they can get from you for as little as they can give back is fair practice. I think they call it bartering. The more extreme ones believe it is a mandate of their religion to lie cheat and steal from "Infidels". I think that is me, and possibly you too. What an odd kind of thing for God to tell men to do! Bob On Jul 1, 2010, at 9:38 AM, Richmond wrote: > On 07/01/2010 07:31 PM, Bob Sneidar wrote: >> No one can believe anything in the media anymore these days! I remember when you could at least believe the facts reported (if not the slant they were delivered with) simply because reporters were bound by honor to do the research needed to validate their claims. I guess honor is all but gone in our modern world. >> >> > > I knew that honour (at least, if not 'honor') was gone when, in 1989, my boss at the time; Mustapha Adly, > told me that as he knew I was a gentleman he would treat me in a gentlemanly way, and then proceeded > to cheat me out of half of my salary. Mr Adly later absconded from Emirates Private School (Abu Dhabi > and Al Ain) with all the money and hasn't been seen since. He also seems to have left one of his wives > behind! I understand he was last seen back in his native Egypt. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dave.cragg at lacscentre.co.uk Thu Jul 1 12:59:25 2010 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 1 Jul 2010 17:59:25 +0100 Subject: Intelligent sorting: A bit of a poser In-Reply-To: <8f8af.79363921.395e1cb5@aol.com> References: <8f8af.79363921.395e1cb5@aol.com> Message-ID: <7993A4F8-A995-461D-B4A7-46C70235301F@lacscentre.co.uk> On 1 Jul 2010, at 17:30, DunbarX at aol.com wrote: > In the handlers submitted earlier one could use an obscure delimiter, like > ASCII 241 or whatever, instead of comma, and set the itemDel. I think that may be a better idea. I just discovered some mistakes (deliberate of course :-)) in my contribution. Dave From DunbarX at aol.com Thu Jul 1 12:59:37 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 1 Jul 2010 12:59:37 EDT Subject: Intelligent sorting: A bit of a poser Message-ID: <918c2.2ca611cf.395e2379@aol.com> Bob. Old HC trick. You can have any number of sortkeys, and they operate in order. Stable sorts, of course. The real gist of this thread for H, if that is his real name, is that the data has to be parsed. The multiple sorts, regex solutions, etc. are just tools. Craig In a message dated 7/1/10 12:45:35 PM, bobs at twft.com writes: > Whoa! You can do that?? Okay, how about concatenating sort criteria, like > char 1 and char 3? Just curious I don't need to do that. > From DunbarX at aol.com Thu Jul 1 13:02:26 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 1 Jul 2010 13:02:26 EDT Subject: Intelligent sorting: A bit of a poser Message-ID: <91be2.5920941c.395e2422@aol.com> My mistakes all come from rushing to get the first response in. You would not believe the competition. I also just screw up a lot. Oh, and don't test. Craig Newman In a message dated 7/1/10 12:59:32 PM, dave.cragg at lacscentre.co.uk writes: > I think that may be a better idea. I just discovered some mistakes > (deliberate of course :-)) in my contribution. > From ambassador at fourthworld.com Thu Jul 1 13:28:10 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 01 Jul 2010 10:28:10 -0700 Subject: Running revlets on the iPad Message-ID: <4C2CD02A.3010601@fourthworld.com> This is an increasingly common problem in the modern era of Drudge-style blogo-"journalism". There was a time not so long ago when it was considered necessary to verify a story with three sources before going to print. Those days are long gone in favor of "Get the scoop at any cost and we don't even care if it's a real scoop just get it!" -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv Bob Sneidar wrote: > No one can believe anything in the media anymore these days! I remember when you could at least believe the facts reported (if not the slant they were delivered with) simply because reporters were bound by honor to do the research needed to validate their claims. I guess honor is all but gone in our modern world. > > That being said, how many people these days read the disclaimers in dialog boxes anymore? > > Bob > > On Jun 30, 2010, at 2:15 PM, Richard Gaskin wrote: > >> Bob Sneidar wrote: >> >> > On the flip side just last week I heard a story that 20% of >> > the apps for Android are capable of revealing information >> > about your location, addresses, and information contained >> > on your Android phone. >> >> >> CNet has since retracted that story: >> >> From bobs at twft.com Thu Jul 1 13:43:48 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 1 Jul 2010 10:43:48 -0700 Subject: Intelligent sorting: A bit of a poser In-Reply-To: <91be2.5920941c.395e2422@aol.com> References: <91be2.5920941c.395e2422@aol.com> Message-ID: My strategy is to sit back and watch the competition heat up, then explode, and then pick up the best pieces, save them to a keepers folder, and later shamelessly use them in my projects. It works really well for me. Bob On Jul 1, 2010, at 10:02 AM, DunbarX at aol.com wrote: > My mistakes all come from rushing to get the first response in. You would > not believe the competition. > > I also just screw up a lot. Oh, and don't test. > > Craig Newman > > In a message dated 7/1/10 12:59:32 PM, dave.cragg at lacscentre.co.uk writes: > > >> I think that may be a better idea. I just discovered some mistakes >> (deliberate of course :-)) in my contribution. >> > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Thu Jul 1 13:45:21 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 1 Jul 2010 10:45:21 -0700 Subject: Running revlets on the iPad In-Reply-To: <4C2CD02A.3010601@fourthworld.com> References: <4C2CD02A.3010601@fourthworld.com> Message-ID: <6670653D-C4B1-41C1-A345-9A278ED23232@twft.com> I guess they figure they can always publish a retraction in a small corner of the back page of section L. Bob On Jul 1, 2010, at 10:28 AM, Richard Gaskin wrote: > This is an increasingly common problem in the modern era of Drudge-style blogo-"journalism". > > There was a time not so long ago when it was considered necessary to verify a story with three sources before going to print. > > Those days are long gone in favor of "Get the scoop at any cost and we don't even care if it's a real scoop just get it!" > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv From admin at FlexibleLearning.com Thu Jul 1 14:50:25 2010 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Thu, 1 Jul 2010 19:50:25 +0100 Subject: Intelligent sorting: A bit of a poser RESULTS In-Reply-To: <20100701170004.F098828842C@mail.runrev.com> Message-ID: Oh boy! Just shows what a great list this is, and how a challenge sparks invention! Thanks to ALL who contributed and participated from which golden nuggets can be gleaned by everyone. The following 4 solutions were benchtested against a list of 10,000 lines using a fixed string suffixed with a random number 1-10,000. Each solution had to correctly sort the list by the suffix number, and the time was averaged over 100 iterations. Results: - Mike Bonner: 107ms, but sort order not strictly numeric. - Dave Cragg: 142ms. Correct sort order. - Craig: Correct sort order. Fine for short lists but benchtest was aborted. - Jan Schenkel: 100ms, but sort order not strictly numeric. Both Mike and Jan's solutions came up with the same result in essentially the same time, but as the sort order produced is not strictly numeric the solutions have to be disqualified. Craig's solution correctly produces a numerically sequenced list and works well on short lists where 'for each' is not required, but fails on long lists due to time. The winner, therefore, is Dave Cragg whose solution produced the correct result and handles long lists. Dave's solution below has been edited by setting an itemDel in order to support commas in lists ; otherwise all his own work! The solutions: function sortMe1 pVar --| Mike Bonner repeat for each line theLIne in PVar get matchchunk(theLine,"([a-zA-Z\s]\d)" , theChar,theEnd ) put numtochar(8) after char theChar of theLine put theLine & return after tTemp end repeat delete the last char of tTemp sort lines of tTemp ascending numeric by item 2 of each sort lines of tTemp ascending by item 1 of each replace numtochar(8) with empty in tTemp return tTemp end sortMe1 function sortMe2 tData --| Dave Cragg set the itemDel to numtochar(8) put "(^.*?)([0-9]*$)" into tRE put "" into tData2 repeat for each line tLine in tData get matchText(tLine, tRE, tS, tNum) put tS & numtochar(8) & tNum & cr after tData2 end repeat sort lines of tData2 numeric by item -1 of each sort lines of tData2 by item 1 of each put "" into tData3 repeat for each line tLine in tData2 put item 1 to -2 of tLine & item -1 of tLine & cr after tData3 end repeat return tData3 end sortMe2 function sortMe3 var --| Craig repeat with y = 1 to the number of lines of var repeat with u = 1 to the number of chars of line y of var if char u of line y of var is n "0123456789" then put comma before char u of line y of var exit repeat end if end repeat end repeat sort var numeric by item 2 of each & item 1 of each sort var by item 1 of each replace comma with empty in var return var end sortMe3 function sortMe4 tText --| Jan Schenkel sort lines of tText numeric by TrailingNumber(each) sort lines of tText return tText end sortMe4 private function TrailingNumber pLine local tNumber, tChar repeat with tIndex = length(pLine) to 1 step -1 put char tIndex of pLine into tChar if tChar is not an integer then exit repeat put tChar before tNumber end repeat if tNumber is empty then put 0 into tNumber return tNumber end TrailingNumberend sortMe3 /H aka Hugh Senior, FLCo From bonnmike at gmail.com Thu Jul 1 15:30:59 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 1 Jul 2010 13:30:59 -0600 Subject: Intelligent sorting: A bit of a poser RESULTS In-Reply-To: References: <20100701170004.F098828842C@mail.runrev.com> Message-ID: For strictly numeric, remove this line. sort lines of tTemp ascending by item 1 of each For some reason I got it in my head that you wanted the alphas grouped, then each alpha group by numeric. As pointed out, my solution didn't allow for commas in the list, and also didn't allow for names with additional separate numerics IO abc4fs342. Daves solution is really nice since it matches everything up to the last group of numbers before doing the split. It also handles lines with no numbers fine which is cool, but I think the sort order ends up being the same? Sorts by numeric first, then by line to group together similar entries.. Would have to remove the same line from Dave's script for strictly numeric sort also. Same for Jan's, remove the extra sort and it's straight numeric. On Thu, Jul 1, 2010 at 12:50 PM, FlexibleLearning wrote: > Oh boy! Just shows what a great list this is, and how a challenge sparks > invention! Thanks to ALL who contributed and participated from which golden > nuggets can be gleaned by everyone. > > The following 4 solutions were benchtested against a list of 10,000 lines > using a fixed string suffixed with a random number 1-10,000. Each solution > had to correctly sort the list by the suffix number, and the time was > averaged over 100 iterations. > > Results: > - Mike Bonner: 107ms, but sort order not strictly numeric. > - Dave Cragg: 142ms. Correct sort order. > - Craig: Correct sort order. Fine for short lists but benchtest was aborted. > - Jan Schenkel: 100ms, but sort order not strictly numeric. > > Both Mike and Jan's solutions came up with the same result in essentially > the same time, but as the sort order produced is not strictly numeric the > solutions have to be disqualified. Craig's solution correctly produces a > numerically sequenced list and works well on short lists where 'for each' is > not required, but fails on long lists due to time. The winner, therefore, is > Dave Cragg whose solution produced the correct result and handles long > lists. Dave's solution below has been edited by setting an itemDel in order > to support commas in lists ; otherwise all his own work! > > The solutions: > > function sortMe1 pVar > ?--| Mike Bonner > ?repeat for each line theLIne in PVar > ? ?get matchchunk(theLine,"([a-zA-Z\s]\d)" , theChar,theEnd ) > ? ?put numtochar(8) after char theChar of theLine > ? ?put theLine & return after tTemp > ?end repeat > ?delete the last char of tTemp > ?sort lines of tTemp ascending numeric by item 2 of each > ?sort lines of tTemp ascending by item 1 of each > ?replace numtochar(8) with empty in tTemp > ?return tTemp > end sortMe1 > > function sortMe2 tData > ?--| Dave Cragg > ?set the itemDel to numtochar(8) > ?put "(^.*?)([0-9]*$)" into tRE > ?put "" into tData2 > ?repeat for each line tLine in tData > ? ?get matchText(tLine, tRE, tS, tNum) > ? ?put tS & numtochar(8) & tNum & cr after tData2 > ?end repeat > ?sort lines of tData2 numeric by item -1 of each > ?sort lines of tData2 by item 1 of each > ?put "" into tData3 > ?repeat for each line tLine in tData2 > ? ?put item 1 to -2 of tLine & item -1 of tLine & cr after tData3 > ?end repeat > ?return tData3 > end sortMe2 > > function sortMe3 var > ?--| Craig > ?repeat with y = 1 to the number of lines of var > ? ?repeat with u = 1 to the number of chars of line y of var > ? ? ?if char u of line y of var is n "0123456789" then > ? ? ? ?put comma before char u of line y of var > ? ? ? ?exit repeat > ? ? ?end if > ? ?end repeat > ?end repeat > ?sort var numeric by item 2 of each & item 1 of each > ?sort var by item 1 of each > ?replace comma with empty in var > ?return var > end sortMe3 > > function sortMe4 tText > ?--| Jan Schenkel > ?sort lines of tText numeric by TrailingNumber(each) > ?sort lines of tText > ?return tText > end sortMe4 > private function TrailingNumber pLine > ?local tNumber, tChar > ?repeat with tIndex = length(pLine) to 1 step -1 > ? ?put char tIndex of pLine into tChar > ? ?if tChar is not an integer then exit repeat > ? ?put tChar before tNumber > ?end repeat > ?if tNumber is empty then put 0 into tNumber > ?return tNumber > end TrailingNumberend sortMe3 > > > /H > aka Hugh Senior, FLCo > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From davidocoker at gmail.com Thu Jul 1 15:32:06 2010 From: davidocoker at gmail.com (David C.) Date: Thu, 1 Jul 2010 14:32:06 -0500 Subject: Intelligent sorting: A bit of a poser In-Reply-To: References: <91be2.5920941c.395e2422@aol.com> Message-ID: > My strategy is to sit back and watch the competition heat up, then explode, and then pick up the > best pieces, save them to a keepers folder, and later shamelessly use them in my projects. It > works really well for me. Heh... you work too hard at it Bob. ;-) I read pretty much *everything* on the list, but am a bit lazy it seems. I just mark anything that I think that I might ever need with "stars" inside my gmail account. Filtering starred messages is pretty quick and simple. Best regards, David C. From andre at andregarzia.com Thu Jul 1 16:31:34 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 1 Jul 2010 17:31:34 -0300 Subject: [BUG?] Can anyone here confirm that RevBrowserSnapshot works? Message-ID: Folks, I have the following code here: local tSnapshot revBrowserSnapshot _W["browser id"], "tSnapshot" set the imageData of img "slide" to tSnapshot This yields an image that looks like static noise, it is grayscale and I can see traces of the real image there... Any clue? -- http://www.andregarzia.com All We Do Is Code. From mwieder at ahsoftware.net Thu Jul 1 16:45:32 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 1 Jul 2010 13:45:32 -0700 Subject: Intelligent sorting: A bit of a poser In-Reply-To: References: <91be2.5920941c.395e2422@aol.com> Message-ID: <1611181468.20100701134532@ahsoftware.net> Bob- Thursday, July 1, 2010, 10:43:48 AM, you wrote: > My strategy is to sit back and watch the competition heat up, > then explode, and then pick up the best pieces, save them to a > keepers folder, and later shamelessly use them in my projects. It > works really well for me. That's funny... that's my strategy as well... -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Jul 1 16:47:08 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 1 Jul 2010 13:47:08 -0700 Subject: Running revlets on the iPad In-Reply-To: References: <4C2BB3E7.5040801@fourthworld.com> <4C2CC476.104@gmail.com> Message-ID: <1041277750.20100701134708@ahsoftware.net> Bob- If you can't deal with your bigotry yourself, at least keep it off the damn list. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Thu Jul 1 16:53:09 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 01 Jul 2010 15:53:09 -0500 Subject: [BUG?] Can anyone here confirm that RevBrowserSnapshot works? In-Reply-To: References: Message-ID: <4C2D0035.9050706@hyperactivesw.com> Andre Garzia wrote: > Folks, > > I have the following code here: > > local tSnapshot > revBrowserSnapshot _W["browser id"], "tSnapshot" > set the imageData of img "slide" to tSnapshot > > This yields an image that looks like static noise, it is grayscale and I can > see traces of the real image there... > > Any clue? > This may be one of those cases where the sizes of the two images don't match. Img "slide" has to be the same dimensions as tSnapshot. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Jul 1 16:54:23 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 01 Jul 2010 15:54:23 -0500 Subject: Question About Menu Builder In-Reply-To: References: Message-ID: <4C2D007F.9000603@hyperactivesw.com> Gregory Lypny wrote: > Hi everyone, > > It's my first time using the menu builder, and I have a question. I > added a couple of menu items to the File menu and they work fine. I > then added a new menu called View to the same menu bar and added > another couple of items, but these do nothing when selected. All of > the items had been tested in a separate menu popup button and work as > expected. What am I doing wrong? (I've also forgotten what the > ampersand means in front of some of the default menu items.) The Help menu must be the last button in the layering order. Make sure that's the case. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andre at andregarzia.com Thu Jul 1 16:54:37 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 1 Jul 2010 17:54:37 -0300 Subject: [BUG?] Can anyone here confirm that RevBrowserSnapshot works? In-Reply-To: <4C2D0035.9050706@hyperactivesw.com> References: <4C2D0035.9050706@hyperactivesw.com> Message-ID: Jacque, They are the same size, I am setting the height and the width of both with the same variables... :-/ ARGH!!!!! On Thu, Jul 1, 2010 at 5:53 PM, J. Landman Gay wrote: > Andre Garzia wrote: > >> Folks, >> >> I have the following code here: >> >> local tSnapshot >> revBrowserSnapshot _W["browser id"], "tSnapshot" >> set the imageData of img "slide" to tSnapshot >> >> This yields an image that looks like static noise, it is grayscale and I >> can >> see traces of the real image there... >> >> Any clue? >> >> > This may be one of those cases where the sizes of the two images don't > match. Img "slide" has to be the same dimensions as tSnapshot. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From jacque at hyperactivesw.com Thu Jul 1 16:59:05 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 01 Jul 2010 15:59:05 -0500 Subject: How do you fix this? In-Reply-To: References: <1277950726521-2274538.post@n4.nabble.com> <4C2CC0ED.10600@hyperactivesw.com> Message-ID: <4C2D0199.5000502@hyperactivesw.com> charles61 wrote: > I guess my question is how do > other developers handle this type of situation when they hide the > menubar on the first card? Or what do you suggest? I handle it by not doing that. :) If you're trying to simulate a splash screen, you're better off using a substack approach. Make your main stack the splash with the image, then hide it after a few seconds and open a substack that contains your main content. Otherwise, leave the menu in place on card 1. Windows users expect it and Mac users won't see it. Resize your image to fit under the menu area. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andre at andregarzia.com Thu Jul 1 17:00:41 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 1 Jul 2010 18:00:41 -0300 Subject: [BUG?] Can anyone here confirm that RevBrowserSnapshot works? In-Reply-To: References: <4C2D0035.9050706@hyperactivesw.com> Message-ID: I am also having trouble with export snapshot as well... since the revBrowserSnapshot does not work, I decided to give old export snapshot command a try: thats the error I am receiving: Error description: export: no image selected, or image not open export snapshot from rect "1472,144,2112,624" to tSnapshot as PNG The code is the one above. I've tried exporting to files as well, same error... Any clues? Can both export snapshot commands be broken? On Thu, Jul 1, 2010 at 5:54 PM, Andre Garzia wrote: > Jacque, > > They are the same size, I am setting the height and the width of both with > the same variables... > > :-/ > > ARGH!!!!! > > > On Thu, Jul 1, 2010 at 5:53 PM, J. Landman Gay wrote: > >> Andre Garzia wrote: >> >>> Folks, >>> >>> I have the following code here: >>> >>> local tSnapshot >>> revBrowserSnapshot _W["browser id"], "tSnapshot" >>> set the imageData of img "slide" to tSnapshot >>> >>> This yields an image that looks like static noise, it is grayscale and I >>> can >>> see traces of the real image there... >>> >>> Any clue? >>> >>> >> This may be one of those cases where the sizes of the two images don't >> match. Img "slide" has to be the same dimensions as tSnapshot. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > -- http://www.andregarzia.com All We Do Is Code. From scott at tactilemedia.com Thu Jul 1 17:20:02 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 01 Jul 2010 14:20:02 -0700 Subject: [OT] Can Of Worms (was Re: Running revlets on the iPad) In-Reply-To: Message-ID: > HTML5 + JS + CSS3 is the future... it will superseed Flash, eventually. I find it interesting that many folks here decry the use of Flash, but would be quite happy to have the rev plugin gain more widespread use. I would hazard a guess that if Adobe was a small company just starting out and came up with the idea for Flash, most people would be quite thrilled. But Adobe is giant conglomerate and the general policy for any large company is "No mercy!" It's not a valid argument to simply say "Flash sucks." The core ideas behind Flash make sense: replace bandwidth-heavy bitmaps with efficient vector art that gets rendered with bitmap effects when displayed; store the instructions for animation, rather than individual animated frames; use efficiently compressed audio that gets decompressed on the client side. Obviously, one can argue the implementation could use more work. And I will the first the claim that Adobe so complicated ActionScript that it is virtually inapproachable by novice developers (if you don't believe this, explain why Adobe developed Catalyst). But I'm having a hard time understanding why employing 3 separate technologies -- HTML5 + JS + CSS -- is considered an improvement over using one. Because they're "open"? Does this mean they're automatically better technologies? As someone who's spent years in Web development and who has spent countless hours finding workarounds for Web browser idiosyncrasies and screw ups, I am quite leery of this move toward "everything in the browser". How many man hours have been wasted by developers trying to get their Web pages to work cross-browser, not to mention cross-platform? Billions? Trillions? And now, because Flash is suddenly considered "bad", using a collection of separate Web technologies must automatically be "good". "But all the modern browsers will support standards and will render HTML+JS+CSS indentically!!" Seriously? Then what will be the benefit of using one browser over another? Why even have multiple browsers? The truth is browsers will NEVER do things similarly if they're competing with one another. Which means the development headaches are are only going to continue. Say what you want about Flash, but it's *one environment*, not IE/Safari/Chrome/Firefox/Opera/etc. We're 10 years into the new millennium, and things are getting more complicated, when they should be getting simpler. And we still don't have flying cars. Regards, Scott Rossi Creative Director Tactile Media, UX Design From jacque at hyperactivesw.com Thu Jul 1 17:25:50 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 01 Jul 2010 16:25:50 -0500 Subject: [BUG?] Can anyone here confirm that RevBrowserSnapshot works? In-Reply-To: References: <4C2D0035.9050706@hyperactivesw.com> Message-ID: <4C2D07DE.5020104@hyperactivesw.com> Andre Garzia wrote: > I am also having trouble with export snapshot as well... since the > revBrowserSnapshot does not work, I decided to give old export snapshot > command a try: > > thats the error I am receiving: > > Error description: export: no image selected, or image not open > > export snapshot from rect "1472,144,2112,624" to tSnapshot as PNG > > The code is the one above. I've tried exporting to files as well, same > error... > > Any clues? Can both export snapshot commands be broken? I was just trying out export snapshot to see if I could help, and I wasn't having any trouble with that part. I was using: export snapshot from the mousecontrol to tSnapshot put tSnapshot When I held the mouse over a button and executed that from the message box, the message box filled with image binary data. So that works. I didn't specify a format, I let the engine choose it. What I can't do is set an image from the variable. I know there's a way, but I don't remember it. If I use the imagedata I get something that is close but not correct. If I use "put tSnapshot into img 1" or "set the text of img 1 to tSnapshot", the image snaps to the correct dimensions as though it was accomodating the new image size, but nothing shows. The image is white. That's as far as I got. Where's Scott Rossi when you need him? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andre at andregarzia.com Thu Jul 1 17:28:05 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 1 Jul 2010 18:28:05 -0300 Subject: [OT] Can Of Worms (was Re: Running revlets on the iPad) In-Reply-To: References: Message-ID: Scott, You raise really valid points! The thing about HTML5 + JS + CSS3 is that in some ways it is more advanced than flash, they are usually handled using really fast js engines and they are more integrated with the host web page, instead of being a binary blob/rect on a page, it can be very fluid. These doesn't mean that RevWeb "do in browser" or Flash ability to call host page js. I would not have a problem with flash if the flash plugin was more polite with the rest of my system. Flash takes all my CPU and tends to crash like a castle of cards here sometimes. Now, RevWeb and Flash are cousins, all the bad things we say about plugins and proprietary technologies can apply to both but I'd rather use RevWeb than Flash for obvious reasons. The cool thing about HTML5 & Friends is that even though it requires a very steep learning curve, it removes some complexity layers as no plugin is involved anymore. Still, productivity with RevWeb is 10 times faster/greater than with HTML5 & Friends. RevWeb is a wonderful way to deploy intranet apps for example, better than flash, easier than HTML5 & etc. We can condemn Flash while hoping our own Plugin gets wide adoption. The main issue about plugins from my point of view is that it will be really hard to get them on mobiles... except for that, I think they have a valid place in my toolchain. :D On Thu, Jul 1, 2010 at 6:20 PM, Scott Rossi wrote: > > HTML5 + JS + CSS3 is the future... it will superseed Flash, eventually. > > I find it interesting that many folks here decry the use of Flash, but > would > be quite happy to have the rev plugin gain more widespread use. > > I would hazard a guess that if Adobe was a small company just starting out > and came up with the idea for Flash, most people would be quite thrilled. > But Adobe is giant conglomerate and the general policy for any large > company > is "No mercy!" > > It's not a valid argument to simply say "Flash sucks." The core ideas > behind Flash make sense: replace bandwidth-heavy bitmaps with efficient > vector art that gets rendered with bitmap effects when displayed; store the > instructions for animation, rather than individual animated frames; use > efficiently compressed audio that gets decompressed on the client side. > > Obviously, one can argue the implementation could use more work. And I > will > the first the claim that Adobe so complicated ActionScript that it is > virtually inapproachable by novice developers (if you don't believe this, > explain why Adobe developed Catalyst). > > But I'm having a hard time understanding why employing 3 separate > technologies -- HTML5 + JS + CSS -- is considered an improvement over using > one. Because they're "open"? Does this mean they're automatically better > technologies? > > As someone who's spent years in Web development and who has spent countless > hours finding workarounds for Web browser idiosyncrasies and screw ups, I > am > quite leery of this move toward "everything in the browser". How many man > hours have been wasted by developers trying to get their Web pages to work > cross-browser, not to mention cross-platform? Billions? Trillions? And > now, because Flash is suddenly considered "bad", using a collection of > separate Web technologies must automatically be "good". > > "But all the modern browsers will support standards and will render > HTML+JS+CSS indentically!!" Seriously? Then what will be the benefit of > using one browser over another? Why even have multiple browsers? > > The truth is browsers will NEVER do things similarly if they're competing > with one another. Which means the development headaches are are only going > to continue. Say what you want about Flash, but it's *one environment*, > not > IE/Safari/Chrome/Firefox/Opera/etc. > > We're 10 years into the new millennium, and things are getting more > complicated, when they should be getting simpler. > > And we still don't have flying cars. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > _______________________________________________ > use-revolution mailing list > use-revolution 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.andregarzia.com All We Do Is Code. From andre at andregarzia.com Thu Jul 1 17:29:52 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 1 Jul 2010 18:29:52 -0300 Subject: [BUG?] Can anyone here confirm that RevBrowserSnapshot works? In-Reply-To: <4C2D07DE.5020104@hyperactivesw.com> References: <4C2D0035.9050706@hyperactivesw.com> <4C2D07DE.5020104@hyperactivesw.com> Message-ID: Thanks for the efforts Jacque, still having trouble though. > That's as far as I got. Where's Scott Rossi when you need him? > > He's on a different thread right now... just above this message! :-D > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From scott at tactilemedia.com Thu Jul 1 17:31:56 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 01 Jul 2010 14:31:56 -0700 Subject: [BUG?] Can anyone here confirm that RevBrowserSnapshot works? In-Reply-To: <4C2D07DE.5020104@hyperactivesw.com> Message-ID: [runs into nearest phone booth and puts on imageData suit] One thing I noticed with revBrowser is it doesn't seem capturable (is that a word?) using coords from the window in which it is displayed, but using global coords works: import snapshot from rect 200,200,400,400 So exporting to a variable using global coords should work: export snapshot from rect 200,200,400,400 to myVar as PNG set text of img test to myVar I tried these here and both seem to work. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Jacque Landman Gay wrote: > Andre Garzia wrote: >> I am also having trouble with export snapshot as well... since the >> revBrowserSnapshot does not work, I decided to give old export snapshot >> command a try: >> >> thats the error I am receiving: >> >> Error description: export: no image selected, or image not open >> >> export snapshot from rect "1472,144,2112,624" to tSnapshot as PNG >> >> The code is the one above. I've tried exporting to files as well, same >> error... >> >> Any clues? Can both export snapshot commands be broken? > > I was just trying out export snapshot to see if I could help, and I > wasn't having any trouble with that part. I was using: > > export snapshot from the mousecontrol to tSnapshot > put tSnapshot > > When I held the mouse over a button and executed that from the message > box, the message box filled with image binary data. So that works. I > didn't specify a format, I let the engine choose it. > > What I can't do is set an image from the variable. I know there's a way, > but I don't remember it. If I use the imagedata I get something that is > close but not correct. If I use "put tSnapshot into img 1" or "set the > text of img 1 to tSnapshot", the image snaps to the correct dimensions > as though it was accomodating the new image size, but nothing shows. The > image is white. > > That's as far as I got. Where's Scott Rossi when you need him? From briany at qldlearning.com Thu Jul 1 17:34:24 2010 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 1 Jul 2010 17:34:24 -0400 Subject: [OT] Can Of Worms (was Re: Running revlets on the iPad) In-Reply-To: References: Message-ID: <71D09AFA-60E2-4E25-9C06-3CEEAB1E6366@qldlearning.com> Amen, Scott. There are plenty of awful uses of Flash, but the general wave of outrage (and associated love for HTML5) has reached levels of ridiculousness. We'll be lucky if HTML5 reaches Flash-level performance and portability any time soon. And I'm sure advertisers will be more than happy to use it for the same blinking banners they used to make in Flash. I find it especially funny that Flash gets singled out for mobile performance issues when there is no well-performing alternative! >> HTML5 + JS + CSS3 is the future... it will superseed Flash, eventually. > > I find it interesting that many folks here decry the use of Flash, but would > be quite happy to have the rev plugin gain more widespread use. > > I would hazard a guess that if Adobe was a small company just starting out > and came up with the idea for Flash, most people would be quite thrilled. > But Adobe is giant conglomerate and the general policy for any large company > is "No mercy!" > > It's not a valid argument to simply say "Flash sucks." The core ideas > behind Flash make sense: replace bandwidth-heavy bitmaps with efficient > vector art that gets rendered with bitmap effects when displayed; store the > instructions for animation, rather than individual animated frames; use > efficiently compressed audio that gets decompressed on the client side. > > Obviously, one can argue the implementation could use more work. And I will > the first the claim that Adobe so complicated ActionScript that it is > virtually inapproachable by novice developers (if you don't believe this, > explain why Adobe developed Catalyst). > > But I'm having a hard time understanding why employing 3 separate > technologies -- HTML5 + JS + CSS -- is considered an improvement over using > one. Because they're "open"? Does this mean they're automatically better > technologies? > > As someone who's spent years in Web development and who has spent countless > hours finding workarounds for Web browser idiosyncrasies and screw ups, I am > quite leery of this move toward "everything in the browser". How many man > hours have been wasted by developers trying to get their Web pages to work > cross-browser, not to mention cross-platform? Billions? Trillions? And > now, because Flash is suddenly considered "bad", using a collection of > separate Web technologies must automatically be "good". > > "But all the modern browsers will support standards and will render > HTML+JS+CSS indentically!!" Seriously? Then what will be the benefit of > using one browser over another? Why even have multiple browsers? > > The truth is browsers will NEVER do things similarly if they're competing > with one another. Which means the development headaches are are only going > to continue. Say what you want about Flash, but it's *one environment*, not > IE/Safari/Chrome/Firefox/Opera/etc. > > We're 10 years into the new millennium, and things are getting more > complicated, when they should be getting simpler. > > And we still don't have flying cars. From bobs at twft.com Thu Jul 1 17:36:59 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 1 Jul 2010 14:36:59 -0700 Subject: How do you fix this? In-Reply-To: <4C2D0199.5000502@hyperactivesw.com> References: <1277950726521-2274538.post@n4.nabble.com> <4C2CC0ED.10600@hyperactivesw.com> <4C2D0199.5000502@hyperactivesw.com> Message-ID: I agree with Jacque on the way to handle this, but in defense of Charles61, this is a real clunky thing. I shouldn't have to work around this, especially since it's been like this through several major revisions. It's the result of menu's being objects that reside on a card but are invisible (sort of). The IDE should treat a system menu as a separate distinct object, but of course, where would you put it? Maybe that poses other problems, perhaps with backward compatibility with other engines and such. Who knows? It seems though that the Mac IDE could just ignore the object instead of taking it into account when sizing and displaying the stack. I dunno. Bob On Jul 1, 2010, at 1:59 PM, J. Landman Gay wrote: > charles61 wrote: >> I guess my question is how do >> other developers handle this type of situation when they hide the >> menubar on the first card? Or what do you suggest? > > I handle it by not doing that. :) If you're trying to simulate a splash screen, you're better off using a substack approach. Make your main stack the splash with the image, then hide it after a few seconds and open a substack that contains your main content. > > Otherwise, leave the menu in place on card 1. Windows users expect it and Mac users won't see it. Resize your image to fit under the menu area. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From andre at andregarzia.com Thu Jul 1 17:38:21 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 1 Jul 2010 18:38:21 -0300 Subject: [BUG?] Can anyone here confirm that RevBrowserSnapshot works? In-Reply-To: References: <4C2D07DE.5020104@hyperactivesw.com> Message-ID: Scott, Just tried this exact piece: set the width of me to presentationWidth() set the height of me to presentationHeight() set the imageData of me to tSnapshot put the rect of stack "presentation" into tRect export snapshot from rect tRect to tSnapshot as PNG set the text of me to tSnapshot I am receiving this on the message box: Message execution error: Error description: export: no image selected, or image not open Hint: By the way, which Rev version are you using? Here it is 4.5-dp-3 the screenshotable stack is on the second monitor, so the rect looks like: 1472,144,2112,624 :-/ no love for screen grabs in here... On Thu, Jul 1, 2010 at 6:31 PM, Scott Rossi wrote: > [runs into nearest phone booth and puts on imageData suit] > > > One thing I noticed with revBrowser is it doesn't seem capturable (is that > a > word?) using coords from the window in which it is displayed, but using > global coords works: > > import snapshot from rect 200,200,400,400 > > So exporting to a variable using global coords should work: > > export snapshot from rect 200,200,400,400 to myVar as PNG > set text of img test to myVar > > I tried these here and both seem to work. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > > Recently, Jacque Landman Gay wrote: > > > Andre Garzia wrote: > >> I am also having trouble with export snapshot as well... since the > >> revBrowserSnapshot does not work, I decided to give old export snapshot > >> command a try: > >> > >> thats the error I am receiving: > >> > >> Error description: export: no image selected, or image not open > >> > >> export snapshot from rect "1472,144,2112,624" to tSnapshot as PNG > >> > >> The code is the one above. I've tried exporting to files as well, same > >> error... > >> > >> Any clues? Can both export snapshot commands be broken? > > > > I was just trying out export snapshot to see if I could help, and I > > wasn't having any trouble with that part. I was using: > > > > export snapshot from the mousecontrol to tSnapshot > > put tSnapshot > > > > When I held the mouse over a button and executed that from the message > > box, the message box filled with image binary data. So that works. I > > didn't specify a format, I let the engine choose it. > > > > What I can't do is set an image from the variable. I know there's a way, > > but I don't remember it. If I use the imagedata I get something that is > > close but not correct. If I use "put tSnapshot into img 1" or "set the > > text of img 1 to tSnapshot", the image snaps to the correct dimensions > > as though it was accomodating the new image size, but nothing shows. The > > image is white. > > > > That's as far as I got. Where's Scott Rossi when you need him? > > > > > _______________________________________________ > use-revolution mailing list > use-revolution 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.andregarzia.com All We Do Is Code. From gregory.lypny at videotron.ca Thu Jul 1 17:43:48 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 01 Jul 2010 17:43:48 -0400 Subject: Saving Changes in a Standalone Message-ID: Hi everyone, I suspect this has come up before. I just built a standalone version of a stack that allows users to import data into fields. Custom props are set during a user's session and various other changes occur. I have the following save handler in the stack script, but when I quit the standalone and reopen it, none of the changes has been kept! on closeStack save this stack end closeStack What am I doing wrong? I thought that the contents of fields, changes to button menus, and custom props would be saved. Regards, Gregory From scott at tactilemedia.com Thu Jul 1 17:45:20 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 01 Jul 2010 14:45:20 -0700 Subject: [BUG?] Can anyone here confirm that RevBrowserSnapshot works? In-Reply-To: Message-ID: Recently, Andre Garzia wrote: > Just tried this exact piece: > > set the width of me to presentationWidth() > set the height of me to presentationHeight() > set the imageData of me to tSnapshot > put the rect of stack "presentation" into tRect > export snapshot from rect tRect to tSnapshot as PNG > set the text of me to tSnapshot > > I am receiving this on the message box: > > Message execution error: > Error description: export: no image selected, or image not open > Hint: > > By the way, which Rev version are you using? Here it is 4.5-dp-3 the > screenshotable stack is on the second monitor, so the rect looks like: > 1472,144,2112,624 Maybe you have not defined tSnapshot earlier in the handler so Rev doesn't know it's an empty variable? Regards, Scott Rossi Creative Director Tactile Media, UX Design From bobs at twft.com Thu Jul 1 17:46:40 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 1 Jul 2010 14:46:40 -0700 Subject: [OT] Can Of Worms (was Re: Running revlets on the iPad) In-Reply-To: References: Message-ID: <7F4B3C8C-FDC8-445F-B4D1-1AC1257295A6@twft.com> From an IT perspective, having to supply ridiculous bandwidth to all my users who somehow have found a way to justify access to youtube, I would be happy if we went back to straight up HTML gifs and text! But someone somewhere back in time said, "Hey wouldn't it be great if we had richer content in web pages? Maybe even applications that loaded through the web browser?" (I think the guy ran Microsoft at the time.) And as men are wont to do, no one counted the cost. They just started building it, and hoped it would all "work itself out". Security became everyone else's problem. Cost was something the "government" would take care of. Now we have users who do about 3/4 of an hour real work and spend the rest of the time "facebooking" or some other such thing, enabled by all that "rich content". We have drive by viruses that can ONLY infect a machine because of the support for "rich content" in all the browsers. I sound like an old geezer don't I? Still, do we really need all this stuff to be productive? I can see some applications for the technology, but look at the price we pay! Bob On Jul 1, 2010, at 2:20 PM, Scott Rossi wrote: >> HTML5 + JS + CSS3 is the future... it will superseed Flash, eventually. > > I find it interesting that many folks here decry the use of Flash, but would > be quite happy to have the rev plugin gain more widespread use. > > I would hazard a guess that if Adobe was a small company just starting out > and came up with the idea for Flash, most people would be quite thrilled. > But Adobe is giant conglomerate and the general policy for any large company > is "No mercy!" > > It's not a valid argument to simply say "Flash sucks." The core ideas > behind Flash make sense: replace bandwidth-heavy bitmaps with efficient > vector art that gets rendered with bitmap effects when displayed; store the > instructions for animation, rather than individual animated frames; use > efficiently compressed audio that gets decompressed on the client side. > > Obviously, one can argue the implementation could use more work. And I will > the first the claim that Adobe so complicated ActionScript that it is > virtually inapproachable by novice developers (if you don't believe this, > explain why Adobe developed Catalyst). > > But I'm having a hard time understanding why employing 3 separate > technologies -- HTML5 + JS + CSS -- is considered an improvement over using > one. Because they're "open"? Does this mean they're automatically better > technologies? > > As someone who's spent years in Web development and who has spent countless > hours finding workarounds for Web browser idiosyncrasies and screw ups, I am > quite leery of this move toward "everything in the browser". How many man > hours have been wasted by developers trying to get their Web pages to work > cross-browser, not to mention cross-platform? Billions? Trillions? And > now, because Flash is suddenly considered "bad", using a collection of > separate Web technologies must automatically be "good". > > "But all the modern browsers will support standards and will render > HTML+JS+CSS indentically!!" Seriously? Then what will be the benefit of > using one browser over another? Why even have multiple browsers? > > The truth is browsers will NEVER do things similarly if they're competing > with one another. Which means the development headaches are are only going > to continue. Say what you want about Flash, but it's *one environment*, not > IE/Safari/Chrome/Firefox/Opera/etc. > > We're 10 years into the new millennium, and things are getting more > complicated, when they should be getting simpler. > > And we still don't have flying cars. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From psahores at free.fr Thu Jul 1 17:46:43 2010 From: psahores at free.fr (Pierre Sahores) Date: Thu, 1 Jul 2010 23:46:43 +0200 Subject: last available version of revBrowser.dll (windows) ? In-Reply-To: <1277951855676-2274548.post@n4.nabble.com> References: <87F01C21-A64E-4BC2-9CAA-B42AD05DA430@free.fr> <1277951855676-2274548.post@n4.nabble.com> Message-ID: <72A576FD-2764-435E-BA80-BB88A1B5E1F9@free.fr> Hello Alejandro. Here is it : > MD5 (/Users/mbdc/Desktop/GTB/Windows/Externals/revbrowser.dll) = 3f2cecf354ccdde558f261a0540826ff This version of the embeded IE stuff don't seems to support some CSS and JS key features where the Safari one (revbrowser.bundle) does ... Thanks ! Pierre Le 1 juil. 2010 ? 04:37, Alejandro Tejada a ?crit : > > Hi Pierre, > > Could you post the MD5 of the DLL that > you are using? > > Al > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/last-available-version-of-revBrowser-dll-windows-tp2272925p2274548.html > Sent from the Revolution - User mailing list archive at Nabble.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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From andre at andregarzia.com Thu Jul 1 17:50:51 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 1 Jul 2010 18:50:51 -0300 Subject: [BUG?] Can anyone here confirm that RevBrowserSnapshot works? In-Reply-To: References: Message-ID: Scott, do I need something more than a: local tSnapshot to define it? I will try putting empty in there first... On Thu, Jul 1, 2010 at 6:45 PM, Scott Rossi wrote: > Recently, Andre Garzia wrote: > > > Just tried this exact piece: > > > > set the width of me to presentationWidth() > > set the height of me to presentationHeight() > > set the imageData of me to tSnapshot > > put the rect of stack "presentation" into tRect > > export snapshot from rect tRect to tSnapshot as PNG > > set the text of me to tSnapshot > > > > I am receiving this on the message box: > > > > Message execution error: > > Error description: export: no image selected, or image not open > > Hint: > > > > By the way, which Rev version are you using? Here it is 4.5-dp-3 the > > screenshotable stack is on the second monitor, so the rect looks like: > > 1472,144,2112,624 > > Maybe you have not defined tSnapshot earlier in the handler so Rev doesn't > know it's an empty variable? > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > _______________________________________________ > use-revolution mailing list > use-revolution 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.andregarzia.com All We Do Is Code. From andre at andregarzia.com Thu Jul 1 17:51:44 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 1 Jul 2010 18:51:44 -0300 Subject: [BUG?] Can anyone here confirm that RevBrowserSnapshot works? In-Reply-To: References: Message-ID: tried, not good... damn... On Thu, Jul 1, 2010 at 6:50 PM, Andre Garzia wrote: > Scott, > > do I need something more than a: > > local tSnapshot > > to define it? I will try putting empty in there first... > > > On Thu, Jul 1, 2010 at 6:45 PM, Scott Rossi wrote: > >> Recently, Andre Garzia wrote: >> >> > Just tried this exact piece: >> > >> > set the width of me to presentationWidth() >> > set the height of me to presentationHeight() >> > set the imageData of me to tSnapshot >> > put the rect of stack "presentation" into tRect >> > export snapshot from rect tRect to tSnapshot as PNG >> > set the text of me to tSnapshot >> > >> > I am receiving this on the message box: >> > >> > Message execution error: >> > Error description: export: no image selected, or image not open >> > Hint: >> > >> > By the way, which Rev version are you using? Here it is 4.5-dp-3 the >> > screenshotable stack is on the second monitor, so the rect looks like: >> > 1472,144,2112,624 >> >> Maybe you have not defined tSnapshot earlier in the handler so Rev doesn't >> know it's an empty variable? >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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.andregarzia.com All We Do Is Code. > -- http://www.andregarzia.com All We Do Is Code. From gregory.lypny at videotron.ca Thu Jul 1 17:52:45 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 01 Jul 2010 17:52:45 -0400 Subject: Question About Menu Builder In-Reply-To: <20100701214636.A972E28848C@mail.runrev.com> References: <20100701214636.A972E28848C@mail.runrev.com> Message-ID: Hi Jacqueline, I looked in the Application Browser. Help appears as layer 57 and my new View menu appears as 56. Gregory On Thu, Jul 1, 2010, at 5:46 PM, use-revolution-request at lists.runrev.com wrote: > The Help menu must be the last button in the layering order. Make sure > that's the case. From bobs at twft.com Thu Jul 1 17:59:01 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 1 Jul 2010 14:59:01 -0700 Subject: Saving Changes in a Standalone In-Reply-To: References: Message-ID: <5A6D1BF2-08D1-4E31-9D9C-34D5AF5B6E4C@twft.com> Nope. Nothing can modify a compiled app, and you main app becomes part of the application. Nothing gets saved. There are a couple approaches to this: 1. Have you main stack be an "application loading" splash stack of some kind, then hide it and load an included stack that is your REAL application. 2. Treat all objects in your application as a form, and read data in and out of a data file or database with an initialization routine when the app launches. I would make a backup of the data file before writing back to it in an open app, or have a defaults data file where if you encounter corruption you can restore defaults, or both! "Why the heck is it like this??" you say? There was a time when you could distribute a runtime engine which would launch your stacks, and so didn't have to compile to an executable if you didn't want to. Your stacks would have run just fine using a runtime engine. That isn't the case anymore, at least to my knowledge. I think the IDE is still set up the way it is today because it really hasn't caught up with the whole "compile to app" notion of doing things so we work around the little issues. You just have to think about all this when designing your app from the start, otherwise you kind of have to go back and rethink some things. Bob On Jul 1, 2010, at 2:43 PM, Gregory Lypny wrote: > Hi everyone, > > I suspect this has come up before. I just built a standalone version of a stack that allows users to import data into fields. Custom props are set during a user's session and various other changes occur. I have the following save handler in the stack script, but when I quit the standalone and reopen it, none of the changes has been kept! > > on closeStack > save this stack > end closeStack > > What am I doing wrong? I thought that the contents of fields, changes to button menus, and custom props would be saved. > > Regards, > > Gregory > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From pete at mollysrevenge.com Thu Jul 1 17:59:28 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 1 Jul 2010 14:59:28 -0700 Subject: Saving Changes in a Standalone In-Reply-To: <20100701214636.CCAFB288490@mail.runrev.com> References: <20100701214636.CCAFB288490@mail.runrev.com> Message-ID: <798E0A15-FE1B-4B90-A4EB-3BFFD4D861F8@mollysrevenge.com> You're not doing anything wrong - Revolution does not allow data, custom props, etc to be saved in a standalone application. I was just bitten by this a couple of weeks ago. I'm using a database to store all my data so that wasn't an issue, but I also use custom props whose settings have to survive across runs of the application. I ended up writing getProp and setProp handlers for the custom props I cared about to store them in an external preferences file. Pete Haworth On Jul 1, 2010, at 2:46 PM, use-revolution-request at lists.runrev.com wrote: > Message: 24 > Date: Thu, 01 Jul 2010 17:43:48 -0400 > From: Gregory Lypny > Subject: Saving Changes in a Standalone > To: Revolution > Message-ID: > Content-Type: text/plain; charset=us-ascii > > Hi everyone, > > I suspect this has come up before. I just built a standalone > version of a stack that allows users to import data into fields. > Custom props are set during a user's session and various other > changes occur. I have the following save handler in the stack > script, but when I quit the standalone and reopen it, none of the > changes has been kept! > > on closeStack > save this stack > end closeStack > > What am I doing wrong? I thought that the contents of fields, > changes to button menus, and custom props would be saved. > > Regards, > > Gregory From bobs at twft.com Thu Jul 1 18:01:31 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 1 Jul 2010 15:01:31 -0700 Subject: Saving Changes in a Standalone In-Reply-To: <798E0A15-FE1B-4B90-A4EB-3BFFD4D861F8@mollysrevenge.com> References: <20100701214636.CCAFB288490@mail.runrev.com> <798E0A15-FE1B-4B90-A4EB-3BFFD4D861F8@mollysrevenge.com> Message-ID: <3DB8628D-9DB0-46F3-86B2-7034A4267D58@twft.com> Just to confirm, nothing does. It's not a Revolution issue, it's an executable issue. Bob On Jul 1, 2010, at 2:59 PM, Peter Haworth wrote: > You're not doing anything wrong - Revolution does not allow data, custom props, etc to be saved in a standalone application. From andre at andregarzia.com Thu Jul 1 18:05:02 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 1 Jul 2010 19:05:02 -0300 Subject: [BUG] Confirmed, can't capture screen from second monitor (Was Re: [BUG?] Can anyone here confirm that RevBrowserSnapshot works? Message-ID: Folks, Just tested here, capturing a screen shot from first monitor works fine, capturing an screen shot from the second monitor fails. Can someone try this before I bugzilla it? Cheers andre On Thu, Jul 1, 2010 at 6:51 PM, Andre Garzia wrote: > tried, not good... damn... > > > On Thu, Jul 1, 2010 at 6:50 PM, Andre Garzia wrote: > >> Scott, >> >> do I need something more than a: >> >> local tSnapshot >> >> to define it? I will try putting empty in there first... >> >> >> On Thu, Jul 1, 2010 at 6:45 PM, Scott Rossi wrote: >> >>> Recently, Andre Garzia wrote: >>> >>> > Just tried this exact piece: >>> > >>> > set the width of me to presentationWidth() >>> > set the height of me to presentationHeight() >>> > set the imageData of me to tSnapshot >>> > put the rect of stack "presentation" into tRect >>> > export snapshot from rect tRect to tSnapshot as PNG >>> > set the text of me to tSnapshot >>> > >>> > I am receiving this on the message box: >>> > >>> > Message execution error: >>> > Error description: export: no image selected, or image not open >>> > Hint: >>> > >>> > By the way, which Rev version are you using? Here it is 4.5-dp-3 the >>> > screenshotable stack is on the second monitor, so the rect looks like: >>> > 1472,144,2112,624 >>> >>> Maybe you have not defined tSnapshot earlier in the handler so Rev >>> doesn't >>> know it's an empty variable? >>> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX Design >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution 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.andregarzia.com All We Do Is Code. >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > -- http://www.andregarzia.com All We Do Is Code. From scott at tactilemedia.com Thu Jul 1 18:13:09 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 01 Jul 2010 15:13:09 -0700 Subject: [BUG] Confirmed, can't capture screen from second monitor (Was Re: [BUG?] Can anyone here confirm that RevBrowserSnapshot works? In-Reply-To: Message-ID: Recently, Andre Garzia wrote: > Just tested here, capturing a screen shot from first monitor works fine, > capturing an screen shot from the second monitor fails. > > Can someone try this before I bugzilla it? If you move the stack to your main monitor, does the snapshot code work? Regards, Scott Rossi Creative Director Tactile Media, UX Design From mwieder at ahsoftware.net Thu Jul 1 18:14:40 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 1 Jul 2010 15:14:40 -0700 Subject: last available version of revBrowser.dll (windows) ? In-Reply-To: <72A576FD-2764-435E-BA80-BB88A1B5E1F9@free.fr> References: <87F01C21-A64E-4BC2-9CAA-B42AD05DA430@free.fr> <1277951855676-2274548.post@n4.nabble.com> <72A576FD-2764-435E-BA80-BB88A1B5E1F9@free.fr> Message-ID: <756530765.20100701151440@ahsoftware.net> Pierre- Thursday, July 1, 2010, 2:46:43 PM, you wrote: > Hello Alejandro. > Here is it : >> MD5 (/Users/mbdc/Desktop/GTB/Windows/Externals/revbrowser.dll) >> = 3f2cecf354ccdde558f261a0540826ff That's interesting... I get 4.0: 8f67b74e200da56d71cfd8754e7452f3 4.5-dp2: bbe9047346c92d63d53dc07dae9a251b 4.5-dp1: 90b98eda1510f3bf8d120ff5abae9750 on xp sp3 from the following: on mouseUp pMouseBtnNo answer file "where is the revbrowser.dll file?" if it is not empty then put hexDigest(it) & cr after msg end if end mouseUp function hexDigest pvalue local tRes local tMD5 put md5Digest(pValue) into tMD5 get binaryDecode("H*",tMD5,tRes) return tRes end hexDigest -- -Mark Wieder mwieder at ahsoftware.net From jimaultwins at yahoo.com Thu Jul 1 18:17:55 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Thu, 1 Jul 2010 15:17:55 -0700 Subject: [BUG] Confirmed, can't capture screen from second monitor (Was Re: [BUG?] Can anyone here confirm that RevBrowserSnapshot works? In-Reply-To: References: Message-ID: <1D1AABD9-5D29-4921-A737-6658C9C07C34@yahoo.com> The main-monior-only feature has been true for years. [ 2.0, I think ] My solution for a dual screen capture is to move the stack to the main monitor, snap, then move back. There were a few other tricks I used waaaay back then, as I was using 3 monitors on my Mac G5 Dual tower. Browser screen capture was to set the target window on the main monitor. Jim Ault Las Vegas On Jul 1, 2010, at 3:05 PM, Andre Garzia wrote: > Folks, > > Just tested here, capturing a screen shot from first monitor works > fine, > capturing an screen shot from the second monitor fails. > > Can someone try this before I bugzilla it? > andre > > On Thu, Jul 1, 2010 at 6:51 PM, Andre Garzia > wrote: > >> tried, not good... damn.. >> >> On Thu, Jul 1, 2010 at 6:50 PM, Andre Garzia >> wrote: >> >>> Scott, >>> >>> do I need something more than a: >>> >>> local tSnapshot >>> >>> to define it? I will try putting empty in there first... >>> >>> >>> On Thu, Jul 1, 2010 at 6:45 PM, Scott Rossi >>> wrote: >>> >>>> Recently, Andre Garzia wrote: >>>> >>>>> Just tried this exact piece: >>>>> >>>>> set the width of me to presentationWidth() >>>>> set the height of me to presentationHeight() >>>>> set the imageData of me to tSnapshot >>>>> put the rect of stack "presentation" into tRect >>>>> export snapshot from rect tRect to tSnapshot as PNG >>>>> set the text of me to tSnapshot >>>>> >>>>> I am receiving this on the message box: >>>>> >>>>> Message execution error: >>>>> Error description: export: no image selected, or image not open >>>>> Hint: >>>>> >>>>> By the way, which Rev version are you using? Here it is 4.5-dp-3 >>>>> the >>>>> screenshotable stack is on the second monitor, so the rect looks >>>>> like: >>>>> 1472,144,2112,624 >>>> >>>> Maybe you have not defined tSnapshot earlier in the handler so Rev >>>> doesn't >>>> know it's an empty variable? >>>> >>>> Regards, >>>> >>>> Scott Rossi From cszasz at mac.com Thu Jul 1 18:22:23 2010 From: cszasz at mac.com (charles61) Date: Thu, 1 Jul 2010 15:22:23 -0700 (PDT) Subject: How do you fix this? In-Reply-To: <4C2CC0ED.10600@hyperactivesw.com> References: <1277950726521-2274538.post@n4.nabble.com> <4C2CC0ED.10600@hyperactivesw.com> Message-ID: <92D6632D-12E8-457F-8FD0-087F9BE41C60@mac.com> Jacqueline, I managed to fix my problem by removing the script to hide the menu bar. This along with the Set as stack Menu bar for the Mac resolved my problem. Charles Szasz cszasz at mac.com On Jul 1, 2010, at 12:23 PM, J. Landman Gay [via Runtime Revolution] wrote: > charles61 wrote: > > I had problems with the cutting off of the bottom because of not setting the > > Set as Stack Menu bar in the Menu Builder. I have set the Destroystack of my > > splash, app and substacks to false. Now when I created my Mac app, I get the > > top of my second card showing the upper 1/4 inch of blue from the my main > > card! > > It sounds like you didn't place the menu on that card, so you are seeing > a blank place. You need to place the menu group on every card in the stack. > > Mac users should always develop with the menu showing at the top of the > stack window. That is, turn off both "preview as menubar" and "set as > stack menu" until you are ready to build a standalone. Being able to see > the stack as Windows users will see it allows you to place objects on > the card in the right positions, and tells you immediately if you've > forgotten to put a menu on the card. > > When you are ready to build, turn those options back on and make sure > destroystack is set to false. > > > -- > Jacqueline Landman Gay | [hidden email] > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > [hidden email] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > View message @ http://runtime-revolution.278305.n4.nabble.com/How-do-you-fix-this-tp2274538p2275389.html > To unsubscribe from How do you fix this?, click here. > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-do-you-fix-this-tp2274538p2275795.html Sent from the Revolution - User mailing list archive at Nabble.com. From stephenREVOLUTION2 at barncard.com Thu Jul 1 18:28:15 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 1 Jul 2010 15:28:15 -0700 Subject: Saving Changes in a Standalone In-Reply-To: <3DB8628D-9DB0-46F3-86B2-7034A4267D58@twft.com> References: <20100701214636.CCAFB288490@mail.runrev.com> <798E0A15-FE1B-4B90-A4EB-3BFFD4D861F8@mollysrevenge.com> <3DB8628D-9DB0-46F3-86B2-7034A4267D58@twft.com> Message-ID: Remember a stack can both be a visible window with objects and a holder for scripts, it can also be a very efficient and addressable data container. The stack one compiles as an app can call other stacks that are not compiled. The best of both worlds. On 1 July 2010 15:01, Bob Sneidar wrote: > Just to confirm, nothing does. It's not a Revolution issue, it's an > executable issue. > > Bob > > > On Jul 1, 2010, at 2:59 PM, Peter Haworth wrote: > > > You're not doing anything wrong - Revolution does not allow data, custom > props, etc to be saved in a standalone application. > > _______________________________________________ > use-revolution mailing list > use-revolution 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 San Francisco From scott at tactilemedia.com Thu Jul 1 18:33:29 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 01 Jul 2010 15:33:29 -0700 Subject: [BUG] Confirmed, can't capture screen from second monitor (Was Re: [BUG?] Can anyone here confirm that RevBrowserSnapshot works? In-Reply-To: Message-ID: Recently, Andre Garzia wrote: > Just tested here, capturing a screen shot from first monitor works fine, > capturing an screen shot from the second monitor fails. > > Can someone try this before I bugzilla it? It does seem that a standard snapshot won't capture beyond the rect of the main display. Anything beyond the main display's rect gets truncated, so if the target rect falls outside the main display rect, Rev is unable to grab anything; if the target rect spans the main and secondary displays, Rev grabs only the portion of the rect that appears on the main display. Regards, Scott Rossi Creative Director Tactile Media, UX Design From andre at andregarzia.com Thu Jul 1 19:08:49 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 1 Jul 2010 20:08:49 -0300 Subject: [BUG] Confirmed, can't capture screen from second monitor (Was Re: [BUG?] Can anyone here confirm that RevBrowserSnapshot works? In-Reply-To: References: Message-ID: I consider that a bug and you? will fill a bugzilla report after dinner... On Thu, Jul 1, 2010 at 7:33 PM, Scott Rossi wrote: > Recently, Andre Garzia wrote: > > > Just tested here, capturing a screen shot from first monitor works fine, > > capturing an screen shot from the second monitor fails. > > > > Can someone try this before I bugzilla it? > > It does seem that a standard snapshot won't capture beyond the rect of the > main display. Anything beyond the main display's rect gets truncated, so > if > the target rect falls outside the main display rect, Rev is unable to grab > anything; if the target rect spans the main and secondary displays, Rev > grabs only the portion of the rect that appears on the main display. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > _______________________________________________ > use-revolution mailing list > use-revolution 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.andregarzia.com All We Do Is Code. From scott at tactilemedia.com Thu Jul 1 19:31:49 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 01 Jul 2010 16:31:49 -0700 Subject: [BUG] Confirmed, can't capture screen from second monitor (Was Re: [BUG?] Can anyone here confirm that RevBrowserSnapshot works? In-Reply-To: Message-ID: Recently, Andre Garzia wrote: > I consider that a bug and you? Me tu, Brute. I think Jim Alt provided a workable workaround. Regards, Scott Rossi Creative Director Tactile Media, UX Design From jacque at hyperactivesw.com Thu Jul 1 20:51:28 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 01 Jul 2010 19:51:28 -0500 Subject: Question About Menu Builder In-Reply-To: References: <20100701214636.A972E28848C@mail.runrev.com> Message-ID: <4C2D3810.6090808@hyperactivesw.com> Gregory Lypny wrote: > Hi Jacqueline, > > I looked in the Application Browser. Help appears as layer 57 and my > new View menu appears as 56. If it's in the menu group, and it probably is if you made it with the Menu Builder, then I'm not sure what could be wrong. What doesn't work exactly? Does it pop down and display your menu items? Or it is the menu items that don't work? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Thu Jul 1 22:08:20 2010 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 01 Jul 2010 21:08:20 -0500 Subject: [ANN] ssImageThingy In-Reply-To: Message-ID: Looks interesting, but how do you get it set up? (I DL'ed It and everything looks blank ATM. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ On 6/30/10 1:32 AM, "Shao Sean" wrote: > Give your Rev-based applications an iPhoto-like live resizing image > thumbnail viewer.. This is being released free (Public Domain) and > unlocked so if you feel like having features added you can (or send > them back to share them with everyone else).. > > > What : live resizing image thumbnail viewer > Where : http://shaosean.tk/ > When : now :-) > Who : thanks to Simon Lord for the fun; mad props to Malte Pfaff- > Brill for assistance > > > Set the margins on the group to control the internal padding of the > main group.. > Set the text font/size/etc on the main group to change the label > appearance.. > > Speed is okay on my G4 and smooth on Intel-based Macs, but live > resizing lots of images can slow it right down.. > > This is implemented as a behavior.. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION2 at barncard.com Thu Jul 1 22:11:21 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 1 Jul 2010 19:11:21 -0700 Subject: [ANN] ssImageThingy In-Reply-To: References: Message-ID: yes odd things in the script of the button that seem not to relate. Doesn't work for me either (Mac OS) This is not up to your standards of quality Shao - please check the stack. On 1 July 2010 19:08, Ken Ray wrote: > Looks interesting, but how do you get it set up? (I DL'ed It and everything > looks blank ATM. > > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > From ambassador at fourthworld.com Thu Jul 1 22:16:47 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 01 Jul 2010 19:16:47 -0700 Subject: Saving Changes in a Standalone Message-ID: <4C2D4C0F.50907@fourthworld.com> Gregory Lypny wrote: > I suspect this has come up before. I just built a standalone > version of a stack that allows users to import data into fields. > Custom props are set during a user's session and various other > changes occur. I have the following save handler in the stack > script, but when I quit the standalone and reopen it, none of > the changes has been kept! > > on closeStack > save this stack > end closeStack > > What am I doing wrong? As the others have noted, you're fine and Rev's fine, it's just that OSes don't let executables modify themselves. This comes up often enough that Sarah Reichelt wrote a wonderful contribution to revJournal.com on the subject, outlining strategies for saving data outside the executable: Saving data in Revolution standalones -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From admin at FlexibleLearning.com Fri Jul 2 02:19:03 2010 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Fri, 2 Jul 2010 07:19:03 +0100 Subject: Intelligent sorting: A bit of a poser RESULTS CORRECTION In-Reply-To: <20100701214636.CCAFB288490@mail.runrev.com> Message-ID: I made an inexcusable error when applying the solutions in the benchtests. When adjusting Mike's solution to handle commas in the list I omitted to adjust the itemDel. The corrected solution is below. As a result, Mike's solution is not only very fast, but also sub-sorts the alpha component and handles mixed suffix components (which is very cool). However, as pointed out, it cannot handle alpha-only list items. Dave's solution can handle lists with or without numbers, but the sort order is inexact. Using the insights of both solutions, I have based a composite solution on Mike's routine adjusted with the flexibility Dave's routine. It has Mike's speed and ability to sort mixed suffixes, but includes Dave's ability to sort mixed alpha-only and alphanumeric lists. I think this provides the best of everything for a generic library function... function sortMe5 pList --| Hugh Senior --| Based on a solution by Mike Bonner set the itemDel to numtochar(8) repeat for each line theLine in pList if matchchunk(theLine,"([a-zA-Z\s]\d)",theChar,theEnd) then put numtochar(8) after char theChar of theLine else put numtochar(8) after theLine put theLine & CR after tTemp end repeat delete last char of tTemp sort lines of tTemp numeric by item 2 of each sort lines of tTemp by item 1 of each replace numtochar(8) with "" in tTemp return tTemp end sortMe5 a 1 b20 a 20 a 2 b10 a 3 b3 a 1a b2 a 10 b1a d c b a gives... a a 1 a 1a a 2 a 3 a 10 a 20 b b1a b2 b3 b10 b20 c d Prior Work... function sortMe1 pVar --| Mike Bonner set the itemDel to numtochar(8) repeat for each line theLIne in PVar get matchchunk(theLine,"([a-zA-Z\s]\d)" , theChar,theEnd ) put numtochar(8) after char theChar of theLine put theLine & return after tTemp end repeat delete the last char of tTemp sort lines of tTemp ascending numeric by item 2 of each sort lines of tTemp ascending by item 1 of each replace numtochar(8) with empty in tTemp return tTemp end sortMe1 function sortMe2 tData --| Dave Cragg set the itemDel to numtochar(8) put "(^.*?)([0-9]*$)" into tRE put "" into tData2 repeat for each line tLine in tData get matchText(tLine, tRE, tS, tNum) put tS & numtochar(8) & tNum & cr after tData2 end repeat sort lines of tData2 numeric by item -1 of each sort lines of tData2 by item 1 of each put "" into tData3 repeat for each line tLine in tData2 put item 1 to -2 of tLine & item -1 of tLine & cr after tData3 end repeat return tData3 end sortMe2 /H From shaosean at wehostmacs.com Fri Jul 2 03:13:14 2010 From: shaosean at wehostmacs.com (Shao Sean) Date: Fri, 02 Jul 2010 03:13:14 -0400 Subject: [ANN] taking a break Message-ID: <232F0262-C6EE-4A07-BD6A-EFEA76DAB94F@wehostmacs.com> taking a break from coding for a while.. everything is offline until i can figure out how to raise my standards.. From dave.cragg at lacscentre.co.uk Fri Jul 2 03:45:39 2010 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 2 Jul 2010 08:45:39 +0100 Subject: Intelligent sorting: A bit of a poser RESULTS CORRECTION In-Reply-To: References: Message-ID: <62068E21-E307-464A-9087-85121B2652B2@lacscentre.co.uk> Thanks for keeping us up to date, Hugh. Of course, another solution might be to write a polite letter to whoever is giving you this data suggesting they collect it differently in the first place. :-) Cheers Dave From richmondmathewson at gmail.com Fri Jul 2 05:35:31 2010 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 02 Jul 2010 12:35:31 +0300 Subject: [ANN] taking a break In-Reply-To: <232F0262-C6EE-4A07-BD6A-EFEA76DAB94F@wehostmacs.com> References: <232F0262-C6EE-4A07-BD6A-EFEA76DAB94F@wehostmacs.com> Message-ID: <4C2DB2E3.6000300@gmail.com> On 07/02/2010 10:13 AM, Shao Sean wrote: > taking a break from coding for a while.. everything is offline until i > can figure out how to raise my standards.. > _______________________________________________ That has to be admired; especially when a lot of people seem to be falling for the "Quick-n-Easy" approach. From scott at elementarysoftware.com Fri Jul 2 05:43:20 2010 From: scott at elementarysoftware.com (Scott Morrow) Date: Fri, 2 Jul 2010 02:43:20 -0700 Subject: [ANN] taking a break In-Reply-To: <4C2DB2E3.6000300@gmail.com> References: <232F0262-C6EE-4A07-BD6A-EFEA76DAB94F@wehostmacs.com> <4C2DB2E3.6000300@gmail.com> Message-ID: On Jul 2, 2010, at 2:35 AM, Richmond wrote: > On 07/02/2010 10:13 AM, Shao Sean wrote: >> taking a break from coding for a while.. everything is offline until i can figure out how to raise my standards.. >> _______________________________________________ > > That has to be admired; especially when a lot of people seem to be > falling for the "Quick-n-Easy" approach. Huh? That never crossed my mind. I thought he had some flags that needed raising... -Scott Morrow From rman at free.fr Fri Jul 2 06:43:36 2010 From: rman at free.fr (Robert Mann) Date: Fri, 2 Jul 2010 03:43:36 -0700 (PDT) Subject: [BUG?] Can anyone here confirm that RevBrowserSnapshot works? In-Reply-To: References: <4C2D0035.9050706@hyperactivesw.com> <4C2D07DE.5020104@hyperactivesw.com> Message-ID: <1278067416003-2276274.post@n4.nabble.com> Hi I did experience trouble with browser snapshot. I did not relate it to double screen.... I retested and found out the following that can help : 1) take the browser sampler, open on main screen, use snapshot. All works fine. 2) drag the pile to 2nd screen : use snapshot : there comes garbage (gray lines..) 3) drag back to main screen : use snapshot : PROBLEM REMAINS, yu still get garbage! 4) solution is to move to another card, and come back, in effect launching a new browser, and works again. => gray line snapshot garbage off the main screen seems to be persistent once it occurs. It's like Herpes.. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/BUG-Can-anyone-here-confirm-that-RevBrowserSnapshot-works-tp2275672p2276274.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Fri Jul 2 07:46:35 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 2 Jul 2010 04:46:35 -0700 (PDT) Subject: last available version of revBrowser.dll (windows) ? In-Reply-To: <756530765.20100701151440@ahsoftware.net> References: <87F01C21-A64E-4BC2-9CAA-B42AD05DA430@free.fr> <1277951855676-2274548.post@n4.nabble.com> <72A576FD-2764-435E-BA80-BB88A1B5E1F9@free.fr> <756530765.20100701151440@ahsoftware.net> Message-ID: <1278071195195-2276336.post@n4.nabble.com> Hi Pierre and Mark, Looks like there have been many recent versions of revBrowser DLLs... But, Where are the Release notes for each version? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/last-available-version-of-revBrowser-dll-windows-tp2272925p2276336.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Fri Jul 2 07:54:30 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 2 Jul 2010 04:54:30 -0700 (PDT) Subject: [ANN] taking a break In-Reply-To: <232F0262-C6EE-4A07-BD6A-EFEA76DAB94F@wehostmacs.com> References: <232F0262-C6EE-4A07-BD6A-EFEA76DAB94F@wehostmacs.com> Message-ID: <1278071670753-2276342.post@n4.nabble.com> Hi Sean, I visited your webpage at: http://www.shaosean.tk/ It says... lowering standards everywhere. That is not a accurate description of your work in this platform. Could you explain the reasons behind this phrase, please? Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-taking-a-break-tp2276053p2276342.html Sent from the Revolution - User mailing list archive at Nabble.com. From andre at andregarzia.com Fri Jul 2 08:05:00 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 2 Jul 2010 09:05:00 -0300 Subject: [ANN] taking a break In-Reply-To: <1278071670753-2276342.post@n4.nabble.com> References: <232F0262-C6EE-4A07-BD6A-EFEA76DAB94F@wehostmacs.com> <1278071670753-2276342.post@n4.nabble.com> Message-ID: If Ms Shao Sean standards are not high enough then I am copying the wrong person because her code was one of the examples I always looked forward to implement. If you can get even higher standards than the cool collection of stacks I have from you from the past couple years then you'll deserve an award. There are dudes and dudettes here that can code with such elegance that always baffles me and Shao Sean, don't get me started on your externals, I really like them! Please don't vanish! :-D On Fri, Jul 2, 2010 at 8:54 AM, Alejandro Tejada wrote: > > Hi Sean, > > I visited your webpage at: > http://www.shaosean.tk/ > > It says... lowering standards everywhere. > > That is not a accurate description of > your work in this platform. > > Could you explain the reasons behind > this phrase, please? > > Thanks in advance! > > Al > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/ANN-taking-a-break-tp2276053p2276342.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From mb.userev at harbourhosting.co.uk Fri Jul 2 08:26:57 2010 From: mb.userev at harbourhosting.co.uk (Martin Baxter) Date: Fri, 02 Jul 2010 13:26:57 +0100 Subject: Running revlets on the iPad In-Reply-To: <1277951721525-2274547.post@n4.nabble.com> References: <3630C8D1-7FEA-4A26-A4C3-D83B82648D91@sbcglobal.net> <19AE78B8-5DE1-4772-A021-2C9D9F08B1D2@verizon.net> <4C2B8B7F.2050301@gmail.com> <1277951721525-2274547.post@n4.nabble.com> Message-ID: <4C2DDB11.4060408@harbourhosting.co.uk> Alejandro Tejada wrote: > Hi Andre, > > > Andre Garzia-3 wrote: >> HTML5 + JS + CSS3 is the future... it will superseed Flash, eventually. >> > > Actually, the problem is not Flash, but the persistent abuse > and misuse of SWF for advertising content. > > You could find, easily, 4 or 5 swf files on the same page, > trying to get your attention, your bandwidth and your > processor, all of them, at the same time. > > The solution that i envision to this is: > Only the more recent (or latest) SWF > is able to run. The rest should wait > until the user clicks on them. > > If HTML5 + JS + CSS3 replace SWF files, then > this problem would become only more evident. > > Al I couldn't agree more. At present I can choose to either not install, or to disable Flash (and I do). With html video, canvas, dom storage etc. protecting yourself from "demented content snippets" (and sneaky snooping) becomes even harder. It introduces a whole new world of opportunity for design and marketing low-lifes to make web pages unbearable to the point of icky. The faction that wants the web to be like TV (only worse), alienates those who like using the web because TV sucks. But hey, at least there's no way they can override the missing sound card I removed. :D (Bliss. Bliss. Silence is golden.) Flash could have been used for good or evil, guess which one mankind chose! ;-) Martin Baxter -- I am Not a Number, I am a free NaN From mikekann at yahoo.com Fri Jul 2 08:50:40 2010 From: mikekann at yahoo.com (Michael Kann) Date: Fri, 2 Jul 2010 05:50:40 -0700 (PDT) Subject: Intelligent sorting: A bit of a poser RESULTS CORRECTION In-Reply-To: Message-ID: <348986.24112.qm@web56706.mail.re3.yahoo.com> Hugh, thanks for providing a fun and educational challenge -- and organizing the results. I woke up with an idea. Can you time my late entry? Thanks. Mike ------------------------------------- -- I think the script is pretty -- self-explanatory ------------------------------------- on mouseUp put fld 1 into v -- original data set the itemDel to "*" repeat with k = 0 to 9 replace k with "*"&k in v end repeat repeat for each line k in v replace "*" with "" in item 2 to -1 of k put k & cr after h end repeat delete last char of h sort h numeric by item 2 of each sort h by item 1 of each replace "*" with "" in h put h into fld 2 -- output end mouseUp ------------------------------------- --- On Fri, 7/2/10, FlexibleLearning wrote: > From: FlexibleLearning > Subject: Re: Intelligent sorting: A bit of a poser RESULTS CORRECTION > To: use-revolution at lists.runrev.com > Date: Friday, July 2, 2010, 1:19 AM > I made an inexcusable error when > applying the solutions in the benchtests. > When adjusting Mike's solution to handle commas in the list > I omitted to > adjust the itemDel. The corrected solution is below. > > As a result, Mike's solution is not only very fast, but > also sub-sorts the > alpha component and handles mixed suffix components (which > is very cool). > However, as pointed out, it cannot handle alpha-only list > items. Dave's > solution can handle lists with or without numbers, but the > sort order is > inexact. > > Using the insights of both solutions, I have based a > composite solution on > Mike's routine adjusted with the flexibility Dave's > routine. It has Mike's > speed and ability to sort mixed suffixes, but includes > Dave's ability to > sort mixed alpha-only and alphanumeric lists. I think this > provides the best > of everything for a generic library function... > > function sortMe5 pList > ? --| Hugh Senior > ? --| Based on a solution by Mike Bonner > ? set the itemDel to numtochar(8) > ? repeat for each line theLine in pList > ? ? if > matchchunk(theLine,"([a-zA-Z\s]\d)",theChar,theEnd) then > ? ? ? put numtochar(8) after char theChar of > theLine > ? ? else put numtochar(8) after theLine > ? ? put theLine & CR after tTemp > ? end repeat > ? delete last char of tTemp > ? sort lines of tTemp numeric by item 2 of each > ? sort lines of tTemp by item 1 of each > ? replace numtochar(8) with "" in tTemp > ? return tTemp > end sortMe5 > > a 1 > b20 > a 20 > a 2 > b10 > a 3 > b3 > a 1a > b2 > a 10 > b1a > d > c > b > a > > gives... > > a > a 1 > a 1a > a 2 > a 3 > a 10 > a 20 > b > b1a > b2 > b3 > b10 > b20 > c > d > > Prior Work... > > function sortMe1 pVar > ? --| Mike Bonner > ? set the itemDel to numtochar(8) > ? repeat for each line theLIne in PVar > ? ? get matchchunk(theLine,"([a-zA-Z\s]\d)" , > theChar,theEnd ) > ? ? put numtochar(8) after char theChar of > theLine > ? ? put theLine & return after tTemp > ? end repeat > ? delete the last char of tTemp > ? sort lines of tTemp ascending numeric by item 2 of > each > ? sort lines of tTemp ascending by item 1 of each > ? replace numtochar(8) with empty in tTemp > ? return tTemp > end sortMe1 > > function sortMe2 tData > ? --| Dave Cragg > ? set the itemDel to numtochar(8) > ? put "(^.*?)([0-9]*$)" into tRE > ? put "" into tData2 > ? repeat for each line tLine in tData > ? ? get matchText(tLine, tRE, tS, tNum) > ? ? put tS & numtochar(8) & tNum & cr > after tData2 > ? end repeat > ? sort lines of tData2 numeric by item -1 of each > ? sort lines of tData2 by item 1 of each > ? put "" into tData3 > ? repeat for each line tLine in tData2 > ? ? put item 1 to -2 of tLine & item -1 of > tLine & cr after tData3 > ? end repeat > ? return tData3 > end sortMe2 > > > /H > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From klaus at major.on-rev.com Fri Jul 2 08:55:58 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 2 Jul 2010 14:55:58 +0200 Subject: [ANN] ssImageThingy In-Reply-To: References: Message-ID: Hi all, Am 02.07.2010 um 04:11 schrieb stephen barncard: > yes odd things in the script of the button that seem not to relate. Doesn't > work for me either (Mac OS) > This is not up to your standards of quality Shao - please check the stack. > > On 1 July 2010 19:08, Ken Ray wrote: >> Looks interesting, but how do you get it set up? (I DL'ed It and everything >> looks blank ATM. >> >> Ken Ray >> Sons of Thunder Software, Inc. >> Email: kray at sonsothunder.com >> Web Site: http://www.sonsothunder.com/ come on guys, are you developers or mice? :-D Works fine here after I changed the file references in the script of button "Load"! Shao, please dont be offended, they are just... erm... MEN ;-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From slord at karbonized.com Fri Jul 2 09:04:06 2010 From: slord at karbonized.com (Simon Lord) Date: Fri, 2 Jul 2010 09:04:06 -0400 Subject: [ANN] ssImageThingy In-Reply-To: References: Message-ID: Silent movie (3.1mb hinted streaming): www.marelina.com/miscellaneous/ssImageThingy_grab.mov Shao had asked me to make a video a couple days ago so here it is. Not sure if the stack has changed at all from the version she gave me but there it is. So what it is? For me it's simply a visual representation of a series of projects which I plan to display to the user as a series of clickable image proxies of their projects. Others can use it to make little image albums or whatever seems most obvious to your needs. How it works: You can pass it a set of image paths separated by line returns or create a slightly more complex array with attributes which are assigned to each image. Look at the "Load" button code for examples. The rest is fairly straightforward if you understand how inheritance works (once Shao explained to me it was similar to CSS I understood immediately). On Thu, Jul 1, 2010 at 10:11 PM, stephen barncard wrote: > yes odd things in the script of the button that seem not to relate. Doesn't > work for me either (Mac OS) > > This is not up to your standards of quality Shao - please check the stack. > > On 1 July 2010 19:08, Ken Ray wrote: > >> Looks interesting, but how do you get it set up? (I DL'ed It and everything >> looks blank ATM. >> >> >> Ken Ray >> Sons of Thunder Software, Inc. >> Email: kray at sonsothunder.com >> Web Site: http://www.sonsothunder.com/ >> >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From capellan2000 at gmail.com Fri Jul 2 09:22:03 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 2 Jul 2010 06:22:03 -0700 (PDT) Subject: [ANN] taking a break In-Reply-To: References: <232F0262-C6EE-4A07-BD6A-EFEA76DAB94F@wehostmacs.com> <1278071670753-2276342.post@n4.nabble.com> Message-ID: <1278076923026-2276417.post@n4.nabble.com> Hmmm, hopefully this is a joke like Donald Knuth's "earth shaking announcement": http://arstechnica.com/civis/viewtopic.php?f=20&t=1115138 If i had waited until my coding standards were on par with all professional developers in this platform... then I had published (maybe) one or, at most, two useful or interesting stacks in this mailing list in all these years. Even so, i have not posted many of my stacks that are really useful, (like the Potrace Interface) that are incomplete, although functional. By the way, notice that i have never posted a library or an executable program. All of my downloable post are stacks and pieces of code ;-) Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-taking-a-break-tp2276053p2276417.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Fri Jul 2 09:53:03 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 2 Jul 2010 06:53:03 -0700 (PDT) Subject: Running revlets on the iPad In-Reply-To: <4C2DDB11.4060408@harbourhosting.co.uk> References: <3630C8D1-7FEA-4A26-A4C3-D83B82648D91@sbcglobal.net> <19AE78B8-5DE1-4772-A021-2C9D9F08B1D2@verizon.net> <4C2B8B7F.2050301@gmail.com> <1277951721525-2274547.post@n4.nabble.com> <4C2DDB11.4060408@harbourhosting.co.uk> Message-ID: <1278078783678-2276466.post@n4.nabble.com> Hi Martin, Martin Baxter wrote: Martin Baxter-4 wrote: > > I couldn't agree more. At present I can choose to either not install, or > to disable Flash (and I do). With html video, canvas, dom storage etc. > protecting yourself from "demented content snippets" (and sneaky > snooping) becomes even harder. It introduces a whole new world of > opportunity for design and marketing low-lifes to make web pages > unbearable to the point of icky. The faction that wants the web to be > like TV (only worse), alienates those who like using the web because TV > sucks. But hey, at least there's no way they can override the missing > sound card I removed. :D (Bliss. Bliss. Silence is golden.) > > Flash could have been used for good or evil, guess which one mankind > chose! ;-) > Martin, i agree with all of your post, except last line. I am part of the mankind and have not participated in the abuse and misuse of SWF. ;-) But now that i think about it, although i have not removed the sound card, i had attached an audio extension cord to the audio out, so headphones are my preferred way to hear sound from my computers. Hopefully, Adobe will allow to control the SWF platform, not only from Javascript, but using any scripting language like revTalk, python, perl and Lua. Similar to this project named Lua Alchemy: http://code.google.com/p/lua-alchemy/ Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Running-revlets-on-the-iPad-tp2273949p2276466.html Sent from the Revolution - User mailing list archive at Nabble.com. From joef1 at mac.com Fri Jul 2 09:59:09 2010 From: joef1 at mac.com (Joe F.) Date: Fri, 02 Jul 2010 09:59:09 -0400 Subject: [ANN] ssImageThingy In-Reply-To: References: Message-ID: When I tried to make it work it looked as if the ImageList property of group "moo" was not being populated. Any clues on that? On Jul 2, 2010, at 9:04 AM, Simon Lord wrote: > Silent movie (3.1mb hinted streaming): > > www.marelina.com/miscellaneous/ssImageThingy_grab.mov > > Shao had asked me to make a video a couple days ago so here it is. Not > sure if the stack has changed at all from the version she gave me but > there it is. > > So what it is? For me it's simply a visual representation of a series > of projects which I plan to display to the user as a series of > clickable image proxies of their projects. Others can use it to make > little image albums or whatever seems most obvious to your needs. > > How it works: > > You can pass it a set of image paths separated by line returns or > create a slightly more complex array with attributes which are > assigned to each image. Look at the "Load" button code for examples. > > The rest is fairly straightforward if you understand how inheritance > works (once Shao explained to me it was similar to CSS I understood > immediately). > > On Thu, Jul 1, 2010 at 10:11 PM, stephen barncard > wrote: >> yes odd things in the script of the button that seem not to relate. Doesn't >> work for me either (Mac OS) >> >> This is not up to your standards of quality Shao - please check the stack. >> >> On 1 July 2010 19:08, Ken Ray wrote: >> >>> Looks interesting, but how do you get it set up? (I DL'ed It and everything >>> looks blank ATM. >>> >>> >>> Ken Ray >>> Sons of Thunder Software, Inc. >>> Email: kray at sonsothunder.com >>> Web Site: http://www.sonsothunder.com/ >>> >>> >>> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From slord at karbonized.com Fri Jul 2 10:05:15 2010 From: slord at karbonized.com (Simon Lord) Date: Fri, 2 Jul 2010 10:05:15 -0400 Subject: [ANN] ssImageThingy In-Reply-To: References: Message-ID: Be sure you are passing FULL paths to the image. Do not use a relative path from the stack. On Fri, Jul 2, 2010 at 9:59 AM, Joe F. wrote: > When I tried to make it work it looked as if the ImageList property of group "moo" was not being populated. > Any clues on that? > > On Jul 2, 2010, at 9:04 AM, Simon Lord wrote: > >> Silent movie (3.1mb hinted streaming): >> >> www.marelina.com/miscellaneous/ssImageThingy_grab.mov >> >> Shao had asked me to make a video a couple days ago so here it is. Not >> sure if the stack has changed at all from the version she gave me but >> there it is. >> >> So what it is? ?For me it's simply a visual representation of a series >> of projects which I plan to display to the user as a series of >> clickable image proxies of their projects. ?Others can use it to make >> little image albums or whatever seems most obvious to your needs. >> >> How it works: >> >> You can pass it a set of image paths separated by line returns or >> create a slightly more complex array with attributes which are >> assigned to each image. ?Look at the "Load" button code for examples. >> >> The rest is fairly straightforward if you understand how inheritance >> works (once Shao explained to me it was similar to CSS I understood >> immediately). >> >> On Thu, Jul 1, 2010 at 10:11 PM, stephen barncard >> wrote: >>> yes odd things in the script of the button that seem not to relate. Doesn't >>> work for me either (Mac OS) >>> >>> This is not up to your standards of quality Shao - please check the stack. >>> >>> On 1 July 2010 19:08, Ken Ray wrote: >>> >>>> Looks interesting, but how do you get it set up? (I DL'ed It and everything >>>> looks blank ATM. >>>> >>>> >>>> Ken Ray >>>> Sons of Thunder Software, Inc. >>>> Email: kray at sonsothunder.com >>>> Web Site: http://www.sonsothunder.com/ >>>> >>>> >>>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 Fri Jul 2 10:33:23 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 02 Jul 2010 07:33:23 -0700 Subject: Saving Changes in a Standalone Message-ID: <4C2DF8B3.8080006@fourthworld.com> stephen barncard wrote: > Remember a stack can both be a visible window with objects and > a holder for scripts, it can also be a very efficient and > addressable data container. > > The stack one compiles as an app can call other stacks that are not > compiled. The best of both worlds. Stack files are my favorite means of storage. These days I only use text files for ultra-large repositories too big to be loaded into RAM (with an index you'd be surprised how fast Rev can get in and out of such things with seek). But for almost everything else I use stacks. With stacks you can use custom props, which are by far the most efficient means of using persistent arrays in Rev. RevTalk provides the arrayEncode and arrayDecode functions which can be used for similar purposes, but the overhead of translating arrays with those functions is many times more costly than just opening a stack which has the data in custom props. I've tested with more than 100,000 custom props on stack files up to 100MB, and as long as you have the RAM it works great. Smaller files (50MB or less) work amazingly fast in most memory configurations, even with similarly large numbers of props. Since custom props can be separated into property sets, you get two levels of hierarchy supported with amazingly efficient access speed. While it's possible to store arrays in props to extend that hierarchy further, the speed is lost as those need to go through the internal equivalent of arrayDecode to be accessed. But as long as you stick with property sets and properties you get a robust data store that's hard to beat for efficiency. If you need a deeper hierarchy you can add objects there and use those props as well. That's one of the other things I like about stack files as data stores: you can store either text or binary data, or even native objects, mixing and matching for nearly every need. Extra bonus points: unlike a text file, with stacks you get an automatic backup made during save, so if you have a power outage or other interruption during save at least you'll have a copy of your last saved file, found in the same directory with the same name preceded with "~". Tip: The engine currently doesn't prevent you from using property names longer than 255 chars, but as noted in the Limits section of the docs such names are not allowed. If you attempt to use a longer name it will corrupt your stack file - see: Just stick to the 255-char limit and you're good to go. Short strings and of course numeric keys work great. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From bobs at twft.com Fri Jul 2 11:56:42 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 2 Jul 2010 08:56:42 -0700 Subject: Running revlets on the iPad In-Reply-To: <1278078783678-2276466.post@n4.nabble.com> References: <3630C8D1-7FEA-4A26-A4C3-D83B82648D91@sbcglobal.net> <19AE78B8-5DE1-4772-A021-2C9D9F08B1D2@verizon.net> <4C2B8B7F.2050301@gmail.com> <1277951721525-2274547.post@n4.nabble.com> <4C2DDB11.4060408@harbourhosting.co.uk> <1278078783678-2276466.post@n4.nabble.com> Message-ID: <41895599-14AA-49BB-909D-F55490B7A037@twft.com> None of this applies to me either. I am a very gifted and well trained Chimpanzee. Bob On Jul 2, 2010, at 6:53 AM, Alejandro Tejada wrote: > Martin, i agree with all of your post, except last line. > I am part of the mankind and have not participated > in the abuse and misuse of SWF. ;-) From bobs at twft.com Fri Jul 2 11:58:37 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 2 Jul 2010 08:58:37 -0700 Subject: Intelligent sorting: A bit of a poser RESULTS CORRECTION In-Reply-To: References: Message-ID: <223F7F3A-1AED-41F6-8E78-A7EFA4C9A844@twft.com> That's beautiful stuff! See? Humanity CAN work together for the common good! Bob On Jul 1, 2010, at 11:19 PM, FlexibleLearning wrote: > I made an inexcusable error when applying the solutions in the benchtests. > When adjusting Mike's solution to handle commas in the list I omitted to > adjust the itemDel. The corrected solution is below. > > As a result, Mike's solution is not only very fast, but also sub-sorts the > alpha component and handles mixed suffix components (which is very cool). > However, as pointed out, it cannot handle alpha-only list items. Dave's > solution can handle lists with or without numbers, but the sort order is > inexact. > > Using the insights of both solutions, I have based a composite solution on > Mike's routine adjusted with the flexibility Dave's routine. It has Mike's > speed and ability to sort mixed suffixes, but includes Dave's ability to > sort mixed alpha-only and alphanumeric lists. I think this provides the best > of everything for a generic library function... > > function sortMe5 pList > --| Hugh Senior > --| Based on a solution by Mike Bonner > set the itemDel to numtochar(8) > repeat for each line theLine in pList > if matchchunk(theLine,"([a-zA-Z\s]\d)",theChar,theEnd) then > put numtochar(8) after char theChar of theLine > else put numtochar(8) after theLine > put theLine & CR after tTemp > end repeat > delete last char of tTemp > sort lines of tTemp numeric by item 2 of each > sort lines of tTemp by item 1 of each > replace numtochar(8) with "" in tTemp > return tTemp > end sortMe5 > > a 1 > b20 > a 20 > a 2 > b10 > a 3 > b3 > a 1a > b2 > a 10 > b1a > d > c > b > a > > gives... > > a > a 1 > a 1a > a 2 > a 3 > a 10 > a 20 > b > b1a > b2 > b3 > b10 > b20 > c > d > > Prior Work... > > function sortMe1 pVar > --| Mike Bonner > set the itemDel to numtochar(8) > repeat for each line theLIne in PVar > get matchchunk(theLine,"([a-zA-Z\s]\d)" , theChar,theEnd ) > put numtochar(8) after char theChar of theLine > put theLine & return after tTemp > end repeat > delete the last char of tTemp > sort lines of tTemp ascending numeric by item 2 of each > sort lines of tTemp ascending by item 1 of each > replace numtochar(8) with empty in tTemp > return tTemp > end sortMe1 > > function sortMe2 tData > --| Dave Cragg > set the itemDel to numtochar(8) > put "(^.*?)([0-9]*$)" into tRE > put "" into tData2 > repeat for each line tLine in tData > get matchText(tLine, tRE, tS, tNum) > put tS & numtochar(8) & tNum & cr after tData2 > end repeat > sort lines of tData2 numeric by item -1 of each > sort lines of tData2 by item 1 of each > put "" into tData3 > repeat for each line tLine in tData2 > put item 1 to -2 of tLine & item -1 of tLine & cr after tData3 > end repeat > return tData3 > end sortMe2 > > > /H > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Fri Jul 2 11:59:42 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 2 Jul 2010 08:59:42 -0700 Subject: Intelligent sorting: A bit of a poser RESULTS CORRECTION In-Reply-To: References: Message-ID: <2C161B90-322F-4E7D-935F-64EF558830F8@twft.com> BTW this is going straight into my Shamelessly Exploit folder. Bob On Jul 1, 2010, at 11:19 PM, FlexibleLearning wrote: > I made an inexcusable error when applying the solutions in the benchtests. > When adjusting Mike's solution to handle commas in the list I omitted to > adjust the itemDel. The corrected solution is below. From bobs at twft.com Fri Jul 2 12:01:08 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 2 Jul 2010 09:01:08 -0700 Subject: Intelligent sorting: A bit of a poser RESULTS CORRECTION In-Reply-To: <348986.24112.qm@web56706.mail.re3.yahoo.com> References: <348986.24112.qm@web56706.mail.re3.yahoo.com> Message-ID: That would work until some idiot (like me) tried to sort a list containing asterisks. Bob On Jul 2, 2010, at 5:50 AM, Michael Kann wrote: > Hugh, thanks for providing a fun and educational challenge -- and organizing the results. I woke up with an idea. Can you time my late entry? > Thanks. > > Mike > > ------------------------------------- > -- I think the script is pretty > -- self-explanatory > ------------------------------------- > > > on mouseUp > put fld 1 into v -- original data > set the itemDel to "*" > > repeat with k = 0 to 9 > replace k with "*"&k in v > end repeat > > repeat for each line k in v > replace "*" with "" in item 2 to -1 of k > put k & cr after h > end repeat > delete last char of h > > sort h numeric by item 2 of each > sort h by item 1 of each > replace "*" with "" in h > > put h into fld 2 -- output > end mouseUp > > ------------------------------------- > > --- On Fri, 7/2/10, FlexibleLearning wrote: > >> From: FlexibleLearning >> Subject: Re: Intelligent sorting: A bit of a poser RESULTS CORRECTION >> To: use-revolution at lists.runrev.com >> Date: Friday, July 2, 2010, 1:19 AM >> I made an inexcusable error when >> applying the solutions in the benchtests. >> When adjusting Mike's solution to handle commas in the list >> I omitted to >> adjust the itemDel. The corrected solution is below. >> >> As a result, Mike's solution is not only very fast, but >> also sub-sorts the >> alpha component and handles mixed suffix components (which >> is very cool). >> However, as pointed out, it cannot handle alpha-only list >> items. Dave's >> solution can handle lists with or without numbers, but the >> sort order is >> inexact. >> >> Using the insights of both solutions, I have based a >> composite solution on >> Mike's routine adjusted with the flexibility Dave's >> routine. It has Mike's >> speed and ability to sort mixed suffixes, but includes >> Dave's ability to >> sort mixed alpha-only and alphanumeric lists. I think this >> provides the best >> of everything for a generic library function... >> >> function sortMe5 pList >> --| Hugh Senior >> --| Based on a solution by Mike Bonner >> set the itemDel to numtochar(8) >> repeat for each line theLine in pList >> if >> matchchunk(theLine,"([a-zA-Z\s]\d)",theChar,theEnd) then >> put numtochar(8) after char theChar of >> theLine >> else put numtochar(8) after theLine >> put theLine & CR after tTemp >> end repeat >> delete last char of tTemp >> sort lines of tTemp numeric by item 2 of each >> sort lines of tTemp by item 1 of each >> replace numtochar(8) with "" in tTemp >> return tTemp >> end sortMe5 >> >> a 1 >> b20 >> a 20 >> a 2 >> b10 >> a 3 >> b3 >> a 1a >> b2 >> a 10 >> b1a >> d >> c >> b >> a >> >> gives... >> >> a >> a 1 >> a 1a >> a 2 >> a 3 >> a 10 >> a 20 >> b >> b1a >> b2 >> b3 >> b10 >> b20 >> c >> d >> >> Prior Work... >> >> function sortMe1 pVar >> --| Mike Bonner >> set the itemDel to numtochar(8) >> repeat for each line theLIne in PVar >> get matchchunk(theLine,"([a-zA-Z\s]\d)" , >> theChar,theEnd ) >> put numtochar(8) after char theChar of >> theLine >> put theLine & return after tTemp >> end repeat >> delete the last char of tTemp >> sort lines of tTemp ascending numeric by item 2 of >> each >> sort lines of tTemp ascending by item 1 of each >> replace numtochar(8) with empty in tTemp >> return tTemp >> end sortMe1 >> >> function sortMe2 tData >> --| Dave Cragg >> set the itemDel to numtochar(8) >> put "(^.*?)([0-9]*$)" into tRE >> put "" into tData2 >> repeat for each line tLine in tData >> get matchText(tLine, tRE, tS, tNum) >> put tS & numtochar(8) & tNum & cr >> after tData2 >> end repeat >> sort lines of tData2 numeric by item -1 of each >> sort lines of tData2 by item 1 of each >> put "" into tData3 >> repeat for each line tLine in tData2 >> put item 1 to -2 of tLine & item -1 of >> tLine & cr after tData3 >> end repeat >> return tData3 >> end sortMe2 >> >> >> /H >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage >> your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From gregory.lypny at videotron.ca Fri Jul 2 12:20:43 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Fri, 02 Jul 2010 12:20:43 -0400 Subject: Saving Changes in a Standalone In-Reply-To: <20100702125031.636CB2884F2@mail.runrev.com> References: <20100702125031.636CB2884F2@mail.runrev.com> Message-ID: <88AC7238-E263-4520-A00A-5F7EB96F4DE0@videotron.ca> Hi everyone, Thanks for all of your replies. Crystal clear. It has been a long time since I've built a standalone since a lot of the stacks that I use for research are used by me alone. I made the mistake of using substacks rather stack files and a splash screen disguised as the main app as suggested. Thanks again, Gregory From gregory.lypny at videotron.ca Fri Jul 2 12:22:49 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Fri, 02 Jul 2010 12:22:49 -0400 Subject: Question About Menu Builder In-Reply-To: <20100702125031.636CB2884F2@mail.runrev.com> References: <20100702125031.636CB2884F2@mail.runrev.com> Message-ID: <771CABBD-E1E1-424E-B872-78BE948C5A15@videotron.ca> It pops down, but selecting those items does nothing. Maybe I should just delete the menu bar and try it again from scratch. Can you refresh my memory and tell me what the ampersands in front of the default items mean? Regards, Gregory On Fri, Jul 2, 2010, at 8:50 AM, use-revolution-request at lists.runrev.com wrote: > Message: 16 > Date: Thu, 01 Jul 2010 19:51:28 -0500 > From: "J. Landman Gay" > Subject: Re: Question About Menu Builder > To: How to use Revolution > Message-ID: <4C2D3810.6090808 at hyperactivesw.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Gregory Lypny wrote: >> Hi Jacqueline, >> >> I looked in the Application Browser. Help appears as layer 57 and my >> new View menu appears as 56. > > If it's in the menu group, and it probably is if you made it with the > Menu Builder, then I'm not sure what could be wrong. What doesn't work > exactly? Does it pop down and display your menu items? Or it is the menu > items that don't work? From pmbrig at gmail.com Fri Jul 2 12:48:21 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Fri, 2 Jul 2010 12:48:21 -0400 Subject: [OT] Can Of Worms (was Re: Running revlets on the iPad) In-Reply-To: References: Message-ID: <75973487-B12E-4241-8FF3-284A0F88C221@gmail.com> > > And we still don't have flying cars. Actually, we do now (breaking news), but it will run you $150,000: http://www.computerworld.com/s/article/9178819/Flying_cars_set_to_soar_into_the_marketplace_in_2011?taxonomyId=12 -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From bobs at twft.com Fri Jul 2 12:54:33 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 2 Jul 2010 09:54:33 -0700 Subject: Question About Menu Builder In-Reply-To: <771CABBD-E1E1-424E-B872-78BE948C5A15@videotron.ca> References: <20100702125031.636CB2884F2@mail.runrev.com> <771CABBD-E1E1-424E-B872-78BE948C5A15@videotron.ca> Message-ID: <91163347-D036-4113-B814-8658BB2E48BA@twft.com> Whatever character comes after the amperstand, that is the command key equivalent. Bob On Jul 2, 2010, at 9:22 AM, Gregory Lypny wrote: > It pops down, but selecting those items does nothing. Maybe I should just delete the menu bar and try it again from scratch. Can you refresh my memory and tell me what the ampersands in front of the default items mean? > > Regards, > > Gregory > > > On Fri, Jul 2, 2010, at 8:50 AM, use-revolution-request at lists.runrev.com wrote: > >> Message: 16 >> Date: Thu, 01 Jul 2010 19:51:28 -0500 >> From: "J. Landman Gay" >> Subject: Re: Question About Menu Builder >> To: How to use Revolution >> Message-ID: <4C2D3810.6090808 at hyperactivesw.com> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >> >> Gregory Lypny wrote: >>> Hi Jacqueline, >>> >>> I looked in the Application Browser. Help appears as layer 57 and my >>> new View menu appears as 56. >> >> If it's in the menu group, and it probably is if you made it with the >> Menu Builder, then I'm not sure what could be wrong. What doesn't work >> exactly? Does it pop down and display your menu items? Or it is the menu >> items that don't work? > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Jul 2 12:55:07 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 2 Jul 2010 09:55:07 -0700 Subject: [OT] Can Of Worms (was Re: Running revlets on the iPad) In-Reply-To: <75973487-B12E-4241-8FF3-284A0F88C221@gmail.com> References: <75973487-B12E-4241-8FF3-284A0F88C221@gmail.com> Message-ID: <4FAFA2EA-569A-4A5A-AF4C-0234A598E5B0@twft.com> HOW DO I GET ONE????? Bob On Jul 2, 2010, at 9:48 AM, Peter Brigham MD wrote: >> >> And we still don't have flying cars. > > Actually, we do now (breaking news), but it will run you $150,000: > > http://www.computerworld.com/s/article/9178819/Flying_cars_set_to_soar_into_the_marketplace_in_2011?taxonomyId=12 > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Fri Jul 2 13:01:35 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 02 Jul 2010 12:01:35 -0500 Subject: Question About Menu Builder In-Reply-To: <771CABBD-E1E1-424E-B872-78BE948C5A15@videotron.ca> References: <20100702125031.636CB2884F2@mail.runrev.com> <771CABBD-E1E1-424E-B872-78BE948C5A15@videotron.ca> Message-ID: <4C2E1B6F.7010300@hyperactivesw.com> Gregory Lypny wrote: > It pops down, but selecting those items does nothing. Maybe I should > just delete the menu bar and try it again from scratch. Can you > refresh my memory and tell me what the ampersands in front of the > default items mean? The ampersand is placed before the letter that will be underlined in a Windows menu, and allows selection of the menu item via keyboard on that OS. I don't think you need to start your menu over. What it sounds like is that the View button script isn't working properly. When you look at the button script, is there a case statement for each menu item? Does the case statement match exactly the menu item name? Don't include the ampersand, any tabs, or other extras when checking for the item's name. If the case statements don't match the menu items exactly then the item won't be triggered. You could insert a temporary line in the View button script to see what's actually being passed in the menupick the parameter. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Fri Jul 2 13:26:00 2010 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 02 Jul 2010 20:26:00 +0300 Subject: Devawriter Pro Message-ID: <4C2E2128.2000507@gmail.com> For all of you who were having problems with complex Devanagari consonantal clusters when writing to your favourite sadhu (you know, the one who sits, smeared in ash, on the banks of the Hoogly) this is the thing for you. And; Now! Yippee-Doo: an improved error-catching system for when you don't realise it's not 'on' to jam 3 Ks in a row, and a merry little 'window' to help you, from the Latinised input option, get 'up' on your Devanagari syllabics. 'Tis Devawriter Pro Demo 2 folks . . . :) An export-crippled Demo version of my first release candidate is available here: http://andregarzia.on-rev.com/richmond/dwriterpro.html go, get it, and get typing; Sadhuji may even point out that as he doesn't have a reliable supply of electricity on the river bank it is high time you donated a laptop to him! sincerely, Richmond Mathewson. From capellan2000 at gmail.com Fri Jul 2 13:52:12 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 2 Jul 2010 10:52:12 -0700 (PDT) Subject: Running revlets on the iPad In-Reply-To: <41895599-14AA-49BB-909D-F55490B7A037@twft.com> References: <3630C8D1-7FEA-4A26-A4C3-D83B82648D91@sbcglobal.net> <19AE78B8-5DE1-4772-A021-2C9D9F08B1D2@verizon.net> <4C2B8B7F.2050301@gmail.com> <1277951721525-2274547.post@n4.nabble.com> <4C2DDB11.4060408@harbourhosting.co.uk> <1278078783678-2276466.post@n4.nabble.com> <41895599-14AA-49BB-909D-F55490B7A037@twft.com> Message-ID: <1278093132451-2276755.post@n4.nabble.com> Hi Bob, Bob Sneidar-2 wrote: > > None of this applies to me either. I am a very gifted and well trained > Chimpanzee. > http://www.awrsd.org/oak/teched/computer-monkey-210.jpg ROTFL :-D -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Running-revlets-on-the-iPad-tp2273949p2276755.html Sent from the Revolution - User mailing list archive at Nabble.com. From gregory.lypny at videotron.ca Fri Jul 2 14:30:10 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Fri, 02 Jul 2010 14:30:10 -0400 Subject: use-revolution Digest, Vol 82, Issue 5 In-Reply-To: <20100702170005.DEFAA2884FF@mail.runrev.com> References: <20100702170005.DEFAA2884FF@mail.runrev.com> Message-ID: <459AF644-16BA-4A10-8AA3-7EDDC98401D2@videotron.ca> Good stuff, Richard. Thank you for these insights. Gregory On Fri, Jul 2, 2010, at 1:00 PM, Richard Gaskin wrote: > Message: 7 > Date: Fri, 02 Jul 2010 07:33:23 -0700 > From: Richard Gaskin > Subject: Re: Saving Changes in a Standalone > To: How to use Revolution > Message-ID: <4C2DF8B3.8080006 at fourthworld.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > stephen barncard wrote: > >> Remember a stack can both be a visible window with objects and >> a holder for scripts, it can also be a very efficient and >> addressable data container. >> >> The stack one compiles as an app can call other stacks that are not >> compiled. The best of both worlds. > > Stack files are my favorite means of storage. These days I only use > text files for ultra-large repositories too big to be loaded into RAM > (with an index you'd be surprised how fast Rev can get in and out of > such things with seek). But for almost everything else I use stacks. > > With stacks you can use custom props, which are by far the most > efficient means of using persistent arrays in Rev. RevTalk provides the > arrayEncode and arrayDecode functions which can be used for similar > purposes, but the overhead of translating arrays with those functions is > many times more costly than just opening a stack which has the data in > custom props. > > I've tested with more than 100,000 custom props on stack files up to > 100MB, and as long as you have the RAM it works great. Smaller files > (50MB or less) work amazingly fast in most memory configurations, even > with similarly large numbers of props. > > Since custom props can be separated into property sets, you get two > levels of hierarchy supported with amazingly efficient access speed. > > While it's possible to store arrays in props to extend that hierarchy > further, the speed is lost as those need to go through the internal > equivalent of arrayDecode to be accessed. > > But as long as you stick with property sets and properties you get a > robust data store that's hard to beat for efficiency. If you need a > deeper hierarchy you can add objects there and use those props as well. > That's one of the other things I like about stack files as data > stores: you can store either text or binary data, or even native > objects, mixing and matching for nearly every need. > > Extra bonus points: unlike a text file, with stacks you get an > automatic backup made during save, so if you have a power outage or > other interruption during save at least you'll have a copy of your last > saved file, found in the same directory with the same name preceded with > "~". > > Tip: The engine currently doesn't prevent you from using property names > longer than 255 chars, but as noted in the Limits section of the docs > such names are not allowed. If you attempt to use a longer name it will > corrupt your stack file - see: > > > Just stick to the 255-char limit and you're good to go. Short strings > and of course numeric keys work great. > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv From gregory.lypny at videotron.ca Fri Jul 2 14:32:43 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Fri, 02 Jul 2010 14:32:43 -0400 Subject: Question About Menu Builder In-Reply-To: <20100702170005.DEFAA2884FF@mail.runrev.com> References: <20100702170005.DEFAA2884FF@mail.runrev.com> Message-ID: Excellent. Thank you, Bob. Gregory On Fri, Jul 2, 2010, at 1:00 PM, Bob Sneidar wrote: > Whatever character comes after the amperstand, that is the command key equivalent. > > Bob From slord at karbonized.com Fri Jul 2 14:52:10 2010 From: slord at karbonized.com (Simon Lord) Date: Fri, 2 Jul 2010 14:52:10 -0400 Subject: revXML help Message-ID: I'm tearing my hair out trying to read various values. What should be trivial is continuously spitting errors in my face and I'm quite frustrated. :P Here is my XML?it is successfully loaded into my stack after reading it in. I can also get the root node and ID. But I can't get anything else to work for me. Here is the code, my question(s) will follow after it: To start off, I need to get the attribute for "icon" in "project". Here is my code to date: repeat for revXMLNumberOfChildren(tDocID,"testXML","project",1) times put revXMLRootNode(tDocID) into tParentNode // this works, thanks Sarah! put revXMLAttribute(tDocID, tParentNode, "icon") into tChild // returns error end repeat I also need to know how to loop through all 3 nodes getting the value for "icon". IE, tParentNode[x]. From janschenkel at yahoo.com Fri Jul 2 15:09:43 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 2 Jul 2010 12:09:43 -0700 (PDT) Subject: revXML help In-Reply-To: Message-ID: <408888.35777.qm@web65404.mail.ac4.yahoo.com> --- On Fri, 7/2/10, Simon Lord wrote: > I'm tearing my hair out trying to > read various values.? What should be > trivial is continuously spitting errors in my face and I'm > quite > frustrated.? :P > > Here is my XML?it is successfully loaded into my stack > after reading > it in.? I can also get the root node and ID.? But > I can't get anything > else to work for me.? Here is the code, my question(s) > will follow > after it: > > > > > ? icon="/Users/slord/test/projects/DCP_0254.jpg"> > ? ? > ? ? ? height="" width="" top="" left="" > start="" end="" url=""> > ? ? ? > ? ? > ??? > > ? icon="/Users/slord/test/projects/DCP_0254.jpg"> > ? ? > ? ? ? height="" width="" top="" left="" > start="" end="" url=""> > ? ? ? > ? ? > ??? > > ? icon="/Users/slord/test/projects/DCP_0254.jpg"> > ? ? > ? ? ? height="" width="" top="" left="" > start="" end="" url=""> > ? ? ? > ? ? > ??? > > > > To start off, I need to get the attribute for "icon" in > "project". > > Here is my code to date: > > repeat for > revXMLNumberOfChildren(tDocID,"testXML","project",1) times > ? ? put revXMLRootNode(tDocID) into tParentNode > // this works, thanks Sarah! > ? ? put revXMLAttribute(tDocID, tParentNode, > "icon") into tChild // > returns error > end repeat > > I also need to know how to loop through all 3 > nodes getting > the value for "icon". IE, tParentNode[x]. > To traverse the children of a node, you can use the following type of loop: ## put revXmlFirstChild(tDocId, tParentNode) into tChildNode repeat until tChildNode is empty -- do your thing with the child node put revXmlAttribute(tDocId, tChildNode, "icon") into tIconPath -- move on to the next child put revXmlNextSibling(tDocId, tChildNode) into tChildNode end repeat ## HTH, Jan Schenkel. ===== Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From josh at dvcreators.net Fri Jul 2 15:13:38 2010 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 2 Jul 2010 12:13:38 -0700 Subject: Data Grid Form question - How do I select a field of a certain line or index in a Data Grid Form? Message-ID: Let's say you add a "row" or "record" to a Data Grid, and want to automatically select the text of a field in that row so the user can start typing. What is the easiest way to do this? From cszasz at mac.com Fri Jul 2 15:23:06 2010 From: cszasz at mac.com (charles61) Date: Fri, 2 Jul 2010 12:23:06 -0700 (PDT) Subject: Icon sizes for Windows XP, Vista and 7 Message-ID: <1278098586230-2276826.post@n4.nabble.com> What are the sizes of icons needed for Windows XP, Vista and Windows 7 when you are making a Windows executable? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Icon-sizes-for-Windows-XP-Vista-and-7-tp2276826p2276826.html Sent from the Revolution - User mailing list archive at Nabble.com. From admin at FlexibleLearning.com Fri Jul 2 15:42:04 2010 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Fri, 2 Jul 2010 20:42:04 +0100 Subject: Intelligent sorting: A bit of a poser NEW WINNER In-Reply-To: <20100702125031.8762C2884F4@mail.runrev.com> Message-ID: Hi Mike, and welcome to the party! Your solution is pretty darn good. Fast, too, with 53 m/s avg benchtime (100 iterations of a 10,000 random list) so by far the quickest (closest is 74 m/s by Mike Bonner). It successfully sorts the sample data suplied, a feat achieved only by Craig. On the highly random benchtest data it is also fairly accurate, but not 100%. But then again, no-one has achieved that yet, possibly because the degree of randomness was not specified. On the basis of the posted 'challenge', Mike... Looks like you are the new winner! Well done that man. /H From: Michael Kann Hugh, thanks for providing a fun and educational challenge -- and organizing the results. I woke up with an idea. Can you time my late entry? Thanks. Mike ------------------------------------- -- I think the script is pretty -- self-explanatory ------------------------------------- on mouseUp put fld 1 into v -- original data set the itemDel to "*" repeat with k = 0 to 9 replace k with "*"&k in v end repeat repeat for each line k in v replace "*" with "" in item 2 to -1 of k put k & cr after h end repeat delete last char of h sort h numeric by item 2 of each sort h by item 1 of each replace "*" with "" in h put h into fld 2 -- output end mouseUp ------------------------------------- --- On Fri, 7/2/10, FlexibleLearning wrote: > From: FlexibleLearning > Subject: Re: Intelligent sorting: A bit of a poser RESULTS CORRECTION > To: use-revolution at lists.runrev.com > Date: Friday, July 2, 2010, 1:19 AM > I made an inexcusable error when > applying the solutions in the benchtests. > When adjusting Mike's solution to handle commas in the list > I omitted to > adjust the itemDel. The corrected solution is below. > > As a result, Mike's solution is not only very fast, but > also sub-sorts the > alpha component and handles mixed suffix components (which > is very cool). > However, as pointed out, it cannot handle alpha-only list > items. Dave's > solution can handle lists with or without numbers, but the > sort order is > inexact. > > Using the insights of both solutions, I have based a > composite solution on > Mike's routine adjusted with the flexibility Dave's > routine. It has Mike's > speed and ability to sort mixed suffixes, but includes > Dave's ability to > sort mixed alpha-only and alphanumeric lists. I think this > provides the best > of everything for a generic library function... > > function sortMe5 pList > --| Hugh Senior > --| Based on a solution by Mike Bonner > set the itemDel to numtochar(8) > repeat for each line theLine in pList > if > matchchunk(theLine,"([a-zA-Z\s]\d)",theChar,theEnd) then > put numtochar(8) after char theChar of > theLine > else put numtochar(8) after theLine > put theLine & CR after tTemp > end repeat > delete last char of tTemp > sort lines of tTemp numeric by item 2 of each > sort lines of tTemp by item 1 of each > replace numtochar(8) with "" in tTemp > return tTemp > end sortMe5 > > a 1 > b20 > a 20 > a 2 > b10 > a 3 > b3 > a 1a > b2 > a 10 > b1a > d > c > b > a > > gives... > > a > a 1 > a 1a > a 2 > a 3 > a 10 > a 20 > b > b1a > b2 > b3 > b10 > b20 > c > d > > Prior Work... > > function sortMe1 pVar > --| Mike Bonner > set the itemDel to numtochar(8) > repeat for each line theLIne in PVar > get matchchunk(theLine,"([a-zA-Z\s]\d)" , > theChar,theEnd ) > put numtochar(8) after char theChar of > theLine > put theLine & return after tTemp > end repeat > delete the last char of tTemp > sort lines of tTemp ascending numeric by item 2 of > each > sort lines of tTemp ascending by item 1 of each > replace numtochar(8) with empty in tTemp > return tTemp > end sortMe1 > > function sortMe2 tData > --| Dave Cragg > set the itemDel to numtochar(8) > put "(^.*?)([0-9]*$)" into tRE > put "" into tData2 > repeat for each line tLine in tData > get matchText(tLine, tRE, tS, tNum) > put tS & numtochar(8) & tNum & cr > after tData2 > end repeat > sort lines of tData2 numeric by item -1 of each > sort lines of tData2 by item 1 of each > put "" into tData3 > repeat for each line tLine in tData2 > put item 1 to -2 of tLine & item -1 of > tLine & cr after tData3 > end repeat > return tData3 > end sortMe2 > > > /H From bvg at mac.com Fri Jul 2 16:14:50 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 02 Jul 2010 22:14:50 +0200 Subject: Running revlets on the iPad In-Reply-To: <1278093132451-2276755.post@n4.nabble.com> References: <3630C8D1-7FEA-4A26-A4C3-D83B82648D91@sbcglobal.net> <19AE78B8-5DE1-4772-A021-2C9D9F08B1D2@verizon.net> <4C2B8B7F.2050301@gmail.com> <1277951721525-2274547.post@n4.nabble.com> <4C2DDB11.4060408@harbourhosting.co.uk> <1278078783678-2276466.post@n4.nabble.com> <41895599-14AA-49BB-909D-F55490B7A037@twft.com> <1278093132451-2276755.post@n4.nabble.com> Message-ID: On 2 Jul 2010, at 19:52, Alejandro Tejada wrote: > Bob Sneidar-2 wrote: >> >> None of this applies to me either. I am a very gifted and well trained >> Chimpanzee. > http://www.awrsd.org/oak/teched/computer-monkey-210.jpg > ROTFL :-D http://www.jonathancoulton.com/music/thingaweek/CodeMonkey.mp3 -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From katir at hindu.org Fri Jul 2 16:58:08 2010 From: katir at hindu.org (Sivakatirswami) Date: Fri, 02 Jul 2010 10:58:08 -1000 Subject: OT: Web Based Collaborative Diagramming Applications Message-ID: <4C2E52E0.2070506@hindu.org> I'm looking to adopt a web based collaborative diagramming tool. gliffy.com of course is touted as the "world's best" and from what I see there is a lot to be said for chosing Gliffy. But, before just jumping on the nearest big bandwagon, I thought to ask here if anyone knows other web based collaborative diagramming apps that they really like and are easy to use and meets there needs? Reply here or off list... Thanks Sivakatirswami From m.schonewille at economy-x-talk.com Fri Jul 2 17:03:54 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 2 Jul 2010 23:03:54 +0200 Subject: OT: Web Based Collaborative Diagramming Applications In-Reply-To: <4C2E52E0.2070506@hindu.org> References: <4C2E52E0.2070506@hindu.org> Message-ID: Not web-based, but I made one with RunRev. Although it is simple, it seems I did something right, because it sells pretty well. http://flowproject.economy-x-talk.com/ -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Subscribe to the Economy-x-Talk newsletter at http://qurl.tk/cj Download Clipboard Link http://clipboardlink.economy-x-talk.com and share the clipboard of your computer over the local network. On 2 jul 2010, at 22:58, Sivakatirswami wrote: > I'm looking to adopt a web based collaborative diagramming tool. > > gliffy.com of course is touted as the "world's best" and from what I > see there is a lot to be said for chosing Gliffy. > > But, before just jumping on the nearest big bandwagon, I thought to > ask here if anyone knows other web based collaborative diagramming > apps that they really like and are easy to use and meets there needs? > > Reply here or off list... > > Thanks > Sivakatirswami From pmbrig at gmail.com Fri Jul 2 18:34:24 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Fri, 2 Jul 2010 18:34:24 -0400 Subject: [OT] Can Of Worms (was Re: Running revlets on the iPad) In-Reply-To: <4FAFA2EA-569A-4A5A-AF4C-0234A598E5B0@twft.com> References: <75973487-B12E-4241-8FF3-284A0F88C221@gmail.com> <4FAFA2EA-569A-4A5A-AF4C-0234A598E5B0@twft.com> Message-ID: <85DC60B4-78EB-48F2-9D71-2B076CCF0B4F@gmail.com> On Jul 2, 2010, at 12:55 PM, Bob Sneidar wrote: > HOW DO I GET ONE????? > > Bob check out: http://www.terrafugia.com/ ... but it's more like $200,000. Reserve yours today! You need a sports pilot license, easier to get than a regular license. (Although I dream of an autogyro -- safer, if the engine cuts out.) -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig > On Jul 2, 2010, at 9:48 AM, Peter Brigham MD wrote: > >>> >>> And we still don't have flying cars. >> >> Actually, we do now (breaking news), but it will run you $150,000: >> >> http://www.computerworld.com/s/article/9178819/Flying_cars_set_to_soar_into_the_marketplace_in_2011?taxonomyId=12 >> >> -- Peter >> >> Peter M. Brigham >> pmbrig at gmail.com >> http://home.comcast.net/~pmbrig From scott at tactilemedia.com Fri Jul 2 19:18:33 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 02 Jul 2010 16:18:33 -0700 Subject: Icon sizes for Windows XP, Vista and 7 In-Reply-To: <1278098586230-2276826.post@n4.nabble.com> Message-ID: Recently, charles61 wrote: > What are the sizes of icons needed for Windows XP, Vista and Windows 7 when > you are making a Windows executable? I believe the standalone builder *requires* 9 resources -- 48x48/32x32/16x16 pixel sizes at 32/8/4 bit depths. Vista and Win7 take advantage of a large 256x256 resource as well, but I don't believe rev's standalone builder requires this resource. In any event, the SB should warn you if your icon resources are incomplete when building a standalone. Regards, Scott Rossi Creative Director Tactile Media, UX Design From cszasz at mac.com Fri Jul 2 19:30:31 2010 From: cszasz at mac.com (charles61) Date: Fri, 2 Jul 2010 16:30:31 -0700 (PDT) Subject: Icon sizes for Windows XP, Vista and 7 In-Reply-To: References: <1278098586230-2276826.post@n4.nabble.com> Message-ID: Scott, Thanks so much for that information! I will put it in my Rev Notebook! Charles Szasz cszasz at mac.com On Jul 2, 2010, at 7:18 PM, Scott Rossi [via Runtime Revolution] wrote: > Recently, charles61 wrote: > > > What are the sizes of icons needed for Windows XP, Vista and Windows 7 when > > you are making a Windows executable? > > I believe the standalone builder *requires* 9 resources -- 48x48/32x32/16x16 > pixel sizes at 32/8/4 bit depths. Vista and Win7 take advantage of a large > 256x256 resource as well, but I don't believe rev's standalone builder > requires this resource. In any event, the SB should warn you if your icon > resources are incomplete when building a standalone. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > _______________________________________________ > use-revolution mailing list > [hidden email] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > View message @ http://runtime-revolution.278305.n4.nabble.com/Icon-sizes-for-Windows-XP-Vista-and-7-tp2276826p2276986.html > To unsubscribe from Icon sizes for Windows XP, Vista and 7, click here. > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Icon-sizes-for-Windows-XP-Vista-and-7-tp2276826p2276989.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Fri Jul 2 20:21:15 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 2 Jul 2010 17:21:15 -0700 (PDT) Subject: Running revlets on the iPad In-Reply-To: References: <3630C8D1-7FEA-4A26-A4C3-D83B82648D91@sbcglobal.net> <19AE78B8-5DE1-4772-A021-2C9D9F08B1D2@verizon.net> <4C2B8B7F.2050301@gmail.com> <1277951721525-2274547.post@n4.nabble.com> <4C2DDB11.4060408@harbourhosting.co.uk> <1278078783678-2276466.post@n4.nabble.com> <41895599-14AA-49BB-909D-F55490B7A037@twft.com> <1278093132451-2276755.post@n4.nabble.com> Message-ID: <1278116475166-2277012.post@n4.nabble.com> Actually, it is more productive to be a Code Monkey :-D than.......a Rat Racer :-(( http://risingtide.org.uk/resources/cartoons/4 http://www.youtube.com/watch?v=5Qe23LVs2O4 -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Running-revlets-on-the-iPad-tp2273949p2277012.html Sent from the Revolution - User mailing list archive at Nabble.com. From dick.kriesel at mail.com Fri Jul 2 22:25:25 2010 From: dick.kriesel at mail.com (Dick Kriesel) Date: Fri, 02 Jul 2010 19:25:25 -0700 Subject: Intelligent sorting: A bit of a poser NEW WINNER In-Reply-To: Message-ID: Hi, Hugh, et al. The test data seems incomplete in that it includes some letters that follow digits, but doesn't include any example that tests sorting those letters. For example, since the test data includes "a 1a" then it ought to include something like "a 1b" to test the sorting thoroughly. If you do insert "a 1b" into the test data before "a 1a" then you'll see the currently fastest implementation leaves the "a 1b" before the "a 1a." Is that OK with you? What sample data demonstrates the inaccuracy you mentioned? Would you make your 10,000-entry list available? I've drafted yet a new implementation for you, but I'd like to debug it with your data before posting it to the list. -- Dick On 7/2/10 12:42 PM, "FlexibleLearning" wrote: > Hi Mike, and welcome to the party! > > Your solution is pretty darn good. Fast, too, with 53 m/s avg benchtime (100 > iterations of a 10,000 random list) so by far the quickest (closest is 74 > m/s by Mike Bonner). It successfully sorts the sample data suplied, a feat > achieved only by Craig. > > On the highly random benchtest data it is also fairly accurate, but not > 100%. But then again, no-one has achieved that yet, possibly because the > degree of randomness was not specified. > > On the basis of the posted 'challenge', Mike... Looks like you are the new > winner! > > Well done that man. > > /H > > > From: Michael Kann > > Hugh, thanks for providing a fun and educational challenge -- and organizing > the results. I woke up with an idea. Can you time my late entry? > Thanks. > > Mike > > ------------------------------------- > -- I think the script is pretty > -- self-explanatory > ------------------------------------- > > > on mouseUp > put fld 1 into v -- original data > set the itemDel to "*" > > repeat with k = 0 to 9 > replace k with "*"&k in v > end repeat > > repeat for each line k in v > replace "*" with "" in item 2 to -1 of k > put k & cr after h > end repeat > delete last char of h > > sort h numeric by item 2 of each > sort h by item 1 of each > replace "*" with "" in h > > put h into fld 2 -- output > end mouseUp > > ------------------------------------- > > --- On Fri, 7/2/10, FlexibleLearning wrote: > >> From: FlexibleLearning >> Subject: Re: Intelligent sorting: A bit of a poser RESULTS CORRECTION >> To: use-revolution at lists.runrev.com >> Date: Friday, July 2, 2010, 1:19 AM >> I made an inexcusable error when >> applying the solutions in the benchtests. >> When adjusting Mike's solution to handle commas in the list >> I omitted to >> adjust the itemDel. The corrected solution is below. >> >> As a result, Mike's solution is not only very fast, but >> also sub-sorts the >> alpha component and handles mixed suffix components (which >> is very cool). >> However, as pointed out, it cannot handle alpha-only list >> items. Dave's >> solution can handle lists with or without numbers, but the >> sort order is >> inexact. >> >> Using the insights of both solutions, I have based a >> composite solution on >> Mike's routine adjusted with the flexibility Dave's >> routine. It has Mike's >> speed and ability to sort mixed suffixes, but includes >> Dave's ability to >> sort mixed alpha-only and alphanumeric lists. I think this >> provides the best >> of everything for a generic library function... >> >> function sortMe5 pList >> --| Hugh Senior >> --| Based on a solution by Mike Bonner >> set the itemDel to numtochar(8) >> repeat for each line theLine in pList >> if >> matchchunk(theLine,"([a-zA-Z\s]\d)",theChar,theEnd) then >> put numtochar(8) after char theChar of >> theLine >> else put numtochar(8) after theLine >> put theLine & CR after tTemp >> end repeat >> delete last char of tTemp >> sort lines of tTemp numeric by item 2 of each >> sort lines of tTemp by item 1 of each >> replace numtochar(8) with "" in tTemp >> return tTemp >> end sortMe5 >> >> a 1 >> b20 >> a 20 >> a 2 >> b10 >> a 3 >> b3 >> a 1a >> b2 >> a 10 >> b1a >> d >> c >> b >> a >> >> gives... >> >> a >> a 1 >> a 1a >> a 2 >> a 3 >> a 10 >> a 20 >> b >> b1a >> b2 >> b3 >> b10 >> b20 >> c >> d >> >> Prior Work... >> >> function sortMe1 pVar >> --| Mike Bonner >> set the itemDel to numtochar(8) >> repeat for each line theLIne in PVar >> get matchchunk(theLine,"([a-zA-Z\s]\d)" , >> theChar,theEnd ) >> put numtochar(8) after char theChar of >> theLine >> put theLine & return after tTemp >> end repeat >> delete the last char of tTemp >> sort lines of tTemp ascending numeric by item 2 of >> each >> sort lines of tTemp ascending by item 1 of each >> replace numtochar(8) with empty in tTemp >> return tTemp >> end sortMe1 >> >> function sortMe2 tData >> --| Dave Cragg >> set the itemDel to numtochar(8) >> put "(^.*?)([0-9]*$)" into tRE >> put "" into tData2 >> repeat for each line tLine in tData >> get matchText(tLine, tRE, tS, tNum) >> put tS & numtochar(8) & tNum & cr >> after tData2 >> end repeat >> sort lines of tData2 numeric by item -1 of each >> sort lines of tData2 by item 1 of each >> put "" into tData3 >> repeat for each line tLine in tData2 >> put item 1 to -2 of tLine & item -1 of >> tLine & cr after tData3 >> end repeat >> return tData3 >> end sortMe2 >> >> >> /H > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mikekann at yahoo.com Fri Jul 2 23:10:06 2010 From: mikekann at yahoo.com (Michael Kann) Date: Fri, 2 Jul 2010 20:10:06 -0700 (PDT) Subject: Intelligent sorting: A bit of a poser NEW WINNER In-Reply-To: Message-ID: <490876.63747.qm@web56705.mail.re3.yahoo.com> Dick, Good catch on sorting the lines that look like this: apples 2c apples 2b apples 2a Without testing, I think the solution is to do an alphabetical sort on the suffixes before doing a numerical sort on them. I've added a line to the script that might make it work. Mike -------------------------------------------- -- Corrected script -------------------------------------------- on mouseUp put fld 1 into v -- original data set the itemDel to "*" repeat with k = 0 to 9 replace k with "*"&k in v end repeat repeat for each line k in v replace "*" with "" in item 2 to -1 of k put k & cr after h end repeat delete last char of h ----------------------------- ---- Add the following line ----------------------------- sort h by item 2 of each ----------------------------- sort h numeric by item 2 of each sort h by item 1 of each replace "*" with "" in h put h into fld 2 -- output end mouseUp --- On Fri, 7/2/10, Dick Kriesel wrote: > From: Dick Kriesel > Subject: Re: Intelligent sorting: A bit of a poser NEW WINNER > To: "use-rev" > Date: Friday, July 2, 2010, 9:25 PM > Hi, Hugh, et al. > > The test data seems incomplete in that it includes some > letters that follow > digits, but doesn't include any example that tests sorting > those letters. > For example, since the test data includes "a 1a" then it > ought to include > something like "a 1b" to test the sorting thoroughly. > > If you do insert "a 1b" into the test data before "a 1a" > then you'll see the > currently fastest implementation leaves the "a 1b" before > the "a 1a."? Is > that OK with you? > > What sample data demonstrates the inaccuracy you mentioned? > Would you make > your 10,000-entry list available?? I've drafted yet a > new implementation for > you, but I'd like to debug it with your data before posting > it to the list. > > -- Dick > > > On 7/2/10 12:42 PM, "FlexibleLearning" > wrote: > > > Hi Mike, and welcome to the party! > > > > Your solution is pretty darn good. Fast, too, with 53 > m/s avg benchtime (100 > > iterations of a 10,000 random list) so by far the > quickest (closest is 74 > > m/s by Mike Bonner). It successfully sorts the sample > data suplied, a feat > > achieved only by Craig. > > > > On the highly random benchtest data it is also fairly > accurate, but not > > 100%. But then again, no-one has achieved that yet, > possibly because the > > degree of randomness was not specified. > > > > On the basis of the posted 'challenge', Mike... Looks > like you are the new > > winner! > > > > Well done that man. > > > > /H > > > > > > From: Michael Kann > > > > Hugh, thanks for providing a fun and educational > challenge -- and organizing > > the results. I woke up with an idea. Can you time my > late entry? > > Thanks. > > > > Mike > > > > ------------------------------------- > > -- I think the script is pretty > > -- self-explanatory > > ------------------------------------- > > > > > > on mouseUp > > put fld 1 into v -- original data > > set the itemDel to "*" > > > > repeat with k = 0 to 9 > >???replace k with "*"&k in v > > end repeat > > > > repeat for each line k in v > >???replace "*" with "" in item 2 to -1 > of k > >???put k & cr after h > > end repeat > > delete last char of h > > > > sort h numeric by item 2 of each > > sort h by item 1 of each > > replace "*" with "" in h > > > > put h into fld 2 -- output > > end mouseUp > > > > ------------------------------------- > > > > --- On Fri, 7/2/10, FlexibleLearning > wrote: > > > >> From: FlexibleLearning > >> Subject: Re: Intelligent sorting: A bit of a poser > RESULTS CORRECTION > >> To: use-revolution at lists.runrev.com > >> Date: Friday, July 2, 2010, 1:19 AM > >> I made an inexcusable error when > >> applying the solutions in the benchtests. > >> When adjusting Mike's solution to handle commas in > the list > >> I omitted to > >> adjust the itemDel. The corrected solution is > below. > >> > >> As a result, Mike's solution is not only very > fast, but > >> also sub-sorts the > >> alpha component and handles mixed suffix > components (which > >> is very cool). > >> However, as pointed out, it cannot handle > alpha-only list > >> items. Dave's > >> solution can handle lists with or without numbers, > but the > >> sort order is > >> inexact. > >> > >> Using the insights of both solutions, I have based > a > >> composite solution on > >> Mike's routine adjusted with the flexibility > Dave's > >> routine. It has Mike's > >> speed and ability to sort mixed suffixes, but > includes > >> Dave's ability to > >> sort mixed alpha-only and alphanumeric lists. I > think this > >> provides the best > >> of everything for a generic library function... > >> > >> function sortMe5 pList > >>???--| Hugh Senior > >>???--| Based on a solution by Mike > Bonner > >>???set the itemDel to numtochar(8) > >>???repeat for each line theLine in > pList > >>? ???if > >> > matchchunk(theLine,"([a-zA-Z\s]\d)",theChar,theEnd) then > >>? ? ???put numtochar(8) > after char theChar of > >> theLine > >>? ???else put numtochar(8) > after theLine > >>? ???put theLine & CR after > tTemp > >>???end repeat > >>???delete last char of tTemp > >>???sort lines of tTemp numeric by > item 2 of each > >>???sort lines of tTemp by item 1 of > each > >>???replace numtochar(8) with "" in > tTemp > >>???return tTemp > >> end sortMe5 > >> > >> a 1 > >> b20 > >> a 20 > >> a 2 > >> b10 > >> a 3 > >> b3 > >> a 1a > >> b2 > >> a 10 > >> b1a > >> d > >> c > >> b > >> a > >> > >> gives... > >> > >> a > >> a 1 > >> a 1a > >> a 2 > >> a 3 > >> a 10 > >> a 20 > >> b > >> b1a > >> b2 > >> b3 > >> b10 > >> b20 > >> c > >> d > >> > >> Prior Work... > >> > >> function sortMe1 pVar > >>???--| Mike Bonner > >>???set the itemDel to numtochar(8) > >>???repeat for each line theLIne in > PVar > >>? ???get > matchchunk(theLine,"([a-zA-Z\s]\d)" , > >> theChar,theEnd ) > >>? ???put numtochar(8) after > char theChar of > >> theLine > >>? ???put theLine & return > after tTemp > >>???end repeat > >>???delete the last char of tTemp > >>???sort lines of tTemp ascending > numeric by item 2 of > >> each > >>???sort lines of tTemp ascending by > item 1 of each > >>???replace numtochar(8) with empty > in tTemp > >>???return tTemp > >> end sortMe1 > >> > >> function sortMe2 tData > >>???--| Dave Cragg > >>???set the itemDel to numtochar(8) > >>???put "(^.*?)([0-9]*$)" into tRE > >>???put "" into tData2 > >>???repeat for each line tLine in > tData > >>? ???get matchText(tLine, tRE, > tS, tNum) > >>? ???put tS & numtochar(8) > & tNum & cr > >> after tData2 > >>???end repeat > >>???sort lines of tData2 numeric by > item -1 of each > >>???sort lines of tData2 by item 1 of > each > >>???put "" into tData3 > >>???repeat for each line tLine in > tData2 > >>? ???put item 1 to -2 of tLine > & item -1 of > >> tLine & cr after tData3 > >>???end repeat > >>???return tData3 > >> end sortMe2 > >> > >> > >> /H > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and > manage your subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From st.king42 at ntlworld.com Sat Jul 3 07:42:56 2010 From: st.king42 at ntlworld.com (Steve King) Date: Sat, 3 Jul 2010 12:42:56 +0100 Subject: Problem with script working in IDE but not in Standalone studio 4 In-Reply-To: <20100702170006.180B0288501@mail.runrev.com> References: <20100702170006.180B0288501@mail.runrev.com> Message-ID: <234837D10BF24210BC0090F8AB51D6F8@Home> Hi I have a button scrip that did work in standalone, and always works in the IDE but now will not work in the standalone! The card has several fields in two sets that take action when data is entered, fields are set so that retunr gives Close Field message. I then have a radio button that selects either set 1 or set 2 fields, Each of the two buttons has the same script (below) that simply sends CloseField to each of the fields so that they update themselves. on mouseUp send CloseField to fld "18m" send CloseField to fld "15m" send CloseField to fld "12m" send CloseField to fld "9m" send CloseField to fld "6m" send CloseField to fld "3m" send CloseField to fld "ABT" send CloseField to fld "ABT_B" send CloseField to fld "RNT" send CloseField to fld "RNT_B" send CloseField to fld "Depth" send CloseField to fld "Depth_B" end mouseUp It works fine in the IDE but will not work when in a Standalone. Oddly, the Flds "18m" though to "3m" do seem to work, the others don't! For info script of fld "BT" is (which doesn't update fld "Image_depth" On CloseField if the highlight of button "Nominal" of group "Dive_Plan" then put fld "Depth" & "m" into fld "Image_Depth" else put fld "Depth_B" & "m" into fld "Image_Depth" end if end CloseField And script of fld "18m" is (which does update fld "Image_18m) on CloseField if the highlight of button "Nominal" of group "Dive_Plan" then put Nom_Stop & return into fld "Image_18m" else put Back_Stop into fld "Image_18m" end if end CloseField Anyone seen this before and have any suggestions?? Cheers Steve From sundown at pacifier.com Sat Jul 3 08:39:07 2010 From: sundown at pacifier.com (-= JB =-) Date: Sat, 3 Jul 2010 05:39:07 -0700 Subject: Image Library Message-ID: <2CB0E354-222C-46D8-9138-3623E1C269CB@pacifier.com> Is there a fast way to import a whole folder of icons into the Image Library or do you need to import one file at a time? -=>JB<=- From andre at andregarzia.com Sat Jul 3 09:30:15 2010 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 3 Jul 2010 10:30:15 -0300 Subject: Image Library In-Reply-To: <2CB0E354-222C-46D8-9138-3623E1C269CB@pacifier.com> References: <2CB0E354-222C-46D8-9138-3623E1C269CB@pacifier.com> Message-ID: :-O Someone uses the image library? What I do is create a stack or card to hold all the images then I just import the folder that contains them into that card or stack. There's a menu item for that. :-D On Sat, Jul 3, 2010 at 9:39 AM, -= JB =- wrote: > Is there a fast way to import a whole folder of icons into the Image > Library > or do you need to import one file at a time? > > -=>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 > -- http://www.andregarzia.com All We Do Is Code. From sundown at pacifier.com Sat Jul 3 10:21:25 2010 From: sundown at pacifier.com (-= JB =-) Date: Sat, 3 Jul 2010 07:21:25 -0700 Subject: Image Library In-Reply-To: References: <2CB0E354-222C-46D8-9138-3623E1C269CB@pacifier.com> Message-ID: Thanks, Andre. That is what I will do. -=>JB<=- On Jul 3, 2010, at 6:30 AM, Andre Garzia wrote: > :-O > > Someone uses the image library? > > What I do is create a stack or card to hold all the images then I just > import the folder that contains them into that card or stack. > > There's a menu item for that. > > :-D > > On Sat, Jul 3, 2010 at 9:39 AM, -= JB =- wrote: > >> Is there a fast way to import a whole folder of icons into the Image >> Library >> or do you need to import one file at a time? >> >> -=>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 >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jimaultwins at yahoo.com Sat Jul 3 11:22:55 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Sat, 3 Jul 2010 08:22:55 -0700 Subject: Problem with script working in IDE but not in Standalone studio 4 In-Reply-To: <234837D10BF24210BC0090F8AB51D6F8@Home> References: <20100702170006.180B0288501@mail.runrev.com> <234837D10BF24210BC0090F8AB51D6F8@Home> Message-ID: <6509F7F3-47A6-4ACB-8817-09C4F175E06C@yahoo.com> Rather than ask you several questions about your design and scripting, why not try this approach and see if the answer comes to light. Save a copy of your stack as 'whateverTheName2.rev' Add one field to the card (assuming your stack only has one card) and name it "eventLog" Add a line to each IF branch as follows: > On CloseField > if the highlight of button "Nominal" of group "Dive_Plan" then > put fld "Depth" & "m" into fld "Image_Depth" put "1" && the short name of me & cr after fld eventLog > > else > put fld "Depth_B" & "m" into fld "Image_Depth" put "2" && the short name of me & cr after fld eventLog > end if > end CloseField > on CloseField > if the highlight of button "Nominal" of group "Dive_Plan" then > put Nom_Stop & return into fld "Image_18m" put "3" && the short name of me & cr after fld eventLog > else > put Back_Stop into fld "Image_18m" put "4" && the short name of me & cr after fld eventLog > end if > end CloseField Now when you trigger the scripts you will know which ones fire, which branch and in which order. Try it in the development environment (IDE) and in the compiled app. This could give you the clue you need. Hope this helps. Jim Ault Las Vegas On Jul 3, 2010, at 4:42 AM, Steve King wrote: > Hi > > I have a button scrip that did work in standalone, and always works > in the > IDE but now will not work in the standalone! > > The card has several fields in two sets that take action when data is > entered, fields are set so that retunr gives Close Field message. > > I then have a radio button that selects either set 1 or set 2 > fields, Each > of the two buttons has the same script (below) that simply sends > CloseField > to each of the fields so that they update themselves. > > on mouseUp > send CloseField to fld "18m" > send CloseField to fld "15m" > send CloseField to fld "12m" > send CloseField to fld "9m" > send CloseField to fld "6m" > send CloseField to fld "3m" > send CloseField to fld "ABT" > send CloseField to fld "ABT_B" > send CloseField to fld "RNT" > send CloseField to fld "RNT_B" > send CloseField to fld "Depth" > send CloseField to fld "Depth_B" > end mouseUp > > It works fine in the IDE but will not work when in a Standalone. > Oddly, the > Flds "18m" though to "3m" do seem to work, the others don't! > > For info script of fld "BT" is (which doesn't update fld "Image_depth" > > On CloseField > if the highlight of button "Nominal" of group "Dive_Plan" then > put fld "Depth" & "m" into fld "Image_Depth" > else > put fld "Depth_B" & "m" into fld "Image_Depth" > end if > end CloseField > > And script of fld "18m" is (which does update fld "Image_18m) > > on CloseField > if the highlight of button "Nominal" of group "Dive_Plan" then > put Nom_Stop & return into fld "Image_18m" > else > put Back_Stop into fld "Image_18m" > end if > end CloseField > > Anyone seen this before and have any suggestions?? > From st.king42 at ntlworld.com Sat Jul 3 12:19:34 2010 From: st.king42 at ntlworld.com (Steve King) Date: Sat, 3 Jul 2010 17:19:34 +0100 Subject: Using export snapshot with a file dialogue box In-Reply-To: <20100702170006.180B0288501@mail.runrev.com> References: <20100702170006.180B0288501@mail.runrev.com> Message-ID: Hi I am exporting a screen image of a card to file. I allow the user to select a filename then save the image using the script below. I have had to add a 400mS wait in for the save dialogue to vanish before the snapshot is taken. This works OK, but is there a better way to do it that guarantees that the save dialogue will be gone first? At the moment I know 100mS is plenty on my system so I have selected 400mS as margin ask file "Save Dive/Air Plan image as:" with the DefaultFolder with filter "JPG File, *.JPG" put it into UserFileName if it is not empty then set the itemdelimiter to "." if item 2 of UserFileName is empty then put UserFileName & ".jpg" into UserFileName end if wait 400 milliseconds Put the rect of this stack into MyScreen export snapshot from rect MyScreen to file UserFileName as JPEG Answer "Screen saved as" & UserFileName with "OK" end if Cheers Steve From cszasz at mac.com Sat Jul 3 12:49:51 2010 From: cszasz at mac.com (charles61) Date: Sat, 3 Jul 2010 09:49:51 -0700 (PDT) Subject: App deployment on Windows Message-ID: <1278175791300-2277320.post@n4.nabble.com> What are the standard locations for deploying ann app on Windows XP, Vista and Windows 7? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/App-deployment-on-Windows-tp2277320p2277320.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Sat Jul 3 13:08:36 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 3 Jul 2010 19:08:36 +0200 Subject: App deployment on Windows In-Reply-To: <1278175791300-2277320.post@n4.nabble.com> References: <1278175791300-2277320.post@n4.nabble.com> Message-ID: <95AB1834-77C6-4E57-AD0D-CCB5AAC93BD5@economy-x-talk.com> Hi, This should be X:\program files, where X is the start-up drive. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Subscribe to the Economy-x-Talk newsletter at http://qurl.tk/cj Download Clipboard Link http://clipboardlink.economy-x-talk.com and share the clipboard of your computer over the local network. On 3 jul 2010, at 18:49, charles61 wrote: > > What are the standard locations for deploying ann app on Windows XP, > Vista > and Windows 7? From cszasz at mac.com Sat Jul 3 13:11:54 2010 From: cszasz at mac.com (charles61) Date: Sat, 3 Jul 2010 10:11:54 -0700 (PDT) Subject: App deployment on Windows In-Reply-To: <95AB1834-77C6-4E57-AD0D-CCB5AAC93BD5@economy-x-talk.com> References: <1278175791300-2277320.post@n4.nabble.com> <95AB1834-77C6-4E57-AD0D-CCB5AAC93BD5@economy-x-talk.com> Message-ID: Mark Is this true for all of the windows platforms? Charles Szasz cszasz at mac.com On Jul 3, 2010, at 1:08 PM, Mark Schonewille-3 [via Runtime Revolution] wrote: > Hi, > > This should be X:\program files, where X is the start-up drive. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > > Subscribe to the Economy-x-Talk newsletter at http://qurl.tk/cj > Download Clipboard Link http://clipboardlink.economy-x-talk.com and > share the clipboard of your computer over the local network. > > On 3 jul 2010, at 18:49, charles61 wrote: > > > > > What are the standard locations for deploying ann app on Windows XP, > > Vista > > and Windows 7? > > _______________________________________________ > use-revolution mailing list > [hidden email] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > View message @ http://runtime-revolution.278305.n4.nabble.com/App-deployment-on-Windows-tp2277320p2277329.html > To unsubscribe from App deployment on Windows, click here. > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/App-deployment-on-Windows-tp2277320p2277331.html Sent from the Revolution - User mailing list archive at Nabble.com. From klaus at major.on-rev.com Sat Jul 3 13:11:35 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 3 Jul 2010 19:11:35 +0200 Subject: App deployment on Windows In-Reply-To: <95AB1834-77C6-4E57-AD0D-CCB5AAC93BD5@economy-x-talk.com> References: <1278175791300-2277320.post@n4.nabble.com> <95AB1834-77C6-4E57-AD0D-CCB5AAC93BD5@economy-x-talk.com> Message-ID: Hi Charles, Am 03.07.2010 um 19:08 schrieb Mark Schonewille: > Hi, > > This should be X:\program files, where X is the start-up drive. which you should get with: specialfolderpath(38) according to this extremely helpful page: http://sonsothunder.com/devres/revolution/tips/file010.htm :-) > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > > Subscribe to the Economy-x-Talk newsletter at http://qurl.tk/cj > Download Clipboard Link http://clipboardlink.economy-x-talk.com and share the clipboard of your computer over the local network. > > On 3 jul 2010, at 18:49, charles61 wrote: > >> >> What are the standard locations for deploying ann app on Windows XP, Vista >> and Windows 7? Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From richmondmathewson at gmail.com Sat Jul 3 13:31:12 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 03 Jul 2010 20:31:12 +0300 Subject: Using export snapshot with a file dialogue box In-Reply-To: References: <20100702170006.180B0288501@mail.runrev.com> Message-ID: <4C2F73E0.3070701@gmail.com> On 07/03/2010 07:19 PM, Steve King wrote: > Hi > > I am exporting a screen image of a card to file. > > I allow the user to select a filename then save the image using the script > below. I have had to add a 400mS wait in for the save dialogue to vanish > before the snapshot is taken. This works OK, but is there a better way to do > it that guarantees that the save dialogue will be gone first? At the moment > I know 100mS is plenty on my system so I have selected 400mS as margin > > ask file "Save Dive/Air Plan image as:" with the DefaultFolder with > filter "JPG File, *.JPG" > put it into UserFileName > > if it is not empty then > set the itemdelimiter to "." > if item 2 of UserFileName is empty then > put UserFileName& ".jpg" into UserFileName > end if > wait 400 milliseconds > Put the rect of this stack into MyScreen > export snapshot from rect MyScreen to file UserFileName as JPEG > Answer "Screen saved as"& UserFileName with "OK" > end if > > Cheers > Steve > > Have a look at this: http://andregarzia.on-rev.com/richmond/STUFF/ScreenSnap.rev.zip pull it to pieces (the scripts are stored in fields for daft, historical reasons) and 'steal' anything you find useful. sincerely, Richmond Mathewson. From richmondmathewson at gmail.com Sat Jul 3 13:33:16 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 03 Jul 2010 20:33:16 +0300 Subject: App deployment on Windows In-Reply-To: <1278175791300-2277320.post@n4.nabble.com> References: <1278175791300-2277320.post@n4.nabble.com> Message-ID: <4C2F745C.1030400@gmail.com> On 07/03/2010 07:49 PM, charles61 wrote: > What are the standard locations for deploying ann app on Windows XP, Vista > and Windows 7? > My experience tells me that a standard location is not strictly necessary; and, knowing that, I wonder why you would go to quite complicated lengths to make sure your app is installed in a standard location. From cszasz at mac.com Sat Jul 3 13:41:06 2010 From: cszasz at mac.com (charles61) Date: Sat, 3 Jul 2010 10:41:06 -0700 (PDT) Subject: App deployment on Windows In-Reply-To: <4C2F745C.1030400@gmail.com> References: <1278175791300-2277320.post@n4.nabble.com> <4C2F745C.1030400@gmail.com> Message-ID: Richmond I am concern about the location of the installation because of the virtualization that Vista and Windows 7 employs. Charles Szasz cszasz at mac.com On Jul 3, 2010, at 1:33 PM, Richmond Mathewson-2 [via Runtime Revolution] wrote: > On 07/03/2010 07:49 PM, charles61 wrote: > > What are the standard locations for deploying ann app on Windows XP, Vista > > and Windows 7? > > > > My experience tells me that a standard location is not strictly necessary; > and, knowing that, I wonder why you would go to quite complicated > lengths to make sure your app is installed in a standard location. > _______________________________________________ > use-revolution mailing list > [hidden email] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > View message @ http://runtime-revolution.278305.n4.nabble.com/App-deployment-on-Windows-tp2277320p2277344.html > To unsubscribe from App deployment on Windows, click here. > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/App-deployment-on-Windows-tp2277320p2277345.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Sat Jul 3 13:53:34 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 03 Jul 2010 12:53:34 -0500 Subject: Problem with script working in IDE but not in Standalone studio 4 In-Reply-To: <234837D10BF24210BC0090F8AB51D6F8@Home> References: <20100702170006.180B0288501@mail.runrev.com> <234837D10BF24210BC0090F8AB51D6F8@Home> Message-ID: <4C2F791E.7020903@hyperactivesw.com> Steve King wrote: > Hi > > I have a button scrip that did work in standalone, and always works in the > IDE but now will not work in the standalone! > > The card has several fields in two sets that take action when data is > entered, fields are set so that retunr gives Close Field message. > > I then have a radio button that selects either set 1 or set 2 fields, Each > of the two buttons has the same script (below) that simply sends CloseField > to each of the fields so that they update themselves. > > on mouseUp > send CloseField to fld "18m" > send CloseField to fld "15m" > send CloseField to fld "12m" > send CloseField to fld "9m" > send CloseField to fld "6m" > send CloseField to fld "3m" > send CloseField to fld "ABT" > send CloseField to fld "ABT_B" > send CloseField to fld "RNT" > send CloseField to fld "RNT_B" > send CloseField to fld "Depth" > send CloseField to fld "Depth_B" > end mouseUp > > It works fine in the IDE but will not work when in a Standalone. Oddly, the > Flds "18m" though to "3m" do seem to work, the others don't! > > For info script of fld "BT" is (which doesn't update fld "Image_depth" > > On CloseField > if the highlight of button "Nominal" of group "Dive_Plan" then > put fld "Depth" & "m" into fld "Image_Depth" > else > put fld "Depth_B" & "m" into fld "Image_Depth" > end if > end CloseField > > And script of fld "18m" is (which does update fld "Image_18m) > > on CloseField > if the highlight of button "Nominal" of group "Dive_Plan" then > put Nom_Stop & return into fld "Image_18m" > else > put Back_Stop into fld "Image_18m" > end if > end CloseField > > Anyone seen this before and have any suggestions?? I'm not sure why it would work one place and not another, but there is a difference in how you are getting your content. In the one that works, you're using a variable. In the one that doesn't you're using: fld "Depth" & "m" This may cause the engine to look for a field named "depthm" which doesn't exist. Instead, try forcing the field name this way: put (fld "Depth")& "m" or you could use two lines: get fld "Depth" get it & "m" Just a stab in the dark, probably won't matter, but it's worth a try. There shouldn't be any difference in how the engine evaluates that statement really. Another thing to try is to get the result after each of the lines that don't work, and if the result isn't empty, show it in an answer dialog. That way you may see a reason for the failure. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From st.king42 at ntlworld.com Sat Jul 3 14:25:03 2010 From: st.king42 at ntlworld.com (Steve King) Date: Sat, 3 Jul 2010 19:25:03 +0100 Subject: Problem with script working in IDE but not in Standalone In-Reply-To: <20100703164942.488AB288155@mail.runrev.com> References: <20100703164942.488AB288155@mail.runrev.com> Message-ID: <3D55CB99F46B4399B31FE27E91801BE2@Home> Hi Jim Thanks for the help. Problem seemed to be something really strange with Rev. I rebuilt several times with the same effect, then closed Rev and it crashed on closing. I reopened, reloaded the file, rebuilt again now the standalone works! Very strange, but thanks for your help. I'll certainly use this approach in debugging in future. Cheers Steve --- Jim Ault wrote ------ Save a copy of your stack as 'whateverTheName2.rev' Add one field to the card (assuming your stack only has one card) and name it "eventLog" Add a line to each IF branch as follows: > On CloseField > if the highlight of button "Nominal" of group "Dive_Plan" then > put fld "Depth" & "m" into fld "Image_Depth" put "1" && the short name of me & cr after fld eventLog > > else > put fld "Depth_B" & "m" into fld "Image_Depth" put "2" && the short name of me & cr after fld eventLog > end if > end CloseField > on CloseField > if the highlight of button "Nominal" of group "Dive_Plan" then > put Nom_Stop & return into fld "Image_18m" put "3" && the short name of me & cr after fld eventLog > else > put Back_Stop into fld "Image_18m" put "4" && the short name of me & cr after fld eventLog > end if > end CloseField Now when you trigger the scripts you will know which ones fire, which branch and in which order. Try it in the development environment (IDE) and in the compiled app. This could give you the clue you need. Hope this helps. Jim Ault Las Vegas From richmondmathewson at gmail.com Sat Jul 3 14:31:10 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 03 Jul 2010 21:31:10 +0300 Subject: App deployment on Windows In-Reply-To: References: <1278175791300-2277320.post@n4.nabble.com> <4C2F745C.1030400@gmail.com> Message-ID: <4C2F81EE.8070506@gmail.com> On 07/03/2010 08:41 PM, charles61 wrote: > Richmond > > I am concern about the location of the installation because of the virtualization that Vista and Windows 7 employs. > > Charles Szasz > cszasz at mac.com > > > Thanks for explaining that. However: having, temporarily, installed RunRev on a machine running Vista; built a standalone (on the desktop) and having run the standalone directly from where it was built, I can say that everything worked in an extremely unproblematic fashion. From stephenREVOLUTION2 at barncard.com Sat Jul 3 15:27:19 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 3 Jul 2010 12:27:19 -0700 Subject: App deployment on Windows In-Reply-To: <4C2F81EE.8070506@gmail.com> References: <1278175791300-2277320.post@n4.nabble.com> <4C2F745C.1030400@gmail.com> <4C2F81EE.8070506@gmail.com> Message-ID: but you are the admin. On 3 July 2010 11:31, Richmond wrote: > On 07/03/2010 08:41 PM, charles61 wrote: > >> Richmond >> >> I am concern about the location of the installation because of the >> virtualization that Vista and Windows 7 employs. >> >> Charles Szasz >> cszasz at mac.com >> >> >> >> > > Thanks for explaining that. > > However: having, temporarily, installed RunRev on a machine running Vista; > built a standalone > (on the desktop) and having run the standalone directly from where it was > built, I can say that > everything worked in an extremely unproblematic fashion. > > _______________________________________________ > use-revolution mailing list > use-revolution 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 San Francisco From jacque at hyperactivesw.com Sat Jul 3 15:42:29 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 03 Jul 2010 14:42:29 -0500 Subject: Using export snapshot with a file dialogue box In-Reply-To: References: <20100702170006.180B0288501@mail.runrev.com> Message-ID: <4C2F92A5.8020009@hyperactivesw.com> Steve King wrote: > Hi > > I am exporting a screen image of a card to file. > > I allow the user to select a filename then save the image using the script > below. I have had to add a 400mS wait in for the save dialogue to vanish > before the snapshot is taken. This works OK, but is there a better way to do > it that guarantees that the save dialogue will be gone first? I can't figure out why that's happening, since file dialogs halt the script until they are closed. You could avoid the whole issue by not using the screen coordinates (which capture everything) and instead use the card as the reference. That will capture only the card's bitmap and will ignore any other windows that are open. export snapshot from this card to file UserFileName as JPEG -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sat Jul 3 16:02:03 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 03 Jul 2010 23:02:03 +0300 Subject: Using export snapshot with a file dialogue box In-Reply-To: <4C2F92A5.8020009@hyperactivesw.com> References: <20100702170006.180B0288501@mail.runrev.com> <4C2F92A5.8020009@hyperactivesw.com> Message-ID: <4C2F973B.4060705@gmail.com> On 07/03/2010 10:42 PM, J. Landman Gay wrote: > Steve King wrote: >> Hi >> >> I am exporting a screen image of a card to file. >> I allow the user to select a filename then save the image using the >> script >> below. I have had to add a 400mS wait in for the save dialogue to vanish >> before the snapshot is taken. This works OK, but is there a better >> way to do >> it that guarantees that the save dialogue will be gone first? > > I can't figure out why that's happening, since file dialogs halt the > script until they are closed. > > You could avoid the whole issue by not using the screen coordinates > (which capture everything) and instead use the card as the reference. > That will capture only the card's bitmap and will ignore any other > windows that are open. > > export snapshot from this card to file UserFileName as JPEG > Here we go again; Jacque obviously keeps a well-sharpened copy of Occam's razor under the kitchen sink . . . Bravo; the simplest way is always the best. From richmondmathewson at gmail.com Sat Jul 3 16:16:26 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 03 Jul 2010 23:16:26 +0300 Subject: App deployment on Windows In-Reply-To: References: <1278175791300-2277320.post@n4.nabble.com> <4C2F745C.1030400@gmail.com> <4C2F81EE.8070506@gmail.com> Message-ID: <4C2F9A9A.90301@gmail.com> On 07/03/2010 10:27 PM, stephen barncard wrote: > but you are the admin. > > On 3 July 2010 11:31, Richmond wrote: > >> On 07/03/2010 08:41 PM, charles61 wrote: >> >>> Richmond >>> >>> I am concern about the location of the installation because of the >>> virtualization that Vista and Windows 7 employs. >>> >>> Charles Szasz >>> cszasz at mac.com >>> >> Thanks for explaining that. >> >> However: having, temporarily, installed RunRev on a machine running Vista; >> built a standalone >> (on the desktop) and having run the standalone directly from where it was >> built, I can say that >> everything worked in an extremely unproblematic fashion. >> >> _______________________________________________ >> Err . . . Yes; but I (probably naively) assumed that if you are marketing software the Admin person would be the one who was installing it and setting the user privileges to it. Certainly, when I ran a Mac lab at St Andrews we had "merry hell" with Chinese and Japanese students downloading Chinese and Japanese input-capable chat clients (the Macs were for academic purposes) until we locked-down software install to the admin; although, later (after one particularly intelligent student got hold of a Mac boot disk) we went for doing a boot from a cloned disk image. I seem to remember a similar situation at SIU Carbondale; the chap who was in charge of all the computers there, Dallas Service [ http://www.lib.siu.edu/departments/iss/contactpanel what a great guy] had a bet with me that I couldn't get through the 'At Ease' set up on the Library Macs; it took a floppy and a brain about 3 minutes. Mind you, he was happy it was me rather than the "get into a system and trash it" brigade. Were I to be in a similar situation again I would be thoroughly dictatorial with regard to a software policy (especially with such virus-prones systems as Microsoft trots out). Luckily my school features PCs running Linux with disconnected CD drives and backward-facing USB ports so that even the craftier Primary school children cannot install 'Battle for Wesnoth' should they even know how to. From st.king42 at ntlworld.com Sun Jul 4 06:14:14 2010 From: st.king42 at ntlworld.com (Steve King) Date: Sun, 4 Jul 2010 11:14:14 +0100 Subject: Rev Studio - How to determine the file location of the currently open Rev file In-Reply-To: <20100703164942.488AB288155@mail.runrev.com> References: <20100703164942.488AB288155@mail.runrev.com> Message-ID: Hi This is a very simple question, but driving me nuts! In the application I am working on I set the default folder to My Documents. When I want to save the current Rev file (in IDE) as a new filename, SaveAs drops back to the 'default' folder, not the original folder location for the Rev file itself. I can't see any way of determining where the Rev file was previously stored, so I can navigate back to the correct folder and save a new filename there, there doesn't seem to be a properties option. Cheers Steve From m.schonewille at economy-x-talk.com Sun Jul 4 06:23:32 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 4 Jul 2010 12:23:32 +0200 Subject: Rev Studio - How to determine the file location of the currently open Rev file In-Reply-To: References: <20100703164942.488AB288155@mail.runrev.com> Message-ID: <2E30581C-38C4-4626-976C-20E99CC06444@economy-x-talk.com> Steve, // full path put the effective filename of this stack into myPath // parent folder set the itemDel to slash put item 1 to -2 of the effective filename of this stack into myFolder You might also want to read in the dictionary about the defaultFolder propery. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Subscribe to the Economy-x-Talk newsletter at http://qurl.tk/cj Download Clipboard Link http://clipboardlink.economy-x-talk.com and share the clipboard of your computer over the local network. On 4 jul 2010, at 12:14, Steve King wrote: > Hi > > This is a very simple question, but driving me nuts! In the > application I am > working on I set the default folder to My Documents. When I want to > save the > current Rev file (in IDE) as a new filename, SaveAs drops back to the > 'default' folder, not the original folder location for the Rev file > itself. > I can't see any way of determining where the Rev file was previously > stored, so I can navigate back to the correct folder and save a new > filename > there, there doesn't seem to be a properties option. > > Cheers > Steve From st.king42 at ntlworld.com Sun Jul 4 06:41:40 2010 From: st.king42 at ntlworld.com (Steve King) Date: Sun, 4 Jul 2010 11:41:40 +0100 Subject: Build settings for Mac OSX In-Reply-To: <20100703164942.488AB288155@mail.runrev.com> References: <20100703164942.488AB288155@mail.runrev.com> Message-ID: <277897A2E95A4C20B8F3442640256EB9@Home> Hi I normally only build windows versions of Rev apps, but I am trying for the first time to build an OSX version. Reading the User Manual, there is stuff like plist, file types, creator signature and file types .. All a bit confusing for a windows user. (I know, windows is normally a bit confusing for MAC users!) My application generates two custom text files, .SAC, .SACp. Can someone help with the settings I should fill in the OSX buile page (studio 4) Also, are there any free WINDOWS apps for building MAC Icons that anyone is aware of? Cheers Steve From richmondmathewson at gmail.com Sun Jul 4 07:21:30 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 04 Jul 2010 14:21:30 +0300 Subject: Build settings for Mac OSX In-Reply-To: <277897A2E95A4C20B8F3442640256EB9@Home> References: <20100703164942.488AB288155@mail.runrev.com> <277897A2E95A4C20B8F3442640256EB9@Home> Message-ID: <4C306EBA.7010805@gmail.com> On 07/04/2010 01:41 PM, Steve King wrote: > Also, are there any free WINDOWS apps for building MAC Icons that anyone is > aware of? > > Not that I am aware of; I invested in Axialis (which I run under WINE on Linux). However; if you have a friend with a Mac you can send them a JPG or PNG of the icon and the can make you a set of Mac icons lickety-split with the 'Icon Composer' included in the Mac OS Developer tools - just a 2 minute drag and drop affair. Come to think of it . . . send them over here and I should have them back to you in under 24 hours (children, cats, marital fights, floods, earthquakes willing). Sned them off-list as Zipped attachments. From davidocoker at gmail.com Sun Jul 4 07:45:01 2010 From: davidocoker at gmail.com (David C.) Date: Sun, 4 Jul 2010 06:45:01 -0500 Subject: Build settings for Mac OSX In-Reply-To: <277897A2E95A4C20B8F3442640256EB9@Home> References: <20100703164942.488AB288155@mail.runrev.com> <277897A2E95A4C20B8F3442640256EB9@Home> Message-ID: > Also, are there any free WINDOWS apps for building MAC Icons that anyone is > aware of? Hey Steve, I haven't actually had the need to build any icons for Mac as of yet, but according to the help file, IcoFX software (free!) is supposed to do the job. I can say that it works well for the Windows side for sure. Here's the link: http://icofx.ro ...it would be nice to know how it turns out for ya. Best regards, David C. From rabit at dimensionB.de Sun Jul 4 10:09:26 2010 From: rabit at dimensionB.de (Ralf Bitter) Date: Sun, 4 Jul 2010 16:09:26 +0200 Subject: [ANN] revIgniter v1.3.4b released Message-ID: <332C07BC-0078-4DDD-87BD-4C4B9F3A8468@dimensionB.de> This version addresses issues related to database queries. Info and download at: http://revigniter.com/ Ralf From bill at bluewatermaritime.com Sun Jul 4 11:53:56 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Sun, 4 Jul 2010 11:53:56 -0400 Subject: Script Reporter v1.1 crashes In-Reply-To: <1274889857539-2231930.post@n4.nabble.com> References: <1274714755232-2228724.post@n4.nabble.com> <4BFD42C6.3040204@fourthworld.com> <1274889857539-2231930.post@n4.nabble.com> Message-ID: Andrew How is your work on this project going? Did you decide to re-do it all with SQLyoga and Framework? Are you using Valentina as the database? > My program was nearing completion and suddenly I couldn't track down a > localhost DB connection my application was trying to make that didn't exist > anymore (from before I started using SQL Yoga). > From warren at warrensweb.us Sun Jul 4 13:17:42 2010 From: warren at warrensweb.us (Warren Samples) Date: Sun, 4 Jul 2010 12:17:42 -0500 Subject: Subject: Build settings for Mac OSX In-Reply-To: <20100704170004.8D69B48BB20@mail.runrev.com> References: <20100704170004.8D69B48BB20@mail.runrev.com> Message-ID: <20100704171742.1395132614@smtp.charter.net> use-revolution-request at lists.runrev.com wrote on Sun, 4 Jul 2010 12:00:04 -0500: >Also, are there any free WINDOWS apps for building MAC Icons that anyone is >aware of? > >Cheers >Steve See if this does what you want: Cheers, Warren From st.king42 at ntlworld.com Sun Jul 4 14:22:21 2010 From: st.king42 at ntlworld.com (Steve King) Date: Sun, 4 Jul 2010 19:22:21 +0100 Subject: Rev Studio - How to determine the file location of the In-Reply-To: <20100704170004.BEABA288070@mail.runrev.com> References: <20100704170004.BEABA288070@mail.runrev.com> Message-ID: <4650FC713EA04498A5FD7D41B5D46E65@Home> Hi Mark I'm not sure I explained myself too well, but looks like this will work either in the message box or in the stack itself I guess. What I meant was knowing where the original stack file came from on my drive when I came to save it again (outside the app). When using SaveAs, Rev displays the Defaultfolder as set by the app not the original folder the file came from. For example, if I open a file from EXCEL, then do a SaveAs I get the same folder again. In Rev, if running the Stack changes the defaultFolder, then SaveAs points to this folder as well. It wasn't clear to me in the docs that the IDE folder pointers were also modified when testing an app in the IDE This should do fine though, Cheers Mark Schonewille wrote: // full path put the effective filename of this stack into myPath // parent folder set the itemDel to slash put item 1 to -2 of the effective filename of this stack into myFolder You might also want to read in the dictionary about the defaultFolder propery. Message: 14 Date: Sun, 4 Jul 2010 11:14:14 +0100 From: "Steve King" Subject: Rev Studio - How to determine the file location of the currently open Rev file To: Message-ID: Content-Type: text/plain; charset="us-ascii" Hi This is a very simple question, but driving me nuts! In the application I am working on I set the default folder to My Documents. When I want to save the current Rev file (in IDE) as a new filename, SaveAs drops back to the 'default' folder, not the original folder location for the Rev file itself. I can't see any way of determining where the Rev file was previously stored, so I can navigate back to the correct folder and save a new filename there, there doesn't seem to be a properties option. Cheers Steve --------------------000--------------------------- From st.king42 at ntlworld.com Sun Jul 4 14:26:13 2010 From: st.king42 at ntlworld.com (Steve King) Date: Sun, 4 Jul 2010 19:26:13 +0100 Subject: Using export snapshot with a file dialogue box In-Reply-To: <20100704170004.BEABA288070@mail.runrev.com> References: <20100704170004.BEABA288070@mail.runrev.com> Message-ID: <502F44553A4946A8BEB48DA3B58B1908@Home> Hi Jacqueline Excellent - so simple. I never realised just snapping a card would ignore the dialogue box. I will change the code. Definitely happens though - I have jpgs with the ask dialogue in the middle of the card! Cheers Steve Jacqueline Landman Gay wrote: Steve King wrote: > Hi > > I am exporting a screen image of a card to file. > > I allow the user to select a filename then save the image using the script > below. I have had to add a 400mS wait in for the save dialogue to vanish > before the snapshot is taken. This works OK, but is there a better way to do > it that guarantees that the save dialogue will be gone first? I can't figure out why that's happening, since file dialogs halt the script until they are closed. You could avoid the whole issue by not using the screen coordinates (which capture everything) and instead use the card as the reference. That will capture only the card's bitmap and will ignore any other windows that are open. export snapshot from this card to file UserFileName as JPEG ------------------------000---------------------------- From mwieder at ahsoftware.net Sun Jul 4 15:47:46 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 4 Jul 2010 12:47:46 -0700 Subject: Rev Studio - How to determine the file location of the In-Reply-To: <4650FC713EA04498A5FD7D41B5D46E65@Home> References: <20100704170004.BEABA288070@mail.runrev.com> <4650FC713EA04498A5FD7D41B5D46E65@Home> Message-ID: <9877255031.20100704124746@ahsoftware.net> Steve- Sunday, July 4, 2010, 11:22:21 AM, you wrote: > I'm not sure I explained myself too well, but looks like this will work Your original explanation was fine. If you set the defaultFolder after you load the file then the Save As dialog will put you in the proper place. -- -Mark Wieder mwieder at ahsoftware.net From gcanyon+rev at gmail.com Mon Jul 5 01:33:44 2010 From: gcanyon+rev at gmail.com (Geoff Canyon Rev) Date: Mon, 5 Jul 2010 00:33:44 -0500 Subject: Pointlist from move command? In-Reply-To: <5A1526B4-96DD-4C2E-B59C-ECF9F6E97EA2@dsa-net.dk> References: <5A1526B4-96DD-4C2E-B59C-ECF9F6E97EA2@dsa-net.dk> Message-ID: I wouldn't recommend the polling solution, but if you want to go with that, add "without waiting" and you'll be able to get the moving object's position as it moves. On Wed, Jun 30, 2010 at 2:48 AM, Michael Kristensen wrote: > Hi and thanks for replies > >> I dunno: if you have an object moving round a polygon (or along a >> pathway for that matter), >> surely all you have to do is poll the object's position every 2 ticks >> and pop the results into the lines >> of a field? > > I did try that but it seams that the move command is not threaded and can > not handle other commands while executing. > > > >> Hi Mic, >> if you mean that instead of the corner points of a polygon you want all >> the >> intermediate points also then this came up on the forum a while ago and I >> uploaded a little stack to the forum that does this. >> See: >> >> http://forums.runrev.com/phpBB2/viewtopic.php?f=9&t=5191&p=23366&hilit=points+of+polygon#p23366 >> look for the attachement >> calculate points of polygon.rev.zip >> >> (I did not have any real use for all the points but once I had a graphic I >> "pulled" out some points and animated them when one moves the graphic, >> since >> it looked like a bug that is what I called it :) ) >> as revlet: >> http://berndniggemann.on-rev.com/bug/ > > > Thanks Bernd > > That was just what I needed. > > Yet there is a but... > > I put this script in the left polygon and I made it none-opaque: > > on mouseUp > ? beep > ? put the mouseLoc into x > > ? repeat with i = 1 to number of lines of fld fAllPoints > ? ? ?if x = line i of fld fAllPoints then > ? ? ? ? put x > ? ? ? ? exit repeat > ? ? ?else > ? ? ? ? put "M " & the mouseLoc > ? ? ?end if > ? end repeat > > end mouseUp > > > The beep gives me audio feedback that I clicked the graphic > > In the majority of times the Loc came out with an M in front of it meaning > that the mouseLoc was not on the pointList > > So what Rev considers ON the graphic is different from your pointlist. > > Tried to replace TRUNC with ROUND in your script, with same result > > Mic > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From runrevplanet at smpcs.server101.com Mon Jul 5 04:49:46 2010 From: runrevplanet at smpcs.server101.com (RunRevPlanet) Date: Mon, 05 Jul 2010 18:49:46 +1000 Subject: Writing Externals in Pascal? In-Reply-To: <20100702170006.180B0288501@mail.runrev.com> References: <20100702170006.180B0288501@mail.runrev.com> Message-ID: <4C319CAA.5050801@smpcs.server101.com> Hi All, Trying to gauge the potential interest in a Revolution Externals SDK that could allow you to develop externals in Lazarus/Free Pascal. Instead of requiring some form of C/C++ wrapper, which is the only language that is currently supported by the official Externals SDK. To be able to write externals purely in a Pascal/Delphi dialect would be useful to me, but I do not know for certain if it can be done with Free Pascal -- there may be linking or name mangling issues which prevent it from working. * So before trying, I am just wondering what level of interest there would be in such a resource? If it's just me who still uses Pascal, then I probably won't even bother thinking further about it. But if there is interest, who knows... Note, I have little free time for such a project, so even if there is significant interest, I make no promises about whether it will happen, or when. -- Scott McDonald RunRevPlanet.com "Components, Stacks, Tools and Resources for Runtime Revolution" www.runrevplanet.com From effendi at wanadoo.fr Mon Jul 5 05:12:56 2010 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Mon, 5 Jul 2010 11:12:56 +0200 Subject: App deployment on Windows Message-ID: Hi from Beautiful Brittany, This complements Mark's mail ....... > This should be X:\program files, where X is the start-up drive. I needed to build file paths on Mac OSX and on Windows, in my cross-platform SplashStack, so I needed the system Disk ID for Windows (which MAY NOT be "C"). On Windows XP, I used "put line 1 of the volumes into MyPCDrive" which gave the system disk, whatever it was ! On Windows 7, the first entry in the volumes list is "A" (for some strange reason), and so I had to find an alternative solution. Mark came up with a work-around : "put item 1 of specialfolderpath("system") into Temp" Then strip out non-useful info to reveal system disk ID. A sure-fire way of building file paths. FWIW - Francis From dr.alistair at gmail.com Mon Jul 5 05:49:24 2010 From: dr.alistair at gmail.com (planix) Date: Mon, 5 Jul 2010 02:49:24 -0700 (PDT) Subject: Writing Externals in Pascal? In-Reply-To: <4C319CAA.5050801@smpcs.server101.com> References: <4C319CAA.5050801@smpcs.server101.com> Message-ID: <1278323364553-2278201.post@n4.nabble.com> Hi Scott, I would be interested. I used to program in Delphi a fair bit- though I am purely an amateur. I would certainly rather write externals in pascal than C. Like you I don't have a lot of time, and I doubt I have the expertise, but I would be interested in helping where I can. cheers Alistair -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Writing-Externals-in-Pascal-tp2278157p2278201.html Sent from the Revolution - User mailing list archive at Nabble.com. From gwolfgang at gaich.de Mon Jul 5 06:13:30 2010 From: gwolfgang at gaich.de (G. Wolfgang Gaich) Date: Mon, 05 Jul 2010 12:13:30 +0200 Subject: App deployment on Windows In-Reply-To: References: Message-ID: <4C31B04A.3020709@gaich.de> There is a simple way: put char 1 of $SystemDrive Wolfgang Am 05.07.2010 11:12, schrieb Francis Nugent Dixon: > Hi from Beautiful Brittany, > > This complements Mark's mail ....... > >> This should be X:\program files, where X is the start-up drive. > > I needed to build file paths on Mac OSX and on Windows, > in my cross-platform SplashStack, so I needed the system > Disk ID for Windows (which MAY NOT be "C"). > > On Windows XP, I used > > "put line 1 of the volumes into MyPCDrive" > > which gave the system disk, whatever it was ! > > On Windows 7, the first entry in the volumes list is "A" > (for some strange reason), and so I had to find an > alternative solution. > > Mark came up with a work-around : > > "put item 1 of specialfolderpath("system") into Temp" > > Then strip out non-useful info to reveal system disk ID. > > A sure-fire way of building file paths. > > FWIW > > - Francis > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sundown at pacifier.com Mon Jul 5 07:11:00 2010 From: sundown at pacifier.com (-= JB =-) Date: Mon, 5 Jul 2010 04:11:00 -0700 Subject: Writing Externals in Pascal? In-Reply-To: <4C319CAA.5050801@smpcs.server101.com> References: <20100702170006.180B0288501@mail.runrev.com> <4C319CAA.5050801@smpcs.server101.com> Message-ID: I would be interested in programming externals in Pascal but I am not familiar with the pascal you mentioned so I can't comment on the choice of pascal. -=>JB<=- On Jul 5, 2010, at 1:49 AM, RunRevPlanet wrote: > Hi All, > > Trying to gauge the potential interest in a Revolution Externals > SDK that could allow you to develop externals in Lazarus/Free > Pascal. Instead of requiring some form of C/C++ wrapper, which is > the only language that is currently supported by the official > Externals SDK. > > To be able to write externals purely in a Pascal/Delphi dialect > would be useful to me, but I do not know for certain if it can be > done with Free Pascal -- there may be linking or name mangling > issues which prevent it from working. > > * So before trying, I am just wondering what level of interest > there would be in such a resource? > > If it's just me who still uses Pascal, then I probably won't even > bother thinking further about it. But if there is interest, who > knows... > > Note, I have little free time for such a project, so even if there > is significant interest, I make no promises about whether it will > happen, or when. > -- > Scott McDonald > > RunRevPlanet.com > "Components, Stacks, Tools and Resources for Runtime Revolution" > www.runrevplanet.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 andre at andregarzia.com Mon Jul 5 09:03:17 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 5 Jul 2010 10:03:17 -0300 Subject: Writing Externals in Pascal? In-Reply-To: <4C319CAA.5050801@smpcs.server101.com> References: <20100702170006.180B0288501@mail.runrev.com> <4C319CAA.5050801@smpcs.server101.com> Message-ID: Scott, Been there as well. I remember many many many years ago talking about this exact topic with members of the community and with if I recall, there were some troubles in the way FPC generated the libraries, some linker stuff which might not be a problem these days. It would be a wonderful feature if Rev had a comprehensive FFI so that we could use other languages besides C/C++ to extend it. Cheers andre PS: Stay tunned for some stuff I am about to release about interoperation. On Mon, Jul 5, 2010 at 5:49 AM, RunRevPlanet < runrevplanet at smpcs.server101.com> wrote: > Hi All, > > Trying to gauge the potential interest in a Revolution Externals SDK that > could allow you to develop externals in Lazarus/Free Pascal. Instead of > requiring some form of C/C++ wrapper, which is the only language that is > currently supported by the official Externals SDK. > > To be able to write externals purely in a Pascal/Delphi dialect would be > useful to me, but I do not know for certain if it can be done with Free > Pascal -- there may be linking or name mangling issues which prevent it from > working. > > * So before trying, I am just wondering what level of interest there would > be in such a resource? > > If it's just me who still uses Pascal, then I probably won't even bother > thinking further about it. But if there is interest, who knows... > > Note, I have little free time for such a project, so even if there is > significant interest, I make no promises about whether it will happen, or > when. > -- > Scott McDonald > > RunRevPlanet.com > "Components, Stacks, Tools and Resources for Runtime Revolution" > www.runrevplanet.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From runrevplanet at smpcs.server101.com Mon Jul 5 09:05:41 2010 From: runrevplanet at smpcs.server101.com (RunRevPlanet) Date: Mon, 05 Jul 2010 23:05:41 +1000 Subject: Writing Externals in Pascal? In-Reply-To: <20100704170004.BEABA288070@mail.runrev.com> References: <20100704170004.BEABA288070@mail.runrev.com> Message-ID: <4C31D8A5.6060901@smpcs.server101.com> Alistair, Thank you for the offer. Nice to hear from another Delphi familiar. If I start the project I will certainly let you know, if I need assistance. -=>JB<=-, Free Pascal is a cross platform Pascal compiler that does standard Object Pascal plus more. It is also largely compatible with the Turbo Pascal 7 and Delphi 7 extensions to the Pascal language that have been part of the Borland (Embarcadero these days) line of compilers. While Lararus is a IDE that is built on top of Free Pascal, initially to "clone" the Delphi IDE, but which is now going in it's own direction. Most significantly, both these tools are cross-platform and can produce binaries for Mac and Windows (as well as many other platforms). Andre, I did a search here before launching this idea and found your previous messages about it. The linker issues may still exist, but Free Pascal has come quite a way since then, and I am hoping that the issues from before may now be resolvable. ooOOOoo Before coming to Revolution, Pascal/Delphi was my language of choice (which it still is for some types of projects) and so if I could write Externals with it for Revolution that would be a nice productivity boost. -- Scott McDonald RunRevPlanet.com "Components, Stacks, Tools and Resources for Runtime Revolution" www.runrevplanet.com From sundown at pacifier.com Mon Jul 5 09:23:10 2010 From: sundown at pacifier.com (-= JB =-) Date: Mon, 5 Jul 2010 06:23:10 -0700 Subject: Writing Externals in Pascal? In-Reply-To: <4C31D8A5.6060901@smpcs.server101.com> References: <20100704170004.BEABA288070@mail.runrev.com> <4C31D8A5.6060901@smpcs.server101.com> Message-ID: <17AAF958-9E50-4D41-AE9A-79039F517D35@pacifier.com> Thanks for the info. I hope the problems can be resolved. -=>JB<=- On Jul 5, 2010, at 6:05 AM, RunRevPlanet wrote: > Alistair, > > Thank you for the offer. Nice to hear from another Delphi familiar. > If I start the project I will certainly let you know, if I need > assistance. > > > -=>JB<=-, > > Free Pascal is a cross platform Pascal compiler that does standard > Object Pascal plus more. It is also largely compatible with the > Turbo Pascal 7 and Delphi 7 extensions to the Pascal language that > have been part of the Borland (Embarcadero these days) line of > compilers. > > While Lararus is a IDE that is built on top of Free Pascal, > initially to "clone" the Delphi IDE, but which is now going in it's > own direction. > > Most significantly, both these tools are cross-platform and can > produce binaries for Mac and Windows (as well as many other > platforms). > > > Andre, > > I did a search here before launching this idea and found your > previous messages about it. The linker issues may still exist, but > Free Pascal has come quite a way since then, and I am hoping that > the issues from before may now be resolvable. > > ooOOOoo > > Before coming to Revolution, Pascal/Delphi was my language of > choice (which it still is for some types of projects) and so if I > could write Externals with it for Revolution that would be a nice > productivity boost. > -- > Scott McDonald > > RunRevPlanet.com > "Components, Stacks, Tools and Resources for Runtime Revolution" > www.runrevplanet.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 benr_mc at cogapp.com Mon Jul 5 09:41:48 2010 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 05 Jul 2010 14:41:48 +0100 Subject: [BUG] Confirmed, can't capture screen from second monitor (Was Re: [BUG?] Can anyone here confirm that RevBrowserSnapshot works? In-Reply-To: References: Message-ID: <4C31E11C.8070808@cogapp.com> On 02/07/2010 00:08, Andre Garzia wrote: > I consider that a bug and you? > > will fill a bugzilla report after dinner... Is this a different issue from: http://quality.runrev.com/qacenter/show_bug.cgi?id=3926 ? From andre at andregarzia.com Mon Jul 5 09:51:18 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 5 Jul 2010 10:51:18 -0300 Subject: [BUG] Confirmed, can't capture screen from second monitor (Was Re: [BUG?] Can anyone here confirm that RevBrowserSnapshot works? In-Reply-To: <4C31E11C.8070808@cogapp.com> References: <4C31E11C.8070808@cogapp.com> Message-ID: Ben, I think it is the same bug... damn that bug is old... On Mon, Jul 5, 2010 at 10:41 AM, Ben Rubinstein wrote: > On 02/07/2010 00:08, Andre Garzia wrote: > > I consider that a bug and you? > > > > will fill a bugzilla report after dinner... > > Is this a different issue from: > http://quality.runrev.com/qacenter/show_bug.cgi?id=3926 > > ? > > _______________________________________________ > use-revolution mailing list > use-revolution 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.andregarzia.com All We Do Is Code. From benr_mc at cogapp.com Mon Jul 5 10:19:13 2010 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 05 Jul 2010 15:19:13 +0100 Subject: [BUG] Confirmed, can't capture screen from second monitor (Was Re: [BUG?] Can anyone here confirm that RevBrowserSnapshot works? In-Reply-To: References: <4C31E11C.8070808@cogapp.com> Message-ID: <4C31E9E1.1080302@cogapp.com> All are invited to pile in with comments on this bug report, in the interests of adding useful details ((and raising the activity level) that may help it make that difficult move from Unconfirmed to New! On 05/07/2010 14:51, Andre Garzia wrote: > Ben, > > I think it is the same bug... damn that bug is old... > > On Mon, Jul 5, 2010 at 10:41 AM, Ben Rubinstein wrote: > >> On 02/07/2010 00:08, Andre Garzia wrote: >>> I consider that a bug and you? >>> >>> will fill a bugzilla report after dinner... >> >> Is this a different issue from: >> http://quality.runrev.com/qacenter/show_bug.cgi?id=3926 >> >> ? From andre at andregarzia.com Mon Jul 5 10:23:28 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 5 Jul 2010 11:23:28 -0300 Subject: [BUG] Confirmed, can't capture screen from second monitor (Was Re: [BUG?] Can anyone here confirm that RevBrowserSnapshot works? In-Reply-To: <4C31E9E1.1080302@cogapp.com> References: <4C31E11C.8070808@cogapp.com> <4C31E9E1.1080302@cogapp.com> Message-ID: added comments and votes. On Mon, Jul 5, 2010 at 11:19 AM, Ben Rubinstein wrote: > All are invited to pile in with comments on this bug report, in the > interests of adding useful details ((and raising the activity level) that > may help it make that difficult move from Unconfirmed to New! > > > On 05/07/2010 14:51, Andre Garzia wrote: > >> Ben, >> >> I think it is the same bug... damn that bug is old... >> >> On Mon, Jul 5, 2010 at 10:41 AM, Ben Rubinstein >> wrote: >> >> On 02/07/2010 00:08, Andre Garzia wrote: >>> >>>> I consider that a bug and you? >>>> >>>> will fill a bugzilla report after dinner... >>>> >>> >>> Is this a different issue from: >>> http://quality.runrev.com/qacenter/show_bug.cgi?id=3926 >>> >>> ? >>> >> _______________________________________________ > use-revolution mailing list > use-revolution 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.andregarzia.com All We Do Is Code. From mwieder at ahsoftware.net Mon Jul 5 11:28:09 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 5 Jul 2010 08:28:09 -0700 Subject: Writing Externals in Pascal? In-Reply-To: <4C31D8A5.6060901@smpcs.server101.com> References: <20100704170004.BEABA288070@mail.runrev.com> <4C31D8A5.6060901@smpcs.server101.com> Message-ID: <181148078421.20100705082809@ahsoftware.net> Scott- Things may have changed with Delphi, but I fear you may run into the problem I had back in 2004 when I attempted this. See bug #1526. The issue was the inability to coax Borland compilers into the proper combination of compiler options to export symbols that the runrev engine would recognize as valid. -- -Mark Wieder mwieder at ahsoftware.net From andre at andregarzia.com Mon Jul 5 11:35:01 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 5 Jul 2010 12:35:01 -0300 Subject: Writing Externals in Pascal? In-Reply-To: <181148078421.20100705082809@ahsoftware.net> References: <20100704170004.BEABA288070@mail.runrev.com> <4C31D8A5.6060901@smpcs.server101.com> <181148078421.20100705082809@ahsoftware.net> Message-ID: Argh! I remember that bug in 2005... just commented and voted on it again. argh! On Mon, Jul 5, 2010 at 12:28 PM, Mark Wieder wrote: > Scott- > > Things may have changed with Delphi, but I fear you may run into the > problem I had back in 2004 when I attempted this. See bug #1526. The > issue was the inability to coax Borland compilers into the proper > combination of compiler options to export symbols that the runrev > engine would recognize as valid. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From mark.hausmann at jessenlenz.com Mon Jul 5 12:27:47 2010 From: mark.hausmann at jessenlenz.com (mark.hausmann at jessenlenz.com) Date: Mon, 5 Jul 2010 17:27:47 +0100 Subject: =?iso-8859-1?q?AUTO=3A_Mark_Hausmann/jl1_ist_au=DFer_Haus=2E_=28?= =?iso-8859-1?q?R=FCckkehr_am_06=2E07=2E2010=29?= Message-ID: Ich bin bis 06.07.2010 abwesend Ich werde Ihre Nachricht nach meiner R?ckkehr beantworten. In dringenden F?llen wenden Sie sich bitte an meinen Kollegen Horst Strohkirch, email: horst.strohkirch at pdap.de Hinweis: Dies ist eine automatische Antwort auf Ihre Nachricht "Re: [BUG] Confirmed, can't capture screen from second monitor (Was Re: [BUG?] Can anyone here confirm that RevBrowserSnapshot works?" gesendet am 05.07.2010 14:41:48. Diese ist die einzige Benachrichtigung, die Sie empfangen werden, w?hrend diese Person abwesend ist. From capellan2000 at gmail.com Mon Jul 5 12:54:53 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 5 Jul 2010 09:54:53 -0700 (PDT) Subject: [BUG] Confirmed, can't capture screen from second monitor (Was Re: [BUG?] Can anyone here confirm that RevBrowserSnapshot works? In-Reply-To: <1D1AABD9-5D29-4921-A737-6658C9C07C34@yahoo.com> References: <1D1AABD9-5D29-4921-A737-6658C9C07C34@yahoo.com> Message-ID: <1278348893211-2278615.post@n4.nabble.com> Hi all, I do not have a computer with multiple monitors, but reading the documentation about export snapshot, i noticed: To export a snapshot for a portion of a stack you use the form: export snapshot from rect[angle] of window windowId to ... Where windowId is the windowId property of the required stack. Just for curiosity, Does this code works fine, if you add this windowId property? -- Test in your multiple monitor setup and report results export snapshot from rect tRect of window windowId to tSnapshot as PNG export snapshot from this card of window windowId to tSnapshot as PNG export snapshot from window windowId to tSnapshot as PNG Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/BUG-Confirmed-can-t-capture-screen-from-second-monitor-Was-Re-BUG-Can-anyone-here-confirm-that-RevBr-tp2275775p2278615.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Mon Jul 5 13:06:02 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 5 Jul 2010 10:06:02 -0700 (PDT) Subject: Writing Externals in Pascal? In-Reply-To: <4C319CAA.5050801@smpcs.server101.com> References: <4C319CAA.5050801@smpcs.server101.com> Message-ID: <1278349562223-2278631.post@n4.nabble.com> Hi Scott, Hopefully, you could find help among the Free Pascal developers and programmers to workaround the problems that Mark Wieder reported in 2004: -------------------------------------------------- http://quality.runrev.com/qacenter/show_bug.cgi?id=1526 Presently only external libraries in Microsoft-compatible binary form will work with the engine. This is due to the necessity of recognizing a signature of the exported Xtable and Xname items. It is impossible to get the level of granularity of compiler options with Borland's compilers (C++ Builder, Delphi) to get the combination of: 1. no leading underscore 2. mixed case exported symbols 3. C-style parameter passing (first to last) 4- C-style stack frames (calling program cleans up the stack) The way around this would be to accept alternate entry points of _Xtable and _Xname if the first check of Xtable and Xname failed. This would open up the development of external libraries to existing BCCB and Delphi programmers and allow the simple modification of libraries that currently exist for other environments. To me this seems like a simple change to the engine with large paybacks in terms of opening things up for third-parties to develop add-ons. ---------------------------------------------------- Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Writing-Externals-in-Pascal-tp2278157p2278631.html Sent from the Revolution - User mailing list archive at Nabble.com. From andre at andregarzia.com Mon Jul 5 13:35:27 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 5 Jul 2010 14:35:27 -0300 Subject: [BUG] Confirmed, can't capture screen from second monitor (Was Re: [BUG?] Can anyone here confirm that RevBrowserSnapshot works? In-Reply-To: <1278348893211-2278615.post@n4.nabble.com> References: <1D1AABD9-5D29-4921-A737-6658C9C07C34@yahoo.com> <1278348893211-2278615.post@n4.nabble.com> Message-ID: Alejandro, Tried that, didn't work... Cheers andre On Mon, Jul 5, 2010 at 1:54 PM, Alejandro Tejada wrote: > > Hi all, > > I do not have a computer with multiple > monitors, but reading the documentation > about export snapshot, i noticed: > > To export a snapshot for a portion of a stack you use the form: > export snapshot from rect[angle] of window windowId to ... > Where windowId is the windowId property of the required stack. > > Just for curiosity, > Does this code works fine, if you add this windowId property? > > -- Test in your multiple monitor setup and report results > export snapshot from rect tRect of window windowId to tSnapshot as PNG > export snapshot from this card of window windowId to tSnapshot as PNG > export snapshot from window windowId to tSnapshot as PNG > > Thanks in advance! > > Al > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/BUG-Confirmed-can-t-capture-screen-from-second-monitor-Was-Re-BUG-Can-anyone-here-confirm-that-RevBr-tp2275775p2278615.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From mwieder at ahsoftware.net Mon Jul 5 13:50:38 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 5 Jul 2010 10:50:38 -0700 Subject: Writing Externals in Pascal? In-Reply-To: References: <20100704170004.BEABA288070@mail.runrev.com> <4C31D8A5.6060901@smpcs.server101.com> <181148078421.20100705082809@ahsoftware.net> Message-ID: <150156627531.20100705105038@ahsoftware.net> Andre- Monday, July 5, 2010, 8:35:01 AM, you wrote: > Argh! I remember that bug in 2005... > just commented and voted on it again. > argh! I wouldn't bother wasting votes on this. I finally pulled my votes away and put them to better use on other bug reports. It's A) filed as an enhancement, so it'll get *no* attention from the team B) assigned to an engineer no longer with the company -- -Mark Wieder mwieder at ahsoftware.net From capellan2000 at gmail.com Mon Jul 5 13:51:09 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 5 Jul 2010 10:51:09 -0700 (PDT) Subject: Recording user actions in the IDE Message-ID: <1278352269110-2278695.post@n4.nabble.com> Hi all, I have been trying, without sucess, to record my actions inside the IDE, with the purpose of creating an History Palette, like you could see in Photoshop: http://www.adobepress.com/articles/article.asp?p=22789&seqNum=6 "The History palette, at its most basic, remembers what you've done to your file and lets you either retrace your steps or revert back to any earlier version." Hopefully, this history palette for Rev would not require 20 or 40 times the stack size... Basically, a Rev History palette (inserted as a backscript or frontscript) would record changes in all object properties (including stacks) and their scripts. Using a single click over an action, it should be possible to revert an object or script to a previous state. Thanks in advance for your help! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Recording-user-actions-in-the-IDE-tp2278695p2278695.html Sent from the Revolution - User mailing list archive at Nabble.com. From st.king42 at ntlworld.com Mon Jul 5 14:03:43 2010 From: st.king42 at ntlworld.com (Steve King) Date: Mon, 5 Jul 2010 19:03:43 +0100 Subject: Build settings for Mac OSX In-Reply-To: <20100704170004.BEABA288070@mail.runrev.com> References: <20100704170004.BEABA288070@mail.runrev.com> Message-ID: <28AB5CEC2E944CB09BDC20959BD924C7@Home> Hi David I actually have Icofx installed but never realised it created Mac icons as well. I've created some, I'll saee if they work when I try and install this app later in the week. Thanks to everyone else who suggested tools. In the meantime, does anyone have any further guidance on what I have to put in the various OSX standalone builder screen fields (if anything) Cheers Steve >Hey Steve, >I haven't actually had the need to build any icons for Mac as of yet, >but according to the help file, IcoFX software (free!) is supposed to >do the job. I can say that it works well for the Windows side for >sure. >Here's the link: http://icofx.ro >...it would be nice to know how it turns out for ya. >Best regards, >David C. From scott at tactilemedia.com Mon Jul 5 14:33:45 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 05 Jul 2010 11:33:45 -0700 Subject: Troubleshooting/Supporting Your Software Message-ID: I just caught this link on another mail list and thought it might be useful for folks here who need to get system specs from their customers/clients: Nice page of info at a single glance. Regards, Scott Rossi Creative Director Tactile Media, UX Design From andre at andregarzia.com Mon Jul 5 14:38:18 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 5 Jul 2010 15:38:18 -0300 Subject: Troubleshooting/Supporting Your Software In-Reply-To: References: Message-ID: that is cool and well designed. :-D On Mon, Jul 5, 2010 at 3:33 PM, Scott Rossi wrote: > I just caught this link on another mail list and thought it might be useful > for folks here who need to get system specs from their customers/clients: > > > > Nice page of info at a single glance. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > _______________________________________________ > use-revolution mailing list > use-revolution 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.andregarzia.com All We Do Is Code. From richmondmathewson at gmail.com Mon Jul 5 16:05:24 2010 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 05 Jul 2010 23:05:24 +0300 Subject: Build settings for Mac OSX In-Reply-To: <28AB5CEC2E944CB09BDC20959BD924C7@Home> References: <20100704170004.BEABA288070@mail.runrev.com> <28AB5CEC2E944CB09BDC20959BD924C7@Home> Message-ID: <4C323B04.80708@gmail.com> On 07/05/2010 09:03 PM, Steve King wrote: > Hi David > > I actually have Icofx installed but never realised it created Mac icons as > well. I've created some, I'll saee if they work when I try and install this > app later in the week. > Thanks to everyone else who suggested tools. > > In the meantime, does anyone have any further guidance on what I have to put > in the various OSX standalone builder screen fields (if anything) > > Writing as a lazy slob, I tend to let the thing write the PLIST for me: http://andregarzia.on-rev.com/richmond/STUFF/MAX.png.zip Mind you a lot of that could have to do with the fact that I haven't a clue what a PLIST is anyway . . . :) From richmondmathewson at gmail.com Mon Jul 5 16:07:44 2010 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 05 Jul 2010 23:07:44 +0300 Subject: Troubleshooting/Supporting Your Software In-Reply-To: References: Message-ID: <4C323B90.2060102@gmail.com> On 07/05/2010 09:38 PM, Andre Garzia wrote: > that is cool and well designed. > > :-D > > On Mon, Jul 5, 2010 at 3:33 PM, Scott Rossi wrote: > > >> I just caught this link on another mail list and thought it might be useful >> for folks here who need to get system specs from their customers/clients: >> >> >> >> Nice page of info at a single glance. >> >> Clever stuff; especially as one can e-mail the specs to whomsoever one wants. It would be perfectly possible to direct clients there and then post to you. From slord at karbonized.com Mon Jul 5 16:11:04 2010 From: slord at karbonized.com (Simon Lord) Date: Mon, 5 Jul 2010 16:11:04 -0400 Subject: List field with inset images Message-ID: Anyone have a practical example of a list field with an image set to char 1 whose aspect ratio scales proportionately when the field's width is modified? From richmondmathewson at gmail.com Mon Jul 5 16:19:29 2010 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 05 Jul 2010 23:19:29 +0300 Subject: Troubleshooting/Supporting Your Software In-Reply-To: References: Message-ID: <4C323E51.10109@gmail.com> >> I just caught this link on another mail list and thought it might be useful >> for folks here who need to get system specs from their customers/clients: >> >> >> >> Of course "naughty Richmond" tried to send details of his Linux box to the use-list via this website . . . Obviously the filters for the use-list have blocked it (even though the web-page gives the impression it will send the system details as if they are from the host's e-mail address). From shaosean at wehostmacs.com Mon Jul 5 18:44:41 2010 From: shaosean at wehostmacs.com (Shao Sean) Date: Mon, 05 Jul 2010 18:44:41 -0400 Subject: List field with inset images Message-ID: <1E4F490B-C4A9-4C29-8576-FD952AD1DA6D@wehostmacs.com> You would need to load the images into Rev, scale them, then set the imageSource of the char in the field.. When the width of your field changes, you would rescale the images that you imported and then re- set the imageSources again (do not think the images auto-update in the field).. From runrevplanet at smpcs.server101.com Mon Jul 5 18:51:24 2010 From: runrevplanet at smpcs.server101.com (RunRevPlanet) Date: Tue, 06 Jul 2010 08:51:24 +1000 Subject: Writing Externals in Pascal? In-Reply-To: <20100705170005.59BC828818C@mail.runrev.com> References: <20100705170005.59BC828818C@mail.runrev.com> Message-ID: <4C3261EC.4040507@smpcs.server101.com> Thanks for the extra tips. At this stage I have only done a quick read of the documentation of the Free Pascal Compiler, but from what I have read it appears more flexible than the Borland compilers in terms of the libraries it can produce. But I won't really know what it is capable of until I do some experiments. The comments and interest are encouraging though. -- Scott McDonald RunRevPlanet.com "Components, Stacks, Tools and Resources for Runtime Revolution" www.runrevplanet.com From peterwawood at gmail.com Mon Jul 5 19:59:11 2010 From: peterwawood at gmail.com (Peter W A Wood) Date: Tue, 6 Jul 2010 07:59:11 +0800 Subject: Writing Externals in Pascal? In-Reply-To: <1278349562223-2278631.post@n4.nabble.com> References: <4C319CAA.5050801@smpcs.server101.com> <1278349562223-2278631.post@n4.nabble.com> Message-ID: <4CFE9095-138A-4EC5-A9AA-2AEABD4E2393@gmail.com> Hi Scott I am also be interested in being able to develop externals in Free Pascal. At the moment, I am testing calling a dynamic load library written in Free Pascal from Rebol (a language written in C) using C calling conventions. > It is impossible to get the level > of granularity of compiler options with Borland's compilers > (C++ Builder, Delphi) to get the combination of: > 1. no leading underscore You get to name the function in FPC. Here is an extract from my dll: {$ifndef Darwin} exports version name 'version'; {$else} exports version name '_version'; {$endif} > 2. mixed case exported symbols I tested with a mixed case function name: exports accountingformat name '_accountingFormat', version name '_version'; > 3. C-style parameter passing (first to last) > 4- C-style stack frames (calling program cleans up > the stack) FPC includes a modifier for the cdecl calling convention (which I believe answers 3 & 4). Here is an example: procedure version(var answer: shortstring);cdecl; begin answer := CurrentVersion; end; Regards Peter Wood From jacque at hyperactivesw.com Mon Jul 5 21:59:33 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 05 Jul 2010 20:59:33 -0500 Subject: Build settings for Mac OSX In-Reply-To: <28AB5CEC2E944CB09BDC20959BD924C7@Home> References: <20100704170004.BEABA288070@mail.runrev.com> <28AB5CEC2E944CB09BDC20959BD924C7@Home> Message-ID: <4C328E05.6010707@hyperactivesw.com> Steve King wrote: > In the meantime, does anyone have any further guidance on what I have to put > in the various OSX standalone builder screen fields (if anything) It's a long answer which is why you probably didn't get immediate replies. There are lots of uses for plist ("property list") files on a Mac, but in this case it stores file data about your application. You can think of it as a sort of individualized registry. What Windows installers would put into registry entries, OS X stores in a plist file inside the application bundle. That's one reason OS X doesn't very often need installers. The app can simply be copied to the drive and all its file association data comes along with it. Whenever the file system needs to work with the app, OS X looks at its plist to know what icons it uses, its version number and info, what files it can open, which files it can create, and other things. What you put into Rev's plist fields determines a lot of this. Your best bet for now is to let Rev generate the plist for you, after you fill in the fields. Working down the window: Build for Universal if you want all OS X users to be able to run your app. If you're building for a few friends and you know they all use Intel Macs, then you can build for Intel-only, which saves a lot of disk space. The application icon should be one you create in an icon editor and save in .icns format. This is the icon your users will see on the desktop. If your app creates document files, then you should assign a document icon too. If you don't, users will see a text file icon as a default for any files your app makes. Ask and answer dialogs on OS X display a small application icon at the left side. You need to create these according to strict size guidelines (see gRevAppIcon and gRevSmallAppIcon in the dictionary) and store them as hidden images in your stack. Put the image IDs in these fields or use the selector to choose them from your stack images. You can leave these fields blank if you want. If you do that, there will be no icons in the dialog boxes. That breaks OS X rules, but most users probably won't notice. The remaining fields, except for the signature and document type, should be self-explanatory. The name is your app name, the short version is the numerical version only ("1.0.4") and the long version includes the name ("MyApp 1.0.4"). The Get Info string is what users see when they open the Mac equivalent of the Properties dialog: you can put anything here, but usually I put the long version in there too. Rev fills out the copyright notice pretty well for you, but you usually need to add your company name to it. The Bundle Identifier is a string that identifies your company and product according to a strict rule order that looks a bit like a reverse domain name. It generally starts with "com" if you're a company, followed by your company's name, followed by the product name. There should be no spaces and no capitals. My identifier for Zygodact is "com.hyperactivesw.zygodact". There should be 3 parts separated by periods. You can abbreviate or alter your company name slightly if you want to; the important part is that you are consistent in using the same identifier name for every app you create. The Finder uses this info to track and catalog your app in various ways. I left signature and document type for last because they need explanation, so back up to the middle of the window. OS X uses 4-character strings to identify the app and its documents. The application string is called its signature. It can be anything you want, but it must be unique from any other OS X app. For this reason, Apple keeps a registry of application signatures, and if you plan to distribute your app commercially you need to apply for one. It's free, you just need to get into the database. This assures you that your app won't be mistaken for a different one on someone's machine and that your app will retain all its unique icons and be associated with the correct files. There are a few rules, but basically you need to stick to mixed-case 4-character strings. There's more on Apple's registration page: If you don't plan to distribute commercially then you can invent any 4-character signature you want, and just hope that anyone else who runs your app won't already have an app installed with the same signature. Keep your signature mixed-case; Apple reserves all-cap and all lower-case for itself. For example, the signature I registered for Zygodact is "ZygD". You can see examples of various app signatures if you google it. The document type does not need to be registered. You can make up your own, or use an existing type. You can also assign several types if your app can handle them (i.e., all image types, for example.) If your app creates text files, then use TEXT as the type and "txt" as the extension. If it creates stacks, you can use Rev's stack type: RSTK, with extension "rev". Or you can make up your own type. It doesn't much matter, but your scripts need to set the same stackfiletype or filetype before writing to disk, otherwise the files you create won't match your plist. If your app doesn't make any files, you can just leave the document type blank. It won't be used. Having said all that, the latest version of OS X is doing away with these codes. You still need them for users on older Macs though, and if they exist the latest OS X will also use them. Trivia here, if you are interested: I've put a screen shot of the Zygodact OS X standalone settings here for reference: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Jul 5 22:08:23 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 05 Jul 2010 21:08:23 -0500 Subject: Build settings for Mac OSX In-Reply-To: <4C328E05.6010707@hyperactivesw.com> References: <20100704170004.BEABA288070@mail.runrev.com> <28AB5CEC2E944CB09BDC20959BD924C7@Home> <4C328E05.6010707@hyperactivesw.com> Message-ID: <4C329017.2080108@hyperactivesw.com> J. Landman Gay wrote: > The document type does not need to be registered. You can make up your > own, or use an existing type. > One more thing about this: if your app creates common document types that the Mac already knows about, like jpg, rev, txt, etc. then you can leave the document type blank. It's basically just for entering a custom document type you want to use. Common ones don't need to be in there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Tue Jul 6 01:07:13 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 6 Jul 2010 00:07:13 -0500 Subject: Build settings for Mac OSX In-Reply-To: <4C329017.2080108@hyperactivesw.com> References: <20100704170004.BEABA288070@mail.runrev.com> <28AB5CEC2E944CB09BDC20959BD924C7@Home> <4C328E05.6010707@hyperactivesw.com> <4C329017.2080108@hyperactivesw.com> Message-ID: In the early 90s I registered a creator code "BARN" and a document code "rtfd" I know the document codes are not registered anymore (and Apple uses *rtfd*now). But my question is : Do I own my creator code forever? Is there no way to verify that I still own it? It was a long time ago. On 5 July 2010 21:08, J. Landman Gay wrote: > J. Landman Gay wrote: > > The document type does not need to be registered. You can make up your >> own, or use an existing type. >> >> > One more thing about this: if your app creates common document types that > the Mac already knows about, like jpg, rev, txt, etc. then you can leave the > document type blank. It's basically just for entering a custom document type > you want to use. Common ones don't need to be in there. > > > -- ------------------------- Stephen Barncard San Francisco From davidocoker at gmail.com Tue Jul 6 01:22:35 2010 From: davidocoker at gmail.com (David C.) Date: Tue, 6 Jul 2010 00:22:35 -0500 Subject: Problem saving files Message-ID: I've run into a bit of a head scratching problem with saving files that maybe someone can help me sort out. My code: on SaveTheFile ask file "Save project as:" with filter "MYFL file,*.myfl" if it <> "" then put it into tfile put fld "save list" into tFiletoSave put tFileToSave into url ("file:" & tfile & ".myfl") else exit to top end if end SaveTheFile The file saves exactly as expected *if* there isn't a file with the same name. Example from code above, the filename written would be: myfilename.myfl If there is a file with the same name, it correctly asks if I want to replace it, but when I click yes, instead of overwriting the file properly, it still creates a new file, but with the extension doubled up, as in: myfilename.myfl.myfl The other ways I've tried to code it, it still does the "do you want to replace" routine and will overwrite the file without doubling up on the extension, *but* it won't automatically add the proper extension to a new file. Nothing unusual or special needed. All I'm looking for is to have it write a new file with the proper extension automatically added -or- to correctly overwrite an existing file, especially without doubling up the preferred extension. I've read the documentation and tried it so many different ways now, that I'm confused to the point that I'm unsure what to try next... This is the last "little problem" to solve in order to complete a pretty large project, so I would sincerely appreciate any help you can send my way! Best regards, David C. From ambassador at fourthworld.com Tue Jul 6 01:23:53 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 05 Jul 2010 22:23:53 -0700 Subject: Build settings for Mac OSX Message-ID: <4C32BDE9.5040004@fourthworld.com> stephen barncard wrote: > In the early 90s I registered a creator code "BARN" and a document code > "rtfd" > > I know the document codes are not registered anymore (and Apple uses > *rtfd*now). But my question is : Do I own my creator code forever? As forever as your memory allows: creator codes were hotly contested within Apple when the NeXT team took over, marked for deprecation a few years later, and no longer supported as of Snow Leopard. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From sarah.reichelt at gmail.com Tue Jul 6 01:50:45 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 6 Jul 2010 15:50:45 +1000 Subject: Problem saving files In-Reply-To: References: Message-ID: On Tue, Jul 6, 2010 at 3:22 PM, David C. wrote: > I've run into a bit of a head scratching problem with saving files > that maybe someone can help me sort out. > My code: > > on SaveTheFile > ? ask file "Save project as:" with filter "MYFL file,*.myfl" > ? if it <> "" then > ? ? ?put it into tfile > ? ? ?put fld "save list" into tFiletoSave > ? ? ?put tFileToSave into url ("file:" & ?tfile & ".myfl") > ? else > ? ? ?exit to top > ? end if > ?end SaveTheFile > > ?The file saves exactly as expected *if* there isn't a file with the same name. > ?Example from code above, the filename written would be: myfilename.myfl > > If there is a file with the same name, it correctly asks if I want to > replace it, but when I click yes, instead of overwriting the file > properly, it still creates a new file, but with the extension doubled > up, as in: myfilename.myfl.myfl > > The other ways I've tried to code it, it still does the "do you want > to replace" routine and will overwrite the file without doubling up on > the extension, *but* it won't automatically add the proper extension > to a new file. I have never used filter with the ask command, but here is what I think is happening: When you ask for a file, if a new file name is types in, you get just the name with no extension. If you select an existing file, then you get the filename PLUS it's extension. Your script then adds the extension regardless, so extensions will accumulate. You need to add a check to see if the file extension is already there, and only append it to the file name if it is missing. Cheers, Sarah Rodeo discussion: http://rodeoapps.com/rodeo-discuss-among-yourselves From davidocoker at gmail.com Tue Jul 6 08:00:25 2010 From: davidocoker at gmail.com (David C.) Date: Tue, 6 Jul 2010 07:00:25 -0500 Subject: Problem saving files In-Reply-To: References: Message-ID: > I have never used filter with the ask command, but here is what I > think is happening: > > When you ask for a file, if a new file name is types in, you get just > the name with no extension. > If you select an existing file, then you get the filename PLUS it's extension. > Your script then adds the extension regardless, so extensions will accumulate. > > You need to add a check to see if the file extension is already there, > and only append it to the file name if it is missing. > > Cheers, > Sarah Hello Sarah and thanks for replying. I'm using filter so that the user will see only the files with like extensions, but I've tried it without the filtering as well, with no luck. I think the heart of the issue is that when asked if the user wants to overwrite a file and they affirm that they do... ..the file *should* be overwritten instead of duplicating the name with a doubled up extension. As a point of reference, I'm using Windows 7 for development and initial testing, yet no other app on the machine (or any Windows machine I have ever used) behaves the same way when presented with a "replace file" option. Is that a bug in Rev or a coding error on my part? Does anyone else experience the same issue? Best regards, David C. From psahores at free.fr Tue Jul 6 08:15:32 2010 From: psahores at free.fr (Pierre Sahores) Date: Tue, 6 Jul 2010 14:15:32 +0200 Subject: last available version of revBrowser.dll (windows) ? In-Reply-To: <1278071195195-2276336.post@n4.nabble.com> References: <87F01C21-A64E-4BC2-9CAA-B42AD05DA430@free.fr> <1277951855676-2274548.post@n4.nabble.com> <72A576FD-2764-435E-BA80-BB88A1B5E1F9@free.fr> <756530765.20100701151440@ahsoftware.net> <1278071195195-2276336.post@n4.nabble.com> Message-ID: Thanks Mark and Alejandro, I will try each one to see if it's one of them best suited to support HTML5/CSS3. If yes, i will report it there ;-) Kind Regards, Pierre Le 2 juil. 2010 ? 13:46, Alejandro Tejada a ?crit : > > Hi Pierre and Mark, > > Looks like there have been many > recent versions of revBrowser DLLs... > > But, Where are the Release notes > for each version? > > Al > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/last-available-version-of-revBrowser-dll-windows-tp2272925p2276336.html > Sent from the Revolution - User mailing list archive at Nabble.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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From lists at mangomultimedia.com Tue Jul 6 10:40:36 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 6 Jul 2010 10:40:36 -0400 Subject: Data Grid Form question - How do I select a field of a certain line or index in a Data Grid Form? In-Reply-To: References: Message-ID: <57C915CD-A49B-4D8F-90C9-DEF373FA0F2D@mangomultimedia.com> On Jul 2, 2010, at 3:13 PM, Josh Mellicker wrote: > Let's say you add a "row" or "record" to a Data Grid, and want to > automatically select the text of a field in that row so the user can > start typing. What is the easiest way to do this? If you are already opening the field editor then this lesson shows you how to select the text in the editor when it opens: http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/10102-How-Can-I-Select-The-Text-in-the-Edit-Field-When-It-Opens- Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From jacque at hyperactivesw.com Tue Jul 6 10:46:22 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 06 Jul 2010 09:46:22 -0500 Subject: Build settings for Mac OSX In-Reply-To: <4C32BDE9.5040004@fourthworld.com> References: <4C32BDE9.5040004@fourthworld.com> Message-ID: <4C3341BE.9000201@hyperactivesw.com> Richard Gaskin wrote: > stephen barncard wrote: > >> In the early 90s I registered a creator code "BARN" and a document code >> "rtfd" >> >> I know the document codes are not registered anymore (and Apple uses >> *rtfd*now). But my question is : Do I own my creator code forever? > > As forever as your memory allows: creator codes were hotly contested > within Apple when the NeXT team took over, marked for deprecation a few > years later, and no longer supported as of Snow Leopard. They're sort of supported. If there is no other way to determine the owner of the file, the creator code will be used if there is one. It's the last choice though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Jul 6 10:50:35 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 06 Jul 2010 09:50:35 -0500 Subject: Problem saving files In-Reply-To: References: Message-ID: <4C3342BB.6090604@hyperactivesw.com> David C. wrote: > I'm using filter so that the user will see only the files with like > extensions, but I've tried it without the filtering as well, with no > luck. I think the heart of the issue is that when asked if the user > wants to overwrite a file and they affirm that they do... > > ..the file *should* be overwritten instead of duplicating the name > with a doubled up extension. I think Sarah's right, your code isn't checking to see if the file already has the same extension. Add this to your "save" handler after you get the user's file name: put ".ext" into tExtension -- use yours set the itemDelimiter to "." if last item of tFileName <> tExtension then put tExension after tFilename Now you shouldn't get duplicate extensions and if the file exists it will be overwritten. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Tue Jul 6 11:14:16 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 06 Jul 2010 08:14:16 -0700 Subject: Build settings for Mac OSX Message-ID: <4C334848.6060005@fourthworld.com> J. Landman Gay wrote: > Richard Gaskin wrote: >> stephen barncard wrote: >> >>> In the early 90s I registered a creator code "BARN" and a document code >>> "rtfd" >>> >>> I know the document codes are not registered anymore (and Apple uses >>> *rtfd*now). But my question is : Do I own my creator code forever? >> >> As forever as your memory allows: creator codes were hotly contested >> within Apple when the NeXT team took over, marked for deprecation a few >> years later, and no longer supported as of Snow Leopard. > > They're sort of supported. If there is no other way to determine the > owner of the file, the creator code will be used if there is one. It's > the last choice though. True, worth noting for files that have no extension. But a drag for a few end-users. Here's my favorite example: Fireworks uses PNG files as their native format, storing the vector info in an unused portion of the file while keeping a rasterized copy in the normal image data portion of the file. In the olden days (read "before Snow Leopard") my Fireworks-created PNGs would open Fireworks when double-clicked, but PNGs created by other programs would launch those other programs. This let me have my FW PNGs work seamlessly with FW, while leaving everything else set to work seamlessly with the apps that created them. But under Snow Leopard, the seams are showing: by default all PNGs open with Preview, and in Get Info I was able to change that so that all PNGs open with FW. An improvement, but ideally I'd prefer to have only files made with FW launch FW and leave others alone. I can do that file-by-file, but that's not much of an improvement. :( Four bytes is such a small amount of metadata that I'm not sure what the problem was in maintaining creator codes, beyond the ego value of the NeXT team being able to push the older Mac team around (oh what a controversy this was on the Apple HI Dev list; they pulled the list offline for more than a year as the only way to stop the bickering). I suspect we're due for another sweeping OS revision, on the order of the Classic->OS X transition or the move from PPC->Intel, but this time involving file systems. ("Backward compatibility? What's that?"- Apple). I wouldn't mind so much if the move were to adopt the Linux file system (rumors that it would be the Sun file system died about a year before that platform did), removing one more arbitrary distinction between Mac and other platforms. But I guess we'll see what the removal of creator codes is for somewhere down the road.... -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From davidocoker at gmail.com Tue Jul 6 11:17:47 2010 From: davidocoker at gmail.com (David C.) Date: Tue, 6 Jul 2010 10:17:47 -0500 Subject: Problem saving files In-Reply-To: <4C3342BB.6090604@hyperactivesw.com> References: <4C3342BB.6090604@hyperactivesw.com> Message-ID: > I think Sarah's right, your code isn't checking to see if the file already > has the same extension. Add this to your "save" handler after you get the > user's file name: > > put ".ext" into tExtension -- use yours > set the itemDelimiter to "." > if last item of tFileName <> tExtension > then put tExension after tFilename > > Now you shouldn't get duplicate extensions and if the file exists it will be > overwritten. > > -- > Jacqueline Landman Gay Since it correctly prompts about the file replacement, I really thought that it would be handled accordingly by the Rev engine... live and learn as they say. :) I really appreciate the help folks and will give it a go as soon as I'm back on the project this afternoon.. Best regards, David C. From davidocoker at gmail.com Tue Jul 6 11:32:10 2010 From: davidocoker at gmail.com (David C.) Date: Tue, 6 Jul 2010 10:32:10 -0500 Subject: Problem saving files In-Reply-To: <4C3342BB.6090604@hyperactivesw.com> References: <4C3342BB.6090604@hyperactivesw.com> Message-ID: BTW Jacque, This is the project we briefly discussed consultation options for, off list. I basically did an almost full re-write, greatly simplified the user interface, found the offending code that was slowing the performance and gained between 300-400 percent in the speed department. I'm a really happy camper now. :) Best regards, David C. From ambassador at fourthworld.com Tue Jul 6 11:37:59 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 06 Jul 2010 08:37:59 -0700 Subject: Problem saving files Message-ID: <4C334DD7.7030000@fourthworld.com> David C. wrote: >> I think Sarah's right, your code isn't checking to see if the file already >> has the same extension. Add this to your "save" handler after you get the >> user's file name: >> >> put ".ext" into tExtension -- use yours >> set the itemDelimiter to "." >> if last item of tFileName <> tExtension >> then put tExension after tFilename >> >> Now you shouldn't get duplicate extensions and if the file exists it will be >> overwritten. >> -- >> Jacqueline Landman Gay > > Since it correctly prompts about the file replacement, I really > thought that it would be handled accordingly by the Rev engine... live > and learn as they say. :) I just ran a test and was unable to reproduce the prompt: I used "ask file whatever", and in the OS putfile dialog I typed the name of an existing file but without the extension. The dialog did not prompt that this was a duplicate name. I also tried a different extension, with the same result. The only time I could get the OS dialog to report that the file name was the same as an existing file was when I included the file extension matching the existing file. This is consistent with Rev's behavior too, since it will only overwrite the file if the complete name of the file is an exact match of an existing one. Do you have a recipe for getting the OS dialog to report a duplicate name when the extension is different? Which OS are you using? -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From josh at dvcreators.net Tue Jul 6 11:40:43 2010 From: josh at dvcreators.net (Josh Mellicker) Date: Tue, 6 Jul 2010 08:40:43 -0700 Subject: Data Grid Form question - How do I select a field of a certain line or index in a Data Grid Form? In-Reply-To: <57C915CD-A49B-4D8F-90C9-DEF373FA0F2D@mangomultimedia.com> References: <57C915CD-A49B-4D8F-90C9-DEF373FA0F2D@mangomultimedia.com> Message-ID: I thought the field editor only applied to tables, not forms? On Jul 6, 2010, at 7:40 AM, Trevor DeVore wrote: > On Jul 2, 2010, at 3:13 PM, Josh Mellicker wrote: > >> Let's say you add a "row" or "record" to a Data Grid, and want to automatically select the text of a field in that row so the user can start typing. What is the easiest way to do this? > > If you are already opening the field editor then this lesson shows you how to select the text in the editor when it opens: > > http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/10102-How-Can-I-Select-The-Text-in-the-Edit-Field-When-It-Opens- > > Regards, > > -- > Trevor DeVore > Blue Mango Learning Systems > www.bluemangolearning.com - www.screensteps.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 davidocoker at gmail.com Tue Jul 6 11:49:52 2010 From: davidocoker at gmail.com (David C.) Date: Tue, 6 Jul 2010 10:49:52 -0500 Subject: Problem saving files In-Reply-To: <4C334DD7.7030000@fourthworld.com> References: <4C334DD7.7030000@fourthworld.com> Message-ID: > I just ran a test and was unable to reproduce the prompt: > > I used "ask file whatever", and in the OS putfile dialog I typed the name of > an existing file but without the extension. ?The dialog did not prompt that > this was a duplicate name. ? I also tried a different extension, with the > same result. > > The only time I could get the OS dialog to report that the file name was the > same as an existing file was when I included the file extension matching the > existing file. > > This is consistent with Rev's behavior too, since it will only overwrite the > file if the complete name of the file is an exact match of an existing one. > > Do you have a recipe for getting the OS dialog to report a duplicate name > when the extension is different? ?Which OS are you using? > > -- > ?Richard Gaskin Hi Richard, I'm using the code exactly as was shown in my original post, with the exception of the actual filename and extension which I made more generic for the sake of example. Here is the code again as well: on SaveTheFile ask file "Save project as:" with filter "MYFL file,*.myfl" if it <> "" then put it into tfile put fld "save list" into tFiletoSave put tFileToSave into url ("file:" & tfile & ".myfl") else exit to top end if end SaveTheFile I'm running Windows 7 Home Premium with admin privileges and the UAC turned on. Best regards, David C. From lists at mangomultimedia.com Tue Jul 6 11:51:24 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 6 Jul 2010 11:51:24 -0400 Subject: Data Grid Form question - How do I select a field of a certain line or index in a Data Grid Form? In-Reply-To: References: <57C915CD-A49B-4D8F-90C9-DEF373FA0F2D@mangomultimedia.com> Message-ID: On Jul 6, 2010, at 11:40 AM, Josh Mellicker wrote: > I thought the field editor only applied to tables, not forms? You can use it with both. It is just built-in with the table. The lesson you left a comment on yesterday actually explains how to use it with a form: http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7336-How-Can-The-User-Edit-Field-Content-in-a-Data-Grid-Form- Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From lfredricks at proactive-intl.com Tue Jul 6 11:52:08 2010 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue, 6 Jul 2010 08:52:08 -0700 Subject: Audio Plugin Update; Franklin 3D Mailing List Message-ID: <9873F9CAAFDF451CA5E4E344072D4FF2@GATEWAY> Hello all, Just a quick update on the audio plugin - we've picked out a set of libraries and the developers (we have two assigned to this project) are making sure the libraries are good enough for, at a minimum, Windows and Mac OS X. I think also Linux is a possibility but its still a bit early. The licensing will be about what you expect - unlimited deployment, X # of months of updates. There should be a mailing list going up soon too for it, just like we set one up for Franklin 3D (yesterday). The Franklin 3D list is here and you can subscribe to it the usual way: http://franklin3d.com/cgi-bin/mailman/listinfo/developers Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From ambassador at fourthworld.com Tue Jul 6 11:55:14 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 06 Jul 2010 08:55:14 -0700 Subject: Problem saving files Message-ID: <4C3351E2.4000406@fourthworld.com> David C. wrote: >> I just ran a test and was unable to reproduce the prompt: >> >> I used "ask file whatever", and in the OS putfile dialog I typed the name of >> an existing file but without the extension. The dialog did not prompt that >> this was a duplicate name. I also tried a different extension, with the >> same result. >> >> The only time I could get the OS dialog to report that the file name was the >> same as an existing file was when I included the file extension matching the >> existing file. >> >> This is consistent with Rev's behavior too, since it will only overwrite the >> file if the complete name of the file is an exact match of an existing one. >> >> Do you have a recipe for getting the OS dialog to report a duplicate name >> when the extension is different? Which OS are you using? >> -- >> Richard Gaskin > > Hi Richard, > I'm using the code exactly as was shown in my original post, with the > exception of the actual filename and extension which I made more > generic for the sake of example. Here is the code again as well: > > on SaveTheFile > ask file "Save project as:" with filter "MYFL file,*.myfl" > if it <> "" then > put it into tfile > put fld "save list" into tFiletoSave > put tFileToSave into url ("file:" & tfile & ".myfl") > else > exit to top > end if > end SaveTheFile > > I'm running Windows 7 Home Premium with admin privileges and the UAC turned on. Ah, I was testing on Mac. I'm not at my Win box so I won't be able to confirm there, but I suspect this is a bug/feature in Windows. Whether it's a bug or a feature depends on one's point of view; IMO it should only warn of an overwrite with an exact match, but there may be a valid reason why the OS is using a more loose definition. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From davidocoker at gmail.com Tue Jul 6 11:56:47 2010 From: davidocoker at gmail.com (David C.) Date: Tue, 6 Jul 2010 10:56:47 -0500 Subject: Problem saving files In-Reply-To: References: <4C334DD7.7030000@fourthworld.com> Message-ID: On Tue, Jul 6, 2010 at 10:49 AM, David C. wrote: >> I just ran a test and was unable to reproduce the prompt: >> >> I used "ask file whatever", and in the OS putfile dialog I typed the name of >> an existing file but without the extension. ?The dialog did not prompt that >> this was a duplicate name. ? I also tried a different extension, with the >> same result. >> >> The only time I could get the OS dialog to report that the file name was the >> same as an existing file was when I included the file extension matching the >> existing file. >> >> This is consistent with Rev's behavior too, since it will only overwrite the >> file if the complete name of the file is an exact match of an existing one. >> >> Do you have a recipe for getting the OS dialog to report a duplicate name >> when the extension is different? ?Which OS are you using? >> >> -- >> ?Richard Gaskin > > Hi Richard, > I'm using the code exactly as was shown in my original post, with the > exception of the actual filename and extension which I made more > generic for the sake of example. Here is the code again as well: > > on SaveTheFile > ?ask file "Save project as:" with filter "MYFL file,*.myfl" > ?if it <> "" then > ? ? put it into tfile > ? ? put fld "save list" into tFiletoSave > ? ? put tFileToSave into url ("file:" & ?tfile & ".myfl") > ?else > ? ? exit to top > ?end if > ?end SaveTheFile > > I'm running Windows 7 Home Premium with admin privileges and the UAC turned on. > > Best regards, > David C. > Richard, After reading your message again I realized that just typing in the filename of an existing file *does not* create the prompt as you described *and* does overwrite the file without duplicating the extension. However, if I select the file using the mouse, I then get the prompt with the file duplication and doubled up extension. Sorry for not paying closer attention to your message. Best regards, David C. From rene.micout at numericable.com Tue Jul 6 12:18:32 2010 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Tue, 6 Jul 2010 18:18:32 +0200 Subject: Audio Plugin Update; Franklin 3D Mailing List In-Reply-To: <9873F9CAAFDF451CA5E4E344072D4FF2@GATEWAY> References: <9873F9CAAFDF451CA5E4E344072D4FF2@GATEWAY> Message-ID: <6819C13B-28E7-4661-9B74-205D9AB1F138@numericable.com> I look forward... J'attends avec impatience Bon souvenir de Paris Ren? Le 6 juil. 2010 ? 17:52, Lynn Fredricks a ?crit : > Hello all, > > Just a quick update on the audio plugin - we've picked out a set of > libraries and the developers (we have two assigned to this project) are > making sure the libraries are good enough for, at a minimum, Windows and Mac > OS X. I think also Linux is a possibility but its still a bit early. > > The licensing will be about what you expect - unlimited deployment, X # of > months of updates. > > There should be a mailing list going up soon too for it, just like we set > one up for Franklin 3D (yesterday). > > The Franklin 3D list is here and you can subscribe to it the usual way: > http://franklin3d.com/cgi-bin/mailman/listinfo/developers > > Best regards, > > Lynn Fredricks > President > Paradigma Software > http://www.paradigmasoft.com > > Valentina SQL Server: The Ultra-fast, Royalty Free Database Server > > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Tue Jul 6 12:45:59 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 6 Jul 2010 09:45:59 -0700 Subject: Running revlets on the iPad In-Reply-To: <1278093132451-2276755.post@n4.nabble.com> References: <3630C8D1-7FEA-4A26-A4C3-D83B82648D91@sbcglobal.net> <19AE78B8-5DE1-4772-A021-2C9D9F08B1D2@verizon.net> <4C2B8B7F.2050301@gmail.com> <1277951721525-2274547.post@n4.nabble.com> <4C2DDB11.4060408@harbourhosting.co.uk> <1278078783678-2276466.post@n4.nabble.com> <41895599-14AA-49BB-909D-F55490B7A037@twft.com> <1278093132451-2276755.post@n4.nabble.com> Message-ID: <0EA98BE1-FBEB-4822-94B7-663017C6053F@twft.com> Ooooh. My new iChat icon!! Bob On Jul 2, 2010, at 10:52 AM, Alejandro Tejada wrote: > > Hi Bob, > > > Bob Sneidar-2 wrote: >> >> None of this applies to me either. I am a very gifted and well trained >> Chimpanzee. >> > > http://www.awrsd.org/oak/teched/computer-monkey-210.jpg > ROTFL :-D > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Running-revlets-on-the-iPad-tp2273949p2276755.html > Sent from the Revolution - User mailing list archive at Nabble.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 Tue Jul 6 12:47:44 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 06 Jul 2010 11:47:44 -0500 Subject: Build settings for Mac OSX In-Reply-To: <4C334848.6060005@fourthworld.com> References: <4C334848.6060005@fourthworld.com> Message-ID: <4C335E30.2030607@hyperactivesw.com> Richard Gaskin wrote: > I wouldn't mind so much if the move were to adopt the Linux file system > (rumors that it would be the Sun file system died about a year before > that platform did), removing one more arbitrary distinction between Mac > and other platforms. But I guess we'll see what the removal of creator > codes is for somewhere down the road.... I think the rationale is explained pretty well at the link I mentioned: Apparently they were running out of creator code combinations, and it was too limited to support some of the more advanced file management Apple wants to implement: "However, Apple didn't schedule a deprecation of Creator Codes just for fun, or just to be lazy, or just to fit in with lowest common denominator operating systems. Type and Creator Codes simply weren't good enough to support new OS features Apple had on the drawing board. Rather than trying to get by with doing less, Apple was set on doing more, and Creator Codes weren't up to the task." -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Jul 6 12:56:41 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 06 Jul 2010 11:56:41 -0500 Subject: Problem saving files In-Reply-To: References: <4C3342BB.6090604@hyperactivesw.com> Message-ID: <4C336049.2090302@hyperactivesw.com> David C. wrote: > BTW Jacque, > This is the project we briefly discussed consultation options for, off > list. I basically did an almost full re-write, greatly simplified the > user interface, found the offending code that was slowing the > performance and gained between 300-400 percent in the speed > department. > > I'm a really happy camper now. :) Great! It's always better when you do it yourself. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Tue Jul 6 13:17:00 2010 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 06 Jul 2010 20:17:00 +0300 Subject: Build settings for Mac OSX In-Reply-To: <4C335E30.2030607@hyperactivesw.com> References: <4C334848.6060005@fourthworld.com> <4C335E30.2030607@hyperactivesw.com> Message-ID: <4C33650C.3060304@gmail.com> On 07/06/2010 07:47 PM, J. Landman Gay wrote: > Richard Gaskin wrote: > >> I wouldn't mind so much if the move were to adopt the Linux file >> system (rumors that it would be the Sun file system died about a year >> before that platform did), removing one more arbitrary distinction >> between Mac and other platforms. But I guess we'll see what the >> removal of creator codes is for somewhere down the road.... > > I think the rationale is explained pretty well at the link I mentioned: > > > > Apparently they were running out of creator code combinations, and it > was too limited to support some of the more advanced file management > Apple wants to implement: > > "However, Apple didn't schedule a deprecation of Creator Codes just > for fun, or just to be lazy, or just to fit in with lowest common > denominator operating systems. Type and Creator Codes simply weren't > good enough to support new OS features Apple had on the drawing board. > Rather than trying to get by with doing less, Apple was set on doing > more, and Creator Codes weren't up to the task." > This is all rather like the Y2K problem, the IP address problem and the internet domain problem. Nobody can see exactly how things will pan out in the future. And, because of the above, the rationales that are usually dished up when the system begins to creak at the joints are usually specious. Way back when I remember an article in MacAddict that stated that Apple were to continue developing Mac OS 9 as well as launching a completely new type of OS (what morphed into OS X); of course what happened was that Mac OS 9 went down the toilet of history (or expediency ???); Mac OS X was launched (remember the truly awful Mac OS X beta ????) and then the GUI was 'refined' to increasingly resemble aspects of the Mac OS 9 GUI (such as having Media and icons on a desktop). As I was moving from the UAE to Scotland while this went on I don't know what 'words of wisdom' were trotted out to justify that Apple had actually renaged on their own words: but I am sure that mostly they were a pack of half-truths spiced up with some 'sexy' buzz-words. No, I'm sure "Apple didn't schedule a deprecation of Creator Codes just for fun, or just to be lazy, or just to fit in with lowest common denominator operating systems."; they probably had to deprecate them because they were up against their elastic limit; or, put it another way; Apple were unable to foresee umwhiles what was going to happen latterly. From richmondmathewson at gmail.com Tue Jul 6 13:18:05 2010 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 06 Jul 2010 20:18:05 +0300 Subject: Problem saving files In-Reply-To: <4C336049.2090302@hyperactivesw.com> References: <4C3342BB.6090604@hyperactivesw.com> <4C336049.2090302@hyperactivesw.com> Message-ID: <4C33654D.2070105@gmail.com> On 07/06/2010 07:56 PM, J. Landman Gay wrote: > David C. wrote: >> BTW Jacque, >> This is the project we briefly discussed consultation options for, off >> list. I basically did an almost full re-write, greatly simplified the >> user interface, found the offending code that was slowing the >> performance and gained between 300-400 percent in the speed >> department. >> >> I'm a really happy camper now. :) > > Great! It's always better when you do it yourself. :) > I didn't know that camp people did it by themselves . . . :) From jacque at hyperactivesw.com Tue Jul 6 13:22:53 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 06 Jul 2010 12:22:53 -0500 Subject: Build settings for Mac OSX In-Reply-To: <4C33650C.3060304@gmail.com> References: <4C334848.6060005@fourthworld.com> <4C335E30.2030607@hyperactivesw.com> <4C33650C.3060304@gmail.com> Message-ID: <4C33666D.8030106@hyperactivesw.com> Richmond wrote: > No, I'm sure "Apple didn't schedule a deprecation of Creator Codes just > for fun, or just to be lazy, or just to fit in with lowest common > denominator operating systems."; they probably had to deprecate them > because they were up > against their elastic limit; or, put it another way; Apple were unable > to foresee umwhiles what was going to happen > latterly. Well, to be fair, the creator/type codes were introduced almost 30 years ago. To forsee something 30 years into the future, especially in technology, would be a pretty good trick. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Tue Jul 6 13:25:47 2010 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 06 Jul 2010 20:25:47 +0300 Subject: Devawriter Pro In-Reply-To: <4C2E2128.2000507@gmail.com> References: <4C2E2128.2000507@gmail.com> Message-ID: <4C33671B.6080000@gmail.com> On 07/02/2010 08:26 PM, Richmond wrote: Gosh, there's that professorship in Sanskrit poetry at the University of Vaikuntha just coming up; wouldn't your Mum be proud! 'Tis Devawriter Pro Demo 3 folks . . . :) With new, improved Tilaka. And for those of you who are getting "FFFed off" the use of function keys 'F2' and 'F3' for toggling between consonants and vowels has been replaced by a bidirectional TAB key. All owing to the good offices of Sivakatirswami. An export-crippled Demo version of my first release candidate is available here: http://andregarzia.on-rev.com/richmond/dwriterpro.html go, get it, and get typing; before you know it you'll bag that professorship. sincerely, Richmond Mathewson. From richmondmathewson at gmail.com Tue Jul 6 13:26:48 2010 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 06 Jul 2010 20:26:48 +0300 Subject: Build settings for Mac OSX In-Reply-To: <4C33666D.8030106@hyperactivesw.com> References: <4C334848.6060005@fourthworld.com> <4C335E30.2030607@hyperactivesw.com> <4C33650C.3060304@gmail.com> <4C33666D.8030106@hyperactivesw.com> Message-ID: <4C336758.9050606@gmail.com> On 07/06/2010 08:22 PM, J. Landman Gay wrote: > Richmond wrote: > >> No, I'm sure "Apple didn't schedule a deprecation of Creator Codes >> just for fun, or just to be lazy, or just to fit in with lowest >> common denominator operating systems."; they probably had to >> deprecate them because they were up >> against their elastic limit; or, put it another way; Apple were >> unable to foresee umwhiles what was going to happen >> latterly. > > Well, to be fair, the creator/type codes were introduced almost 30 > years ago. To forsee something 30 years into the future, especially in > technology, would be a pretty good trick. > Exactly; and it gave me the excuse I've been looking for to use 'umwhiles' . . . :) From st.king42 at ntlworld.com Tue Jul 6 13:29:04 2010 From: st.king42 at ntlworld.com (Steve King) Date: Tue, 6 Jul 2010 18:29:04 +0100 Subject: Build settings for Mac OSX In-Reply-To: <20100706170004.95F41288272@mail.runrev.com> References: <20100706170004.95F41288272@mail.runrev.com> Message-ID: <715C373C0495449688E54B6A4D233B2C@Home> Hi Jacqueline Many thanks, brilliant answer, I can understand why it may have taken a little while. Best regards Cheers Steve From jacque at hyperactivesw.com Tue Jul 6 13:46:00 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 06 Jul 2010 12:46:00 -0500 Subject: Build settings for Mac OSX In-Reply-To: <4C336758.9050606@gmail.com> References: <4C334848.6060005@fourthworld.com> <4C335E30.2030607@hyperactivesw.com> <4C33650C.3060304@gmail.com> <4C33666D.8030106@hyperactivesw.com> <4C336758.9050606@gmail.com> Message-ID: <4C336BD8.5020701@hyperactivesw.com> Richmond wrote: >> Well, to be fair, the creator/type codes were introduced almost 30 >> years ago. To forsee something 30 years into the future, especially in >> technology, would be a pretty good trick. >> > > Exactly; and it gave me the excuse I've been looking for to use > 'umwhiles' . . . :) I had to look it up, I thought it was a typo. You Scotts... -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Tue Jul 6 14:27:36 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 06 Jul 2010 11:27:36 -0700 Subject: Build settings for Mac OSX Message-ID: <4C337598.9020601@fourthworld.com> J. Landman Gay wrote: > Richard Gaskin wrote: > >> I wouldn't mind so much if the move were to adopt the Linux file system >> (rumors that it would be the Sun file system died about a year before >> that platform did), removing one more arbitrary distinction between Mac >> and other platforms. But I guess we'll see what the removal of creator >> codes is for somewhere down the road.... > > I think the rationale is explained pretty well at the link I mentioned: > > > Apparently they were running out of creator code combinations, and it > was too limited to support some of the more advanced file management > Apple wants to implement: > > "However, Apple didn't schedule a deprecation of Creator Codes just for > fun, or just to be lazy, or just to fit in with lowest common > denominator operating systems. Type and Creator Codes simply weren't > good enough to support new OS features Apple had on the drawing board. > Rather than trying to get by with doing less, Apple was set on doing > more, and Creator Codes weren't up to the task." Thanks for the link, Jacque. I figured there was a good reason for it, and like I said we'll have to wait and see what they mean by "new OS features Apple had on the drawing board". Ars Technica provides a lot of good background on this too: The irony with the current state of things is that it's ostensibly to provide more capabilities, but at the moment provides fewer. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From ambassador at fourthworld.com Tue Jul 6 15:02:38 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 06 Jul 2010 12:02:38 -0700 Subject: Problem saving files Message-ID: <4C337DCE.3@fourthworld.com> David C. wrote: >> Hi Richard, >> I'm using the code exactly as was shown in my original post, with the >> exception of the actual filename and extension which I made more >> generic for the sake of example. Here is the code again as well: >> >> on SaveTheFile >> ask file "Save project as:" with filter "MYFL file,*.myfl" >> if it <> "" then >> put it into tfile >> put fld "save list" into tFiletoSave >> put tFileToSave into url ("file:" & tfile & ".myfl") >> else >> exit to top >> end if >> end SaveTheFile >> >> I'm running Windows 7 Home Premium with admin privileges and the UAC turned on. >> >> Best regards, >> David C. >> > > Richard, > After reading your message again I realized that just typing in the > filename of an existing file *does not* create the prompt as you > described *and* does overwrite the file without duplicating the > extension. However, if I select the file using the mouse, I then get > the prompt with the file duplication and doubled up extension. > > Sorry for not paying closer attention to your message. Thanks for following up on that. It seems like maybe you've found a bug in either Rev or Windows, possibly caused by using the default Win settings of hiding file name extensions. If you have file name extensions hidden and select an item in the putfile dialog, it may reflect that setting by keeping it hidden from view but it's still there, giving rise to the prompt about the duplicate file name. If everything was working as expected, the string you get back would include a file name extension even if it's hidden from the user's view, so your program would be able to know exactly which file to write to. If the Windows API is returning the string to Rev without the extension even though it's present, that would be a bug in Windows. But if there's an API for returning the actual name and Rev is either using it incorrectly or using a less diligent API, that would be a bug in Rev. Either way, it may be worth a moment to file a bug report on it: Thanks for turning that up. Good find. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From davidocoker at gmail.com Tue Jul 6 15:23:45 2010 From: davidocoker at gmail.com (David C.) Date: Tue, 6 Jul 2010 14:23:45 -0500 Subject: Problem saving files In-Reply-To: <4C337DCE.3@fourthworld.com> References: <4C337DCE.3@fourthworld.com> Message-ID: > It seems like maybe you've found a bug in either Rev or Windows, > possibly caused by using the default Win settings of > hiding file name extensions. On my system, I have it set where it does not hide file name extensions.. except for the hidden system files of course. > If you have file name extensions hidden and select an item in the putfile > dialog, it may reflect that setting by keeping it hidden from view but it's > still there, giving rise to the prompt about the duplicate file name. > > If everything was working as expected, the string you get back would include > a file name extension even if it's hidden from the user's view, so your > program would be able to know exactly which file to write to. > > If the Windows API is returning the string to Rev without the extension even > though it's present, that would be a bug in Windows. ?But if there's an API > for returning the actual name and Rev is either using it incorrectly or > using a less diligent API, that would be a bug in Rev. The inconsistency between typing or selecting with a mouse is what was throwing me for such a loop... of course it didn't help that I was too tired (brain dead) to keep track of all of the code varieties that I tried. :( Still haven't had a chance to try Jacque's work around yet, but I'm confident that she has me out of seep water. > Either way, it may be worth a moment to file a bug report on it: > > > > Thanks for turning that up. ?Good find. Will do on the bug report... ...first one I have personally ever run across using Rev, having used it to one degree or another for almost five years now. The "degrees of use" though has changed quite a lot though, since I have seldom used anything but Rev over the last couple of years. Best regards, David C. From zryip.theslug at gmail.com Tue Jul 6 15:27:56 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Tue, 6 Jul 2010 21:27:56 +0200 Subject: [Data Grid] Infinite loop with DG Table Message-ID: Dear List and especially DG users, Could someone confirm this infinite loop: 1) Save your current work 2) Create a DG Table in a stack 3) Create 2 or 3 columns 4) Add 3 lines in the content tab of your DG 5) Open your "message watcher" 6) With the mouse, set your DG height to show only 1 or 2 lines 7) In the columns tab, hide all the columns What's happens for you in the message watcher? Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From pmbrig at gmail.com Tue Jul 6 17:31:03 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Tue, 6 Jul 2010 17:31:03 -0400 Subject: Problem saving files In-Reply-To: <4C3342BB.6090604@hyperactivesw.com> References: <4C3342BB.6090604@hyperactivesw.com> Message-ID: <9852D749-A366-466B-808A-924B8B76938E@gmail.com> On Jul 6, 2010, at 10:50 AM, J. Landman Gay wrote: > put ".ext" into tExtension -- use yours > set the itemDelimiter to "." > if last item of tFileName <> tExtension > then put tExension after tFilename A minor correction: the last item of tFileName in this snippet will be something like "ext" -- not ".ext". So you should do something like the following: put "ext" into tExtension -- use yours -- note the absence of the dot set the itemDelimiter to "." if the number of items of tFileName = 1 then -- no extension provided by user put "." & tExtension after tFilename else -- extension provided if item -1 of tFileName <> tExtension then -- wrong extension put tExtension into item -1 of tFilename end if end if -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From jacque at hyperactivesw.com Tue Jul 6 18:11:50 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 06 Jul 2010 17:11:50 -0500 Subject: Problem saving files In-Reply-To: <9852D749-A366-466B-808A-924B8B76938E@gmail.com> References: <4C3342BB.6090604@hyperactivesw.com> <9852D749-A366-466B-808A-924B8B76938E@gmail.com> Message-ID: <4C33AA26.4080305@hyperactivesw.com> Peter Brigham MD wrote: > On Jul 6, 2010, at 10:50 AM, J. Landman Gay wrote: > >> put ".ext" into tExtension -- use yours >> set the itemDelimiter to "." >> if last item of tFileName <> tExtension >> then put tExension after tFilename > > A minor correction: the last item of tFileName in this snippet will be > something like "ext" -- not ".ext". So you should do something like the > following: > > put "ext" into tExtension -- use yours > -- note the absence of the dot > set the itemDelimiter to "." > if the number of items of tFileName = 1 then > -- no extension provided by user > put "." & tExtension after tFilename > else -- extension provided > if item -1 of tFileName <> tExtension then > -- wrong extension > put tExtension into item -1 of tFilename > end if > end if Oops. You're absolutely correct. Wasn't thinking. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Jul 6 18:16:57 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 06 Jul 2010 17:16:57 -0500 Subject: Problem saving files In-Reply-To: References: <4C337DCE.3@fourthworld.com> Message-ID: <4C33AB59.40906@hyperactivesw.com> David C. wrote: > > Will do on the bug report... Before you submit a report, could you do a test? I don't have Win7 to test on, but we should make sure it's really excluding the extension. Try something like this from the multi-line pane in the message box: ask file "Choose a file:" put it When you select a file, use your click method to choose it. Then see if the extension is in the file path that appears in the message box. If it is, I don't think Rev's misbehaving. If it isn't, then Richard's on to something and there's a problem. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From davidocoker at gmail.com Tue Jul 6 19:20:42 2010 From: davidocoker at gmail.com (David C.) Date: Tue, 6 Jul 2010 18:20:42 -0500 Subject: Problem saving files In-Reply-To: <4C33AB59.40906@hyperactivesw.com> References: <4C337DCE.3@fourthworld.com> <4C33AB59.40906@hyperactivesw.com> Message-ID: > Before you submit a report, could you do a test? I don't have Win7 to test > on, but we should make sure it's really excluding the extension. > > Try something like this from the multi-line pane in the message box: > > ?ask file "Choose a file:" > ?put it > > When you select a file, use your click method to choose it. Then see if the > extension is in the file path that appears in the message box. If it is, I > don't think Rev's misbehaving. If it isn't, then Richard's on to something > and there's a problem. Jacque, As requested I entered your code in the message box.. It popped up the file dialog as expected and when I selected an existing file using the mouse, it gave me the "replace file?" prompt, then returned the following in the message box: C:/Users/david/Desktop/sample project/testme.txt Which is correct for the file chosen. Still running behind and haven't had a chance to try the code you and Peter cooked up. (Thanks Peter) Best regards, David C. From alex at tweedly.net Tue Jul 6 19:23:12 2010 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 07 Jul 2010 00:23:12 +0100 Subject: Having strange problem with the 'clone' command Message-ID: <4C33BAE0.1070800@tweedly.net> I'm just trying to create a simple array of rectangles ..... I've created one (called, with great imagination :), "R1") which has all the correct characteristics, including a width and height of 8 But when I clone it to create my other shapes, the widths and heights all come out to 120 instead of 8. I can fix this up (as I do in the following code), but I don't understand why that would be necessary (or what other properties might be different from what I expect). > repeat with y = 0 to 5 > repeat with x = 0 to 4 > put "_h01_" & x & y into tName > clone grc "R1" > set the name of it to tName > put the width of grc tName && the width of grc "R1" & CR > after field "F" > set the loc of grc tName to 100 + 20*x, 150 + 20*y > set the width of grc tName to 8 > set the height of grc tName to 8 > set the visible of grc tName to true > put the width of grc tName && the width of grc "R1" & CR > after field "F" > put "grc" && quote & tName & quote && "and" & space after > tGroupList > end repeat > end repeat > what shows up in the field is > 120 8 > 8 8 > 120 8 > 8 8 > 120 8 > 8 8 > 120 8 > 8 8 > etc. I tried to create a tiny sample stack to show the problem, and initially succeeded, but at some point as I tried minor variations, it started working - and now I can't get it to fail again. The time it started working was when I changed clone invisible grc "R1" to simply clone grc "R1" but changing that back didn't cause the problem to recur. Any ideas ? Thanks -- Alex. From jmyepes at mac.com Tue Jul 6 19:46:24 2010 From: jmyepes at mac.com (JosepM) Date: Tue, 6 Jul 2010 16:46:24 -0700 (PDT) Subject: What about the new language from Apple? Message-ID: <1278459984471-2280329.post@n4.nabble.com> Hi, I read some post about a new language that will be replace the Objective-c called xLang. Any idea? This can affect the next releases of Rev? http://9to5mac.com/node/19165 We?re leaving this one open to the floor for comment, but would like to note that operating systems must also grow, and development environments must continue to re-invent themselves as rationale to give this one air time, but there's a rumor Apple's developing a new dev language to succeed Objective-C... DF reports via Michael Tsai one Jesper, who writes: ?After watching the eminently early and freely available WWDC 2010 session videos, I think my scales have finally tipped. It is my belief that Apple is definitely working on a new language to surpass Objective-C as their intended, primary, publicly recommended programming language, which I will call ?xlang?.? Clang, according to Wikipedia, is a compiler front end for the C, C++, and Objective-C programming languages. It uses the Low Level Virtual Machine (LLVM) as its back end. Its goal is to offer a replacement to the GNU Compiler Collection (GCC). Development is sponsored by Apple, and the source code is licensed using a BSD-like open-source license. This could be part of the company?s plans as developers seem to be beginning to wax lyrical on how Objective-C may need tweaking. Your thoughts? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/What-about-the-new-language-from-Apple-tp2280329p2280329.html Sent from the Revolution - User mailing list archive at Nabble.com. From runrevplanet at smpcs.server101.com Tue Jul 6 19:53:02 2010 From: runrevplanet at smpcs.server101.com (RunRevPlanet) Date: Wed, 07 Jul 2010 09:53:02 +1000 Subject: Writing Externals in Pascal? In-Reply-To: <20100706170004.95F41288272@mail.runrev.com> References: <20100706170004.95F41288272@mail.runrev.com> Message-ID: <4C33C1DE.1080800@smpcs.server101.com> Peter, Thanks for your tips from using Free Pascal with Rebol. You have confirmed what I though from the Free Pascal Compiler (FPC) documentation, that it should be able to make libraries that are indistinguishable from those made from a C compiler. Now it is more a question of time, as I am busy with some other (paying) projects written in Revolution, and so the FPC Externals SDK really is just a side project to do in those spare(?!) moments. -- Scott McDonald RunRevPlanet.com "Components, Stacks, Tools and Resources for Runtime Revolution" www.runrevplanet.com From stephenREVOLUTION2 at barncard.com Tue Jul 6 20:02:07 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 6 Jul 2010 19:02:07 -0500 Subject: Audio Plugin Update; Franklin 3D Mailing List In-Reply-To: <6819C13B-28E7-4661-9B74-205D9AB1F138@numericable.com> References: <9873F9CAAFDF451CA5E4E344072D4FF2@GATEWAY> <6819C13B-28E7-4661-9B74-205D9AB1F138@numericable.com> Message-ID: Thanks for the update, Lynn. > Just a quick update on the audio plugin - we've picked out a set of > > libraries and the developers (we have two assigned to this project) are > > making sure the libraries are good enough for, at a minimum, Windows and > Mac > > OS X. I think also Linux is a possibility but its still a bit early. > > > -- ------------------------- Stephen Barncard San Francisco From davidocoker at gmail.com Tue Jul 6 20:07:51 2010 From: davidocoker at gmail.com (David C.) Date: Tue, 6 Jul 2010 19:07:51 -0500 Subject: Problem saving files In-Reply-To: <9852D749-A366-466B-808A-924B8B76938E@gmail.com> References: <4C3342BB.6090604@hyperactivesw.com> <9852D749-A366-466B-808A-924B8B76938E@gmail.com> Message-ID: > A minor correction: the last item of tFileName in this snippet will be > something like "ext" -- not ".ext". So you should do something like the > following: > > put "ext" into tExtension -- use yours > -- note the absence of the dot > set the itemDelimiter to "." > if the number of items of tFileName = 1 then > ? -- no extension provided by user > ? put "." & tExtension after tFilename > else -- extension provided > ? if item -1 of tFileName <> tExtension then > ? ? ?-- wrong extension > ? ? ?put tExtension into item -1 of tFilename > ? end if > end if > > -- Peter Okay folks, finally had a chance to try this, but it still doesn't seem to be quite right. Here's my new adjusted code: on SaveTheFile ask file "Save project as:" with filter "MYFL file,*.myfl" if it <> "" then put it into tFileName put "myfl" into tExtension -- use yours -- note the absence of the dot set the itemDelimiter to "." if the number of items of tFileName = 1 then -- no extension provided by user put "." & tExtension after tFilename else -- extension provided if item -1 of tFileName <> tExtension then -- wrong extension put tExtension into item -1 of tFilename end if end if put fld "save list"into tFiletoSave put tFileToSave into url ("file:" & tFileName) else exit to top end if end SaveTheFile I verified that it works as intended when typing in a new file name. It does in fact save the data correctly. Good to go! Next, when selecting an existing file with the mouse, it *does* give me the "replace file" prompt, but *appears* to not overwrite the file at all. (Checking the time-stamp on the file that should have been overwritten, before and after shows that it does not change.) Yet when I open the file to read the content, the changes were in fact made! How weird is that? Does my implementation of the code that Jacque and Peter supplied look okay or maybe I should be looking for something else? Maybe I shouldn't be concerned since it is working sans the time stamp on the file. ????? Best regards, David C. From francois.chaplais at mines-paristech.fr Tue Jul 6 20:28:57 2010 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Wed, 7 Jul 2010 02:28:57 +0200 Subject: What about the new language from Apple? In-Reply-To: <1278459984471-2280329.post@n4.nabble.com> References: <1278459984471-2280329.post@n4.nabble.com> Message-ID: <2F05872E-38ED-4248-A66D-1D09DD93C67D@mines-paristech.fr> a good start is http://arstechnica.com/apple/reviews/2009/08/mac-os-x-10-6.ars/9 If I understand well, its about finer granularity and management of concurrent process. To allow, this, objective-c has be extended with new entities called blocks. Blocks have a very small footprint by comparison to threads, so actually it is easer to program because you use them extensively with almost no worry. Le 7 juil. 2010 ? 01:46, JosepM a ?crit : > > Hi, > > I read some post about a new language that will be replace the Objective-c > called xLang. > > Any idea? This can affect the next releases of Rev? > > http://9to5mac.com/node/19165 > > > We?re leaving this one open to the floor for comment, but would like to note > that operating systems must also grow, and development environments must > continue to re-invent themselves as rationale to give this one air time, but > there's a rumor Apple's developing a new dev language to succeed > Objective-C... > DF reports via Michael Tsai one Jesper, who writes: > > ?After watching the eminently early and freely available WWDC 2010 session > videos, I think my scales have finally tipped. It is my belief that Apple is > definitely working on a new language to surpass Objective-C as their > intended, primary, publicly recommended programming language, which I will > call ?xlang?.? > > Clang, according to Wikipedia, is a compiler front end for the C, C++, and > Objective-C programming languages. It uses the Low Level Virtual Machine > (LLVM) as its back end. Its goal is to offer a replacement to the GNU > Compiler Collection (GCC). Development is sponsored by Apple, and the source > code is licensed using a BSD-like open-source license. > > This could be part of the company?s plans as developers seem to be beginning > to wax lyrical on how Objective-C may need tweaking. > > Your thoughts? > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/What-about-the-new-language-from-Apple-tp2280329p2280329.html > Sent from the Revolution - User mailing list archive at Nabble.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 Tue Jul 6 21:04:57 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 06 Jul 2010 20:04:57 -0500 Subject: Problem saving files In-Reply-To: References: <4C3342BB.6090604@hyperactivesw.com> <9852D749-A366-466B-808A-924B8B76938E@gmail.com> Message-ID: <4C33D2B9.9090500@hyperactivesw.com> > Does my implementation of the code that Jacque and Peter supplied look > okay or maybe I should be looking for something else? Maybe I > shouldn't be concerned since it is working sans the time stamp on the > file. ????? Sounds to me like your script and Rev are behaving fine, but Windows isn't updating the folder data immediately. OS X does that too. You have to close the current folder, open a different one, and then re-open the first to force an update. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Jul 6 21:06:19 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 06 Jul 2010 20:06:19 -0500 Subject: Problem saving files In-Reply-To: References: <4C337DCE.3@fourthworld.com> <4C33AB59.40906@hyperactivesw.com> Message-ID: <4C33D30B.60606@hyperactivesw.com> David C. wrote: > As requested I entered your code in the message box.. > It popped up the file dialog as expected and when I selected an > existing file using the mouse, it gave me the "replace file?" prompt, > then returned the following in the message box: > > C:/Users/david/Desktop/sample project/testme.txt > > Which is correct for the file chosen. Looks like it works okay, I don't see anything bug-worthy. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Jul 6 21:11:09 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 06 Jul 2010 20:11:09 -0500 Subject: Having strange problem with the 'clone' command In-Reply-To: <4C33BAE0.1070800@tweedly.net> References: <4C33BAE0.1070800@tweedly.net> Message-ID: <4C33D42D.2010301@hyperactivesw.com> Alex Tweedly wrote: > > I tried to create a tiny sample stack to show the problem, and initially > succeeded, but at some point as I tried minor variations, it started > working - and now I can't get it to fail again. The time it started > working was when I changed > clone invisible grc "R1" > to simply > clone grc "R1" > but changing that back didn't cause the problem to recur. > > Any ideas ? Yeah. You've entered the Twilight Zone. Too weird. It shouldn't happen. Did you mess with the templategraphic at all? That's the only thing I can think of that might have an impact, even though it isn't supposed to. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Tue Jul 6 22:57:23 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 7 Jul 2010 02:57:23 +0000 Subject: Having strange problem with the 'clone' command In-Reply-To: <4C33BAE0.1070800@tweedly.net> References: <4C33BAE0.1070800@tweedly.net> Message-ID: <1438048914-1278471424-cardhu_decombobulator_blackberry.rim.net-1303991807-@bda2526.bisx.prod.on.blackberry> You probably know you're running into the default object size -- not sure why. Out of curiosity, you might see if the behavior occurs in a standalone, just to see if there's some gremlin in your stack. Also, in addition to the clone command, you could try using the template graphic + the create command. Scott RossiCreative DirectorTactile Media, UX Design -----Original Message----- From: Alex Tweedly Sender: use-revolution-bounces at lists.runrev.com Date: Wed, 07 Jul 2010 00:23:12 To: Revolution Mail List Reply-To: How to use Revolution Subject: Having strange problem with the 'clone' command I'm just trying to create a simple array of rectangles ..... I've created one (called, with great imagination :), "R1") which has all the correct characteristics, including a width and height of 8 But when I clone it to create my other shapes, the widths and heights all come out to 120 instead of 8. I can fix this up (as I do in the following code), but I don't understand why that would be necessary (or what other properties might be different from what I expect). > repeat with y = 0 to 5 > repeat with x = 0 to 4 > put "_h01_" & x & y into tName > clone grc "R1" > set the name of it to tName > put the width of grc tName && the width of grc "R1" & CR > after field "F" > set the loc of grc tName to 100 + 20*x, 150 + 20*y > set the width of grc tName to 8 > set the height of grc tName to 8 > set the visible of grc tName to true > put the width of grc tName && the width of grc "R1" & CR > after field "F" > put "grc" && quote & tName & quote && "and" & space after > tGroupList > end repeat > end repeat > what shows up in the field is > 120 8 > 8 8 > 120 8 > 8 8 > 120 8 > 8 8 > 120 8 > 8 8 > etc. I tried to create a tiny sample stack to show the problem, and initially succeeded, but at some point as I tried minor variations, it started working - and now I can't get it to fail again. The time it started working was when I changed clone invisible grc "R1" to simply clone grc "R1" but changing that back didn't cause the problem to recur. Any ideas ? Thanks -- Alex. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From Andre.Bisseret at inria.fr Wed Jul 7 03:38:13 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Wed, 7 Jul 2010 09:38:13 +0200 Subject: [Data Grid] Infinite loop with DG Table In-Reply-To: References: Message-ID: <60F6C03D-DCEE-4B30-A1F0-62B71AA1AAD7@inria.fr> Le 6 juil. 10 ? 21:27, zryip theSlug a ?crit : > Dear List and especially DG users, > > Could someone confirm this infinite loop: > > 1) Save your current work > 2) Create a DG Table in a stack > 3) Create 2 or 3 columns > 4) Add 3 lines in the content tab of your DG > 5) Open your "message watcher" > 6) With the mouse, set your DG height to show only 1 or 2 lines > 7) In the columns tab, hide all the columns > > What's happens for you in the message watcher? > Bonjour, I confirm that I got an infinite loop (not possible to read what messages were repeated!). I had to force to quit Rev. Best regards from Grenoble Andr? From andre at andregarzia.com Wed Jul 7 08:49:12 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 7 Jul 2010 09:49:12 -0300 Subject: What about the new language from Apple? In-Reply-To: <2F05872E-38ED-4248-A66D-1D09DD93C67D@mines-paristech.fr> References: <1278459984471-2280329.post@n4.nabble.com> <2F05872E-38ED-4248-A66D-1D09DD93C67D@mines-paristech.fr> Message-ID: Folks, I wearing my slashdot hat now, so that means I did not read the article but will indeed ask questions. Are those blocks something like ruby blocks or closures? any clue? Andre 2010/7/6 Fran?ois Chaplais > a good start is > http://arstechnica.com/apple/reviews/2009/08/mac-os-x-10-6.ars/9 > If I understand well, its about finer granularity and management of > concurrent process. To allow, this, objective-c has be extended with new > entities called blocks. Blocks have a very small footprint by comparison to > threads, so actually it is easer to program because you use them extensively > with almost no worry. > Le 7 juil. 2010 ? 01:46, JosepM a ?crit : > > > > > Hi, > > > > I read some post about a new language that will be replace the > Objective-c > > called xLang. > > > > Any idea? This can affect the next releases of Rev? > > > > http://9to5mac.com/node/19165 > > > > > > We?re leaving this one open to the floor for comment, but would like to > note > > that operating systems must also grow, and development environments must > > continue to re-invent themselves as rationale to give this one air time, > but > > there's a rumor Apple's developing a new dev language to succeed > > Objective-C... > > DF reports via Michael Tsai one Jesper, who writes: > > > > ?After watching the eminently early and freely available WWDC 2010 > session > > videos, I think my scales have finally tipped. It is my belief that Apple > is > > definitely working on a new language to surpass Objective-C as their > > intended, primary, publicly recommended programming language, which I > will > > call ?xlang?.? > > > > Clang, according to Wikipedia, is a compiler front end for the C, C++, > and > > Objective-C programming languages. It uses the Low Level Virtual Machine > > (LLVM) as its back end. Its goal is to offer a replacement to the GNU > > Compiler Collection (GCC). Development is sponsored by Apple, and the > source > > code is licensed using a BSD-like open-source license. > > > > This could be part of the company?s plans as developers seem to be > beginning > > to wax lyrical on how Objective-C may need tweaking. > > > > Your thoughts? > > -- > > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/What-about-the-new-language-from-Apple-tp2280329p2280329.html > > Sent from the Revolution - User mailing list archive at Nabble.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 > -- http://www.andregarzia.com All We Do Is Code. From jerry.daniels at me.com Wed Jul 7 08:55:58 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Wed, 07 Jul 2010 07:55:58 -0500 Subject: What about the new language from Apple? In-Reply-To: References: <1278459984471-2280329.post@n4.nabble.com> <2F05872E-38ED-4248-A66D-1D09DD93C67D@mines-paristech.fr> Message-ID: Andre...whole endeavor rumored to be very Ruby-esque. I think they are like Ruby blocks. Best, Jerry Daniels Join the Rodeo discussion: http://rodeoapps.com/rodeo-discuss-among-yourselves On Jul 7, 2010, at 7:49 AM, Andre Garzia wrote: > Folks, > > I wearing my slashdot hat now, so that means I did not read the article but > will indeed ask questions. Are those blocks something like ruby blocks or > closures? any clue? > > Andre > > > > 2010/7/6 Fran?ois Chaplais > >> a good start is >> http://arstechnica.com/apple/reviews/2009/08/mac-os-x-10-6.ars/9 >> If I understand well, its about finer granularity and management of >> concurrent process. To allow, this, objective-c has be extended with new >> entities called blocks. Blocks have a very small footprint by comparison to >> threads, so actually it is easer to program because you use them extensively >> with almost no worry. >> Le 7 juil. 2010 ? 01:46, JosepM a ?crit : >> >>> >>> Hi, >>> >>> I read some post about a new language that will be replace the >> Objective-c >>> called xLang. >>> >>> Any idea? This can affect the next releases of Rev? >>> >>> http://9to5mac.com/node/19165 >>> >>> >>> We?re leaving this one open to the floor for comment, but would like to >> note >>> that operating systems must also grow, and development environments must >>> continue to re-invent themselves as rationale to give this one air time, >> but >>> there's a rumor Apple's developing a new dev language to succeed >>> Objective-C... >>> DF reports via Michael Tsai one Jesper, who writes: >>> >>> ?After watching the eminently early and freely available WWDC 2010 >> session >>> videos, I think my scales have finally tipped. It is my belief that Apple >> is >>> definitely working on a new language to surpass Objective-C as their >>> intended, primary, publicly recommended programming language, which I >> will >>> call ?xlang?.? >>> >>> Clang, according to Wikipedia, is a compiler front end for the C, C++, >> and >>> Objective-C programming languages. It uses the Low Level Virtual Machine >>> (LLVM) as its back end. Its goal is to offer a replacement to the GNU >>> Compiler Collection (GCC). Development is sponsored by Apple, and the >> source >>> code is licensed using a BSD-like open-source license. >>> >>> This could be part of the company?s plans as developers seem to be >> beginning >>> to wax lyrical on how Objective-C may need tweaking. >>> >>> Your thoughts? >>> -- >>> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/What-about-the-new-language-from-Apple-tp2280329p2280329.html >>> Sent from the Revolution - User mailing list archive at Nabble.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 >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Wed Jul 7 09:05:50 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 07 Jul 2010 15:05:50 +0200 Subject: Having strange problem with the 'clone' command In-Reply-To: <4C33BAE0.1070800@tweedly.net> References: <4C33BAE0.1070800@tweedly.net> Message-ID: <923C9BFC-9260-460E-8864-39ACC8CFCDE0@mac.com> You're running into the settings of the Rev IDE, these things will not apply in a standalone. Relevant bug: http://quality.runrev.com/qacenter/show_bug.cgi?id=3290 -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From ambassador at fourthworld.com Wed Jul 7 09:54:17 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 07 Jul 2010 06:54:17 -0700 Subject: Having strange problem with the 'clone' command Message-ID: <4C348709.3030105@fourthworld.com> Alex Tweedly wrote: > I've created one (called, with great imagination :), "R1") which has all > the correct characteristics, including a width and height of 8 > > But when I clone it to create my other shapes, the widths and heights > all come out to 120 instead of 8. I can fix this up (as I do in the > following code), but I don't understand why that would be necessary (or > what other properties might be different from what I expect). I suspect that locking messages before the loop will prevent the IDE from intercepting the newGraphic message which it seems to be using to alter the new objects. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From cszasz at mac.com Wed Jul 7 10:38:31 2010 From: cszasz at mac.com (charles61) Date: Wed, 7 Jul 2010 07:38:31 -0700 (PDT) Subject: New Window App allows programming for iPhone! Message-ID: <1278513511579-2280996.post@n4.nabble.com> I just came across a link to a new Windows program, DragonFireSDK, that allows Windows users to program for the iPhone without using Apple's SDK. I believe the program sells for $49. I went to the site last night but did not write down the details. I tried to go to the site a moment ago to confirm the price but I could not access it. I guess the site may be getting a lot of hits today! DragonFireSDK includes a cross-platform library and an iPhone simulator. The program uses C/C++ language. Here is the link: http://www.dragonfiresdk.com/ -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/New-Window-App-allows-programming-for-iPhone-tp2280996p2280996.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Wed Jul 7 10:49:57 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 07 Jul 2010 09:49:57 -0500 Subject: Having strange problem with the 'clone' command In-Reply-To: <923C9BFC-9260-460E-8864-39ACC8CFCDE0@mac.com> References: <4C33BAE0.1070800@tweedly.net> <923C9BFC-9260-460E-8864-39ACC8CFCDE0@mac.com> Message-ID: <4C349415.9040306@hyperactivesw.com> Bj?rnke von Gierke wrote: > You're running into the settings of the Rev IDE, these things will > not apply in a standalone. Relevant bug: > > http://quality.runrev.com/qacenter/show_bug.cgi?id=3290 > > Interesting, I'm glad you knew about it. If the IDE is interfering with the dimensions, would it work to lock messages, reset the template object, and then clone? Seems like that might avoid IDE interference. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revlist at azurevision.co.uk Wed Jul 7 11:08:11 2010 From: revlist at azurevision.co.uk (Ian Wood) Date: Wed, 7 Jul 2010 16:08:11 +0100 Subject: New Window App allows programming for iPhone! In-Reply-To: <1278513511579-2280996.post@n4.nabble.com> References: <1278513511579-2280996.post@n4.nabble.com> Message-ID: It's been around since November at least, but information about it is *very* sparse. I'd be wary, myself. Ian On 7 Jul 2010, at 15:38, charles61 wrote: > > I just came across a link to a new Windows program, DragonFireSDK, that > allows Windows users to program for the iPhone without using Apple's SDK. I > believe the program sells for $49. I went to the site last night but did not > write down the details. I tried to go to the site a moment ago to confirm > the price but I could not access it. I guess the site may be getting a lot > of hits today! > DragonFireSDK includes a cross-platform library and an iPhone simulator. The > program uses C/C++ language. Here is the link: http://www.dragonfiresdk.com/ > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/New-Window-App-allows-programming-for-iPhone-tp2280996p2280996.html > Sent from the Revolution - User mailing list archive at Nabble.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 Wed Jul 7 11:21:59 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 7 Jul 2010 17:21:59 +0200 Subject: New Window App allows programming for iPhone! In-Reply-To: References: <1278513511579-2280996.post@n4.nabble.com> Message-ID: <7ABE3666-98F1-4608-9E90-D2E3108CA9CE@economy-x-talk.com> Hi, Clearly, DragonFireSDK didn't get approval from Apple. If you want to use your app on your iPhone, you have to upload it to a server, where it will be compiled with XCode. The website says you can distribute your app as if it were created on a Mac, but it isn't clear to me whether you can actually sell your app in the iTunes store (an "App Store" is mentioned). If DragonFireSDK had received approval, then the workaround and vague statements on the website wouldn't be necessary. I admire their courage :-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce > On 7 Jul 2010, at 15:38, charles61 wrote: > >> I just came across a link to a new Windows program, DragonFireSDK, >> that >> allows Windows users to program for the iPhone without using >> Apple's SDK. I >> believe the program sells for $49. I went to the site last night >> but did not >> write down the details. I tried to go to the site a moment ago to >> confirm >> the price but I could not access it. I guess the site may be >> getting a lot >> of hits today! >> DragonFireSDK includes a cross-platform library and an iPhone >> simulator. The >> program uses C/C++ language. Here is the link: http://www.dragonfiresdk.com/ From andrew at rjdfarm.com Wed Jul 7 12:08:03 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Wed, 7 Jul 2010 09:08:03 -0700 (PDT) Subject: New Window App allows programming for iPhone! In-Reply-To: <7ABE3666-98F1-4608-9E90-D2E3108CA9CE@economy-x-talk.com> References: <1278513511579-2280996.post@n4.nabble.com> <7ABE3666-98F1-4608-9E90-D2E3108CA9CE@economy-x-talk.com> Message-ID: <1278518883052-2281129.post@n4.nabble.com> You program in C/C++ and it converts it to Objective-C and uploads it to the app store under the companies iphone dev license. From what I have read, the code it generates is very very sloppy and slow. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/New-Window-App-allows-programming-for-iPhone-tp2280996p2281129.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Wed Jul 7 12:12:50 2010 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 07 Jul 2010 19:12:50 +0300 Subject: New Window App allows programming for iPhone! In-Reply-To: <1278518883052-2281129.post@n4.nabble.com> References: <1278513511579-2280996.post@n4.nabble.com> <7ABE3666-98F1-4608-9E90-D2E3108CA9CE@economy-x-talk.com> <1278518883052-2281129.post@n4.nabble.com> Message-ID: <4C34A782.7050909@gmail.com> On 07/07/2010 07:08 PM, Andrew Kluthe wrote: > You program in C/C++ and it converts it to Objective-C and uploads it to the > app store under the companies iphone dev license. From what I have read, the > code it generates is very very sloppy and slow. > I don't suppose one should expect TOO much for $49. From alex at tweedly.net Wed Jul 7 12:18:57 2010 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 07 Jul 2010 17:18:57 +0100 Subject: Having strange problem with the 'clone' command In-Reply-To: <4C349415.9040306@hyperactivesw.com> References: <4C33BAE0.1070800@tweedly.net> <923C9BFC-9260-460E-8864-39ACC8CFCDE0@mac.com> <4C349415.9040306@hyperactivesw.com> Message-ID: <4C34A8F1.1050800@tweedly.net> On 07/07/2010 15:49, J. Landman Gay wrote: > Bj?rnke von Gierke wrote: >> You're running into the settings of the Rev IDE, these things will >> not apply in a standalone. Relevant bug: >> >> http://quality.runrev.com/qacenter/show_bug.cgi?id=3290 >> >> > > Interesting, I'm glad you knew about it. If the IDE is interfering > with the dimensions, would it work to lock messages, reset the > template object, and then clone? Seems like that might avoid IDE > interference. > Thanks everyone. That was indeed the problem, and "lock messages" is a good cure. Thanks again -- Alex. From mwieder at ahsoftware.net Wed Jul 7 12:20:06 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 7 Jul 2010 09:20:06 -0700 Subject: New Window App allows programming for iPhone! In-Reply-To: <4C34A782.7050909@gmail.com> References: <1278513511579-2280996.post@n4.nabble.com> <7ABE3666-98F1-4608-9E90-D2E3108CA9CE@economy-x-talk.com> <1278518883052-2281129.post@n4.nabble.com> <4C34A782.7050909@gmail.com> Message-ID: <68323994937.20100707092006@ahsoftware.net> Richmond- Wednesday, July 7, 2010, 9:12:50 AM, you wrote: > I don't suppose one should expect TOO much for $49. Er... ... but aren't you the one who's always extolling the virtues of *free* software? -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Jul 7 12:24:27 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 7 Jul 2010 09:24:27 -0700 Subject: Having strange problem with the 'clone' command In-Reply-To: <4C348709.3030105@fourthworld.com> References: <4C348709.3030105@fourthworld.com> Message-ID: <99324256000.20100707092427@ahsoftware.net> Richard- Wednesday, July 7, 2010, 6:54:17 AM, you wrote: > I suspect that locking messages before the loop will prevent the IDE > from intercepting the newGraphic message which it seems to be using to > alter the new objects. Brilliant! That solved a related problem that I didn't even know I had... -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Jul 7 12:26:30 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 7 Jul 2010 09:26:30 -0700 Subject: Writing Externals in Pascal? In-Reply-To: <4CFE9095-138A-4EC5-A9AA-2AEABD4E2393@gmail.com> References: <4C319CAA.5050801@smpcs.server101.com> <1278349562223-2278631.post@n4.nabble.com> <4CFE9095-138A-4EC5-A9AA-2AEABD4E2393@gmail.com> Message-ID: <54324378984.20100707092630@ahsoftware.net> Peter- Monday, July 5, 2010, 4:59:11 PM, you wrote: > Free Pascal. At the moment, I am testing calling a dynamic load > library written in Free Pascal from Rebol (a language written in C) > using C calling conventions. Keep us posted on your progress - that's a promising start. -- -Mark Wieder mwieder at ahsoftware.net From rene.micout at numericable.com Wed Jul 7 12:28:01 2010 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 7 Jul 2010 18:28:01 +0200 Subject: New Window App allows programming for iPhone! In-Reply-To: <68323994937.20100707092006@ahsoftware.net> References: <1278513511579-2280996.post@n4.nabble.com> <7ABE3666-98F1-4608-9E90-D2E3108CA9CE@economy-x-talk.com> <1278518883052-2281129.post@n4.nabble.com> <4C34A782.7050909@gmail.com> <68323994937.20100707092006@ahsoftware.net> Message-ID: In French we have 2 words for "free" free = gratuit (no money !) free = libre (open ?) ;-) Le 7 juil. 2010 ? 18:20, Mark Wieder a ?crit : > Richmond- > > Wednesday, July 7, 2010, 9:12:50 AM, you wrote: > >> I don't suppose one should expect TOO much for $49. > > Er... ... but aren't you the one who's always extolling the > virtues of *free* software? > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Wed Jul 7 13:10:09 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 7 Jul 2010 10:10:09 -0700 Subject: New Window App allows programming for iPhone! In-Reply-To: References: <1278513511579-2280996.post@n4.nabble.com> <7ABE3666-98F1-4608-9E90-D2E3108CA9CE@economy-x-talk.com> <1278518883052-2281129.post@n4.nabble.com> <4C34A782.7050909@gmail.com> <68323994937.20100707092006@ahsoftware.net> Message-ID: <0326998468.20100707101009@ahsoftware.net> Ren?- Wednesday, July 7, 2010, 9:28:01 AM, you wrote: > In French we have 2 words for "free" > free = gratuit (no money !) > free = libre (open ?) > ;-) Yes, in English as well: "The puppies are free" is quite ambiguous. But only as and adjective - as a verb this is not the case. You can't, for example, free beer, unless you're liberating it from its container and pouring a round for the room. -- -Mark Wieder mwieder at ahsoftware.net From bonnmike at gmail.com Wed Jul 7 13:16:58 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 7 Jul 2010 13:16:58 -0400 Subject: New Window App allows programming for iPhone! In-Reply-To: <0326998468.20100707101009@ahsoftware.net> References: <1278513511579-2280996.post@n4.nabble.com> <7ABE3666-98F1-4608-9E90-D2E3108CA9CE@economy-x-talk.com> <1278518883052-2281129.post@n4.nabble.com> <4C34A782.7050909@gmail.com> <68323994937.20100707092006@ahsoftware.net> <0326998468.20100707101009@ahsoftware.net> Message-ID: Mmm liberated beer. On Wed, Jul 7, 2010 at 1:10 PM, Mark Wieder wrote: > Ren?- > > Wednesday, July 7, 2010, 9:28:01 AM, you wrote: > >> In French we have 2 words for "free" >> free = gratuit (no money !) >> free = libre (open ?) >> ;-) > > Yes, in English as well: "The puppies are free" is quite ambiguous. > But only as and adjective - as a verb this is not the case. You can't, > for example, free beer, unless you're liberating it from its > container and pouring a round for the room. > > -- > -Mark Wieder > ?mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lfredricks at proactive-intl.com Wed Jul 7 13:19:18 2010 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed, 7 Jul 2010 10:19:18 -0700 Subject: New Window App allows programming for iPhone! In-Reply-To: <0326998468.20100707101009@ahsoftware.net> References: <1278513511579-2280996.post@n4.nabble.com><7ABE3666-98F1-4608-9E90-D2E3108CA9CE@economy-x-talk.com><1278518883052-2281129.post@n4.nabble.com> <4C34A782.7050909@gmail.com><68323994937.20100707092006@ahsoftware.net> <0326998468.20100707101009@ahsoftware.net> Message-ID: > Yes, in English as well: "The puppies are free" is quite ambiguous. > But only as and adjective - as a verb this is not the case. > You can't, for example, free beer, unless you're liberating > it from its container and pouring a round for the room. The "free as in beer" description always bothered me - after all, it can only be used once ;-) Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From cszasz at mac.com Wed Jul 7 13:35:29 2010 From: cszasz at mac.com (charles61) Date: Wed, 7 Jul 2010 10:35:29 -0700 (PDT) Subject: A problem with this prefers script... Message-ID: <1278524129844-2281250.post@n4.nabble.com> I am trying to set up a preference file. I have two stacks - a splash stack and an app stack. The Prefs stack is a substack of the app stack and is not a separate stack I trying to use the url and binfile with specialfolder to set up my preference file in the appropriate place for windows (specialFolderPath(26) ) and mac (specialFolderPath("preferences")). I am getting an error message for put arrayDecode(tPrefs) into tPrefs in the following script for the Prefs stack when I select Preferences from the menu of my app during the run mode: on preOpenStack set the loc of me to the loc of stack "S504" loadPrefs end preOpenStack on closeStack saveprefs end closeStack on loadPrefs pFilename local tPrefs IF the platform is "MacOS" ----> I added this to retrieve the prefs file for both Mac and Windows then put url ("binfile:" & specialFolderPath("preferences")) into tPrefs end if IF the platform is "win32" then put url ("binfile:" & specialFolderPath(26)) into tPrefs end if put arrayDecode(tPrefs) into tPrefs ----------------> This is being being flagged when I select Prefs from the menu in the run mode. -- Fill in all prefs data... put tPrefs["Myschool"] into field "MySchool" put tPrefs["Myschool"] into field "school system" of card "referral" of stack "S504" put tPrefs["agent"] into field "agent" put tPrefs["agent"] into field "agent" of card "letter" of stack "S504" put tPrefs["agent"] into field "agent" of card "adult letter" of stack "S504" put tPrefs["contact"] into field "contact" put tPrefs["contact"] into field "contact" of card "letter" of stack "S504" put tPrefs["contact"] into field "contact" of card "adult letter" of stack "S S504" put tPrefs["email"] into field "email" put tPrefs["email"] into field "email" of card "letter" of stack "S504" put tPrefs["email"] into field "email" of card "adult letter" of stack "S504" end loadPrefs on savePrefs pFilename local tPrefs --fill in all of my data put field "mySchool" into tPrefs["school name"] put field "agent" into tPrefs["agent"] put field "contact" into tPrefs["contact"] put field "email" into tPrefs["email"] IF the platform is "MacOS" then put arrayEncode(tPrefs) into url ("binfile:" & specialFolderPath("preferences")) --> I added this to save the prefs file for Mac end if IF the platform is "win32" then put arrayEncode(tPrefs) into url ("binfile:" & specialFolderPath(26)) ---> I added this to save the prefs file for Windows end if end savePrefs I would appreciate any help I can get on this script! This is my first endeavor with using an array, binfile and specialFolderpath! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/A-problem-with-this-prefers-script-tp2281250p2281250.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Wed Jul 7 13:40:56 2010 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 07 Jul 2010 20:40:56 +0300 Subject: New Window App allows programming for iPhone! In-Reply-To: <68323994937.20100707092006@ahsoftware.net> References: <1278513511579-2280996.post@n4.nabble.com> <7ABE3666-98F1-4608-9E90-D2E3108CA9CE@economy-x-talk.com> <1278518883052-2281129.post@n4.nabble.com> <4C34A782.7050909@gmail.com> <68323994937.20100707092006@ahsoftware.net> Message-ID: <4C34BC28.4050009@gmail.com> On 07/07/2010 07:20 PM, Mark Wieder wrote: > Richmond- > > Wednesday, July 7, 2010, 9:12:50 AM, you wrote: > > >> I don't suppose one should expect TOO much for $49. >> > Er...... but aren't you the one who's always extolling the > virtues of *free* software? > > Yes; I do extoll the virtues of free software; and I have released some free software myself - it comes "as is". I was only able to release that because I do not depend on software sales for my bread and cheese. Now, once one moves away from the free software model we are in different territory; and I don't think the 2 really overlap. I will be releasing a commercial variant of my free software in mid to late August; mainly because the cost of bread and cheese is going up faster than my non-software income . . . :) And, to tell the truth, because I have had a 34 year fantasy that one day I might be a "real" computer programmer who lives off his work. If we examine RunRev; its model starts with a free version, revMedia, which is supported by 2 commercial variants of the same thing - it is marvellous insofar as everybody can "come to the table"; but those who want a glass of wine and a side-dish have to pay. As the glass of wine and so on is really considerably more than revMedia they have to pay quite a lot. Of course there is NO SUCH THING as free software; all people who write software have to eat; there are, however, various ways in which they can get their food. In my own case my 'free' software is 'paid for' by the parents who send their children to my EFL school (if only they knew . . .). As soon as I see software that is not 'free' (i.e. the end-user is expected to pay for something) I suspect that the programmer may be expecting to live fully or partly from software revenues. If that is so, and the cost of bread-and-cheese is anything like what it is in Bulgaria they are going to have to shift a lot of units at $49 a pop. OR; some people have done a "quick-n-dirty" to see if 'the fish will bite', and if so, they can invest considerably more time and effort in 'version 2' for which they will charge considerably more money. ---------------------------------------------------------------------------------------------------------------------- Pretentious or what? From mwieder at ahsoftware.net Wed Jul 7 13:41:55 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 7 Jul 2010 10:41:55 -0700 Subject: A problem with this prefers script... In-Reply-To: <1278524129844-2281250.post@n4.nabble.com> References: <1278524129844-2281250.post@n4.nabble.com> Message-ID: <140328903953.20100707104155@ahsoftware.net> charles61- Wednesday, July 7, 2010, 10:35:29 AM, you wrote: > put arrayEncode(tPrefs) into url ("binfile:" & > specialFolderPath("preferences")) --> I added this to save the prefs file You need a filename as well as the path: specialFolderPath("preferences") & "/" & tFileName -- -Mark Wieder mwieder at ahsoftware.net From klaus at major.on-rev.com Wed Jul 7 13:41:46 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 7 Jul 2010 19:41:46 +0200 Subject: A problem with this prefers script... In-Reply-To: <1278524129844-2281250.post@n4.nabble.com> References: <1278524129844-2281250.post@n4.nabble.com> Message-ID: Hi Charles, > > I am trying to set up a preference file. I have two stacks - a splash stack > and an app stack. The Prefs stack is a substack of the app stack and is not > a separate stack I trying to use the url and binfile with specialfolder to > set up my preference file in the appropriate place for windows > (specialFolderPath(26) ) and mac (specialFolderPath("preferences")). These functions will only return a path to a FOLDER, as the name "specialFOLDERpath" suggests! You have to provide a filename, too! Like: ... specialFolderPath(26) & "/" & "your_prefs_file.prf" ... > > I am getting an error message for > ... See above "binfile:..." requires a filename but you only supply a FOLDER. Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From zryip.theslug at gmail.com Wed Jul 7 13:48:08 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 7 Jul 2010 19:48:08 +0200 Subject: [Data Grid] Infinite loop with DG Table In-Reply-To: <60F6C03D-DCEE-4B30-A1F0-62B71AA1AAD7@inria.fr> References: <60F6C03D-DCEE-4B30-A1F0-62B71AA1AAD7@inria.fr> Message-ID: Bonjour Andr?! :) Thanks for your confirmation! ;) Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc 2010/7/7 Andre.Bisseret > > Le 6 juil. 10 ? 21:27, zryip theSlug a ?crit : > > > Dear List and especially DG users, >> >> Could someone confirm this infinite loop: >> >> 1) Save your current work >> 2) Create a DG Table in a stack >> 3) Create 2 or 3 columns >> 4) Add 3 lines in the content tab of your DG >> 5) Open your "message watcher" >> 6) With the mouse, set your DG height to show only 1 or 2 lines >> 7) In the columns tab, hide all the columns >> >> What's happens for you in the message watcher? >> >> > Bonjour, > I confirm that I got an infinite loop (not possible to read what messages > were repeated!). > I had to force to quit Rev. > > Best regards from Grenoble > > Andr? From bobs at twft.com Wed Jul 7 13:56:49 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 7 Jul 2010 10:56:49 -0700 Subject: Writing Externals in Pascal? In-Reply-To: <54324378984.20100707092630@ahsoftware.net> References: <4C319CAA.5050801@smpcs.server101.com> <1278349562223-2278631.post@n4.nabble.com> <4CFE9095-138A-4EC5-A9AA-2AEABD4E2393@gmail.com> <54324378984.20100707092630@ahsoftware.net> Message-ID: <87A61D67-ED61-43E8-91CD-930A993BB9D2@twft.com> Whoa! Pascal still lives?? Maybe I am not so old after all. Bob On Jul 7, 2010, at 9:26 AM, Mark Wieder wrote: > Peter- > > Monday, July 5, 2010, 4:59:11 PM, you wrote: > >> Free Pascal. At the moment, I am testing calling a dynamic load >> library written in Free Pascal from Rebol (a language written in C) >> using C calling conventions. > > Keep us posted on your progress - that's a promising start. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Wed Jul 7 14:00:56 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 7 Jul 2010 11:00:56 -0700 Subject: New Window App allows programming for iPhone! In-Reply-To: References: <1278513511579-2280996.post@n4.nabble.com> <7ABE3666-98F1-4608-9E90-D2E3108CA9CE@economy-x-talk.com> <1278518883052-2281129.post@n4.nabble.com> <4C34A782.7050909@gmail.com> <68323994937.20100707092006@ahsoftware.net> Message-ID: In America, they are kind of related. I "open" (libre) my wallet, see there's no money there, so whatever I get had better be "free" (gratuit). Bob On Jul 7, 2010, at 9:28 AM, Ren? Micout wrote: > In French we have 2 words for "free" > free = gratuit (no money !) > free = libre (open ?) > ;-) > > Le 7 juil. 2010 ? 18:20, Mark Wieder a ?crit : > >> Richmond- >> >> Wednesday, July 7, 2010, 9:12:50 AM, you wrote: >> >>> I don't suppose one should expect TOO much for $49. >> >> Er... ... but aren't you the one who's always extolling the >> virtues of *free* software? >> >> -- >> -Mark Wieder >> mwieder at ahsoftware.net >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From nealk3nc at gmail.com Wed Jul 7 14:04:12 2010 From: nealk3nc at gmail.com (Neal Campbell) Date: Wed, 7 Jul 2010 14:04:12 -0400 Subject: Writing Externals in Pascal? In-Reply-To: <87A61D67-ED61-43E8-91CD-930A993BB9D2@twft.com> References: <4C319CAA.5050801@smpcs.server101.com> <1278349562223-2278631.post@n4.nabble.com> <4CFE9095-138A-4EC5-A9AA-2AEABD4E2393@gmail.com> <54324378984.20100707092630@ahsoftware.net> <87A61D67-ED61-43E8-91CD-930A993BB9D2@twft.com> Message-ID: The 2010 version of Delphi is a killer development environment and the 2011 version will have cross-compile for OS X. You can tell its what I do a lot of work in! Neal Campbell Abroham Neal Software www.abrohamnealsoftware.com (540) 645 5394 NEW PHONE NUMBER On Wed, Jul 7, 2010 at 1:56 PM, Bob Sneidar wrote: > Whoa! Pascal still lives?? Maybe I am not so old after all. > > Bob > > > On Jul 7, 2010, at 9:26 AM, Mark Wieder wrote: > > > Peter- > > > > Monday, July 5, 2010, 4:59:11 PM, you wrote: > > > >> Free Pascal. At the moment, I am testing calling a dynamic load > >> library written in Free Pascal from Rebol (a language written in C) > >> using C calling conventions. > > > > Keep us posted on your progress - that's a promising start. > > > > -- > > -Mark Wieder > > mwieder at ahsoftware.net > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From andre at andregarzia.com Wed Jul 7 14:04:43 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 7 Jul 2010 15:04:43 -0300 Subject: New Window App allows programming for iPhone! In-Reply-To: References: <1278513511579-2280996.post@n4.nabble.com> <7ABE3666-98F1-4608-9E90-D2E3108CA9CE@economy-x-talk.com> <1278518883052-2281129.post@n4.nabble.com> <4C34A782.7050909@gmail.com> <68323994937.20100707092006@ahsoftware.net> <0326998468.20100707101009@ahsoftware.net> Message-ID: I've liberated beer before... what that makes me, a liberator? On Wed, Jul 7, 2010 at 2:16 PM, Mike Bonner wrote: > Mmm liberated beer. > > On Wed, Jul 7, 2010 at 1:10 PM, Mark Wieder > wrote: > > Ren?- > > > > Wednesday, July 7, 2010, 9:28:01 AM, you wrote: > > > >> In French we have 2 words for "free" > >> free = gratuit (no money !) > >> free = libre (open ?) > >> ;-) > > > > Yes, in English as well: "The puppies are free" is quite ambiguous. > > But only as and adjective - as a verb this is not the case. You can't, > > for example, free beer, unless you're liberating it from its > > container and pouring a round for the room. > > > > -- > > -Mark Wieder > > mwieder at ahsoftware.net > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution 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.andregarzia.com All We Do Is Code. From klaus at major.on-rev.com Wed Jul 7 14:10:27 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 7 Jul 2010 20:10:27 +0200 Subject: New Window App allows programming for iPhone! In-Reply-To: References: <1278513511579-2280996.post@n4.nabble.com> <7ABE3666-98F1-4608-9E90-D2E3108CA9CE@economy-x-talk.com> <1278518883052-2281129.post@n4.nabble.com> <4C34A782.7050909@gmail.com> <68323994937.20100707092006@ahsoftware.net> <0326998468.20100707101009@ahsoftware.net> Message-ID: <45E3E8BE-68EE-4BA7-A03A-53EA32690A59@major.on-rev.com> Hi Andre, Am 07.07.2010 um 20:04 schrieb Andre Garzia: > I've liberated beer before... what that makes me, a liberator? Probably a libeerator :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From massung at gmail.com Wed Jul 7 14:12:19 2010 From: massung at gmail.com (Jeff Massung) Date: Wed, 7 Jul 2010 13:12:19 -0500 Subject: New Window App allows programming for iPhone! In-Reply-To: <45E3E8BE-68EE-4BA7-A03A-53EA32690A59@major.on-rev.com> References: <1278513511579-2280996.post@n4.nabble.com> <7ABE3666-98F1-4608-9E90-D2E3108CA9CE@economy-x-talk.com> <1278518883052-2281129.post@n4.nabble.com> <4C34A782.7050909@gmail.com> <68323994937.20100707092006@ahsoftware.net> <0326998468.20100707101009@ahsoftware.net> <45E3E8BE-68EE-4BA7-A03A-53EA32690A59@major.on-rev.com> Message-ID: On Wed, Jul 7, 2010 at 1:10 PM, Klaus on-rev wrote: > Hi Andre, > > Am 07.07.2010 um 20:04 schrieb Andre Garzia: > > > I've liberated beer before... what that makes me, a liberator? > > Probably a libeerator :-) > > http://raoworld.files.wordpress.com/2009/01/facepalm.jpg ;-) Jeff M. From andre at andregarzia.com Wed Jul 7 14:14:44 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 7 Jul 2010 15:14:44 -0300 Subject: New Window App allows programming for iPhone! In-Reply-To: References: <1278513511579-2280996.post@n4.nabble.com> <7ABE3666-98F1-4608-9E90-D2E3108CA9CE@economy-x-talk.com> <1278518883052-2281129.post@n4.nabble.com> <4C34A782.7050909@gmail.com> <68323994937.20100707092006@ahsoftware.net> <0326998468.20100707101009@ahsoftware.net> <45E3E8BE-68EE-4BA7-A03A-53EA32690A59@major.on-rev.com> Message-ID: > > > > > I've liberated beer before... what that makes me, a liberator? > > > > Probably a libeerator :-) > > > > > http://raoworld.files.wordpress.com/2009/01/facepalm.jpg > > ;-) > actually, I have a star trek costume exactly like that... will exercise my piccard facepalm look... > > Jeff M. > _______________________________________________ > use-revolution mailing list > use-revolution 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.andregarzia.com All We Do Is Code. From richmondmathewson at gmail.com Wed Jul 7 14:18:47 2010 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 07 Jul 2010 21:18:47 +0300 Subject: Writing Externals in Pascal? In-Reply-To: <87A61D67-ED61-43E8-91CD-930A993BB9D2@twft.com> References: <4C319CAA.5050801@smpcs.server101.com> <1278349562223-2278631.post@n4.nabble.com> <4CFE9095-138A-4EC5-A9AA-2AEABD4E2393@gmail.com> <54324378984.20100707092630@ahsoftware.net> <87A61D67-ED61-43E8-91CD-930A993BB9D2@twft.com> Message-ID: <4C34C507.4080000@gmail.com> On 07/07/2010 08:56 PM, Bob Sneidar wrote: > Whoa! Pascal still lives?? Maybe I am not so old after all. > > Bob > > > Sorry to dash your illusions; I studied PASCAL 5 in 1985; Thee and Me are alive, and so is PASCAL; neither Thee, not Me, nor PASCAL are as young as we were in 1985. Hey; anybody remember MINIFORTRAN? ---------------------------------------------------------------------------------------- I remember when I was visiting Mum and Dad at New Year seeing my PASCAL final project lurking in the attic; maybe I should get it out and 'give it a whirl'. Mind you typing the whole thing into the machine will be a real labour of love. What I do remember is: 1. It was a program for making a concordance of a text. [This was conceived because I was sent 'over' from the Philosophy department to the Maths dept. for computer programming. The lecturers all made loud and public fun of the "wierdo in the kilt from the Philosophy dept" and said that ONLY mathematicians could program; and that PASCAL, being a serious, hairy-chested sort of computer language, could only deal with crunching numbers - hence my determination to crunch text]. 2. A long-suffering 'slave' in the computer building (full of enormous tape drives that went "whirr, whirr") typed in an English translation of Leibniz's 'Monadologie'. 3. The program crashed the University computer (hurrah, hurrah - let's hear it for Mathewson). I will probably be able to run it on a Pentium II I have, running FreeDOS with the GEM GUI (lovely job) and some sort of cheapo PASCAL - in all likelihood the 32 MB RAM is more than the University of Durham had in 1985. 4. An incredibly seedy man who was my computer supervisor almost tied himself in knots having to admit that my program was the best of the 100 students in the year. Extra fun was had because I asked the head of Philosophy to accompany me to the meeting so that I could make a formal complaint about departmental bullying towards me because I was an Arts student. About once every 5 years I go back to Durham to visit . . . . . . the pubs where I did most of my studying; and everytime I pass the building that housed the VAX (I wonder what is in there now?) I blow it a kiss - Wow I wish my life now was as much fun as when I was an undergraduate!!!! From mwieder at ahsoftware.net Wed Jul 7 14:28:40 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 7 Jul 2010 11:28:40 -0700 Subject: New Window App allows programming for iPhone! In-Reply-To: <4C34BC28.4050009@gmail.com> References: <1278513511579-2280996.post@n4.nabble.com> <7ABE3666-98F1-4608-9E90-D2E3108CA9CE@economy-x-talk.com> <1278518883052-2281129.post@n4.nabble.com> <4C34A782.7050909@gmail.com> <68323994937.20100707092006@ahsoftware.net> <4C34BC28.4050009@gmail.com> Message-ID: <23331709656.20100707112840@ahsoftware.net> Richmond- Wednesday, July 7, 2010, 10:40:56 AM, you wrote: > Now, once one moves away from the free software model we are in > different territory; > and I don't think the 2 really overlap. Chris Anderson has some thought-provoking things to say about the concept of "free", including several use-case models where free makes sound profitable business sense in a free-market (no pun intended) (all right...actually I couldn't resist it) economy. https://www.amazon.com/Free-Future-Radical-Chris-Anderson/dp/1401322905 -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Wed Jul 7 14:37:14 2010 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 07 Jul 2010 21:37:14 +0300 Subject: New Window App allows programming for iPhone! In-Reply-To: <23331709656.20100707112840@ahsoftware.net> References: <1278513511579-2280996.post@n4.nabble.com> <7ABE3666-98F1-4608-9E90-D2E3108CA9CE@economy-x-talk.com> <1278518883052-2281129.post@n4.nabble.com> <4C34A782.7050909@gmail.com> <68323994937.20100707092006@ahsoftware.net> <4C34BC28.4050009@gmail.com> <23331709656.20100707112840@ahsoftware.net> Message-ID: <4C34C95A.1050504@gmail.com> On 07/07/2010 09:28 PM, Mark Wieder wrote: > Richmond- > > Wednesday, July 7, 2010, 10:40:56 AM, you wrote: > > >> Now, once one moves away from the free software model we are in >> different territory; >> and I don't think the 2 really overlap. >> > Chris Anderson has some thought-provoking things to say about the > concept of "free", including several use-case models where free makes > sound profitable business sense in a free-market (no pun intended) > (all right...actually I couldn't resist it) economy. > > https://www.amazon.com/Free-Future-Radical-Chris-Anderson/dp/1401322905 > > Well, as a free-market economy doesn't really exist anywhere (the successful players in the market bending over backwards to restrict competition) that is probably rather theoretical. A male tiger coming upon a female tiger with cubs, will kill the cubs so as to bring the female into oestrus so he can mate with her and secure his own genetic line. Mind you when I try to visualise the likes of Steve Jobs and Bill Gates as male tigers I split my sides laughing! From cszasz at mac.com Wed Jul 7 16:05:54 2010 From: cszasz at mac.com (charles61) Date: Wed, 7 Jul 2010 13:05:54 -0700 (PDT) Subject: A problem with this prefers script... In-Reply-To: References: <1278524129844-2281250.post@n4.nabble.com> Message-ID: <316C4CF2-6DB0-4733-8C5E-85418A73E4CD@mac.com> Klaus, Thank! I understand now that I left out the name of the file. But what is the suffix at the end of "your_prefs_file.prf"? Charles Szasz cszasz at mac.com On Jul 7, 2010, at 1:42 PM, Klaus on-rev [via Runtime Revolution] wrote: > Hi Charles, > > > > > I am trying to set up a preference file. I have two stacks - a splash stack > > and an app stack. The Prefs stack is a substack of the app stack and is not > > a separate stack I trying to use the url and binfile with specialfolder to > > set up my preference file in the appropriate place for windows > > (specialFolderPath(26) ) and mac (specialFolderPath("preferences")). > > These functions will only return a path to a FOLDER, > as the name "specialFOLDERpath" suggests! > You have to provide a filename, too! > > Like: > ... > specialFolderPath(26) & "/" & "your_prefs_file.prf" > ... > > > > > I am getting an error message for > > ... > > See above "binfile:..." requires a filename but you only supply a FOLDER. > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > [hidden email] > > _______________________________________________ > use-revolution mailing list > [hidden email] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > View message @ http://runtime-revolution.278305.n4.nabble.com/A-problem-with-this-prefers-script-tp2281250p2281266.html > To unsubscribe from A problem with this prefers script..., click here. > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/A-problem-with-this-prefers-script-tp2281250p2281445.html Sent from the Revolution - User mailing list archive at Nabble.com. From klaus at major.on-rev.com Wed Jul 7 16:20:37 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 7 Jul 2010 22:20:37 +0200 Subject: A problem with this prefers script... In-Reply-To: <316C4CF2-6DB0-4733-8C5E-85418A73E4CD@mac.com> References: <1278524129844-2281250.post@n4.nabble.com> <316C4CF2-6DB0-4733-8C5E-85418A73E4CD@mac.com> Message-ID: <5BA8AB38-D0EE-49C1-A8F3-40AC644CE276@major.on-rev.com> Hi Charles, > Klaus, > > Thank! I understand now that I left out the name of the file. But what is the suffix at the end of "your_prefs_file.prf"? just a fancy suffix ("prf" = abbr. for preferences and is a common suffix on Windows systems for pref files :-) Will of course work without it! > Charles Szasz > cszasz at mac.com Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From cszasz at mac.com Wed Jul 7 16:30:41 2010 From: cszasz at mac.com (charles61) Date: Wed, 7 Jul 2010 13:30:41 -0700 (PDT) Subject: A problem with this prefers script... In-Reply-To: <1278524129844-2281250.post@n4.nabble.com> References: <1278524129844-2281250.post@n4.nabble.com> Message-ID: <1278534641835-2281473.post@n4.nabble.com> I want to thank everyone for their help! I have to go back and review information on file management. For others who may have this same question or problem, here is my script for loading prefs: on loadPrefs pFilename local tPrefs -- put url ("binfile:" & pFilename) into tPrefs IF the platform is "MacOS" then put url ("binfile:" & specialFolderPath("preferences") & "/" & "504_prefs") into tPrefs end if IF the platform is "win32" then put url ("binfile:" & specialFolderPath(26) & "/" & "504_prefs") into tPrefs end if and here is my script for saving my prefs file: IF the platform is "MacOS" then put arrayEncode(tPrefs) into url ("binfile:" & specialFolderPath("preferences") & "/" & "504_prefs") end if IF the platform is "win32" then put arrayEncode(tPrefs) into url ("binfile:" & specialFolderPath(26) & "/" & "504_prefs") end if Again, thanks to everyone for their help! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/A-problem-with-this-prefers-script-tp2281250p2281473.html Sent from the Revolution - User mailing list archive at Nabble.com. From mdswindell at cruzio.com Wed Jul 7 17:23:17 2010 From: mdswindell at cruzio.com (Mark Swindell) Date: Wed, 7 Jul 2010 14:23:17 -0700 Subject: New Window App allows programming for iPhone! In-Reply-To: References: <1278513511579-2280996.post@n4.nabble.com> <7ABE3666-98F1-4608-9E90-D2E3108CA9CE@economy-x-talk.com> <1278518883052-2281129.post@n4.nabble.com> <4C34A782.7050909@gmail.com> <68323994937.20100707092006@ahsoftware.net> <0326998468.20100707101009@ahsoftware.net> Message-ID: ?El mero Simon Bolivar de la Revoluci?n escoc?s... en Brazil! On Jul 7, 2010, at 11:04 AM, Andre Garzia wrote: > I've liberated beer before... what that makes me, a liberator? From pmbrig at gmail.com Wed Jul 7 17:25:14 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Wed, 7 Jul 2010 17:25:14 -0400 Subject: New Window App allows programming for iPhone! In-Reply-To: <0326998468.20100707101009@ahsoftware.net> References: <1278513511579-2280996.post@n4.nabble.com> <7ABE3666-98F1-4608-9E90-D2E3108CA9CE@economy-x-talk.com> <1278518883052-2281129.post@n4.nabble.com> <4C34A782.7050909@gmail.com> <68323994937.20100707092006@ahsoftware.net> <0326998468.20100707101009@ahsoftware.net> Message-ID: On Jul 7, 2010, at 1:10 PM, Mark Wieder wrote: > Wednesday, July 7, 2010, 9:28:01 AM, you wrote: > >> In French we have 2 words for "free" >> free = gratuit (no money !) >> free = libre (open ?) >> ;-) > > Yes, in English as well: "The puppies are free" is quite ambiguous. > But only as and adjective - as a verb this is not the case.... I always thought the New Hampshire state motto had a rather sinister subtext: "Live free or die!" (getting the double-entendre requires that you know that NH prides itself on having very low taxes, and thus very limited social services....) -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From bonnmike at gmail.com Wed Jul 7 18:11:14 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 7 Jul 2010 18:11:14 -0400 Subject: New Window App allows programming for iPhone! In-Reply-To: <45E3E8BE-68EE-4BA7-A03A-53EA32690A59@major.on-rev.com> References: <1278513511579-2280996.post@n4.nabble.com> <7ABE3666-98F1-4608-9E90-D2E3108CA9CE@economy-x-talk.com> <1278518883052-2281129.post@n4.nabble.com> <4C34A782.7050909@gmail.com> <68323994937.20100707092006@ahsoftware.net> <0326998468.20100707101009@ahsoftware.net> <45E3E8BE-68EE-4BA7-A03A-53EA32690A59@major.on-rev.com> Message-ID: LIbationator. Has connotations of religion, and forceful intoxication. Or conversly, to "Arnold the beer" means to terminate it with extreme prejudice. On Wed, Jul 7, 2010 at 2:10 PM, Klaus on-rev wrote: > Hi Andre, > > Am 07.07.2010 um 20:04 schrieb Andre Garzia: > >> I've liberated beer before... what that makes me, a liberator? > > Probably ?a libeerator :-) > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revdev at pdslabs.net Wed Jul 7 19:58:52 2010 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 07 Jul 2010 16:58:52 -0700 Subject: more crashes with Rev 3.5 and above? Message-ID: <4C3514BC.3060703@pdslabs.net> Hi folks, I'm trying to understand the experience one client is having. We moved his Mac-only standalone app from the 3.0 engine to 3.5, then a couple of weeks later to 4.0. Since moving beyond 3.0, his customers seem to be experiencing a lot more "app unexpectedly quit" crashes. Is it just my perception, or is that your experience too? If you have the same increase in crashes, have you found any particular commands or command sequences that either increase or decrease the crash frequency? Or has your crash rate remained unchanged since 3.0? When the problem happens, it's normally during a file read. Like this: -------- from crash log ---------- Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000 Crashed Thread: 0 Dispatch queue: com.apple.main-thread Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 libSystem.B.dylib 0xffff0916 __memcpy + 374 1 libSystem.B.dylib 0x9848de4f fread + 132 2 ...ss.app.rev 0x001405df MCS_read(void*, unsigned int, unsigned int&, IO_header*) + 111 3 ...ss.app.rev 0x001bab88 MCVariableArray::loadkeys(IO_header*, bool) + 744 4 ...ss.app.rev 0x00112eb8 MCObject::load(IO_header*, char const*) + 1880 5 ...ss.app.rev 0x001a15e0 MCStack::load(IO_header*, char const*, unsigned char) + 64 6 ...ss.app.rev 0x00072a0c MCDispatch::readfile(char const*, char const*, IO_header*&, MCStack*&, bool) + 1260 7 ...ss.app.rev 0x00072ed9 MCDispatch::loadfile(char const*, MCStack*&) + 585 8 ...ss.app.rev 0x00073247 MCDispatch::findstackname(MCString const&) + 343 9 ...ss.app.rev 0x00029677 MCChunk::getobj(MCExecPoint&, MCObject*&, unsigned int&, unsigned char) + 2103 -------- end of crash log ---------- But the same files are most often read without a problem. This makes me think there's something environmental going on, but that's a guess. Thanks for any responses. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From curry at pair.com Wed Jul 7 21:16:21 2010 From: curry at pair.com (Curry Kenworthy) Date: Wed, 07 Jul 2010 20:16:21 -0500 Subject: more crashes with Rev 3.5 and above? Message-ID: <4C3526E5.4060305@pair.com> > Since moving beyond 3.0, his customers seem to be experiencing > a lot more "app unexpectedly quit" crashes. I've had some crashes and lock-ups with Rev 4.0 Mac, not sure what all patterns. (Rev 4.0 Win is rock-solid.) If you have problems for that standalone you might go back to the 3.0 or 3.5 engine temporarily, then move back up at the next Rev update. File format compatibility between versions is great, isn't it! Best wishes, Curry Kenworthy -- WordLib: Import MS Word and OpenOffice documents http://curryk.com/wordlib.html Need custom software development or RunRev help? http://curryk.com/consulting/ From revdev at pdslabs.net Wed Jul 7 22:47:47 2010 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 07 Jul 2010 19:47:47 -0700 Subject: more crashes with Rev 3.5 and above? In-Reply-To: <4C3526E5.4060305@pair.com> References: <4C3526E5.4060305@pair.com> Message-ID: <4C353C53.3020405@pdslabs.net> On 7/7/10 6:16 PM, Curry Kenworthy wrote: > > Since moving beyond 3.0, his customers seem to be experiencing > > a lot more "app unexpectedly quit" crashes. > > I've had some crashes and lock-ups with Rev 4.0 Mac, not sure what all > patterns. (Rev 4.0 Win is rock-solid.) If you have problems for that > standalone you might go back to the 3.0 or 3.5 engine temporarily, > then move back up at the next Rev update. File format compatibility > between versions is great, isn't it! Yes indeed! Phil > > Best wishes, > > Curry Kenworthy > -- > WordLib: Import MS Word and OpenOffice documents > http://curryk.com/wordlib.html > > Need custom software development or RunRev help? > http://curryk.com/consulting/ -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From peterwawood at gmail.com Thu Jul 8 05:16:22 2010 From: peterwawood at gmail.com (Peter W A Wood) Date: Thu, 8 Jul 2010 17:16:22 +0800 Subject: Writing Externals in Pascal? In-Reply-To: <54324378984.20100707092630@ahsoftware.net> References: <4C319CAA.5050801@smpcs.server101.com> <1278349562223-2278631.post@n4.nabble.com> <4CFE9095-138A-4EC5-A9AA-2AEABD4E2393@gmail.com> <54324378984.20100707092630@ahsoftware.net> Message-ID: <1B098D82-C008-43A5-8216-1C7A05895373@gmail.com> Mark I suspect that writing a dynamic link library for use with Rebol is likely to be easier than writing an external for Revolution. The Rebol language is evaluated not compiled. I found writing a dynamic link library with FPC quite straightforward though I encountered two problems which I have been able to overcome. The first could hinder developing complicated externals for Revolution. FPC does not support error handling in dynamic link libraries, so no try/finally etc.. I believe this is due to the difficulty of coming up with a cross-platform implementation. This limitation can probably be overcome through conservative and defensive coding in most cases. In my case, I perform additional validations in the Rebol module that calls the dynamic link library. The second is that there is a conflict between the Mac OS X Snow Leopard linker and FPC. There is a work around but the resulting dynamic link library is not fully stable. I believe this is something to do with initialisation and termination routines. The workaround is to compile the dynamic link library under Mac OS X Leopard. The dynamic link library is very simple but runs successfully on Windows, Ubuntu and Mac OS X. Regards Peter On 8 Jul 2010, at 00:26, Mark Wieder wrote: > Peter- > > Monday, July 5, 2010, 4:59:11 PM, you wrote: > >> Free Pascal. At the moment, I am testing calling a dynamic load >> library written in Free Pascal from Rebol (a language written in C) >> using C calling conventions. > > Keep us posted on your progress - that's a promising start. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From effendi at wanadoo.fr Thu Jul 8 05:47:41 2010 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Thu, 8 Jul 2010 11:47:41 +0200 Subject: New Window App allows programming for iPhone! Message-ID: <1C5803E7-E2B4-4FF5-8A63-7005154B4592@wanadoo.fr> Hi from Beautiful Brittany, Rene Micout wrote : > In French we have 2 words for "free" > free = gratuit (no money !) > free = libre (open ?) > ;-) Strange - In English we have the same possibilities ! We also have the prime number between two and four :>) "Etonnant - Non ?" http://www.youtube.com/watch?v=SBRospPh4JA Merci ? Pierre Desproges -Francis "Nothing should ever be done for the first time !" From richmondmathewson at gmail.com Thu Jul 8 05:54:20 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 08 Jul 2010 12:54:20 +0300 Subject: New Window App allows programming for iPhone! In-Reply-To: <1C5803E7-E2B4-4FF5-8A63-7005154B4592@wanadoo.fr> References: <1C5803E7-E2B4-4FF5-8A63-7005154B4592@wanadoo.fr> Message-ID: <4C35A04C.3020705@gmail.com> On 07/08/2010 12:47 PM, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > Rene Micout wrote : > >> In French we have 2 words for "free" >> free = gratuit (no money !) >> free = libre (open ?) >> ;-) > > Strange - In English we have the same possibilities ! > > We also have the prime number between two and four :>) > > "Etonnant - Non ?" > > http://www.youtube.com/watch?v=SBRospPh4JA > > Merci ? Pierre Desproges > > -Francis > > "Nothing should ever be done for the first time !" > > There are many parts of the world where there are several "prime numbers" between 2 and 4: certainly in Egypt I found that 'free' was used in the sense of "we'll make free with your money" and "we'll free you of your money" now as far as I can see that is at least 2 prime numbers . . . :) From rene.micout at numericable.com Thu Jul 8 06:00:24 2010 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 8 Jul 2010 12:00:24 +0200 Subject: New Window App allows programming for iPhone! In-Reply-To: <1C5803E7-E2B4-4FF5-8A63-7005154B4592@wanadoo.fr> References: <1C5803E7-E2B4-4FF5-8A63-7005154B4592@wanadoo.fr> Message-ID: <74B1E77B-8D92-42E9-AF28-2C53EE0A4536@numericable.com> Absolument n?cessaire ! :-) + :-) Le 8 juil. 2010 ? 11:47, Francis Nugent Dixon a ?crit : > "Etonnant - Non ?" > > http://www.youtube.com/watch?v=SBRospPh4JA > > Merci ? Pierre Desproges From viktoras at ekoinf.net Thu Jul 8 06:22:07 2010 From: viktoras at ekoinf.net (viktoras d.) Date: Thu, 08 Jul 2010 11:22:07 +0100 Subject: New Window App allows programming for iPhone! In-Reply-To: <1C5803E7-E2B4-4FF5-8A63-7005154B4592@wanadoo.fr> References: <1C5803E7-E2B4-4FF5-8A63-7005154B4592@wanadoo.fr> Message-ID: <4C35A6CF.5050107@ekoinf.net> well, in my language gratuit = nemokamas, libre = laisvas (~4000 000 speakers only) and, as far as I know, in Russian (?????????? & ?????????) you can not translate English word "free" without knowing the exact context it is used in because meanings of these two words never intersect. Strangely we still have prime between 2 and 4 ;-) Viktoras Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > Rene Micout wrote : > >> In French we have 2 words for "free" >> free = gratuit (no money !) >> free = libre (open ?) >> ;-) > > Strange - In English we have the same possibilities ! > > We also have the prime number between two and four :>) > > "Etonnant - Non ?" > > http://www.youtube.com/watch?v=SBRospPh4JA > > Merci ? Pierre Desproges > > -Francis > > "Nothing should ever be done for the first time !" > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From richmondmathewson at gmail.com Thu Jul 8 06:43:47 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 08 Jul 2010 13:43:47 +0300 Subject: New Window App allows programming for iPhone! In-Reply-To: <4C35A6CF.5050107@ekoinf.net> References: <1C5803E7-E2B4-4FF5-8A63-7005154B4592@wanadoo.fr> <4C35A6CF.5050107@ekoinf.net> Message-ID: <4C35ABE3.4090202@gmail.com> On 07/08/2010 01:22 PM, viktoras d. wrote: > well, in my language gratuit = nemokamas, libre = laisvas (~4000 000 > speakers only) and, as far as I know, in Russian (?????????? & > ?????????) you can not translate English word "free" without knowing > the exact context it is used in because meanings of these two words > never intersect. Strangely we still have prime between 2 and 4 ;-) > > Viktoras > The Russians have had problems with the concept for freedom for many years . . . :) George Orwell knew all about that. However ????????? means that it costs no money, (?? ??????? - paying) and ???????? means unrestricted, as in ??????? ????; a woman unfettered by the bonds of marriage or social convention. Just to make it "more fun" in Bulgarian there is a contrast between: ??????? and ????????; the latter meaning completely unrestricted freedom without any sense of self-control. However: ??? ???? ???? ?? ???? ? ???? ? ??? ?????? ?????? ! ????????, ??????? ???????. From richmondmathewson at gmail.com Thu Jul 8 11:29:26 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 08 Jul 2010 18:29:26 +0300 Subject: Devawriter Pro Message-ID: <4C35EED6.1060509@gmail.com> Gosh, there's that professorship in Sanskrit poetry at the University of Vaikuntha just coming up; wouldn't your Mum be proud! Ahh; but Devawriter Pro demo 3 is export-crippled so I cannot send a sample of my Sanskrit poems in the post. Fear Not! 'Tis Devawriter Pro Demo 3.1 folks . . . :) With new, improved Tilaka. And for those of you who are getting "FFFed off" the use of function keys 'F2' and 'F3' for toggling between consonants and vowels has been replaced by a bidirectional TAB key. More hidden benefits under the hood. And. . . An export-crippled (RTF and JPG now functional) Demo version of my 3.1 release candidate is available here: http://andregarzia.on-rev.com/richmond/dwriterpro.html go, get it, and get typing; before you know it you'll bag that professorship. Oh, Yes, 'Hamsadutta', don't forget to sign the poems calligraphically witha swan's feather. sincerely, Richmond Mathewson. From alex at a2technology.com Thu Jul 8 12:03:08 2010 From: alex at a2technology.com (Alex Adams) Date: Thu, 08 Jul 2010 09:03:08 -0700 Subject: RunRev 4.5 compiled (NOT) running on Windows 2000 Message-ID: I just got some feedback from customer trying to run one of our apps compiled in runRev 4.5 on Windows 2000. I forgot there ever was such a version of Windows! The app doesn?t launch successfully. I assume this is a bad match for our app and there?s nothing we can do but suggest the guy get a new computer? We certainly have no way of testing on a system that old. Does anyone have any experience with this? -- Alex Adams hawkVision ? tools for solving Wicked Problems (a)2 Technology Partners, Inc. 831-726-8013 alex at a2technology.com hawkVisionInfo.wordpress.com universalConnector.wordpress.com From mwieder at ahsoftware.net Thu Jul 8 12:14:12 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 8 Jul 2010 09:14:12 -0700 Subject: RunRev 4.5 compiled (NOT) running on Windows 2000 In-Reply-To: References: Message-ID: <82410041343.20100708091412@ahsoftware.net> Alex- Rev 4.5 is still in a very buggy developer release version. You shouldn't be trying to ship apps to real customers using it. -- -Mark Wieder mwieder at ahsoftware.net From alex at a2technology.com Thu Jul 8 12:23:22 2010 From: alex at a2technology.com (Alex Adams) Date: Thu, 08 Jul 2010 09:23:22 -0700 Subject: RunRev 4.5 compiled (NOT) running on Windows 2000 In-Reply-To: <82410041343.20100708091412@ahsoftware.net> Message-ID: This is a controlled distribution with consenting participants and have had no issues on other than Windows 2000. -- Alex Adams hawkVision ? tools for solving Wicked Problems (a)2 Technology Partners, Inc. 831-726-8013 alex at a2technology.com hawkVisionInfo.wordpress.com universalConnector.wordpress.com > From: Mark Wieder > Organization: Ah, Software > Reply-To: How to use Revolution > Date: Thu, 8 Jul 2010 09:14:12 -0700 > To: How to use Revolution > Subject: Re: RunRev 4.5 compiled (NOT) running on Windows 2000 > > Alex- > > Rev 4.5 is still in a very buggy developer release version. You > shouldn't be trying to ship apps to real customers using it. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From st.king42 at ntlworld.com Thu Jul 8 13:23:35 2010 From: st.king42 at ntlworld.com (Steve King) Date: Thu, 8 Jul 2010 18:23:35 +0100 Subject: Build settings for Mac OSX - feedback In-Reply-To: <20100707124926.01DD42882E8@mail.runrev.com> References: <20100707124926.01DD42882E8@mail.runrev.com> Message-ID: <558036883EAA47E9A44123B6BCF6D6A7@Home> Dear All, Thanks for your help on icons and standalone builder for a windows built deployment on OSX Did my first test installation on a friends mac yesterady, and it worked (sort of). Firstly, iconfx built the icons fine, so building mac icons with iconfx in windows works well The execution bit. Interestingly, this wasn't needed. I just dragged the bundle over (as created by Rev using guidance from Jacqueline) and double clicked the executable and it ran all on its own! The problem. My application is built to save two files (text) with extensions SAC and SACp. These are saved (in windows) in a folder under my documents so I use specialfolderpath for this. The files save though not quite in the right place, but this is probably due to some minor fix I need to make with specialfolders. The problem is loading them back. When I use the ask prompt, the saved file is present in the dialogue box but in light grey so I can't select it (click on it) to load it. I have another file (preferences) that the program saves and loads itself and interestingly this works seemlessly, so it seems to be only a problem when using the dialogue. Is it something to do wioth doc types and extensions? In the builder I declared Type and extension as SAC, SACP. Any suggestions appreciated Cheers Steve From revdev at pdslabs.net Thu Jul 8 13:32:51 2010 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 08 Jul 2010 10:32:51 -0700 Subject: garbage collection Message-ID: <4C360BC3.3090404@pdslabs.net> Hi folks, Almost a year ago I posted the following with no response, and now the need to know has come up again: > In ancient times I used the hasMemory() function to force garbage > collection and free up memory. But maybe it only worked that way in > SuperCard... can anyone comment on its effectiveness in Revolution? Any takers? -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From bill at bluewatermaritime.com Thu Jul 8 13:55:14 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Thu, 8 Jul 2010 13:55:14 -0400 Subject: garbage collection In-Reply-To: <4C360BC3.3090404@pdslabs.net> References: <4C360BC3.3090404@pdslabs.net> Message-ID: Phil I've been using a fairly complex system of stacks for years now in RunRev and never heard of or felt a need for freeing up memory. It seems to me it allocates a certain amount on start-up and stays that way through out. Of course all my data is stored separately in an external database (valentina). Bill On Thu, Jul 8, 2010 at 1:32 PM, Phil Davis wrote: > Hi folks, > > Almost a year ago I posted the following with no response, and now the need > to know has come up again: >> >> In ancient times I used the hasMemory() function to force garbage >> collection and free up memory. But maybe it only worked that way in >> SuperCard... can anyone comment on its effectiveness in Revolution? > > Any takers? > -- > Phil Davis > > PDS Labs > Professional Software Development > http://pdslabs.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.bluewatermaritime.com From benr_mc at cogapp.com Thu Jul 8 14:10:50 2010 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 08 Jul 2010 19:10:50 +0100 Subject: garbage collection In-Reply-To: References: <4C360BC3.3090404@pdslabs.net> Message-ID: <4C3614AA.9020200@cogapp.com> I fear that this sentence from the dictionary entry for hasMemory is correct: This function is only partially implemented, and may not return useful values on some platforms. It is included in Revolution for compatibility with imported SuperCard projects. See also http://quality.runrev.com/qacenter/show_bug.cgi?id=6791 Poor memory handling is, for me, one of the biggest reasons not to use Rev for certain projects. If it doesn't bite you, you're fine, and one of the great benefits of Rev is not having to worry about memory; but if it does bite you, you're SOL. Also see also http://quality.runrev.com/qacenter/show_bug.cgi?id=2772 Ben On 08/07/2010 18:55, william humphrey wrote: > Phil > > I've been using a fairly complex system of stacks for years now in > RunRev and never heard of or felt a need for freeing up memory. It > seems to me it allocates a certain amount on start-up and stays that > way through out. Of course all my data is stored separately in an > external database (valentina). > > Bill > > On Thu, Jul 8, 2010 at 1:32 PM, Phil Davis wrote: >> Hi folks, >> >> Almost a year ago I posted the following with no response, and now the need >> to know has come up again: >>> >>> In ancient times I used the hasMemory() function to force garbage >>> collection and free up memory. But maybe it only worked that way in >>> SuperCard... can anyone comment on its effectiveness in Revolution? >> >> Any takers? >> -- >> Phil Davis >> >> PDS Labs >> Professional Software Development >> http://pdslabs.net From richmondmathewson at gmail.com Thu Jul 8 14:19:36 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 08 Jul 2010 21:19:36 +0300 Subject: [OT] G4 goes West Message-ID: <4C3616B8.606@gmail.com> Umwhiles I promised I would post pictures of my PPC Mac's "triple-bypass". Here they are: http://andregarzia.on-rev.com/richmond/maxx.html sincerely, Richmond Mathewson. From revdev at pdslabs.net Thu Jul 8 14:29:59 2010 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 08 Jul 2010 11:29:59 -0700 Subject: garbage collection In-Reply-To: <4C3614AA.9020200@cogapp.com> References: <4C360BC3.3090404@pdslabs.net> <4C3614AA.9020200@cogapp.com> Message-ID: <4C361927.1030005@pdslabs.net> Thanks guys. I know garbage collection is pretty reliable when long-running code is structured to take advantage of timers ("send to in