From david at vaudevillecourt.tv Wed Dec 1 10:01:05 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Wed, 1 Dec 2010 15:01:05 +0000 Subject: How to make a square topped, round rect bottomed graphic? Message-ID: What is the most efficient way to make this? I thought I could have a polygon graphic which was opaque but not joined up and use that to add square corners to a roundrect graphic background - but it seems that every time I make it opaque it automatically joins the graphic points. What I want to be able to do is have a vector graphic which has the option to have rounded corners on either or both the top and bottom, whcih I can script. The most efficient way I can thin of doing it at the moment is to have a background roundrect graphic, on top of which I can place a polygon line to create square corners, and a white opaque graphic just inside the square boundary to cover up the round corners? Is there a better way? From janschenkel at yahoo.com Wed Dec 1 10:17:15 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 1 Dec 2010 07:17:15 -0800 (PST) Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: Message-ID: <84501.18615.qm@web65406.mail.ac4.yahoo.com> --- On Wed, 12/1/10, David Bovill wrote: > What is the most efficient way to > make this? I thought I could have a > polygon graphic which was opaque but not joined up and use > that to add > square corners to a roundrect graphic background - but it > seems that every > time I make it opaque it automatically joins the graphic > points. > > What I want to be able to do is have a vector graphic which > has the option > to have rounded corners on either or both the top and > bottom, whcih I can > script. The most efficient way I can thin of doing it at > the moment is to > have a background roundrect graphic, on top of which I can > place a polygon > line to create square corners, and a white opaque graphic > just inside the > square boundary to cover up the round corners? > > Is there a better way? > The easiest solution is to use two graphics and strategic grouping to take care of clipping: 1 Rectangle graphic, grouped to clip off the top or bottom half 1 RoundRect graphic, grouped to clip off the top or bottom half Then group these two groups and script a behavior to handle resizeControl messages and provide setProp handlers that control the inner groups. Play around with gradients and graphic effects to finish off. At least that's how I've done it ;-) Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From richmondmathewson at gmail.com Wed Dec 1 10:48:35 2010 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 01 Dec 2010 17:48:35 +0200 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: References: Message-ID: <4CF66E53.5060402@gmail.com> On 12/01/2010 05:01 PM, David Bovill wrote: > What is the most efficient way to make this? I thought I could have a > polygon graphic which was opaque but not joined up and use that to add > square corners to a roundrect graphic background - but it seems that every > time I make it opaque it automatically joins the graphic points. > > What I want to be able to do is have a vector graphic which has the option > to have rounded corners on either or both the top and bottom, whcih I can > script. The most efficient way I can thin of doing it at the moment is to > have a background roundrect graphic, on top of which I can place a polygon > line to create square corners, and a white opaque graphic just inside the > square boundary to cover up the round corners? > > Is there a better way? > _______________________________________________ What follows is a personal fantasy: on mouseUp set the roundRadius of parameter 1 of graphic "WONKY" to 0 set the roundRadius of parameter 2 of graphic "WONKY" to 0 set the roundRadius of parameter 3 of graphic "WONKY" to 50 set the roundRadius of parameter 4 of graphic "WONKY" to 50 end mouseUp SADLY, it is ONLY a fantasy . . . :( From david at vaudevillecourt.tv Wed Dec 1 10:51:32 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Wed, 1 Dec 2010 15:51:32 +0000 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: <84501.18615.qm@web65406.mail.ac4.yahoo.com> References: <84501.18615.qm@web65406.mail.ac4.yahoo.com> Message-ID: Ah - that sounds good. And I guess if the two groups have the same rect and the same gradient everything lines up nicely! On 1 December 2010 15:17, Jan Schenkel wrote: > --- On Wed, 12/1/10, David Bovill wrote: > > What is the most efficient way to > > make this? I thought I could have a > > polygon graphic which was opaque but not joined up and use > > that to add > > square corners to a roundrect graphic background - but it > > seems that every > > time I make it opaque it automatically joins the graphic > > points. > > > > What I want to be able to do is have a vector graphic which > > has the option > > to have rounded corners on either or both the top and > > bottom, whcih I can > > script. The most efficient way I can thin of doing it at > > the moment is to > > have a background roundrect graphic, on top of which I can > > place a polygon > > line to create square corners, and a white opaque graphic > > just inside the > > square boundary to cover up the round corners? > > > > Is there a better way? > > > > The easiest solution is to use two graphics and strategic grouping to take > care of clipping: > 1 Rectangle graphic, grouped to clip off the top or bottom half > 1 RoundRect graphic, grouped to clip off the top or bottom half > Then group these two groups and script a behavior to handle resizeControl > messages and provide setProp handlers that control the inner groups. > Play around with gradients and graphic effects to finish off. > > At least that's how I've done it ;-) > > Jan Schenkel. > ===== > Quartam Reports & PDF Library for LiveCode > www.quartam.com > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." > (La Rochefoucauld) > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From david at vaudevillecourt.tv Wed Dec 1 10:55:37 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Wed, 1 Dec 2010 15:55:37 +0000 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: <4CF66E53.5060402@gmail.com> References: <4CF66E53.5060402@gmail.com> Message-ID: Have you seen these (I've not played with them myself): the joinStyle of graphic ... > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Specifies how corners between lines are drawn. It can be one of the > following: > - bevel: a straight line is drawn between the outer edges of the > adjoining lines > - round: a circular arc is drawn between the outer edges of the > adjoining lines > - miter: outer edges are extended to meet at a sharp point. If the > distance from the corner exceeds the miter limit (see below), a bevel join > is used for the corner. > > Note: This only affects polygon, freehand curve and line graphics which > have their antialiased set to true. > > > the miterLimit of graphic ... > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Specifies how much miter joins are allowed to extend beyond the meeting > point of the two lines. The miterLimit is specified as a real multiple of > the line width. > > Note: This only affects polygon, freehand curve and line graphics which > have their antialiased set to true. > > > the capStyle of graphic ... > ~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Specifies how the line ends (and dash ends) will be drawn. It can be one > of the following: > - butt: no cap is added > - square: the edge is extended beyond the end-point by half the line > width > - round: lines are ended by a half-circle centered at the end point of > the line > > Note: This only affects polygon, freehand curve and line graphics which > have their antialiased set to true. > On 1 December 2010 15:48, Richmond wrote: > What follows is a personal fantasy: > > on mouseUp > set the roundRadius of parameter 1 of graphic "WONKY" to 0 > set the roundRadius of parameter 2 of graphic "WONKY" to 0 > set the roundRadius of parameter 3 of graphic "WONKY" to 50 > set the roundRadius of parameter 4 of graphic "WONKY" to 50 > end mouseUp > > SADLY, it is ONLY a fantasy . . . :( > Or a sad fantasy :) From richmondmathewson at gmail.com Wed Dec 1 11:05:50 2010 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 01 Dec 2010 18:05:50 +0200 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: References: <4CF66E53.5060402@gmail.com> Message-ID: <4CF6725E.8060608@gmail.com> On 12/01/2010 05:55 PM, David Bovill wrote: > Have you seen these (I've not played with them myself): > > the joinStyle of graphic ... >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> Specifies how corners between lines are drawn. It can be one of the >> following: >> - bevel: a straight line is drawn between the outer edges of the >> adjoining lines >> - round: a circular arc is drawn between the outer edges of the >> adjoining lines >> - miter: outer edges are extended to meet at a sharp point. If the >> distance from the corner exceeds the miter limit (see below), a bevel join >> is used for the corner. >> >> Note: This only affects polygon, freehand curve and line graphics which >> have their antialiased set to true. >> >> >> the miterLimit of graphic ... >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> Specifies how much miter joins are allowed to extend beyond the meeting >> point of the two lines. The miterLimit is specified as a real multiple of >> the line width. >> >> Note: This only affects polygon, freehand curve and line graphics which >> have their antialiased set to true. >> >> >> the capStyle of graphic ... >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> Specifies how the line ends (and dash ends) will be drawn. It can be one >> of the following: >> - butt: no cap is added >> - square: the edge is extended beyond the end-point by half the line >> width >> - round: lines are ended by a half-circle centered at the end point of >> the line >> >> Note: This only affects polygon, freehand curve and line graphics which >> have their antialiased set to true. >> > > On 1 December 2010 15:48, Richmond wrote: > >> What follows is a personal fantasy: >> >> on mouseUp >> set the roundRadius of parameter 1 of graphic "WONKY" to 0 >> set the roundRadius of parameter 2 of graphic "WONKY" to 0 >> set the roundRadius of parameter 3 of graphic "WONKY" to 50 >> set the roundRadius of parameter 4 of graphic "WONKY" to 50 >> end mouseUp >> >> SADLY, it is ONLY a fantasy . . . :( >> > Or a sad fantasy :) > _______________________________________________ The problem is that one can apply roundRadius, joinStyle and so on in what we could term a 'global' fashion insofar as they refer to all the extremities on a polygon graphic. It might not be a bad idea to consider implementing the ability to manipulate corners (e.g. via roundRadius) individually in a future version of Livecode. From bvg at mac.com Wed Dec 1 11:05:59 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 01 Dec 2010 17:05:59 +0100 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: References: <4CF66E53.5060402@gmail.com> Message-ID: yes but those only work for a single graphic at a time, not for every corner individually. how about using a freehand polygon, and calculating the rounded corners yourself? might be worth the effort, if you desperately need it to be a single object. On 1 Dec 2010, at 16:55, David Bovill wrote: > Have you seen these (I've not played with them myself): > > the joinStyle of graphic ... >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> Specifies how corners between lines are drawn. It can be one of the >> following: >> - bevel: a straight line is drawn between the outer edges of the >> adjoining lines >> - round: a circular arc is drawn between the outer edges of the >> adjoining lines >> - miter: outer edges are extended to meet at a sharp point. If the >> distance from the corner exceeds the miter limit (see below), a bevel join >> is used for the corner. >> >> Note: This only affects polygon, freehand curve and line graphics which >> have their antialiased set to true. >> >> >> the miterLimit of graphic ... >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> Specifies how much miter joins are allowed to extend beyond the meeting >> point of the two lines. The miterLimit is specified as a real multiple of >> the line width. >> >> Note: This only affects polygon, freehand curve and line graphics which >> have their antialiased set to true. >> >> >> the capStyle of graphic ... >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> Specifies how the line ends (and dash ends) will be drawn. It can be one >> of the following: >> - butt: no cap is added >> - square: the edge is extended beyond the end-point by half the line >> width >> - round: lines are ended by a half-circle centered at the end point of >> the line >> >> Note: This only affects polygon, freehand curve and line graphics which >> have their antialiased set to true. >> > > > On 1 December 2010 15:48, Richmond wrote: > >> What follows is a personal fantasy: >> >> on mouseUp >> set the roundRadius of parameter 1 of graphic "WONKY" to 0 >> set the roundRadius of parameter 2 of graphic "WONKY" to 0 >> set the roundRadius of parameter 3 of graphic "WONKY" to 50 >> set the roundRadius of parameter 4 of graphic "WONKY" to 50 >> end mouseUp >> >> SADLY, it is ONLY a fantasy . . . :( >> > > Or a sad fantasy :) > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bill at bluewatermaritime.com Wed Dec 1 11:09:33 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Wed, 1 Dec 2010 12:09:33 -0400 Subject: making graphic that looks like the livecode tab menu on mac os x In-Reply-To: References: <432B070A-6D2D-4766-A4B5-46CB6BA4757C@economy-x-talk.com> Message-ID: Thanks Terry. That's what I was trying to do. But I hadn't realized you could do it with any grouped objects as well. On Tue, Nov 30, 2010 at 7:57 PM, Terry Judd wrote: > You can get a pretty good approximation using a roundRect graphic as > well... > > BackgroundColor = "230,230,230" > ForegroundColor = "179,179,179" > BlendLevel 50% > InnerGlow color="0,0,0", opacity=100, size=10 > InnerShadow color="0,0,0", opacity=100, size=2, distance=4, angle=90 > > Terry... > > > On 1/12/10 10:48 AM, "Mark Schonewille" > wrote: > > > Hi William, > > > > Probably, you want to create a group and set the opaque and the > showborder of > > the group to true. > > > > -- > > Best regards, > > > > Mark Schonewille > > > > Economy-x-Talk Consulting and Software Engineering > > Homepage: http://economy-x-talk.com > > Twitter: http://twitter.com/xtalkprogrammer > > KvK: 50277553 > > > > How to receive a free Color Converter license http://qurl.tk/kv (read > the > > conditions) > > > > On 1 dec 2010, at 00:42, william humphrey wrote: > > > >> Hi > >> > >> Does anyone know how to make that nice transparent inner shaded graphic > that > >> is created when you make a tab menu (without the tabs). > >> > >> Thanks! > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Dr Terry Judd | Senior Lecturer in Medical Education > Medical Education Unit > Melbourne Medical School > The University of Melbourne > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.bluewatermaritime.com From richmondmathewson at gmail.com Wed Dec 1 11:24:10 2010 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 01 Dec 2010 18:24:10 +0200 Subject: [OT] MacUpdate goes down the pipes??? Message-ID: <4CF676AA.70508@gmail.com> Well? From davidocoker at gmail.com Wed Dec 1 11:29:16 2010 From: davidocoker at gmail.com (David C.) Date: Wed, 1 Dec 2010 10:29:16 -0600 Subject: [OT] MacUpdate goes down the pipes??? In-Reply-To: <4CF676AA.70508@gmail.com> References: <4CF676AA.70508@gmail.com> Message-ID: On Wed, Dec 1, 2010 at 10:24 AM, Richmond wrote: > Well? I don't own or use a Mac, but this domain: http://www.macupdate.com/ ...works well on this end. Best regards, David C. From richmondmathewson at gmail.com Wed Dec 1 11:50:29 2010 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 01 Dec 2010 18:50:29 +0200 Subject: [OT] MacUpdate goes down the pipes??? In-Reply-To: References: <4CF676AA.70508@gmail.com> Message-ID: <4CF67CD5.9070702@gmail.com> On 12/01/2010 06:29 PM, David C. wrote: > On Wed, Dec 1, 2010 at 10:24 AM, Richmond wrote: >> Well? > I don't own or use a Mac, but this domain: http://www.macupdate.com/ > ...works well on this end. > > Best regards, > David C. > > _______________________________________________ "We're sorry, but we are currently performing system maintenance. Please check back soon" for 24 hours over here: maybe they are just being "pondist" . . . :) From lvhdgc7 at gmail.com Wed Dec 1 11:54:04 2010 From: lvhdgc7 at gmail.com (tbodine) Date: Wed, 1 Dec 2010 08:54:04 -0800 (PST) Subject: New to List - Suggestions for 2D character animation? In-Reply-To: <1291144192716-3065990.post@n4.nabble.com> References: <1291144192716-3065990.post@n4.nabble.com> Message-ID: <1291222444115-3067656.post@n4.nabble.com> Nabble looks like the way to go. Thanks Alejandro! -- Tom Bodine Alejandro Tejada wrote: > > Or use Nabble to read and post messages to this list: > http://runtime-revolution.278305.n4.nabble.com/ > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/New-to-List-Suggestions-for-2D-character-animation-tp3062788p3067656.html Sent from the Revolution - User mailing list archive at Nabble.com. From janschenkel at yahoo.com Wed Dec 1 12:24:51 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 1 Dec 2010 09:24:51 -0800 (PST) Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: Message-ID: <623295.29198.qm@web65404.mail.ac4.yahoo.com> --- On Wed, 12/1/10, David Bovill wrote: > Ah - that sounds good. And I guess if > the two groups have the same rect and > the same gradient everything lines up nicely! > Erm, the graphics would have the same rect, but the 'inner' groups are each half of the full height of the 'outer' custom control group, thus clipping their content (use 'lockLocation' to prevent them from resizing to the bounds of the graphic they contain). Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From harald at etcpp.de Wed Dec 1 12:52:50 2010 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Wed, 1 Dec 2010 18:52:50 +0100 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: <623295.29198.qm@web65404.mail.ac4.yahoo.com> References: <623295.29198.qm@web65404.mail.ac4.yahoo.com> Message-ID: If you want to be flexible, you could place a circle with the desired radius at each corner (or a square if wanted) and then draw a polygon from the relevant points (from the middle top of the circle at the topleft to the middle top of circle at topright and so on). The resulting group of elements could have a different radius at each corner if wanted. This would work for plain colors. To get a border for this group you could duplicate the group with the desired border color, resize it and place it behind the first group. No gradients possible with this solution, as far as I see. Best regards, Harald M?ller. | Harald M?ller (www.etcpp.de) | Theodor-K?rner-Stra?e 4, 97072 W?rzburg | Telefon + 49-[0]931-329090-42 From bobs at twft.com Wed Dec 1 13:04:19 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 1 Dec 2010 10:04:19 -0800 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: References: <623295.29198.qm@web65404.mail.ac4.yahoo.com> Message-ID: <4C1A2313-A134-44BE-A56D-35BA97C6D03F@twft.com> This is rhetorical, but I wonder if the issue is that the engine cannot render such an object, or that there are no tools capable of making one natively. If it is only the latter, then maybe a good future enhancement would be the ability to import eps vector objects. That way you could make what you wanted in something like Illustrator and then import it. If it did not need to remain a vector graphic, then it seems you could draw anything in an illustration app and then export it as a png. But you already knew that. Bob On Dec 1, 2010, at 9:52 AM, Harald M?ller wrote: > If you want to be flexible, you could place a circle with the desired radius at each corner (or a square if wanted) and then draw a polygon from the relevant points (from the middle top of the circle at the topleft to the middle top of circle at topright and so on). The resulting group of elements could have a different radius at each corner if wanted. This would work for plain colors. > > To get a border for this group you could duplicate the group with the desired border color, resize it and place it behind the first group. > > No gradients possible with this solution, as far as I see. > > Best regards, > Harald M?ller. > > | Harald M?ller (www.etcpp.de) > | Theodor-K?rner-Stra?e 4, 97072 W?rzburg > | Telefon + 49-[0]931-329090-42 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Wed Dec 1 13:09:54 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 1 Dec 2010 10:09:54 -0800 Subject: SQLite Locking In-Reply-To: <5954B5D9-C71D-4B77-98D4-A8D912D3D004@mollysrevenge.com> References: <0D6AA4CF-0154-4F85-B30A-2B9A724C1B8D@twft.com> <074DE11A-425C-47AE-91C2-06D1D3598E62@mollysrevenge.com> <222152BF-78B4-4345-8F39-DF3E73DEAB95@twft.com> <5954B5D9-C71D-4B77-98D4-A8D912D3D004@mollysrevenge.com> Message-ID: NVM I tried it. I guess it's only a shell command. Still, you might wanna try shelling into the database before opening it and executing this command. Check out this link: http://www.sqlite.org/sqlite.html Bob > Have you tried this? > > .timeout MS Try opening locked tables for MS milliseconds > > Set that to 2000 for a 2 second "retry" on the cheap maybe? > > Bob > > > On Nov 30, 2010, at 4:13 PM, Peter Haworth wrote: > >> Good idea, but it got thrown back with an error. It's not a valid SQL statement, just something the tcl/c api understands I think. Not a big deal though, it's pretty easy to set that timeout loop in within LC. >> >> Pete Haworth >> >> On Nov 30, 2010, at 12:05 PM, Bob Sneidar wrote: >> >>> Did you try to issue this as a query, with and without substituting db1 with your database name? >>> >>> Bob >>> >>> >>> On Nov 29, 2010, at 4:46 PM, Peter Haworth wrote: >>> >>>>> db1 timeout 2000 >>>>> The argument to the timeout method is the maximum number of milliseconds to wait for the lock to clear. So in the example above, the maximum delay would be 2 seconds. >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From irog at mac.com Wed Dec 1 13:47:58 2010 From: irog at mac.com (Roger Guay) Date: Wed, 01 Dec 2010 10:47:58 -0800 Subject: [ANN] ZoneMatic - A Food Diary to Monitor Zone Diet In-Reply-To: References: Message-ID: <4344AC06-DBB0-48C3-931D-CFB609033E62@mac.com> Howdy, I just uploaded my latest work to RevOnline, a food diary called ZoneMatic . It is focussed on the Zone Diet popularized by biochemist Dr. Barry Sears, hence its name. Using this tool has helped me loose 8 to 10 pounds in about 6 weeks (how practical is that?), and have fun doing it. It uses totally editable pick lists from which you click and drag items into your Morning, Afternoon and Evening food consumed fields. Total calories, carbs, protein and fat are automatically tallied, plus the Carb:Protein:Fat ratio is calculated, which for Zone, should be 40:30:30. Hope you enjoy it as much as I enjoyed developing it. Cheers, Roger Guay From david at vaudevillecourt.tv Wed Dec 1 13:52:59 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Wed, 1 Dec 2010 18:52:59 +0000 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: <4C1A2313-A134-44BE-A56D-35BA97C6D03F@twft.com> References: <623295.29198.qm@web65404.mail.ac4.yahoo.com> <4C1A2313-A134-44BE-A56D-35BA97C6D03F@twft.com> Message-ID: ? I'm just starting on doing this - but it seems to me that you need to scroll one of the groups. Maybe that's because I am creating it so the rounded corners can be at the to top or bottom. So clipping the square rect to half way, moving it down, and scrolling it down would show only the bottom half. - which means that effectively the graphic has the same rect but the group windows are different? This means that the gradients can be made identical.... wip... Erm, the graphics would have the same rect, but the 'inner' groups are each > half of the full height of the 'outer' custom control group, thus clipping > their content (use 'lockLocation' to prevent them from resizing to the > bounds of the graphic they contain). > Harald, maybe something like this could work, when mixed with Jans version? That is the overlying graphic rectangle can be clipped and scrolled to mask a single corner of the underlying roundrect graphic. Duplicating this would allow you to individually bevel any corner - not sure but I think for the same reasons as above the gradients would match up when duplicated? On 1 December 2010 17:52, Harald M?ller wrote: > If you want to be flexible, you could place a circle with the desired > radius at each corner (or a square if wanted) and then draw a polygon from > the relevant points (from the middle top of the circle at the topleft to the > middle top of circle at topright and so on). The resulting group of elements > could have a different radius at each corner if wanted. This would work for > plain colors. > Yes - bob I was thinking the same. On a similar vein I came across a large set of svg icons, and was thinking wouldn't it be nice to import these and have them as native LiveGode graphics - putting the two ideas together you should be able to set the border of a group to that of a graphic object? set the shape of control x to the shape of graphic 1? On 1 December 2010 18:04, Bob Sneidar wrote: > This is rhetorical, but I wonder if the issue is that the engine cannot > render such an object, or that there are no tools capable of making one > natively. If it is only the latter, then maybe a good future enhancement > would be the ability to import eps vector objects. That way you could make > what you wanted in something like Illustrator and then import it. > > If it did not need to remain a vector graphic, then it seems you could draw > anything in an illustration app and then export it as a png. But you already > knew that. > > Bob > From toncardona at mac.com Wed Dec 1 13:58:32 2010 From: toncardona at mac.com (Ton Cardona) Date: Wed, 01 Dec 2010 19:58:32 +0100 Subject: Compiling problems Message-ID: <034A27F5-5691-4A74-B020-5297A7BAD914@mac.com> Hi everyone, I have a splash stack that owns a substack that has over 3.500 custom props. When I compile, in Windows I get the mainstack (.exe) and its substack (.rev). Works fine and updates all right. In Mac OS X (v. 10.6.5) I only get one .app: works fine, but shows errors when downloading updates. Could you tell me what am I doing wrong? Thanks in advance for your always useful hints. Ton From richmondmathewson at gmail.com Wed Dec 1 14:03:42 2010 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 01 Dec 2010 21:03:42 +0200 Subject: EPS: was; How to make a square topped, round rect bottomed graphic? In-Reply-To: <4C1A2313-A134-44BE-A56D-35BA97C6D03F@twft.com> References: <623295.29198.qm@web65404.mail.ac4.yahoo.com> <4C1A2313-A134-44BE-A56D-35BA97C6D03F@twft.com> Message-ID: <4CF69C0E.80805@gmail.com> On 12/01/2010 08:04 PM, Bob Sneidar wrote: > This is rhetorical, but I wonder if the issue is that the engine cannot render such an object, or that there are no tools capable of making one natively. If it is only the latter, then maybe a good future enhancement would be the ability to import eps vector objects. That way you could make what you wanted in something like Illustrator and then import it. > Cracked open Metacard 4.0 (as one does) as I seemed to remember something about EPS files: exported an EPS file from Xara Xtreme: Tried to import the EPS file into a stack (no joy with MC 4.0 and the XX EPS on either Mac or Linux). I wonder why there is an EPS import tab there? Tried to import a generic EPS file (downloaded from the internet) on Mac, and crashed MC. Tried MC 2.5; crashed the thing. Now I seem to remember that "Once upon a time" RunRev (an IDE that some Livecode people may vaguely remember) imported EPS images; funny how that capability just vanished off the map without a backwadr glance . . . From irog at mac.com Wed Dec 1 14:17:45 2010 From: irog at mac.com (Roger Guay) Date: Wed, 01 Dec 2010 11:17:45 -0800 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: References: Message-ID: <738701B9-9852-40AF-ADA4-188C0658FE14@mac.com> Howdy, One of the things I remember most fondly about SuperCard was its incredible shrinker/expander polygon tool. With this tool it was a snap to surround a group of objects, for example, and the tool would then automatically generate a new polygon that fit tightly around the original group. As an option, this tool could also expand to fill a void. I have tried to build such tool in Rev but to no avail. I guess I am too much of an amateur! Oh, to have such a tool in Rev/LiveCode!! Cheers, Roger Guay From pete at mollysrevenge.com Wed Dec 1 14:19:24 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 1 Dec 2010 11:19:24 -0800 Subject: SQLite Locking In-Reply-To: References: <0D6AA4CF-0154-4F85-B30A-2B9A724C1B8D@twft.com> <074DE11A-425C-47AE-91C2-06D1D3598E62@mollysrevenge.com> <222152BF-78B4-4345-8F39-DF3E73DEAB95@twft.com> <5954B5D9-C71D-4B77-98D4-A8D912D3D004@mollysrevenge.com> Message-ID: Yep, these dot commands only mean anything to the sqlite3 command line program, not SQlite itslef. I thought of executing a script to issue the .time but honestly, the LC loop is 6 lines of code so it's not a big deal to keep it in LC. STill got to get around to doing my tests over a network though. Pete Haworth On Dec 1, 2010, at 10:09 AM, Bob Sneidar wrote: > NVM I tried it. I guess it's only a shell command. Still, you might > wanna try shelling into the database before opening it and executing > this command. Check out this link: > > http://www.sqlite.org/sqlite.html > > Bob > >> Have you tried this? >> >> .timeout MS Try opening locked tables for MS milliseconds >> >> Set that to 2000 for a 2 second "retry" on the cheap maybe? >> >> Bob >> >> >> On Nov 30, 2010, at 4:13 PM, Peter Haworth wrote: >> >>> Good idea, but it got thrown back with an error. It's not a valid >>> SQL statement, just something the tcl/c api understands I think. >>> Not a big deal though, it's pretty easy to set that timeout loop >>> in within LC. >>> >>> Pete Haworth >>> >>> On Nov 30, 2010, at 12:05 PM, Bob Sneidar wrote: >>> >>>> Did you try to issue this as a query, with and without >>>> substituting db1 with your database name? >>>> >>>> Bob >>>> >>>> >>>> On Nov 29, 2010, at 4:46 PM, Peter Haworth wrote: >>>> >>>>>> db1 timeout 2000 >>>>>> The argument to the timeout method is the maximum number of >>>>>> milliseconds to wait for the lock to clear. So in the example >>>>>> above, the maximum delay would be 2 seconds. >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobs at twft.com Wed Dec 1 14:24:23 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 1 Dec 2010 11:24:23 -0800 Subject: Compiling problems In-Reply-To: <034A27F5-5691-4A74-B020-5297A7BAD914@mac.com> References: <034A27F5-5691-4A74-B020-5297A7BAD914@mac.com> Message-ID: <637A50C2-452F-4BA4-BD1C-9357A829B801@twft.com> I thought that a substack of the main stack was part of the standalone, and therefore not modifiable? I think that you should not have the real stack a substack of the splash stack, but rather an included file. Then all should go as planned. Bob On Dec 1, 2010, at 10:58 AM, Ton Cardona wrote: > Hi everyone, > > I have a splash stack that owns a substack that has over 3.500 custom props. > > When I compile, in Windows I get the mainstack (.exe) and its substack (.rev). Works fine and updates all right. > > In Mac OS X (v. 10.6.5) I only get one .app: works fine, but shows errors when downloading updates. > > Could you tell me what am I doing wrong? > > Thanks in advance for your always useful hints. > > Ton > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Wed Dec 1 14:27:02 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 1 Dec 2010 20:27:02 +0100 Subject: Compiling problems In-Reply-To: <034A27F5-5691-4A74-B020-5297A7BAD914@mac.com> References: <034A27F5-5691-4A74-B020-5297A7BAD914@mac.com> Message-ID: <50D628C2-3728-43BE-AD08-3A8386AEC7AF@major.on-rev.com> Hi Ton, > Hi everyone, > > I have a splash stack that owns a substack that has over 3.500 custom props. > When I compile, in Windows I get the mainstack (.exe) and its substack (.rev). Works fine and updates all right. > In Mac OS X (v. 10.6.5) I only get one .app: works fine, but shows errors when downloading updates. > Could you tell me what am I doing wrong? It would help tremendously fi you could tell what errors exactly you got :-) > Thanks in advance for your always useful hints. > > Ton Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From DunbarX at aol.com Wed Dec 1 14:32:12 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 1 Dec 2010 14:32:12 EST Subject: Compiling problems Message-ID: They are part of the standalone. But it is just the opposite: substacks are not considered to be the executable, and can be modified and saved. This is the standard procedure, the splash screen as mainStack, and the substack(s) as working stacks. In a message dated 12/1/10 2:26:01 PM, bobs at twft.com writes: > I thought that a substack of the main stack was part of the standalone, > and therefore not modifiable? I think that you should not have the real > stack a substack of the splash stack, but rather an included file. Then all > should go as planned. > > From bobs at twft.com Wed Dec 1 14:33:01 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 1 Dec 2010 11:33:01 -0800 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: <738701B9-9852-40AF-ADA4-188C0658FE14@mac.com> References: <738701B9-9852-40AF-ADA4-188C0658FE14@mac.com> Message-ID: <322316E6-25DA-4D64-8EE7-DF0CA3482AD5@twft.com> I think we are up against one of the limitations of LiveCode, which is complex graphics. I am not one who would lobby for support of complex graphics, because I think the limited resources of the LiveCode development team can be better put to use elsewhere. Just my humble opinion. I do think however that complex graphics support is one of the hardest things to implement in any application. Let's suppose LiveCode gave us this kind of vector graphics rendering. Why not 3D modeling next? And if that, then how about 3D animation? I was just remarking to one of my IT people that a certain person we both know never really gets anything done because they took on too much in the beginning, and now are strung out trying to do it all. I hope LiveCode developers do not ever find themselves in this position. Bob On Dec 1, 2010, at 11:17 AM, Roger Guay wrote: > Howdy, > > One of the things I remember most fondly about SuperCard was its incredible shrinker/expander polygon tool. With this tool it was a snap to surround a group of objects, for example, and the tool would then automatically generate a new polygon that fit tightly around the original group. As an option, this tool could also expand to fill a void. > > I have tried to build such tool in Rev but to no avail. I guess I am too much of an amateur! > > Oh, to have such a tool in Rev/LiveCode!! > > Cheers, > Roger Guay > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From glpunzi at lordzealon.com Wed Dec 1 14:49:24 2010 From: glpunzi at lordzealon.com (Giuseppe Luigi Punzi) Date: Wed, 01 Dec 2010 20:49:24 +0100 Subject: How server deploy works? Message-ID: <1291232964.2067.2.camel@casiopea> Hi, How exactly Server deploy works? I understand there are a server thath interprets irev files like PHP does, but... If I do a web application, and I sell this application to various customers, I need to buy server license for each server? or once I have Server deploy bouht, I can deploy as far as I want? Cheers. From david at vaudevillecourt.tv Wed Dec 1 14:54:23 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Wed, 1 Dec 2010 19:54:23 +0000 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: <322316E6-25DA-4D64-8EE7-DF0CA3482AD5@twft.com> References: <738701B9-9852-40AF-ADA4-188C0658FE14@mac.com> <322316E6-25DA-4D64-8EE7-DF0CA3482AD5@twft.com> Message-ID: I tend to agree with you here Bob, I'd prefer more work on media support, and native windows for revBrowser and externals than better native graphics support. However for reasons that I believe are to do with improving the underlying architecture in general, and for supporting better games and other souch applications I think that RunRev are indeed doing a lot already to iprove graphics perfomance and more is doubtless on the way! NB - a combination of Jan's suggestion, and Harals seems to be doing the trick nicely - just testing out that the gradients match (fingers crossed :) On 1 December 2010 19:33, Bob Sneidar wrote: > I think we are up against one of the limitations of LiveCode, which is > complex graphics. I am not one who would lobby for support of complex > graphics, because I think the limited resources of the LiveCode development > team can be better put to use elsewhere. Just my humble opinion. I do think > however that complex graphics support is one of the hardest things to > implement in any application. Let's suppose LiveCode gave us this kind of > vector graphics rendering. Why not 3D modeling next? And if that, then how > about 3D animation? I was just remarking to one of my IT people that a > certain person we both know never really gets anything done because they > took on too much in the beginning, and now are strung out trying to do it > all. I hope LiveCode developers do not ever find themselves in this > position. > Also, if anyone wants to join in with another Live TV event, I'll be showing how to make them, and some tools for simplifying this on Saturday together with Bj?rnke and his amazing field validation routines - not quite sure what time, leaving this up to Bj?rnke :) NB - I'm compiling the beginnings of a collection of iPhone / mobile / tablet widgets for this. So far we've got a "switch" widget, buttons for navigation bars thanks to Bernd, and the above I am using for the iPhone list item group "forms". If anyone else has widgets to contribute, or would like to demo them / how they made them, that would be great! From bonnmike at gmail.com Wed Dec 1 15:12:02 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 1 Dec 2010 13:12:02 -0700 Subject: Compiling problems In-Reply-To: References: Message-ID: The .app is a package (aka special folder) if you right click the .app file in finder and show package contents, the substack should be in there somewhere. Is it possible your updater is looking for it in the wrong place? Also, since when you make the standalone, it shows the substack as a separate file, that means you most likely have "move substacks to individual stack files" checked in the standalone settings (under the stacks tab of the standalone settings) I think it's necessary to make sure it's check to do updates as you're planning, so a double check wouldn't hurt. Other than that, as mentioned above, posting the error would be a help. On Wed, Dec 1, 2010 at 12:32 PM, wrote: > They are part of the standalone. But it is just the opposite: substacks are > not considered to be the executable, and can be modified and saved. This is > the standard procedure, the splash screen as mainStack, and the substack(s) > as working stacks. > > In a message dated 12/1/10 2:26:01 PM, bobs at twft.com writes: > > > > I thought that a substack of the main stack was part of the standalone, > > and therefore not modifiable? I think that you should not have the real > > stack a substack of the splash stack, but rather an included file. Then > all > > should go as planned. > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Wed Dec 1 14:52:12 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 01 Dec 2010 11:52:12 -0800 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: <322316E6-25DA-4D64-8EE7-DF0CA3482AD5@twft.com> Message-ID: Recently, Bob Sneidar wrote: > I think we are up against one of the limitations of LiveCode, which is complex > graphics. I am not one who would lobby for support of complex graphics, > because I think the limited resources of the LiveCode development team can be > better put to use elsewhere. Just my humble opinion. I do think however that > complex graphics support is one of the hardest things to implement in any > application. Let's suppose LiveCode gave us this kind of vector graphics > rendering. Why not 3D modeling next? And if that, then how about 3D animation? > I was just remarking to one of my IT people that a certain person we both know > never really gets anything done because they took on too much in the > beginning, and now are strung out trying to do it all. I hope LiveCode > developers do not ever find themselves in this position. I will counter your argument and say better (not necessarily complex) graphics are in fact needed. One of the most important features needed right away (actually for years now) is sub-pixel positioning of objects. This capability would make for smoother, better looking graphics, better rotation of objects, and potentially better looking text. If sub-pixel positioning was available, manually creating curves point-by-point, even though tedious, would look much better. The current full pixel coordinate system for points is too chunky. While 3D is it's own area of challenge, a LiveCode solution already exists for this -- Franklin3D. Regards, Scott Rossi Creative Director Tactile Media, UX Design From andre at andregarzia.com Wed Dec 1 16:00:09 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 1 Dec 2010 19:00:09 -0200 Subject: [OT-Semi] On Linux, Permissions and Madness Message-ID: Folks, Here goes a cautionary tale about madness, linux, php and huge web development support task at hand. As many here know, I've got a part time job writing PHP code for a company here in Brazil. The product I work is a web application for email marketing (a.k.a. spam) and is used by many of the biggest companies in Brazil to send their newsletters, promotions and general stuff you'd rather not be receiving (by the way, our OptOut works). Our main web interface machine was an old slackware (slax64) box but we were doing all our development under CentOS. There is only my boss and me here on this mailsending coding business. We decided that this made no sense at all and decided to upgrade the main interface machine to CentOS. The process was done during a weekend and it was working fine until the middle of the day of wednesday when lots of features started breaking. After some investigation, we noticed that our PHP code was receiving a "permission denied" error whenever it tried to execute some external command, like doing shell() with LiveCode. We used a lot of shell commands to call Tidy utility to validade HTML, to call SpamAssassin to evaluate what would be sent for spam potential and more. Our first thought was to check if we had php safe_mode on, which is like LiveCode secure mode. It was off. Then we checked suEXEC but it was ok and we started checking everything possible under the sun. I am familiar with linux and know my way around and I could see nothing wrong. All the binaries had the correct permission set and were owned by the correct groups and users. We lost two days searching for it and this includes going to sleep at 2:00 AM trying to find why "permission denied" was there. The clients were going crazy too. Today I came early to the office and started working on this trouble but could not find why the problem was happening. We started trying heroic solutions. Heroic solutions are the ones you are sure will never work but you try them our of desperation with faith in the remote possibility they might solve something. No heroes here. We even upgraded the development box to run the exact same version of CentOS to try to replicate the problem but we could not. I've launched Apache server with strace enabled to track all the system calls being done. I did this on a production server with massive access. I went crazy reading the logs and seeing those silly: stat("/usr/sbin/sh", 0x7fff52c83180) = -1 EACCES (Permission denied) I've spent days and hours on this one. Then at 6:30 PM, out of desperation I decided to re-check all the permissions while trying to execute /usr/bin/tidy. Tidy was 755 so it was correct, the bin folder was correct as well, so I went on to check "/" which would be madness if it had the wrong perms, 755, right, so I went to check the "usr" folder... OH HOLLY HACK!!!!! The "usr" folder has perms 644, which means that the whole system was somewhat compromissed because no one would be able to execute anything. But since the permission is a 6xx, it means that the root user could execute stuff, that is why the system was still answering to me thru ssh and things appeared normal, it only failed for the other users, since there were no other user but root and apache and nobody, we never thought of that. Somehow, something, something EVIL changed the permissions there and it took us three days to figure out that up in the chain a folder had no execute permission. So the next time, something does not execute on your linux box, check all the perms, from the root / folder down to the binary, somewhere in the middle might be a 644 and you will not loose time like I did. This was really hard to find.... andre PS: I *NEED* a vacation... -- http://www.andregarzia.com All We Do Is Code. From bvlahos at mac.com Wed Dec 1 16:16:20 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 01 Dec 2010 13:16:20 -0800 Subject: Mac app to read system log file In-Reply-To: <4CED8751.1030104@pdslabs.net> References: <4CED8751.1030104@pdslabs.net> Message-ID: Phil, That works perfectly. In my program I will be importing many files at once using drag and drop. The code below works fine except that it asks for authentication for each file as it loops through them. Is there a way I can issue the elevated command so that it only asks me once? on dragDrop put empty into field "raw" --initializes the field repeat for each line i in the dragdata["files"] if ".local" is in i then --check for correct type of file put "cat" && quote & i & quote into tCommand open elevated process tCommand for read if the result <> empty then exit to top -- user cancelled authentication read from process tCommand until EOF put it & return after field "raw" end if end repeat end dragDrop Thank you very much. Bill Vlahos On Nov 24, 2010, at 1:44 PM, Phil Davis wrote: > on mouseUp > answer file "???" > if it = empty then exit to top > put "cat" && quote & it & quote into tCommand > > open elevated process tCommand for read > if the result <> empty then exit to top -- user canceled > read from process tCommand until EOF > put it into fld 1 > close process tCommand > end mouseUp > > > Happy Thanksgiving! > Phil > > > On 11/24/10 12:04 PM, Bill Vlahos wrote: >> I have a Mac application to read log files that need administrative permission (sudo) to read. How can I prompt for this? >> >> Bill Vlahos >> _________________ >> InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. > > -- > Phil Davis > > PDS Labs > Professional Software Development > http://pdslabs.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harald at etcpp.de Wed Dec 1 16:43:39 2010 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Wed, 1 Dec 2010 22:43:39 +0100 Subject: Wishlist Mobile Plugin iOS In-Reply-To: References: <1291041824113-3063680.post@n4.nabble.com> <1291049853005-3063930.post@n4.nabble.com> Message-ID: <49BE1655-C5BC-4654-A4FD-776CA3F1F0BF@etcpp.de> My top ten wishes: 1) User language detection 2) Activity Indicator 3-10) Automatic resize normal display > retina display with detection of @2x-endings for images and icons. How are your wishes? Best regards, Harald. | Harald M?ller (www.etcpp.de) | Theodor-K?rner-Stra?e 4, 97072 W?rzburg | Telefon + 49-[0]931-329090-42 From bobs at twft.com Wed Dec 1 16:47:05 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 1 Dec 2010 13:47:05 -0800 Subject: [OT-Semi] On Linux, Permissions and Madness In-Reply-To: References: Message-ID: <410484AE-150F-464F-8534-650C3A28EF79@twft.com> Good work Andre. I don't know if Linux has something similar to Propagate Permissions like the Mac OS does. There is also a utility called BatCHMod for the Mac that provides a graphic interface for the chmod command. There may be something similar for Linux. Also, the Mac has a Check Permissions function in the Disk Utility, I wonder if there is something similar for Linux? Bob On Dec 1, 2010, at 1:00 PM, Andre Garzia wrote: > Folks, > > Here goes a cautionary tale about madness, linux, php and huge web > development support task at hand. As many here know, I've got a part time > job writing PHP code for a company here in Brazil. The product I work is a > web application for email marketing (a.k.a. spam) and is used by many of the > biggest companies in Brazil to send their newsletters, promotions and > general stuff you'd rather not be receiving (by the way, our OptOut works). > > Our main web interface machine was an old slackware (slax64) box but we were > doing all our development under CentOS. There is only my boss and me here on > this mailsending coding business. We decided that this made no sense at all > and decided to upgrade the main interface machine to CentOS. The process was > done during a weekend and it was working fine until the middle of the day of > wednesday when lots of features started breaking. > > After some investigation, we noticed that our PHP code was receiving a > "permission denied" error whenever it tried to execute some external > command, like doing shell() with LiveCode. We used a lot of shell commands > to call Tidy utility to validade HTML, to call SpamAssassin to evaluate what > would be sent for spam potential and more. Our first thought was to check if > we had php safe_mode on, which is like LiveCode secure mode. It was off. > Then we checked suEXEC but it was ok and we started checking everything > possible under the sun. I am familiar with linux and know my way around and > I could see nothing wrong. All the binaries had the correct permission set > and were owned by the correct groups and users. We lost two days searching > for it and this includes going to sleep at 2:00 AM trying to find why > "permission denied" was there. The clients were going crazy too. > > Today I came early to the office and started working on this trouble but > could not find why the problem was happening. We started trying heroic > solutions. Heroic solutions are the ones you are sure will never work but > you try them our of desperation with faith in the remote possibility they > might solve something. No heroes here. We even upgraded the development box > to run the exact same version of CentOS to try to replicate the problem but > we could not. > > I've launched Apache server with strace enabled to track all the system > calls being done. I did this on a production server with massive access. I > went crazy reading the logs and seeing those silly: > > stat("/usr/sbin/sh", 0x7fff52c83180) = -1 EACCES (Permission denied) > > I've spent days and hours on this one. Then at 6:30 PM, out of desperation I > decided to re-check all the permissions while trying to execute > /usr/bin/tidy. Tidy was 755 so it was correct, the bin folder was correct as > well, so I went on to check "/" which would be madness if it had the wrong > perms, 755, right, so I went to check the "usr" folder... > > OH HOLLY HACK!!!!! > > The "usr" folder has perms 644, which means that the whole system was > somewhat compromissed because no one would be able to execute anything. But > since the permission is a 6xx, it means that the root user could execute > stuff, that is why the system was still answering to me thru ssh and things > appeared normal, it only failed for the other users, since there were no > other user but root and apache and nobody, we never thought of that. > Somehow, something, something EVIL changed the permissions there and it took > us three days to figure out that up in the chain a folder had no execute > permission. > > So the next time, something does not execute on your linux box, check all > the perms, from the root / folder down to the binary, somewhere in the > middle might be a 644 and you will not loose time like I did. > > This was really hard to find.... > > andre > PS: I *NEED* a vacation... > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Wed Dec 1 16:58:06 2010 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 1 Dec 2010 16:58:06 -0500 Subject: Wishlist Mobile Plugin iOS In-Reply-To: <49BE1655-C5BC-4654-A4FD-776CA3F1F0BF@etcpp.de> References: <1291041824113-3063680.post@n4.nabble.com> <1291049853005-3063930.post@n4.nabble.com> <49BE1655-C5BC-4654-A4FD-776CA3F1F0BF@etcpp.de> Message-ID: Push is a biggie Get rid of the splash screen for non-commercial deployments database support From katir at hindu.org Wed Dec 1 17:04:46 2010 From: katir at hindu.org (Sivakatirswami) Date: Wed, 01 Dec 2010 12:04:46 -1000 Subject: Audio m4a -- Does it play on Windows in a Browser? Message-ID: <4CF6C67E.7090908@hindu.org> If we push an audio through LiveCode Browser window mimetype audio/m4a will it play via the IE web API on a Windows machine? skts From bobs at twft.com Wed Dec 1 17:36:30 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 1 Dec 2010 14:36:30 -0800 Subject: Audio m4a -- Does it play on Windows in a Browser? In-Reply-To: <4CF6C67E.7090908@hindu.org> References: <4CF6C67E.7090908@hindu.org> Message-ID: If it is going to use Windows Media Player, I don't think so. I read an press release from Microsoft a few years back when Apple first began using M4A, that Microsoft had no plans for supporting the M4A format, not did they foresee doing so in the future. If they have changed I am unaware of it. But who cares? Have them install Quicktime. Bob On Dec 1, 2010, at 2:04 PM, Sivakatirswami wrote: > If we push an audio through LiveCode Browser window mimetype audio/m4a > > will it play via the IE web API on a Windows machine? > > skts > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gregory.lypny at videotron.ca Wed Dec 1 17:51:12 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 01 Dec 2010 17:51:12 -0500 Subject: On-Rev Web Form Dropping Data Message-ID: Hello everyone, I have a little web form problem that has me scratching my head, perhaps because I might be in over my head. Here goes. I have an On-Rev site that I use to manage certain activities in a couple of the university courses I teach. One page on the site is a simple form that allows my students to submit the answers to multiple-choice homework quizzes. This is how it works. - The student signs in using a user ID and password - After validation, a cookie is deposited in their computer - The cookie name and cookie value are written to a database (a text file) with a reference to their ID - They go to the web form, select their answers from pull down menus and click Submit - The data that gets submitted includes their ID, a timestamp (the seconds), and the list of answers, all on one line and comma delimited - The data is prepended to a text file that is the database of all quiz submissions - To avoid the possibility of two or more students writing to the database at once because they are, by coincidence, submitting at exactly the same moment, I have a parameter file called Busy whose contents are set to "True, [the seconds]" when they submit and set to "False, [the second]" at the end of processing. The database is allowed to be busy for a maximum of six seconds. This has worked almost flawlessly for more than 1,800 submissions, but on a couple of occasions, the answer choices are missing from the submitted data. I should always be receiving something like Course, Student ID,Quiz Number,Timestamp,Q1,Q2,Q3, and so on Economics 101,1234567,8,1291161639,C,B,B,... where the C,B,B at the end are their first three answer choices. Instead, on those rare instances, I get Course, Student ID,Quiz Number,Timestamp,Q1,Q2,Q3, and so on Economics 101,1234567,8,1291161639, where the answers choices are missing. I have the web form's pulldown menus set up so that Xs are submitted by default for blank answers, so if anything, I should get at least a sequence of Xs. I looked more closely at the two most recent problem submissions, and here is what I have been able to determine from the sign-in log and submission database. - The submissions were made two seconds apart from the same IP address - There were, however, two separate sign-in sessions, that is, two cookies set with different names about eight minutes apart - The student who submitted their answers first signed in later than the one who submitted second! Any thoughts? Would this occur if two people signed in on separate accounts on the same computer? I'm going to try to track them down and get them to describe exactly what they did, but I'd be most interested in knowing your thoughts. My apologies for the length of this saga. Regards, Gregory From bobs at twft.com Wed Dec 1 18:07:53 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 1 Dec 2010 15:07:53 -0800 Subject: Where does all the stuff go? Message-ID: <738F292E-5F3B-4830-8F53-2073BE3B9D9B@twft.com> Hi all. Since my LiveCode crashes each time upon exit, I figured I would try cleaning things up a bit. The old Revolution scheme had an app folder named something like Revolution Studio, inside of which it had a folder named after the version which contained the actual executable, Documentation, Externals, Plugins etc. In contrast, Livecode only has the application. Now I am aware that there is a My LiveCode folder in my documents for my profile, but of course that would not be available to other user accounts, which would negate the use of any of the add-ons I have purchased by anyone but me. What I think may be causing the instability are some old plugins or addons that are not strictly compatible with LiveCode. It is my understanding that LiveCode will try to use these old folders from the Revolution install, so things get a bit messy now trying to determine what is loading and what is not. So my question is this: Where do I locate ALL my files and ALL my plugins and ALL my 3rd party stuff so that there is ONLY ONE PLACE it is stored, and EVERYONE can use it? I think if I can get that all cleaned up, I will resolve my LiveCode instability problem. Bob From bobs at twft.com Wed Dec 1 18:17:35 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 1 Dec 2010 15:17:35 -0800 Subject: On-Rev Web Form Dropping Data In-Reply-To: References: Message-ID: <7024310C-5499-4DFF-ADD2-BC34CD419A59@twft.com> I'm curious if you accounted for the fact that two people can be connecting from the same IP address, or that one student can be connected twice (odd though that may be, but think about someone connecting via ethernet, then mid session switching to wireless). By their ID do you mean a unique ID generated when they connect, or a student ID that is the same each time they connect? If the latter, then I can begin to envision circumstances where things could go wiggy. There is not mechanism to prevent a student from logging on twice from different computers, is there? That should probably be addressed. First rule of programming: If there is a way for an end user to screw things up, they will find it, no matter how remote. Also, the ID assigned upon successful validation should be a unique incrementing ID that represents the session, not the student, but tied to the student ID. These are just some thoughts and I could be way off the mark here, so pardon me in advance. Bob On Dec 1, 2010, at 2:51 PM, Gregory Lypny wrote: > Hello everyone, > > I have a little web form problem that has me scratching my head, perhaps because I might be in over my head. Here goes. I have an On-Rev site that I use to manage certain activities in a couple of the university courses I teach. One page on the site is a simple form that allows my students to submit the answers to multiple-choice homework quizzes. This is how it works. > > - The student signs in using a user ID and password > - After validation, a cookie is deposited in their computer > - The cookie name and cookie value are written to a database (a text file) with a reference to their ID > - They go to the web form, select their answers from pull down menus and click Submit > - The data that gets submitted includes their ID, a timestamp (the seconds), and the list of answers, all on one line and comma delimited > - The data is prepended to a text file that is the database of all quiz submissions > - To avoid the possibility of two or more students writing to the database at once because they are, by coincidence, submitting at exactly the same moment, I have a parameter file called Busy whose contents are set to "True, [the seconds]" when they submit and set to "False, [the second]" at the end of processing. The database is allowed to be busy for a maximum of six seconds. > > This has worked almost flawlessly for more than 1,800 submissions, but on a couple of occasions, the answer choices are missing from the submitted data. I should always be receiving something like > > Course, Student ID,Quiz Number,Timestamp,Q1,Q2,Q3, and so on > Economics 101,1234567,8,1291161639,C,B,B,... > > where the C,B,B at the end are their first three answer choices. > > Instead, on those rare instances, I get > > Course, Student ID,Quiz Number,Timestamp,Q1,Q2,Q3, and so on > Economics 101,1234567,8,1291161639, > > where the answers choices are missing. I have the web form's pulldown menus set up so that Xs are submitted by default for blank answers, so if anything, I should get at least a sequence of Xs. > > I looked more closely at the two most recent problem submissions, and here is what I have been able to determine from the sign-in log and submission database. > > - The submissions were made two seconds apart from the same IP address > - There were, however, two separate sign-in sessions, that is, two cookies set with different names about eight minutes apart > - The student who submitted their answers first signed in later than the one who submitted second! > > Any thoughts? Would this occur if two people signed in on separate accounts on the same computer? I'm going to try to track them down and get them to describe exactly what they did, but I'd be most interested in knowing your thoughts. My apologies for the length of this saga. > > Regards, > > Gregory > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From warren at warrensweb.us Wed Dec 1 18:24:05 2010 From: warren at warrensweb.us (Warren Samples) Date: Wed, 01 Dec 2010 17:24:05 -0600 Subject: Where does all the stuff go? In-Reply-To: <738F292E-5F3B-4830-8F53-2073BE3B9D9B@twft.com> References: <738F292E-5F3B-4830-8F53-2073BE3B9D9B@twft.com> Message-ID: <1291245845.2162.129.camel@mint-i7> On Wed, 2010-12-01 at 15:07 -0800, Bob Sneidar wrote: > So my question is this: Where do I locate ALL my files and ALL my > plugins and ALL my 3rd party stuff so that there is ONLY ONE PLACE it > is stored, and EVERYONE can use it? Hi Bob, One answer to your question is to create a livecode directory (with all your stuff in it) in /Users/Shared and then point to it in Livecode >> Preferences >> Files & Memory in each installation, or create symbolic links to it in each user's home directory and name the links "my_livecode" (or whatever it says in preferences). Good luck with your system. Warren From warren at warrensweb.us Wed Dec 1 18:31:56 2010 From: warren at warrensweb.us (Warren Samples) Date: Wed, 01 Dec 2010 17:31:56 -0600 Subject: Where does all the stuff go? In-Reply-To: <1291245845.2162.129.camel@mint-i7> References: <738F292E-5F3B-4830-8F53-2073BE3B9D9B@twft.com> <1291245845.2162.129.camel@mint-i7> Message-ID: <1291246316.2162.145.camel@mint-i7> On Wed, 2010-12-01 at 17:24 -0600, Warren Samples wrote: > On Wed, 2010-12-01 at 15:07 -0800, Bob Sneidar wrote: > > So my question is this: Where do I locate ALL my files and ALL my > > plugins and ALL my 3rd party stuff so that there is ONLY ONE PLACE it > > is stored, and EVERYONE can use it? > > Hi Bob, > > One answer to your question is to create a livecode directory (with all > your stuff in it) in /Users/Shared and then point to it in Livecode >> > Preferences >> Files & Memory in each installation, or create symbolic > links to it in each user's home directory and name the links > "my_livecode" (or whatever it says in preferences). > > Good luck with your system. > > Warren ---- This response was based on the assumption that you're running OS X, based on something you'd previously posted. Forgive me if it doesn't apply :D From bobs at twft.com Wed Dec 1 18:32:18 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 1 Dec 2010 15:32:18 -0800 Subject: Where does all the stuff go? In-Reply-To: <1291245845.2162.129.camel@mint-i7> References: <738F292E-5F3B-4830-8F53-2073BE3B9D9B@twft.com> <1291245845.2162.129.camel@mint-i7> Message-ID: <0AB7F29C-BC9B-4DFA-83F1-490F048EA964@twft.com> That is a good idea. But now what happens when I go to run an updater? Is the installer going to put the new files where it thinks it should, or where I tell it to in the preferences? Bob On Dec 1, 2010, at 3:24 PM, Warren Samples wrote: > On Wed, 2010-12-01 at 15:07 -0800, Bob Sneidar wrote: >> So my question is this: Where do I locate ALL my files and ALL my >> plugins and ALL my 3rd party stuff so that there is ONLY ONE PLACE it >> is stored, and EVERYONE can use it? > > Hi Bob, > > One answer to your question is to create a livecode directory (with all > your stuff in it) in /Users/Shared and then point to it in Livecode >> > Preferences >> Files & Memory in each installation, or create symbolic > links to it in each user's home directory and name the links > "my_livecode" (or whatever it says in preferences). > > Good luck with your system. > > Warren > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Wed Dec 1 18:38:58 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 1 Dec 2010 15:38:58 -0800 Subject: Where does all the stuff go? In-Reply-To: <1291246316.2162.145.camel@mint-i7> References: <738F292E-5F3B-4830-8F53-2073BE3B9D9B@twft.com> <1291245845.2162.129.camel@mint-i7> <1291246316.2162.145.camel@mint-i7> Message-ID: You are correct in your assessment. You must have instinctively discerned a superior intellect through the correspondence thus far. ;-P Bob On Dec 1, 2010, at 3:31 PM, Warren Samples wrote: > ---- This response was based on the assumption that you're running OS X, > based on something you'd previously posted. Forgive me if it doesn't > apply :D From gregory.lypny at videotron.ca Wed Dec 1 18:41:13 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 01 Dec 2010 18:41:13 -0500 Subject: On-Rev Web Form Dropping Data In-Reply-To: References: Message-ID: <7D519214-3305-4A6A-8DEA-E240FB431C67@videotron.ca> Hi Bob, Wow. That was fast. Gotta love this list. Many thanks for your thoughts. I've inserted a few comments below. Gregory On Wed, Dec 1, 2010, at 6:32 PM, Bob Sneidar wrote: > Message: 26 > Date: Wed, 1 Dec 2010 15:17:35 -0800 > From: Bob Sneidar > To: How to use LiveCode > Subject: Re: On-Rev Web Form Dropping Data > Message-ID: <7024310C-5499-4DFF-ADD2-BC34CD419A59 at twft.com> > Content-Type: text/plain; charset=us-ascii > > I'm curious if you accounted for the fact that two people can be connecting from the same IP address, or that one student can be connected twice (odd though that may be, but think about someone connecting via ethernet, then mid session switching to wireless). The two students do appear to have connected from the same IP. In the current version of my sign-in scripts, I do not block any one student from connecting twice. > > By their ID do you mean a unique ID generated when they connect, or a student ID that is the same each time they connect? If the latter, then I can begin to envision circumstances where things could go wiggy. There is not mechanism to prevent a student from logging on twice from different computers, is there? That should probably be addressed. First rule of programming: If there is a way for an end user to screw things up, they will find it, no matter how remote. It is a unique student ID. That's right, I do not prevent multiple sign-ins at present. Maybe I should. > > Also, the ID assigned upon successful validation should be a unique incrementing ID that represents the session, not the student, but tied to the student ID. Yes, that I have done. Part of my validating ID is the long seconds, which when combined with other information, guarantees uniqueness. > > These are just some thoughts and I could be way off the mark here, so pardon me in advance. > > Bob From toncardona at mac.com Wed Dec 1 18:45:31 2010 From: toncardona at mac.com (Ton Cardona) Date: Thu, 02 Dec 2010 00:45:31 +0100 Subject: Compiling problems redux Message-ID: <03B0987C-02F8-4FF7-BF8B-C461DEFBF105@mac.com> Dear friends, what I still do not understand, in spite of your kind reactions and hints, is why, after compiling, I get a stack.exe and a substack.rev in Windows (both working perfectly), but only a mainstack.app in Mac. As to the error reports, they do not seem to be related: 141,91,17 465,91,1 that is, "string is not compressed data", which it certainly is both in Windows and in Mac (before compiling). I believe this is quite odd and look forward to your insights. Cheers to you all, Ton From warren at warrensweb.us Wed Dec 1 18:53:44 2010 From: warren at warrensweb.us (Warren Samples) Date: Wed, 01 Dec 2010 17:53:44 -0600 Subject: Where does all the stuff go? In-Reply-To: <0AB7F29C-BC9B-4DFA-83F1-490F048EA964@twft.com> References: <738F292E-5F3B-4830-8F53-2073BE3B9D9B@twft.com> <1291245845.2162.129.camel@mint-i7> <0AB7F29C-BC9B-4DFA-83F1-490F048EA964@twft.com> Message-ID: <1291247624.2162.157.camel@mint-i7> On Wed, 2010-12-01 at 15:32 -0800, Bob Sneidar wrote: > That is a good idea. But now what happens when I go to run an updater? > Is the installer going to put the new files where it thinks it should, > or where I tell it to in the preferences? I would hope people who are crafty enough to build auto-updaters are running routines to make sure the updater can find the file to update ;) As far as updates that are actually just new installs, this could be a problem but should only mean you've got to manually move it to the folder in /Users/Shared. It could be that the link method would obviate this concern, though. Warren From bobs at twft.com Wed Dec 1 18:59:49 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 1 Dec 2010 15:59:49 -0800 Subject: Where does all the stuff go? In-Reply-To: <1291247624.2162.157.camel@mint-i7> References: <738F292E-5F3B-4830-8F53-2073BE3B9D9B@twft.com> <1291245845.2162.129.camel@mint-i7> <0AB7F29C-BC9B-4DFA-83F1-490F048EA964@twft.com> <1291247624.2162.157.camel@mint-i7> Message-ID: <15E78B21-DFE5-4DD3-A154-6F9365690882@twft.com> Thanks Warren. I hope to also hear from someone in dev, but maybe I should use the support option at runrev.com. I want to fix this once and then not have any problems in the future. It's a thing with me. ;-) Bob On Dec 1, 2010, at 3:53 PM, Warren Samples wrote: > On Wed, 2010-12-01 at 15:32 -0800, Bob Sneidar wrote: >> That is a good idea. But now what happens when I go to run an updater? >> Is the installer going to put the new files where it thinks it should, >> or where I tell it to in the preferences? > > I would hope people who are crafty enough to build auto-updaters are > running routines to make sure the updater can find the file to update ;) > As far as updates that are actually just new installs, this could be a > problem but should only mean you've got to manually move it to the > folder in /Users/Shared. > > It could be that the link method would obviate this concern, though. > > Warren > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Dec 1 19:00:09 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 01 Dec 2010 18:00:09 -0600 Subject: Compiling problems In-Reply-To: References: Message-ID: <4CF6E189.3030304@hyperactivesw.com> On 12/1/10 1:32 PM, DunbarX at aol.com wrote: > They are part of the standalone. But it is just the opposite: substacks are > not considered to be the executable, and can be modified and saved. This is > the standard procedure, the splash screen as mainStack, and the substack(s) > as working stacks. The terminology's tricky. By convention, a "substack" is part of the same stackfile as the main stack, it's sort of bolted on. When built into a standalone, it can't be modified because it's the same file on disk as the main stack. Substacks are appendages. There's no official term for those working stacks that aren't attached to the main stack. I call them "satellite" stacks, but that's just me. But they're separate files on disk, still in stack form, and the standalone opens them like they're documents (which they are) and they can be modified and saved. We need an official term for those separate stacks that ship with standalones. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Wed Dec 1 19:00:07 2010 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 02 Dec 2010 00:00:07 +0000 Subject: Still having problems with rev as CGI Message-ID: <4CF6E187.3060703@tweedly.net> Thanks to those who helped me get rev running as CGI on on-rev. Unfortunately, although I can run basic scripts, I am having trouble getting those scripts to access other stacks. I have the script, and the other stack, in my cgi-bin folder, with permissions set to 755 Here's the script > #!revolution -ui > > > on startup > put "Content-Type: text/plain" & cr & cr > > put the detailed files into t > filter t with "new*" > put t > > put the files into t > filter t with "new*" > > put "left with " & t & CR > > if there is no stack t then > put "cannot find stack" > else > > end if > > put "Using" && the stacksinuse > > end startup > and here's the output > new.livecode,234,,,1291247430,1291247604,,527,527,755, > left with new.livecode > cannot find stack > Using Help ? Thanks -- Alex. From jacque at hyperactivesw.com Wed Dec 1 19:03:05 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 01 Dec 2010 18:03:05 -0600 Subject: Where does all the stuff go? In-Reply-To: <0AB7F29C-BC9B-4DFA-83F1-490F048EA964@twft.com> References: <738F292E-5F3B-4830-8F53-2073BE3B9D9B@twft.com> <1291245845.2162.129.camel@mint-i7> <0AB7F29C-BC9B-4DFA-83F1-490F048EA964@twft.com> Message-ID: <4CF6E239.8030504@hyperactivesw.com> On 12/1/10 5:32 PM, Bob Sneidar wrote: > That is a good idea. But now what happens when I go to run an > updater? Is the installer going to put the new files where it thinks > it should, or where I tell it to in the preferences? The app is replaced. Your own stuff is left alone and your preferences aren't changed, so the path to your addons will still point to your folder. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From m.schonewille at economy-x-talk.com Wed Dec 1 19:06:01 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 2 Dec 2010 01:06:01 +0100 Subject: Compiling problems redux In-Reply-To: <03B0987C-02F8-4FF7-BF8B-C461DEFBF105@mac.com> References: <03B0987C-02F8-4FF7-BF8B-C461DEFBF105@mac.com> Message-ID: <198DAC2F-D339-40F0-97FA-21BF48574DB6@economy-x-talk.com> Hi Ton, Mainstack.app is a folder! Right-click on it and choose "Show Packet Contents" from the popup menu. You should find your substack if you dig deeper in the nested folders inside Mainstack.app. You may *think* that you are decompressing compressed data, but if Rev tells you it isn't compressed, then there is a problem with the data for sure. You might want to add a few checks, e.g. to make sure that the variable is not empty and that it actually contains the data you expect it to contain. You might write the data to a file right before executing the decompress function and check what is in that file. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 How to receive a free Color Converter license http://qurl.tk/kv (read the conditions) On 2 dec 2010, at 00:45, Ton Cardona wrote: > Dear friends, > > what I still do not understand, in spite of your kind reactions and hints, is why, after compiling, I get a stack.exe and a substack.rev in Windows (both working perfectly), but only a mainstack.app in Mac. > > As to the error reports, they do not seem to be related: > > 141,91,17 > 465,91,1 > > that is, "string is not compressed data", which it certainly is both in Windows and in Mac (before compiling). > > I believe this is quite odd and look forward to your insights. > > Cheers to you all, > > Ton From jacque at hyperactivesw.com Wed Dec 1 19:08:17 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 01 Dec 2010 18:08:17 -0600 Subject: Compiling problems redux In-Reply-To: <03B0987C-02F8-4FF7-BF8B-C461DEFBF105@mac.com> References: <03B0987C-02F8-4FF7-BF8B-C461DEFBF105@mac.com> Message-ID: <4CF6E371.8050703@hyperactivesw.com> On 12/1/10 5:45 PM, Ton Cardona wrote: > Dear friends, > > what I still do not understand, in spite of your kind reactions and > hints, is why, after compiling, I get a stack.exe and a substack.rev > in Windows (both working perfectly), but only a mainstack.app in > Mac. On a Mac, what looks like an application is actually a folder. It just looks like a file in the Finder. But if you right-click on it and choose "Show package contents" you will see that it is a folder with quite a few files and subfolders inside it. That's where your second stack is, probably inside the MacOS subfolder. > > As to the error reports, they do not seem to be related: > > 141,91,17 465,91,1 > > that is, "string is not compressed data", which it certainly is both > in Windows and in Mac (before compiling). This probably isn't related to your file structures. I saw that error once a long time ago, when I compressed data on one OS and tried to decompress on a different one. But it was quite a while ago and I can't remember now exactly why it happened. Are you doing anything like that? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Wed Dec 1 19:09:43 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 1 Dec 2010 16:09:43 -0800 Subject: Where does all the stuff go? In-Reply-To: <4CF6E239.8030504@hyperactivesw.com> References: <738F292E-5F3B-4830-8F53-2073BE3B9D9B@twft.com> <1291245845.2162.129.camel@mint-i7> <0AB7F29C-BC9B-4DFA-83F1-490F048EA964@twft.com> <4CF6E239.8030504@hyperactivesw.com> Message-ID: Thanks Jacque. Too simple. I should have been an engineer. Bob On Dec 1, 2010, at 4:03 PM, J. Landman Gay wrote: > On 12/1/10 5:32 PM, Bob Sneidar wrote: >> That is a good idea. But now what happens when I go to run an >> updater? Is the installer going to put the new files where it thinks >> it should, or where I tell it to in the preferences? > > The app is replaced. Your own stuff is left alone and your preferences aren't changed, so the path to your addons will still point to your folder. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From warren at warrensweb.us Wed Dec 1 19:44:16 2010 From: warren at warrensweb.us (Warren Samples) Date: Wed, 01 Dec 2010 18:44:16 -0600 Subject: Where does all the stuff go? In-Reply-To: <4CF6E239.8030504@hyperactivesw.com> References: <738F292E-5F3B-4830-8F53-2073BE3B9D9B@twft.com> <1291245845.2162.129.camel@mint-i7> <0AB7F29C-BC9B-4DFA-83F1-490F048EA964@twft.com> <4CF6E239.8030504@hyperactivesw.com> Message-ID: <1291250656.2162.166.camel@mint-i7> On Wed, 2010-12-01 at 18:03 -0600, J. Landman Gay wrote: > On 12/1/10 5:32 PM, Bob Sneidar wrote: > > That is a good idea. But now what happens when I go to run an > > updater? Is the installer going to put the new files where it thinks > > it should, or where I tell it to in the preferences? > > The app is replaced. Your own stuff is left alone and your > preferences > aren't changed, so the path to your addons will still point to your > folder. For some reason I was thinking his question was about updating the plugins... From bobs at twft.com Wed Dec 1 19:58:45 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 1 Dec 2010 16:58:45 -0800 Subject: Where does all the stuff go? In-Reply-To: <1291250656.2162.166.camel@mint-i7> References: <738F292E-5F3B-4830-8F53-2073BE3B9D9B@twft.com> <1291245845.2162.129.camel@mint-i7> <0AB7F29C-BC9B-4DFA-83F1-490F048EA964@twft.com> <4CF6E239.8030504@hyperactivesw.com> <1291250656.2162.166.camel@mint-i7> Message-ID: <37F48D9D-686F-41C3-9BB8-2866DD66F99B@twft.com> I was over thinking things. I thought that LiveCode installed some of it's own plugins. If not, then the point is moot. I did find out what was crashing Livecode on quit though. It is a 3rd party plugin that I won't mention until I get support from the author and make sure it's not something I am doing wrong. If anyone else on a Mac is having this problem, PM me off list and I will tell you what it is. Bob On Dec 1, 2010, at 4:44 PM, Warren Samples wrote: > On Wed, 2010-12-01 at 18:03 -0600, J. Landman Gay wrote: >> On 12/1/10 5:32 PM, Bob Sneidar wrote: >>> That is a good idea. But now what happens when I go to run an >>> updater? Is the installer going to put the new files where it thinks >>> it should, or where I tell it to in the preferences? >> >> The app is replaced. Your own stuff is left alone and your >> preferences >> aren't changed, so the path to your addons will still point to your >> folder. > > For some reason I was thinking his question was about updating the > plugins... > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jimaultwins at yahoo.com Wed Dec 1 20:06:56 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Wed, 1 Dec 2010 17:06:56 -0800 Subject: Compiling problems redux In-Reply-To: <198DAC2F-D339-40F0-97FA-21BF48574DB6@economy-x-talk.com> References: <03B0987C-02F8-4FF7-BF8B-C461DEFBF105@mac.com> <198DAC2F-D339-40F0-97FA-21BF48574DB6@economy-x-talk.com> Message-ID: <2940EE87-82A6-4CA3-BE75-86E022B639B0@yahoo.com> Just a note: My methodology for decompress() is to try put decompress(var) into var end try This will move smoothly through your script flow. Jim Ault Las Vegas On Dec 1, 2010, at 4:06 PM, Mark Schonewille wrote: > Hi Ton, > > Mainstack.app is a folder! Right-click on it and choose "Show Packet > Contents" from the popup menu. You should find your substack if you > dig deeper in the nested folders inside Mainstack.app. > > You may *think* that you are decompressing compressed data, but if > Rev tells you it isn't compressed, then there is a problem with the > data for sure. You might want to add a few checks, e.g. to make sure > that the variable is not empty and that it actually contains the > data you expect it to contain. You might write the data to a file > right before executing the decompress function and check what is in > that file. > > On 2 dec 2010, at 00:45, Ton Cardona wrote: > >> Dear friends, >> >> what I still do not understand, in spite of your kind reactions and >> hints, is why, after compiling, I get a stack.exe and a >> substack.rev in Windows (both working perfectly), but only a >> mainstack.app in Mac. >> >> As to the error reports, they do not seem to be related: >> >> 141,91,17 >> 465,91,1 >> >> that is, "string is not compressed data", which it certainly is >> both in Windows and in Mac (before compiling). >> >> I believe this is quite odd and look forward to your insights. >> >> Cheers to you all, >> >> Ton > From jacque at hyperactivesw.com Wed Dec 1 20:31:53 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 01 Dec 2010 19:31:53 -0600 Subject: Where does all the stuff go? In-Reply-To: <37F48D9D-686F-41C3-9BB8-2866DD66F99B@twft.com> References: <738F292E-5F3B-4830-8F53-2073BE3B9D9B@twft.com> <1291245845.2162.129.camel@mint-i7> <0AB7F29C-BC9B-4DFA-83F1-490F048EA964@twft.com> <4CF6E239.8030504@hyperactivesw.com> <1291250656.2162.166.camel@mint-i7> <37F48D9D-686F-41C3-9BB8-2866DD66F99B@twft.com> Message-ID: <4CF6F709.5000901@hyperactivesw.com> On 12/1/10 6:58 PM, Bob Sneidar wrote: > I was over thinking things. I thought that LiveCode installed some of > it's own plugins. If not, then the point is moot. It does. There is a RunRev plugins folder next to the executable, which on Macs is inside the app bundle. That's supposed to be reserved for LiveCode use, and us peons aren't supposed to put own own stuff in it. Instead, we put our stuff out in left field somewhere (Documents, by default) and point Preferences at it. If plugins need to be updated, then the installer will swap out the ones in RR's folder. Ours remain pristine and pure. Except for when they crash. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Dec 1 20:39:28 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 01 Dec 2010 19:39:28 -0600 Subject: Still having problems with rev as CGI In-Reply-To: <4CF6E187.3060703@tweedly.net> References: <4CF6E187.3060703@tweedly.net> Message-ID: <4CF6F8D0.8000808@hyperactivesw.com> On 12/1/10 6:00 PM, Alex Tweedly wrote: > > Thanks to those who helped me get rev running as CGI on on-rev. > > Unfortunately, although I can run basic scripts, I am having trouble > getting those scripts to access other stacks. > > I have the script, and the other stack, in my cgi-bin folder, with > permissions set to 755 > Here's the script > >> #!revolution -ui >> >> >> on startup >> put "Content-Type: text/plain" & cr & cr >> >> put the detailed files into t >> filter t with "new*" >> put t >> >> put the files into t >> filter t with "new*" >> >> put "left with " & t & CR >> >> if there is no stack t then >> put "cannot find stack" >> else >> >> end if >> >> put "Using" && the stacksinuse >> >> end startup >> > and here's the output >> new.livecode,234,,,1291247430,1291247604,,527,527,755, >> left with new.livecode >> cannot find stack >> Using > Help ? Is that the whole script? It doesn't specifically start using the stack, so that's why the stacksinuse is empty. The "can't find stack" error could happen if you saved the stack in the default format. Re-save the stack in legacy format and try that. As-is, you'd probably avoid the error if you checked for "is a file" instead of "is a stack." But since the detailed files already returned the stack name, that's pretty much a redundant check. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andre at andregarzia.com Wed Dec 1 20:47:28 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 1 Dec 2010 23:47:28 -0200 Subject: Still having problems with rev as CGI In-Reply-To: <4CF6F8D0.8000808@hyperactivesw.com> References: <4CF6E187.3060703@tweedly.net> <4CF6F8D0.8000808@hyperactivesw.com> Message-ID: check out the stackfileformat... Maybe you are using new format and your cgi engine is old enough not to understand it On Wed, Dec 1, 2010 at 11:39 PM, J. Landman Gay wrote: > On 12/1/10 6:00 PM, Alex Tweedly wrote: > >> >> Thanks to those who helped me get rev running as CGI on on-rev. >> >> Unfortunately, although I can run basic scripts, I am having trouble >> getting those scripts to access other stacks. >> >> I have the script, and the other stack, in my cgi-bin folder, with >> permissions set to 755 >> Here's the script >> >> #!revolution -ui >>> >>> >>> on startup >>> put "Content-Type: text/plain" & cr & cr >>> >>> put the detailed files into t >>> filter t with "new*" >>> put t >>> >>> put the files into t >>> filter t with "new*" >>> >>> put "left with " & t & CR >>> >>> if there is no stack t then >>> put "cannot find stack" >>> else >>> >>> end if >>> >>> put "Using" && the stacksinuse >>> >>> end startup >>> >>> and here's the output >> >>> new.livecode,234,,,1291247430,1291247604,,527,527,755, >>> left with new.livecode >>> cannot find stack >>> Using >>> >> Help ? >> > > Is that the whole script? It doesn't specifically start using the stack, so > that's why the stacksinuse is empty. The "can't find stack" error could > happen if you saved the stack in the default format. Re-save the stack in > legacy format and try that. > > As-is, you'd probably avoid the error if you checked for "is a file" > instead of "is a stack." But since the detailed files already returned the > stack name, that's pretty much a redundant check. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From revdev at pdslabs.net Wed Dec 1 21:10:18 2010 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 01 Dec 2010 18:10:18 -0800 Subject: Wishlist Mobile Plugin iOS In-Reply-To: <49BE1655-C5BC-4654-A4FD-776CA3F1F0BF@etcpp.de> References: <1291041824113-3063680.post@n4.nabble.com> <1291049853005-3063930.post@n4.nabble.com> <49BE1655-C5BC-4654-A4FD-776CA3F1F0BF@etcpp.de> Message-ID: <4CF7000A.9020104@pdslabs.net> I would like my app to be able to wake the phone up and alert the user when it is close to a preselected GPS coordinate. Is that even possible? Phil Davis On 12/1/10 1:43 PM, Harald M?ller wrote: > My top ten wishes: > > 1) User language detection > 2) Activity Indicator > 3-10) Automatic resize normal display> retina display with detection > of @2x-endings for images and icons. > > How are your wishes? > > Best regards, > Harald. > > | Harald M?ller (www.etcpp.de) > | Theodor-K?rner-Stra?e 4, 97072 W?rzburg > | Telefon + 49-[0]931-329090-42 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From Mark_Smith at cpe.umanitoba.ca Wed Dec 1 21:18:49 2010 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Wed, 1 Dec 2010 20:18:49 -0600 Subject: "show package contents" Message-ID: <3F95480D5F0DA64EA0785711087864DE8C61A4E0C7@exch01.mchpe.cpe.umanitoba.ca> Hi Jacqueline, or anyone who care to tackle this, I have a similar situation... a main "splash" exe and then my real application stack in a substack (because I want to be able to save to it). The idea of creating a mainstack.app where everything is located together sounds like a great idea (I've just looked inside a commercial app called Perfect Diet Tracker and it uses this technique with all kinds of stuff inside including data, externals, database drivers, images, all in 1 little tidy bundle). I have 2 questions: 1. is the process of creating something like this "integrated folder" documented somewhere (and apologies if I read it many times in the User Guide and just not recognized it... so I guess part 2 is: does it go by a specific name in the User Guide?) 2. In my current implementation I just have the stack location hard coded into the splash... obviously not very flexible. Are there better ways of finding and accessing things (and commands to do this) if you create an "integrated folder". Thanks a bunch -- Mark ________________________________________ From: use-livecode-bounces at lists.runrev.com [use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay [jacque at hyperactivesw.com] Sent: Wednesday, December 01, 2010 6:08 PM To: How to use LiveCode Subject: Re: Compiling problems redux On 12/1/10 5:45 PM, Ton Cardona wrote: > Dear friends, > > what I still do not understand, in spite of your kind reactions and > hints, is why, after compiling, I get a stack.exe and a substack.rev > in Windows (both working perfectly), but only a mainstack.app in > Mac. On a Mac, what looks like an application is actually a folder. It just looks like a file in the Finder. But if you right-click on it and choose "Show package contents" you will see that it is a folder with quite a few files and subfolders inside it. That's where your second stack is, probably inside the MacOS subfolder. > > As to the error reports, they do not seem to be related: > > 141,91,17 465,91,1 > > that is, "string is not compressed data", which it certainly is both > in Windows and in Mac (before compiling). This probably isn't related to your file structures. I saw that error once a long time ago, when I compressed data on one OS and tried to decompress on a different one. But it was quite a while ago and I can't remember now exactly why it happened. Are you doing anything like that? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Dec 1 23:37:32 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 01 Dec 2010 20:37:32 -0800 Subject: Still having problems with rev as CGI Message-ID: <4CF7228C.7020003@fourthworld.com> Andre Garzia wrote: > check out the stackfileformat... Maybe you are using new format and your cgi > engine is old enough not to understand it I discovered that a single byte changed in between v4.0 and 4.5. That byte doesn't seem to affect opening the stack with either the runtime or IDE engines, but I did find that stack files saved under v4.5 were not able to be used by the v3.5 CGI engine. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From chipp at chipp.com Thu Dec 2 00:48:39 2010 From: chipp at chipp.com (Chipp Walters) Date: Wed, 1 Dec 2010 23:48:39 -0600 Subject: EPS: was; How to make a square topped, round rect bottomed graphic? In-Reply-To: <4CF69C0E.80805@gmail.com> References: <623295.29198.qm@web65404.mail.ac4.yahoo.com> <4C1A2313-A134-44BE-A56D-35BA97C6D03F@twft.com> <4CF69C0E.80805@gmail.com> Message-ID: Earlier, it imported the bitmap component of an eps, not the vector version. There was a time when eps could also refer to a bitmap. Rarely used nowadays. On Wednesday, December 1, 2010, Richmond wrote: > On 12/01/2010 08:04 PM, Bob Sneidar wrote: > > This is rhetorical, but I wonder if the issue is that the engine cannot render such an object, or that there are no tools capable of making one natively. If it is only the latter, then maybe a good future enhancement would be the ability to import eps vector objects. That way you could make what you wanted in something like Illustrator and then import it. > > > Cracked open Metacard 4.0 (as one does) as I seemed to remember something about EPS files: > exported an EPS file from Xara Xtreme: > > Tried to import the EPS file into a stack (no joy with MC 4.0 and the XX EPS on either > Mac or Linux). I wonder why there is an EPS import tab there? > > Tried to import a generic EPS file (downloaded from the internet) on Mac, and crashed MC. > > Tried MC 2.5; crashed the thing. > > Now I seem to remember that "Once upon a time" RunRev (an IDE that some Livecode people > may vaguely remember) imported EPS images; funny how that capability just vanished off > the map without a backwadr glance . . . From richmondmathewson at gmail.com Thu Dec 2 02:24:11 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 02 Dec 2010 09:24:11 +0200 Subject: EPS: was; How to make a square topped, round rect bottomed graphic? In-Reply-To: References: <623295.29198.qm@web65404.mail.ac4.yahoo.com> <4C1A2313-A134-44BE-A56D-35BA97C6D03F@twft.com> <4CF69C0E.80805@gmail.com> Message-ID: <4CF7499B.4060203@gmail.com> On 12/02/2010 07:48 AM, Chipp Walters wrote: > Earlier, it imported the bitmap component of an eps, not the vector > version. There was a time when eps could also refer to a bitmap. > Rarely used nowadays. > That clarifies things considerably; Thanks. > On Wednesday, December 1, 2010, Richmond wrote: >> On 12/01/2010 08:04 PM, Bob Sneidar wrote: >> >> This is rhetorical, but I wonder if the issue is that the engine cannot render such an object, or that there are no tools capable of making one natively. If it is only the latter, then maybe a good future enhancement would be the ability to import eps vector objects. That way you could make what you wanted in something like Illustrator and then import it. >> >> >> Cracked open Metacard 4.0 (as one does) as I seemed to remember something about EPS files: >> exported an EPS file from Xara Xtreme: >> >> Tried to import the EPS file into a stack (no joy with MC 4.0 and the XX EPS on either >> Mac or Linux). I wonder why there is an EPS import tab there? >> >> Tried to import a generic EPS file (downloaded from the internet) on Mac, and crashed MC. >> >> Tried MC 2.5; crashed the thing. >> >> Now I seem to remember that "Once upon a time" RunRev (an IDE that some Livecode people >> may vaguely remember) imported EPS images; funny how that capability just vanished off >> the map without a backwadr glance . . . > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rene.micout at numericable.com Thu Dec 2 03:19:37 2010 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 2 Dec 2010 09:19:37 +0100 Subject: Compiling problems In-Reply-To: <4CF6E189.3030304@hyperactivesw.com> References: <4CF6E189.3030304@hyperactivesw.com> Message-ID: <3A6CCD70-7AEC-43F1-BF96-FA55184442D0@numericable.com> Hello Jacque, Mark (Schonewille) write to me in October : " Now pay attention! I think you don't need to do anything complicated. Just make a mainstack of the splash stack. Add the stack file, which no longer contains the splash stack and ADD THE STACK FILE TO THE STACK FILE PROPERTY OF THE NEW SPLASH STACK. STACK FILES <> SUBSTACKS!!! " Why not "Stack file" ? Bon souvenir de Paris Ren? Le 2 d?c. 2010 ? 01:00, J. Landman Gay a ?crit : > There's no official term for those working stacks that aren't attached to the main stack. I call them "satellite" stacks, but that's just me. But they're separate files on disk, still in stack form, and the standalone opens them like they're documents (which they are) and they can be modified and saved. From david at vaudevillecourt.tv Thu Dec 2 04:27:15 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Thu, 2 Dec 2010 09:27:15 +0000 Subject: [ANN] revIgniter v1.3.9b released In-Reply-To: References: Message-ID: Hi Ralf, I'm scheduling a few talks and interviews with open source projects in LiveCode to be released in a forthcoming publication. Would you be interested in showing off revigniter and taking part in a short interview about the project. The material would be released under a Creative Commons license - so you'd be able to use it how you want on your own site? I'd also like to talk again if possible about the license, as part of the project we are compiling and documenting a set of open source tools in LiveCode. We've settled on two licences that we can accept at this stage for the project - the permissive MIT (also known as X11) license, and the GPL Afero v3. The aim is to make it easy, clear and robust for code from different projects to be combined. This is only possible if the licenses allow this - and here the simplest way to do this is to ensure that the licenses are GPL compatible. It would be good to talk about this and see if you can use a compatible license for revIgniter. If that were possible I'd like to start hosting revIgniter on a dedicated private server. We are getting the server up at the moment and it will be running the latest version of revServer, and it would be great to use revIgniter for the main application server. NB - this is a community project, and not a RunRev project, no one is getting paid to work on this by RunRev, and membership to the project is open to any member of the community. RunRev have endorsed the project and will be supporting us by giving some prizes and so forth that we can offer to members, but that is it at this stage. Members will have full democratic rights to how the project is run - as in a community owned coding coop. Any chance of a Skype? On 30 July 2010 13:44, Ralf Bitter wrote: > > Fixed two bugs related to form validation. > Info and download at: http://revigniter.com/ > From janschenkel at yahoo.com Thu Dec 2 04:35:53 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 2 Dec 2010 01:35:53 -0800 (PST) Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: Message-ID: <539245.15548.qm@web65410.mail.ac4.yahoo.com> --- On Wed, 12/1/10, David Bovill wrote: > ? I'm just starting on doing this - > but it seems to me that you need to > scroll one of the groups. Maybe that's because I am > creating it so the > rounded corners can be at the to top or bottom. So clipping > the square rect > to half way, moving it down, and scrolling it down would > show only the > bottom half. - which means that effectively the graphic has > the same rect > but the group windows are different? This means that the > gradients can be > made identical.... wip... > You don't have to worry about scrolling with lockLocation set on the inner groups. Here's a quick code recipe that you can put into a "Create" button: ## constant kRectangle = "50,50,250,100" constant kNoMargins = "0,0,0,0" on mouseUp --> load some essentials into local variables local tRectangle, tHeight put kRectangle into tRectangle put (item 4 of tRectangle) - (item 2 of tRectangle) \ into tHeight --> load the fillGradient array local tFillGradientA put "linear" into tFillGradientA["type"] put (item 1 of tRectangle),(item 2 of tRectangle) \ into tFillGradientA["from"] put (item 3 of tRectangle),(item 2 of tRectangle) \ into tFillGradientA["to"] put (item 1 of tRectangle),(item 4 of tRectangle) \ into tFillGradientA["via"] put "0.00000,192,192,192" & return & \ "1.00000,128,128,128" \ into tFillGradientA["ramp"] --> prepare by resetting the templateControls reset the templateGroup reset the templateGraphic --> start by creating the outer group local tOuterGroup set the rectangle of the templateGroup to tRectangle set the margins of the templateGroup to kNoMargins create group "MyCustomControl" put it into tOuterGroup --> create the roundrect inner group local tRoundRectGroup put (item 2 of tRectangle) + (tHeight div 2) \ into item 4 of tRectangle set the rectangle of the templateGroup to tRectangle set the lockLocation of the templateGroup to true create group "RoundRectClipGroup" in tOuterGroup put it into tRoundRectGroup --> create the roundrect in the top inner group put kRectangle into tRectangle set the style of the templateGraphic to "RoundRect" set the rectangle of the templateGraphic to tRectangle set the opaque of the templateGraphic to true set the antiAliased of the templateGraphic to true set the fillGradient of the templateGraphic to tFillGradientA create graphic "RoundRectGraphic" in tRoundRectGroup --> create the rectangle inner group local tRectangleGroup put (item 4 of tRectangle) - (tHeight div 2) \ into item 2 of tRectangle set the rectangle of the templateGroup to tRectangle set the lockLocation of the templateGroup to true create group "RectangleClipGroup" in tOuterGroup put it into tRectangleGroup --> create the rectangle in the bottom inner group put kRectangle into tRectangle set the style of the templateGraphic to "Rectangle" set the rectangle of the templateGraphic to tRectangle set the opaque of the templateGraphic to true set the antiAliased of the templateGraphic to true set the fillGradient of the templateGraphic to tFillGradientA create graphic "RectangleGraphic" in tRectangleGroup --> cleanup by resetting the templateControls reset the templateGroup reset the templateGraphic end mouseUp ## When you click the "Create" button, it creates all required controls dynamically. Just for kicks, I automatically applied a fill gradient to this example. Expand with graphic effects at your own leisure :-) Write a behavior script that handles resizeControl and getProp/setProp handler pairs for easier scripting (e.g. to switch top and bottom, or from horizontal to vertical); then set the behavior of the outer group to the long id of that behaviour button. Groups and behaviors are a fantastic combination for creating custom controls by composition. As Trevor has abundantly demonstrated with the DataGrid :-) Enjoy! Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From toolbook at kestner.de Thu Dec 2 04:41:10 2010 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 2 Dec 2010 10:41:10 +0100 Subject: approach to concat SQL string? Message-ID: <009301cb9205$116ae120$3440a360$@de> Hi, I need a very basic SQL SELECT with 1 up to 7 fields (f1-f7) to be selected, like (reduced form): SELECT * FROM myTable WHERE f1=s1 AND f2=s2 AND f3=s3 ... AND f7=s7 The user can use only one field or any combination of up to 7 fields for selecting. >From coding point of view the easiest solution would be just one SQL statement including all 7 fields and filling all not used parameters with "%". But this is not very performant. So I should have only those fields in my SQL string, which are actually used (depending on the user selection). To do this I have to check in 7 "if-clauses" what is selected and depending on that concat my resulting SQL string with only those fields needed. Is this the old fashioned standard approach, or am I not seeing a more sophisticated way with less coding? Thanks Tiemo From janschenkel at yahoo.com Thu Dec 2 04:41:00 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 2 Dec 2010 01:41:00 -0800 (PST) Subject: approach to concat SQL string? In-Reply-To: <009301cb9205$116ae120$3440a360$@de> Message-ID: <659711.46957.qm@web65407.mail.ac4.yahoo.com> --- On Thu, 12/2/10, Tiemo Hollmann TB wrote: > Hi, > > I need a very basic SQL SELECT with 1 up to 7 fields > (f1-f7) to be selected, > like (reduced form): > > SELECT * FROM myTable WHERE > > f1=s1 > > AND f2=s2 > > AND f3=s3 > > ... > > AND f7=s7 > > The user can use only one field or any combination of up to > 7 fields for > selecting. > > From coding point of view the easiest solution would be > just one SQL > statement including all 7 fields and filling all not used > parameters with > "%". But this is not very performant. So I should have only > those fields in > my SQL string, which are actually used (depending on the > user selection). To > do this I have to check in 7 "if-clauses" what is selected > and depending on > that concat my resulting SQL string with only those fields > needed. > > Is this the old fashioned standard approach, or am I not > seeing a more > sophisticated way with less coding? > > Thanks > > Tiemo > You may want to take a look at the TicketExampleApplication that I used for my RunRevLive'09 presentations: It contains a helper library for constructing SQL queries from parameters passed in via arrays. HTH, Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From toolbook at kestner.de Thu Dec 2 05:40:41 2010 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 2 Dec 2010 11:40:41 +0100 Subject: AW: approach to concat SQL string? In-Reply-To: <659711.46957.qm@web65407.mail.ac4.yahoo.com> References: <009301cb9205$116ae120$3440a360$@de> <659711.46957.qm@web65407.mail.ac4.yahoo.com> Message-ID: <00a801cb920d$61d8f630$258ae290$@de> Hi Jan, thanks for sharing your expertise! Tiemo > > You may want to take a look at the TicketExampleApplication that I used > for my RunRevLive'09 presentations: > > > It contains a helper library for constructing SQL queries from > parameters passed in via arrays. > > HTH, > > Jan Schenkel. From andre at andregarzia.com Thu Dec 2 06:03:17 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 2 Dec 2010 09:03:17 -0200 Subject: Still having problems with rev as CGI In-Reply-To: <4CF7228C.7020003@fourthworld.com> References: <4CF7228C.7020003@fourthworld.com> Message-ID: For CGIs, I always save legacy. I don't need bitmap effects and other gizmos in there. On Thu, Dec 2, 2010 at 2:37 AM, Richard Gaskin wrote: > Andre Garzia wrote: > >> check out the stackfileformat... Maybe you are using new format and your >> cgi >> engine is old enough not to understand it >> > > I discovered that a single byte changed in between v4.0 and 4.5. That byte > doesn't seem to affect opening the stack with either the runtime or IDE > engines, but I did find that stack files saved under v4.5 were not able to > be used by the v3.5 CGI engine. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From david at vaudevillecourt.tv Thu Dec 2 06:40:00 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Thu, 2 Dec 2010 11:40:00 +0000 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: <539245.15548.qm@web65410.mail.ac4.yahoo.com> References: <539245.15548.qm@web65410.mail.ac4.yahoo.com> Message-ID: Thanks Jan - intrigued, got mine working using the scrolling technique. Can't do individual corners that are rounded only individual corners that are square at the moment - I'll take a look at your technique and borrow the best bits :) NB - I'll demo this on the weekend together with other Datagrid like groups that I've collected or created. Would be great to have your input! On 2 December 2010 09:35, Jan Schenkel wrote: > --- On Wed, 12/1/10, David Bovill wrote: > > ? I'm just starting on doing this - > > but it seems to me that you need to > > scroll one of the groups. Maybe that's because I am > > creating it so the > > rounded corners can be at the to top or bottom. So clipping > > the square rect > > to half way, moving it down, and scrolling it down would > > show only the > > bottom half. - which means that effectively the graphic has > > the same rect > > but the group windows are different? This means that the > > gradients can be > > made identical.... wip... > > > > You don't have to worry about scrolling with lockLocation set on the inner > groups. Here's a quick code recipe that you can put into a "Create" button: > > ## > constant kRectangle = "50,50,250,100" > constant kNoMargins = "0,0,0,0" > > on mouseUp > --> load some essentials into local variables > local tRectangle, tHeight > put kRectangle into tRectangle > put (item 4 of tRectangle) - (item 2 of tRectangle) \ > into tHeight > --> load the fillGradient array > local tFillGradientA > put "linear" into tFillGradientA["type"] > put (item 1 of tRectangle),(item 2 of tRectangle) \ > into tFillGradientA["from"] > put (item 3 of tRectangle),(item 2 of tRectangle) \ > into tFillGradientA["to"] > put (item 1 of tRectangle),(item 4 of tRectangle) \ > into tFillGradientA["via"] > put "0.00000,192,192,192" & return & \ > "1.00000,128,128,128" \ > into tFillGradientA["ramp"] > --> prepare by resetting the templateControls > reset the templateGroup > reset the templateGraphic > --> start by creating the outer group > local tOuterGroup > set the rectangle of the templateGroup to tRectangle > set the margins of the templateGroup to kNoMargins > create group "MyCustomControl" > put it into tOuterGroup > --> create the roundrect inner group > local tRoundRectGroup > put (item 2 of tRectangle) + (tHeight div 2) \ > into item 4 of tRectangle > set the rectangle of the templateGroup to tRectangle > set the lockLocation of the templateGroup to true > create group "RoundRectClipGroup" in tOuterGroup > put it into tRoundRectGroup > --> create the roundrect in the top inner group > put kRectangle into tRectangle > set the style of the templateGraphic to "RoundRect" > set the rectangle of the templateGraphic to tRectangle > set the opaque of the templateGraphic to true > set the antiAliased of the templateGraphic to true > set the fillGradient of the templateGraphic to tFillGradientA > create graphic "RoundRectGraphic" in tRoundRectGroup > --> create the rectangle inner group > local tRectangleGroup > put (item 4 of tRectangle) - (tHeight div 2) \ > into item 2 of tRectangle > set the rectangle of the templateGroup to tRectangle > set the lockLocation of the templateGroup to true > create group "RectangleClipGroup" in tOuterGroup > put it into tRectangleGroup > --> create the rectangle in the bottom inner group > put kRectangle into tRectangle > set the style of the templateGraphic to "Rectangle" > set the rectangle of the templateGraphic to tRectangle > set the opaque of the templateGraphic to true > set the antiAliased of the templateGraphic to true > set the fillGradient of the templateGraphic to tFillGradientA > create graphic "RectangleGraphic" in tRectangleGroup > --> cleanup by resetting the templateControls > reset the templateGroup > reset the templateGraphic > end mouseUp > ## > > When you click the "Create" button, it creates all required controls > dynamically. Just for kicks, I automatically applied a fill gradient to this > example. Expand with graphic effects at your own leisure :-) > > Write a behavior script that handles resizeControl and getProp/setProp > handler pairs for easier scripting (e.g. to switch top and bottom, or from > horizontal to vertical); then set the behavior of the outer group to the > long id of that behaviour button. > > Groups and behaviors are a fantastic combination for creating custom > controls by composition. As Trevor has abundantly demonstrated with the > DataGrid :-) > > Enjoy! > > Jan Schenkel. > ===== > Quartam Reports & PDF Library for LiveCode > www.quartam.com > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." > (La Rochefoucauld) > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From janschenkel at yahoo.com Thu Dec 2 08:19:08 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 2 Dec 2010 05:19:08 -0800 (PST) Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: Message-ID: <319882.9675.qm@web65401.mail.ac4.yahoo.com> --- On Thu, 12/2/10, David Bovill wrote: > Thanks Jan - intrigued, got mine > working using the scrolling technique. > Can't do individual corners that are rounded only > individual corners that > are square at the moment - I'll take a look at your > technique and borrow the > best bits :) > > NB - I'll demo this on the weekend together with other > Datagrid like groups > that I've collected or created. Would be great to have your > input! > In theory, if you have two inner 'rectangle' groups, you have enough to cover all situations, including diagonally opposing round corners, simply by changing the rect of their clipping groups. Beacause all inner overlay graphics have the same rect, you can set the same gradient on each, and the same graphic effects; and all transitions remain smooth, through the clipping mechanism. The beauty of this approach is that it's relatively straightforward to implement - it sure beats trying to calculate the corner points for a single 'curve' graphic :-) Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From toncardona at mac.com Thu Dec 2 09:53:17 2010 From: toncardona at mac.com (Ton Cardona) Date: Thu, 02 Dec 2010 15:53:17 +0100 Subject: Compiling problems solved Message-ID: <9F11B981-D0AD-47DB-BA87-0D881F883C08@mac.com> While I wish to thank all of you for your sound help, a special mention to Rene Micout (no accent on the e) for having clarified the sustantial difference between substacks and stack files. Have a good day Ton PS. Experience tells me I cannot agree this time with my friend Mark Schonewille; both in the stack uncompiled and in the compiled Windows version of the stack the strings are indeed compressed since no error is reported; only in the compiled Mac version I got the error "string is not compressed". Funny, isn't it? From DunbarX at aol.com Thu Dec 2 09:58:35 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 2 Dec 2010 09:58:35 EST Subject: Compiling problems Message-ID: Jacques. I see. I was cavalier in using the term "substack", which is a defined LC term. Adding a stack file to a stack in the "Standalone Application Settings" stack does not a substack make. Craig In a message dated 12/1/10 7:03:40 PM, jacque at hyperactivesw.com writes: > We need an official term for those separate stacks that ship with > standalones. > From mdswindell at cruzio.com Thu Dec 2 10:51:30 2010 From: mdswindell at cruzio.com (Mark Swindell) Date: Thu, 2 Dec 2010 07:51:30 -0800 Subject: Geometry Manager tutorial? Message-ID: <2695D47C-9D96-4329-BF36-F444BD4E34FB@cruzio.com> I've never made use of the geometry manager before. What's is the best tutorial and where can I find it? I have a pretty simple stack with 5 cards, but with newer higher resolution screens things are just too tiny. Should I just quiz the screen resolution and set each element manually in a preopenstack handler, or would the geometry manager work for this? Thanks Mark From janschenkel at yahoo.com Thu Dec 2 11:08:37 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 2 Dec 2010 08:08:37 -0800 (PST) Subject: More: How to make a square topped, round rect bottomed graphic? In-Reply-To: <319882.9675.qm@web65401.mail.ac4.yahoo.com> Message-ID: <916183.65046.qm@web65406.mail.ac4.yahoo.com> --- On Thu, 12/2/10, Jan Schenkel wrote: > In theory, if you have two inner 'rectangle' groups, you > have enough to cover all situations, including diagonally > opposing round corners, simply by changing the rect of their > clipping groups. > Beacause all inner overlay graphics have the same rect, you > can set the same gradient on each, and the same graphic > effects; and all transitions remain smooth, through the > clipping mechanism. > The beauty of this approach is that it's relatively > straightforward to implement - it sure beats trying to > calculate the corner points for a single 'curve' graphic > :-) > And because I just couldn't help myself, I continued to develop this idea - any excuse is good to spend some time in LiveCode! Create a new stack, and drop two buttons onto it. Name the first "CombinedGraphicBehavior" and set its script to: ## on resizeControl cgReshapeControl end resizeControl private command cgReshapeControl pCorners if the paramCount = 0 then put the cgRoundCorners of me into pCorners end if --> load some essentials into local variables local tRectangle, tWidth, tHeight, tRoundRadius put the rectangle of me into tRectangle put (item 3 of tRectangle) - (item 1 of tRectangle) \ into tWidth put (item 4 of tRectangle) - (item 2 of tRectangle) \ into tHeight put the roundRadius of graphic "RoundRectGraphic" of me \ into tRoundRadius --> get ready to update the cover rectangles lock screen local tCoverRectangle --> see which part of the top we need to cover put tRectangle into tCoverRectangle subtract tHeight div 2 from item 4 of tCoverRectangle if "topleft" is among the items of pCorners then add tRoundRadius to item 1 of tCoverRectangle end if if "topright" is among the items of pCorners then subtract tRoundRadius from item 3 of tCoverRectangle end if set the rectangle of group "RectangleClipGroupTop" of me \ to tCoverRectangle --> see which part of the bottom we need to cover put tRectangle into tCoverRectangle add tHeight div 2 to item 2 of tCoverRectangle if "bottomleft" is among the items of pCorners then add tRoundRadius to item 1 of tCoverRectangle end if if "bottomright" is among the items of pCorners then subtract tRoundRadius from item 3 of tCoverRectangle end if set the rectangle of group "RectangleClipGroupBtm" of me \ to tCoverRectangle --> all done set the rectangle of graphic "RectangleGraphic" \ of group "RectangleClipGroupTop" of me \ to tRectangle set the rectangle of graphic "RectangleGraphic" \ of group "RectangleClipGroupBtm" of me \ to tRectangle set the rectangle of graphic "RoundRectGraphic" of me \ to tRectangle unlock screen end cgReshapeControl setProp cgRoundRadius pRoundRadius set the roundRadius of graphic "RoundRectGraphic" of me to pRoundRadius cgReshapeControl -- no params end cgRoundRadius getProp cgRoundRadius return the roundRadius of graphic "RoundRectGraphic" of me end cgRoundRadius setProp cgLineSize pBorderWidth set the lineSize of graphic "RoundRectGraphic" of me \ to pBorderWidth set the lineSize of graphic "RectangleGraphic" \ of group "RectangleClipGroupTop" of me \ to pBorderWidth set the lineSize of graphic "RectangleGraphic" \ of group "RectangleClipGroupBtm" of me \ to pBorderWidth end cgLineSize getProp cgLineSize return the lineSize of graphic "RoundRectGraphic" of me end cgLineSize setProp cgFillGradient pFillGradientA set the fillGradient of graphic "RoundRectGraphic" of me \ to pFillGradientA set the fillGradient of graphic "RectangleGraphic" \ of group "RectangleClipGroupTop" of me \ to pFillGradientA set the fillGradient of graphic "RectangleGraphic" \ of group "RectangleClipGroupBtm" of me \ to pFillGradientA end cgFillGradient getProp cgFillGradient return the fillGradient of graphic "RoundRectGraphic" of me end cgFillGradient setProp cgRoundCorners pCorners cgReshapeControl pCorners pass cgRoundCorners end cgRoundCorners ## Give the second button a descriptive name like "Create" and set its script to: ## constant kRectangle = "50,50,250,100" constant kRoundCorners = "topleft,bottomright" on mouseUp lock screen --> load the fillGradient array local tFillGradientA put "linear" into tFillGradientA["type"] put (item 1 of kRectangle),(item 2 of kRectangle) \ into tFillGradientA["from"] put (item 3 of kRectangle),(item 2 of kRectangle) \ into tFillGradientA["to"] put (item 1 of kRectangle),(item 4 of kRectangle) \ into tFillGradientA["via"] put "0.00000,192,192,192" & return & \ "1.00000,128,128,128" \ into tFillGradientA["ramp"] --> create the customcontrol group local tControlGroup CreateCombinedGraphic "CombinedGraphicControl", kRectangle, kRoundCorners put the result into tControlGroup --> set additional properties set the cgRoundRadius of tControlGroup to 20 set the cgLineSize of tControlGroup to 5 set the cgFillGradient of tControlGroup to tFillGradientA --> all done unlock screen end mouseUp constant kNoMargins = "0,0,0,0" private command CreateCombinedGraphic pName, pRectangle, pRoundCorners --> prepare by resetting the templateControls reset the templateGroup reset the templateGraphic --> start by creating the control group local tControlGroup, tRectangleGroup set the rectangle of the templateGroup to pRectangle set the margins of the templateGroup to kNoMargins set the selectGroupedControls of the templateGroup to false set the behavior of the templateGroup to \ the long id of button "CombinedGraphicBehavior" create group pName put it into tControlGroup --> create the roundrect in the control group set the style of the templateGraphic to "RoundRect" set the rectangle of the templateGraphic to pRectangle set the opaque of the templateGraphic to true set the antiAliased of the templateGraphic to true create graphic "RoundRectGraphic" in tControlGroup --> create the rectangle inner groups CreateRectangleGroup tControlGroup, "Top" CreateRectangleGroup tControlGroup, "Btm" --> cleanup by resetting the templateControls reset the templateGroup reset the templateGraphic --> now reshape the control innards set the cgRoundCorners of tControlGroup to pRoundCorners --> let the caller use the reference if it wants return tControlGroup end CreateCombinedGraphic private command CreateRectangleGroup pControlGroup, pSuffix --> create the rectangle clipping group local tRectangleGroup reset the templateGroup set the rectangle of the templateGroup to \ the rectangle of pControlGroup set the lockLocation of the templateGroup to true set the margins of the templateGroup to kNoMargins create group ("RectangleClipGroup" & pSuffix) in pControlGroup put it into tRectangleGroup --> create the rectangle in the bottom inner group reset the templateGraphic set the style of the templateGraphic to "Rectangle" set the rectangle of the templateGraphic \ to the rectangle of pControlGroup set the opaque of the templateGraphic to true set the antiAliased of the templateGraphic to true create graphic "RectangleGraphic" in tRectangleGroup --> let the caller use the reference if it wants return tRectangleGroup end CreateRectangleGroup ## Click the button, and you get a combined graphic custom control that has a bunch of handy properties and resizes nicely - as long as you don't make it too small anyway ;-) You can extend the behavior script for graphic effects, but I'll leave that as an exercise to the reader. Cheers, Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From toncardona at mac.com Thu Dec 2 11:24:35 2010 From: toncardona at mac.com (Ton Cardona) Date: Thu, 02 Dec 2010 17:24:35 +0100 Subject: Compiling solved Message-ID: <39E044EE-8FA3-437D-8DA1-EF0391400804@mac.com> My friend Mark was, as usual, right. While in the stack as such and in the Windows compiled version it was enough with put "binfile:"&aType&"/"&aLaw&".gz" into newLaw put the decompressed of URL newLaw into aNewLaw in Mac I have had to include in newLaw the full path of aLaw in my server. Mystery solved but funny, anyway, those different results. Thanks again to you all, Ton From stephenREVOLUTION2 at barncard.com Thu Dec 2 11:27:43 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 2 Dec 2010 08:27:43 -0800 Subject: Geometry Manager tutorial? In-Reply-To: <2695D47C-9D96-4329-BF36-F444BD4E34FB@cruzio.com> References: <2695D47C-9D96-4329-BF36-F444BD4E34FB@cruzio.com> Message-ID: There used to be a video that was included with each installation but it required adding an special codec to play (ensharpen). I see this page on the Runrev site: http://www.runrev.com/developers/lessons-and-tutorials/tutorials/basic-the-geometry-manager/ On 2 December 2010 07:51, Mark Swindell wrote: > I've never made use of the geometry manager before. What's is the best > tutorial and where can I find it? > > I have a pretty simple stack with 5 cards, but with newer higher > resolution screens things are just too tiny. Should I just quiz the screen > resolution and set each element manually in a preopenstack handler, or would > the geometry manager work for this? > > Thanks > Mark > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From ambassador at fourthworld.com Thu Dec 2 11:43:56 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 02 Dec 2010 08:43:56 -0800 Subject: [OT] Custom computers Message-ID: <4CF7CCCC.7000703@fourthworld.com> I was looking for a beefy quad core system and my brother convinced me that the cost savings and customizability makes it well worth the time to assemble the parts. So I'm curious: How many of you here have built your own computers? Did you go with a barebones, or do it from scratch? Did you go with Intel or AMD, and why? I'm leaning toward AMD myself given what appears to be an excellent price/performance value, and will likely build from scratch because I'm picky about the case. Seems a surprising number of people I know build their own systems, kinda makes me wonder why I ever bought an off-the-shelf PC. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From bvg at mac.com Thu Dec 2 11:59:19 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 02 Dec 2010 17:59:19 +0100 Subject: Geometry Manager tutorial? In-Reply-To: <2695D47C-9D96-4329-BF36-F444BD4E34FB@cruzio.com> References: <2695D47C-9D96-4329-BF36-F444BD4E34FB@cruzio.com> Message-ID: <645A9356-48BC-436C-B710-948A6358300C@mac.com> I suggest to use both the preopenstack and resizestack messages. I also suggest not to use the geometry manager. sooner or later it goes bonkers, and moves a control into a million negative pixel position, or some such. Setting these properties, makes you able to resize anything however you like: rectangle topleft bottomright location left bottom width height etc... Note: The working rectangle (so to say) is the card, and not the stack: lock screen set the width of field "first" to the width of this card set the topleft of field "first" to the topleft of this card Finally, don't forget that grouping controls, as well as lock screen, can make things easier and quicker for you. On 2 Dec 2010, at 16:51, Mark Swindell wrote: > I've never made use of the geometry manager before. What's is the best tutorial and where can I find it? > > I have a pretty simple stack with 5 cards, but with newer higher resolution screens things are just too tiny. Should I just quiz the screen resolution and set each element manually in a preopenstack handler, or would the geometry manager work for this? > > Thanks > Mark > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marty at ucls.uchicago.edu Thu Dec 2 12:09:20 2010 From: marty at ucls.uchicago.edu (Marty Billingsley) Date: Thu, 2 Dec 2010 11:09:20 -0600 Subject: How to show an image in a field? Message-ID: <67BB4A2E-D1F9-43C4-9C24-4B6AECBB1AC4@ucls.uchicago.edu> Hi all -- Recently, on this list I think, I discovered how to show an image within a field. It had to do with replacing a character in the field with SOMETHING -- but I don't remember what! The imageData of the image? (but that doesn't seem to work) Can anyone refresh my memory? Thanks! - Marty "my brain is a sieve" Billingsley -- Marty Billingsley Department of Computer Science The University of Chicago Laboratory Schools From stephenREVOLUTION2 at barncard.com Thu Dec 2 12:15:24 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 2 Dec 2010 09:15:24 -0800 Subject: How to show an image in a field? In-Reply-To: <67BB4A2E-D1F9-43C4-9C24-4B6AECBB1AC4@ucls.uchicago.edu> References: <67BB4A2E-D1F9-43C4-9C24-4B6AECBB1AC4@ucls.uchicago.edu> Message-ID: imagesource http://docs.runrev.com/Property/imageSource sqb On 2 December 2010 09:09, Marty Billingsley wrote: > Hi all -- > > Recently, on this list I think, I discovered how to show an image within a > field. It had to do with replacing a character in the field with SOMETHING > -- but I don't remember what! The imageData of the image? (but that doesn't > seem to work) > > Can anyone refresh my memory? > > Thanks! > - Marty "my brain is a sieve" Billingsley > > -- > Marty Billingsley > Department of Computer Science > The University of Chicago Laboratory Schools > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From warren at warrensweb.us Thu Dec 2 12:15:38 2010 From: warren at warrensweb.us (Warren Samples) Date: Thu, 02 Dec 2010 11:15:38 -0600 Subject: [OT] Custom computers In-Reply-To: <4CF7CCCC.7000703@fourthworld.com> References: <4CF7CCCC.7000703@fourthworld.com> Message-ID: <1291310138.2162.232.camel@mint-i7> On Thu, 2010-12-02 at 08:43 -0800, Richard Gaskin wrote: > So I'm curious: How many of you here have built your own computers? > Did you go with a barebones, or do it from scratch? Did you go with > Intel or AMD, and why? Hi Richard, I have just put together a computer. It's my third one and by far the most ambitious as far as performance goes. The first two were mostly about saving money. It's not hard at all! I picked the parts rather than buying a kit. This offers the advantage of allocating your resources in a way that can better match your needs. I matched a fast CPU, high quality motherboard, and a substantial power supply with a modest but very adequate, for me, graphics card. Most prebuilt systems or barebones kits scale all their components equally, but that would have had me spending money (probably lots!) on a graphics card I don't need or left me with some combination of lower spec'd CPU, lesser mobo and/or (potentially) unreliable power supply. I have a machine that performs fantastically, runs cool and should live a very long time. I buy most of my stuff from TigerDirect but the CPU and CPU cooler I got from eBay. I chose in Intel i7 quad in the 1366 socket. I didn't really look at AMD this time, although my first two machines were both AMDs. Look for rebates and specials! I'm running Linux Mint 64 bit with dual monitors and have Windows 7 and Snow Leopard running inside VirtualBox. All very sweet! I like it :) Warren From bonnmike at gmail.com Thu Dec 2 12:16:28 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 2 Dec 2010 10:16:28 -0700 Subject: [OT] Custom computers In-Reply-To: <4CF7CCCC.7000703@fourthworld.com> References: <4CF7CCCC.7000703@fourthworld.com> Message-ID: I've done so, both from scratch as well as using a barebones. The issue with barebones is many times you'll end up with parts you don't want. For example an underpowered or less well known to be reliable power supply. The right barebones can save you time, the wrong one can end up costing you money. My preferred method is from scratch, and if I ever end up with a windows machine again will most likely build one. Make sure you factor in OS cost while at it, sometimes you can find a pre-built system with os, that is very comparable in price and spec to the one you're building. It has always seemed to me that your savings is higher if you're trying to put together as you say a 'beefy' system than if you're trying to build your own commodity system. Also be aware that toms hardware is your friend for sorting out hardware options. Strangely enough, my only other real recommendation is get a good case with adequate labeling, as well as good hardware mounting systems. If your eyes are as bad as mine are (the price of getting old) having wires labeled can make things go nice and smooth, and having a case design that doesn't require you to be a convolutionist, or require a strict build order also can ease difficult. Finding out that you should have hooked up this, before installing that can be a real annoyance. I suspect cases are far better designed across the board today than the used to be but still something to be aware of. Oh ok, and last last thing, research cooling performance on the stock cpu cooler, as well as finding a case that has good airflow, and if necessary adjust and buy and aftermarket cpu cooler, or different case or.. I'm partial to heat pipe type coolers myself, but thats just me. Oh, and assuming its still the current king, (and you decide to swap coolers) get some arctic silver 5. It's good stuff. If there is something better than that now, I'd be interested to learn of it too of course. On Thu, Dec 2, 2010 at 9:43 AM, Richard Gaskin wrote: > I was looking for a beefy quad core system and my brother convinced me that > the cost savings and customizability makes it well worth the time to > assemble the parts. > > So I'm curious: How many of you here have built your own computers? Did > you go with a barebones, or do it from scratch? Did you go with Intel or > AMD, and why? > > I'm leaning toward AMD myself given what appears to be an excellent > price/performance value, and will likely build from scratch because I'm > picky about the case. > > Seems a surprising number of people I know build their own systems, kinda > makes me wonder why I ever bought an off-the-shelf PC. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rene.micout at numericable.com Thu Dec 2 12:17:49 2010 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 2 Dec 2010 18:17:49 +0100 Subject: How to show an image in a field? In-Reply-To: <67BB4A2E-D1F9-43C4-9C24-4B6AECBB1AC4@ucls.uchicago.edu> References: <67BB4A2E-D1F9-43C4-9C24-4B6AECBB1AC4@ucls.uchicago.edu> Message-ID: by example : set the imageSource of last char of fld "fldX" to 28056 28056 = the id of the image Le 2 d?c. 2010 ? 18:09, Marty Billingsley a ?crit : > Hi all -- > > Recently, on this list I think, I discovered how to show an image within a field. It had to do with replacing a character in the field with SOMETHING -- but I don't remember what! The imageData of the image? (but that doesn't seem to work) > > Can anyone refresh my memory? > > Thanks! > - Marty "my brain is a sieve" Billingsley > > -- > Marty Billingsley > Department of Computer Science > The University of Chicago Laboratory Schools > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Thu Dec 2 12:19:00 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 2 Dec 2010 09:19:00 -0800 (PST) Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: <4C1A2313-A134-44BE-A56D-35BA97C6D03F@twft.com> References: <84501.18615.qm@web65406.mail.ac4.yahoo.com> <623295.29198.qm@web65404.mail.ac4.yahoo.com> <4C1A2313-A134-44BE-A56D-35BA97C6D03F@twft.com> Message-ID: <1291310340159-3069739.post@n4.nabble.com> Hi all, Bob Sneidar-2 wrote: > > This is rhetorical, but I wonder if the issue is that the engine cannot > render such an object, or that there are no tools capable of making one > natively. If it is only the latter, then maybe a good future enhancement > would be the ability to import eps vector objects. That way you could make > what you wanted in something like Illustrator and then import it. > [snip] > Actually, some years ago, I published a stack that could import simple Adobe Illustrator files. this is the more recent version that could import graphic with gradients: http://andregarzia.on-rev.com/alejandro/stacks/Eps_Import_V05B.zip (Many thanks to Andre for offering me this space in his account!) But the solution that we need is to update the stack SVGL, created by Ian Macphail, to import gradients and transparency from SVG files: http://revonline2.runrev.com/stack/112/SVGL Using SVG, we could create and import whole interfaces with transparency and gradients. The original Adobe Illustrator format do not offers transparency, so instead of breaking the format, Adobe replaced it with PDF in new Illustrator versions. SVG is a standard, so this work could benefit all of us in more than one way. Notice that I have already worked out the math for Lineal and Radial gradients in Version 0.5B of the stack EpsImport. If one of you want to help on this task and Mr. MacPhail agree, we could start working on this update today. Have a nice day! Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-make-a-square-topped-round-rect-bottomed-graphic-tp3067446p3069739.html Sent from the Revolution - User mailing list archive at Nabble.com. From support at ahsomme.com Thu Dec 2 12:21:08 2010 From: support at ahsomme.com (Paul Looney) Date: Thu, 2 Dec 2010 09:21:08 -0800 Subject: [OT] Custom computers In-Reply-To: <4CF7CCCC.7000703@fourthworld.com> References: <4CF7CCCC.7000703@fourthworld.com> Message-ID: <908D149B-D868-4F5C-AB45-16762338996A@ahsomme.com> Richard, AnandTech.com has excellent reviews of all the DIY components, including processors, boards, power supplies, even cases. Good place to start. Don't forget to leave room for a good SSD! Paul Looney On Dec 2, 2010, at 8:43 AM, Richard Gaskin wrote: > I was looking for a beefy quad core system and my brother convinced > me that the cost savings and customizability makes it well worth > the time to assemble the parts. > > So I'm curious: How many of you here have built your own > computers? Did you go with a barebones, or do it from scratch? Did > you go with Intel or AMD, and why? > > I'm leaning toward AMD myself given what appears to be an excellent > price/performance value, and will likely build from scratch because > I'm picky about the case. > > Seems a surprising number of people I know build their own systems, > kinda makes me wonder why I ever bought an off-the-shelf PC. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Thu Dec 2 12:24:02 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 2 Dec 2010 09:24:02 -0800 Subject: [OT] Custom computers In-Reply-To: <1291310138.2162.232.camel@mint-i7> References: <4CF7CCCC.7000703@fourthworld.com> <1291310138.2162.232.camel@mint-i7> Message-ID: one can run *Snow Leopard* on a PC? Using the 'free' *Virtualbox*? Where have I been the last two years.? I didn't think this was possible without a 'magic rom' or something illegal. On 2 December 2010 09:15, Warren Samples wrote: > > I'm running Linux Mint 64 bit with dual monitors and have Windows 7 and > Snow Leopard running inside VirtualBox. All very sweet! I like it :) > > Warren > > > Stephen Barncard San Francisco Ca. USA more about sqb From lfredricks at proactive-intl.com Thu Dec 2 12:24:21 2010 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 2 Dec 2010 09:24:21 -0800 Subject: [OT] Custom computers In-Reply-To: <4CF7CCCC.7000703@fourthworld.com> References: <4CF7CCCC.7000703@fourthworld.com> Message-ID: > So I'm curious: How many of you here have built your own computers? > Did you go with a barebones, or do it from scratch? Did you > go with Intel or AMD, and why? > > I'm leaning toward AMD myself given what appears to be an > excellent price/performance value, and will likely build from > scratch because I'm picky about the case. I have both types of systems, and it really doesn't matter which one. AMD is more focused on price/performance. On the other hand, Intel has long complained that its competitors achieve higher rates because they do overclocking techniques that Intel believes are too risky. Both hardware companies add some specific features to specific processors - but for special needs. There could be better performance too if you go the AMD route for both your CPU/board and video card, since AMD bought ATI. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From bvg at mac.com Thu Dec 2 12:25:13 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 02 Dec 2010 18:25:13 +0100 Subject: [OT] Custom computers In-Reply-To: <4CF7CCCC.7000703@fourthworld.com> References: <4CF7CCCC.7000703@fourthworld.com> Message-ID: <32916EFD-B5FF-47AC-B91B-99F1619396B7@mac.com> I built all my gaming pc's from scratch, as well as some machines for workplaces. The tasks you are planning to do is the deciding factor. For mail, word processing, livecode and basic photoshop you do not need a quad core. Actually, almost any new processor will be overdoing it. Not that is in any way a bad thing ;) for indesign, movie editing, high end gaming and some audio task you want a top half cpu (in cost). Much money can be saved if you go for the second or third fastest processor, no matter which brand. Although the speed of a year ago, those are sufficient to run almost everything, at a fraction of the top-tier product offerings. (They do that to milk the "best stuff is the only stuff" crowd) A similar rule applies to ram, and graphics card (if you do not do 3d, a integrated graphic card will be enough). In hard disks, if you're cost sensitive, nothing beats default one disk setups. raids are sometimes hard to setup, and solid state disks are horribly costly. So if you don't do video editing, want the geek factor, or play games with lots of loading time, I'd suggest against those. Note that the i7 is a virtual 8 core processor. you can disable the virtual cores via BIOS settings, and get a small advantage for single core tasks due to that (ie. livecoded stuff). Dunnow if the same thing goes for AMD. On 2 Dec 2010, at 17:43, Richard Gaskin wrote: > I was looking for a beefy quad core system and my brother convinced me that the cost savings and customizability makes it well worth the time to assemble the parts. > > So I'm curious: How many of you here have built your own computers? Did you go with a barebones, or do it from scratch? Did you go with Intel or AMD, and why? > > I'm leaning toward AMD myself given what appears to be an excellent price/performance value, and will likely build from scratch because I'm picky about the case. > > Seems a surprising number of people I know build their own systems, kinda makes me wonder why I ever bought an off-the-shelf PC. From bobs at twft.com Thu Dec 2 12:28:30 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 2 Dec 2010 09:28:30 -0800 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: <1291310340159-3069739.post@n4.nabble.com> References: <84501.18615.qm@web65406.mail.ac4.yahoo.com> <623295.29198.qm@web65404.mail.ac4.yahoo.com> <4C1A2313-A134-44BE-A56D-35BA97C6D03F@twft.com> <1291310340159-3069739.post@n4.nabble.com> Message-ID: Awesome Andre, but I regret to say that the link is broken. I get the dreaded 404 error. Bob On Dec 2, 2010, at 9:19 AM, Alejandro Tejada wrote: > > Hi all, > > > Bob Sneidar-2 wrote: >> >> This is rhetorical, but I wonder if the issue is that the engine cannot >> render such an object, or that there are no tools capable of making one >> natively. If it is only the latter, then maybe a good future enhancement >> would be the ability to import eps vector objects. That way you could make >> what you wanted in something like Illustrator and then import it. >> [snip] >> > > Actually, some years ago, I published a stack that could import > simple Adobe Illustrator files. this is the more recent version > that could import graphic with gradients: > > http://andregarzia.on-rev.com/alejandro/stacks/Eps_Import_V05B.zip > > (Many thanks to Andre for offering me this space in his account!) > > But the solution that we need is to update the stack SVGL, created by > Ian Macphail, to import gradients and transparency from SVG files: > http://revonline2.runrev.com/stack/112/SVGL > > Using SVG, we could create and import whole interfaces with > transparency and gradients. The original Adobe Illustrator format > do not offers transparency, so instead of breaking the format, > Adobe replaced it with PDF in new Illustrator versions. > > SVG is a standard, so this work could benefit all of us in more > than one way. Notice that I have already worked out the math > for Lineal and Radial gradients in Version 0.5B of the stack EpsImport. > > If one of you want to help on this task and Mr. MacPhail agree, > we could start working on this update today. > > Have a nice day! > > Alejandro > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-make-a-square-topped-round-rect-bottomed-graphic-tp3067446p3069739.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Dec 2 12:29:37 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 2 Dec 2010 09:29:37 -0800 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: <1291310340159-3069739.post@n4.nabble.com> References: <84501.18615.qm@web65406.mail.ac4.yahoo.com> <623295.29198.qm@web65404.mail.ac4.yahoo.com> <4C1A2313-A134-44BE-A56D-35BA97C6D03F@twft.com> <1291310340159-3069739.post@n4.nabble.com> Message-ID: <6CAF812D-E28E-46F7-93EC-D7458020EC5F@twft.com> Belay my last I was able to back up the URL to the enclosing folder and found what I was looking for. The file name is different. Bob On Dec 2, 2010, at 9:19 AM, Alejandro Tejada wrote: > > Hi all, > > > Bob Sneidar-2 wrote: >> >> This is rhetorical, but I wonder if the issue is that the engine cannot >> render such an object, or that there are no tools capable of making one >> natively. If it is only the latter, then maybe a good future enhancement >> would be the ability to import eps vector objects. That way you could make >> what you wanted in something like Illustrator and then import it. >> [snip] >> > > Actually, some years ago, I published a stack that could import > simple Adobe Illustrator files. this is the more recent version > that could import graphic with gradients: > > http://andregarzia.on-rev.com/alejandro/stacks/Eps_Import_V05B.zip > > (Many thanks to Andre for offering me this space in his account!) > > But the solution that we need is to update the stack SVGL, created by > Ian Macphail, to import gradients and transparency from SVG files: > http://revonline2.runrev.com/stack/112/SVGL > > Using SVG, we could create and import whole interfaces with > transparency and gradients. The original Adobe Illustrator format > do not offers transparency, so instead of breaking the format, > Adobe replaced it with PDF in new Illustrator versions. > > SVG is a standard, so this work could benefit all of us in more > than one way. Notice that I have already worked out the math > for Lineal and Radial gradients in Version 0.5B of the stack EpsImport. > > If one of you want to help on this task and Mr. MacPhail agree, > we could start working on this update today. > > Have a nice day! > > Alejandro > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-make-a-square-topped-round-rect-bottomed-graphic-tp3067446p3069739.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From warren at warrensweb.us Thu Dec 2 12:33:48 2010 From: warren at warrensweb.us (Warren Samples) Date: Thu, 02 Dec 2010 11:33:48 -0600 Subject: [OT] Custom computers In-Reply-To: References: <4CF7CCCC.7000703@fourthworld.com> <1291310138.2162.232.camel@mint-i7> Message-ID: <1291311228.2162.277.camel@mint-i7> On Thu, 2010-12-02 at 09:24 -0800, stephen barncard wrote: > > > one can run *Snow Leopard* on a PC? Using the 'free' *Virtualbox*? > > Where have I been the last two years.? I didn't think this was > possible > without a 'magic rom' or something illegal. Hmmmmmmmmmmm... Are you a friend of Steve? If you are, then forget what I said. o/w try google. Also there *may* be some vids on youtube. Not that I know *anything*. From david at vaudevillecourt.tv Thu Dec 2 12:47:14 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Thu, 2 Dec 2010 17:47:14 +0000 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: <1291310340159-3069739.post@n4.nabble.com> References: <84501.18615.qm@web65406.mail.ac4.yahoo.com> <623295.29198.qm@web65404.mail.ac4.yahoo.com> <4C1A2313-A134-44BE-A56D-35BA97C6D03F@twft.com> <1291310340159-3069739.post@n4.nabble.com> Message-ID: Exactly. On 2 December 2010 17:19, Alejandro Tejada wrote: > But the solution that we need is to update the stack SVGL, created by > Ian Macphail, to import gradients and transparency from SVG files: > http://revonline2.runrev.com/stack/112/SVGL > Still it would be great to be able to have groups with borders and clippling areas defined by the graphic. From warrenkuhl at gmail.com Thu Dec 2 13:03:07 2010 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Thu, 2 Dec 2010 12:03:07 -0600 Subject: Scrolling Field With Quotes Message-ID: I have a text file which I am loading into a scrolling field. At first I thought the text file was somehow being truncated as it looked like only half the text file was being loaded into the scrolling field. Through debug, I noticed that the file is being loaded completely, but the scrolling field seems to have issues with double quotes. Is there anyway to keep the double quotes in the field and have them work in the scrolling field? Warren From Roger.E.Eller at sealedair.com Thu Dec 2 13:03:12 2010 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Thu, 2 Dec 2010 13:03:12 -0500 Subject: [OT] Custom computers In-Reply-To: <1291311228.2162.277.camel@mint-i7> Message-ID: On 12/02/2010 at 12:35 PM, Warren Samples wrote: > Hmmmmmmmmmmm... Are you a friend of Steve? If you are, then forget what > I said. o/w try google. Also there *may* be some vids on youtube. Not > that I know *anything*. I don't know *anything* either, but there are lots of people "potential software customers" who are real fans of OS X, but only want to have their choice in where they install/run it. It's not always about saving money, or acquiring the OS by shady means. Many users do actually buy the retail box set and are technically savvy enough to get it working. Steve really could make more money legally selling OS X to a broader audience. The 3rd party software market would probably grow as well, and with the Mac App Store, Apple still wins again. I know they don't want the hassle of supporting such varied hardware, but there already is a community supporting these fans, just as is done with the many flavors of Linux. Fans are crying out here: http://www.osx86install.com/hear-us.html For Linux and Mac fans, check out MacBuntu. It is a themed Linux that is quite impressive. Almost as good as the Apple-themed BSD we call OS X. :-) From capellan2000 at gmail.com Thu Dec 2 13:09:57 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 2 Dec 2010 10:09:57 -0800 (PST) Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: <6CAF812D-E28E-46F7-93EC-D7458020EC5F@twft.com> References: <84501.18615.qm@web65406.mail.ac4.yahoo.com> <623295.29198.qm@web65404.mail.ac4.yahoo.com> <4C1A2313-A134-44BE-A56D-35BA97C6D03F@twft.com> <1291310340159-3069739.post@n4.nabble.com> <6CAF812D-E28E-46F7-93EC-D7458020EC5F@twft.com> Message-ID: <1291313397497-3069855.post@n4.nabble.com> Hi Bob, Bob Sneidar-2 wrote: > > Belay my last I was able to back up the URL to the enclosing folder and > found what I was looking for. The file name is different. > Ah! Thanks for reporting this error. Glad that you found it. :-D There is another page with this file: Visit: http://capellan2000.000space.com/ Look for the file named: Eps_Import_V05B.zip Ideally, I could post the link directly: http://www.capellan2000.000space.com/Eps_Import_V05B.zip But 000space does not allows hotlinking, so if you try to download from the link above, the server respond with an error page. Have a nice day! Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-make-a-square-topped-round-rect-bottomed-graphic-tp3067446p3069855.html Sent from the Revolution - User mailing list archive at Nabble.com. From bvg at mac.com Thu Dec 2 13:21:55 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 02 Dec 2010 19:21:55 +0100 Subject: [ANN] Live LiveCode code event nr. two Message-ID: <122B4486-2BE9-4862-823D-231509B34B5B@mac.com> Dearest scripters This Saturday the streamed insanity continues! More! Better! Ribbon! We (Yes, we're a 'we' now!) even got a new cozy place. But beware, it's not furnished yet. The hauling truck is scheduled to arrive on friday evening: www.livecode.tv Times (two hours later then last time): Zurich: 20:00 Buenos Aires: 16:00 New York: 14:00 San Francisco: 11:00 Sydney: 06:00 We have more topics and more presenters (note to self: fix to represent reality): - Bjoernke will steal an idea from the use list and present various entry-restricted fields. - David will show how to create iPhone GUIs using pre-made groups of objects. - Mark will create a simple socket tutorial, and present his installer plugin. Like last time, the real deal is when you join ChatRev and demand weird things from the presenters. Like for example, that we explain how to start LiveCode. Ok, now _that_ is a horrible question. See how boring we are? We desperately need your ideas! At any time (or the time mentioned above), join here: http://bjoernke.com?target=chatrev or: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" Meanwhile, we've got homework for y'all. The Question is: When to do future shows, assuming we do them weekly? Please vote on your preferred show-day (Vote not applicable to next show): http://doodle.com/bgtc7ynzpwcdnw79 Have Fun! Bjoernke -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From jacque at hyperactivesw.com Thu Dec 2 13:23:08 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 Dec 2010 12:23:08 -0600 Subject: Compiling problems In-Reply-To: <3A6CCD70-7AEC-43F1-BF96-FA55184442D0@numericable.com> References: <4CF6E189.3030304@hyperactivesw.com> <3A6CCD70-7AEC-43F1-BF96-FA55184442D0@numericable.com> Message-ID: <4CF7E40C.1000806@hyperactivesw.com> On 12/2/10 2:19 AM, Ren? Micout wrote: > Hello Jacque, > Mark (Schonewille) write to me in October : > " > Now pay attention! I think you don't need to do anything complicated. Just make a mainstack of the splash stack. Add the stack file, which no longer contains the splash stack and ADD THE STACK FILE TO THE STACK FILE PROPERTY OF THE NEW SPLASH STACK. STACK FILES<> SUBSTACKS!!! > " > Why not "Stack file" ? LOL, I see you paid attention. :) "Stack file" might work if people don't confuse it with "filename". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Thu Dec 2 13:35:43 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 2 Dec 2010 10:35:43 -0800 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: <1291313397497-3069855.post@n4.nabble.com> References: <84501.18615.qm@web65406.mail.ac4.yahoo.com> <623295.29198.qm@web65404.mail.ac4.yahoo.com> <4C1A2313-A134-44BE-A56D-35BA97C6D03F@twft.com> <1291310340159-3069739.post@n4.nabble.com> <6CAF812D-E28E-46F7-93EC-D7458020EC5F@twft.com> <1291313397497-3069855.post@n4.nabble.com> Message-ID: Got it thanks! I am very excited about this actually, because this will allow developers to contract out graphic designers for interface development, making LiveCode standalones truly a thing of beauty. I don't know if this uses an externally developed plugin to read the file, or if you are "ripping" it raw, but in either case, if it produces a LiveCode vector object, and we can get a little updating going from the LiveCode developers, this has the potential to become a really great addition! Imagine objects of any shape and size, filled with a graphic image, or a complex blend, that we can import from an EPS file! A graphic designer can simply ship the objects to us in a single EPS file and we can import them into a stack and Voila! Beautiful native objects! Bob On Dec 2, 2010, at 10:09 AM, Alejandro Tejada wrote: > > Hi Bob, > > > Bob Sneidar-2 wrote: >> >> Belay my last I was able to back up the URL to the enclosing folder and >> found what I was looking for. The file name is different. >> > > Ah! Thanks for reporting this error. > Glad that you found it. :-D > > There is another page with this file: > Visit: > > http://capellan2000.000space.com/ > > Look for the file named: > > Eps_Import_V05B.zip > > Ideally, I could post the link directly: > http://www.capellan2000.000space.com/Eps_Import_V05B.zip > But 000space does not allows hotlinking, so if you try to > download from the link above, the server respond with an > error page. > > Have a nice day! > > Alejandro > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-make-a-square-topped-round-rect-bottomed-graphic-tp3067446p3069855.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Dec 2 13:42:13 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 02 Dec 2010 20:42:13 +0200 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: <539245.15548.qm@web65410.mail.ac4.yahoo.com> References: <539245.15548.qm@web65410.mail.ac4.yahoo.com> Message-ID: <4CF7E885.50509@gmail.com> Why do I seem to remember a plugin that allows one to import SVG graphics [Richard Gaskin ???]; with that one could put together a square in something like Inkscape with right-angle tops and curved bottoms (Oh, My!) and import it into Livecode. From richmondmathewson at gmail.com Thu Dec 2 13:46:17 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 02 Dec 2010 20:46:17 +0200 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: <1291310340159-3069739.post@n4.nabble.com> References: <84501.18615.qm@web65406.mail.ac4.yahoo.com> <623295.29198.qm@web65404.mail.ac4.yahoo.com> <4C1A2313-A134-44BE-A56D-35BA97C6D03F@twft.com> <1291310340159-3069739.post@n4.nabble.com> Message-ID: <4CF7E979.5040608@gmail.com> On 12/02/2010 07:19 PM, Alejandro Tejada wrote: > Hi all, > > > Bob Sneidar-2 wrote: >> This is rhetorical, but I wonder if the issue is that the engine cannot >> render such an object, or that there are no tools capable of making one >> natively. If it is only the latter, then maybe a good future enhancement >> would be the ability to import eps vector objects. That way you could make >> what you wanted in something like Illustrator and then import it. >> [snip] >> > Actually, some years ago, I published a stack that could import > simple Adobe Illustrator files. this is the more recent version > that could import graphic with gradients: > > http://andregarzia.on-rev.com/alejandro/stacks/Eps_Import_V05B.zip > > (Many thanks to Andre for offering me this space in his account!) > > But the solution that we need is to update the stack SVGL, created by > Ian Macphail, to import gradients and transparency from SVG files: > http://revonline2.runrev.com/stack/112/SVGL > > Using SVG, we could create and import whole interfaces with > transparency and gradients. The original Adobe Illustrator format > do not offers transparency, so instead of breaking the format, > Adobe replaced it with PDF in new Illustrator versions. > > SVG is a standard, so this work could benefit all of us in more > than one way. Notice that I have already worked out the math > for Lineal and Radial gradients in Version 0.5B of the stack EpsImport. > > If one of you want to help on this task and Mr. MacPhail agree, > we could start working on this update today. > > Have a nice day! > > Alejandro > > > Thanks for both of thse extremely useful resources. From DunbarX at aol.com Thu Dec 2 13:52:55 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 2 Dec 2010 13:52:55 EST Subject: Scrolling Field With Quotes Message-ID: What issues are you seeing? I have never seen quotes upset a scrolling field, and I use them a lot. Is there something in the way you load the field that might be the problem? Perhaps some delimiting or parsing gadget is seeing quotes as a special character? From toncardona at mac.com Thu Dec 2 13:57:54 2010 From: toncardona at mac.com (Ton Cardona) Date: Thu, 02 Dec 2010 19:57:54 +0100 Subject: Ucranian spam Message-ID: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> The entry of Vovan (in Russian) refers to a fantastic sexual life ucranian blog that will help us to become "real men". From andre at andregarzia.com Thu Dec 2 14:05:11 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 2 Dec 2010 17:05:11 -0200 Subject: [OT] Custom computers In-Reply-To: References: <1291311228.2162.277.camel@mint-i7> Message-ID: Richard, Before me moving to macs, I've built all my computers by hand. I never bought a dell or hp or something built by others. I always went to hundreds of differents tiny shops in here scavenging for parts. It is quite fun. The last computer I've built is a: Intel Core 2 Duo 4 GB RAM 22' screen Big Creative Sound System 350 GB HD This I've built 2 years ago. I've paid USD 900 in it or some similar amount, it was cheap by Brazilian Standards. My previous system was built with only USD 400. The thing is, know your brands and models, don't buy stuff just because it is cheap. If it is a linux computer, be aware of video issues. :-D From warrenkuhl at gmail.com Thu Dec 2 14:15:58 2010 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Thu, 2 Dec 2010 13:15:58 -0600 Subject: Scrolling Field With Quotes In-Reply-To: References: Message-ID: Thanks...I will check to see how the data is loaded. Just wanted to make sure there were no issues with the scrolling fields. I will check to see if the quote is being loaded as a special character. The problem I am having is the text file is being cut of in the scrolling field. I scroll all the way to the bottom of the scroll field and only half of the file shows up. Then when I scroll up and down...then the rest of the data shows up. This seems to happen at the point of the "double-quote". Warren On Thu, Dec 2, 2010 at 12:52 PM, wrote: > What issues are you seeing? I have never seen quotes upset a scrolling > field, and I use them a lot. Is there something in the way you load the > field > that might be the problem? Perhaps some delimiting or parsing gadget is > seeing > quotes as a special character? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Thu Dec 2 14:19:14 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 02 Dec 2010 21:19:14 +0200 Subject: Ucranian spam In-Reply-To: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> References: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> Message-ID: <4CF7F132.4070009@gmail.com> On 12/02/2010 08:57 PM, Ton Cardona wrote: > The entry of Vovan (in Russian) refers to a fantastic sexual life ucranian blog that will help us to become "real men". > Frankly I deleted the 5 "?????" e-mails I got (and noticed they didn't seem to showup on the browser version of the use-list) without reading them; they smelt bad and looked viral. From DunbarX at aol.com Thu Dec 2 14:20:03 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 2 Dec 2010 14:20:03 EST Subject: Scrolling Field With Quotes Message-ID: Really? The missing data shows up after scrolling around for a bit? Definitely get back with what you find. From stephenREVOLUTION2 at barncard.com Thu Dec 2 14:21:29 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 2 Dec 2010 11:21:29 -0800 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: <539245.15548.qm@web65410.mail.ac4.yahoo.com> References: <539245.15548.qm@web65410.mail.ac4.yahoo.com> Message-ID: Jan, this is nice work. It's in my sample stacks now - works great. nice to set the properties after creation. Easy to make a 'hatchery' for these things now.. sqb On 2 December 2010 01:35, Jan Schenkel wrote: > > You don't have to worry about scrolling with lockLocation set on the inner > groups. Here's a quick code recipe that you can put into a "Create" button: > > ## > constant kRectangle = "50,50,250,100" > constant kNoMargins = "0,0,0,0" > > on mouseUp > --> load some essentials into local variables > local tRectangle, tHeight > ... > > Enjoy! > > Jan Schenkel. > ===== > Quartam Reports & PDF Library for LiveCode > www.quartam.com > > ===== > Stephen Barncard San Francisco Ca. USA more about sqb From bobs at twft.com Thu Dec 2 14:22:39 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 2 Dec 2010 11:22:39 -0800 Subject: Compiling problems In-Reply-To: <4CF7E40C.1000806@hyperactivesw.com> References: <4CF6E189.3030304@hyperactivesw.com> <3A6CCD70-7AEC-43F1-BF96-FA55184442D0@numericable.com> <4CF7E40C.1000806@hyperactivesw.com> Message-ID: Or "File Type" :-) On Dec 2, 2010, at 10:23 AM, J. Landman Gay wrote: > LOL, I see you paid attention. :) "Stack file" might work if people don't confuse it with "filename". From warrenkuhl at gmail.com Thu Dec 2 14:22:56 2010 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Thu, 2 Dec 2010 13:22:56 -0600 Subject: Scrolling Field With Quotes In-Reply-To: References: Message-ID: Yes...this is what was happening. I will definitely report back once I determine what character is causing this issue. Thanks for pointing me in the right direction! Warren On Thu, Dec 2, 2010 at 1:20 PM, wrote: > Really? The missing data shows up after scrolling around for a bit? > > Definitely get back with what you find. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Thu Dec 2 14:24:38 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 02 Dec 2010 21:24:38 +0200 Subject: [OT] MacUpdate goes down the pipes??? Message-ID: <4CF7F275.2090809@gmail.com> Well; macupdate is now working over here in the Balkans (i.e. on the shirt-tails of Europe) but has reappeared with a rather unattractive attempt to be 'Sheksy'. From bobs at twft.com Thu Dec 2 14:26:44 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 2 Dec 2010 11:26:44 -0800 Subject: Ucranian spam In-Reply-To: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> References: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> Message-ID: <8C4774F7-AB19-4518-9DEC-48A79F156E7A@twft.com> Sooo... to be a "Real Man" I must be Ukrainian? Bob On Dec 2, 2010, at 10:57 AM, Ton Cardona wrote: > The entry of Vovan (in Russian) refers to a fantastic sexual life ucranian blog that will help us to become "real men". > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Dec 2 14:28:23 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 02 Dec 2010 21:28:23 +0200 Subject: How to make a square topped, round rect bottomed graphic? Message-ID: <4CF7F357.3080601@gmail.com> On 12/02/2010 07:19 PM, Alejandro Tejada wrote: > Hi all, > > > Bob Sneidar-2 wrote: >> This is rhetorical, but I wonder if the issue is that the engine cannot >> render such an object, or that there are no tools capable of making one >> natively. If it is only the latter, then maybe a good future enhancement >> would be the ability to import eps vector objects. That way you could make >> what you wanted in something like Illustrator and then import it. >> [snip] >> > Actually, some years ago, I published a stack that could import > simple Adobe Illustrator files. this is the more recent version > that could import graphic with gradients: > > http://andregarzia.on-rev.com/alejandro/stacks/Eps_Import_V05B.zip > > > Aah, but it DOESN'T import EPS files; it imports ILLUSTRATOR files (suffix .ai). From devin_asay at byu.edu Thu Dec 2 14:29:24 2010 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 2 Dec 2010 12:29:24 -0700 Subject: Ucranian spam In-Reply-To: <8C4774F7-AB19-4518-9DEC-48A79F156E7A@twft.com> References: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> <8C4774F7-AB19-4518-9DEC-48A79F156E7A@twft.com> Message-ID: No, to be a "muzhchina" you must be Ukrainian. Or Russian. Devin On Dec 2, 2010, at 12:26 PM, Bob Sneidar wrote: > Sooo... to be a "Real Man" I must be Ukrainian? > > Bob > > > On Dec 2, 2010, at 10:57 AM, Ton Cardona wrote: > >> The entry of Vovan (in Russian) refers to a fantastic sexual life ucranian blog that will help us to become "real men". >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Humanities Technology and Research Support Center Brigham Young University From richmondmathewson at gmail.com Thu Dec 2 14:31:25 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 02 Dec 2010 21:31:25 +0200 Subject: Ucranian spam In-Reply-To: <8C4774F7-AB19-4518-9DEC-48A79F156E7A@twft.com> References: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> <8C4774F7-AB19-4518-9DEC-48A79F156E7A@twft.com> Message-ID: <4CF7F40D.9090008@gmail.com> On 12/02/2010 09:26 PM, Bob Sneidar wrote: > Sooo... to be a "Real Man" I must be Ukrainian? Yeah, well; if one takes Nikita Khrushchev as the "Ukrainian man" qua Ukrainian man, you can count me out. One wonders why 'Vovan' is in Russian not Ukrainian if the blog is Ukrainian. One wonders why I am wasting my time writing this drivel about some stupid spam-bot??? > Bob > > > On Dec 2, 2010, at 10:57 AM, Ton Cardona wrote: > >> The entry of Vovan (in Russian) refers to a fantastic sexual life ucranian blog that will help us to become "real men". >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Dec 2 14:34:22 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 02 Dec 2010 21:34:22 +0200 Subject: Ucranian spam In-Reply-To: References: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> <8C4774F7-AB19-4518-9DEC-48A79F156E7A@twft.com> Message-ID: <4CF7F4BE.3020804@gmail.com> On 12/02/2010 09:29 PM, Devin Asay wrote: > No, to be a "muzhchina" you must be Ukrainian. Or Russian. > > Devin > Most of the chaps over that way are "muzhiks" rather than "muzhchini" or "zhenschini" for that matter. "When a Russian shaves his beard off he imagines that makes him a European." From devin_asay at byu.edu Thu Dec 2 14:35:37 2010 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 2 Dec 2010 12:35:37 -0700 Subject: Ucranian spam In-Reply-To: <4CF7F40D.9090008@gmail.com> References: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> <8C4774F7-AB19-4518-9DEC-48A79F156E7A@twft.com> <4CF7F40D.9090008@gmail.com> Message-ID: <2D007398-DAA6-4466-A832-A3B11EA90110@byu.edu> On Dec 2, 2010, at 12:31 PM, Richmond wrote: > On 12/02/2010 09:26 PM, Bob Sneidar wrote: >> Sooo... to be a "Real Man" I must be Ukrainian? > > Yeah, well; if one takes Nikita Khrushchev as the > "Ukrainian man" qua Ukrainian man, you can count me out. > > One wonders why 'Vovan' is in Russian not Ukrainian if the > blog is Ukrainian. > > One wonders why I am wasting my time writing this drivel about some > stupid spam-bot??? Not to worry. Heather informs me that our pal Vovan has already been shipped off to virtual exile in.... wait for it... Cyberia. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From jacque at hyperactivesw.com Thu Dec 2 14:40:10 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 Dec 2010 13:40:10 -0600 Subject: Scrolling Field With Quotes In-Reply-To: References: Message-ID: <4CF7F61A.6@hyperactivesw.com> On 12/2/10 1:15 PM, Warren Kuhl wrote: > Thanks...I will check to see how the data is loaded. Just wanted to make > sure there were no issues with the scrolling fields. I will check to see if > the quote is being loaded as a special character. Open the text file in an app that shows invisible characters and see what's in there. If you can identify what it is, you can remove those characters with a script before putting the text in the field. I've never heard of a field that suddenly recovers the way you describe, but I can verify what Craig said, that quotes aren't a problem. That's really odd behavior. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Thu Dec 2 14:41:30 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 2 Dec 2010 11:41:30 -0800 Subject: [OT] Custom computers In-Reply-To: <4CF7CCCC.7000703@fourthworld.com> References: <4CF7CCCC.7000703@fourthworld.com> Message-ID: <0FA4B9CF-DAA0-4D13-A9E2-FF5EC676E668@twft.com> The only advice I can give you is don't go cheap. If you are trying to save money by making the cheapest computer you can, you will dearly regret it before it's over. I could tell you some horror stories... Bob On Dec 2, 2010, at 8:43 AM, Richard Gaskin wrote: > I was looking for a beefy quad core system and my brother convinced me that the cost savings and customizability makes it well worth the time to assemble the parts. > > So I'm curious: How many of you here have built your own computers? Did you go with a barebones, or do it from scratch? Did you go with Intel or AMD, and why? > > I'm leaning toward AMD myself given what appears to be an excellent price/performance value, and will likely build from scratch because I'm picky about the case. > > Seems a surprising number of people I know build their own systems, kinda makes me wonder why I ever bought an off-the-shelf PC. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Dec 2 14:44:48 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 Dec 2010 13:44:48 -0600 Subject: Ucranian spam In-Reply-To: <2D007398-DAA6-4466-A832-A3B11EA90110@byu.edu> References: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> <8C4774F7-AB19-4518-9DEC-48A79F156E7A@twft.com> <4CF7F40D.9090008@gmail.com> <2D007398-DAA6-4466-A832-A3B11EA90110@byu.edu> Message-ID: <4CF7F730.5010904@hyperactivesw.com> On 12/2/10 1:35 PM, Devin Asay wrote: > > Not to worry. Heather informs me that our pal Vovan has already been > shipped off to virtual exile in.... wait for it... Cyberia. LOL! I never understood the male fixation with becoming "real" anyway. Everyone knows fantasy men are always better. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Thu Dec 2 14:44:59 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 2 Dec 2010 11:44:59 -0800 Subject: [OT] Custom computers In-Reply-To: References: <4CF7CCCC.7000703@fourthworld.com> <1291310138.2162.232.camel@mint-i7> Message-ID: Actually, you can run OS X and OS X Server in the most recent versions of Parallels Desktop. Not sure if this is possible on other OS hosts though. Bob On Dec 2, 2010, at 9:24 AM, stephen barncard wrote: > > > one can run *Snow Leopard* on a PC? Using the 'free' *Virtualbox*? > > Where have I been the last two years.? I didn't think this was possible > without a 'magic rom' or something illegal. > > On 2 December 2010 09:15, Warren Samples wrote: > >> >> I'm running Linux Mint 64 bit with dual monitors and have Windows 7 and >> Snow Leopard running inside VirtualBox. All very sweet! I like it :) >> >> Warren >> >> >> > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Dec 2 14:51:13 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 2 Dec 2010 11:51:13 -0800 Subject: Ucranian spam In-Reply-To: <4CF7F730.5010904@hyperactivesw.com> References: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> <8C4774F7-AB19-4518-9DEC-48A79F156E7A@twft.com> <4CF7F40D.9090008@gmail.com> <2D007398-DAA6-4466-A832-A3B11EA90110@byu.edu> <4CF7F730.5010904@hyperactivesw.com> Message-ID: Having no frame of reference, I can only guess that real men have women that will cook things for them and do their laundry. But that is just a guess. Since you cannot cook for a fantasy man or wash his clothes, I really don't see the point. Bob On Dec 2, 2010, at 11:44 AM, J. Landman Gay wrote: > On 12/2/10 1:35 PM, Devin Asay wrote: >> >> Not to worry. Heather informs me that our pal Vovan has already been >> shipped off to virtual exile in.... wait for it... Cyberia. > > LOL! I never understood the male fixation with becoming "real" anyway. Everyone knows fantasy men are always better. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Dec 2 14:51:56 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 02 Dec 2010 21:51:56 +0200 Subject: Ucranian spam In-Reply-To: <4CF7F730.5010904@hyperactivesw.com> References: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> <8C4774F7-AB19-4518-9DEC-48A79F156E7A@twft.com> <4CF7F40D.9090008@gmail.com> <2D007398-DAA6-4466-A832-A3B11EA90110@byu.edu> <4CF7F730.5010904@hyperactivesw.com> Message-ID: <4CF7F8DC.6020305@gmail.com> On 12/02/2010 09:44 PM, J. Landman Gay wrote: > On 12/2/10 1:35 PM, Devin Asay wrote: >> >> Not to worry. Heather informs me that our pal Vovan has already been >> shipped off to virtual exile in.... wait for it... Cyberia. > > LOL! I never understood the male fixation with becoming "real" anyway. > Everyone knows fantasy men are always better. > Here in Bulgaria, the towns are full of "real" men; that probably accounts for the proliferation of S*x shops catering exclusively to women . . . :) Personally I think that both men and women are grossly over-rated. From bobs at twft.com Thu Dec 2 14:52:54 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 2 Dec 2010 11:52:54 -0800 Subject: Scrolling Field With Quotes In-Reply-To: References: Message-ID: <83BA4ECB-58B7-45D8-B62E-7ECF42F7B316@twft.com> Someone else had a similar problem with a data grid. I wonder if there is some kind of character that the engine is interpreting as an EOF in the stack itself, the "F" standing for "Field". Bob On Dec 2, 2010, at 10:03 AM, Warren Kuhl wrote: > I have a text file which I am loading into a scrolling field. At first I > thought the text file was somehow being truncated as it looked like only > half the text file was being loaded into the scrolling field. Through > debug, I noticed that the file is being loaded completely, but the scrolling > field seems to have issues with double quotes. Is there anyway to keep the > double quotes in the field and have them work in the scrolling field? > > Warren > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Dec 2 14:53:47 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 2 Dec 2010 11:53:47 -0800 Subject: Scrolling Field With Quotes In-Reply-To: References: Message-ID: <4AE2E75A-C750-41F2-9280-40BEEDC533F1@twft.com> One trick is to open the file with Microsoft Word and turn on Show Hidden Characters. Bob On Dec 2, 2010, at 10:03 AM, Warren Kuhl wrote: > I have a text file which I am loading into a scrolling field. At first I > thought the text file was somehow being truncated as it looked like only > half the text file was being loaded into the scrolling field. Through > debug, I noticed that the file is being loaded completely, but the scrolling > field seems to have issues with double quotes. Is there anyway to keep the > double quotes in the field and have them work in the scrolling field? > > Warren > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Dec 2 14:55:36 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 2 Dec 2010 11:55:36 -0800 Subject: Ucranian spam In-Reply-To: <4CF7F8DC.6020305@gmail.com> References: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> <8C4774F7-AB19-4518-9DEC-48A79F156E7A@twft.com> <4CF7F40D.9090008@gmail.com> <2D007398-DAA6-4466-A832-A3B11EA90110@byu.edu> <4CF7F730.5010904@hyperactivesw.com> <4CF7F8DC.6020305@gmail.com> Message-ID: If you are from another planet, or otherwise not one of the species indigenous to planet earth, just know that we were here first and we aren't going anywhere without a fight! Bob On Dec 2, 2010, at 11:51 AM, Richmond wrote: > On 12/02/2010 09:44 PM, J. Landman Gay wrote: >> On 12/2/10 1:35 PM, Devin Asay wrote: >>> >>> Not to worry. Heather informs me that our pal Vovan has already been >>> shipped off to virtual exile in.... wait for it... Cyberia. >> >> LOL! I never understood the male fixation with becoming "real" anyway. Everyone knows fantasy men are always better. >> > Here in Bulgaria, the towns are full of "real" men; that probably accounts for the > proliferation of S*x shops catering exclusively to women . . . :) > > Personally I think that both men and women are grossly over-rated. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Thu Dec 2 15:07:18 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 2 Dec 2010 12:07:18 -0800 Subject: Scrolling Field With Quotes In-Reply-To: <83BA4ECB-58B7-45D8-B62E-7ECF42F7B316@twft.com> References: <83BA4ECB-58B7-45D8-B62E-7ECF42F7B316@twft.com> Message-ID: I had something similar getting data from a database and it turned out to be caused by a NULL character (fixed in 4.5.1). Maybe a NULL in the data being loaded into the field? Pete Haworth On Dec 2, 2010, at 11:52 AM, Bob Sneidar wrote: > Someone else had a similar problem with a data grid. I wonder if > there is some kind of character that the engine is interpreting as > an EOF in the stack itself, the "F" standing for "Field". > > Bob > > > On Dec 2, 2010, at 10:03 AM, Warren Kuhl wrote: > >> I have a text file which I am loading into a scrolling field. At >> first I >> thought the text file was somehow being truncated as it looked like >> only >> half the text file was being loaded into the scrolling field. >> Through >> debug, I noticed that the file is being loaded completely, but the >> scrolling >> field seems to have issues with double quotes. Is there anyway to >> keep the >> double quotes in the field and have them work in the scrolling field? >> >> Warren >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Thu Dec 2 15:18:49 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 02 Dec 2010 22:18:49 +0200 Subject: Ucranian spam In-Reply-To: References: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> <8C4774F7-AB19-4518-9DEC-48A79F156E7A@twft.com> <4CF7F40D.9090008@gmail.com> <2D007398-DAA6-4466-A832-A3B11EA90110@byu.edu> <4CF7F730.5010904@hyperactivesw.com> <4CF7F8DC.6020305@gmail.com> Message-ID: <4CF7FF29.4030400@gmail.com> On 12/02/2010 09:55 PM, Bob Sneidar wrote: > If you are from another planet, or otherwise not one of the species indigenous to planet earth, just know that we were here first and we aren't going anywhere without a fight! Life would be SO much simpler if only I were from another planet. Why we cannot be like those aquatic hydra and bud-off I just don't know. Imagine; no mental problems about finding a mate, wondering if one were a 'real' man, no porn, no silly spam about viagra . . . just pure Livecode . . . :) > Bob > > > On Dec 2, 2010, at 11:51 AM, Richmond wrote: > >> On 12/02/2010 09:44 PM, J. Landman Gay wrote: >>> On 12/2/10 1:35 PM, Devin Asay wrote: >>>> Not to worry. Heather informs me that our pal Vovan has already been >>>> shipped off to virtual exile in.... wait for it... Cyberia. >>> LOL! I never understood the male fixation with becoming "real" anyway. Everyone knows fantasy men are always better. >>> >> Here in Bulgaria, the towns are full of "real" men; that probably accounts for the >> proliferation of S*x shops catering exclusively to women . . . :) >> >> Personally I think that both men and women are grossly over-rated. >> _______________________________________________ From DunbarX at aol.com Thu Dec 2 15:22:12 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 2 Dec 2010 15:22:12 EST Subject: Scrolling Field With Quotes Message-ID: <1007cf.d1af91.3a2959f4@aol.com> All the posts about errant EOF issues are likely pertinent. File or Field or Fwhatever. What I am interested in is the report that the act of scrolling itself restores the lost data. This goes way beyond what might be considered reasonable and sane. From bonnmike at gmail.com Thu Dec 2 15:26:16 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 2 Dec 2010 13:26:16 -0700 Subject: Ucranian spam In-Reply-To: <4CF7FF29.4030400@gmail.com> References: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> <8C4774F7-AB19-4518-9DEC-48A79F156E7A@twft.com> <4CF7F40D.9090008@gmail.com> <2D007398-DAA6-4466-A832-A3B11EA90110@byu.edu> <4CF7F730.5010904@hyperactivesw.com> <4CF7F8DC.6020305@gmail.com> <4CF7FF29.4030400@gmail.com> Message-ID: I think you mean budCode. On Thu, Dec 2, 2010 at 1:18 PM, Richmond wrote: > On 12/02/2010 09:55 PM, Bob Sneidar wrote: > >> If you are from another planet, or otherwise not one of the species >> indigenous to planet earth, just know that we were here first and we aren't >> going anywhere without a fight! >> > > Life would be SO much simpler if only I were from another planet. Why we > cannot be like those > aquatic hydra and bud-off I just don't know. > > Imagine; no mental problems about finding a mate, wondering if one were a > 'real' man, no porn, > no silly spam about viagra . . . just pure Livecode . . . :) > > Bob >> >> >> On Dec 2, 2010, at 11:51 AM, Richmond wrote: >> >> On 12/02/2010 09:44 PM, J. Landman Gay wrote: >>> >>>> On 12/2/10 1:35 PM, Devin Asay wrote: >>>> >>>>> Not to worry. Heather informs me that our pal Vovan has already been >>>>> shipped off to virtual exile in.... wait for it... Cyberia. >>>>> >>>> LOL! I never understood the male fixation with becoming "real" anyway. >>>> Everyone knows fantasy men are always better. >>>> >>>> Here in Bulgaria, the towns are full of "real" men; that probably >>> accounts for the >>> proliferation of S*x shops catering exclusively to women . . . :) >>> >>> Personally I think that both men and women are grossly over-rated. >>> _______________________________________________ >>> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From davidocoker at gmail.com Thu Dec 2 15:26:50 2010 From: davidocoker at gmail.com (David C.) Date: Thu, 2 Dec 2010 14:26:50 -0600 Subject: [OT] Custom computers In-Reply-To: References: <4CF7CCCC.7000703@fourthworld.com> <1291310138.2162.232.camel@mint-i7> Message-ID: >> > Many users do actually buy the retail box set and are > technically savvy enough to get it working. I tried... drove pretty close to 100 miles to a store where I could purchase the full retail product. Unfortunately the hardware and/or BIOS isn't sufficient to get it to work on my laptop (native install or virtual machine) and I don't dare mess with my desktop. (Anyone need a set of hard plastic frisbee's?) I would absolutely be thrilled if I could purchase a user friendly, legit version of OS X to be used on non-Mac hardware. Oh well. References: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> <8C4774F7-AB19-4518-9DEC-48A79F156E7A@twft.com> <4CF7F40D.9090008@gmail.com> <2D007398-DAA6-4466-A832-A3B11EA90110@byu.edu> <4CF7F730.5010904@hyperactivesw.com> <4CF7F8DC.6020305@gmail.com> Message-ID: <4CF8027D.7000607@hyperactivesw.com> On 12/2/10 1:51 PM, Richmond wrote: > Personally I think that both men and women are grossly over-rated. Someone sent me this a while ago. We are wildly off topic now... ****** God made men and women to complement each other with the unique traits each were given: WOMEN- Women have strengths that amaze men. They carry children, they carry hardships, they carry burdens, but they hold happiness, love and joy. They smile when they want to scream. They sing when they want to cry. They cry when they are happy, and laugh when they are nervous. Women wait by the phone for a "safe at home call" from a friend, after a snowy drive home. They are child care workers, executives, attorneys, stay-at-home moms, biker babes, and your neighbors. They wear suits, jeans, and they wear uniforms. They fight for what they believe in. They stand up against injustice. They walk and talk the extra mile to get their kids into the right Schools and to get their family the right health care. They go to the doctor with a frightened friend. Women are honest, loyal, and forgiving. They are smart -- they know that knowledge is power. But they still know how to use their softer side to make a point. Women want to be the best for their family, their friends, and themselves. Their hearts break when a friend dies. They have sorrow at the loss of a family member, yet they are strong when they think there is no strength left. A woman can make a romantic evening unforgettable. Women come in all sizes, in all colors and shapes. They live in houses, apartments and cabins. They drive, fly, walk, run or e-mail you to show how much they care about you. The heart of a woman is what makes the world spin! Women do more than just give birth. They bring joy and hope. They give compassion and ideals. They give moral support to their family and friends. And all they want in return is a hug, a smile, and for you to do the same for people you come in contact with. MEN- Men are good at lifting heavy things. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jim at d-film.com Thu Dec 2 15:43:45 2010 From: jim at d-film.com (Jim Kanter) Date: Thu, 2 Dec 2010 15:43:45 -0500 Subject: [OT] Re: Ucranian spam In-Reply-To: <4CF8027D.7000607@hyperactivesw.com> References: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> <8C4774F7-AB19-4518-9DEC-48A79F156E7A@twft.com> <4CF7F40D.9090008@gmail.com> <2D007398-DAA6-4466-A832-A3B11EA90110@byu.edu> <4CF7F730.5010904@hyperactivesw.com> <4CF7F8DC.6020305@gmail.com> <4CF8027D.7000607@hyperactivesw.com> Message-ID: Now that's grossly unfair to men. We're also good at hooking up electronic things. Thanks for the laugh! Jim On Thu, Dec 2, 2010 at 3:33 PM, J. Landman Gay wrote: > On 12/2/10 1:51 PM, Richmond wrote: > >> Personally I think that both men and women are grossly over-rated. > > Someone sent me this a while ago. We are wildly off topic now... > > ****** > > God made men and women to complement each other with the unique traits each > were given: > > WOMEN- Women have strengths that amaze men. ?They carry children, they carry > hardships, they carry burdens, but they hold happiness, love and joy. They > smile when they want to scream. ?They sing when they want to cry. They cry > when they are happy, and laugh when they are nervous. > > Women wait by the phone for a "safe at home call" from a friend, after a > snowy drive home. > > They are child care workers, executives, attorneys, stay-at-home moms, biker > babes, and your neighbors. They wear suits, jeans, and they wear uniforms. > > They fight for what they believe in. ?They stand up against injustice. They > walk and talk the extra mile to get their kids into the right Schools and to > get their family the right health care. ?They go to the doctor with a > frightened friend. > > Women are honest, loyal, and forgiving. ?They are smart -- they know that > knowledge is power. > > But they still know how to use their softer side to make a point. > > Women want to be the best for their family, their friends, and themselves. > > Their hearts break when a friend dies. ?They have sorrow at the loss of a > family member, yet they are strong when they think there is no strength > left. > > A woman can make a romantic evening unforgettable. > > Women come in all sizes, in all colors and shapes. They live in houses, > apartments and cabins. ?They drive, fly, walk, run or e-mail you to show how > much they care about you. > > The heart of a woman is what makes the world spin! > > Women do more than just give birth. ?They bring joy and hope. > > They give compassion and ideals. ?They give moral support to their family > and friends. ?And all they want in return is a hug, a smile, and for you to > do the same for people you come in contact with. > > > > MEN- Men are good at lifting heavy things. > > > -- > Jacqueline Landman Gay ? ? ? ? | ? ? jacque at hyperactivesw.com > HyperActive Software ? ? ? ? ? | ? ? http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From devin_asay at byu.edu Thu Dec 2 15:46:16 2010 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 2 Dec 2010 13:46:16 -0700 Subject: [OT] Re: Ucranian spam In-Reply-To: <4CF8027D.7000607@hyperactivesw.com> References: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> <8C4774F7-AB19-4518-9DEC-48A79F156E7A@twft.com> <4CF7F40D.9090008@gmail.com> <2D007398-DAA6-4466-A832-A3B11EA90110@byu.edu> <4CF7F730.5010904@hyperactivesw.com> <4CF7F8DC.6020305@gmail.com> <4CF8027D.7000607@hyperactivesw.com> Message-ID: <42A103C0-3E61-48B8-BEBA-2AB02BB452DB@byu.edu> On Dec 2, 2010, at 1:33 PM, J. Landman Gay wrote: > On 12/2/10 1:51 PM, Richmond wrote: > >> Personally I think that both men and women are grossly over-rated. > > Someone sent me this a while ago. We are wildly off topic now... > > ****** > MEN- Men are good at lifting heavy things. Are those heavy things CRATES OF CHEESE perhaps!? You're veering very close to forbidden territory here! Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From marty at ucls.uchicago.edu Thu Dec 2 16:05:22 2010 From: marty at ucls.uchicago.edu (Marty Billingsley) Date: Thu, 2 Dec 2010 15:05:22 -0600 Subject: How to show an image in a field? In-Reply-To: References: Message-ID: Thanks for the quick replies! This list is terrific. - marty > by example : > set the imageSource of last char of fld "fldX" to 28056 > 28056 = the id of the image > > > Le 2 d?c. 2010 ? 18:09, Marty Billingsley a ?crit : > >> Hi all -- >> >> Recently, on this list I think, I discovered how to show an image >> within a field. It had to do with replacing a character in the >> field with SOMETHING -- but I don't remember what! The imageData >> of the image? (but that doesn't seem to work) >> >> Can anyone refresh my memory? >> >> Thanks! >> - Marty "my brain is a sieve" Billingsley >> -- Marty Billingsley Department of Computer Science The University of Chicago Laboratory Schools From jacque at hyperactivesw.com Thu Dec 2 16:07:27 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 Dec 2010 15:07:27 -0600 Subject: "show package contents" In-Reply-To: <3F95480D5F0DA64EA0785711087864DE8C61A4E0C7@exch01.mchpe.cpe.umanitoba.ca> References: <3F95480D5F0DA64EA0785711087864DE8C61A4E0C7@exch01.mchpe.cpe.umanitoba.ca> Message-ID: <4CF80A8F.2040809@hyperactivesw.com> On 12/1/10 8:18 PM, Mark Smith wrote: > I have a similar situation... a main "splash" exe and then my > real application stack in a substack (because I want to be able > to save to it). I think you mean a separate stack file, rather than a substack, right? > 1. is the process of creating something like this "integrated folder" > documented somewhere (and apologies if I read it many times in the > User Guide and just not recognized it... so I guess part 2 is: does > it go by a specific name in the User Guide?) It isn't unique to LiveCode, it's just how OS X apps work. All apps on OS X are really folders. If you're running OS X, you can show the package contents of anything in the Applications folder and they'll all be the same (the one exception is old Rosetta apps, which are a hold-over from OS 9.) When LiveCode makes an app for OS X, it follows convention and creates it in the standard way as an "application bundle", which is a fancy way of saying "application folder." If it didn't, your standalone wouldn't launch. So there's nothing you need to do differently, your standalones are already folders under the hood. > > 2. In my current implementation I just have the stack location hard > coded into the splash... obviously not very flexible. Are there > better ways of finding and accessing things (and commands to do this) > if you create an "integrated folder". I'd use a relative file path. If you don't know what that would be, tell us where your stacks are located in relation to the standalone and we can help. If you want your separate stacks to be located inside the application bundle instead of outside of it on OS X, then include them in the Stacks pane of the Standalone Builder. That will place them inside the bundle on OS X (next to the engine in Contents/MacOS/), though they'll still be in the main folder on other operating systems. Only OS X has application bundles. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mickclns at mac.com Thu Dec 2 16:13:44 2010 From: mickclns at mac.com (Mick Collins) Date: Thu, 02 Dec 2010 21:13:44 +0000 (GMT) Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: Message-ID: <27a70933-cd54-66fe-8d94-c7503fd60e1b@me.com> I think I've seen all the previous replies. ?If so, here's a different, more mathematical, approach that can be combined with the gradient and other techniques mentioned before: The main thing here is a function (pointsOfNorman, Norman because of the resemblance to a Norman window)?that returns the points for a polygon graphic, given the starting point (X and Y), width, height, and ANGLE OF ROTATION and the first handler (doTest) is just there to test it with various parameters. ?Is this overkill? too slow? or what? ?I'd appreciate your comments. on doTest ?? -- before running this test, create a polygon graphic named "NW" ?? put 250 into theLeft ?? put 250 into theTop ?? repeat with i = 1 to 37 ?? ? ?put 6*i - 5 into theWid ?? ? ?put pi * (i-1)/18 into angRot ?? ? ?repeat with j = 1 to 80 ?? ? ? ? put 2*j into theHeight ?? ? ? ? -- this is how you use the function ?? ? ? ? set the points of grc "NW" to \ ?? ? ? ? ? ? ? ?pointsOfNorman(theLeft,theTop,theWid,theHeight,angRot) ?? ? ? ?? ?? ? ? ? wait 0 ?? ? ?end repeat ?? end repeat ??? end doTest function pointsOfNorman L,T,wid,hite,rotAng ?? --creates the points for a NormanWindow graphic (polygon) ?? --"left", "top" (actually starting point), width, height, angle Of rotation? ?? -- ? ? ? ? ? ? ? ? ? ? (measured clockwise from rightward) ?? -- ? ? ? ? ? ? ? ? ? ? use 0*pi for semicircle down ?? -- ? ? ? ? ? ? ? ? ? ? use 0.5*pi for semicircle left ?? -- ? ? ? ? ? ? ? ? ? ? use 1*pi for semicircle up ?? -- ? ? ? ? ? ? ? ? ? ? use 1.5*pi for semicircle right ?? -- ? ? ? ? ? ? ? ? ? ? use 2*pi for semicircle down ?? -- ? ? ? ? ? ? ? ? ? ? (interpolate for a rotation other than these) ??? ??? ?? -- first 3 points of rectangle ?? put L,T into daPoints ?? put round(L+wid*cos(rotAng)),round(T+wid*sin(rotAng)) into line 2 of daPoints ?? put round(L+wid*cos(rotAng)-hite*sin(rotAng)),round(T+wid*sin(rotAng)+hite*cos(rotAng)) into line 3 of daPoints ??? ?? -- center of semiCircle ?? put round(L+.5*wid*cos(rotAng)-hite*sin(rotAng)) into xCen ?? put round(T+.5*wid*sin(rotAng)+hite*cos(rotAng)) into yCen ??? ?? put max(8, wid div 3) into numOfAngs -- number of straight lines to make semiCircle ?? put wid / 2 into theRadius ??? ?? put 3 into lineNum? ?? put pi / numOfAngs into deltaAng ?? repeat with i = 1 to numOfAngs ?? ? ?-- calculates the coordinates for the i-th point of the semicircle ?? ? ?put deltaAng * i into theAng? ?? ? ?add rotAng to theAng ?? ? ?put xCen +theRadius*cos(theAng) into theX ?? ? ?put yCen +theRadius*sin(theAng) into theY ?? ? ?add 1 to lineNum ?? ? ?put round(theX),round(theY) into line lineNum of daPoints ?? end repeat ??? ?? -- and go back to the starting point ?? add 1 to lineNum ?? put L,T into line lineNum of daPoints ??? ?? return daPoints end pointsOfNorman Message: 4 Date: Wed, 1 Dec 2010 15:01:05 +0000 From: David Bovill To: How to use Revolution Subject: How to make a square topped, round rect bottomed graphic? Message-ID: Content-Type: text/plain; charset=ISO-8859-1 What is the most efficient way to make this? I thought I could have a polygon graphic which was opaque but not joined up and use that to add square corners to a roundrect graphic background - but it seems that every time I make it opaque it automatically joins the graphic points. What I want to be able to do is have a vector graphic which has the option to have rounded corners on either or both the top and bottom, whcih I can script. The most efficient way I can thin of doing it at the moment is to have a background roundrect graphic, on top of which I can place a polygon line to create square corners, and a white opaque graphic just inside the square boundary to cover up the round corners? Is there a better way? From jacque at hyperactivesw.com Thu Dec 2 16:16:31 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 Dec 2010 15:16:31 -0600 Subject: [OT] Re: Ucranian spam In-Reply-To: References: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> <8C4774F7-AB19-4518-9DEC-48A79F156E7A@twft.com> <4CF7F40D.9090008@gmail.com> <2D007398-DAA6-4466-A832-A3B11EA90110@byu.edu> <4CF7F730.5010904@hyperactivesw.com> <4CF7F8DC.6020305@gmail.com> <4CF8027D.7000607@hyperactivesw.com> Message-ID: <4CF80CAF.6020701@hyperactivesw.com> On 12/2/10 2:43 PM, Jim Kanter wrote: > Now that's grossly unfair to men. > > We're also good at hooking up electronic things. > > > Thanks for the laugh! I'm glad you're a good sport about this sort of thing. I should add that men are also excellent at snowblowing and lawnmowing. I have spent years culturing and maintaining a solid inepitude about those. Devin: I'm sure the quote is referring to heavy crates of cheese sent out by religious groups to political factions who favor substandard programming languages. It only makes sense. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at gmail.com Thu Dec 2 16:26:03 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 2 Dec 2010 13:26:03 -0800 (PST) Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: References: <84501.18615.qm@web65406.mail.ac4.yahoo.com> <623295.29198.qm@web65404.mail.ac4.yahoo.com> <4C1A2313-A134-44BE-A56D-35BA97C6D03F@twft.com> <1291310340159-3069739.post@n4.nabble.com> <6CAF812D-E28E-46F7-93EC-D7458020EC5F@twft.com> <1291313397497-3069855.post@n4.nabble.com> Message-ID: <1291325163750-3070245.post@n4.nabble.com> Hi Bob, Bob Sneidar-2 wrote: > > Got it thanks! I am very excited about this actually, because this will > allow developers to contract out graphic designers for interface > development, making LiveCode standalones truly a thing of beauty. > Yes, this is correct. Scott Rossi has show in this list astounding interface elements created with the transparency and gradients available since version 3.0 I told him that these interface elements look like artwork created in Xara. http://www.xaraxone.com/FeaturedArt/nov10/ This platform, LiveCode, only needs a native graphic object that uses bezier or quadratic splines and native commands and functions to scale, flip, rotate and skew vector graphics. I have created these handlers for some of my previous stacks, but performance is not optimal when transforming too many graphics at once . Bob Sneidar-2 wrote: > > I don't know if this uses an externally developed plugin to read the file, > or if you are "ripping" it raw, but in either case, if it produces a > LiveCode vector object, and we can get a little updating going from the > LiveCode developers, this has the potential to become a really great > addition! > It's just code, not an external. Specifically, i created this EPS Import stack to import vector based clip art into stacks, as you can see in the gallery stack. But it's incomplete. After you import vector clip art, How do you scale, flip, rotate or skew it? Well, i have handlers for that, but still I have not included them in this stack... Imagine objects of any shape and size, filled with a graphic image, or a complex blend, that we can import from an EPS file! A graphic designer can simply ship the objects to us in a single EPS file and we can import them into a stack and Voila! Beautiful native objects! Yes, but my vote goes to SVG that supports Transparency and Gradients. If any of you have time to spare in updating Ian MacPhail's stack answer in the mail list, to make plans to complete this task. Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-make-a-square-topped-round-rect-bottomed-graphic-tp3067446p3070245.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Thu Dec 2 16:27:19 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 2 Dec 2010 13:27:19 -0800 Subject: [OT] Re: Ucranian spam In-Reply-To: <4CF8027D.7000607@hyperactivesw.com> References: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> <8C4774F7-AB19-4518-9DEC-48A79F156E7A@twft.com> <4CF7F40D.9090008@gmail.com> <2D007398-DAA6-4466-A832-A3B11EA90110@byu.edu> <4CF7F730.5010904@hyperactivesw.com> <4CF7F8DC.6020305@gmail.com> <4CF8027D.7000607@hyperactivesw.com> Message-ID: This is not directed at anyone specifically, especially the author of this post, whom I respect very highly, but I feel I must opine. I was writing a humorous rebuttal to all of this, but some of it was true and it all sounded so bitter, so I closed the email and didn't save it. But I am going to guess this whole essay was written by a woman, who probably married her first love and stayed with him for life. Hats off to her. God send me a woman just like that, whether or not I deserve it, mind you. But almost all my friends have lost their wives after either she cheated or he cheated, and what comes out of the whole mess is that they both are really looking out for themselves. There are men for whom I could write an equally glowing essay, but these days society calls them boring stuck up prigs who think themselves better than anyone else. I could also write an equally bitter rebuttal to such an essay, and then scrap it before I am done. I think the real truth is that everyone, male and female, have some of those qualities, but lack others. Plusses and minuses, strengths and weaknesses. Virtues and vices. Does any of that speak to the issue of who human beings are as a species? With some mammals. the males get a wiff of some crazy stuff on the wind right about mating season, and begin to beat the cr*p out of each other until a few victors remain, who then round up all the critters from whence the odiferous emanations proceed, and then have their way with them. Some mammals pick a mate and stick with them for life. Were either species to act any other way, we would consider it really out of the ordinary, and try to find out "what went wrong". But they never seem to. Each species appears to behave in a way that is best for the whole. Humans differ at least in this, that they can choose to behave contrary to their instincts. We are told to accept this as natural, as though humans were also acting instinctually in this regard and didn't have the capacity for choosing to function in any other. How can we tell if this is a natural behavior or an aberration of some kind? Well again, I look to nature. When animals behave according to their instincts, what results is an efficient propagation of their own species. When humans behave contrary to their instincts, what results is no propagation of any kind. Do we not find this odd? Shouldn't natural instinct produce in us the same effect, if a behavior was truly natural? But it doesn't. So in summary, I am greatly attracted to the kind of woman that Jacqueline describes in this little essay. Every fiber of my being resonates with affirmation. I wish the majority of women were this way, but I don't find this to be true in my experience. I suppose that my desire for such a woman is instinct, but I gladly choose to follow it. If some men choose to act contrary to theirs, well and good. Maybe there is still hope that I will find one, still unspoken for. Bob On Dec 2, 2010, at 12:33 PM, J. Landman Gay wrote: > On 12/2/10 1:51 PM, Richmond wrote: > >> Personally I think that both men and women are grossly over-rated. > > Someone sent me this a while ago. We are wildly off topic now... > > ****** > > God made men and women to complement each other with the unique traits each were given: > > WOMEN- Women have strengths that amaze men. They carry children, they carry hardships, they carry burdens, but they hold happiness, love and joy. They smile when they want to scream. They sing when they want to cry. They cry when they are happy, and laugh when they are nervous. From bobs at twft.com Thu Dec 2 16:30:00 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 2 Dec 2010 13:30:00 -0800 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: <27a70933-cd54-66fe-8d94-c7503fd60e1b@me.com> References: <27a70933-cd54-66fe-8d94-c7503fd60e1b@me.com> Message-ID: <483B43E3-91D5-4E77-AB3A-1B67AB05F9C1@twft.com> Okay who posted Fortran on a LiveCode Use List?? Bob On Dec 2, 2010, at 1:13 PM, Mick Collins wrote: > on doTest > -- before running this test, create a polygon graphic named "NW" > put 250 into theLeft > put 250 into theTop > repeat with i = 1 to 37 > put 6*i - 5 into theWid > put pi * (i-1)/18 into angRot > repeat with j = 1 to 80 > put 2*j into theHeight > -- this is how you use the function > set the points of grc "NW" to \ > pointsOfNorman(theLeft,theTop,theWid,theHeight,angRot) > > wait 0 > end repeat > end repeat > > end doTest > > function pointsOfNorman L,T,wid,hite,rotAng > --creates the points for a NormanWindow graphic (polygon) > --"left", "top" (actually starting point), width, height, angle Of rotation > -- (measured clockwise from rightward) > -- use 0*pi for semicircle down > -- use 0.5*pi for semicircle left > -- use 1*pi for semicircle up > -- use 1.5*pi for semicircle right > -- use 2*pi for semicircle down > -- (interpolate for a rotation other than these) > > > -- first 3 points of rectangle > put L,T into daPoints > put round(L+wid*cos(rotAng)),round(T+wid*sin(rotAng)) into line 2 of daPoints > put round(L+wid*cos(rotAng)-hite*sin(rotAng)),round(T+wid*sin(rotAng)+hite*cos(rotAng)) into line 3 of daPoints > > -- center of semiCircle > put round(L+.5*wid*cos(rotAng)-hite*sin(rotAng)) into xCen > put round(T+.5*wid*sin(rotAng)+hite*cos(rotAng)) into yCen > > put max(8, wid div 3) into numOfAngs -- number of straight lines to make semiCircle > put wid / 2 into theRadius > > put 3 into lineNum > put pi / numOfAngs into deltaAng > repeat with i = 1 to numOfAngs > -- calculates the coordinates for the i-th point of the semicircle > put deltaAng * i into theAng > add rotAng to theAng > put xCen +theRadius*cos(theAng) into theX > put yCen +theRadius*sin(theAng) into theY > add 1 to lineNum > put round(theX),round(theY) into line lineNum of daPoints > end repeat > > -- and go back to the starting point > add 1 to lineNum > put L,T into line lineNum of daPoints > > return daPoints > end pointsOfNorman From dam-pro.girard at laposte.net Thu Dec 2 16:38:08 2010 From: dam-pro.girard at laposte.net (Damien Girard) Date: Thu, 02 Dec 2010 22:38:08 +0100 Subject: Geometry Manager tutorial? In-Reply-To: <645A9356-48BC-436C-B710-948A6358300C@mac.com> References: <2695D47C-9D96-4329-BF36-F444BD4E34FB@cruzio.com> <645A9356-48BC-436C-B710-948A6358300C@mac.com> Message-ID: <000a01cb9269$37900d80$a6b02880$%girard@laposte.net> That's why I have made NativeGeometry, to keep the simplicity of the geometry manager without the bonkers ;) Best, Damien Girard NativeSoft, France. -----Message d'origine----- De?: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] De la part de Bj?rnke von Gierke Envoy??: jeudi 2 d?cembre 2010 17:59 ??: How to use LiveCode Objet?: Re: Geometry Manager tutorial? I suggest to use both the preopenstack and resizestack messages. I also suggest not to use the geometry manager. sooner or later it goes bonkers, and moves a control into a million negative pixel position, or some such. Setting these properties, makes you able to resize anything however you like: rectangle topleft bottomright location left bottom width height etc... Note: The working rectangle (so to say) is the card, and not the stack: lock screen set the width of field "first" to the width of this card set the topleft of field "first" to the topleft of this card Finally, don't forget that grouping controls, as well as lock screen, can make things easier and quicker for you. On 2 Dec 2010, at 16:51, Mark Swindell wrote: > I've never made use of the geometry manager before. What's is the best tutorial and where can I find it? > > I have a pretty simple stack with 5 cards, but with newer higher resolution screens things are just too tiny. Should I just quiz the screen resolution and set each element manually in a preopenstack handler, or would the geometry manager work for this? > > Thanks > Mark > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Thu Dec 2 16:50:38 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 3 Dec 2010 08:50:38 +1100 Subject: [OT] Custom computers In-Reply-To: <4CF7CCCC.7000703@fourthworld.com> References: <4CF7CCCC.7000703@fourthworld.com> Message-ID: <5EF315B9-7B06-4223-A7BD-858BA83D7385@sweattechnologies.com> Hi Richard I got into the silent pc stuff for a while there to build HTPCs and have a quiet workspace. Good fun trying to work out how to make things just that bit more quiet. I was building from scratch. I never got into water cooling but I probably would if I built one again. There's massive savings if you don't go for bleeding edge components. Cheers Monte On 03/12/2010, at 3:43 AM, Richard Gaskin wrote: > I was looking for a beefy quad core system and my brother convinced me that the cost savings and customizability makes it well worth the time to assemble the parts. > > So I'm curious: How many of you here have built your own computers? Did you go with a barebones, or do it from scratch? Did you go with Intel or AMD, and why? > > I'm leaning toward AMD myself given what appears to be an excellent price/performance value, and will likely build from scratch because I'm picky about the case. > > Seems a surprising number of people I know build their own systems, kinda makes me wonder why I ever bought an off-the-shelf PC. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Thu Dec 2 16:58:01 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 2 Dec 2010 22:58:01 +0100 Subject: LC Server Trial Message-ID: Hi, Does anyone know where to download a trial version of LiveCode Server? A client of mine might buy it, but only if I can show a working demo. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 How to receive a free Color Converter license http://qurl.tk/kv (read the conditions) From jacque at hyperactivesw.com Thu Dec 2 17:01:31 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 Dec 2010 16:01:31 -0600 Subject: [OT] Re: Ucranian spam In-Reply-To: References: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> <8C4774F7-AB19-4518-9DEC-48A79F156E7A@twft.com> <4CF7F40D.9090008@gmail.com> <2D007398-DAA6-4466-A832-A3B11EA90110@byu.edu> <4CF7F730.5010904@hyperactivesw.com> <4CF7F8DC.6020305@gmail.com> <4CF8027D.7000607@hyperactivesw.com> Message-ID: <4CF8173B.5030705@hyperactivesw.com> On 12/2/10 3:27 PM, Bob Sneidar wrote: > So in summary, I am greatly attracted to the kind of woman that > Jacqueline describes in this little essay. Just to clarify, I didn't write it. The intent was only in fun, but actually it shows more about the author herself when you read between the lines. The point of the humor was simply the contrast -- but I won't post controversial things in the future. Except maybe cheese things. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Thu Dec 2 17:02:23 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 2 Dec 2010 14:02:23 -0800 Subject: LC Server Trial In-Reply-To: References: Message-ID: If you go to onrev.com and log in with your user account, I think it's in the download section. Bob On Dec 2, 2010, at 1:58 PM, Mark Schonewille wrote: > Hi, > > Does anyone know where to download a trial version of LiveCode Server? A client of mine might buy it, but only if I can show a working demo. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > How to receive a free Color Converter license http://qurl.tk/kv (read the conditions) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Dec 2 17:02:39 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 2 Dec 2010 14:02:39 -0800 Subject: LC Server Trial In-Reply-To: References: Message-ID: <51336DF5-00FF-4B7C-8964-1627F5AFD44D@twft.com> WHOOPS! RunRev.com Bob On Dec 2, 2010, at 1:58 PM, Mark Schonewille wrote: > Hi, > > Does anyone know where to download a trial version of LiveCode Server? A client of mine might buy it, but only if I can show a working demo. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > How to receive a free Color Converter license http://qurl.tk/kv (read the conditions) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Thu Dec 2 17:07:44 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 2 Dec 2010 23:07:44 +0100 Subject: LC Server Trial In-Reply-To: <51336DF5-00FF-4B7C-8964-1627F5AFD44D@twft.com> References: <51336DF5-00FF-4B7C-8964-1627F5AFD44D@twft.com> Message-ID: Thanks, Bob, but are you sure? I don't see it. I only see the desktop versions. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 How to receive a free Color Converter license http://qurl.tk/kv (read the conditions) On 2 dec 2010, at 23:02, Bob Sneidar wrote: > WHOOPS! RunRev.com > > Bob From gregory.lypny at videotron.ca Thu Dec 2 17:41:50 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 02 Dec 2010 17:41:50 -0500 Subject: Part II of Re: On-Rev Web Form Dropping Data Message-ID: <50CB5454-876E-43CC-A546-F53E72E16517@videotron.ca> Hi Everyone, Yesterday I posted a long question (sorry about that) concerning data lost from a web form submitted through my On-Rev site, where two students appear to have submitted quiz answers from the same IP address at virtually the same time. Bob Sneidar replied asking whether I had accounted for the possibility that more than one person could sign on to my site from the same IP, and I had said that I have not prohibited that. Well, I have since spoken to the students who submitted blank quizzes, and it turns out that they live together, share a wireless network, and each has her own computer. This probably means that they have their router set to share a single IP address or some such thing. I guess what I should do is revise by sign-in script to disallow multiple sign-ins from the same IP. Regards, Gregory From pmbrig at gmail.com Thu Dec 2 17:48:04 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Thu, 2 Dec 2010 17:48:04 -0500 Subject: Ucranian spam [OT] In-Reply-To: <4CF7FF29.4030400@gmail.com> References: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> <8C4774F7-AB19-4518-9DEC-48A79F156E7A@twft.com> <4CF7F40D.9090008@gmail.com> <2D007398-DAA6-4466-A832-A3B11EA90110@byu.edu> <4CF7F730.5010904@hyperactivesw.com> <4CF7F8DC.6020305@gmail.com> <4CF7FF29.4030400@gmail.com> Message-ID: I once had a schizophrenic patient introduce himself to me by saying "Hello, I'm a visitor from planet Earth." -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Dec 2, 2010, at 3:18 PM, Richmond wrote: > On 12/02/2010 09:55 PM, Bob Sneidar wrote: >> If you are from another planet, or otherwise not one of the species >> indigenous to planet earth, just know that we were here first and >> we aren't going anywhere without a fight! > > Life would be SO much simpler if only I were from another planet. > Why we cannot be like those > aquatic hydra and bud-off I just don't know. > > Imagine; no mental problems about finding a mate, wondering if one > were a 'real' man, no porn, > no silly spam about viagra . . . just pure Livecode . . . :) > >> Bob >> >> >> On Dec 2, 2010, at 11:51 AM, Richmond wrote: >> >>> On 12/02/2010 09:44 PM, J. Landman Gay wrote: >>>> On 12/2/10 1:35 PM, Devin Asay wrote: >>>>> Not to worry. Heather informs me that our pal Vovan has already >>>>> been >>>>> shipped off to virtual exile in.... wait for it... Cyberia. >>>> LOL! I never understood the male fixation with becoming "real" >>>> anyway. Everyone knows fantasy men are always better. >>>> >>> Here in Bulgaria, the towns are full of "real" men; that probably >>> accounts for the >>> proliferation of S*x shops catering exclusively to women . . . :) >>> >>> Personally I think that both men and women are grossly over-rated. >>> _______________________________________________ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Dec 2 17:50:29 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 02 Dec 2010 14:50:29 -0800 Subject: Part II of Re: On-Rev Web Form Dropping Data Message-ID: <4CF822B5.9010708@fourthworld.com> Gregory Lypny wrote: > Yesterday I posted a long question (sorry about that) concerning > data lost from a web form submitted through my On-Rev site, where > two students appear to have submitted quiz answers from the same > IP address at virtually the same time. Bob Sneidar replied asking > whether I had accounted for the possibility that more than one > person could sign on to my site from the same IP, and I had said > that I have not prohibited that. > > Well, I have since spoken to the students who submitted blank > quizzes, and it turns out that they live together, share a wireless > network, and each has her own computer. This probably means that > they have their router set to share a single IP address or some > such thing. I guess what I should do is revise by sign-in script > to disallow multiple sign-ins from the same IP. Most routers have a router that presents a single IP to the outside world even though internally transactions are mapped to individual computers inside the firewall. Given that, any method of limiting access by apparent IP risks limiting people who are legitimately using separate computers but just happen to share the same firewall. If the cookie is set during authentication, why bother with IP restriction at all, why not just use the cookie? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From dixonja at hotmail.co.uk Thu Dec 2 17:56:20 2010 From: dixonja at hotmail.co.uk (John Dixon) Date: Thu, 2 Dec 2010 22:56:20 +0000 Subject: Ucranian spam [OT] In-Reply-To: References: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> <8C4774F7-AB19-4518-9DEC-48A79F156E7A@twft.com> <4CF7F40D.9090008@gmail.com> <2D007398-DAA6-4466-A832-A3B11EA90110@byu.edu> <4CF7F730.5010904@hyperactivesw.com>, <4CF7F8DC.6020305@gmail.com>, , <4CF7FF29.4030400@gmail.com>, Message-ID: Brilliant !... you've put a smile on my face !.. I love it > I once had a schizophrenic patient introduce himself to me by saying > "Hello, I'm a visitor from planet Earth." > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig From bobs at twft.com Thu Dec 2 18:01:44 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 2 Dec 2010 15:01:44 -0800 Subject: Ucranian spam [OT] In-Reply-To: References: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> <8C4774F7-AB19-4518-9DEC-48A79F156E7A@twft.com> <4CF7F40D.9090008@gmail.com> <2D007398-DAA6-4466-A832-A3B11EA90110@byu.edu> <4CF7F730.5010904@hyperactivesw.com>, <4CF7F8DC.6020305@gmail.com>, , <4CF7FF29.4030400@gmail.com>, Message-ID: <6FD83A1F-98C4-4E66-BAED-4507351F8E6E@twft.com> You should have asked him how long he planned on staying, and billed him accordingly. Bob On Dec 2, 2010, at 2:56 PM, John Dixon wrote: > > Brilliant !... you've put a smile on my face !.. I love it > >> I once had a schizophrenic patient introduce himself to me by saying >> "Hello, I'm a visitor from planet Earth." > >> Peter M. Brigham >> pmbrig at gmail.com >> http://home.comcast.net/~pmbrig > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Dec 2 18:02:55 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 2 Dec 2010 15:02:55 -0800 Subject: Part II of Re: On-Rev Web Form Dropping Data In-Reply-To: <50CB5454-876E-43CC-A546-F53E72E16517@videotron.ca> References: <50CB5454-876E-43CC-A546-F53E72E16517@videotron.ca> Message-ID: <6972F9BD-9AC6-45C9-B134-DD343947C298@twft.com> What?? I was right again??? Bob On Dec 2, 2010, at 2:41 PM, Gregory Lypny wrote: > Hi Everyone, > > Yesterday I posted a long question (sorry about that) concerning data lost from a web form submitted through my On-Rev site, where two students appear to have submitted quiz answers from the same IP address at virtually the same time. Bob Sneidar replied asking whether I had accounted for the possibility that more than one person could sign on to my site from the same IP, and I had said that I have not prohibited that. > > Well, I have since spoken to the students who submitted blank quizzes, and it turns out that they live together, share a wireless network, and each has her own computer. This probably means that they have their router set to share a single IP address or some such thing. I guess what I should do is revise by sign-in script to disallow multiple sign-ins from the same IP. > > Regards, > > Gregory > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Dec 2 18:12:11 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 2 Dec 2010 15:12:11 -0800 Subject: Part II of Re: On-Rev Web Form Dropping Data In-Reply-To: <50CB5454-876E-43CC-A546-F53E72E16517@videotron.ca> References: <50CB5454-876E-43CC-A546-F53E72E16517@videotron.ca> Message-ID: <5D50C53B-9E8D-405F-A36A-9977576243C3@twft.com> Hi Gregory. This will not do. Virtually every home router and many industrial ones use some form of NAT routing so you would be excluding all students who are behind such a router from interacting simultaneously with your web site. Rather, develop a method for uniquely identifying each connection using information that must be unique. Usually a user name and password will suffice. Now if security is an issue, you may want to develop a third bit of information to challenge anyone logging in for the first time (because the cookie does not yet exist) like a couple of questions/answers that the user sets up when they first create the account. Obviously, do not store the questions and answers in the cookie! Once you create the cookie, you don't need to ask again, so long as you find the cookie at login time. but suppose the user clears out his/her cookies? Well you need to challenge them again to make sure they really are who they say they are. That should be good enough, and this will allow users to connect from virtually anywhere, like their iPad, laptop, computer at work etc. and still get their own account. Bob On Dec 2, 2010, at 2:41 PM, Gregory Lypny wrote: > Hi Everyone, > > Yesterday I posted a long question (sorry about that) concerning data lost from a web form submitted through my On-Rev site, where two students appear to have submitted quiz answers from the same IP address at virtually the same time. Bob Sneidar replied asking whether I had accounted for the possibility that more than one person could sign on to my site from the same IP, and I had said that I have not prohibited that. > > Well, I have since spoken to the students who submitted blank quizzes, and it turns out that they live together, share a wireless network, and each has her own computer. This probably means that they have their router set to share a single IP address or some such thing. I guess what I should do is revise by sign-in script to disallow multiple sign-ins from the same IP. > > Regards, > > Gregory > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From psahores at free.fr Thu Dec 2 18:41:00 2010 From: psahores at free.fr (Pierre Sahores) Date: Fri, 3 Dec 2010 00:41:00 +0100 Subject: [OT] Re: Ucranian spam In-Reply-To: <4CF8027D.7000607@hyperactivesw.com> References: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> <8C4774F7-AB19-4518-9DEC-48A79F156E7A@twft.com> <4CF7F40D.9090008@gmail.com> <2D007398-DAA6-4466-A832-A3B11EA90110@byu.edu> <4CF7F730.5010904@hyperactivesw.com> <4CF7F8DC.6020305@gmail.com> <4CF8027D.7000607@hyperactivesw.com> Message-ID: <76177CC4-52F4-4711-B8DA-53DA491D2501@free.fr> Initially, we arrive with a body, mind and soul ... Over time, some ones see their soul decline up to extinction and make way for the throes of vanity. Do they know what slavery only they are entering in. Is it so hard to stay a man, a woman ? Probably not as long as each search and enriches the miracle that makes each and each other of us unique and kindly with those who stay themselves. Au commencement, nous arrivons avec un corps, un esprit et une ?me... Avec le temps, certains et certaines voient leur ?me fl?chir et s'?teindre pour laisser place aux affres de la vanit?. Savent-ils seulement en quel esclavage ils entrent alors. Est-il donc si difficile de rester un homme, de rester une femme ? Probablement pas pourvu que chacun recherche et enrichisse le miracle qui fait de chacun de nous un ?tre unique et bienveillant avec ceux qui le sont eux-m?me. To the end, as long as creativity stay the key, ethology stay human sided... Le 2 d?c. 2010 ? 21:33, J. Landman Gay a ?crit : > On 12/2/10 1:51 PM, Richmond wrote: > >> Personally I think that both men and women are grossly over-rated. > > Someone sent me this a while ago. We are wildly off topic now... > > ****** > > God made men and women to complement each other with the unique traits each were given: > > WOMEN- Women have strengths that amaze men. They carry children, they carry hardships, they carry burdens, but they hold happiness, love and joy. They smile when they want to scream. They sing when they want to cry. They cry when they are happy, and laugh when they are nervous. > > Women wait by the phone for a "safe at home call" from a friend, after a snowy drive home. > > They are child care workers, executives, attorneys, stay-at-home moms, biker babes, and your neighbors. They wear suits, jeans, and they wear uniforms. > > They fight for what they believe in. They stand up against injustice. They walk and talk the extra mile to get their kids into the right Schools and to get their family the right health care. They go to the doctor with a frightened friend. > > Women are honest, loyal, and forgiving. They are smart -- they know that knowledge is power. > > But they still know how to use their softer side to make a point. > > Women want to be the best for their family, their friends, and themselves. > > Their hearts break when a friend dies. They have sorrow at the loss of a family member, yet they are strong when they think there is no strength left. > > A woman can make a romantic evening unforgettable. > > Women come in all sizes, in all colors and shapes. They live in houses, apartments and cabins. They drive, fly, walk, run or e-mail you to show how much they care about you. > > The heart of a woman is what makes the world spin! > > Women do more than just give birth. They bring joy and hope. > > They give compassion and ideals. They give moral support to their family and friends. And all they want in return is a hug, a smile, and for you to do the same for people you come in contact with. > > > > MEN- Men are good at lifting heavy things. Sorry, no sure at all that 17% of muscle amount will ever matters ;D > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From mickclns at mac.com Thu Dec 2 19:17:10 2010 From: mickclns at mac.com (Mick Collins) Date: Fri, 03 Dec 2010 00:17:10 +0000 (GMT) Subject: use-livecode Digest, Vol 87, Issue 7 In-Reply-To: Message-ID: Thanks, Bob, Actually, the sole reason I posted this to make fun of those who couldn't see the difference between LiveCode and Fortran; I knew someone would take the bait, ?? - ?Mick Date: Thu, 2 Dec 2010 13:30:00 -0800 From: Bob Sneidar To: How to use LiveCode Subject: Re: How to make a square topped, round rect bottomed graphic? Message-ID: <483B43E3-91D5-4E77-AB3A-1B67AB05F9C1 at twft.com> Content-Type: text/plain; charset=us-ascii Okay who posted Fortran on a LiveCode Use List?? Bob From bobs at twft.com Thu Dec 2 19:39:43 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 2 Dec 2010 16:39:43 -0800 Subject: use-livecode Digest, Vol 87, Issue 7 In-Reply-To: References: Message-ID: I was actually pretty impressed with that. I added it to my "save this" folder, not that I could ever figure it out. It seems though that if this sort of thing is possible, then it isn't a stretch to think that someone could write a little widget with things like how many angles, and setting for each angle, straight or rounded rect. You just have to be a math genius like yourself is all. Still, LiveCode never ceases to amaze me. Bob On Dec 2, 2010, at 4:17 PM, Mick Collins wrote: > Thanks, Bob, > Actually, the sole reason I posted this to make fun of those who couldn't see the difference between LiveCode and Fortran; I knew someone would take the bait, > - Mick > > > > > Date: Thu, 2 Dec 2010 13:30:00 -0800 > From: Bob Sneidar > To: How to use LiveCode > Subject: Re: How to make a square topped, round rect bottomed graphic? > Message-ID: <483B43E3-91D5-4E77-AB3A-1B67AB05F9C1 at twft.com> > Content-Type: text/plain; charset=us-ascii > > Okay who posted Fortran on a LiveCode Use List?? > > Bob > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Thu Dec 2 21:52:26 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 2 Dec 2010 18:52:26 -0800 Subject: even more OT: Open thread for science and math jokes! In-Reply-To: <4CF8027D.7000607@hyperactivesw.com> References: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> <8C4774F7-AB19-4518-9DEC-48A79F156E7A@twft.com> <4CF7F40D.9090008@gmail.com> <2D007398-DAA6-4466-A832-A3B11EA90110@byu.edu> <4CF7F730.5010904@hyperactivesw.com> <4CF7F8DC.6020305@gmail.com> <4CF8027D.7000607@hyperactivesw.com> Message-ID: <791207443046.20101202185226@ahsoftware.net> ...and since we've gotten *this far* OT... via boingboing http://www.boingboing.net/2010/12/02/open-thread-for-scie.html -- -Mark Wieder mwieder at ahsoftware.net From Mark_Smith at cpe.umanitoba.ca Thu Dec 2 23:27:39 2010 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Thu, 2 Dec 2010 20:27:39 -0800 (PST) Subject: show package contents In-Reply-To: <4CF80A8F.2040809@hyperactivesw.com> References: <3F95480D5F0DA64EA0785711087864DE8C61A4E0C7@exch01.mchpe.cpe.umanitoba.ca> <4CF80A8F.2040809@hyperactivesw.com> Message-ID: <1291350459118-3070629.post@n4.nabble.com> Thanks Jacqueline, I think I need serious remedial help. I just realized I have been making a really stupid mistake. I am so used to the a) edit, b) compile c) run scenario that... I have been modifying Notepad4 (my current version) then recompiling the splash screen stack again and running that to test it in compiled mode. BUT, the splash screen never changes. Its invisible... it just runs Notepad4. How stupid is that. As long as it is Notepad4 I never need to recompile. The same splash will point to the same code base/stack. Duh!!? The path to Notepad4 is: /mark/runrev/stacks/notepad/notepad4. I guess the "splash" stack could be anywhere but is currently /mark/runrev/stacks/notepad/notepad8/macosx/notepad. Since I think it is messy to try and distribute more than 1 file/bundle I guess it would be better if Notepad? was located in the Notepad application bundle. Launching Notepad would then look insides its bundle to find the current version of the notepad code/stack? I'm sometimes amazed I have anything running at all :-) J. Landman Gay wrote: > > I'd use a relative file path. If you don't know what that would be, tell > us where your stacks are located in relation to the standalone and we > can help. > > If you want your separate stacks to be located inside the application > bundle instead of outside of it on OS X, then include them in the Stacks > pane of the Standalone Builder. That will place them inside the bundle > on OS X (next to the engine in Contents/MacOS/), though they'll still be > in the main folder on other operating systems. Only OS X has application > bundles. > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RE-show-package-contents-tp3068420p3070629.html Sent from the Revolution - User mailing list archive at Nabble.com. From jburtt at earthlink.net Thu Dec 2 23:40:22 2010 From: jburtt at earthlink.net (John Burtt) Date: Thu, 2 Dec 2010 20:40:22 -0800 Subject: use-livecode Digest, Vol 87, Issue 3 In-Reply-To: References: Message-ID: On Dec 2, 2010, at 3:40 AM, Jacqueline Landman Gay wrote: > > We need an official term for those separate stacks that ship with > standalones. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > Wouldn't more terms just add to the confusion. Separate stacks are called "main" stacks. The stacks that are part of (within) a main stack are called "sub" stacks. Sub stacks that are separated from their main stack, become main stacks. A main stack that has been turned into an application is an "executable". Main stacks are savable. Sub stacks are saved when their main stack is saved. Executables are not savable. And, sub stacks of the executable are not savable. John From chipp at chipp.com Fri Dec 3 00:31:36 2010 From: chipp at chipp.com (Chipp Walters) Date: Thu, 2 Dec 2010 23:31:36 -0600 Subject: [OT] Custom computers In-Reply-To: <4CF7CCCC.7000703@fourthworld.com> References: <4CF7CCCC.7000703@fourthworld.com> Message-ID: I've actually heard good things about this company with regard to creating very powerful cost-effective systems: http://www.cyberpowerpc.com/ From walter.h.brown at gmail.com Fri Dec 3 00:42:37 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Fri, 3 Dec 2010 00:42:37 -0500 Subject: [OT] Custom computers In-Reply-To: References: <4CF7CCCC.7000703@fourthworld.com> <1291310138.2162.232.camel@mint-i7> Message-ID: <4cf88352.a369e50a.73e2.4025@mx.google.com> Stephen, Search on "Hackintosh". Here's a pretty active community. Walt -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of stephen barncard Sent: Thursday, December 02, 2010 12:24 PM To: How to use LiveCode Subject: Re: [OT] Custom computers one can run *Snow Leopard* on a PC? Using the 'free' *Virtualbox*? Where have I been the last two years.? I didn't think this was possible without a 'magic rom' or something illegal. On 2 December 2010 09:15, Warren Samples wrote: > > I'm running Linux Mint 64 bit with dual monitors and have Windows 7 > and Snow Leopard running inside VirtualBox. All very sweet! I like it > :) > > Warren > > > Stephen Barncard San Francisco Ca. USA more about sqb _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From RevList at CreaTECHSol.com Fri Dec 3 01:31:34 2010 From: RevList at CreaTECHSol.com (RevList) Date: Thu, 02 Dec 2010 22:31:34 -0800 Subject: Data Grid Column Alignment Message-ID: I have a data grid with a custom that I set to right align and when I assign the dgText to this data grid, the column in question is right aligned. However, when I create a function that applies a transformation to that number and override the default rendering through a column behaviour , the alignment switches to left align. I tried set the dgColumnAlignment["Distance"] of group "dgMileageLog" to "right" but nothing changes. The properties on that column are set to right align. All values in the column are 2 decimals so I want them to align to the right so that the decimals line up. Is there something that can be done about this besides using the technique in the Rev lessons for aligning decimals in a column. (Which didn't work for me BTW). A simple right align is all I need, but it isn't working. Thanks in advance for any solution. Stewart From walter.h.brown at gmail.com Fri Dec 3 01:45:33 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Fri, 3 Dec 2010 01:45:33 -0500 Subject: [OT] Custom computers In-Reply-To: <4CF7CCCC.7000703@fourthworld.com> References: <4CF7CCCC.7000703@fourthworld.com> Message-ID: <4cf89212.a26fe50a.41e5.427e@mx.google.com> Hi Richard. I buy name brand boxes for non-technical use, like research, email, presentations, etc, as I want them to be as vendor-standard as possible to reduce the chance I may have to do a hardware diagnosis in a middle of the row coach seat or standing on stage before a presentation. I also use out of the box major brand computers for testing and validation, and for all the non-technically-astute family members and neighbors I am the tech-support-of-first-and-last-resort for. If I "borrow" one of those for an experiment, I usually take out the HD so it stays "clean" and use a left over lab drive. It was also my work for a couple decades, I co-managed a WW developer support and professional services org. Standard practice was always start from scratch with a known good integration and fresh OS install for each issue that came in the door. You can very easily fall into a black hole of debugging integration and kernel tuning issues that have no direct benefit for the time and effort. For various oddball experiments, servers, etc, I just cobble up what I need from what's lying around. A surprising amount of functional parts have accumulated in my compost pile, er, home office, after a few decades. I have a few industrial rack chassis, but they sound like jets taking off in the basement. I haven't used them in a while, as the cost of commodity PC bits drops pretty rapidly from introduction now and passive backplane CPUs are still in the multi-K range. A very interesting lab setup I saw once and am thinking of emulating was a piece of plywood on the wall with all the PC and cooling bits velcroed to the plywood for easy reconfiguration. But take my opinion with a grain of salt, I still don't think gasoline will beat out steam as a motive force. Update - I searched on "plywood" and "PC" just now and saw lots of interesting rigs. Anyway, if you have the bits, or have a friend with a big e-compost pile, and the time and patience, its not hard or expensive, especially if you aren't going to trigger any domestic friction by installing what looks like a demented robot that's been run over by a truck in the dining room (I did that once, I'll never do that again) and don't need some kind of flashy whiz bang case. Also look on Ebay, a friend of mine just picked up a bunch of Dell dual 3GHz Xeon, dual PS, Raid, 2GB, ATI RageXL 2U boxes for $35 per each (refurbs no less!) as starting points. Walt -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richard Gaskin Sent: Thursday, December 02, 2010 11:44 AM To: How to use LiveCode Subject: [OT] Custom computers I was looking for a beefy quad core system and my brother convinced me that the cost savings and customizability makes it well worth the time to assemble the parts. So I'm curious: How many of you here have built your own computers? Did you go with a barebones, or do it from scratch? Did you go with Intel or AMD, and why? I'm leaning toward AMD myself given what appears to be an excellent price/performance value, and will likely build from scratch because I'm picky about the case. Seems a surprising number of people I know build their own systems, kinda makes me wonder why I ever bought an off-the-shelf PC. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Fri Dec 3 03:04:26 2010 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 3 Dec 2010 09:04:26 +0100 Subject: how to stop all scripts from executing while launching? Message-ID: <001d01cb92c0$b84cd410$28e67c30$@de> Hi, I probably made something stupid in a preopenstack handler. I set the iconic of the stack to true and now I can't get any access to my stack in the IDE anymore. Is there any key combination or something like that to prevent executing any scripts while launching in IDE? Thanks Tiemo From toolbook at kestner.de Fri Dec 3 03:13:47 2010 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 3 Dec 2010 09:13:47 +0100 Subject: AW: how to stop all scripts from executing while launching? In-Reply-To: <001d01cb92c0$b84cd410$28e67c30$@de> References: <001d01cb92c0$b84cd410$28e67c30$@de> Message-ID: <002701cb92c2$086923d0$193b6b70$@de> Sorry, I knew there was sthg like that "suppress all messages" ... Thanks anyway Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB > Gesendet: Freitag, 3. Dezember 2010 09:04 > An: 'How to use LiveCode' > Betreff: how to stop all scripts from executing while launching? > > Hi, > > I probably made something stupid in a preopenstack handler. I set the > iconic > of the stack to true and now I can't get any access to my stack in the > IDE > anymore. > > Is there any key combination or something like that to prevent > executing any > scripts while launching in IDE? > > Thanks > > Tiemo > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Fri Dec 3 03:09:52 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 3 Dec 2010 00:09:52 -0800 Subject: how to stop all scripts from executing while launching? In-Reply-To: <001d01cb92c0$b84cd410$28e67c30$@de> References: <001d01cb92c0$b84cd410$28e67c30$@de> Message-ID: <771226489578.20101203000952@ahsoftware.net> Tiemo- Friday, December 3, 2010, 12:04:26 AM, you wrote: > Is there any key combination or something like that to prevent executing any > scripts while launching in IDE? Yep - select "lock messages" from the Development menu. -- -Mark Wieder mwieder at ahsoftware.net From heather at runrev.com Fri Dec 3 03:26:47 2010 From: heather at runrev.com (Heather Nagey) Date: Fri, 3 Dec 2010 08:26:47 +0000 Subject: [OT] Re: Ucranian spam In-Reply-To: <4CF80CAF.6020701@hyperactivesw.com> References: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> <8C4774F7-AB19-4518-9DEC-48A79F156E7A@twft.com> <4CF7F40D.9090008@gmail.com> <2D007398-DAA6-4466-A832-A3B11EA90110@byu.edu> <4CF7F730.5010904@hyperactivesw.com> <4CF7F8DC.6020305@gmail.com> <4CF8027D.7000607@hyperactivesw.com> <4CF80CAF.6020701@hyperactivesw.com> Message-ID: ! I'm shocked Jacque. No wonder I had nightmares last night, when you were busy posting to the list on such controversial topics. I think we had better declare this topic dead before it starts a war on cheese. Warm Regards, Heather On 2 Dec 2010, at 21:16, J. Landman Gay wrote: > On 12/2/10 2:43 PM, Jim Kanter wrote: >> Now that's grossly unfair to men. >> >> We're also good at hooking up electronic things. >> >> >> Thanks for the laugh! > > I'm glad you're a good sport about this sort of thing. I should add > that men are also excellent at snowblowing and lawnmowing. I have > spent years culturing and maintaining a solid inepitude about those. > > Devin: I'm sure the quote is referring to heavy crates of cheese > sent out by religious groups to political factions who favor > substandard programming languages. It only makes sense. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > Email has been scanned for viruses by Altman Technologies' email > management service - www.altman.co.uk/emailsystems Heather Nagey Customer Services Manager http://www.runrev.com/ LiveCode ? Realize fast, compile-free coding From richmondmathewson at gmail.com Fri Dec 3 05:13:24 2010 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 03 Dec 2010 12:13:24 +0200 Subject: [OT] Re: Ucranian spam In-Reply-To: References: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> <8C4774F7-AB19-4518-9DEC-48A79F156E7A@twft.com> <4CF7F40D.9090008@gmail.com> <2D007398-DAA6-4466-A832-A3B11EA90110@byu.edu> <4CF7F730.5010904@hyperactivesw.com> <4CF7F8DC.6020305@gmail.com> <4CF8027D.7000607@hyperactivesw.com> <4CF80CAF.6020701@hyperactivesw.com> Message-ID: <4CF8C2C4.4010302@gmail.com> On 12/03/2010 10:26 AM, Heather Nagey wrote: > ! > > I'm shocked Jacque. No wonder I had nightmares last night, when you > were busy posting to the list on such controversial topics. > > I think we had better declare this topic dead before it starts a war > on cheese. > > Warm Regards, > > Heather > > Writing as the President of the Fromage Lovers International Federation . . . ------------------------------------------------------------------------------------------------------- On a slightly more serious note, I wonder how "our friend" with the "?????" ('Pokap') spam managed to fall through the filters? From rene.micout at numericable.com Fri Dec 3 05:21:18 2010 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Fri, 3 Dec 2010 11:21:18 +0100 Subject: [OT] Re: Ucranian spam In-Reply-To: <4CF8C2C4.4010302@gmail.com> References: <9D683974-54FF-4911-B19A-92308180B7FF@mac.com> <8C4774F7-AB19-4518-9DEC-48A79F156E7A@twft.com> <4CF7F40D.9090008@gmail.com> <2D007398-DAA6-4466-A832-A3B11EA90110@byu.edu> <4CF7F730.5010904@hyperactivesw.com> <4CF7F8DC.6020305@gmail.com> <4CF8027D.7000607@hyperactivesw.com> <4CF80CAF.6020701@hyperactivesw.com> <4CF8C2C4.4010302@gmail.com> Message-ID: A French man (or woman) ? Le 3 d?c. 2010 ? 11:13, Richmond a ?crit : > On 12/03/2010 10:26 AM, Heather Nagey wrote: >> ! >> >> I'm shocked Jacque. No wonder I had nightmares last night, when you were busy posting to the list on such controversial topics. >> >> I think we had better declare this topic dead before it starts a war on cheese. >> >> Warm Regards, >> >> Heather >> >> > Writing as the President of the Fromage Lovers International Federation . . . > > ------------------------------------------------------------------------------------------------------- > > On a slightly more serious note, I wonder how "our friend" with the "?????" ('Pokap') > spam managed to fall through the filters? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre.bisseret at wanadoo.fr Fri Dec 3 05:35:12 2010 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Fri, 3 Dec 2010 11:35:12 +0100 Subject: (DataGrid) data grids behaving like a background with sharedText Message-ID: <54EAE6B6-F33A-4BA2-91FC-5C245005ED1A@wanadoo.fr> Bonjour, I have stacks where the cards share a group with backgroundBehavior set to true, plus, on each cards, one or two datagrid(s). on create card, I am getting a card with the background and I have to copy on it the data grid from a current card. Now, on a new stack I am building, I have the same kind of pattern: a main group of fields and buttons with backgroundBehavior set to true, and a dataGrid (outside the main group of course). But when I create a new card, the data grid behaves like a background; I mean it is immediately on the new card (with the same ID number). Well, why not, after all ;-)) But MY PROBLEM is that this dataGrid behaves like something as "sharedText" was set to true!! As soon as I populated the dataGrid of a card, all data grids on all cards get the same dgText :-(( If I try to delete the dataGrid on a card I get the message: This group is placed on multiple cards, really delete it? Very annoying indeed! What am I missing? Thanks a lot for any help Best regards from Grenoble Andr? From zryip.theslug at gmail.com Fri Dec 3 06:21:33 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Fri, 3 Dec 2010 12:21:33 +0100 Subject: Data Grid Column Alignment In-Reply-To: References: Message-ID: On Fri, Dec 3, 2010 at 7:31 AM, RevList wrote: > I have a data grid with a custom that I set to right align and when I > assign the dgText to this data grid, the column in question is right > aligned. > However, when I create a function that applies a transformation to that > number and override the default rendering through a column behaviour , the > alignment switches to left align. > > I tried set the dgColumnAlignment["Distance"] of group "dgMileageLog" to > "right" but nothing changes. > The properties on that column are set to right align. > > All values in the column are 2 decimals so I want them to align to the > right so that the decimals line up. > > Is there something that can be done about this besides using the technique > in the Rev lessons for aligning decimals in a column. ?(Which didn't work > for me BTW). > A simple right align is all I need, but it isn't working. > > Thanks in advance for any solution. > > Stewart Hi Stewart, The dgColumnAlignment property is not handled in case you have a custom behavior. You have to manage it yourself in the column behavior script. The layoutControl event could be a good place for this: on layoutControl set the textAlign of field 1 of me to "right" end layoutControl Untested but should work. Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From harald at etcpp.de Fri Dec 3 07:09:07 2010 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Fri, 3 Dec 2010 13:09:07 +0100 Subject: LiveCode and facebook In-Reply-To: References: <1291041824113-3063680.post@n4.nabble.com> <1291049853005-3063930.post@n4.nabble.com> Message-ID: <0C487C16-3299-4DED-A842-9179057A9173@etcpp.de> Hi all. I managed to login a user to facebook via LiveCode and to get his/her permissions to write to the wall. Also posting to the users wall is possible. I'm doing this for later versions of the iOS Plugin and hope it will include revBrowser (which I need to let the user login). If anyone is interested in the code and wants to optimize it with me: you're welcome! BTW: Is there a place anywhere in the web for working together on code? Best regards, Harald. | Harald M?ller (www.etcpp.de) | Theodor-K?rner-Stra?e 4, 97072 W?rzburg | Telefon + 49-[0]931-329090-42 From m.schonewille at economy-x-talk.com Fri Dec 3 07:16:35 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 3 Dec 2010 13:16:35 +0100 Subject: LiveCode and facebook In-Reply-To: <0C487C16-3299-4DED-A842-9179057A9173@etcpp.de> References: <1291041824113-3063680.post@n4.nabble.com> <1291049853005-3063930.post@n4.nabble.com> <0C487C16-3299-4DED-A842-9179057A9173@etcpp.de> Message-ID: <7CEBB2B7-9A46-4A5B-8386-3EED001B8639@economy-x-talk.com> Hi Harald, Why are you asking? You are a member of the OAuth wiki. You're welcome to post your code there. It should even be possible to upload files. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 How to receive a free Color Converter license http://qurl.tk/kv (read the conditions) On 3 dec 2010, at 13:09, Harald M?ller wrote: > Hi all. > > I managed to login a user to facebook via LiveCode and to get his/her permissions > to write to the wall. Also posting to the users wall is possible. I'm doing this for later > versions of the iOS Plugin and hope it will include revBrowser (which I need to let the > user login). > > If anyone is interested in the code and wants to optimize it with me: you're welcome! > BTW: Is there a place anywhere in the web for working together on code? > > Best regards, > Harald. From harald at etcpp.de Fri Dec 3 07:22:42 2010 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Fri, 3 Dec 2010 13:22:42 +0100 Subject: LiveCode and facebook In-Reply-To: <7CEBB2B7-9A46-4A5B-8386-3EED001B8639@economy-x-talk.com> References: <1291041824113-3063680.post@n4.nabble.com> <1291049853005-3063930.post@n4.nabble.com> <0C487C16-3299-4DED-A842-9179057A9173@etcpp.de> <7CEBB2B7-9A46-4A5B-8386-3EED001B8639@economy-x-talk.com> Message-ID: <36BACA27-4293-4974-8C7E-8E67628C186B@etcpp.de> Hi Mark, I now and will do. But is there anyone but us two? Best regards, Harald M?ller. Am 03.12.2010 um 13:16 schrieb Mark Schonewille: > Hi Harald, > > Why are you asking? You are a member of the OAuth wiki. You're welcome to post your code there. It should even be possible to upload files. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > How to receive a free Color Converter license http://qurl.tk/kv (read the conditions) > > On 3 dec 2010, at 13:09, Harald M?ller wrote: > >> Hi all. >> >> I managed to login a user to facebook via LiveCode and to get his/her permissions >> to write to the wall. Also posting to the users wall is possible. I'm doing this for later >> versions of the iOS Plugin and hope it will include revBrowser (which I need to let the >> user login). >> >> If anyone is interested in the code and wants to optimize it with me: you're welcome! >> BTW: Is there a place anywhere in the web for working together on code? >> >> Best regards, >> Harald. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Fri Dec 3 07:28:44 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 3 Dec 2010 13:28:44 +0100 Subject: LiveCode and facebook In-Reply-To: <36BACA27-4293-4974-8C7E-8E67628C186B@etcpp.de> References: <1291041824113-3063680.post@n4.nabble.com> <1291049853005-3063930.post@n4.nabble.com> <0C487C16-3299-4DED-A842-9179057A9173@etcpp.de> <7CEBB2B7-9A46-4A5B-8386-3EED001B8639@economy-x-talk.com> <36BACA27-4293-4974-8C7E-8E67628C186B@etcpp.de> Message-ID: <2623305A-7977-444A-A209-09D1EC066E82@economy-x-talk.com> Hi harald, Yes! There are quite a few active members now but they haven't started working on it yet. There are also many dormant members, who don't intend to contribute, apparently, but are interested in OAuth for LiveCode and there are even more people who just visit the wiki regularly to monitor activity without having registered. Oh, and for everyone else who wonders what this conversation is about: http://devwiki.runrev.info -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 How to receive a free Color Converter license http://qurl.tk/kv (read the conditions) On 3 dec 2010, at 13:22, Harald M?ller wrote: > Hi Mark, > I now and will do. But is there anyone but us two? > > Best regards, > Harald M?ller. > From andre at andregarzia.com Fri Dec 3 07:54:32 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 3 Dec 2010 10:54:32 -0200 Subject: LiveCode and facebook In-Reply-To: <2623305A-7977-444A-A209-09D1EC066E82@economy-x-talk.com> References: <1291041824113-3063680.post@n4.nabble.com> <1291049853005-3063930.post@n4.nabble.com> <0C487C16-3299-4DED-A842-9179057A9173@etcpp.de> <7CEBB2B7-9A46-4A5B-8386-3EED001B8639@economy-x-talk.com> <36BACA27-4293-4974-8C7E-8E67628C186B@etcpp.de> <2623305A-7977-444A-A209-09D1EC066E82@economy-x-talk.com> Message-ID: Mark, I received your personal note. I have some OAuth code already done for LiveCode, I will polish it and try to post it during the weekend or thursday. Sorry for the delay, php is killing me Andre On Fri, Dec 3, 2010 at 10:28 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi harald, > > Yes! There are quite a few active members now but they haven't started > working on it yet. There are also many dormant members, who don't intend to > contribute, apparently, but are interested in OAuth for LiveCode and there > are even more people who just visit the wiki regularly to monitor activity > without having registered. > > Oh, and for everyone else who wonders what this conversation is about: > http://devwiki.runrev.info > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > How to receive a free Color Converter license http://qurl.tk/kv (read the > conditions) > > On 3 dec 2010, at 13:22, Harald M?ller wrote: > > > Hi Mark, > > I now and will do. But is there anyone but us two? > > > > Best regards, > > Harald M?ller. > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From m.schonewille at economy-x-talk.com Fri Dec 3 08:35:49 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 3 Dec 2010 14:35:49 +0100 Subject: LiveCode and facebook In-Reply-To: References: <1291041824113-3063680.post@n4.nabble.com> <1291049853005-3063930.post@n4.nabble.com> <0C487C16-3299-4DED-A842-9179057A9173@etcpp.de> <7CEBB2B7-9A46-4A5B-8386-3EED001B8639@economy-x-talk.com> <36BACA27-4293-4974-8C7E-8E67628C186B@etcpp.de> <2623305A-7977-444A-A209-09D1EC066E82@economy-x-talk.com> Message-ID: <2CDA0AD0-0C00-46F2-9601-A610328F7793@economy-x-talk.com> Many thanks, Andre. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 How to receive a free Color Converter license http://qurl.tk/kv (read the conditions) On 3 dec 2010, at 13:54, Andre Garzia wrote: > Mark, > > I received your personal note. I have some OAuth code already done for > LiveCode, I will polish it and try to post it during the weekend or > thursday. Sorry for the delay, php is killing me > > Andre From toolbook at kestner.de Fri Dec 3 09:18:25 2010 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 3 Dec 2010 15:18:25 +0100 Subject: AW: OAuth wiki In-Reply-To: References: Message-ID: <005401cb92f4$f7ccc9e0$e7665da0$@de> Hi Mark, perhaps I am missing some basic IT knowledge and even after having read the introduction of OAuth I don't know what's about. Perhaps you could explain in a few words what is the signification of OAuth and the use for LiveCode Developers Wiki. Why do you call it OAuth wiki and not LiveCode Wiki? Isn't it a LiveCode Wiki? As I understand it so far, OAuth is only some technique under the hood to pass permissions - how ever. What will be the difference to rev online where also users can populate sample scripts? Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Mark Schonewille > Gesendet: Montag, 22. November 2010 13:23 > An: How to use LiveCode > Betreff: OAuth wiki > > Hello, > > I have set up a wiki for anyone who is interested in OAuth. The wiki > isn't only for the die-hard Livecodes amongst us. If you are somehow > interested, just register and watch us making progress. Input from end- > users of this project is highly appreciated. > > You can find the wiki at http://devwiki.runrev.info > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Follow Economy-x-Talk on Facebook now and get a free Color Converter > license http://qurl.tk/gn (read the conditions) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvg at mac.com Fri Dec 3 09:32:17 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 03 Dec 2010 15:32:17 +0100 Subject: AW: OAuth wiki In-Reply-To: <005401cb92f4$f7ccc9e0$e7665da0$@de> References: <005401cb92f4$f7ccc9e0$e7665da0$@de> Message-ID: As far as i know, the wiki is for developing libraries. It's not for sharing any stack or script, so it is unlike revOnline. Currently, the only library in development is oAuth. oAuth is indeed just a way to log into some Websites like Facebook. On 3 Dec 2010, at 15:18, Tiemo Hollmann TB wrote: > Hi Mark, > > perhaps I am missing some basic IT knowledge and even after having read the > introduction of OAuth I don't know what's about. Perhaps you could explain > in a few words what is the signification of OAuth and the use for LiveCode > Developers Wiki. Why do you call it OAuth wiki and not LiveCode Wiki? Isn't > it a LiveCode Wiki? As I understand it so far, OAuth is only some technique > under the hood to pass permissions - how ever. > What will be the difference to rev online where also users can populate > sample scripts? > > Thanks > Tiemo > > >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- >> bounces at lists.runrev.com] Im Auftrag von Mark Schonewille >> Gesendet: Montag, 22. November 2010 13:23 >> An: How to use LiveCode >> Betreff: OAuth wiki >> >> Hello, >> >> I have set up a wiki for anyone who is interested in OAuth. The wiki >> isn't only for the die-hard Livecodes amongst us. If you are somehow >> interested, just register and watch us making progress. Input from end- >> users of this project is highly appreciated. >> >> You can find the wiki at http://devwiki.runrev.info >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Follow Economy-x-Talk on Facebook now and get a free Color Converter >> license http://qurl.tk/gn (read the conditions) >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rjb at robelko.com Fri Dec 3 10:30:50 2010 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 3 Dec 2010 16:30:50 +0100 Subject: use-livecode Digest, Vol 87, Issue 3 In-Reply-To: References: Message-ID: On 02.12.10 at 20:40 -0800 John Burtt apparently wrote: >Wouldn't more terms just add to the confusion. > >Separate stacks are called "main" stacks. >The stacks that are part of (within) a main stack are called "sub" stacks. >Sub stacks that are separated from their main stack, become main stacks. >A main stack that has been turned into an application is an "executable". > >Main stacks are savable. >Sub stacks are saved when their main stack is saved. >Executables are not savable. >And, sub stacks of the executable are not savable. > >John Not quite... Stacks are really windows with objects and scripts. Stacks are saved in stackfiles. The mains (startup) stack in each stackfile is its mainstack. Other stacks in that stackfile are its substacks. When executable is produced, the runtime engine is merged with the stacks. However, depending on the settings, the mainstack and substacks are either kept together as in stackfile (neither can be modified at runtime) or substacks are split to become technically own mainstacks in own stackfiles (thus can be modified at runtime), although logically they remain part of the package. Robert From RevList at CreaTECHSol.com Fri Dec 3 11:09:16 2010 From: RevList at CreaTECHSol.com (RevList) Date: Fri, 03 Dec 2010 08:09:16 -0800 Subject: Data Grid Column Alignment In-Reply-To: References: Message-ID: zryip theSlug on December 3, 2010 at 3:21 AM -0800 wrote: >Hi Stewart, > >The dgColumnAlignment property is not handled in case you have a >custom behavior. >You have to manage it yourself in the column behavior script. > >The layoutControl event could be a good place for this: > >on layoutControl > set the textAlign of field 1 of me to "right" >end layoutControl Worked like a charm. Thanks. Stewart From lists at mangomultimedia.com Fri Dec 3 11:34:39 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 3 Dec 2010 11:34:39 -0500 Subject: (DataGrid) data grids behaving like a background with sharedText In-Reply-To: <54EAE6B6-F33A-4BA2-91FC-5C245005ED1A@wanadoo.fr> References: <54EAE6B6-F33A-4BA2-91FC-5C245005ED1A@wanadoo.fr> Message-ID: On Fri, Dec 3, 2010 at 5:35 AM, Andr? Bisseret wrote: > But MY PROBLEM is that this dataGrid behaves like something as "sharedText" > was set to true!! > As soon as I populated the dataGrid of a card, all data grids on all cards > get the same dgText :-(( > If I try to delete the dataGrid on a card I get the message: > This group is placed on multiple cards, really delete it? > A data grid is a group and if you share that group across multiple cards then when you update the data grid on one card it will update for all cards. If you want different data in the data grid on each card then don't place the data grid on other cards but rather create new data grids. -- Trevor DeVore Blue Mango Learning Systems From andre.bisseret at wanadoo.fr Fri Dec 3 12:10:28 2010 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Fri, 3 Dec 2010 18:10:28 +0100 Subject: (DataGrid) data grids behaving like a background with sharedText In-Reply-To: References: <54EAE6B6-F33A-4BA2-91FC-5C245005ED1A@wanadoo.fr> Message-ID: <2795C768-3FDE-4301-9403-9C51925429D9@wanadoo.fr> Le 3 d?c. 2010 ? 17:34, Trevor DeVore a ?crit : > On Fri, Dec 3, 2010 at 5:35 AM, Andr? Bisseret wrote: > >> But MY PROBLEM is that this dataGrid behaves like something as "sharedText" >> was set to true!! >> As soon as I populated the dataGrid of a card, all data grids on all cards >> get the same dgText :-(( >> If I try to delete the dataGrid on a card I get the message: >> This group is placed on multiple cards, really delete it? >> > > A data grid is a group and if you share that group across multiple cards > then when you update the data grid on one card it will update for all cards. > > If you want different data in the data grid on each card then don't place > the data grid on other cards but rather create new data grids. > Thanks Trevor for your reply. Indeed I want different data grid on each card. The trouble I have is with "create card". On my preceding stacks, when I do "create card" I get, as expected, the background group of fields and buttons but I don't get the data grid. In other word the data grid does not behave like a background so that I can add a new one (copying the data grid of a current card on the new one makes the trick: I get a data grid with a new ID number, and I can populate it differently than the others. But on the stack I am building now, when I "create card", the data grid of the current card appears on the new card, and it has the same ID number as the preceding card. I can't delete it without deleting those of the other cards. So that I can't creata a new data grid! In other words, in this stack the data grid behaves like a background group (which was not the case in my preceding stacks) I am really stuck with that as I don't understand what I am doing wrong. Is something badly set ? Andr? From lists at mangomultimedia.com Fri Dec 3 12:24:29 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 3 Dec 2010 12:24:29 -0500 Subject: (DataGrid) data grids behaving like a background with sharedText In-Reply-To: <2795C768-3FDE-4301-9403-9C51925429D9@wanadoo.fr> References: <54EAE6B6-F33A-4BA2-91FC-5C245005ED1A@wanadoo.fr> <2795C768-3FDE-4301-9403-9C51925429D9@wanadoo.fr> Message-ID: On Fri, Dec 3, 2010 at 12:10 PM, Andr? Bisseret wrote: > > But on the stack I am building now, when I "create card", the data grid of > the current card appears on the new card, and it has the same ID number as > the preceding card. I can't delete it without deleting those of the other > cards. So that I can't creata a new data grid! > > In other words, in this stack the data grid behaves like a background group > (which was not the case in my preceding stacks) > You probably have the backgroundBehavior of the data grid group (or a group that the data grid is a part of) set to true. This is the only condition I know of that will automatically place a group on new cards you create. The way to remove a "placed" group from a card is to use the Object > Remove Group menu item. -- Trevor DeVore Blue Mango Learning Systems From bobs at twft.com Fri Dec 3 12:34:58 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 3 Dec 2010 09:34:58 -0800 Subject: [OT] Custom computers In-Reply-To: <4cf88352.a369e50a.73e2.4025@mx.google.com> References: <4CF7CCCC.7000703@fourthworld.com> <1291310138.2162.232.camel@mint-i7> <4cf88352.a369e50a.73e2.4025@mx.google.com> Message-ID: <20AC8BFB-696B-4FB5-8DCD-78F1C5418278@twft.com> If you take the Hackintosh route, be aware that there are some subtle problems that can crop up. Doing an OS update can break you hackintosh. Also, 3D graphics support is a bit tricky. There are some who saY they got it working, but I could never find anyone who could say exactly how. I was right on the verge of having a friend of mine set one up (he had already made one for doing video streaming) but I told him I only wanted to go forward if he could guarantee that all the software would run and I could play 3D games. He wouldn't do that. I finally just sprang for a 27" iMac and I have never been happier. Bob On Dec 2, 2010, at 9:42 PM, Walt Brown wrote: > Stephen, > Search on "Hackintosh". Here's a pretty active community. > Walt > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of stephen barncard > Sent: Thursday, December 02, 2010 12:24 PM > To: How to use LiveCode > Subject: Re: [OT] Custom computers > > > > one can run *Snow Leopard* on a PC? Using the 'free' *Virtualbox*? > > Where have I been the last two years.? I didn't think this was possible > without a 'magic rom' or something illegal. From effendi at wanadoo.fr Fri Dec 3 12:46:41 2010 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Fri, 3 Dec 2010 18:46:41 +0100 Subject: How to make a square topped, round rect bottomed graphic? Message-ID: <815312F7-D3E4-44BC-B43E-0AE291674E36@wanadoo.fr> Hi from Beautiful Brittany, Please don't knock Fortran. It was my first language (except English, of course) ...... or maybe it was Algol ..... Sigh ! the Sixties are so far away ! But now I program in LiveCode. Once a programmer, always a programmer. -Francis "Nothing should ever be done for the first time !" From bobs at twft.com Fri Dec 3 12:46:52 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 3 Dec 2010 09:46:52 -0800 Subject: LiveCode and facebook In-Reply-To: References: <1291041824113-3063680.post@n4.nabble.com> <1291049853005-3063930.post@n4.nabble.com> <0C487C16-3299-4DED-A842-9179057A9173@etcpp.de> <7CEBB2B7-9A46-4A5B-8386-3EED001B8639@economy-x-talk.com> <36BACA27-4293-4974-8C7E-8E67628C186B@etcpp.de> <2623305A-7977-444A-A209-09D1EC066E82@economy-x-talk.com> Message-ID: I caught that once, I think from this cute web development gal. I had to use a powerful anti-virus to clear it up. You just need to be careful what FTP sites you go to is all. Bob On Dec 3, 2010, at 4:54 AM, Andre Garzia wrote: > Sorry for the delay, php is killing me > > Andre From bobs at twft.com Fri Dec 3 12:48:54 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 3 Dec 2010 09:48:54 -0800 Subject: use-livecode Digest, Vol 87, Issue 3 In-Reply-To: References: Message-ID: How about short stacks? Makes me hungry for some reason... On Dec 2, 2010, at 8:40 PM, John Burtt wrote: > On Dec 2, 2010, at 3:40 AM, Jacqueline Landman Gay wrote: > >> >> We need an official term for those separate stacks that ship with >> standalones. >> >> -- Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> > From bobs at twft.com Fri Dec 3 12:50:11 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 3 Dec 2010 09:50:11 -0800 Subject: use-livecode Digest, Vol 87, Issue 3 In-Reply-To: References: Message-ID: <526F2174-2E20-4139-91DB-E1A1BCAB7B8E@twft.com> I knew that... On Dec 3, 2010, at 7:30 AM, Robert Brenstein wrote: > On 02.12.10 at 20:40 -0800 John Burtt apparently wrote: >> Wouldn't more terms just add to the confusion. >> >> Separate stacks are called "main" stacks. >> The stacks that are part of (within) a main stack are called "sub" stacks. >> Sub stacks that are separated from their main stack, become main stacks. >> A main stack that has been turned into an application is an "executable". >> >> Main stacks are savable. >> Sub stacks are saved when their main stack is saved. >> Executables are not savable. >> And, sub stacks of the executable are not savable. >> >> John > > Not quite... > > Stacks are really windows with objects and scripts. > Stacks are saved in stackfiles. > The mains (startup) stack in each stackfile is its mainstack. > Other stacks in that stackfile are its substacks. > > When executable is produced, the runtime engine is merged with the stacks. However, depending on the settings, the mainstack and substacks are either kept together as in stackfile (neither can be modified at runtime) or substacks are split to become technically own mainstacks in own stackfiles (thus can be modified at runtime), although logically they remain part of the package. > > Robert > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Fri Dec 3 12:54:46 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 3 Dec 2010 09:54:46 -0800 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: <815312F7-D3E4-44BC-B43E-0AE291674E36@wanadoo.fr> References: <815312F7-D3E4-44BC-B43E-0AE291674E36@wanadoo.fr> Message-ID: For some reason, maybe because I was once a mechanic, Fortran makes me thing of a transmission that is installed forward, instead of aft where it belongs. Odd huh? Bob On Dec 3, 2010, at 9:46 AM, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > Please don't knock Fortran. It was my first > language (except English, of course) From pete at mollysrevenge.com Fri Dec 3 13:01:38 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 3 Dec 2010 10:01:38 -0800 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: <815312F7-D3E4-44BC-B43E-0AE291674E36@wanadoo.fr> References: <815312F7-D3E4-44BC-B43E-0AE291674E36@wanadoo.fr> Message-ID: And let's not forget COBOL! Pete Haworth -------------- next part -------------- http://www.mollysrevenge.com http://www.sonicbids.com/MollysRevenge http://www.myspace.com/mollysrevengeband On Dec 3, 2010, at 9:46 AM, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > Please don't knock Fortran. It was my first > language (except English, of course) > > ...... or maybe it was Algol ..... > > Sigh ! the Sixties are so far away ! > > But now I program in LiveCode. > > Once a programmer, always a programmer. > > -Francis > > "Nothing should ever be done for the first time !" > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From andre at andregarzia.com Fri Dec 3 13:00:07 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 3 Dec 2010 16:00:07 -0200 Subject: LiveCode and facebook In-Reply-To: References: <1291041824113-3063680.post@n4.nabble.com> <1291049853005-3063930.post@n4.nabble.com> <0C487C16-3299-4DED-A842-9179057A9173@etcpp.de> <7CEBB2B7-9A46-4A5B-8386-3EED001B8639@economy-x-talk.com> <36BACA27-4293-4974-8C7E-8E67628C186B@etcpp.de> <2623305A-7977-444A-A209-09D1EC066E82@economy-x-talk.com> Message-ID: On Fri, Dec 3, 2010 at 3:46 PM, Bob Sneidar wrote: > I caught that once, I think from this cute web development gal. I had to > use a powerful anti-virus to clear it up. You just need to be careful what > FTP sites you go to is all. > > My friend, If you want to see some lovecraftian-grade horror, just look at these pics: First one is "how many tables can fit in this insanity?" http://dl.dropbox.com/u/1340110/Selection_003.png The second is: "how much stuff can we track about emails?" http://dl.dropbox.com/u/1340110/Selection_004.png and now, for the bonus: "There is no administrative interface for the development of this system. Want to find something, go dig into the database using phpMyAdmin!!!" One day, I will get crazy. -- http://www.andregarzia.com All We Do Is Code. From effendi at wanadoo.fr Fri Dec 3 13:07:27 2010 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Fri, 3 Dec 2010 19:07:27 +0100 Subject: [OT] Re: Ucranian spam & other posts Message-ID: <8273DC94-67EB-4790-B1E6-61143B7CE818@wanadoo.fr> Hi from Beautiful Brittany, Rene (without an accent) Please, in order to read your interesting posts, for the love of non-French readers, who don't use any accents, can you just forget them ? . Life can be so easy without .... :>) S'il te plait, pour pouvoir lire tes "posts", plus facilement, en temps que lecteurs non-Francais, est-ce que tu peux laisser tomber les accents ? La vie est tellement plus facile sans .... :>) Amicalement -Francis From rene.micout at numericable.com Fri Dec 3 13:12:38 2010 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Fri, 3 Dec 2010 19:12:38 +0100 Subject: [OT] Re: Ucranian spam & other posts In-Reply-To: <8273DC94-67EB-4790-B1E6-61143B7CE818@wanadoo.fr> References: <8273DC94-67EB-4790-B1E6-61143B7CE818@wanadoo.fr> Message-ID: Francis, What happens with my accent (only on my first name) ? En dehors de mon pr?nom (sauf ici) o? (et ici) mets-je des accents ? ;-) Rene Le 3 d?c. 2010 ? 19:07, Francis Nugent Dixon a ?crit : > Hi from Beautiful Brittany, > > Rene (without an accent) > > Please, in order to read your interesting > posts, for the love of non-French readers, > who don't use any accents, can you just forget > them ? . Life can be so easy without .... :>) > > S'il te plait, pour pouvoir lire tes "posts", > plus facilement, en temps que lecteurs non-Francais, > est-ce que tu peux laisser tomber les accents ? > La vie est tellement plus facile sans .... :>) > > Amicalement > > -Francis > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From palcibiades-first at yahoo.co.uk Fri Dec 3 13:51:44 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 3 Dec 2010 10:51:44 -0800 (PST) Subject: [OT] Custom computers In-Reply-To: <4CF7CCCC.7000703@fourthworld.com> References: <4CF7CCCC.7000703@fourthworld.com> Message-ID: <1291402304326-3071572.post@n4.nabble.com> I've done both - barebones and build from scratch. The issue with barebones is to make sure it is a standard form factor main board. A couple of Asus machines have been fine, but are impossible to upgrade or to replace the main board if anything goes wrong. Shuttle has the same problem. I would not go with either one for that reason. If you want a Shuttle form factor, Silverstone has a very nice sff in aluminum or in (cheaper) steel. The last two I made were definitely more cost effective than buying brand names. One of them was a barebones i5 in a highish end Antec gaming case because that is what it came with from our chosen supplier. We got a decent graphics card for it, the case is way over the top for a business application, but the huge fans make it very quiet and the cooling is superb. This is going to last. The guy wanted not to have to change out his machine for as long as he could get away with, and then to do the minimum, and this was the best i could do at the budget. The blue LEDs look a bit odd in a business environment, but its built for function, and he has not asked to have them turned off. The second one was from scratch. This one the user wanted silence. So I got a silent psu, silent fans, and a speed reducer control for even those fans. The case is a silverstone sff, which takes a standard matx board. It really is just about silent, with three slow fans moving plenty of air through. Its an i3 with a stock cooler, which I had expected to have to swap out, but you can hardly hear it so we will stay with it. Cooling is superb, and quiet too. The trick is to get bigger fans and run them slower. No, don't get AMD. Get the i series from Intel. The power consumption, hence the heat, is lower, and the performance way up. Read the processor test reports. At this point there is really no reason to go with AMD. The next one I am getting ready to do is a real sff machine for someone who wants small. We are going to do a compucase very small case, with external psu, and an i3. i3 is nice because its low power, low heat, very quiet. I like to get the main board memory and psu all bundled together and installed and tested, it makes life easier. Once again we will add silent fans to this, and will use an external dvd for the optical. Do it. You get exactly what you want, and its usually, for what you are getting, very cost effective. Of course, you have to know what you want. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Custom-computers-tp3069674p3071572.html Sent from the Revolution - User mailing list archive at Nabble.com. From walter.h.brown at gmail.com Fri Dec 3 13:56:49 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Fri, 3 Dec 2010 13:56:49 -0500 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: References: <815312F7-D3E4-44BC-B43E-0AE291674E36@wanadoo.fr> Message-ID: <4cf93d73.0280dc0a.31cd.4866@mx.google.com> That's only if you use RPN, Bob. -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bob Sneidar Sent: Friday, December 03, 2010 12:55 PM To: How to use LiveCode Subject: Re: How to make a square topped, round rect bottomed graphic? For some reason, maybe because I was once a mechanic, Fortran makes me thing of a transmission that is installed forward, instead of aft where it belongs. Odd huh? Bob On Dec 3, 2010, at 9:46 AM, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > Please don't knock Fortran. It was my first language (except English, > of course) _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From warrenkuhl at gmail.com Fri Dec 3 13:59:52 2010 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Fri, 3 Dec 2010 12:59:52 -0600 Subject: Repeat Loop Question Message-ID: Here is a scenario I am trying to figure out... put 50 into tCount repeat with x = 1 to tCount if x = 50 then put 100 into tCount end if end repeat With the above I would think that once the loop reaches 50..then the value of tCount increases to 100 and the repeat would continue another 50 times. But the repeat still stops at 50. Is there anyway to increase a repeat loop maximum variable while within the loop? Thanks, Warren From coiin at verizon.net Fri Dec 3 14:09:41 2010 From: coiin at verizon.net (Colin Holgate) Date: Fri, 03 Dec 2010 14:09:41 -0500 Subject: Repeat Loop Question In-Reply-To: References: Message-ID: <63A608CF-3C07-471F-907F-44E53C88B653@verizon.net> On Dec 3, 2010, at 1:59 PM, Warren Kuhl wrote: > But the repeat still stops at 50. Is there anyway to increase a repeat loop > maximum variable while within the loop? How about: put 1 into x put 50 into tCount repeat while x <= tCount if x = 50 then put 100 into tCount end if add 1 to x end repeat From warrenkuhl at gmail.com Fri Dec 3 14:15:45 2010 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Fri, 3 Dec 2010 13:15:45 -0600 Subject: Repeat Loop Question In-Reply-To: <63A608CF-3C07-471F-907F-44E53C88B653@verizon.net> References: <63A608CF-3C07-471F-907F-44E53C88B653@verizon.net> Message-ID: Colin, Thanks....that would work. I didn't even think to do it this way. Have a great weekend! Warren On Fri, Dec 3, 2010 at 1:09 PM, Colin Holgate wrote: > > On Dec 3, 2010, at 1:59 PM, Warren Kuhl wrote: > > > But the repeat still stops at 50. Is there anyway to increase a repeat > loop > > maximum variable while within the loop? > > How about: > > put 1 into x > put 50 into tCount > repeat while x <= tCount > if x = 50 then > put 100 into tCount > end if > add 1 to x > end repeat > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at mollysrevenge.com Fri Dec 3 14:23:14 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 3 Dec 2010 11:23:14 -0800 Subject: CDDB Access Message-ID: <5A910AE3-6F8E-45CE-AC50-E2AADC0DD1B7@mollysrevenge.com> Has anyone tried accessing CDDB from LiveCode? CDDB is a central repository of CD and track information, used by iTunes among others. Thanks, Pete Haworth From bobs at twft.com Fri Dec 3 14:30:24 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 3 Dec 2010 11:30:24 -0800 Subject: Repeat Loop Question In-Reply-To: References: <63A608CF-3C07-471F-907F-44E53C88B653@verizon.net> Message-ID: I believe the reason that works you the form you use did not, is because with repeat for, the max count is evaluated as a constant, so it takes whatever value you have in tCount and stores it in it's own internal max count. Changing tCount does NOT alter that. However with Repeat While, the conditions are evaluated upon each loop, so it works. You will find other issues with certain forms of repeat, like repeat for each line mLine in mText. If you alter the value of mText inside the loop, you will see strange and unexpected results in mLine, because the engine evaluates mText as a location in memory, and altering mText can alter in unexpected ways what is in memory. Things get really ugly after that. Best to not change the conditions of a repeat loop, except in the scenario described by Colin. Bob On Dec 3, 2010, at 11:15 AM, Warren Kuhl wrote: > Colin, > > Thanks....that would work. I didn't even think to do it this way. > > Have a great weekend! > Warren > > On Fri, Dec 3, 2010 at 1:09 PM, Colin Holgate wrote: > >> >> On Dec 3, 2010, at 1:59 PM, Warren Kuhl wrote: >> >>> But the repeat still stops at 50. Is there anyway to increase a repeat >> loop >>> maximum variable while within the loop? >> >> How about: >> >> put 1 into x >> put 50 into tCount >> repeat while x <= tCount >> if x = 50 then >> put 100 into tCount >> end if >> add 1 to x >> end repeat >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From warrenkuhl at gmail.com Fri Dec 3 14:33:53 2010 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Fri, 3 Dec 2010 13:33:53 -0600 Subject: Repeat Loop Question In-Reply-To: References: <63A608CF-3C07-471F-907F-44E53C88B653@verizon.net> Message-ID: Bob, Thanks for the clarification! You are right about things getting ugly. My results were very inconsistent and took a look time trying to debug to figure out what was causing the problem. Warren On Fri, Dec 3, 2010 at 1:30 PM, Bob Sneidar wrote: > I believe the reason that works you the form you use did not, is because > with repeat for, the max count is evaluated as a constant, so it takes > whatever value you have in tCount and stores it in it's own internal max > count. Changing tCount does NOT alter that. > > However with Repeat While, the conditions are evaluated upon each loop, so > it works. You will find other issues with certain forms of repeat, like > repeat for each line mLine in mText. If you alter the value of mText inside > the loop, you will see strange and unexpected results in mLine, because the > engine evaluates mText as a location in memory, and altering mText can alter > in unexpected ways what is in memory. Things get really ugly after that. > > Best to not change the conditions of a repeat loop, except in the scenario > described by Colin. > > Bob > > > On Dec 3, 2010, at 11:15 AM, Warren Kuhl wrote: > > > Colin, > > > > Thanks....that would work. I didn't even think to do it this way. > > > > Have a great weekend! > > Warren > > > > On Fri, Dec 3, 2010 at 1:09 PM, Colin Holgate wrote: > > > >> > >> On Dec 3, 2010, at 1:59 PM, Warren Kuhl wrote: > >> > >>> But the repeat still stops at 50. Is there anyway to increase a repeat > >> loop > >>> maximum variable while within the loop? > >> > >> How about: > >> > >> put 1 into x > >> put 50 into tCount > >> repeat while x <= tCount > >> if x = 50 then > >> put 100 into tCount > >> end if > >> add 1 to x > >> end repeat > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From andre.bisseret at wanadoo.fr Fri Dec 3 14:36:47 2010 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Fri, 3 Dec 2010 20:36:47 +0100 Subject: (DataGrid) data grids behaving like a background with sharedText In-Reply-To: References: <54EAE6B6-F33A-4BA2-91FC-5C245005ED1A@wanadoo.fr> <2795C768-3FDE-4301-9403-9C51925429D9@wanadoo.fr> Message-ID: Le 3 d?c. 2010 ? 18:24, Trevor DeVore a ?crit : > > On Fri, Dec 3, 2010 at 12:10 PM, Andr? Bisseret > wrote: > >> >> But on the stack I am building now, when I "create card", the data grid of >> the current card appears on the new card, and it has the same ID number as >> the preceding card. I can't delete it without deleting those of the other >> cards. So that I can't creata a new data grid! >> >> In other words, in this stack the data grid behaves like a background group >> (which was not the case in my preceding stacks) >> > > You probably have the backgroundBehavior of the data grid group (or a group > that the data grid is a part of) set to true. This is the only condition I > know of that will automatically place a group on new cards you create. Whoaa! Right! the data grid had its backgroundBehavior set to true! Sure I made that inadvertently as, naively, I was not conscious that a data grid could have a backgroundBehavior ;-)) (I suppose that it is because it is not settable in the Basic properties pane unlike the common other groups!) Very useful to be aware of that ;-)) Thank you very much Trevor for your very efficient help My problem is solved (the "create card" part of my handler runs like a charm now). Andr? > > The way to remove a "placed" group from a card is to use the Object > Remove > Group menu item. > > -- > Trevor DeVore > Blue Mango Learning Systems > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > --------------------------------------------------------------------------------------- > Orange vous informe que cet e-mail a ete controle par l'anti-virus mail. > Aucun virus connu a ce jour par nos services n'a ete detecte. > > From rick-rice at shaw.ca Fri Dec 3 17:17:44 2010 From: rick-rice at shaw.ca (Rick Rice) Date: Fri, 3 Dec 2010 14:17:44 -0800 Subject: Cursors in a Revlet In-Reply-To: <1290596922637-3057077.post@n4.nabble.com> References: <1290596922637-3057077.post@n4.nabble.com> Message-ID: <7947F95E-231E-4B01-91BB-F3C330F2CD9D@shaw.ca> Once again I know I am mising something really simple. I use: on mouseEnter lock cursor set the cursor to hand end mouseEnter on mouseLeave unlock cursor end mouseLeave to, as the dictionary says - indicate to the user what kind of data the mouse pointer is over. It doesn't work in a Revlet on the Web. The cursor remains the default arrow. What am I missing? Thanks Rick From dixonja at hotmail.co.uk Fri Dec 3 18:05:02 2010 From: dixonja at hotmail.co.uk (John Dixon) Date: Fri, 3 Dec 2010 23:05:02 +0000 Subject: Cursors in a Revlet In-Reply-To: <7947F95E-231E-4B01-91BB-F3C330F2CD9D@shaw.ca> References: , <1290596922637-3057077.post@n4.nabble.com>, <7947F95E-231E-4B01-91BB-F3C330F2CD9D@shaw.ca> Message-ID: Rick... You are not missing anything... the cursors are not included in the revlet when you compile it for the web, so they are not there to show... > Once again I know I am mising something really simple. I use: > > on mouseEnter > lock cursor > set the cursor to hand > end mouseEnter > > on mouseLeave > unlock cursor > end mouseLeave > > to, as the dictionary says - indicate to the user what kind of data > the mouse pointer is over. It doesn't work in a Revlet on the Web. > The cursor remains the default arrow. What am I missing? > Thanks > Rick From jacque at hyperactivesw.com Fri Dec 3 19:45:26 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 03 Dec 2010 18:45:26 -0600 Subject: show package contents In-Reply-To: <1291350459118-3070629.post@n4.nabble.com> References: <3F95480D5F0DA64EA0785711087864DE8C61A4E0C7@exch01.mchpe.cpe.umanitoba.ca> <4CF80A8F.2040809@hyperactivesw.com> <1291350459118-3070629.post@n4.nabble.com> Message-ID: <4CF98F26.7020109@hyperactivesw.com> On 12/2/10 10:27 PM, Mark Smith wrote: > > The path to Notepad4 is: /mark/runrev/stacks/notepad/notepad4. I guess the > "splash" stack could be anywhere but is currently > /mark/runrev/stacks/notepad/notepad8/macosx/notepad. Since I think it is > messy to try and distribute more than 1 file/bundle I guess it would be > better if Notepad? was located in the Notepad application bundle. Launching > Notepad would then look insides its bundle to find the current version of > the notepad code/stack? Right. It doesn't matter where your mainstack is while developing. When you make a standalone a copy will become the standalone. In Standalone Settings, point the Stacks pane to your notepad4 stack. When you build, it will be placed inside the bundle, in Notepad.app/Contents/MacOS/, which is right next to the actual executable file. In your script, change the hard-coded path to one that calculates the relative path. This function should work whether your notepad stack is opened from the standalone or in the IDE: funtion getStackPath pFileName -- i.e. "notepad4" put the effective filename of this stack into tPath set the itemDelimiter to slash put pFileName into last item of tPath return tPath end getStackPath While developing, you need to put your notepad4 stack into the same folder as the mainstack that will become the standalone, since the function looks in the same folder for the file. In the IDE, that's the folder containing the mainstack. In an OS X standalone, it's inside the bundle next to the standalone executable. On Windows and Linux, which don't have bundles, it's just like in the IDE, and looks for the notepad4 stack in the same folder with the standalone. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From Mark_Smith at cpe.umanitoba.ca Fri Dec 3 23:37:09 2010 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Fri, 3 Dec 2010 20:37:09 -0800 (PST) Subject: show package contents In-Reply-To: <4CF98F26.7020109@hyperactivesw.com> References: <3F95480D5F0DA64EA0785711087864DE8C61A4E0C7@exch01.mchpe.cpe.umanitoba.ca> <4CF80A8F.2040809@hyperactivesw.com> <1291350459118-3070629.post@n4.nabble.com> <4CF98F26.7020109@hyperactivesw.com> Message-ID: <1291437429716-3072097.post@n4.nabble.com> Thanks Jacqueline.You are a terrific teacher. It not only worked but I understand it. It is a very clever technique. I am still using the old 'hard coded' method (as well) because it has the advantage that while I *use* the stack, and modify it, the notes get written to a common stack (not a "copy" of the stack where they might get trashed). I hope that makes sense? But I've created a distribution "startup" (aka splash) that saves the notepad stack into the startup bundle (using stack panes) and also calls the stack by the relative pathname. Whew, that was a lot to learn. Thanks -- Mark J. Landman Gay wrote: > > In your script, change the hard-coded path to one that calculates the > relative path. This function should work whether your notepad stack is > opened from the standalone or in the IDE: > > funtion getStackPath pFileName -- i.e. "notepad4" > put the effective filename of this stack into tPath > set the itemDelimiter to slash > put pFileName into last item of tPath > return tPath > end getStackPath > > While developing, you need to put your notepad4 stack into the same > folder as the mainstack that will become the standalone, since the > function looks in the same folder for the file. In the IDE, that's the > folder containing the mainstack. In an OS X standalone, it's inside the > bundle next to the standalone executable. On Windows and Linux, which > don't have bundles, it's just like in the IDE, and looks for the > notepad4 stack in the same folder with the standalone. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RE-show-package-contents-tp3068420p3072097.html Sent from the Revolution - User mailing list archive at Nabble.com. From sims at ezpzapps.com Sat Dec 4 02:32:53 2010 From: sims at ezpzapps.com (Jim Sims) Date: Sat, 4 Dec 2010 08:32:53 +0100 Subject: LiveCode and facebook In-Reply-To: References: <1291041824113-3063680.post@n4.nabble.com> <1291049853005-3063930.post@n4.nabble.com> <0C487C16-3299-4DED-A842-9179057A9173@etcpp.de> <7CEBB2B7-9A46-4A5B-8386-3EED001B8639@economy-x-talk.com> <36BACA27-4293-4974-8C7E-8E67628C186B@etcpp.de> <2623305A-7977-444A-A209-09D1EC066E82@economy-x-talk.com> Message-ID: On Dec 3, 2010, at 7:00 PM, Andre Garzia wrote: > and now, for the bonus: "There is no administrative interface for the > development of this system. Want to find something, go dig into the database > using phpMyAdmin!!!" Then you must make one. ;-) > > One day, I will get crazy. One day? ;-) sims From pmbrig at gmail.com Sat Dec 4 09:59:23 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Sat, 4 Dec 2010 09:59:23 -0500 Subject: Cursors in a Revlet In-Reply-To: References: , <1290596922637-3057077.post@n4.nabble.com>, <7947F95E-231E-4B01-91BB-F3C330F2CD9D@shaw.ca> Message-ID: FYI, though I know little about revlets, if you are setting cursors on a stack running on the desktop (in the IDE or as a standalone), it will work much better to set the defaultCursor. I used to lock the cursor and set it to something but ran into intermittent problems with it not unlocking. Try this in a stack script, so that the cursor changes to hand for all buttons and reverts reliably when leaving the button: on mouseMove -- more reliable than mouseEnter if the name of the target contains "button" then set the defaultcursor to hand else set the defaultcursor to empty end if pass mouseMove end mouseMove on mouseLeave set the defaultcursor to empty pass mouseLeave end mouseLeave -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Dec 3, 2010, at 6:05 PM, John Dixon wrote: > > Rick... > > You are not missing anything... the cursors are not included in the > revlet when you compile it for the web, so they are not there to > show... > >> Once again I know I am mising something really simple. I use: >> >> on mouseEnter >> lock cursor >> set the cursor to hand >> end mouseEnter >> >> on mouseLeave >> unlock cursor >> end mouseLeave >> >> to, as the dictionary says - indicate to the user what kind of data >> the mouse pointer is over. It doesn't work in a Revlet on the Web. >> The cursor remains the default arrow. What am I missing? >> Thanks >> Rick > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rjearp at hotmail.com Sat Dec 4 02:21:45 2010 From: rjearp at hotmail.com (Bob Earp) Date: Fri, 3 Dec 2010 23:21:45 -0800 Subject: How to make a square topped, round rect bottomed graphic? Message-ID: Hey Roger, Wasn't this the Trace tool in SC ? You were always impressed with that ;-) Seeing it was in SC, I would have thought somebody that still has SC and is a lot brighter than the two of us put together, could "extract" and clone the appropriate script. BTW, what's all of this "Howdy" ? Methinks you've been spending too much time in Montana !! best, Bob... > Message: 7 > Date: Wed, 01 Dec 2010 11:17:45 -0800 > From: Roger Guay > To: use-livecode at lists.runrev.com > Subject: Re: How to make a square topped, round rect bottomed graphic? > Message-ID: <738701B9-9852-40AF-ADA4-188C0658FE14 at mac.com> > Content-Type: text/plain; charset=us-ascii > > Howdy, > > One of the things I remember most fondly about SuperCard was its > incredible shrinker/expander polygon tool. With this tool it was a > snap to surround a group of objects, for example, and the tool would > then automatically generate a new polygon that fit tightly around > the original group. As an option, this tool could also expand to > fill a void. > > I have tried to build such tool in Rev but to no avail. I guess I am > too much of an amateur! > > Oh, to have such a tool in Rev/LiveCode!! > > Cheers, > Roger Guay Bob Earp White Rock, British Columbia. From ambassador at fourthworld.com Sat Dec 4 11:36:42 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 04 Dec 2010 08:36:42 -0800 Subject: How to make a square topped, round rect bottomed graphic? Message-ID: <4CFA6E1A.20504@fourthworld.com> Bob Earp wrote: > Wasn't this the Trace tool in SC ? You were always impressed with > that ;-) > > Seeing it was in SC, I would have thought somebody that still has SC > and is a lot brighter than the two of us put together, could "extract" > and clone the appropriate script. If memory serves that was in SuperEdit, so it wasn't scripted but instead was implemented in C (or maybe Assembler, as Mr. Appleton wrote a lot of his code in 68k back in those days). The algo may have been borrowed from SuperPaint, which was from the same publisher (Silicon Beach Software) and I believe a couple of elements were common between the two programs. There was a fair bit of co-mingling back on those days with SBS products. The sound engine in World Builder came from SBS' Dark Castle game, for example. And there are others - here's some trivia for SC fans: SBS published Personal Press, a page layout program that sold for a fraction of what PageMaker cost. When SBS was acquired by Aldus to become Aldus Consumer Division, there was a bit of a sense of competition between the Personal Press and PageMaker teams. Christopher Watson worked on both SuperCard and Personal Press, and did something the PageMaker team had been wanting to do for a long time: he gave it a scripting engine. He ported the SuperTalk interpreter to Personal Press, so you could write all sorts of very powerful scripts to automate your production workflows. I had a copy of Personal Press, and used to love being able to script it to do all sorts of things for the office I was working in at the time. Good stuff. Since SC was already so mature by then it was a relatively easy port, and he told me that when he sent it up to the main Aldus office to show it off to the PageMaker team they were not thrilled to have been bested so decisively by such a modest product made by a much smaller team. :) Another xTalk success story. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From rick-rice at shaw.ca Sat Dec 4 12:03:46 2010 From: rick-rice at shaw.ca (Rick Rice) Date: Sat, 4 Dec 2010 09:03:46 -0800 Subject: Cursors in a Revlet In-Reply-To: References: <1290596922637-3057077.post@n4.nabble.com> <7947F95E-231E-4B01-91BB-F3C330F2CD9D@shaw.ca> Message-ID: <4076EB6A-06ED-4810-9352-2D0A02555BE3@shaw.ca> John: That explains why it doesn't work, .......... nuts. Thanks for the info. Rick On 3-Dec-10, at 3:05 PM, John Dixon wrote: > > Rick... > > You are not missing anything... the cursors are not included in the > revlet when you compile it for the web, so they are not there to > show... From rick-rice at shaw.ca Sat Dec 4 12:06:17 2010 From: rick-rice at shaw.ca (Rick Rice) Date: Sat, 4 Dec 2010 09:06:17 -0800 Subject: Cursors in a Revlet In-Reply-To: References: <1290596922637-3057077.post@n4.nabble.com> <7947F95E-231E-4B01-91BB-F3C330F2CD9D@shaw.ca> Message-ID: Peter: Thanks, I'll make the changes. Rick On 4-Dec-10, at 6:59 AM, Peter Brigham MD wrote: > FYI, though I know little about revlets, if you are setting cursors > on a stack running on the desktop (in the IDE or as a standalone), > it will work much better to set the defaultCursor. I used to lock > the cursor and set it to something but ran into intermittent > problems with it not unlocking. Try this in a stack script, so that > the cursor changes to hand for all buttons and reverts reliably > when leaving the button: > > on mouseMove > -- more reliable than mouseEnter > if the name of the target contains "button" then > set the defaultcursor to hand > else > set the defaultcursor to empty > end if > pass mouseMove > end mouseMove > > on mouseLeave > set the defaultcursor to empty > pass mouseLeave > end mouseLeave > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > On Dec 3, 2010, at 6:05 PM, John Dixon wrote: > >> >> Rick... >> >> You are not missing anything... the cursors are not included in >> the revlet when you compile it for the web, so they are not there >> to show... >> >>> Once again I know I am mising something really simple. I use: >>> >>> on mouseEnter >>> lock cursor >>> set the cursor to hand >>> end mouseEnter >>> >>> on mouseLeave >>> unlock cursor >>> end mouseLeave >>> >>> to, as the dictionary says - indicate to the user what kind of data >>> the mouse pointer is over. It doesn't work in a Revlet on the Web. >>> The cursor remains the default arrow. What am I missing? >>> Thanks >>> Rick >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Dec 4 12:21:44 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 04 Dec 2010 11:21:44 -0600 Subject: show package contents In-Reply-To: <1291437429716-3072097.post@n4.nabble.com> References: <3F95480D5F0DA64EA0785711087864DE8C61A4E0C7@exch01.mchpe.cpe.umanitoba.ca> <4CF80A8F.2040809@hyperactivesw.com> <1291350459118-3070629.post@n4.nabble.com> <4CF98F26.7020109@hyperactivesw.com> <1291437429716-3072097.post@n4.nabble.com> Message-ID: <4CFA78A8.1070801@hyperactivesw.com> On 12/3/10 10:37 PM, Mark Smith wrote: > > Thanks Jacqueline.You are a terrific teacher. It not only worked but I > understand it. It is a very clever technique. I am still using the old 'hard > coded' method (as well) because it has the advantage that while I *use* the > stack, and modify it, the notes get written to a common stack (not a "copy" > of the stack where they might get trashed). Thanks. But I kind of misinformed you. The function I wrote calculates a hard-coded path, so it isn't reallly a relative one. But it works. If you move your working notepad data stack into the mainstack's folder, it will work as it does now. Any changes you make to it will be permanent. The copy isn't made until you build a standalone. It's easier to maintain only one working copy of a stack. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Sat Dec 4 12:28:54 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 04 Dec 2010 09:28:54 -0800 Subject: Cursors in a Revlet Message-ID: <4CFA7A56.1030105@fourthworld.com> John Dixon wrote: > You are not missing anything... the cursors are not included in > the revlet when you compile it for the web, so they are not > there to show... Do revlets support custom cursors in the browser if you copy the cursor images to your stack? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From bryan at deepfoo.com Sat Dec 4 12:56:05 2010 From: bryan at deepfoo.com (Bryan McCormick) Date: Sat, 04 Dec 2010 12:56:05 -0500 Subject: Finding local minima and maxima of a graph Message-ID: <4CFA80B5.3090804@deepfoo.com> I have a very large number of graphs to crunch through to find local minima and maxima. The data is regularly spaced, which eliminated one problem. I know too that the window value used has to be an adjustable variable as peak and trough significance may need to be found for a wide range of time periods within the data set. I had thought of using a moving average to find a slope of zero and then use an offset function to find the peak and trough in time. I've used stackoverflow to have a look and apparently the problem is a lot less trivial than I thought. Any suggestions for fitting to a function, using the graphing functions in rev, etc would be most welcome. From bvg at mac.com Sat Dec 4 12:58:39 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 04 Dec 2010 18:58:39 +0100 Subject: [ANN] Live LiveCode code event nr. two starting soon In-Reply-To: <122B4486-2BE9-4862-823D-231509B34B5B@mac.com> References: <122B4486-2BE9-4862-823D-231509B34B5B@mac.com> Message-ID: Hi This is a reminder that the show will start in about an hour. We had terrible technical issues to get multiple hosts onto the same stream, therefore we will simply do 3 different streams, one after another. For people wanting to watch, that means that the first half hour will be Davids stream, after that it's Mark and I'll be last. More info here: http://livecode.tv/ make sure to join ChatRev, so you get the info about when to change to which stream. Everything is live, so short term schedule changes (aka. running late) will happen. http://bjoernke.com?target=chatrev first half hour stream: http://livecode.tv/david/ second half hour stream: http://livecode.tv/mark/ third half hour stream: http://livecode.tv/bvg/ after that: ribbons have fun Bjoernke On 2 Dec 2010, at 19:21, Bj?rnke von Gierke wrote: > Dearest scripters > > This Saturday the streamed insanity continues! More! Better! Ribbon! > > We (Yes, we're a 'we' now!) even got a new cozy place. But beware, it's not furnished yet. The hauling truck is scheduled to arrive on friday evening: > > www.livecode.tv > > Times (two hours later then last time): > Zurich: 20:00 > Buenos Aires: 16:00 > New York: 14:00 > San Francisco: 11:00 > Sydney: 06:00 > > We have more topics and more presenters (note to self: fix to represent reality): > > - Bjoernke will steal an idea from the use list and present various entry-restricted fields. > - David will show how to create iPhone GUIs using pre-made groups of objects. > - Mark will create a simple socket tutorial, and present his installer plugin. > > Like last time, the real deal is when you join ChatRev and demand weird things from the presenters. Like for example, that we explain how to start LiveCode. > > Ok, now _that_ is a horrible question. See how boring we are? We desperately need your ideas! > > At any time (or the time mentioned above), join here: > http://bjoernke.com?target=chatrev > or: > go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" > > Meanwhile, we've got homework for y'all. The Question is: When to do future shows, assuming we do them weekly? Please vote on your preferred show-day (Vote not applicable to next show): > > http://doodle.com/bgtc7ynzpwcdnw79 > > > Have Fun! > Bjoernke -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From Mark_Smith at cpe.umanitoba.ca Sat Dec 4 13:08:44 2010 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Sat, 4 Dec 2010 12:08:44 -0600 Subject: show package contents In-Reply-To: <4CFA78A8.1070801@hyperactivesw.com> References: <3F95480D5F0DA64EA0785711087864DE8C61A4E0C7@exch01.mchpe.cpe.uma nitoba.ca> <4CF80A8F.2040809@hyperactivesw.com> <1291350459118-3070629.post @n4.nabble.com> <4CF98F26.7020109@hyperactivesw.com><1291437429716-3072097. post@n4.nabble.com>,<4CFA78A8.1070801@hyperactivesw.com> Message-ID: <3F95480D5F0DA64EA0785711087864DE8C61A4E0D7@exch01.mchpe.cpe.umanitoba.ca> Hi Jacqueline, fooling around with this has certainly been instructive. I have 3 versions in play 1. the first has a hard coded path in the mainstack and that one obviously works from anywhere to call the "one working copy" (currently Notepad4). 2. the second uses your suggested getStackPath function but does not put Notepad4 in the bundle. It works fine if the mainstack and notepad4 are in the same directory, or the mainstack is on the application dock (which functions, I suppose, just like a windows shortcut to the original) 3. the third uses getStackPath AND puts Notepad4 in the bundle. This works from anywhere, but obviously on a copy of notepad4.... but from my perspective getStackPath in this case is returning a relative path name... relative to the mainstack. This, I think, would be the best way to distribute a finished product to others since it puts everything in one neat and tidy place that can be accessed relatively from anywhere? And you got me there so thanks again! -- Mark PS here's what the current stack script for the main stack looks like (covers 2 and 3 above) -- Use this startup when compiling to a distribution bundle. -- For compiler settings include Notepadx in the Stacks pane so it is included in the bundle on preopenstack lock screen -- prevents the user from seeing what's going on hide this stack -- so they don't see it, same as set visible of stack "mystack" to true go to stack getStackPath ("Notepad4.rev") end preopenstack -- note this stack can be hard to edit subsequently because the preopenstack handler -- hides the stack. You can get around this by using the application browser, finding the stack -- 'startup' and clicking on it. This will make it visible again function getStackPath pFilename put the effective filename of this stack into tPath -- puts path to Startup.rev into tPath set the itemDelimiter to slash put pFilename into last item of tPath -- replaces last item with Notepad4.rev return tPath end getStackPath ________________________________________ From: use-livecode-bounces at lists.runrev.com [use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay [jacque at hyperactivesw.com] Sent: Saturday, December 04, 2010 11:21 AM To: How to use LiveCode Subject: Re: show package contents On 12/3/10 10:37 PM, Mark Smith wrote: > > Thanks Jacqueline.You are a terrific teacher. It not only worked but I > understand it. It is a very clever technique. I am still using the old 'hard > coded' method (as well) because it has the advantage that while I *use* the > stack, and modify it, the notes get written to a common stack (not a "copy" > of the stack where they might get trashed). Thanks. But I kind of misinformed you. The function I wrote calculates a hard-coded path, so it isn't reallly a relative one. But it works. If you move your working notepad data stack into the mainstack's folder, it will work as it does now. Any changes you make to it will be permanent. The copy isn't made until you build a standalone. It's easier to maintain only one working copy of a stack. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From chipp at chipp.com Sat Dec 4 13:10:33 2010 From: chipp at chipp.com (Chipp Walters) Date: Sat, 4 Dec 2010 12:10:33 -0600 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: <4CFA6E1A.20504@fourthworld.com> References: <4CFA6E1A.20504@fourthworld.com> Message-ID: I remenber PP quite well- and also used it like you describe. Although, for some reason, I thought PP was written mostly in SC, and that's why it was so slow. Whatever happened to Christopher Watson? Also, another bit of nostalgic trivia going on around the same time: After Charlie Jackson sold SIlicon Beach to Aldus, he took some time off to compete as a marksman in the Olympics, and when he came back, he and the original SuperPaint developers, including Jonathan Gay (remember Laser Bits?) started a new company and invented another hybrid paint program. This one was all vectors, but you worked with it just like you would a paint program. You created shapes with brushes and a paint bucket, and deleted parts of them with an eraser. So cool! He called it Smart Sketch. He then added animation and called it FutureSplash. It never really got much traction so he sold it to Macromedia. They later changed the name to Flash. From richmondmathewson at gmail.com Sat Dec 4 13:16:55 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 04 Dec 2010 20:16:55 +0200 Subject: PDF ? Message-ID: <4CFA8597.8040009@gmail.com> Erm? Importing PDF files? Maybe expecting a bit much? From klaus at major.on-rev.com Sat Dec 4 13:23:13 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 4 Dec 2010 19:23:13 +0100 Subject: PDF ? In-Reply-To: <4CFA8597.8040009@gmail.com> References: <4CFA8597.8040009@gmail.com> Message-ID: Hi Mr. Tight-lipped, Am 04.12.2010 um 19:16 schrieb Richmond: > Erm? Yes? > Importing PDF files? OS X = player object Else = inside of browser object(s), most users have Acrobat Reader installed > Maybe expecting a bit much? As always :-D Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From richmondmathewson at gmail.com Sat Dec 4 13:29:12 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 04 Dec 2010 20:29:12 +0200 Subject: PDF ? In-Reply-To: References: <4CFA8597.8040009@gmail.com> Message-ID: <4CFA8878.6030900@gmail.com> On 12/04/2010 08:23 PM, Klaus on-rev wrote: > Hi Mr. Tight-lipped, > Do you really want me to return to my previous blabber-mouthed incarnation? From klaus at major.on-rev.com Sat Dec 4 13:36:27 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 4 Dec 2010 19:36:27 +0100 Subject: PDF ? In-Reply-To: <4CFA8878.6030900@gmail.com> References: <4CFA8597.8040009@gmail.com> <4CFA8878.6030900@gmail.com> Message-ID: <2DCB4677-1732-4837-8ADF-D2F0C019E910@major.on-rev.com> Hi Richmond, > On 12/04/2010 08:23 PM, Klaus on-rev wrote: >> Hi Mr. Tight-lipped, > Do you really want me to return to my previous blabber-mouthed incarnation? Oh, NOOOOO! :-D But a complete sentence wouldn't have hurt! ;-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From pmbrig at gmail.com Sat Dec 4 13:47:40 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Sat, 4 Dec 2010 13:47:40 -0500 Subject: Finding local minima and maxima of a graph In-Reply-To: <4CFA80B5.3090804@deepfoo.com> References: <4CFA80B5.3090804@deepfoo.com> Message-ID: <81A2F068-7EE6-4426-998B-A07E74698D4B@gmail.com> Do you have access to the data the graphs are based on? Or are you talking about trying to analyze the shape of a curve (bitmapped or otherwise)? The two problems will have quite different approaches. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Dec 4, 2010, at 12:56 PM, Bryan McCormick wrote: > I have a very large number of graphs to crunch through to find local > minima and maxima. The data is regularly spaced, which eliminated > one problem. I know too that the window value used has to be an > adjustable variable as peak and trough significance may need to be > found for a wide range of time periods within the data set. > > I had thought of using a moving average to find a slope of zero and > then use an offset function to find the peak and trough in time. > > I've used stackoverflow to have a look and apparently the problem is > a lot less trivial than I thought. > > Any suggestions for fitting to a function, using the graphing > functions in rev, etc would be most welcome. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bryan at deepfoo.com Sat Dec 4 14:10:26 2010 From: bryan at deepfoo.com (Bryan McCormick) Date: Sat, 04 Dec 2010 14:10:26 -0500 Subject: Finding local minima and maxima of a graph In-Reply-To: <4CFA80B5.3090804@deepfoo.com> References: <4CFA80B5.3090804@deepfoo.com> Message-ID: <4CFA9222.6010200@deepfoo.com> Peter, Yes, I have thousands of .csv files to process. I have data that is ordered by column containing high and low values. On 12/4/2010 12:56 PM, Bryan McCormick wrote: > I have a very large number of graphs to crunch through to find local > minima and maxima. The data is regularly spaced, which eliminated one > problem. I know too that the window value used has to be an adjustable > variable as peak and trough significance may need to be found for a wide > range of time periods within the data set. > > I had thought of using a moving average to find a slope of zero and then > use an offset function to find the peak and trough in time. > > I've used stackoverflow to have a look and apparently the problem is a > lot less trivial than I thought. > > Any suggestions for fitting to a function, using the graphing functions > in rev, etc would be most welcome. From jacque at hyperactivesw.com Sat Dec 4 14:13:05 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 04 Dec 2010 13:13:05 -0600 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: References: <4CFA6E1A.20504@fourthworld.com> Message-ID: <4CFA92C1.1080601@hyperactivesw.com> On 12/4/10 12:10 PM, Chipp Walters wrote: > the original SuperPaint developers, including Jonathan Gay Whoa, there's another one? We're few enough that we keep track. Cool. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jonathandlynch at gmail.com Sat Dec 4 14:23:52 2010 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Sat, 4 Dec 2010 19:23:52 +0000 Subject: Finding local minima and maxima of a graph In-Reply-To: <4CFA9222.6010200@deepfoo.com> References: <4CFA80B5.3090804@deepfoo.com><4CFA9222.6010200@deepfoo.com> Message-ID: <1482379322-1291490438-cardhu_decombobulator_blackberry.rim.net-1007473734-@bda046.bisx.prod.on.blackberry> Does the equation that generates the graph lend itself to finding its first derivative - or are you dealing with data points with no generating equation? Sent from my Verizon Wireless BlackBerry -----Original Message----- From: Bryan McCormick Sender: use-livecode-bounces at lists.runrev.com Date: Sat, 04 Dec 2010 14:10:26 To: Reply-To: How to use LiveCode Subject: Re: Finding local minima and maxima of a graph Peter, Yes, I have thousands of .csv files to process. I have data that is ordered by column containing high and low values. On 12/4/2010 12:56 PM, Bryan McCormick wrote: > I have a very large number of graphs to crunch through to find local > minima and maxima. The data is regularly spaced, which eliminated one > problem. I know too that the window value used has to be an adjustable > variable as peak and trough significance may need to be found for a wide > range of time periods within the data set. > > I had thought of using a moving average to find a slope of zero and then > use an offset function to find the peak and trough in time. > > I've used stackoverflow to have a look and apparently the problem is a > lot less trivial than I thought. > > Any suggestions for fitting to a function, using the graphing functions > in rev, etc would be most welcome. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bryan at deepfoo.com Sat Dec 4 14:32:18 2010 From: bryan at deepfoo.com (Bryan McCormick) Date: Sat, 04 Dec 2010 14:32:18 -0500 Subject: Finding local minima and maxima of a graph In-Reply-To: <4CFA9222.6010200@deepfoo.com> References: <4CFA80B5.3090804@deepfoo.com> <4CFA9222.6010200@deepfoo.com> Message-ID: <4CFA9742.5090402@deepfoo.com> Jonathan, No, these are data files in .csv format. Column data with high and low values from the series. Unfortunately I have thousands of these to wade through, with this being an ongoing project. First task is to deal with the history. From richmondmathewson at gmail.com Sat Dec 4 14:34:56 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 04 Dec 2010 21:34:56 +0200 Subject: PDF ? In-Reply-To: <2DCB4677-1732-4837-8ADF-D2F0C019E910@major.on-rev.com> References: <4CFA8597.8040009@gmail.com> <4CFA8878.6030900@gmail.com> <2DCB4677-1732-4837-8ADF-D2F0C019E910@major.on-rev.com> Message-ID: <4CFA97E0.405@gmail.com> On 12/04/2010 08:36 PM, Klaus on-rev wrote: > Hi Richmond, > >> On 12/04/2010 08:23 PM, Klaus on-rev wrote: >>> Hi Mr. Tight-lipped, >> Do you really want me to return to my previous blabber-mouthed incarnation? > Oh, NOOOOO! :-D > > But a complete sentence wouldn't have hurt! ;-) > Some sentences can, when one pauses to reflect on, meditate on, and inwardly digest them, drag on in a way, which with their multiple subordinate, embedded clauses, caveats (and, come to think of things, extra twiddly bits in parentheses (often multiply parenthesised (to a seemingly absurd degree))), serve only to irritate, annoy and otherwise provoke the reader, recipient, interlocutor or other interpreter to shout an extremely non-sentential "F*ck", owing to their final, and ultimately slow, almost stupid, realisation, that sentences are not always so cut-and-dried as to sport only a single, easily identifiable, subject, a verb (possibly phrasal or involving, especially in English, the use of an auxiliary such as "have" or "do", or a modal such as "should", "might", "may", "can/could", "ought to", or "have to") and a simplistic, one-word object (as opposed to a complex noun phrase, possiby also involving multiple embedded clauses); or, to put it another way, or, possibly more idiomatically, "to cut a long story short" (or, when one reflects upon ths sentence, more appositely, "to cut a short story long"); some sentences are, unequivocally, "a pain in the nether regions" (and those for the metaphorically challenged mean the buttocks, bottom, dowp, bottom, arse) that can drive a good man (and, one should add in these egalitarian days that the word 'man' here is used in an all-inclusive fashion embracing women, transgendered people and eunuchs as well as men Ding-an-Sich) to thoughts of despair or even suicide. Some sentences can hurt a lot . . . :) Love, kisses and funny moises, Richmond. From anthonyhowe at me.com Sat Dec 4 14:56:50 2010 From: anthonyhowe at me.com (Anthony Howe) Date: Sun, 05 Dec 2010 06:56:50 +1100 Subject: PDF ? In-Reply-To: References: <4CFA8597.8040009@gmail.com> Message-ID: A related query...can we write to or edit an existing PDF file? Looking to automate a task like this in LC if poss? Don't spose there's a demo stack around? (I know, I know ....should make my own!) 10 points for grammatical verbiosity and rambunctious postulating in this thread so far! On 05/12/2010, at 5:23 AM, Klaus on-rev wrote: > Hi Mr. Tight-lipped, > > Am 04.12.2010 um 19:16 schrieb Richmond: > >> Erm? > > Yes? > >> Importing PDF files? > > OS X = player object > Else = inside of browser object(s), most users have Acrobat Reader installed > >> Maybe expecting a bit much? > > As always :-D > > > Best > > Klaus > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Sat Dec 4 15:24:02 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 4 Dec 2010 21:24:02 +0100 Subject: PDF ? In-Reply-To: <4CFA97E0.405@gmail.com> References: <4CFA8597.8040009@gmail.com> <4CFA8878.6030900@gmail.com> <2DCB4677-1732-4837-8ADF-D2F0C019E910@major.on-rev.com> <4CFA97E0.405@gmail.com> Message-ID: Hi Richmond, > On 12/04/2010 08:36 PM, Klaus on-rev wrote: >> Hi Richmond, >> >>> On 12/04/2010 08:23 PM, Klaus on-rev wrote: >>>> Hi Mr. Tight-lipped, >>> Do you really want me to return to my previous blabber-mouthed incarnation? >> Oh, NOOOOO! :-D >> >> But a complete sentence wouldn't have hurt! ;-) >> > Some sentences can, when one pauses to reflect on, meditate on, and inwardly digest them, > drag on in a way, which with their multiple subordinate, embedded clauses, caveats (and, come to > think of things, extra twiddly bits in parentheses (often multiply parenthesised (to a seemingly absurd > degree))), serve only to irritate, annoy and otherwise provoke the reader, recipient, interlocutor or > other interpreter to shout an extremely non-sentential "F*ck", owing to their final, and ultimately > slow, almost stupid, realisation, that sentences are not always so cut-and-dried as to sport only > a single, easily identifiable, subject, a verb (possibly phrasal or involving, especially in English, > the use of an auxiliary such as "have" or "do", or a modal such as "should", "might", "may", "can/could", > "ought to", or "have to") and a simplistic, one-word object (as opposed to a complex noun phrase, > possiby also involving multiple embedded clauses); or, to put it another way, or, possibly more > idiomatically, "to cut a long story short" (or, when one reflects upon ths sentence, more appositely, > "to cut a short story long"); some sentences are, unequivocally, "a pain in the nether regions" (and > those for the metaphorically challenged mean the buttocks, bottom, dowp, bottom, arse) that can > drive a good man (and, one should add in these egalitarian days that the word 'man' here is > used in an all-inclusive fashion embracing women, transgendered people and eunuchs as well > as men Ding-an-Sich) to thoughts of despair or even suicide. > > Some sentences can hurt a lot . . . :) > > Love, kisses and funny moises, Richmond. Geeeeez! These are the kind of postings that I never read, too much info noone asked for and, at least me, noone is interested in. You know this is a Livecode mailing list and not "Philosophy today", do you? :-D -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From richmondmathewson at gmail.com Sat Dec 4 15:53:05 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 04 Dec 2010 22:53:05 +0200 Subject: PDF ? In-Reply-To: References: <4CFA8597.8040009@gmail.com> <4CFA8878.6030900@gmail.com> <2DCB4677-1732-4837-8ADF-D2F0C019E910@major.on-rev.com> <4CFA97E0.405@gmail.com> Message-ID: <4CFAAA31.3000509@gmail.com> On 12/04/2010 10:24 PM, Klaus on-rev wrote: > Hi Richmond, > >> On 12/04/2010 08:36 PM, Klaus on-rev wrote: >>> Hi Richmond, >>> >>>> On 12/04/2010 08:23 PM, Klaus on-rev wrote: >>>>> Hi Mr. Tight-lipped, >>>> Do you really want me to return to my previous blabber-mouthed incarnation? >>> Oh, NOOOOO! :-D >>> >>> But a complete sentence wouldn't have hurt! ;-) >>> >> Some sentences can, when one pauses to reflect on, meditate on, and inwardly digest them, >> drag on in a way, which with their multiple subordinate, embedded clauses, caveats (and, come to >> think of things, extra twiddly bits in parentheses (often multiply parenthesised (to a seemingly absurd >> degree))), serve only to irritate, annoy and otherwise provoke the reader, recipient, interlocutor or >> other interpreter to shout an extremely non-sentential "F*ck", owing to their final, and ultimately >> slow, almost stupid, realisation, that sentences are not always so cut-and-dried as to sport only >> a single, easily identifiable, subject, a verb (possibly phrasal or involving, especially in English, >> the use of an auxiliary such as "have" or "do", or a modal such as "should", "might", "may", "can/could", >> "ought to", or "have to") and a simplistic, one-word object (as opposed to a complex noun phrase, >> possiby also involving multiple embedded clauses); or, to put it another way, or, possibly more >> idiomatically, "to cut a long story short" (or, when one reflects upon ths sentence, more appositely, >> "to cut a short story long"); some sentences are, unequivocally, "a pain in the nether regions" (and >> those for the metaphorically challenged mean the buttocks, bottom, dowp, bottom, arse) that can >> drive a good man (and, one should add in these egalitarian days that the word 'man' here is >> used in an all-inclusive fashion embracing women, transgendered people and eunuchs as well >> as men Ding-an-Sich) to thoughts of despair or even suicide. >> >> Some sentences can hurt a lot . . . :) >> >> Love, kisses and funny moises, Richmond. > Geeeeez! > > These are the kind of postings that I never read, too much info noone asked for and, at least me, > noone is interested in. > > You know this is a Livecode mailing list and not "Philosophy today", do you? > :-D > Really? Back to verbless sentences! From capellan2000 at gmail.com Sat Dec 4 15:59:47 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 4 Dec 2010 12:59:47 -0800 (PST) Subject: PDF ? In-Reply-To: References: <4CFA8597.8040009@gmail.com> Message-ID: <1291496387120-3072759.post@n4.nabble.com> Hi Anthony, This stack contains code to export vector graphics only to pdf: http://andregarzia.on-rev.com/alejandro/stacks/export_vector_graphics_v04.zip Your best solution is to use Jan Schenkel's library to export pdf from this platform: Quartam PDF Library http://users.telenet.be/quartam/pdf4rev/index.html Anthony Howe wrote: > > A related query...can we write to or edit an existing PDF file? > Looking to automate a task like this in LC if poss? > Don't spose there's a demo stack around? (I know, I know ....should make > my own!) > 10 points for grammatical verbiosity and rambunctious postulating in this > thread so far! > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/PDF-tp3072633p3072759.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Sat Dec 4 17:24:05 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 04 Dec 2010 14:24:05 -0800 Subject: Unicode file names Message-ID: <4CFABF85.8010900@fourthworld.com> Seems LC chokes on file paths containing Unicode. Is there a workaround for this? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From m.schonewille at economy-x-talk.com Sat Dec 4 17:37:34 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 4 Dec 2010 23:37:34 +0100 Subject: Unicode file names In-Reply-To: <4CFABF85.8010900@fourthworld.com> References: <4CFABF85.8010900@fourthworld.com> Message-ID: <4CEE9FC5-784C-4FE5-AA38-998319C95272@economy-x-talk.com> Hi Richard, There is no workaround. This simply doesn't work. Let's hope that the unicode overhaul in 4.5 changes this. However, you can use AppleScript or VBScript and create a complete parallel file handling system. E.g. use AppleScript to read data from a file and then pass on the data to LiveCode. I started this, but never got to finish it. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 How to receive a free Color Converter license http://qurl.tk/kv (read the conditions) On 4 dec 2010, at 23:24, Richard Gaskin wrote: > Seems LC chokes on file paths containing Unicode. > > Is there a workaround for this? > From jacque at hyperactivesw.com Sat Dec 4 17:42:59 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 04 Dec 2010 16:42:59 -0600 Subject: Unicode file names In-Reply-To: <4CFABF85.8010900@fourthworld.com> References: <4CFABF85.8010900@fourthworld.com> Message-ID: <4CFAC3F3.2010000@hyperactivesw.com> On 12/4/10 4:24 PM, Richard Gaskin wrote: > Seems LC chokes on file paths containing Unicode. > > Is there a workaround for this? Not that I know of. There are a few QCC reports about it, and it will be fixed, but I don't see any workarounds. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sat Dec 4 18:32:26 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 4 Dec 2010 15:32:26 -0800 Subject: PDF ? In-Reply-To: References: <4CFA8597.8040009@gmail.com> <4CFA8878.6030900@gmail.com> <2DCB4677-1732-4837-8ADF-D2F0C019E910@major.on-rev.com> <4CFA97E0.405@gmail.com> Message-ID: <251368243000.20101204153226@ahsoftware.net> Klaus- Saturday, December 4, 2010, 12:24:02 PM, you wrote: > Geeeeez! ...of course, you could just skip to the synopsis at the end... >> Some sentences can hurt a lot . . . :) -- -Mark Wieder mwieder at ahsoftware.net From niggemann at uni-wh.de Sat Dec 4 18:49:50 2010 From: niggemann at uni-wh.de (BNig) Date: Sat, 4 Dec 2010 15:49:50 -0800 (PST) Subject: [ANN] buttons for iPhone new Version Message-ID: <1291506590756-3072892.post@n4.nabble.com> Dear List, as seen on Livecode.tv :), new buttons for the iPhone. Thanks David, Bj?rnke and Mark for the show. here are the links to the current version of the buttons for the iPhone stack. Please watch out for linebreaks enjoy the revlet (you can actually select a button or an image with the select button and copy from the revlet to your stack) http://berndniggemann.on-rev.com/iphonebtnsrevlet/ Download the zipped stack http://www.berndniggemann.on-rev.com/btnsiphone/ButtonsiPhone_0.1.9.livecode.zip paste into your message box: go stack url "http://www.berndniggemann.on-rev.com/btnsiphone/ButtonsiPhone_0.1.9.livecode" thanks to all that helped with their comments. regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-buttons-for-iPhone-new-Version-tp3072892p3072892.html Sent from the Revolution - User mailing list archive at Nabble.com. From irog at mac.com Sat Dec 4 19:03:44 2010 From: irog at mac.com (Roger Guay) Date: Sat, 04 Dec 2010 16:03:44 -0800 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: References: Message-ID: <37DB3C2D-B60E-41E8-85E0-9E42046A8C4F@mac.com> Bob Earp wrote: > Hey Roger, > Wasn't this the Trace tool in SC ? You were always impressed with > that ;-) > > Seeing it was in SC, I would have thought somebody that still has SC > and is a lot brighter than the two of us put together, could "extract" > and clone the appropriate script. > > BTW, what's all of this "Howdy" ? Methinks you've been spending too > much time in Montana !! > > best, Bob... You're right of course. You saw right through my transparent attempt to get one of the many geniuses on this list to build this tool in LiveCode. After all, LiveCode is ten times the tool that SuperCard ever was/is, even w/o the multi-platform feature. Heck, I could do it myself if I could figure out how to get the color of a pixel by location programmatically. And, thanks to Richard Gaskin who, in the next post, summarized the history of SuperCard, much of which I had forgotten. He's right of course, the Trace tool was a SuperEdit tool. There are no verbal salutations in Montana since one doesn't encounter another person often enough to warrant one. A tip of your cowboy hat is all that's needed. Tip of the Hat, Roger Guay From mwieder at ahsoftware.net Sat Dec 4 20:32:19 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 4 Dec 2010 17:32:19 -0800 Subject: ANN: glx2 is now open source Message-ID: <411375436109.20101204173219@ahsoftware.net> Jerry Daniels has graciously offered to release glx2 as an open-source project. This is the main repository for the code. Glx2 is a script editor for LiveCode/Runtime Revolution. We have removed any licensing restrictions on the script editor, so all the code is open and hackable. There's no installer at the moment - unzip the file and put it in your user plugins folder. We now have it working on OSX, Windows, linux; and in the LiveCode, Runtime Revolution, and MetaCard environments. Note that if you are using this with Runtime Revolution you will need at least version 2.8. https://bitbucket.org/mwieder/glx2/downloads Follow the project if you want to be notified when the stack is updated. There are still rough edges, but hopefully this process will allow the community to smooth those out. I'm posting this as a single stack rather than as separate stack files for now, so unfortunately that makes me the manager of any changes. If you have modifications to make, bugs to fix, or are proposing to work on parts of this project, please let me know and I'll do my best to coordinate things. Thanks to Jerry for starting the script editor project in the first place and for liberating the project to seek its new life among the developer community. Optimist - The glass is half full. Pessimist - The glass is half empty. Engineer - The glass is twice a large as it needs to be. -- -Mark Wieder mwieder at ahsoftware.net From sundown at pacifier.com Sat Dec 4 20:54:27 2010 From: sundown at pacifier.com (-=>JB<=-) Date: Sat, 4 Dec 2010 17:54:27 -0800 Subject: ANN: glx2 is now open source In-Reply-To: <411375436109.20101204173219@ahsoftware.net> References: <411375436109.20101204173219@ahsoftware.net> Message-ID: That is very nice of Jerry to release it as open source. Since glx2 became tRev does this include tRev too or is tRev still being developed? -= Jerry Daniels has graciously offered to release glx2 as an open-source > project. This is the main repository for the code. Glx2 is a script > editor for LiveCode/Runtime Revolution. We have removed any licensing > restrictions on the script editor, so all the code is open and > hackable. There's no installer at the moment - unzip the file and put > it in your user plugins folder. > > We now have it working on OSX, Windows, linux; and in the LiveCode, > Runtime Revolution, and MetaCard environments. Note that if you are > using this with Runtime Revolution you will need at least version 2.8. > > https://bitbucket.org/mwieder/glx2/downloads > > Follow the project if you want to be notified when the stack is > updated. There are still rough edges, but hopefully this process will > allow the community to smooth those out. I'm posting this as a single > stack rather than as separate stack files for now, so unfortunately > that makes me the manager of any changes. If you have modifications to > make, bugs to fix, or are proposing to work on parts of this project, > please let me know and I'll do my best to coordinate things. > > Thanks to Jerry for starting the script editor project in the first > place and for liberating the project to seek its new life among the > developer community. > > Optimist - The glass is half full. > Pessimist - The glass is half empty. > Engineer - The glass is twice a large as it needs to be. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sat Dec 4 21:08:15 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 04 Dec 2010 20:08:15 -0600 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: <37DB3C2D-B60E-41E8-85E0-9E42046A8C4F@mac.com> References: <37DB3C2D-B60E-41E8-85E0-9E42046A8C4F@mac.com> Message-ID: <4CFAF40F.3080602@hyperactivesw.com> On 12/4/10 6:03 PM, Roger Guay wrote: > Heck, I could do it > myself if I could figure out how to get the color of a pixel by > location programmatically. There's a really ugly hack for that. It's fast though. put the screenMouseLoc into oldX,oldY set the screenMouseLoc to x,y get the mouseColor set the screenMouseLoc to oldX,oldY -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sat Dec 4 21:14:22 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 4 Dec 2010 18:14:22 -0800 Subject: ANN: glx2 is now open source In-Reply-To: References: <411375436109.20101204173219@ahsoftware.net> Message-ID: <1991377959062.20101204181422@ahsoftware.net> -=>JB<=-- Saturday, December 4, 2010, 5:54:27 PM, you wrote: > That is very nice of Jerry to release it as open source. > Since glx2 became tRev does this include tRev too > or is tRev still being developed? No, tRev is a different product. Releasing glx2 as an open source project allows Jerry to keep developing tRev for OSX and still provides us with an alternative script editor for linux and Windows (and OSX and MetaCard, for that matter). -- -Mark Wieder mwieder at ahsoftware.net From sundown at pacifier.com Sat Dec 4 21:22:33 2010 From: sundown at pacifier.com (-=>JB<=-) Date: Sat, 4 Dec 2010 18:22:33 -0800 Subject: ANN: glx2 is now open source In-Reply-To: <1991377959062.20101204181422@ahsoftware.net> References: <411375436109.20101204173219@ahsoftware.net> <1991377959062.20101204181422@ahsoftware.net> Message-ID: <6A95CB79-BF70-40B1-8180-1C416E9251CB@pacifier.com> Thanks for the info. Good to know he is still developing tRev. -=>JB<=- On Dec 4, 2010, at 6:14 PM, Mark Wieder wrote: > -=>JB<=-- > > Saturday, December 4, 2010, 5:54:27 PM, you wrote: > >> That is very nice of Jerry to release it as open source. >> Since glx2 became tRev does this include tRev too >> or is tRev still being developed? > > No, tRev is a different product. Releasing glx2 as an open source > project allows Jerry to keep developing tRev for OSX and still > provides us with an alternative script editor for linux and Windows > (and OSX and MetaCard, for that matter). > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bryan at deepfoo.com Sat Dec 4 22:38:11 2010 From: bryan at deepfoo.com (Bryan McCormick) Date: Sat, 04 Dec 2010 22:38:11 -0500 Subject: Finding local minima and maxima of a graph In-Reply-To: <1482379322-1291490438-cardhu_decombobulator_blackberry.rim.net-1007473734-@bda046.bisx.prod.on.blackberry> References: <1482379322-1291490438-cardhu_decombobulator_blackberry.rim.net-1007473734-@bda046.bisx.prod.on.blackberry> Message-ID: <4CFB0923.4070508@deepfoo.com> Peter, Jonathan I had thought to use a sin function on the time series to find peak and trough values. I would filter the sin function results for those close to 1 or -1, though I am not sure what the filter interval will be just yet. Then, I would be able to grab the value from the actual time series from the date array walking the sin function results would produce. Does this seem like a valid means to do this? In terms of programming it would be a breeze, but is it a valid method? From jhj at jhj.com Sat Dec 4 23:07:42 2010 From: jhj at jhj.com (Jerry J) Date: Sat, 4 Dec 2010 20:07:42 -0800 Subject: Finding local minima and maxima of a graph In-Reply-To: <4CFB0923.4070508@deepfoo.com> References: <1482379322-1291490438-cardhu_decombobulator_blackberry.rim.net-1007473734-@bda046.bisx.prod.on.blackberry> <4CFB0923.4070508@deepfoo.com> Message-ID: On Dec 4, 2010, at 7:38 PM, Bryan McCormick wrote: > Peter, Jonathan > > I had thought to use a sin function on the time series to find peak and trough values. I would filter the sin function results for those close to 1 or -1, though I am not sure what the filter interval will be just yet. > > Then, I would be able to grab the value from the actual time series from the date array walking the sin function results would produce. > > Does this seem like a valid means to do this? In terms of programming it would be a breeze, but is it a valid method? Maybe I don't understand the problem completely. If local minima and maxima are the only criteria, could you just look at differences between pairs of points and watch for the difference to change sign? Thats the slope as close to the data as you can get. As example: point 3 minus point 4 is poisitive point 4 minus point 5 is poisitive point 5 minus point 6 is NEGATIVE -- aha point 5 was a local minimum. etc. and vice versa. If that makes too many hits, the raw data could be smoothed by various methods, some quite simple. --Jerry Jensen From bryan at deepfoo.com Sat Dec 4 23:32:52 2010 From: bryan at deepfoo.com (Bryan McCormick) Date: Sat, 04 Dec 2010 23:32:52 -0500 Subject: Finding local minima and maxima of a graph In-Reply-To: <4CFB0923.4070508@deepfoo.com> References: <1482379322-1291490438-cardhu_decombobulator_blackberry.rim.net-1007473734-@bda046.bisx.prod.on.blackberry> <4CFB0923.4070508@deepfoo.com> Message-ID: <4CFB15F4.1080004@deepfoo.com> Jerry, Yes, that would be far too many hits and there has to be some scaling applied as a filter for that reason. The criteria more precisely is "significant" peak and trough values. With significant being the trick. For example, is the peak or trough 3 percent or more away. There is a seasonal and/or trend component to the data. So I think step one has to be detrending the series first. If you happen to have a good notion of how to write a least-squares fit that would be a great. I'll then be able to isolate the peaks and troughs by differencing from that line. From jonathandlynch at gmail.com Sun Dec 5 00:19:35 2010 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Sun, 5 Dec 2010 00:19:35 -0500 Subject: Finding local minima and maxima of a graph In-Reply-To: <4CFB15F4.1080004@deepfoo.com> References: <1482379322-1291490438-cardhu_decombobulator_blackberry.rim.net-1007473734-@bda046.bisx.prod.on.blackberry> <4CFB0923.4070508@deepfoo.com> <4CFB15F4.1080004@deepfoo.com> Message-ID: Hi Bryan, The first step is to define a local minimum or maximum for this situation. Plotting a 3-day rolling average would be pretty straight forward. Is three days sufficient? You could get a 5-day rolling average, then pick five day averages that are are greater than, or less than, their neighboring 5-day averages. You would not do this by comparing successive discreet 5-day periods, though. Instead, each 5-day period needs to overlap its neighbors by 4 days - does that make sense? Also, consider this. You could just look for peaks and valleys that are greater or less than all neighbors within 5 days, or within 10 days. Only the standout data points would show up in that circumstance. I would be wary of trying to approximate your data set with a simple formula, like a sine wave. If you can come up with a good fit, then maybe - but don't settle for a rough fit. On Sat, Dec 4, 2010 at 11:32 PM, Bryan McCormick wrote: > Jerry, > > Yes, that would be far too many hits and there has to be some scaling > applied as a filter for that reason. The criteria more precisely is > "significant" peak and trough values. With significant being the trick. For > example, is the peak or trough 3 percent or more away. > > There is a seasonal and/or trend component to the data. So I think step one > has to be detrending the series first. If you happen to have a good notion > of how to write a least-squares fit that would be a great. I'll then be able > to isolate the peaks and troughs by differencing from that line. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Do all things with love From bryan at deepfoo.com Sun Dec 5 00:33:02 2010 From: bryan at deepfoo.com (Bryan McCormick) Date: Sun, 05 Dec 2010 00:33:02 -0500 Subject: Finding local minima and maxima of a graph In-Reply-To: <4CFB15F4.1080004@deepfoo.com> References: <1482379322-1291490438-cardhu_decombobulator_blackberry.rim.net-1007473734-@bda046.bisx.prod.on.blackberry> <4CFB0923.4070508@deepfoo.com> <4CFB15F4.1080004@deepfoo.com> Message-ID: <4CFB240E.5050405@deepfoo.com> Jonathan, Sure, that approach can work. But it isn't terribly efficient. It would however be less computationally intensive if I detrend first. That's the first step. So if you have a notion on a least squares linear fit line, that would be most welcome. From jhj at jhj.com Sun Dec 5 00:45:00 2010 From: jhj at jhj.com (Jerry J) Date: Sat, 4 Dec 2010 21:45:00 -0800 Subject: Finding local minima and maxima of a graph In-Reply-To: References: <1482379322-1291490438-cardhu_decombobulator_blackberry.rim.net-1007473734-@bda046.bisx.prod.on.blackberry> <4CFB0923.4070508@deepfoo.com> <4CFB15F4.1080004@deepfoo.com> Message-ID: <3CDFB0D4-69BE-4AC1-ADC2-CE27D3BFE35C@jhj.com> Yes, what Jonathan wrote. The folks who do heavy computing in the audio world do something called windowing. Thats like a rolling average, except weighted toward the "center". Choosing the width of the window and the algorithm for determining its shape can get complicated, and has been greatly studied. You probably don't need such detail - in audio they are often doing FFT stuff to the frequency domain and back so the shape is critical and complicated. Possibly you could simplify the concept using a triangular approach which would involve a whole lot less computation. The math is not impenetrable, but can get slow in LC. --Jerry J On Dec 4, 2010, at 9:19 PM, Jonathan Lynch wrote: > Hi Bryan, > > The first step is to define a local minimum or maximum for this situation. > > Plotting a 3-day rolling average would be pretty straight forward. Is three > days sufficient? > > You could get a 5-day rolling average, then pick five day averages that are > are greater than, or less than, their neighboring 5-day averages. You would > not do this by comparing successive discreet 5-day periods, though. Instead, > each 5-day period needs to overlap its neighbors by 4 days - does that make > sense? > > Also, consider this. You could just look for peaks and valleys that are > greater or less than all neighbors within 5 days, or within 10 days. Only > the standout data points would show up in that circumstance. > > I would be wary of trying to approximate your data set with a simple > formula, like a sine wave. If you can come up with a good fit, then maybe - > but don't settle for a rough fit. > > > On Sat, Dec 4, 2010 at 11:32 PM, Bryan McCormick wrote: > >> Jerry, >> >> Yes, that would be far too many hits and there has to be some scaling >> applied as a filter for that reason. The criteria more precisely is >> "significant" peak and trough values. With significant being the trick. For >> example, is the peak or trough 3 percent or more away. >> >> There is a seasonal and/or trend component to the data. So I think step one >> has to be detrending the series first. If you happen to have a good notion >> of how to write a least-squares fit that would be a great. I'll then be able >> to isolate the peaks and troughs by differencing from that line. From jonathandlynch at gmail.com Sun Dec 5 00:55:52 2010 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Sun, 5 Dec 2010 05:55:52 +0000 Subject: Finding local minima and maxima of a graph Message-ID: <1181112595-1291528357-cardhu_decombobulator_blackberry.rim.net-1717934765-@bda046.bisx.prod.on.blackberry> How many data points are you talking about? Also, are you using this for forecasting, such that you would need to do a regression analysis? If you are wanting to make predictions, that changes a lot. As for detrending - that seems unnecessary if you are looking for fairly local mins and maxes. I think you might find the rolling average approach reasonably fast. I can help with the algorithm, if you need. ------Original Message------ From: Bryan McCormick Sender: use-livecode-bounces at lists.runrev.com To: use-livecode at lists.runrev.com ReplyTo: How to use LiveCode Subject: Re: Finding local minima and maxima of a graph Sent: Dec 5, 2010 12:33 AM Jonathan, Sure, that approach can work. But it isn't terribly efficient. It would however be less computationally intensive if I detrend first. That's the first step. So if you have a notion on a least squares linear fit line, that would be most welcome. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode Sent from my Verizon Wireless BlackBerry From jonathandlynch at gmail.com Sun Dec 5 01:04:51 2010 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Sun, 5 Dec 2010 06:04:51 +0000 Subject: Finding local minima and maxima of a graph In-Reply-To: <3CDFB0D4-69BE-4AC1-ADC2-CE27D3BFE35C@jhj.com> References: <1482379322-1291490438-cardhu_decombobulator_blackberry.rim.net-1007473734-@bda046.bisx.prod.on.blackberry><4CFB0923.4070508@deepfoo.com> <4CFB15F4.1080004@deepfoo.com><3CDFB0D4-69BE-4AC1-ADC2-CE27D3BFE35C@jhj.com> Message-ID: <2129981885-1291528896-cardhu_decombobulator_blackberry.rim.net-79892414-@bda046.bisx.prod.on.blackberry> I bet audio requires orders of magnitude more data points. Sent from my Verizon Wireless BlackBerry -----Original Message----- From: Jerry J Sender: use-livecode-bounces at lists.runrev.com Date: Sat, 4 Dec 2010 21:45:00 To: How to use LiveCode Reply-To: How to use LiveCode Subject: Re: Finding local minima and maxima of a graph Yes, what Jonathan wrote. The folks who do heavy computing in the audio world do something called windowing. Thats like a rolling average, except weighted toward the "center". Choosing the width of the window and the algorithm for determining its shape can get complicated, and has been greatly studied. You probably don't need such detail - in audio they are often doing FFT stuff to the frequency domain and back so the shape is critical and complicated. Possibly you could simplify the concept using a triangular approach which would involve a whole lot less computation. The math is not impenetrable, but can get slow in LC. --Jerry J On Dec 4, 2010, at 9:19 PM, Jonathan Lynch wrote: > Hi Bryan, > > The first step is to define a local minimum or maximum for this situation. > > Plotting a 3-day rolling average would be pretty straight forward. Is three > days sufficient? > > You could get a 5-day rolling average, then pick five day averages that are > are greater than, or less than, their neighboring 5-day averages. You would > not do this by comparing successive discreet 5-day periods, though. Instead, > each 5-day period needs to overlap its neighbors by 4 days - does that make > sense? > > Also, consider this. You could just look for peaks and valleys that are > greater or less than all neighbors within 5 days, or within 10 days. Only > the standout data points would show up in that circumstance. > > I would be wary of trying to approximate your data set with a simple > formula, like a sine wave. If you can come up with a good fit, then maybe - > but don't settle for a rough fit. > > > On Sat, Dec 4, 2010 at 11:32 PM, Bryan McCormick wrote: > >> Jerry, >> >> Yes, that would be far too many hits and there has to be some scaling >> applied as a filter for that reason. The criteria more precisely is >> "significant" peak and trough values. With significant being the trick. For >> example, is the peak or trough 3 percent or more away. >> >> There is a seasonal and/or trend component to the data. So I think step one >> has to be detrending the series first. If you happen to have a good notion >> of how to write a least-squares fit that would be a great. I'll then be able >> to isolate the peaks and troughs by differencing from that line. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Sun Dec 5 01:46:30 2010 From: irog at mac.com (Roger Guay) Date: Sat, 04 Dec 2010 22:46:30 -0800 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: References: Message-ID: <927F8065-396F-4E3F-B9A5-40AE483A49CE@mac.com> Thank you, Jacqueline. Somehow I missed the screenMouseLoc as being settable. Although it is an ugly hack, it will be fun to play with. Cheers, Roger Guay On Dec 4, 2010, at 9:45 PM, use-livecode-request at lists.runrev.com wrote: > Message: 25 > Date: Sat, 04 Dec 2010 20:08:15 -0600 > From: "J. Landman Gay" > To: How to use LiveCode > Subject: Re: How to make a square topped, round rect bottomed graphic? > Message-ID: <4CFAF40F.3080602 at hyperactivesw.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 12/4/10 6:03 PM, Roger Guay wrote: >> Heck, I could do it >> myself if I could figure out how to get the color of a pixel by >> location programmatically. > > There's a really ugly hack for that. It's fast though. > > put the screenMouseLoc into oldX,oldY > set the screenMouseLoc to x,y > get the mouseColor > set the screenMouseLoc to oldX,oldY > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > From jhurley0305 at sbcglobal.net Sun Dec 5 02:01:28 2010 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Sat, 4 Dec 2010 23:01:28 -0800 Subject: Finding local minima and maxima of a graph In-Reply-To: References: Message-ID: > > Message: 26 > Date: Sat, 04 Dec 2010 12:56:05 -0500 > From: Bryan McCormick > To: use-livecode at lists.runrev.com > Subject: Finding local minima and maxima of a graph > Message-ID: <4CFA80B5.3090804 at deepfoo.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > I have a very large number of graphs to crunch through to find local > minima and maxima. The data is regularly spaced, which eliminated one > problem. I know too that the window value used has to be an adjustable > variable as peak and trough significance may need to be found for a > wide > range of time periods within the data set. > > I had thought of using a moving average to find a slope of zero and > then > use an offset function to find the peak and trough in time. > > I've used stackoverflow to have a look and apparently the problem is a > lot less trivial than I thought. > > Any suggestions for fitting to a function, using the graphing > functions > in rev, etc would be most welcome. > > > Bryan, If the data is "well behaved" you might try just finding out where the derivative (slope) changes sign. For example: function MinMax tList put line 1 of tList into yOld put 0 into dyOld repeat for each line yNew in tList put yNew - yOld into dy put dy * dyOld into tChange if tChange < 0 or tChange = 0 then put yNew & cr after tExreema end if put ynew into yOld put dy into dyOld end repeat return tExreema end MinMax From bryan at deepfoo.com Sun Dec 5 02:12:29 2010 From: bryan at deepfoo.com (Bryan McCormick) Date: Sun, 05 Dec 2010 02:12:29 -0500 Subject: Finding local minima and maxima of a graph In-Reply-To: <4CFB240E.5050405@deepfoo.com> References: <1482379322-1291490438-cardhu_decombobulator_blackberry.rim.net-1007473734-@bda046.bisx.prod.on.blackberry> <4CFB0923.4070508@deepfoo.com> <4CFB15F4.1080004@deepfoo.com> <4CFB240E.5050405@deepfoo.com> Message-ID: <4CFB3B5D.3080009@deepfoo.com> Jonathan, Jerry, et al As to the number of potential observations. Thousands of series, 10s to hundreds of thousands of observations per series at a minimum. Possibly millions. So computational efficiency isn't a luxury, it is a requirement. Yes, absolutely, detrending is required. I won't go into the details, but suffice to say every model I've seen so far advises this as a step to make sure one has significant observations. It will make real peaks and troughs much more apparent. In stats packages, or even Excel, any of the above is trivial. Unfortunately in LiveCode there isn't (apparently) much of a base of functions to start with. No, no forecasting. This is merely one step of gathering of data for additional observation. Sure, a rolling window makes sense if you have to step through in a semi-brute force manner. If it comes down to it, I'll do it that way. It would seem to me there just has to be an easier way to do it. On 12/5/2010 12:33 AM, Bryan McCormick wrote: > Jonathan, > > Sure, that approach can work. But it isn't terribly efficient. It would > however be less computationally intensive if I detrend first. That's the > first step. So if you have a notion on a least squares linear fit line, > that would be most welcome. From richmondmathewson at gmail.com Sun Dec 5 03:32:45 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 05 Dec 2010 10:32:45 +0200 Subject: PDF ? In-Reply-To: <1291496387120-3072759.post@n4.nabble.com> References: <4CFA8597.8040009@gmail.com> <1291496387120-3072759.post@n4.nabble.com> Message-ID: <4CFB4E2D.90404@gmail.com> It is really quite simple to export to PDF . . . . . . However, that was not my original question . . . Is it possible to import PDF documents into Livecode? and, to eleborate: import PDFs as images? Seeing that GIMP, Photoshop and Apple's Preview can open PDFs and export them in image format I wondered whether this was not a comparatively simple operation. On 12/04/2010 10:59 PM, Alejandro Tejada wrote: > This stack contains code to export vector graphics only to pdf: > http://andregarzia.on-rev.com/alejandro/stacks/export_vector_graphics_v04.zip > > Your best solution is to use Jan Schenkel's library to export pdf from > this platform: Quartam PDF Library > http://users.telenet.be/quartam/pdf4rev/index.html From richmondmathewson at gmail.com Sun Dec 5 03:33:26 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 05 Dec 2010 10:33:26 +0200 Subject: Unicode file names In-Reply-To: <4CFABF85.8010900@fourthworld.com> References: <4CFABF85.8010900@fourthworld.com> Message-ID: <4CFB4E56.5010902@gmail.com> On 12/05/2010 12:24 AM, Richard Gaskin wrote: > Seems LC chokes on file paths containing Unicode. > > Is there a workaround for this? > Could you lob us an example? From anthonyhowe at me.com Sun Dec 5 03:41:01 2010 From: anthonyhowe at me.com (Anthony Howe) Date: Sun, 05 Dec 2010 19:41:01 +1100 Subject: PDF ? In-Reply-To: <4CFB4E2D.90404@gmail.com> References: <4CFA8597.8040009@gmail.com> <1291496387120-3072759.post@n4.nabble.com> <4CFB4E2D.90404@gmail.com> Message-ID: My question was also not really around whether PDF export is possible, but rather if it was possible to open an existing PDF file (which was created in LC, or not) and add new data (like a personalized footer or header from LC app data for example), then, reexport it...as a PDF, ready for distribution. The answer to this one so far seems to be no.....but I'm hoping for an angle....:) Hope that clarifies things, and perhaps I should have started a separate thread on this question, as I accept it does stray somewhat from the original post. *gulp* Cheers, A. On 05/12/2010, at 7:32 PM, Richmond wrote: > It is really quite simple to export to PDF . . . > > . . . However, that was not my original question . . . > > Is it possible to import PDF documents into Livecode? > > and, to eleborate: import PDFs as images? > > Seeing that GIMP, Photoshop and Apple's Preview can open PDFs and > export them in image format I wondered whether this was not a comparatively > simple operation. > > On 12/04/2010 10:59 PM, Alejandro Tejada wrote: > > >> This stack contains code to export vector graphics only to pdf: >> http://andregarzia.on-rev.com/alejandro/stacks/export_vector_graphics_v04.zip >> >> Your best solution is to use Jan Schenkel's library to export pdf from >> this platform: Quartam PDF Library >> http://users.telenet.be/quartam/pdf4rev/index.html > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Dec 5 04:01:38 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 05 Dec 2010 11:01:38 +0200 Subject: ANN: glx2 is now open source In-Reply-To: <411375436109.20101204173219@ahsoftware.net> References: <411375436109.20101204173219@ahsoftware.net> Message-ID: <4CFB54F2.2020501@gmail.com> On 12/05/2010 03:32 AM, Mark Wieder wrote: > Jerry Daniels has graciously offered to release glx2 as an open-source > project. This is the main repository for the code. Glx2 is a script > editor for LiveCode/Runtime Revolution. We have removed any licensing > restrictions on the script editor, so all the code is open and > hackable. There's no installer at the moment - unzip the file and put > it in your user plugins folder. > > We now have it working on OSX, Windows, linux; and in the LiveCode, > Runtime Revolution, and MetaCard environments. Note that if you are > using this with Runtime Revolution you will need at least version 2.8. > > https://bitbucket.org/mwieder/glx2/downloads > > Follow the project if you want to be notified when the stack is > updated. There are still rough edges, but hopefully this process will > allow the community to smooth those out. I'm posting this as a single > stack rather than as separate stack files for now, so unfortunately > that makes me the manager of any changes. If you have modifications to > make, bugs to fix, or are proposing to work on parts of this project, > please let me know and I'll do my best to coordinate things. > > Thanks to Jerry for starting the script editor project in the first > place and for liberating the project to seek its new life among the > developer community. > > Optimist - The glass is half full. > Pessimist - The glass is half empty. > Engineer - The glass is twice a large as it needs to be. > Jolly nice . . . :) I certainly will have a look at it, and, time permitting, see if I can "twiddle" it a bit and post my "twiddle" back somewhere [ where ? ]. Might it not be a good idea to set up folders somewhere public with names such as Andre's Twiddle Mark's Twiddle Richmond's Twiddle and so forth? From richmondmathewson at gmail.com Sun Dec 5 04:05:35 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 05 Dec 2010 11:05:35 +0200 Subject: PDF ? In-Reply-To: References: <4CFA8597.8040009@gmail.com> <1291496387120-3072759.post@n4.nabble.com> <4CFB4E2D.90404@gmail.com> Message-ID: <4CFB55DF.8010903@gmail.com> On 12/05/2010 10:41 AM, Anthony Howe wrote: > My question was also not really around whether PDF export is possible, but rather if it was possible to open an existing PDF file (which was created in LC, or not) and add new data (like a personalized footer or header from LC app data for example), then, reexport it...as a PDF, ready for distribution. As Livecode can export PDF documents without any real problems; were it capable of importing them (as TEXT), mucking around with a PDF and re-exporting it would be dead easy. SO . . . there are 2 questions that DO need to be asked: 1. Import PDF as an image? 2. Import PDF as text? > The answer to this one so far seems to be no.....but I'm hoping for an angle....:) > From effendi at wanadoo.fr Sun Dec 5 05:49:42 2010 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sun, 5 Dec 2010 11:49:42 +0100 Subject: Ucranian spam & other posts Message-ID: Salut Ren?, Je suis desol?. Mark Schonewille m'indiqu? que le probl?me vient de mon c?t? ... ..... and I don't know why :>) Dur- Dur, encore un probl?me ? resoudre aujourd'hui ! Mille excuses ! Amicalement Francis From klaus at major.on-rev.com Sun Dec 5 07:07:17 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sun, 5 Dec 2010 13:07:17 +0100 Subject: PDF ? In-Reply-To: References: <4CFA8597.8040009@gmail.com> Message-ID: <838120CB-50EF-4978-B9BB-58856385BED8@major.on-rev.com> Hi Anthony, > A related query...can we write to or edit an existing PDF file? In theory we can, since PDF consists of (mostly) text. But you will have to learn the PDF specs first to be able to do so ;-) This is doable, since Jan Schenkel obviously did and he created a nice PDF lib, see here: But this is not what you are looking for. > 10 points for grammatical verbiosity and rambunctious postulating in this thread so far! :-D Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From klaus at major.on-rev.com Sun Dec 5 07:11:12 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sun, 5 Dec 2010 13:11:12 +0100 Subject: PDF ? In-Reply-To: <4CFB55DF.8010903@gmail.com> References: <4CFA8597.8040009@gmail.com> <1291496387120-3072759.post@n4.nabble.com> <4CFB4E2D.90404@gmail.com> <4CFB55DF.8010903@gmail.com> Message-ID: Hi Richmond, > On 12/05/2010 10:41 AM, Anthony Howe wrote: >> My question was also not really around whether PDF export is possible, but rather if it was possible to open an existing PDF file (which was created in LC, or not) and add new data (like a personalized footer or header from LC app data for example), then, reexport it...as a PDF, ready for distribution. > As Livecode can export PDF documents without any real problems; were it capable of importing > them (as TEXT), mucking around with a PDF and re-exporting it would be dead easy. > SO . . . there are 2 questions that DO need to be asked: > 1. Import PDF as an image? Not right away, but e.g. on OSX you could use the command line tool "SIPS" to convert a PDF to JPG or PNG first. No idea about Windows/Linux. > 2. Import PDF as text? No. Best Klaus P.S. Sorry for my last posting, it mioght have sounded a bit more rude that I actually intended. -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From richmondmathewson at gmail.com Sun Dec 5 07:49:28 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 05 Dec 2010 14:49:28 +0200 Subject: PDF ? In-Reply-To: References: <4CFA8597.8040009@gmail.com> <1291496387120-3072759.post@n4.nabble.com> <4CFB4E2D.90404@gmail.com> <4CFB55DF.8010903@gmail.com> Message-ID: <4CFB8A58.5070903@gmail.com> On 12/05/2010 02:11 PM, Klaus on-rev wrote: > Hi Richmond, > >> On 12/05/2010 10:41 AM, Anthony Howe wrote: >>> My question was also not really around whether PDF export is possible, but rather if it was possible to open an existing PDF file (which was created in LC, or not) and add new data (like a personalized footer or header from LC app data for example), then, reexport it...as a PDF, ready for distribution. >> As Livecode can export PDF documents without any real problems; were it capable of importing >> them (as TEXT), mucking around with a PDF and re-exporting it would be dead easy. >> SO . . . there are 2 questions that DO need to be asked: >> 1. Import PDF as an image? > Not right away, but e.g. on OSX you could use the command line tool "SIPS" to convert > a PDF to JPG or PNG first. No idea about Windows/Linux. > >> 2. Import PDF as text? > No. > > > Best > > Klaus > > P.S. > Sorry for my last posting, it mioght have sounded a bit more rude that I actually intended. > It 'mioght' have sounded a bit rude; however I have developed a fairly thick hide over the years and I couldn't resist your comment about grammatical sentences with my "master blaster" horrible sentence; intended as a joke, and nothing else . . . :) I also believe, Klaus (and the other "real" men on this use-list - who manage that, whether male or female without the assistance of silly Ukrainians peddling rubbish) and I have, many years ago, got 'beyond rude' and reached a happy equanimity. --------------------------------------------------------------------------------------------- However, notwithstanding funny or 'rude' remarks . . . I believe that Livecode would greatly benefit from the ability to import PDF documents as images and as text (cross-platform). --------------------------------------------------------------------------------------------- Love, kisses, and as tomorrow is St Nicholas's day I will NOT make a fishy comment, Richmond. From jonathandlynch at gmail.com Sun Dec 5 07:58:41 2010 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Sun, 5 Dec 2010 12:58:41 +0000 Subject: Finding local minima and maxima of a graph In-Reply-To: <4CFB3B5D.3080009@deepfoo.com> References: <1482379322-1291490438-cardhu_decombobulator_blackberry.rim.net-1007473734-@bda046.bisx.prod.on.blackberry><4CFB0923.4070508@deepfoo.com> <4CFB15F4.1080004@deepfoo.com><4CFB240E.5050405@deepfoo.com><4CFB3B5D.3080009@deepfoo.com> Message-ID: <413368535-1291553726-cardhu_decombobulator_blackberry.rim.net-539035368-@bda046.bisx.prod.on.blackberry> I think you could speed it up with some matrix manipulations - when I get to my computer I will explain further. Sent from my Verizon Wireless BlackBerry -----Original Message----- From: Bryan McCormick Sender: use-livecode-bounces at lists.runrev.com Date: Sun, 05 Dec 2010 02:12:29 To: Reply-To: How to use LiveCode Subject: Re: Finding local minima and maxima of a graph Jonathan, Jerry, et al As to the number of potential observations. Thousands of series, 10s to hundreds of thousands of observations per series at a minimum. Possibly millions. So computational efficiency isn't a luxury, it is a requirement. Yes, absolutely, detrending is required. I won't go into the details, but suffice to say every model I've seen so far advises this as a step to make sure one has significant observations. It will make real peaks and troughs much more apparent. In stats packages, or even Excel, any of the above is trivial. Unfortunately in LiveCode there isn't (apparently) much of a base of functions to start with. No, no forecasting. This is merely one step of gathering of data for additional observation. Sure, a rolling window makes sense if you have to step through in a semi-brute force manner. If it comes down to it, I'll do it that way. It would seem to me there just has to be an easier way to do it. On 12/5/2010 12:33 AM, Bryan McCormick wrote: > Jonathan, > > Sure, that approach can work. But it isn't terribly efficient. It would > however be less computationally intensive if I detrend first. That's the > first step. So if you have a notion on a least squares linear fit line, > that would be most welcome. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Sun Dec 5 07:58:54 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sun, 5 Dec 2010 13:58:54 +0100 Subject: PDF ? In-Reply-To: <4CFB8A58.5070903@gmail.com> References: <4CFA8597.8040009@gmail.com> <1291496387120-3072759.post@n4.nabble.com> <4CFB4E2D.90404@gmail.com> <4CFB55DF.8010903@gmail.com> <4CFB8A58.5070903@gmail.com> Message-ID: Hi Richmond: > On 12/05/2010 02:11 PM, Klaus on-rev wrote: >> Hi Richmond, >> ... >> P.S. >> Sorry for my last posting, it mioght have sounded a bit more rude that I actually intended. > It 'mioght' have sounded a bit rude; however I have developed a fairly thick hide over the > years and I couldn't resist your comment about grammatical sentences with my > "master blaster" horrible sentence; intended as a joke, and nothing else . . . :) I know that, caro mio. > I also believe, Klaus (and the other "real" men on this use-list - who manage that, whether > male or female without the assistance of silly Ukrainians peddling rubbish) thank you VERY much! > and I have, many years ago, got 'beyond rude' and reached a happy equanimity. You bet, old sports! :-) > --------------------------------------------------------------------------------------------- > However, notwithstanding funny or 'rude' remarks . . . I believe that Livecode would > greatly benefit from the ability to import PDF documents as images and as text (cross-platform). > --------------------------------------------------------------------------------------------- Sure, and from an up-to-date multimedia playback engine, too! But we might see at least an (more or less) up-to-date text field object next year (fingers crossed)! > Love, kisses, and as tomorrow is St Nicholas's day I will NOT make a fishy comment, Thanks, much appreciated ;-) > Richmond. Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From rene.micout at numericable.com Sun Dec 5 08:19:39 2010 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sun, 5 Dec 2010 14:19:39 +0100 Subject: Ucranian spam & other posts In-Reply-To: References: Message-ID: <607AAE24-4777-41A0-9320-20F06A34B79A@numericable.com> Cher Francis, No problem (pas de probl?me) ! :-) PS : j'adore les accents ! Mais je ne veux surtout pas les imposer aux autres [aucun accent dans ces phrases, c'est pourtant du fran?ais... Dommage qu'il y ait une c?dille !] Cordialement et bonjour ? la Bretagne (la terre de mes anc?tres) RenE Sorry for english speaker - no traduction for "anglophone" :-( - Le 5 d?c. 2010 ? 11:49, Francis Nugent Dixon a ?crit : > Salut Ren?, > > Je suis desol?. Mark Schonewille m'indiqu? > que le probl?me vient de mon c?t? ... > > ..... and I don't know why :>) > > Dur- Dur, encore un probl?me ? resoudre > aujourd'hui ! > > Mille excuses ! > > Amicalement > > Francis > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Sun Dec 5 08:28:12 2010 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Sun, 5 Dec 2010 08:28:12 -0500 Subject: Finding local minima and maxima of a graph In-Reply-To: <413368535-1291553726-cardhu_decombobulator_blackberry.rim.net-539035368-@bda046.bisx.prod.on.blackberry> References: <1482379322-1291490438-cardhu_decombobulator_blackberry.rim.net-1007473734-@bda046.bisx.prod.on.blackberry> <4CFB0923.4070508@deepfoo.com> <4CFB15F4.1080004@deepfoo.com> <4CFB240E.5050405@deepfoo.com> <4CFB3B5D.3080009@deepfoo.com> <413368535-1291553726-cardhu_decombobulator_blackberry.rim.net-539035368-@bda046.bisx.prod.on.blackberry> Message-ID: Hi again, Here is the basic algorithm for what I am talking about: 1) Start with a 1 dimensional array, containing all of your numbers 1.1) add four elements, each containing zero, to it. 2) Copy that array, but move the trailing zero to the front 3) Copy the second array, but move the trailing zero to the the front again 4) copy the third array, but move the trailing zero to the front again You wind up with 5 arrays, each with its number offset by one space from the previous array. It is important to keep the number of array elements the same. so, the following number list: 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 would become: 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,0,0,0 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,0,0 0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,0 0,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0 0,0,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 Your next step is to add Matrix 1 to Matrix 3, then add matrix 2 to matrix 3, then add matrix 4 to matrix 3, then add matrix 5 to matrix3, then divide matrix 3 by 5. You are using matrix 3 as your primary matrix, so that your associated dates (or whatever is on your X axis), maintain an averaged view from the middle - meaning an average of the preceding and advancing two days? Does that make sense? Anyway, this will give you a faster way of obtaining the rolling average, because it performs the actual number crunching under the hood, not through the transcript interpreter. Please note that your first four and last four data points, in the final matrix your produce, will be meaningless, because they will contain those 0s that you had to use to keep your number of array elements the same for all the arrays. The actual functions you would use, if LC, are add and divide. "Add matrix1 to matrix3" adds all the corresponding data points together in one shot. "Divide matrix3 by 5" divides all data points in matrix3 by 5. Does all of that help? On Sun, Dec 5, 2010 at 7:58 AM, wrote: > I think you could speed it up with some matrix manipulations - when I get > to my computer I will explain further. > > > Sent from my Verizon Wireless BlackBerry > > -----Original Message----- > From: Bryan McCormick > Sender: use-livecode-bounces at lists.runrev.com > Date: Sun, 05 Dec 2010 02:12:29 > To: > Reply-To: How to use LiveCode > Subject: Re: Finding local minima and maxima of a graph > > Jonathan, Jerry, et al > > As to the number of potential observations. Thousands of series, 10s to > hundreds of thousands of observations per series at a minimum. Possibly > millions. So computational efficiency isn't a luxury, it is a requirement. > > Yes, absolutely, detrending is required. I won't go into the details, > but suffice to say every model I've seen so far advises this as a step > to make sure one has significant observations. It will make real peaks > and troughs much more apparent. > > In stats packages, or even Excel, any of the above is trivial. > Unfortunately in LiveCode there isn't (apparently) much of a base of > functions to start with. > > No, no forecasting. This is merely one step of gathering of data for > additional observation. > > Sure, a rolling window makes sense if you have to step through in a > semi-brute force manner. If it comes down to it, I'll do it that way. It > would seem to me there just has to be an easier way to do it. > > > On 12/5/2010 12:33 AM, Bryan McCormick wrote: > > Jonathan, > > > > Sure, that approach can work. But it isn't terribly efficient. It would > > however be less computationally intensive if I detrend first. That's the > > first step. So if you have a notion on a least squares linear fit line, > > that would be most welcome. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Do all things with love From richmondmathewson at gmail.com Sun Dec 5 08:39:28 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 05 Dec 2010 15:39:28 +0200 Subject: Ucranian spam & other posts In-Reply-To: <607AAE24-4777-41A0-9320-20F06A34B79A@numericable.com> References: <607AAE24-4777-41A0-9320-20F06A34B79A@numericable.com> Message-ID: <4CFB9610.9060906@gmail.com> On 12/05/2010 03:19 PM, Ren? Micout wrote: > Cher Francis, > No problem (pas de probl?me) ! > :-) > PS : j'adore les accents ! Mais, oui; J'ai un accent, en francais, nord-africain, apres six mois de travail avec les police secret en Egypt. Je suis manifique; un ecossais avec le cheveux rouge et in accent nord-africain. Too bad we cannot write with an accent on this use-list . . . :) > Mais je ne veux surtout pas les imposer aux autres [aucun accent dans ces phrases, c'est pourtant du fran?ais... Dommage qu'il y ait une c?dille !] > Cordialement et bonjour ? la Bretagne (la terre de mes anc?tres) > RenE Ou est la terre des vos anc?tres? la petite Bretagne ou la grande Bretagne ? Je suis un anglophone, mais je ne suis pas un anglophil, et anglais est ma deuxieme lange, apres L'ecossais. Et, aussi, Je ne comprends pas un seul mot de francais (ou et la c?dille???). > Sorry for english speaker - no traduction for "anglophone" :-( - Bien sur! Mais en anglais, les anglophones ecrivant 'English' avec un 'e' enorme . . . :) Ae, well, that's the end o ma French vocables, an am girnan awa in ma Scots as the sudron has depairtit as well. Richmond. From mkoob at rogers.com Sun Dec 5 08:51:55 2010 From: mkoob at rogers.com (Martin Koob) Date: Sun, 5 Dec 2010 05:51:55 -0800 (PST) Subject: [Bulk] Re: LiveCode and facebook In-Reply-To: <2623305A-7977-444A-A209-09D1EC066E82@economy-x-talk.com> References: <1291041824113-3063680.post@n4.nabble.com> <1291049853005-3063930.post@n4.nabble.com> <0C487C16-3299-4DED-A842-9179057A9173@etcpp.de> <7CEBB2B7-9A46-4A5B-8386-3EED001B8639@economy-x-talk.com> <36BACA27-4293-4974-8C7E-8E67628C186B@etcpp.de> <2623305A-7977-444A-A209-09D1EC066E82@economy-x-talk.com> Message-ID: Hi Mark I just read the OAuth introduction on the wiki and am interested in the idea of permitting controlled access to resources, ie. videos. I have experimented with Mark Smith's S3 library 'libS3.rev' and his libAWS.rev to do the same sort of thing. At the time I was trying to see if the libraries could run on on-rev as part of an on-rev site. At the time I could not get it to work, not having enough experience in rev to find what was not working when I tried to run the libraries on the rev server. I have tried to send some questions to Mark at the email that is included with his stack but it bounced back. Does anyone know if he is still actively supporting the libraries? Would OAuth be able to provide an interface with Amazon S3? I am interested in learning more about this an will send you an email via the site to participate. Martin Koob On 3-Dec-10, at 7:29 AM, Mark Schonewille-3 [via Runtime Revolution] wrote: > Hi harald, > > Yes! There are quite a few active members now but they haven't > started working on it yet. There are also many dormant members, who > don't intend to contribute, apparently, but are interested in OAuth > for LiveCode and there are even more people who just visit the wiki > regularly to monitor activity without having registered. > > Oh, and for everyone else who wonders what this conversation is about: > http://devwiki.runrev.info > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > How to receive a free Color Converter license http://qurl.tk/kv > (read the conditions) > > On 3 dec 2010, at 13:22, Harald M?ller wrote: > > > Hi Mark, > > I now and will do. But is there anyone but us two? > > > > Best regards, > > Harald M?ller. > > > > > _______________________________________________ > use-livecode mailing list > [hidden email] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > View message @ http://runtime-revolution.278305.n4.nabble.com/file- > uploads-and-progress-monitoring-on-on-rev-reposted- > tp3063680p3070988.html > To unsubscribe from file uploads and progress monitoring on on-rev > (reposted ), click here. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/file-uploads-and-progress-monitoring-on-on-rev-reposted-tp3063680p3073260.html Sent from the Revolution - User mailing list archive at Nabble.com. From jonathandlynch at gmail.com Sun Dec 5 09:10:33 2010 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Sun, 5 Dec 2010 09:10:33 -0500 Subject: Finding local minima and maxima of a graph In-Reply-To: References: <1482379322-1291490438-cardhu_decombobulator_blackberry.rim.net-1007473734-@bda046.bisx.prod.on.blackberry> <4CFB0923.4070508@deepfoo.com> <4CFB15F4.1080004@deepfoo.com> <4CFB240E.5050405@deepfoo.com> <4CFB3B5D.3080009@deepfoo.com> <413368535-1291553726-cardhu_decombobulator_blackberry.rim.net-539035368-@bda046.bisx.prod.on.blackberry> Message-ID: Also, make sure your array elements for matrix3 are in perfect sync with your X axis on your original data. Matrix1 and Maatrix2 will be shifted to the left, and matrix4 and matrix5 will be shifted to the right. It is important to make sure you are properly nailing down an averaged view from the center of each set of five data points. J On Sun, Dec 5, 2010 at 8:28 AM, Jonathan Lynch wrote: > Hi again, > > Here is the basic algorithm for what I am talking about: > > 1) Start with a 1 dimensional array, containing all of your numbers > 1.1) add four elements, each containing zero, to it. > > 2) Copy that array, but move the trailing zero to the front > > 3) Copy the second array, but move the trailing zero to the the front again > > 4) copy the third array, but move the trailing zero to the front again > > > You wind up with 5 arrays, each with its number offset by one space from > the previous array. It is important to keep the number of array elements the > same. > > so, the following number list: > > 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 > > would become: > > 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,0,0,0 > 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,0,0 > 0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,0 > 0,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0 > 0,0,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 > > > Your next step is to add Matrix 1 to Matrix 3, then add matrix 2 to matrix > 3, then add matrix 4 to matrix 3, then add matrix 5 to matrix3, then divide > matrix 3 by 5. > > You are using matrix 3 as your primary matrix, so that your associated > dates (or whatever is on your X axis), maintain an averaged view from the > middle - meaning an average of the preceding and advancing two days? Does > that make sense? > > Anyway, this will give you a faster way of obtaining the rolling average, > because it performs the actual number crunching under the hood, not through > the transcript interpreter. > > Please note that your first four and last four data points, in the final > matrix your produce, will be meaningless, because they will contain those 0s > that you had to use to keep your number of array elements the same for all > the arrays. > > The actual functions you would use, if LC, are add and divide. "Add matrix1 > to matrix3" adds all the corresponding data points together in one shot. > "Divide matrix3 by 5" divides all data points in matrix3 by 5. > > Does all of that help? > > > > > On Sun, Dec 5, 2010 at 7:58 AM, wrote: > >> I think you could speed it up with some matrix manipulations - when I get >> to my computer I will explain further. >> >> >> Sent from my Verizon Wireless BlackBerry >> >> -----Original Message----- >> From: Bryan McCormick >> Sender: use-livecode-bounces at lists.runrev.com >> Date: Sun, 05 Dec 2010 02:12:29 >> To: >> Reply-To: How to use LiveCode >> Subject: Re: Finding local minima and maxima of a graph >> >> Jonathan, Jerry, et al >> >> As to the number of potential observations. Thousands of series, 10s to >> hundreds of thousands of observations per series at a minimum. Possibly >> millions. So computational efficiency isn't a luxury, it is a requirement. >> >> Yes, absolutely, detrending is required. I won't go into the details, >> but suffice to say every model I've seen so far advises this as a step >> to make sure one has significant observations. It will make real peaks >> and troughs much more apparent. >> >> In stats packages, or even Excel, any of the above is trivial. >> Unfortunately in LiveCode there isn't (apparently) much of a base of >> functions to start with. >> >> No, no forecasting. This is merely one step of gathering of data for >> additional observation. >> >> Sure, a rolling window makes sense if you have to step through in a >> semi-brute force manner. If it comes down to it, I'll do it that way. It >> would seem to me there just has to be an easier way to do it. >> >> >> On 12/5/2010 12:33 AM, Bryan McCormick wrote: >> > Jonathan, >> > >> > Sure, that approach can work. But it isn't terribly efficient. It would >> > however be less computationally intensive if I detrend first. That's the >> > first step. So if you have a notion on a least squares linear fit line, >> > that would be most welcome. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > Do all things with love > -- Do all things with love From rene.micout at numericable.com Sun Dec 5 10:30:17 2010 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sun, 5 Dec 2010 16:30:17 +0100 Subject: [OT] Ucranian spam & other posts In-Reply-To: <4CFB9610.9060906@gmail.com> References: <607AAE24-4777-41A0-9320-20F06A34B79A@numericable.com> <4CFB9610.9060906@gmail.com> Message-ID: <86714986-6AE6-4A7F-9D03-6B8945115E60@numericable.com> Le 5 d?c. 2010 ? 14:39, Richmond a ?crit : > > Ou est la terre des vos anc?tres? la petite Bretagne ou la grande Bretagne ? la (petite) Bretagne > les monts d'Arr?e > http://fr.wikipedia.org/wiki/Monts_d%27Arr?e > > Je suis un anglophone, mais je ne suis pas un anglophil, et anglais est ma deuxieme lange, > apres L'ecossais. Et, aussi, Je ne comprends pas un seul mot de francais (ou et la c?dille???). The "c?dille" is the small tail below the "c" of "fran?ais" because without it the word "fran?ais" (pronounce franSSais) becomes "franKais". > > Ae, well, that's the end o ma French vocables, an am girnan awa in ma Scots as the sudron > has depairtit as well. > Few years ago, on a train from Fort-William I was explaining to persons of Glasgow that I went to Edinburgh ( "?dainboor" with my French pronunciation) they struggled to understand that I spoke of "Edbrough"... Bons souvenirs de Paris Rene(?) From bill at bluewatermaritime.com Sun Dec 5 10:58:18 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Sun, 5 Dec 2010 11:58:18 -0400 Subject: Setting which stack window is in front and which is next Message-ID: If you have four stack windows open on Mac OS X and three of them are substacks if you select one of the substacks it will jump to the front of the other substacks but and you select another it will be in front of that one but the second one will still be in front of the third. You notice this more if you have a main stack with as substack attached to the side with an "on move" command. How can you as part of the "on move" command and without selecting the substack tell it to be #2 in the order and thus in front of the other substacks even if one was recently chosen. This is especially a problem as windows of other recently activated programs will also appear in front. I realize that I could solve this by making the substack a drawer of the mainstack but I ran into other problems with how the scripts and buttons operate differently on a drawer then when it is a substack. From bonnmike at gmail.com Sun Dec 5 11:41:24 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 5 Dec 2010 09:41:24 -0700 Subject: Setting which stack window is in front and which is next In-Reply-To: References: Message-ID: To avoid the problem of other windows layering between the windows of your stack, you can set the raisewindows to true. The other half of the question, dunno except after your move, go to the stack you want to be number 2, then go back to the stack you want to be number 1. Or set window 2 to pallette so that its always on top no matter which of your app windows are active at the time. On Sun, Dec 5, 2010 at 8:58 AM, william humphrey wrote: > If you have four stack windows open on Mac OS X and three of them are > substacks if you select one of the substacks it will jump to the front of > the other substacks but and you select another it will be in front of that > one but the second one will still be in front of the third. You notice this > more if you have a main stack with as substack attached to the side with an > "on move" command. How can you as part of the "on move" command and without > selecting the substack tell it to be #2 in the order and thus in front of > the other substacks even if one was recently chosen. This is especially a > problem as windows of other recently activated programs will also appear in > front. I realize that I could solve this by making the substack a drawer of > the mainstack but I ran into other problems with how the scripts and > buttons > operate differently on a drawer then when it is a substack. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jhurley0305 at sbcglobal.net Sun Dec 5 11:40:35 2010 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Sun, 5 Dec 2010 08:40:35 -0800 Subject: Finding local minima and maxima of a graph In-Reply-To: References: Message-ID: <3475D909-2C22-44FB-8AA0-3451879B28DA@sbcglobal.net> Brian, > Jonathan, Jerry, et al > As to the number of potential observations. Thousands of series, > 10s to hundreds of thousands of observations per series at a > minimum. Possibly millions. So computational efficiency isn't a > luxury, it is a requirement. > Brian The following method is fairly efficient. The process, on my slow Mac Mini, take 2 seconds to process one million data points. on mouseUp put .1 into tAngle --Create one million data points repeat 1000000 times put sin(tAngle*pi/180) & cr after tempList add 5 to tAngle end repeat --Now find the minima and maxima put the sec into tStartTime put MinMax(tempList) into field 1 put the sec - tStartTime into msg box beep end mouseUp function MinMax tList put line 1 of tList into yOld put 0 into dyOld repeat for each line yNew in tList put yNew - yOld into dy put dy * dyOld into tChange if tChange < 0 or tChange = 0 then put yNew & cr after tExreema end if put ynew into yOld put dy into dyOld end repeat return tExreema end MinMax From richmondmathewson at gmail.com Sun Dec 5 12:13:48 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 05 Dec 2010 19:13:48 +0200 Subject: A wee gifty . . . Message-ID: <4CFBC84C.7000400@gmail.com> http://andregarzia.on-rev.com/richmond/Importer.rev.zip side effect of my work on Devawriter not rocket science; but maybe useful for someone. pay special attention to: set vScroll, hScroll Love, Richmond. From effendi at wanadoo.fr Sun Dec 5 12:45:25 2010 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sun, 5 Dec 2010 18:45:25 +0100 Subject: Ucranian spam & other posts Message-ID: <709BF47B-8017-4EF4-B533-89ED88AD9764@wanadoo.fr> Hi from Beautiful Brittany, Richmond, I think we all win. I am Irish and live in Brittany Ren? is from Brittany and lives in Paris (where I lived for 40 years), you are Scottish and live in ........ Bulgaria ????? We are all expats of some sort ... :>) Does Bulgaria have Celtic origins ? Do you have to import your whiskey ? Do you wear your "tartan breeks" in the Bulgarian winter ? Best Regards from the lovely port of La Trinit? (The snow has melted, and the sun is shining) .......... et bonjour ? tous les Celts ! -Francis From richmondmathewson at gmail.com Sun Dec 5 14:33:58 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 05 Dec 2010 21:33:58 +0200 Subject: Ucranian spam & other posts In-Reply-To: <709BF47B-8017-4EF4-B533-89ED88AD9764@wanadoo.fr> References: <709BF47B-8017-4EF4-B533-89ED88AD9764@wanadoo.fr> Message-ID: <4CFBE926.8030702@gmail.com> On 12/05/2010 07:45 PM, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > Richmond, > > I think we all win. I am Irish and live in Brittany > Ren? is from Brittany and lives in Paris (where I > lived for 40 years), you are Scottish and live in > > ........ Bulgaria ????? > > We are all expats of some sort ... :>) > > Does Bulgaria have Celtic origins ? Well . . . the ancient Thracians had red hair, as do I. However, let's remember that the word 'Celtic' is a load of romantic tosh cooked up by the same sort of people who allotted specific tartans to specific families and rebranded a Scotland raped by the Hanoverians and the continuing English Yoke as something cutesy to stick on shortbread boxes. > > Do you have to import your whiskey ? Not with that spelling . . . :) I hardly drink alcohol at all, and when needs be I find the local red wine suffices very well indeed. > > Do you wear your "tartan breeks" in the Bulgarian > winter ? heaven forfend; trews occasionally, breeks never; and my plaid as often as is practicable. > > Best Regards from the lovely port of La Trinit? > (The snow has melted, and the sun is shining) > > .......... et bonjour ? tous les Celts ! > > -Francis > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dixonja at hotmail.co.uk Sun Dec 5 14:59:09 2010 From: dixonja at hotmail.co.uk (John Dixon) Date: Sun, 5 Dec 2010 19:59:09 +0000 Subject: Ucranian spam & other posts In-Reply-To: <4CFBE926.8030702@gmail.com> References: <709BF47B-8017-4EF4-B533-89ED88AD9764@wanadoo.fr>, <4CFBE926.8030702@gmail.com> Message-ID: Yes, that Italian contractor 'Hadrian' has a lot answer for... He just didn't build that wall to spec... It should have been a lot higher :-) > Date: Sun, 5 Dec 2010 21:33:58 +0200 > From: richmondmathewson at gmail.com > To: use-livecode at lists.runrev.com > Subject: Re: Ucranian spam & other posts > However, let's remember that the word 'Celtic' is a load of romantic > tosh cooked up by the same sort of people who allotted specific > tartans to specific families and rebranded a Scotland raped by the > Hanoverians > and the continuing English Yoke as something cutesy to stick on shortbread > boxes. From Mark_Smith at cpe.umanitoba.ca Sun Dec 5 16:08:15 2010 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Sun, 5 Dec 2010 13:08:15 -0800 (PST) Subject: focus question Message-ID: <1291583295442-3073660.post@n4.nabble.com> I'm still using 4.5.0 dp-3. In the dictionary under focus it says "If the object is an unlocked field, the insertion point is placed after the text in the field." My experience is it is placed at the beginning of the field. I checked the online bug list, and the bug fixes for 4.5.1 and saw no mention of it. Do others have the same problem? Is there a way to actually place the cursor at the end of a field? Thanks -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/focus-question-tp3073660p3073660.html Sent from the Revolution - User mailing list archive at Nabble.com. From niggemann at uni-wh.de Sun Dec 5 16:09:07 2010 From: niggemann at uni-wh.de (BNig) Date: Sun, 5 Dec 2010 13:09:07 -0800 (PST) Subject: A wee gifty . . . In-Reply-To: <4CFBC84C.7000400@gmail.com> References: <4CFBC84C.7000400@gmail.com> Message-ID: <1291583347300-3073662.post@n4.nabble.com> Hi Richmond, the group "GXYZ" has disapeared in the stack and that throws an error. Where should the group be? and what size and lockLoc true? regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/A-wee-gifty-tp3073430p3073662.html Sent from the Revolution - User mailing list archive at Nabble.com. From francois.chaplais at mines-paristech.fr Sun Dec 5 16:33:26 2010 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Sun, 5 Dec 2010 22:33:26 +0100 Subject: Finding local minima and maxima of a graph In-Reply-To: <3CDFB0D4-69BE-4AC1-ADC2-CE27D3BFE35C@jhj.com> References: <1482379322-1291490438-cardhu_decombobulator_blackberry.rim.net-1007473734-@bda046.bisx.prod.on.blackberry> <4CFB0923.4070508@deepfoo.com> <4CFB15F4.1080004@deepfoo.com> <3CDFB0D4-69BE-4AC1-ADC2-CE27D3BFE35C@jhj.com> Message-ID: I have had a similar request from my son who wanted to isolate "significant" peaks in data (coming from biological experiments). I gave him a helping hand in doing the preprocessing that removes the variations that are "not significant". It did, however, some time to explain this, but he got it, and finally we managed to explain it to his boss in the project. However I do not feel doing a similar thing by mail. The summary is: you do a decomposition between a component that varies rather slowly and different "details" that represent the faster variations ("faster" if you are in the time domain). To keep only the significant variations, you remove the "details" that are below a certain threshold, keep the others, and reconstruct a signal by using the "slow" component and the "significant" details. This is only preprocessing; after that, you have to detect the remaining maxima. This assumes that the maxima you are seeking are both well located in time and of large magnitude. This is an application of wavelet theory (see http://cas.ensmp.fr/~chaplais/Wavetour_presentation/Wavetour_presentation_US.html for a short tutorial). The moving average stuff is a particular case of this (it is the Haar basis). I know this will not help you immediately, but this difficult to explain very well in a single mail. Also, there are classes of processing that mostly require only integer arithmetics. This is because they are based on some interpolation on an integer grid. Since the latter is a linear problem with integer coefficient, its solution is rational with a common denominator being the determinant of the related matrix. Very best, Fran?ois Le 5 d?c. 2010 ? 06:45, Jerry J a ?crit : > Yes, what Jonathan wrote. > > The folks who do heavy computing in the audio world do something called windowing. Thats like a rolling average, except weighted toward the "center". Choosing the width of the window and the algorithm for determining its shape can get complicated, and has been greatly studied. You probably don't need such detail - in audio they are often doing FFT stuff to the frequency domain and back so the shape is critical and complicated. Possibly you could simplify the concept using a triangular approach which would involve a whole lot less computation. The math is not impenetrable, but can get slow in LC. > > --Jerry J > > On Dec 4, 2010, at 9:19 PM, Jonathan Lynch wrote: > >> Hi Bryan, >> >> The first step is to define a local minimum or maximum for this situation. >> >> Plotting a 3-day rolling average would be pretty straight forward. Is three >> days sufficient? >> >> You could get a 5-day rolling average, then pick five day averages that are >> are greater than, or less than, their neighboring 5-day averages. You would >> not do this by comparing successive discreet 5-day periods, though. Instead, >> each 5-day period needs to overlap its neighbors by 4 days - does that make >> sense? >> >> Also, consider this. You could just look for peaks and valleys that are >> greater or less than all neighbors within 5 days, or within 10 days. Only >> the standout data points would show up in that circumstance. >> >> I would be wary of trying to approximate your data set with a simple >> formula, like a sine wave. If you can come up with a good fit, then maybe - >> but don't settle for a rough fit. >> >> >> On Sat, Dec 4, 2010 at 11:32 PM, Bryan McCormick wrote: >> >>> Jerry, >>> >>> Yes, that would be far too many hits and there has to be some scaling >>> applied as a filter for that reason. The criteria more precisely is >>> "significant" peak and trough values. With significant being the trick. For >>> example, is the peak or trough 3 percent or more away. >>> >>> There is a seasonal and/or trend component to the data. So I think step one >>> has to be detrending the series first. If you happen to have a good notion >>> of how to write a least-squares fit that would be a great. I'll then be able >>> to isolate the peaks and troughs by differencing from that line. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From josh at dvcreators.net Sun Dec 5 17:26:36 2010 From: josh at dvcreators.net (Josh Mellicker) Date: Sun, 5 Dec 2010 14:26:36 -0800 Subject: focus question In-Reply-To: <1291583295442-3073660.post@n4.nabble.com> References: <1291583295442-3073660.post@n4.nabble.com> Message-ID: <8455EF33-F64F-47CE-A5D5-B98E09174CE6@dvcreators.net> Are you using "select after fld X"? On Dec 5, 2010, at 1:08 PM, Mark Smith wrote: > > I'm still using 4.5.0 dp-3. In the dictionary under focus it says "If the > object is an unlocked field, the insertion point is placed after the text in > the field." My experience is it is placed at the beginning of the field. I > checked the online bug list, and the bug fixes for 4.5.1 and saw no mention > of it. Do others have the same problem? Is there a way to actually place the > cursor at the end of a field? > > Thanks > > -- Mark > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/focus-question-tp3073660p3073660.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvg at mac.com Sun Dec 5 19:04:55 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 06 Dec 2010 01:04:55 +0100 Subject: [ANN] Live LiveCode code event nr. two starting soon In-Reply-To: References: <122B4486-2BE9-4862-823D-231509B34B5B@mac.com> Message-ID: <4FE7EADF-093D-452E-970D-AEBDE62482E1@mac.com> Oh what a show! In all the excitement, we forgot to publicate the end of show blog entry! Happily, that's an easy fix. Go to the following place to download some of the presented stacks (as mentioned during the show, David's stuff is still a bit hard to get, but he's working on it): PS for theSlug: Please send me your contact info, so I can send you the ribbon (Wishes about what to write onto ribbon also accepted). On 4 Dec 2010, at 18:58, Bj?rnke von Gierke wrote: > Hi > > This is a reminder that the show will start in about an hour. We had terrible technical issues to get multiple hosts onto the same stream, therefore we will simply do 3 different streams, one after another. > > For people wanting to watch, that means that the first half hour will be Davids stream, after that it's Mark and I'll be last. > > More info here: > http://livecode.tv/ > > make sure to join ChatRev, so you get the info about when to change to which stream. Everything is live, so short term schedule changes (aka. running late) will happen. > http://bjoernke.com?target=chatrev > > first half hour stream: > http://livecode.tv/david/ > > second half hour stream: > http://livecode.tv/mark/ > > third half hour stream: > http://livecode.tv/bvg/ > > after that: > ribbons > > have fun > Bjoernke > > On 2 Dec 2010, at 19:21, Bj?rnke von Gierke wrote: > >> Dearest scripters >> >> This Saturday the streamed insanity continues! More! Better! Ribbon! >> >> We (Yes, we're a 'we' now!) even got a new cozy place. But beware, it's not furnished yet. The hauling truck is scheduled to arrive on friday evening: >> >> www.livecode.tv >> >> Times (two hours later then last time): >> Zurich: 20:00 >> Buenos Aires: 16:00 >> New York: 14:00 >> San Francisco: 11:00 >> Sydney: 06:00 >> >> We have more topics and more presenters (note to self: fix to represent reality): >> >> - Bjoernke will steal an idea from the use list and present various entry-restricted fields. >> - David will show how to create iPhone GUIs using pre-made groups of objects. >> - Mark will create a simple socket tutorial, and present his installer plugin. >> >> Like last time, the real deal is when you join ChatRev and demand weird things from the presenters. Like for example, that we explain how to start LiveCode. >> >> Ok, now _that_ is a horrible question. See how boring we are? We desperately need your ideas! >> >> At any time (or the time mentioned above), join here: >> http://bjoernke.com?target=chatrev >> or: >> go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" >> >> Meanwhile, we've got homework for y'all. The Question is: When to do future shows, assuming we do them weekly? Please vote on your preferred show-day (Vote not applicable to next show): >> >> http://doodle.com/bgtc7ynzpwcdnw79 >> >> >> Have Fun! >> Bjoernke > > > -- > > official ChatRev page: > http://bjoernke.com?target=chatrev > > Chat with other RunRev developers: > go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Sun Dec 5 19:51:37 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 05 Dec 2010 16:51:37 -0800 Subject: Unicode file names Message-ID: <4CFC3399.4060104@fourthworld.com> Richmond wrote: On 12/05/2010 12:24 AM, Richard Gaskin wrote: >> Seems LC chokes on file paths containing Unicode. >> >> Is there a workaround for this? >> > Could you lob us an example? From the comments from the others in this thread, it would seem self-evident to anyone with a filename containing Unicode characters. Here, one example I came across was this file: /Users/rg/Area51/sample media/unicode samples/??????????????.txt ..which Rev thinks is: /Users/rg/Area51/sample media/unicode samples/??????????????.txt -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From warrenkuhl at gmail.com Sun Dec 5 20:16:15 2010 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Sun, 5 Dec 2010 19:16:15 -0600 Subject: Code To Minick Control-A, Control-C, Control-V (Select All, Copy, Paste) Message-ID: I am trying to determine how to select all text of a field and copy to clipboard when a button is pressed... Similar to: Control-A Control-C Control-V Thanks for any help! Warren From warrenkuhl at gmail.com Sun Dec 5 20:32:02 2010 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Sun, 5 Dec 2010 19:32:02 -0600 Subject: Code To Minick Control-A, Control-C, Control-V (Select All, Copy, Paste) In-Reply-To: References: Message-ID: Disregard..I found it was as simple as copy and paste commands. Sometimes a person overthinks the solution. :) Warren On Sun, Dec 5, 2010 at 7:16 PM, Warren Kuhl wrote: > I am trying to determine how to select all text of a field and copy to > clipboard when a button is pressed... > > Similar to: > Control-A > Control-C > Control-V > > Thanks for any help! > Warren > From bvlahos at mac.com Sun Dec 5 22:47:52 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 05 Dec 2010 19:47:52 -0800 Subject: Code To Minick Control-A, Control-C, Control-V (Select All, Copy, Paste) In-Reply-To: References: Message-ID: The cut, copy, and paste are straightforward and included in the examples. How do I script Select All? Bill On Dec 5, 2010, at 5:32 PM, Warren Kuhl wrote: > Disregard..I found it was as simple as copy and paste commands. Sometimes a > person overthinks the solution. :) > > Warren > > On Sun, Dec 5, 2010 at 7:16 PM, Warren Kuhl wrote: > >> I am trying to determine how to select all text of a field and copy to >> clipboard when a button is pressed... >> >> Similar to: >> Control-A >> Control-C >> Control-V >> >> Thanks for any help! >> Warren >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Sun Dec 5 23:43:04 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 5 Dec 2010 20:43:04 -0800 Subject: Code To Minick Control-A, Control-C, Control-V (Select All, Copy, Paste) In-Reply-To: References: Message-ID: I am pretty sure "Select All" has to be done by script -- select character 1 to -1 of fld x On 5 December 2010 19:47, Bill Vlahos wrote: > The cut, copy, and paste are straightforward and included in the examples. > How do I script Select All? > > Bill > > On Dec 5, 2010, at 5:32 PM, Warren Kuhl wrote: > > > Disregard..I found it was as simple as copy and paste commands. > Sometimes a > > person overthinks the solution. :) > > > > Warren > > > > On Sun, Dec 5, 2010 at 7:16 PM, Warren Kuhl > wrote: > > > >> I am trying to determine how to select all text of a field and copy to > >> clipboard when a button is pressed... > >> > >> Similar to: > >> Control-A > >> Control-C > >> Control-V > >> > >> Thanks for any help! > >> Warren > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From hershrev at syp2u4c.com Sun Dec 5 23:58:13 2010 From: hershrev at syp2u4c.com (Hershel Fisch) Date: Sun, 05 Dec 2010 23:58:13 -0500 Subject: LineSize Message-ID: Hi all, I'm wondering why when I set the lineSize of a line to1 and the height to 1 the line is not seen on the screen? Thanks, Hershel From janschenkel at yahoo.com Mon Dec 6 01:05:12 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 5 Dec 2010 22:05:12 -0800 (PST) Subject: LineSize In-Reply-To: Message-ID: <928478.35352.qm@web65408.mail.ac4.yahoo.com> --- On Sun, 12/5/10, Hershel Fisch wrote: > Hi all, I'm wondering why when I set > the lineSize of a line to1 and the > height to 1 the line is not seen on the screen? > Thanks,? Hershel > Because there has to be actual room to show the line itself. If you look at the inspector palette after selecting a simple horizontal line, you'll see the 'points' property is something like: ## 50,100 300,100 ## Now switch to the 'Size & Position' panel. You'll see that the 'rectangle' of the graphic actually fits around the line: ## 49,99,301,101 ## Thus the 'minimum' height of the graphic is (101-99) = 2. My preferred methd of updating a line graphic is setting the 'points' property, and letting the engine update the 'rectangle' acordingly. Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From scott at tactilemedia.com Mon Dec 6 01:11:23 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 05 Dec 2010 22:11:23 -0800 Subject: LineSize In-Reply-To: Message-ID: Recently, Hershel Fisch wrote: > Hi all, I'm wondering why when I set the lineSize of a line to1 and the > height to 1 the line is not seen on the screen? > Thanks, Hershel Doesn't make sense, but a line has to have a minimum height or width of 2 pixels. Perhaps at some point it was determined 2 pixels was the minimum space needed for clickable control handles, but that's just a guess. Otherwise, 1 pixel lines will always need at least one dimension to be two pixels. Regards, Scott Rossi Creative Director Tactile Media, UX Design From janschenkel at yahoo.com Mon Dec 6 01:24:44 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 5 Dec 2010 22:24:44 -0800 (PST) Subject: PDF ? In-Reply-To: Message-ID: <972782.99956.qm@web65405.mail.ac4.yahoo.com> --- On Sun, 12/5/10, Anthony Howe wrote: > My question was also not really > around whether PDF export is possible, but rather if it was > possible to open an existing PDF file (which was created in > LC, or not) and add new data (like a personalized footer or > header from LC app data for example), then, reexport it...as > a PDF, ready for distribution. > > The answer to this one so far seems to be no.....but I'm > hoping for an angle....:) > > Hope that clarifies things, and perhaps I should have > started a separate thread on this question, as I accept it > does stray somewhat from the original post. > > *gulp* > > Cheers, > A. > While I have written a library to create new PDF files from scratch, by script, I'm not sure where to begin taking apart an existing PDF file and modifying its content. The structure of a PDF file is completely unlike Word DOC or RTF files. Word processing files are structured around a flow of paragraphs, sentences and words. PDF files are a set of low-level instructions (draw a line here, draw this bit of text there, now switch to font 'Times', set the drawing color to 'red', etc.) and there is no rigid flow structure. More precisely, PDF has no concept of paragraphs - you're at the mercy of the producing application printing each bit of text in the 'right' order to ease extraction. In fact, PDF doesn't even have text styling concepts other than 'font'. You want an underline? Draw it yourself. In fact, it's so complicated that the selection of text in Adobe Reader or Apple Preview is based on OCR (optical character recognition) algorithms: we know there's a bit of text here, and that other bit of text has the same baseline, so that could actually be a single line of text in the user's mind - let's select both! So if you're looking to read an existing file, and modify the content - such as replacing placeholder text and expecting the whole flow of the text to update along with it - you have your work cut out for you. One feature I have been working on, is the ability to open an existing PDF file, and use pages from it as a background on top of which you draw additional elements. In that scenario I'm not even really tweaking the content, and this is presenting its own gotchas... Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From anthonyhowe at me.com Mon Dec 6 01:34:57 2010 From: anthonyhowe at me.com (Anthony Howe) Date: Mon, 06 Dec 2010 17:34:57 +1100 Subject: PDF ? In-Reply-To: <972782.99956.qm@web65405.mail.ac4.yahoo.com> References: <972782.99956.qm@web65405.mail.ac4.yahoo.com> Message-ID: <90DF3AE3-4A06-406E-8AAE-C1F129503850@me.com> Thanks Jan, Great to hear the detail around this one. The feature you mention that you're working on is actually all that we would require and sounds ideal! We simply want to 'stamp' an existing document with a customers unique ID and details. The area of the document to be stamped will be blank space on each page....at a defined location (footer or header area, for example) and requires no interaction with the existing content. >From there, just a re-export of the PDF would be required. What do you think? On 06/12/2010, at 5:24 PM, Jan Schenkel wrote: > --- On Sun, 12/5/10, Anthony Howe wrote: >> My question was also not really >> around whether PDF export is possible, but rather if it was >> possible to open an existing PDF file (which was created in >> LC, or not) and add new data (like a personalized footer or >> header from LC app data for example), then, reexport it...as >> a PDF, ready for distribution. >> >> The answer to this one so far seems to be no.....but I'm >> hoping for an angle....:) >> >> Hope that clarifies things, and perhaps I should have >> started a separate thread on this question, as I accept it >> does stray somewhat from the original post. >> >> *gulp* >> >> Cheers, >> A. >> > > While I have written a library to create new PDF files from scratch, by script, I'm not sure where to begin taking apart an existing PDF file and modifying its content. > The structure of a PDF file is completely unlike Word DOC or RTF files. Word processing files are structured around a flow of paragraphs, sentences and words. PDF files are a set of low-level instructions (draw a line here, draw this bit of text there, now switch to font 'Times', set the drawing color to 'red', etc.) and there is no rigid flow structure. > More precisely, PDF has no concept of paragraphs - you're at the mercy of the producing application printing each bit of text in the 'right' order to ease extraction. In fact, PDF doesn't even have text styling concepts other than 'font'. You want an underline? Draw it yourself. > In fact, it's so complicated that the selection of text in Adobe Reader or Apple Preview is based on OCR (optical character recognition) algorithms: we know there's a bit of text here, and that other bit of text has the same baseline, so that could actually be a single line of text in the user's mind - let's select both! > So if you're looking to read an existing file, and modify the content - such as replacing placeholder text and expecting the whole flow of the text to update along with it - you have your work cut out for you. > One feature I have been working on, is the ability to open an existing PDF file, and use pages from it as a background on top of which you draw additional elements. In that scenario I'm not even really tweaking the content, and this is presenting its own gotchas... > > Jan Schenkel. > ===== > Quartam Reports & PDF Library for LiveCode > www.quartam.com > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From josh at dvcreators.net Mon Dec 6 03:22:18 2010 From: josh at dvcreators.net (Josh Mellicker) Date: Mon, 6 Dec 2010 00:22:18 -0800 Subject: PDF ? In-Reply-To: <90DF3AE3-4A06-406E-8AAE-C1F129503850@me.com> References: <972782.99956.qm@web65405.mail.ac4.yahoo.com> <90DF3AE3-4A06-406E-8AAE-C1F129503850@me.com> Message-ID: <2DC7791B-9035-42FD-85C5-2BE14D0264F5@dvcreators.net> While this is not what you're looking for, perhaps it is an alternate solution? http://www.bloggingpro.com/archives/2010/11/26/wp-pdf-stamper-plugin-brand-your-ebooks-with-license-details/ Cheers, Josh Sent from my iPad On Dec 5, 2010, at 10:34 PM, Anthony Howe wrote: > Thanks Jan, > > Great to hear the detail around this one. The feature you mention that you're working on is actually all that we would require and sounds ideal! > > We simply want to 'stamp' an existing document with a customers unique ID and details. The area of the document to be stamped will be blank space on each page....at a defined location (footer or header area, for example) and requires no interaction with the existing content. > > From there, just a re-export of the PDF would be required. > > What do you think? > > > > On 06/12/2010, at 5:24 PM, Jan Schenkel wrote: > >> --- On Sun, 12/5/10, Anthony Howe wrote: >>> My question was also not really >>> around whether PDF export is possible, but rather if it was >>> possible to open an existing PDF file (which was created in >>> LC, or not) and add new data (like a personalized footer or >>> header from LC app data for example), then, reexport it...as >>> a PDF, ready for distribution. >>> >>> The answer to this one so far seems to be no.....but I'm >>> hoping for an angle....:) >>> >>> Hope that clarifies things, and perhaps I should have >>> started a separate thread on this question, as I accept it >>> does stray somewhat from the original post. >>> >>> *gulp* >>> >>> Cheers, >>> A. >>> >> >> While I have written a library to create new PDF files from scratch, by script, I'm not sure where to begin taking apart an existing PDF file and modifying its content. >> The structure of a PDF file is completely unlike Word DOC or RTF files. Word processing files are structured around a flow of paragraphs, sentences and words. PDF files are a set of low-level instructions (draw a line here, draw this bit of text there, now switch to font 'Times', set the drawing color to 'red', etc.) and there is no rigid flow structure. >> More precisely, PDF has no concept of paragraphs - you're at the mercy of the producing application printing each bit of text in the 'right' order to ease extraction. In fact, PDF doesn't even have text styling concepts other than 'font'. You want an underline? Draw it yourself. >> In fact, it's so complicated that the selection of text in Adobe Reader or Apple Preview is based on OCR (optical character recognition) algorithms: we know there's a bit of text here, and that other bit of text has the same baseline, so that could actually be a single line of text in the user's mind - let's select both! >> So if you're looking to read an existing file, and modify the content - such as replacing placeholder text and expecting the whole flow of the text to update along with it - you have your work cut out for you. >> One feature I have been working on, is the ability to open an existing PDF file, and use pages from it as a background on top of which you draw additional elements. In that scenario I'm not even really tweaking the content, and this is presenting its own gotchas... >> >> Jan Schenkel. >> ===== >> Quartam Reports & PDF Library for LiveCode >> www.quartam.com >> >> ===== >> "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Mark_Smith at cpe.umanitoba.ca Mon Dec 6 07:41:45 2010 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Mon, 6 Dec 2010 04:41:45 -0800 (PST) Subject: focus question In-Reply-To: <8455EF33-F64F-47CE-A5D5-B98E09174CE6@dvcreators.net> References: <1291583295442-3073660.post@n4.nabble.com> <8455EF33-F64F-47CE-A5D5-B98E09174CE6@dvcreators.net> Message-ID: <1291639305449-3074402.post@n4.nabble.com> Josh Mellicker wrote: > > Are you using "select after fld X"? > Hi Josh, thanks so much. No, I was using "focus on field x". The dictionary says that if the field is unlocked text then the insertion point is placed after the text in the field. I think I'll suggest that line be removed since it clearly (in a number of tests) places it at the beginning. However, your suggestion works perfectly, thanks! -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/focus-question-tp3073660p3074402.html Sent from the Revolution - User mailing list archive at Nabble.com. From jemirandav at gmail.com Mon Dec 6 08:16:42 2010 From: jemirandav at gmail.com (Javier Miranda V.) Date: Mon, 6 Dec 2010 09:16:42 -0400 Subject: How to show an image in a field? Message-ID: <29779F9D-67A7-4B3A-907E-BEE65CF20736@gmail.com> on mouseUp set the imageSource of char 1 of field "aaa" to 1009 set the imageSource of char 1 of line 3 of field "aaa" to 1008 set the imageSource of char 1 of line 5 of field "aaa" to 1011 end mouseUp Where field "aaa" is the field in whis?ch the images will be inserted 1009, 1008 and 1011 are the id of the images Saludos, Javier Miranda V. From bonnmike at gmail.com Mon Dec 6 09:23:00 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 6 Dec 2010 07:23:00 -0700 Subject: Code To Minick Control-A, Control-C, Control-V (Select All, Copy, Paste) In-Reply-To: References: Message-ID: Can't test it now, but I think "select the text of field "yourfield" will work On Sun, Dec 5, 2010 at 9:43 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > I am pretty sure "Select All" has to be done by script -- > > select character 1 to -1 of fld x > > > > On 5 December 2010 19:47, Bill Vlahos wrote: > > > The cut, copy, and paste are straightforward and included in the > examples. > > How do I script Select All? > > > > Bill > > > > On Dec 5, 2010, at 5:32 PM, Warren Kuhl wrote: > > > > > Disregard..I found it was as simple as copy and paste commands. > > Sometimes a > > > person overthinks the solution. :) > > > > > > Warren > > > > > > On Sun, Dec 5, 2010 at 7:16 PM, Warren Kuhl > > wrote: > > > > > >> I am trying to determine how to select all text of a field and copy to > > >> clipboard when a button is pressed... > > >> > > >> Similar to: > > >> Control-A > > >> Control-C > > >> Control-V > > >> > > >> Thanks for any help! > > >> Warren > > >> > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From walter.h.brown at gmail.com Mon Dec 6 09:34:59 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Mon, 6 Dec 2010 09:34:59 -0500 Subject: PDF ? In-Reply-To: <2DC7791B-9035-42FD-85C5-2BE14D0264F5@dvcreators.net> References: <972782.99956.qm@web65405.mail.ac4.yahoo.com> <90DF3AE3-4A06-406E-8AAE-C1F129503850@me.com> <2DC7791B-9035-42FD-85C5-2BE14D0264F5@dvcreators.net> Message-ID: <4cfcf4a4.857adc0a.3e96.5b31@mx.google.com> I have had some success with documents by investigating their internal structure and adding or editing an appropriate object. The issue with many is that you may also have to recalculate length, checksum, signatures, internal pointer, etc. elements in the document file as well. Some elements may also be encrypted. Also, the content of one element may be closely tied, in unexpected ways if you don't know the format details, with the content of another element (as Jan describes). One tool (I am not vouching for it, I just found it as an example) is the pdf toolkit (http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/). Just reading it's feature list is illuminating about what CAN be done with a PDF. Of interest is an ad on that page for an O'Reilly book they authored, "PDF Hacks". I don't know what overlap that may have with Jan's tools. Walt -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Josh Mellicker Sent: Monday, December 06, 2010 3:22 AM To: How to use LiveCode Subject: Re: PDF ? While this is not what you're looking for, perhaps it is an alternate solution? http://www.bloggingpro.com/archives/2010/11/26/wp-pdf-stamper-plugin-brand-y our-ebooks-with-license-details/ Cheers, Josh Sent from my iPad On Dec 5, 2010, at 10:34 PM, Anthony Howe wrote: > Thanks Jan, > > Great to hear the detail around this one. The feature you mention that you're working on is actually all that we would require and sounds ideal! > > We simply want to 'stamp' an existing document with a customers unique ID and details. The area of the document to be stamped will be blank space on each page....at a defined location (footer or header area, for example) and requires no interaction with the existing content. > > From there, just a re-export of the PDF would be required. > > What do you think? > > > > On 06/12/2010, at 5:24 PM, Jan Schenkel wrote: > >> --- On Sun, 12/5/10, Anthony Howe wrote: >>> My question was also not really >>> around whether PDF export is possible, but rather if it was possible >>> to open an existing PDF file (which was created in LC, or not) and >>> add new data (like a personalized footer or header from LC app data >>> for example), then, reexport it...as a PDF, ready for distribution. >>> >>> The answer to this one so far seems to be no.....but I'm hoping for >>> an angle....:) >>> >>> Hope that clarifies things, and perhaps I should have started a >>> separate thread on this question, as I accept it does stray somewhat >>> from the original post. >>> >>> *gulp* >>> >>> Cheers, >>> A. >>> >> >> While I have written a library to create new PDF files from scratch, by script, I'm not sure where to begin taking apart an existing PDF file and modifying its content. >> The structure of a PDF file is completely unlike Word DOC or RTF files. Word processing files are structured around a flow of paragraphs, sentences and words. PDF files are a set of low-level instructions (draw a line here, draw this bit of text there, now switch to font 'Times', set the drawing color to 'red', etc.) and there is no rigid flow structure. >> More precisely, PDF has no concept of paragraphs - you're at the mercy of the producing application printing each bit of text in the 'right' order to ease extraction. In fact, PDF doesn't even have text styling concepts other than 'font'. You want an underline? Draw it yourself. >> In fact, it's so complicated that the selection of text in Adobe Reader or Apple Preview is based on OCR (optical character recognition) algorithms: we know there's a bit of text here, and that other bit of text has the same baseline, so that could actually be a single line of text in the user's mind - let's select both! >> So if you're looking to read an existing file, and modify the content - such as replacing placeholder text and expecting the whole flow of the text to update along with it - you have your work cut out for you. >> One feature I have been working on, is the ability to open an existing PDF file, and use pages from it as a background on top of which you draw additional elements. In that scenario I'm not even really tweaking the content, and this is presenting its own gotchas... >> >> Jan Schenkel. >> ===== >> Quartam Reports & PDF Library for LiveCode www.quartam.com >> >> ===== >> "As we grow older, we grow both wiser and more foolish at the same >> time." (La Rochefoucauld) >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From walter.h.brown at gmail.com Mon Dec 6 09:40:40 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Mon, 6 Dec 2010 09:40:40 -0500 Subject: LineSize In-Reply-To: <928478.35352.qm@web65408.mail.ac4.yahoo.com> References: <928478.35352.qm@web65408.mail.ac4.yahoo.com> Message-ID: <4cfcf5fa.167adc0a.7b27.5dab@mx.google.com> Actually, that might be 3, since the points in the rect are inclusive (99 to 101 = 3)? Walt -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Jan Schenkel Sent: Monday, December 06, 2010 1:05 AM To: How to use LiveCode Subject: Re: LineSize --- On Sun, 12/5/10, Hershel Fisch wrote: > Hi all, I'm wondering why when I set > the lineSize of a line to1 and the > height to 1 the line is not seen on the screen? > Thanks,? Hershel > Because there has to be actual room to show the line itself. If you look at the inspector palette after selecting a simple horizontal line, you'll see the 'points' property is something like: ## 50,100 300,100 ## Now switch to the 'Size & Position' panel. You'll see that the 'rectangle' of the graphic actually fits around the line: ## 49,99,301,101 ## Thus the 'minimum' height of the graphic is (101-99) = 2. My preferred methd of updating a line graphic is setting the 'points' property, and letting the engine update the 'rectangle' acordingly. Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From walter.h.brown at gmail.com Mon Dec 6 09:43:34 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Mon, 6 Dec 2010 09:43:34 -0500 Subject: Code To Minick Control-A, Control-C, Control-V (Select All, Copy, Paste) In-Reply-To: References: Message-ID: <4cfcf6a7.857adc0a.515a.5a12@mx.google.com> "Select the text of fld fFieldName" seems to work. Walt -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of stephen barncard Sent: Sunday, December 05, 2010 11:43 PM To: How to use LiveCode Subject: Re: Code To Minick Control-A, Control-C, Control-V (Select All, Copy, Paste) I am pretty sure "Select All" has to be done by script -- select character 1 to -1 of fld x On 5 December 2010 19:47, Bill Vlahos wrote: > The cut, copy, and paste are straightforward and included in the examples. > How do I script Select All? > > Bill > > On Dec 5, 2010, at 5:32 PM, Warren Kuhl wrote: > > > Disregard..I found it was as simple as copy and paste commands. > Sometimes a > > person overthinks the solution. :) > > > > Warren > > > > On Sun, Dec 5, 2010 at 7:16 PM, Warren Kuhl > wrote: > > > >> I am trying to determine how to select all text of a field and copy > >> to clipboard when a button is pressed... > >> > >> Similar to: > >> Control-A > >> Control-C > >> Control-V > >> > >> Thanks for any help! > >> Warren > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From walter.h.brown at gmail.com Mon Dec 6 09:46:39 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Mon, 6 Dec 2010 09:46:39 -0500 Subject: Code To Minick Control-A, Control-C, Control-V (Select All, Copy, Paste) References: Message-ID: <4cfcf760.9c79dc0a.52d2.5c86@mx.google.com> Of interest, if "Select the text of me" is in the mouseUp handler of the field, it selects NOT all of the text, but all the lines from the mouse location down. Walt -----Original Message----- From: Walt Brown [mailto:walter.h.brown at gmail.com] Sent: Monday, December 06, 2010 9:44 AM To: 'How to use LiveCode' Subject: RE: Code To Minick Control-A, Control-C, Control-V (Select All, Copy, Paste) "Select the text of fld fFieldName" seems to work. Walt -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of stephen barncard Sent: Sunday, December 05, 2010 11:43 PM To: How to use LiveCode Subject: Re: Code To Minick Control-A, Control-C, Control-V (Select All, Copy, Paste) I am pretty sure "Select All" has to be done by script -- select character 1 to -1 of fld x On 5 December 2010 19:47, Bill Vlahos wrote: > The cut, copy, and paste are straightforward and included in the examples. > How do I script Select All? > > Bill > > On Dec 5, 2010, at 5:32 PM, Warren Kuhl wrote: > > > Disregard..I found it was as simple as copy and paste commands. > Sometimes a > > person overthinks the solution. :) > > > > Warren > > > > On Sun, Dec 5, 2010 at 7:16 PM, Warren Kuhl > wrote: > > > >> I am trying to determine how to select all text of a field and copy > >> to clipboard when a button is pressed... > >> > >> Similar to: > >> Control-A > >> Control-C > >> Control-V > >> > >> Thanks for any help! > >> Warren > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Mon Dec 6 09:51:20 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 6 Dec 2010 15:51:20 +0100 Subject: Code To Minick Control-A, Control-C, Control-V (Select All, Copy, Paste) In-Reply-To: <4cfcf760.9c79dc0a.52d2.5c86@mx.google.com> References: <4cfcf760.9c79dc0a.52d2.5c86@mx.google.com> Message-ID: Hi Walt, > Of interest, if "Select the text of me" is in the mouseUp handler of the > field, it selects NOT all of the text, but all the lines from the mouse > location down. try: ... select char 1 to -1 of me ... > Walt Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From walter.h.brown at gmail.com Mon Dec 6 10:11:13 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Mon, 6 Dec 2010 10:11:13 -0500 Subject: focus question In-Reply-To: <1291639305449-3074402.post@n4.nabble.com> References: <1291583295442-3073660.post@n4.nabble.com> <8455EF33-F64F-47CE-A5D5-B98E09174CE6@dvcreators.net> <1291639305449-3074402.post@n4.nabble.com> Message-ID: <4cfcfd23.922ddc0a.091d.607b@mx.google.com> I have had to use "Select after char -1 of fld X". I was actually using it to place the cursor at various character positions in a field in a rawKeyDown handler - I was using predictive lookup in rawKeyDown as a field validation technique, playing around after David, Mark, and BvG's EXCELLENT LiveCode V session yesterday. An example is in the last field of my attached test stack. Walt -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Smith Sent: Monday, December 06, 2010 7:42 AM To: use-revolution at lists.runrev.com Subject: Re: focus question Josh Mellicker wrote: > > Are you using "select after fld X"? > Hi Josh, thanks so much. No, I was using "focus on field x". The dictionary says that if the field is unlocked text then the insertion point is placed after the text in the field. I think I'll suggest that line be removed since it clearly (in a number of tests) places it at the beginning. However, your suggestion works perfectly, thanks! -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/focus-question-tp3073660p3074 402.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From walter.h.brown at gmail.com Mon Dec 6 10:11:13 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Mon, 6 Dec 2010 10:11:13 -0500 Subject: focus question In-Reply-To: <1291639305449-3074402.post@n4.nabble.com> References: <1291583295442-3073660.post@n4.nabble.com> <8455EF33-F64F-47CE-A5D5-B98E09174CE6@dvcreators.net> <1291639305449-3074402.post@n4.nabble.com> Message-ID: <4cfcfd23.922ddc0a.091d.607b@mx.google.com> I have had to use "Select after char -1 of fld X". I was actually using it to place the cursor at various character positions in a field in a rawKeyDown handler - I was using predictive lookup in rawKeyDown as a field validation technique, playing around after David, Mark, and BvG's EXCELLENT LiveCode V session yesterday. An example is in the last field of my attached test stack. Walt -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Smith Sent: Monday, December 06, 2010 7:42 AM To: use-revolution at lists.runrev.com Subject: Re: focus question Josh Mellicker wrote: > > Are you using "select after fld X"? > Hi Josh, thanks so much. No, I was using "focus on field x". The dictionary says that if the field is unlocked text then the insertion point is placed after the text in the field. I think I'll suggest that line be removed since it clearly (in a number of tests) places it at the beginning. However, your suggestion works perfectly, thanks! -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/focus-question-tp3073660p3074 402.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From walter.h.brown at gmail.com Mon Dec 6 10:19:02 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Mon, 6 Dec 2010 10:19:02 -0500 Subject: [OT] Ucranian spam & other posts In-Reply-To: <86714986-6AE6-4A7F-9D03-6B8945115E60@numericable.com> References: <607AAE24-4777-41A0-9320-20F06A34B79A@numericable.com> <4CFB9610.9060906@gmail.com> <86714986-6AE6-4A7F-9D03-6B8945115E60@numericable.com> Message-ID: <4cfcfef7.9c7bdc0a.78a7.5fe6@mx.google.com> Anyone have any worst sester shire sauce? I ask all over, no one has ever heard of it... -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Ren? Micout Sent: Sunday, December 05, 2010 10:30 AM To: How to use LiveCode Subject: Re: [OT] Ucranian spam & other posts >Few years ago, on a train from Fort-William I was explaining to persons of Glasgow that I went to Edinburgh ( "?dainboor" with my French pronunciation) >they struggled to understand that I spoke of "Edbrough"... From walter.h.brown at gmail.com Mon Dec 6 10:25:04 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Mon, 6 Dec 2010 10:25:04 -0500 Subject: PDF ? In-Reply-To: <4CFA97E0.405@gmail.com> References: <4CFA8597.8040009@gmail.com> <4CFA8878.6030900@gmail.com> <2DCB4677-1732-4837-8ADF-D2F0C019E910@major.on-rev.com> <4CFA97E0.405@gmail.com> Message-ID: <4cfd0062.c43edc0a.5a86.5e94@mx.google.com> Richmond showing off prior political experience? -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richmond Sent: Saturday, December 04, 2010 2:35 PM To: How to use LiveCode Subject: Re: PDF ? On 12/04/2010 08:36 PM, Klaus on-rev wrote: > Hi Richmond, > >> On 12/04/2010 08:23 PM, Klaus on-rev wrote: >>> Hi Mr. Tight-lipped, >> Do you really want me to return to my previous blabber-mouthed incarnation? > Oh, NOOOOO! :-D > > But a complete sentence wouldn't have hurt! ;-) > Some sentences can, when one pauses to reflect on, meditate on, and inwardly digest them, drag on in a way, which with their multiple subordinate, embedded clauses, caveats (and, come to think of things, extra twiddly bits in parentheses (often multiply parenthesised (to a seemingly absurd degree))), serve only to irritate, annoy and otherwise provoke the reader, recipient, interlocutor or other interpreter to shout an extremely non-sentential "F*ck", owing to their final, and ultimately slow, almost stupid, realisation, that sentences are not always so cut-and-dried as to sport only a single, easily identifiable, subject, a verb (possibly phrasal or involving, especially in English, the use of an auxiliary such as "have" or "do", or a modal such as "should", "might", "may", "can/could", "ought to", or "have to") and a simplistic, one-word object (as opposed to a complex noun phrase, possiby also involving multiple embedded clauses); or, to put it another way, or, possibly more idiomatically, "to cut a long story short" (or, when one reflects upon ths sentence, more appositely, "to cut a short story long"); some sentences are, unequivocally, "a pain in the nether regions" (and those for the metaphorically challenged mean the buttocks, bottom, dowp, bottom, arse) that can drive a good man (and, one should add in these egalitarian days that the word 'man' here is used in an all-inclusive fashion embracing women, transgendered people and eunuchs as well as men Ding-an-Sich) to thoughts of despair or even suicide. Some sentences can hurt a lot . . . :) Love, kisses and funny moises, Richmond. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From walter.h.brown at gmail.com Mon Dec 6 10:27:19 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Mon, 6 Dec 2010 10:27:19 -0500 Subject: Code To Minick Control-A, Control-C, Control-V (Select All, Copy, Paste) In-Reply-To: References: <4cfcf760.9c79dc0a.52d2.5c86@mx.google.com> Message-ID: <4cfd00e9.c37bdc0a.4f58.5f91@mx.google.com> Yes, thanks Klaus, I figured that out when I started playing right after the exciting LiveCode TV episode. -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Klaus on-rev Sent: Monday, December 06, 2010 9:51 AM To: How to use LiveCode Subject: Re: Code To Minick Control-A, Control-C, Control-V (Select All, Copy, Paste) Hi Walt, > Of interest, if "Select the text of me" is in the mouseUp handler of > the field, it selects NOT all of the text, but all the lines from the > mouse location down. try: ... select char 1 to -1 of me ... > Walt Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From walter.h.brown at gmail.com Mon Dec 6 10:33:02 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Mon, 6 Dec 2010 10:33:02 -0500 Subject: focus question References: <1291583295442-3073660.post@n4.nabble.com> <8455EF33-F64F-47CE-A5D5-B98E09174CE6@dvcreators.net> <1291639305449-3074402.post@n4.nabble.com> Message-ID: <4cfd0240.8e7adc0a.73ad.5e6e@mx.google.com> Interesting if useless discovery - LC accepts real numbers as Point values, ie "22.5,31.7", not just integers. I haven't discovered if it rounds or truncates them in use though. Walt From walter.h.brown at gmail.com Mon Dec 6 10:33:02 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Mon, 6 Dec 2010 10:33:02 -0500 Subject: focus question References: <1291583295442-3073660.post@n4.nabble.com> <8455EF33-F64F-47CE-A5D5-B98E09174CE6@dvcreators.net> <1291639305449-3074402.post@n4.nabble.com> Message-ID: <4cfd0240.8e7adc0a.73ad.5e6e@mx.google.com> Interesting if useless discovery - LC accepts real numbers as Point values, ie "22.5,31.7", not just integers. I haven't discovered if it rounds or truncates them in use though. Walt From mkoob at rogers.com Mon Dec 6 11:23:44 2010 From: mkoob at rogers.com (Martin Koob) Date: Mon, 6 Dec 2010 08:23:44 -0800 (PST) Subject: revVideograbber + Mac OS X 10.6.5 + iSight bug Message-ID: <1291652624541-3074776.post@n4.nabble.com> I have had a couple of users of my application report the the video capture window (the revVideoGrabber preview) has a green or grey area over the video image intermittently. I tested it on one user's computer and I determined that it happened when they had the iSight set as the video source. I was able to try it on their Mac and switched to a DV input and the problem disappeared. The grey or green area is not saved to the video. I played video captured on that Mac on another mac that has an earlier version of Mac OS X and the video was fine. I also noticed that a focused player window with a Quicktime movie in it will exhibit the same behavior if the revVideoGrabber preview window is open. The video image in the player will have a grey or green area that appears intermittently over the video. Both users are using Mac OS X 10.6.5. The application was compiled with LiveCode 4.0, ( I have not yet compiled a release version with 4.5 yet.) Has anyone else seen this? If anyone has Mac OS X 10.6.5 could they test this to confirm this? Thanks. Martin Koob -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/revVideograbber-Mac-OS-X-10-6-5-iSight-bug-tp3074776p3074776.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Mon Dec 6 12:16:57 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 6 Dec 2010 09:16:57 -0800 Subject: ANN: glx2 is now open source In-Reply-To: <411375436109.20101204173219@ahsoftware.net> References: <411375436109.20101204173219@ahsoftware.net> Message-ID: <76BB1924-92CE-4104-94FD-18D9727C3501@twft.com> On Dec 4, 2010, at 5:32 PM, Mark Wieder wrote: > Optimist - The glass is half full. > Pessimist - The glass is half empty. > Engineer - The glass is twice a large as it needs to be. Mathmetician - The glass is BOTH half empty AND half full. Bob From keith.clarke at clarkeandclarke.co.uk Mon Dec 6 12:25:54 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Mon, 6 Dec 2010 17:25:54 +0000 Subject: ANN: glx2 is now open source In-Reply-To: <76BB1924-92CE-4104-94FD-18D9727C3501@twft.com> References: <411375436109.20101204173219@ahsoftware.net> <76BB1924-92CE-4104-94FD-18D9727C3501@twft.com> Message-ID: On 6 Dec 2010, at 17:16, Bob Sneidar wrote: > > On Dec 4, 2010, at 5:32 PM, Mark Wieder wrote: > >> Optimist - The glass is half full. >> Pessimist - The glass is half empty. >> Engineer - The glass is twice a large as it needs to be. > Mathmetician - The glass is BOTH half empty AND half full. Zen monk - There is no glass... there is no monk. Keith.. > > Bob > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Dec 6 12:29:21 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 6 Dec 2010 09:29:21 -0800 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: <4CFA6E1A.20504@fourthworld.com> References: <4CFA6E1A.20504@fourthworld.com> Message-ID: Ooohhh... Dark Castle. I can attribute much of my current state of affairs, that I am not a filthy rich genius, to that insidious game! That and the fact that I am not a genius to start with. Details details... Bob On Dec 4, 2010, at 8:36 AM, Richard Gaskin wrote: > There was a fair bit of co-mingling back on those days with SBS products. The sound engine in World Builder came from SBS' Dark Castle game, for example. And there are others - here's some trivia for SC fans: From andre at andregarzia.com Mon Dec 6 12:35:22 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 6 Dec 2010 15:35:22 -0200 Subject: ANN: glx2 is now open source In-Reply-To: <76BB1924-92CE-4104-94FD-18D9727C3501@twft.com> References: <411375436109.20101204173219@ahsoftware.net> <76BB1924-92CE-4104-94FD-18D9727C3501@twft.com> Message-ID: On Mon, Dec 6, 2010 at 3:16 PM, Bob Sneidar wrote: > > On Dec 4, 2010, at 5:32 PM, Mark Wieder wrote: > > > Optimist - The glass is half full. > > Pessimist - The glass is half empty. > > Engineer - The glass is twice a large as it needs to be. > Mathmetician - The glass is BOTH half empty AND half full. > trendy web developer from 2010 - the glass can scale with the demand... (yes, I just created that while working on why my current app can't scale...) > > Bob > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From bobs at twft.com Mon Dec 6 12:37:38 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 6 Dec 2010 09:37:38 -0800 Subject: How to make a square topped, round rect bottomed graphic? In-Reply-To: <37DB3C2D-B60E-41E8-85E0-9E42046A8C4F@mac.com> References: <37DB3C2D-B60E-41E8-85E0-9E42046A8C4F@mac.com> Message-ID: Also because for about half the year, if you are brave enough to go outside, you won't be able to see further than 25 to 30 feet in front of you on account of the blizzard. ;-) Bob On Dec 4, 2010, at 4:03 PM, Roger Guay wrote: > There are no verbal salutations in Montana since one doesn't encounter another person often enough to warrant one. A tip of your cowboy hat is all that's needed. > > Tip of the Hat, > Roger Guay From bobs at twft.com Mon Dec 6 12:50:53 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 6 Dec 2010 09:50:53 -0800 Subject: Ucranian spam & other posts In-Reply-To: <4CFBE926.8030702@gmail.com> References: <709BF47B-8017-4EF4-B533-89ED88AD9764@wanadoo.fr> <4CFBE926.8030702@gmail.com> Message-ID: <42ADB998-03DB-4999-97AB-C9F0D67973E2@twft.com> Drat! My highly romanticized notions of Scotland were heretofore inspiring me to take a vacation there soon. Now that my perceptions are corrected, I think I will go to England instead. That is until my highly romanticized notions of England have been dashed to smithereens. ;-) Bob On Dec 5, 2010, at 11:33 AM, Richmond wrote: > Well . . . the ancient Thracians had red hair, as do I. > > However, let's remember that the word 'Celtic' is a load of romantic > tosh cooked up by the same sort of people who allotted specific > tartans to specific families and rebranded a Scotland raped by the Hanoverians > and the continuing English Yoke as something cutesy to stick on shortbread > boxes. From bobs at twft.com Mon Dec 6 12:52:57 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 6 Dec 2010 09:52:57 -0800 Subject: [OT] Ucranian spam & other posts In-Reply-To: <4cfcfef7.9c7bdc0a.78a7.5fe6@mx.google.com> References: <607AAE24-4777-41A0-9320-20F06A34B79A@numericable.com> <4CFB9610.9060906@gmail.com> <86714986-6AE6-4A7F-9D03-6B8945115E60@numericable.com> <4cfcfef7.9c7bdc0a.78a7.5fe6@mx.google.com> Message-ID: <47D877BB-C3B0-46F1-AC0E-95FCBC1F166D@twft.com> Worcestershire sauce |?wo?st?r? sh i(?)r; - sh ?r| noun a pungent sauce containing soy sauce and vinegar, first made in Worcester, England. Bob On Dec 6, 2010, at 7:19 AM, Walt Brown wrote: > Anyone have any worst sester shire sauce? I ask all over, no one has ever > heard of it... From andre at andregarzia.com Mon Dec 6 12:58:05 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 6 Dec 2010 15:58:05 -0200 Subject: ANN: glx2 is now open source In-Reply-To: References: <411375436109.20101204173219@ahsoftware.net> <76BB1924-92CE-4104-94FD-18D9727C3501@twft.com> Message-ID: On Mon, Dec 6, 2010 at 3:25 PM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > > On 6 Dec 2010, at 17:16, Bob Sneidar wrote: > > > > > On Dec 4, 2010, at 5:32 PM, Mark Wieder wrote: > > > >> Optimist - The glass is half full. > >> Pessimist - The glass is half empty. > >> Engineer - The glass is twice a large as it needs to be. > > Mathmetician - The glass is BOTH half empty AND half full. > Zen monk - There is no glass... there is no monk. > IBM - the glass is actually full but your license enables only half-a-glass, if you want the full glass you need to pay on brazillion dollars and we will remotely enable the full glass... (man I need to stop working and drinking coffee) > > Keith.. > > > > Bob > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From bobs at twft.com Mon Dec 6 12:59:36 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 6 Dec 2010 09:59:36 -0800 Subject: PDF ? In-Reply-To: <4cfd0062.c43edc0a.5a86.5e94@mx.google.com> References: <4CFA8597.8040009@gmail.com> <4CFA8878.6030900@gmail.com> <2DCB4677-1732-4837-8ADF-D2F0C019E910@major.on-rev.com> <4CFA97E0.405@gmail.com> <4cfd0062.c43edc0a.5a86.5e94@mx.google.com> Message-ID: <266B2F41-947E-4D81-9BE2-FA2380A41DFA@twft.com> Can you rephrase that? Bob On Dec 6, 2010, at 7:25 AM, Walt Brown wrote: > Some sentences can, when one pauses to reflect on, meditate on, and inwardly > digest them, drag on in a way, which with their multiple subordinate, > embedded clauses, caveats (and, come to think of things, extra twiddly bits > in parentheses (often multiply parenthesised (to a seemingly absurd > degree))), serve only to irritate, annoy and otherwise provoke the reader, > recipient, interlocutor or other interpreter to shout an extremely > non-sentential "F*ck", owing to their final, and ultimately slow, almost > stupid, realisation, that sentences are not always so cut-and-dried as to > sport only a single, easily identifiable, subject, a verb (possibly phrasal > or involving, especially in English, the use of an auxiliary such as "have" > or "do", or a modal such as "should", "might", "may", "can/could", "ought > to", or "have to") and a simplistic, one-word object (as opposed to a > complex noun phrase, possiby also involving multiple embedded clauses); or, > to put it another way, or, possibly more idiomatically, "to cut a long story > short" (or, when one reflects upon ths sentence, more appositely, "to cut a > short story long"); some sentences are, unequivocally, "a pain in the nether > regions" (and those for the metaphorically challenged mean the buttocks, > bottom, dowp, bottom, arse) that can drive a good man (and, one should add > in these egalitarian days that the word 'man' here is used in an > all-inclusive fashion embracing women, transgendered people and eunuchs as > well as men Ding-an-Sich) to thoughts of despair or even suicide. > > > Some sentences can hurt a lot . . . :) > > Love, kisses and funny moises, Richmond. From bobs at twft.com Mon Dec 6 13:07:51 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 6 Dec 2010 10:07:51 -0800 Subject: focus question In-Reply-To: <4cfcfd23.922ddc0a.091d.607b@mx.google.com> References: <1291583295442-3073660.post@n4.nabble.com> <8455EF33-F64F-47CE-A5D5-B98E09174CE6@dvcreators.net> <1291639305449-3074402.post@n4.nabble.com> <4cfcfd23.922ddc0a.091d.607b@mx.google.com> Message-ID: <2FE7DF6B-1896-4ADC-80E3-F7A7A2BD2EC5@twft.com> I have had the idea in the past to use a property to define whether or not a field should place the cursor at the beginning, end or last selection of a field upon entering it. Shouldn't be hard to do. Make 2 properties in each field, focusSelection, lastSelection and read/update these accordingly upon openField and exitField (closeField mind you that only gets sent when something changes). Keep in mind that before getting the focusSelection upon openField you would need to check to see if the properties already exist and create them if they didn't. For extra credit, allow the user to change the behavior with a right click on the field object. I'd do it myself, but I am too doggone lazy. Bob On Dec 6, 2010, at 7:11 AM, Walt Brown wrote: > I have had to use "Select after char -1 of fld X". I was actually using it > to place the cursor at various character positions in a field in a > rawKeyDown handler - I was using predictive lookup in rawKeyDown as a field > validation technique, playing around after David, Mark, and BvG's EXCELLENT > LiveCode V session yesterday. > > An example is in the last field of my attached test stack. > > Walt From benr_mc at cogapp.com Mon Dec 6 13:04:27 2010 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 06 Dec 2010 18:04:27 +0000 Subject: revVideograbber + Mac OS X 10.6.5 + iSight bug In-Reply-To: <1291652624541-3074776.post@n4.nabble.com> References: <1291652624541-3074776.post@n4.nabble.com> Message-ID: <4CFD25AB.5080206@cogapp.com> Hi Martin, I've been working with the video grabber recently on OS X 10.6.5, with both LC 4.0 and 4.5, and haven't come across this. Our test platforms are all using an external camera, but my development was all on MacBook Pro with built-in iSight. If you have a sample app/stack, I'd be happy to test it under 10.6.5 and see if I can reproduce the issue here. I owe RunRev some notes about other VG issues. Ben On 06/12/2010 16:23, Martin Koob wrote: > > I have had a couple of users of my application report the the video capture > window (the revVideoGrabber preview) has a green or grey area over the video > image intermittently. I tested it on one user's computer and I determined > that it happened when they had the iSight set as the video source. I was > able to try it on their Mac and switched to a DV input and the problem > disappeared. > > The grey or green area is not saved to the video. I played video captured > on that Mac on another mac that has an earlier version of Mac OS X and the > video was fine. > > I also noticed that a focused player window with a Quicktime movie in it > will exhibit the same behavior if the revVideoGrabber preview window is > open. The video image in the player will have a grey or green area that > appears intermittently over the video. > > Both users are using Mac OS X 10.6.5. > The application was compiled with LiveCode 4.0, ( I have not yet compiled a > release version with 4.5 yet.) > > Has anyone else seen this? If anyone has Mac OS X 10.6.5 could they test > this to confirm this? > > Thanks. > > Martin Koob > From richmondmathewson at gmail.com Mon Dec 6 13:17:40 2010 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 06 Dec 2010 20:17:40 +0200 Subject: PDF ? In-Reply-To: <266B2F41-947E-4D81-9BE2-FA2380A41DFA@twft.com> References: <4CFA8597.8040009@gmail.com> <4CFA8878.6030900@gmail.com> <2DCB4677-1732-4837-8ADF-D2F0C019E910@major.on-rev.com> <4CFA97E0.405@gmail.com> <4cfd0062.c43edc0a.5a86.5e94@mx.google.com> <266B2F41-947E-4D81-9BE2-FA2380A41DFA@twft.com> Message-ID: <4CFD28C4.7070409@gmail.com> On 12/06/2010 07:59 PM, Bob Sneidar wrote: > Can you rephrase that? Yes; "Some sentences can go on and on and on." > Bob > > > On Dec 6, 2010, at 7:25 AM, Walt Brown wrote: > >> Some sentences can, when one pauses to reflect on, meditate on, and inwardly >> digest them, drag on in a way, which with their multiple subordinate, >> embedded clauses, caveats (and, come to think of things, extra twiddly bits >> in parentheses (often multiply parenthesised (to a seemingly absurd >> degree))), serve only to irritate, annoy and otherwise provoke the reader, >> recipient, interlocutor or other interpreter to shout an extremely >> non-sentential "F*ck", owing to their final, and ultimately slow, almost >> stupid, realisation, that sentences are not always so cut-and-dried as to >> sport only a single, easily identifiable, subject, a verb (possibly phrasal >> or involving, especially in English, the use of an auxiliary such as "have" >> or "do", or a modal such as "should", "might", "may", "can/could", "ought >> to", or "have to") and a simplistic, one-word object (as opposed to a >> complex noun phrase, possiby also involving multiple embedded clauses); or, >> to put it another way, or, possibly more idiomatically, "to cut a long story >> short" (or, when one reflects upon ths sentence, more appositely, "to cut a >> short story long"); some sentences are, unequivocally, "a pain in the nether >> regions" (and those for the metaphorically challenged mean the buttocks, >> bottom, dowp, bottom, arse) that can drive a good man (and, one should add >> in these egalitarian days that the word 'man' here is used in an >> all-inclusive fashion embracing women, transgendered people and eunuchs as >> well as men Ding-an-Sich) to thoughts of despair or even suicide. >> >> >> Some sentences can hurt a lot . . . :) >> >> Love, kisses and funny moises, Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From warrenkuhl at gmail.com Mon Dec 6 13:27:33 2010 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Mon, 6 Dec 2010 12:27:33 -0600 Subject: Code To Minick Control-A, Control-C, Control-V (Select All, Copy, Paste) In-Reply-To: <4cfd00e9.c37bdc0a.4f58.5f91@mx.google.com> References: <4cfcf760.9c79dc0a.52d2.5c86@mx.google.com> <4cfd00e9.c37bdc0a.4f58.5f91@mx.google.com> Message-ID: Thanks everyone for your feedback! I used the command recommend by Walt for the select all and this is working just great... Select the text of fld fFieldName" seems to work. Warren On Mon, Dec 6, 2010 at 9:27 AM, Walt Brown wrote: > Yes, thanks Klaus, I figured that out when I started playing right after > the > exciting LiveCode TV episode. > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Klaus on-rev > Sent: Monday, December 06, 2010 9:51 AM > To: How to use LiveCode > Subject: Re: Code To Minick Control-A, Control-C, Control-V (Select All, > Copy, Paste) > > Hi Walt, > > > Of interest, if "Select the text of me" is in the mouseUp handler of > > the field, it selects NOT all of the text, but all the lines from the > > mouse location down. > > try: > ... > select char 1 to -1 of me > ... > > > Walt > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jhurley0305 at sbcglobal.net Mon Dec 6 13:38:49 2010 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Mon, 6 Dec 2010 10:38:49 -0800 Subject: focus question In-Reply-To: References: Message-ID: > > > ------------------------------ > > Message: 6 > Date: Mon, 6 Dec 2010 10:33:02 -0500 > From: "Walt Brown" > To: "'How to use LiveCode'" , > > Subject: RE: focus question > Message-ID: <4cfd0240.8e7adc0a.73ad.5e6e at mx.google.com> > Content-Type: text/plain; charset="US-ASCII" > > Interesting if useless discovery - LC accepts real numbers as Point > values, > ie "22.5,31.7", not just integers. I haven't discovered if it rounds > or > truncates them in use though. > > Walt > Walt, A caution. LC accepts real numbers as the Loc of objects but integers only as the points of line graphics. If you say: set the points of grc 1 to 100,100 & cr & 200,200.5 the graphic disappears. Worse yet, you get no error message. This becomes a problem when your points are calculated and the calculation yields a fraction somewhere without you realizing it. However if you say: set the loc of grc 1 to 150,150.7 there is no problem. The 150.7 is truncated to 150. I have asked RunRev (many years ago) to change this anomalous behavior but without success. Jim From warrenkuhl at gmail.com Mon Dec 6 13:31:52 2010 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Mon, 6 Dec 2010 12:31:52 -0600 Subject: Maximize A Stack Message-ID: When I click the maximize button on my stack...the stack is not maximizing to my window. It seems to maximize horizintally...but only half my screen is filled vertically. How would I maximize a stack to the size of my screen? Warren From pete at mollysrevenge.com Mon Dec 6 13:54:23 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Mon, 6 Dec 2010 10:54:23 -0800 Subject: ANN: glx2 is now open source In-Reply-To: References: <411375436109.20101204173219@ahsoftware.net> <76BB1924-92CE-4104-94FD-18D9727C3501@twft.com> Message-ID: On Dec 6, 2010, at 9:35 AM, Andre Garzia wrote: > On Mon, Dec 6, 2010 at 3:16 PM, Bob Sneidar wrote: > >> >> On Dec 4, 2010, at 5:32 PM, Mark Wieder wrote: >> >>> Optimist - The glass is half full. >>> Pessimist - The glass is half empty. >>> Engineer - The glass is twice a large as it needs to be. >> Mathmetician - The glass is BOTH half empty AND half full. >> > > trendy web developer from 2010 - the glass can scale with the > demand... > > (yes, I just created that while working on why my current app can't > scale...) > Maybe it's just me, but I'd prefer to just drink the damned beer/wine/ whatever and fill the glass again! Pete From bobs at twft.com Mon Dec 6 13:57:40 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 6 Dec 2010 10:57:40 -0800 Subject: Maximize A Stack In-Reply-To: References: Message-ID: Are you sure you have not set limits in your stack properties? Bob On Dec 6, 2010, at 10:31 AM, Warren Kuhl wrote: > When I click the maximize button on my stack...the stack is not maximizing > to my window. It seems to maximize horizintally...but only half my screen > is filled vertically. How would I maximize a stack to the size of my > screen? > > Warren > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dixonja at hotmail.co.uk Mon Dec 6 13:58:34 2010 From: dixonja at hotmail.co.uk (John Dixon) Date: Mon, 6 Dec 2010 18:58:34 +0000 Subject: Maximize A Stack In-Reply-To: References: Message-ID: set the rect of stack 'whateverName' to screenRect() > Date: Mon, 6 Dec 2010 12:31:52 -0600 > Subject: Maximize A Stack > From: warrenkuhl at gmail.com > To: use-livecode at lists.runrev.com > > When I click the maximize button on my stack...the stack is not maximizing > to my window. It seems to maximize horizintally...but only half my screen > is filled vertically. How would I maximize a stack to the size of my > screen? > > Warren > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dixonja at hotmail.co.uk Mon Dec 6 13:58:48 2010 From: dixonja at hotmail.co.uk (John Dixon) Date: Mon, 6 Dec 2010 18:58:48 +0000 Subject: Maximize A Stack In-Reply-To: References: Message-ID: set the rect of stack 'whateverName' to screenRect() > Date: Mon, 6 Dec 2010 12:31:52 -0600 > Subject: Maximize A Stack > From: warrenkuhl at gmail.com > To: use-livecode at lists.runrev.com > > When I click the maximize button on my stack...the stack is not maximizing > to my window. It seems to maximize horizintally...but only half my screen > is filled vertically. How would I maximize a stack to the size of my > screen? > > Warren > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From warrenkuhl at gmail.com Mon Dec 6 14:15:35 2010 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Mon, 6 Dec 2010 13:15:35 -0600 Subject: Maximize A Stack In-Reply-To: References: Message-ID: Thanks....I will give this a shot! Appreciate the help, Warren On Mon, Dec 6, 2010 at 12:58 PM, John Dixon wrote: > > set the rect of stack 'whateverName' to screenRect() > > > Date: Mon, 6 Dec 2010 12:31:52 -0600 > > Subject: Maximize A Stack > > From: warrenkuhl at gmail.com > > To: use-livecode at lists.runrev.com > > > > When I click the maximize button on my stack...the stack is not > maximizing > > to my window. It seems to maximize horizintally...but only half my > screen > > is filled vertically. How would I maximize a stack to the size of my > > screen? > > > > Warren > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From kevin at runrev.com Mon Dec 6 14:31:51 2010 From: kevin at runrev.com (Kevin Miller) Date: Mon, 06 Dec 2010 19:31:51 +0000 Subject: 4.5.2 and iOS Deployment launched Message-ID: Hi folks, 4.5.2 is now available. And LiveCode for iOS is now available! To download them, please log into your account. If you?re interested, you may also want to check out our new front door http://www.runrev.com/ Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ LiveCode - Realize fast, compile-free coding From glpunzi at lordzealon.com Mon Dec 6 14:46:00 2010 From: glpunzi at lordzealon.com (Giuseppe Luigi Punzi) Date: Mon, 6 Dec 2010 20:46:00 +0100 Subject: 4.5.2 and iOS Deployment launched In-Reply-To: References: Message-ID: Congratulations. Nice video, and nice Beginners video. P.D.: Somebody can explain to a newbie like me, why I see ribbons everywhere? (BvG videos, now Runrev videos :S ) Cheers. El 06/12/2010, a las 20:31, Kevin Miller escribi?: > Hi folks, > > 4.5.2 is now available. And LiveCode for iOS is now available! > > To download them, please log into your account. > > If you?re interested, you may also want to check out our new front door > http://www.runrev.com/ > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > LiveCode - Realize fast, compile-free coding > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at clarkeandclarke.co.uk Mon Dec 6 14:56:10 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Mon, 6 Dec 2010 19:56:10 +0000 Subject: 4.5.2 and iOS Deployment launched In-Reply-To: References: Message-ID: <66DC73AE-E2F1-4ED2-8DBC-3B7B1717C37C@clarkeandclarke.co.uk> Kevin, Thanks and the new home page looks slick. I can's find a customer login link anywhere - is that deliberate? Best, Keith.. On 6 Dec 2010, at 19:31, Kevin Miller wrote: > Hi folks, > > 4.5.2 is now available. And LiveCode for iOS is now available! > > To download them, please log into your account. > > If you?re interested, you may also want to check out our new front door > http://www.runrev.com/ > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > LiveCode - Realize fast, compile-free coding > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Mon Dec 6 14:57:38 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 6 Dec 2010 12:57:38 -0700 Subject: 4.5.2 and iOS Deployment launched In-Reply-To: <66DC73AE-E2F1-4ED2-8DBC-3B7B1717C37C@clarkeandclarke.co.uk> References: <66DC73AE-E2F1-4ED2-8DBC-3B7B1717C37C@clarkeandclarke.co.uk> Message-ID: Click the link to the store, and you can log in there. On Mon, Dec 6, 2010 at 12:56 PM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > Kevin, > Thanks and the new home page looks slick. I can's find a customer login > link anywhere - is that deliberate? > Best, > Keith.. > On 6 Dec 2010, at 19:31, Kevin Miller wrote: > > > Hi folks, > > > > 4.5.2 is now available. And LiveCode for iOS is now available! > > > > To download them, please log into your account. > > > > If you?re interested, you may also want to check out our new front door > > http://www.runrev.com/ > > > > Kind regards, > > > > Kevin > > > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > > LiveCode - Realize fast, compile-free coding > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From coiin at verizon.net Mon Dec 6 14:59:35 2010 From: coiin at verizon.net (Colin Holgate) Date: Mon, 06 Dec 2010 14:59:35 -0500 Subject: 4.5.2 and iOS Deployment launched In-Reply-To: <66DC73AE-E2F1-4ED2-8DBC-3B7B1717C37C@clarkeandclarke.co.uk> References: <66DC73AE-E2F1-4ED2-8DBC-3B7B1717C37C@clarkeandclarke.co.uk> Message-ID: On Dec 6, 2010, at 2:56 PM, Keith Clarke wrote: > > Thanks and the new home page looks slick. I can's find a customer login link anywhere - is that deliberate? If you go to Store, or Downloads, which are the places you might need to be logged, you're soon greeted with a login option. From psahores at free.fr Mon Dec 6 15:03:19 2010 From: psahores at free.fr (Pierre Sahores) Date: Mon, 6 Dec 2010 21:03:19 +0100 Subject: 4.5.2 and iOS Deployment launched In-Reply-To: References: Message-ID: What a fantastic Live Presentation :D Kind Regards, Pierre Le 6 d?c. 2010 ? 20:31, Kevin Miller a ?crit : > > If you?re interested, you may also want to check out our new front door > http://www.runrev.com/ > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > LiveCode - Realize fast, compile-free coding > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From klaus at major.on-rev.com Mon Dec 6 15:05:00 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 6 Dec 2010 21:05:00 +0100 Subject: 4.5.2 and iOS Deployment launched In-Reply-To: References: Message-ID: <1C07A8A0-437B-44B2-92FE-405B7EFB5337@major.on-rev.com> Hi Kevin, Am 06.12.2010 um 20:31 schrieb Kevin Miller: > Hi folks, > > 4.5.2 is now available. And LiveCode for iOS is now available! Cool, thanks! But this reads as if there is a final version (1.0) of the iOS plug in available ;-) > To download them, please log into your account. I only see LC 4.5.2 but no link for the iOS mobile plug in? Or did I misunderstand the announcement? I have currently alpha15. It would be nice to see the current version somehwere on the webpage! > If you?re interested, you may also want to check out our new front door > http://www.runrev.com/ > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > LiveCode - Realize fast, compile-free coding Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From kevin at runrev.com Mon Dec 6 15:07:32 2010 From: kevin at runrev.com (Kevin Miller) Date: Mon, 06 Dec 2010 20:07:32 +0000 Subject: 4.5.2 and iOS Deployment launched In-Reply-To: <1C07A8A0-437B-44B2-92FE-405B7EFB5337@major.on-rev.com> Message-ID: On 06/12/2010 20:05, "Klaus on-rev" wrote: >> 4.5.2 is now available. And LiveCode for iOS is now available! > > Cool, thanks! > > But this reads as if there is a final version (1.0) of the iOS plug in > available ;-) > >> To download them, please log into your account. > > I only see LC 4.5.2 but no link for the iOS mobile plug in? > Or did I misunderstand the announcement? I have currently alpha15. > > It would be nice to see the current version somehwere on the webpage! Its all integrated into 4.5.2. There is no mobile plugin any more, its just a deployment pack that gets enabled in the main IDE when you have it. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ LiveCode - Realize fast, compile-free coding From richmondmathewson at gmail.com Mon Dec 6 15:07:52 2010 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 06 Dec 2010 22:07:52 +0200 Subject: A wee gifty . . . In-Reply-To: <1291583347300-3073662.post@n4.nabble.com> References: <4CFBC84C.7000400@gmail.com> <1291583347300-3073662.post@n4.nabble.com> Message-ID: <4CFD4298.5070905@gmail.com> On 12/05/2010 11:09 PM, BNig wrote: > Hi Richmond, > > the group "GXYZ" has disapeared in the stack and that throws an error. > > Where should the group be? and what size and lockLoc true? > Yup; sorry; I know; it stank; new version now ready for you to play with: http://andregarzia.on-rev.com/richmond/Importer.rev.zip Love, Richmond. From warren at warrensweb.us Mon Dec 6 15:11:39 2010 From: warren at warrensweb.us (Warren Samples) Date: Mon, 06 Dec 2010 14:11:39 -0600 Subject: 4.5.2 and iOS Deployment launched In-Reply-To: References: Message-ID: <1291666299.24294.259.camel@mint-i7> On Mon, 2010-12-06 at 19:31 +0000, Kevin Miller wrote: > Hi folks, > > 4.5.2 is now available. And LiveCode for iOS is now available! > > To download them, please log into your account. > > If you?re interested, you may also want to check out our new front door > http://www.runrev.com/ > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > LiveCode - Realize fast, compile-free coding > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Hello, The Linux installer didn't work quite right for me. Installation failed when attempting to install just for myself - "Installer slave quit unexpectedly", although it was successful when installing for all users. While things like this always make me question my memory, I'm *sure* I've always installed just for myself. I do know I've never encountered this behavior ;) (Linux Mint) Warren From klaus at major.on-rev.com Mon Dec 6 15:19:22 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 6 Dec 2010 21:19:22 +0100 Subject: 4.5.2 and iOS Deployment launched In-Reply-To: References: Message-ID: <6C5D7BD8-B610-4286-9F90-32D4D922292E@major.on-rev.com> Hi Kevin, > On 06/12/2010 20:05, "Klaus on-rev" wrote: > >> ... >> I only see LC 4.5.2 but no link for the iOS mobile plug in? >> Or did I misunderstand the announcement? I have currently alpha15. >> It would be nice to see the current version somehwere on the webpage! > Its all integrated into 4.5.2. There is no mobile plugin any more, its just > a deployment pack that gets enabled in the main IDE when you have it. Ah, oh, I see, cool :-) And how can one tst this in the simulator like with the older plug ins? > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > LiveCode - Realize fast, compile-free coding Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From keith.clarke at clarkeandclarke.co.uk Mon Dec 6 15:20:49 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Mon, 6 Dec 2010 20:20:49 +0000 Subject: 4.5.2 and iOS Deployment launched In-Reply-To: References: <66DC73AE-E2F1-4ED2-8DBC-3B7B1717C37C@clarkeandclarke.co.uk> Message-ID: ...ah, thanks Mike. I was expecting it to be a under Developers (i.e. customers ) or Support (for customers) - but the Store makes sense in an 'Afore ye go, look what else you can buy' kind of way! ;-) On 6 Dec 2010, at 19:57, Mike Bonner wrote: > Click the link to the store, and you can log in there. > > On Mon, Dec 6, 2010 at 12:56 PM, Keith Clarke < > keith.clarke at clarkeandclarke.co.uk> wrote: > >> Kevin, >> Thanks and the new home page looks slick. I can's find a customer login >> link anywhere - is that deliberate? >> Best, >> Keith.. >> On 6 Dec 2010, at 19:31, Kevin Miller wrote: >> >>> Hi folks, >>> >>> 4.5.2 is now available. And LiveCode for iOS is now available! >>> >>> To download them, please log into your account. >>> >>> If you?re interested, you may also want to check out our new front door >>> http://www.runrev.com/ >>> >>> Kind regards, >>> >>> Kevin >>> >>> Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ >>> LiveCode - Realize fast, compile-free coding >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hershrev at syp2u4c.com Mon Dec 6 15:23:12 2010 From: hershrev at syp2u4c.com (Hershel Fisch) Date: Mon, 06 Dec 2010 15:23:12 -0500 Subject: LineSize In-Reply-To: Message-ID: I cant get into technical part now, due to the lack of knowledge, my concern I need to draw a fine line on the screen and then to print it.now when I set the, LineSize,borderSize, borderWitdh to 1 and the height in the pallete to 1, its not seen on the screen, but it prints at certain positions and not at others so I have to move it. Whats the cause because I cant matchem up? Then I tried to work this thing around while displaying on the screen setting the lineSize to 2 and at printing setting it to 1 (back and forth) then I realized that after a few times its not on the same loc. Now I'm stuck. All help appreciated Hershel On 12/6/10 1:11 AM, "Scott Rossi" wrote: > Recently, Hershel Fisch wrote: > >> Hi all, I'm wondering why when I set the lineSize of a line to1 and the >> height to 1 the line is not seen on the screen? >> Thanks, Hershel > > Doesn't make sense, but a line has to have a minimum height or width of 2 > pixels. Perhaps at some point it was determined 2 pixels was the minimum > space needed for clickable control handles, but that's just a guess. > Otherwise, 1 pixel lines will always need at least one dimension to be two > pixels. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Mon Dec 6 15:27:23 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 6 Dec 2010 21:27:23 +0100 Subject: 4.5.2 and iOS Deployment launched In-Reply-To: <6C5D7BD8-B610-4286-9F90-32D4D922292E@major.on-rev.com> References: <6C5D7BD8-B610-4286-9F90-32D4D922292E@major.on-rev.com> Message-ID: Hi all, > Hi Kevin, > >> On 06/12/2010 20:05, "Klaus on-rev" wrote: >> >>> ... >>> I only see LC 4.5.2 but no link for the iOS mobile plug in? >>> Or did I misunderstand the announcement? I have currently alpha15. >>> It would be nice to see the current version somehwere on the webpage! >> Its all integrated into 4.5.2. There is no mobile plugin any more, its just >> a deployment pack that gets enabled in the main IDE when you have it. > > Ah, oh, I see, cool :-) > And how can one tst this in the simulator like with the older plug ins? Sorry, found this in the release notes. But since I do not have the menubar with the icons or text showing, I feel a bit lost :-/ An additional menuitem would be really necessary! >> Kind regards, >> >> Kevin >> >> Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ >> LiveCode - Realize fast, compile-free coding > Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From keith.clarke at clarkeandclarke.co.uk Mon Dec 6 15:39:26 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Mon, 6 Dec 2010 20:39:26 +0000 Subject: 4.5.2 and iOS Deployment launched In-Reply-To: References: Message-ID: <6C84B8A5-2B20-49C4-A829-188ED7D0E54D@clarkeandclarke.co.uk> Hi Kevin, Is revServer now also integrated, as I don't see any mention in the release notes or any separate download links in the my products page? Thanks, Keith.. On 6 Dec 2010, at 20:07, Kevin Miller wrote: > On 06/12/2010 20:05, "Klaus on-rev" wrote: > >>> 4.5.2 is now available. And LiveCode for iOS is now available! >> >> Cool, thanks! >> >> But this reads as if there is a final version (1.0) of the iOS plug in >> available ;-) >> >>> To download them, please log into your account. >> >> I only see LC 4.5.2 but no link for the iOS mobile plug in? >> Or did I misunderstand the announcement? I have currently alpha15. >> >> It would be nice to see the current version somehwere on the webpage! > > Its all integrated into 4.5.2. There is no mobile plugin any more, its just > a deployment pack that gets enabled in the main IDE when you have it. > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > LiveCode - Realize fast, compile-free coding > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kevin at runrev.com Mon Dec 6 15:58:53 2010 From: kevin at runrev.com (Kevin Miller) Date: Mon, 06 Dec 2010 20:58:53 +0000 Subject: 4.5.2 and iOS Deployment launched In-Reply-To: Message-ID: On 06/12/2010 20:27, "Klaus on-rev" wrote: >> Ah, oh, I see, cool :-) >> And how can one tst this in the simulator like with the older plug ins? > > Sorry, found this in the release notes. > > But since I do not have the menubar with the icons or text showing, I feel a > bit lost :-/ > An additional menuitem would be really necessary! Good point! Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ LiveCode - Realize fast, compile-free coding From mkoob at rogers.com Mon Dec 6 16:11:22 2010 From: mkoob at rogers.com (Martin Koob) Date: Mon, 6 Dec 2010 13:11:22 -0800 (PST) Subject: revVideograbber + Mac OS X 10.6.5 + iSight bug In-Reply-To: <4CFD25AB.5080206@cogapp.com> References: <1291652624541-3074776.post@n4.nabble.com> <4CFD25AB.5080206@cogapp.com> Message-ID: <1291669882715-3075330.post@n4.nabble.com> Thanks for the offer to test this Ben. I will contact you off list. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/revVideograbber-Mac-OS-X-10-6-5-iSight-bug-tp3074776p3075330.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Mon Dec 6 16:13:16 2010 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 06 Dec 2010 23:13:16 +0200 Subject: Importing a specific file name Message-ID: <4CFD51EC.3010400@gmail.com> As my Devawriter Pro quits it exports an image "DevaW.jpg" and a text file "DevaW.txt" into the defaultFolder . . . not rocket science, but the best way that I can think of of saving one's work. NOW . . . I know how to import image and text files with an answer dialog. What I am unsure of is how to reload an image file and a text file with specific names. From pmbrig at gmail.com Mon Dec 6 16:35:02 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Mon, 6 Dec 2010 16:35:02 -0500 Subject: PDF ? In-Reply-To: <90DF3AE3-4A06-406E-8AAE-C1F129503850@me.com> References: <972782.99956.qm@web65405.mail.ac4.yahoo.com> <90DF3AE3-4A06-406E-8AAE-C1F129503850@me.com> Message-ID: <6968DD97-26CE-4C7D-BEA9-106A833690E7@gmail.com> If you only want to fill in the stamp and then print the result, what I do is import the pdf as an image, overlay fields wherever I need them, then fill them in by script, and print the result. If you want to export it instead of printing it, you could take a snapshot of the result and export that as jpg or, I guess, as a pdf file, though I'm not sure about the latter, maybe use the pdfLib for that. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Dec 6, 2010, at 1:34 AM, Anthony Howe wrote: > Thanks Jan, > > Great to hear the detail around this one. The feature you mention > that you're working on is actually all that we would require and > sounds ideal! > > We simply want to 'stamp' an existing document with a customers > unique ID and details. The area of the document to be stamped will > be blank space on each page....at a defined location (footer or > header area, for example) and requires no interaction with the > existing content. > > From there, just a re-export of the PDF would be required. > > What do you think? > > > > On 06/12/2010, at 5:24 PM, Jan Schenkel wrote: > >> --- On Sun, 12/5/10, Anthony Howe wrote: >>> My question was also not really >>> around whether PDF export is possible, but rather if it was >>> possible to open an existing PDF file (which was created in >>> LC, or not) and add new data (like a personalized footer or >>> header from LC app data for example), then, reexport it...as >>> a PDF, ready for distribution. >>> >>> The answer to this one so far seems to be no.....but I'm >>> hoping for an angle....:) >>> >>> Hope that clarifies things, and perhaps I should have >>> started a separate thread on this question, as I accept it >>> does stray somewhat from the original post. >>> >>> *gulp* >>> >>> Cheers, >>> A. >>> >> >> While I have written a library to create new PDF files from >> scratch, by script, I'm not sure where to begin taking apart an >> existing PDF file and modifying its content. >> The structure of a PDF file is completely unlike Word DOC or RTF >> files. Word processing files are structured around a flow of >> paragraphs, sentences and words. PDF files are a set of low-level >> instructions (draw a line here, draw this bit of text there, now >> switch to font 'Times', set the drawing color to 'red', etc.) and >> there is no rigid flow structure. >> More precisely, PDF has no concept of paragraphs - you're at the >> mercy of the producing application printing each bit of text in the >> 'right' order to ease extraction. In fact, PDF doesn't even have >> text styling concepts other than 'font'. You want an underline? >> Draw it yourself. >> In fact, it's so complicated that the selection of text in Adobe >> Reader or Apple Preview is based on OCR (optical character >> recognition) algorithms: we know there's a bit of text here, and >> that other bit of text has the same baseline, so that could >> actually be a single line of text in the user's mind - let's select >> both! >> So if you're looking to read an existing file, and modify the >> content - such as replacing placeholder text and expecting the >> whole flow of the text to update along with it - you have your work >> cut out for you. >> One feature I have been working on, is the ability to open an >> existing PDF file, and use pages from it as a background on top of >> which you draw additional elements. In that scenario I'm not even >> really tweaking the content, and this is presenting its own >> gotchas... >> >> Jan Schenkel. >> ===== >> Quartam Reports & PDF Library for LiveCode >> www.quartam.com >> >> ===== >> "As we grow older, we grow both wiser and more foolish at the same >> time." (La Rochefoucauld) >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Dec 6 16:41:05 2010 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 06 Dec 2010 23:41:05 +0200 Subject: PDF ? In-Reply-To: <6968DD97-26CE-4C7D-BEA9-106A833690E7@gmail.com> References: <972782.99956.qm@web65405.mail.ac4.yahoo.com> <90DF3AE3-4A06-406E-8AAE-C1F129503850@me.com> <6968DD97-26CE-4C7D-BEA9-106A833690E7@gmail.com> Message-ID: <4CFD5871.9000502@gmail.com> On 12/06/2010 11:35 PM, Peter Brigham MD wrote: > If you only want to fill in the stamp and then print the result, what > I do is import the pdf as an image, Wow! Hold it right there! My original 'seed' for this thread was a question as to how one could import a PDF as an IMAGE . . . . . . Please tell all . . . :) > overlay fields wherever I need them, then fill them in by script, and > print the result. If you want to export it instead of printing it, you > could take a snapshot of the result and export that as jpg or, I > guess, as a pdf file, though I'm not sure about the latter, maybe use > the pdfLib for that. > From jonathandlynch at gmail.com Mon Dec 6 16:45:38 2010 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Mon, 6 Dec 2010 16:45:38 -0500 Subject: LineSize In-Reply-To: References: Message-ID: Try using an image that contains a 1-pixel line, perhaps? On Mon, Dec 6, 2010 at 3:23 PM, Hershel Fisch wrote: > I cant get into technical part now, due to the lack of knowledge, my > concern > I need to draw a fine line on the screen and then to print it.now when I > set > the, LineSize,borderSize, borderWitdh to 1 and the height in the pallete to > 1, its not seen on the screen, but it prints at certain positions and not > at others so I have to move it. Whats the cause because I cant matchem up? > Then I tried to work this thing around while displaying on the screen > setting the lineSize to 2 and at printing setting it to 1 (back and forth) > then I realized that after a few times its not on the same loc. Now I'm > stuck. > All help appreciated > Hershel > > > On 12/6/10 1:11 AM, "Scott Rossi" wrote: > > > Recently, Hershel Fisch wrote: > > > >> Hi all, I'm wondering why when I set the lineSize of a line to1 and the > >> height to 1 the line is not seen on the screen? > >> Thanks, Hershel > > > > Doesn't make sense, but a line has to have a minimum height or width of 2 > > pixels. Perhaps at some point it was determined 2 pixels was the minimum > > space needed for clickable control handles, but that's just a guess. > > Otherwise, 1 pixel lines will always need at least one dimension to be > two > > pixels. > > > > Regards, > > > > Scott Rossi > > Creative Director > > Tactile Media, UX Design > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Do all things with love From pmbrig at gmail.com Mon Dec 6 16:45:48 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Mon, 6 Dec 2010 16:45:48 -0500 Subject: ANN: glx2 is now open source In-Reply-To: References: <411375436109.20101204173219@ahsoftware.net> <76BB1924-92CE-4104-94FD-18D9727C3501@twft.com> Message-ID: On Dec 6, 2010, at 12:25 PM, Keith Clarke wrote: > > On 6 Dec 2010, at 17:16, Bob Sneidar wrote: > >> >> On Dec 4, 2010, at 5:32 PM, Mark Wieder wrote: >> >>> Optimist - The glass is half full. >>> Pessimist - The glass is half empty. >>> Engineer - The glass is twice a large as it needs to be. >> Mathmetician - The glass is BOTH half empty AND half full. > Zen monk - There is no glass... there is no monk. Gourmand - the glass *was* half full.... I think it was a 2007 Cab, a bit too fruity, I'd give it an 89. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From warren at warrensweb.us Mon Dec 6 16:52:24 2010 From: warren at warrensweb.us (Warren Samples) Date: Mon, 06 Dec 2010 15:52:24 -0600 Subject: 4.5.2 and iOS Deployment launched In-Reply-To: <1291666299.24294.259.camel@mint-i7> References: <1291666299.24294.259.camel@mint-i7> Message-ID: <1291672344.24294.305.camel@mint-i7> On Mon, 2010-12-06 at 14:11 -0600, Warren Samples wrote: > On Mon, 2010-12-06 at 19:31 +0000, Kevin Miller wrote: > > Hi folks, > > > > 4.5.2 is now available. And LiveCode for iOS is now available! > > > > To download them, please log into your account. > > > > If you?re interested, you may also want to check out our new front door > > http://www.runrev.com/ > > > > Kind regards, > > > > Kevin > > > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > > LiveCode - Realize fast, compile-free coding > > > Hello, > > The Linux installer didn't work quite right for me. Installation failed > when attempting to install just for myself - "Installer slave quit > unexpectedly", although it was successful when installing for all users. > While things like this always make me question my memory, I'm *sure* > I've always installed just for myself. I do know I've never encountered > this behavior ;) (Linux Mint) > > Warren Never mind... I just installed in a different account and it worked as expected, so obviously I have done something to goof up my system. Warren From richmondmathewson at gmail.com Mon Dec 6 16:53:40 2010 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 06 Dec 2010 23:53:40 +0200 Subject: ANN: glx2 is now open source In-Reply-To: References: <411375436109.20101204173219@ahsoftware.net> <76BB1924-92CE-4104-94FD-18D9727C3501@twft.com> Message-ID: <4CFD5B64.3090201@gmail.com> On 12/06/2010 11:45 PM, Peter Brigham MD wrote: > On Dec 6, 2010, at 12:25 PM, Keith Clarke wrote: > >> >> On 6 Dec 2010, at 17:16, Bob Sneidar wrote: >> >>> >>> On Dec 4, 2010, at 5:32 PM, Mark Wieder wrote: >>> >>>> Optimist - The glass is half full. >>>> Pessimist - The glass is half empty. >>>> Engineer - The glass is twice a large as it needs to be. >>> Mathmetician - The glass is BOTH half empty AND half full. >> Zen monk - There is no glass... there is no monk. > > Gourmand - the glass *was* half full.... I think it was a 2007 Cab, a > bit too fruity, I'd give it an 89. > What fusses me is that in all of this discussion about half-full glasses there is not reference to the person(s) who perceive(s) the glass to be half-full: a tree falling in a forest where there are no witnesses makes no sound. Now, in my experience as a Philosophy graduate; a half full wine glass generally requires the involvement of a partially sated wine-bibber. What we really need to consider here is how many half-glasses have to be imbibed before the wine-bibber is unable to tell whether the glass in front of him/her is full, half-full, empty, broken on the floor, rolled under the table, or morphed into a frog that has then winked in a highly satirical fashion at the wine-bibber! From pmbrig at gmail.com Mon Dec 6 16:55:16 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Mon, 6 Dec 2010 16:55:16 -0500 Subject: PDF ? In-Reply-To: <4CFD5871.9000502@gmail.com> References: <972782.99956.qm@web65405.mail.ac4.yahoo.com> <90DF3AE3-4A06-406E-8AAE-C1F129503850@me.com> <6968DD97-26CE-4C7D-BEA9-106A833690E7@gmail.com> <4CFD5871.9000502@gmail.com> Message-ID: Oh, right. Sorry, I guess I spoke too soon. I haven't actually imported pdf's as images, I always saved the pdf as an image first then imported that. I have a bunch of forms that I fill in that way and I've always been able to set everything up for the user first -- I've never tried to do it "on the fly." Sorry to mislead you.... -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Dec 6, 2010, at 4:41 PM, Richmond wrote: > On 12/06/2010 11:35 PM, Peter Brigham MD wrote: >> If you only want to fill in the stamp and then print the result, >> what I do is import the pdf as an image, > > Wow! Hold it right there! My original 'seed' for this thread was a > question as to how one > could import a PDF as an IMAGE . . . > > . . . Please tell all . . . :) > >> overlay fields wherever I need them, then fill them in by script, >> and print the result. If you want to export it instead of printing >> it, you could take a snapshot of the result and export that as jpg >> or, I guess, as a pdf file, though I'm not sure about the latter, >> maybe use the pdfLib for that. >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobcole at earthlink.net Mon Dec 6 17:00:23 2010 From: bobcole at earthlink.net (Bob Cole) Date: Mon, 6 Dec 2010 16:00:23 -0600 Subject: Code To Minick Control-A, Control-C, Control-V (Select All, Copy, Paste) Message-ID: <1E545BE5-5382-4631-953F-4BC1731A85A7@earthlink.net> Here is a script that I use to copy all the text in a field. This works on Mac OS X and Windows (XP and 7). on mouseUp select the text of field "myList" copy wait 1 second select empty set the vscroll of field "myList" to 0 -- reset the scroll to the top of a long list end mouseUp The select command highlights the text. The wait command allows time for the user to get feedback The select empty command removes the highlight The vscroll is set to the top of a long list in the field. With the text copied, it can be pasted into a different application. HTH, Bob Date: Mon, 6 Dec 2010 09:43:34 -0500 From: "Walt Brown" "Select the text of fld fFieldName" seems to work. Walt From massung at gmail.com Mon Dec 6 17:08:40 2010 From: massung at gmail.com (Jeff Massung) Date: Mon, 6 Dec 2010 15:08:40 -0700 Subject: LineSize In-Reply-To: References: Message-ID: It's been a while since I've had to do anything with a printer (so things may be better now?). But, back in the day, there were lots of problems drawing graphics to a printer because of unit conversions. Simply put, the printer has a *much* higher resolution per page than whatever it is that you are printing. A 1px width line that's perfectly horizontal or vertical may not show up at all in the output. I remember having to render [vector-based] graphics to the printer by converting between screen-space to page-space for it to start looking right. I don't know if you have that kind of control in LC or not. Hope this helps, or gives someone else a clue to help you further. Jeff M. > > On Mon, Dec 6, 2010 at 3:23 PM, Hershel Fisch > wrote: > > > I cant get into technical part now, due to the lack of knowledge, my > > concern > > I need to draw a fine line on the screen and then to print it.now when I > > set > > the, LineSize,borderSize, borderWitdh to 1 and the height in the pallete > to > > 1, its not seen on the screen, but it prints at certain positions and > not > > at others so I have to move it. Whats the cause because I cant matchem > up? > > Then I tried to work this thing around while displaying on the screen > > setting the lineSize to 2 and at printing setting it to 1 (back and > forth) > > then I realized that after a few times its not on the same loc. Now I'm > > stuck. > > All help appreciated > > Hershel > > > > > > On 12/6/10 1:11 AM, "Scott Rossi" wrote: > > > > > Recently, Hershel Fisch wrote: > > > > > >> Hi all, I'm wondering why when I set the lineSize of a line to1 and > the > > >> height to 1 the line is not seen on the screen? > > >> Thanks, Hershel > > > > > > Doesn't make sense, but a line has to have a minimum height or width of > 2 > > > pixels. Perhaps at some point it was determined 2 pixels was the > minimum > > > space needed for clickable control handles, but that's just a guess. > > > Otherwise, 1 pixel lines will always need at least one dimension to be > > two > > > pixels. > > > > > > Regards, > > > > > > Scott Rossi > > > Creative Director > > > Tactile Media, UX Design > > > > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription > > > preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > Do all things with love > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobs at twft.com Mon Dec 6 17:21:14 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 6 Dec 2010 14:21:14 -0800 Subject: ANN: glx2 is now open source In-Reply-To: <4CFD5B64.3090201@gmail.com> References: <411375436109.20101204173219@ahsoftware.net> <76BB1924-92CE-4104-94FD-18D9727C3501@twft.com> <4CFD5B64.3090201@gmail.com> Message-ID: Good point. And I might add, we have not considered the REASON for the glass being half full. Did the imbiber not particularly like the wine? In which case, we would be well advised not to finish it! It could also be that the imbiber had quite enough wine, and fell senseless upon the floor, which would free us up to finish the remaining beverage. But that raises a whole slew of other questions, such as, where is the imbiber now? Did he sober up and leave the room? If so, then the wine is probably now fairly warm, and, no one has considered if it is even perhaps a bit spoilt, leaving us back where we started. I don't see how we can get any further along without first addressing these vital points. I for one say let's get some new wine glasses and a fresh bottle and dispense with the old wine! Bob On Dec 6, 2010, at 1:53 PM, Richmond wrote: > On 12/06/2010 11:45 PM, Peter Brigham MD wrote: >> On Dec 6, 2010, at 12:25 PM, Keith Clarke wrote: >> >>> >>> On 6 Dec 2010, at 17:16, Bob Sneidar wrote: >>> >>>> >>>> On Dec 4, 2010, at 5:32 PM, Mark Wieder wrote: >>>> >>>>> Optimist - The glass is half full. >>>>> Pessimist - The glass is half empty. >>>>> Engineer - The glass is twice a large as it needs to be. >>>> Mathmetician - The glass is BOTH half empty AND half full. >>> Zen monk - There is no glass... there is no monk. >> >> Gourmand - the glass *was* half full.... I think it was a 2007 Cab, a bit too fruity, I'd give it an 89. >> > What fusses me is that in all of this discussion about half-full glasses there is not reference to > the person(s) who perceive(s) the glass to be half-full: a tree falling in a forest where there are > no witnesses makes no sound. > > Now, in my experience as a Philosophy graduate; a half full wine glass generally requires > the involvement of a partially sated wine-bibber. > > What we really need to consider here is how many half-glasses have to be imbibed before the > wine-bibber is unable to tell whether the glass in front of him/her is full, half-full, empty, broken > on the floor, rolled under the table, or morphed into a frog that has then winked in a highly > satirical fashion at the wine-bibber! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Mon Dec 6 18:13:59 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Mon, 6 Dec 2010 18:13:59 -0500 Subject: Code To Minick Control-A, Control-C, Control-V (Select All, Copy, Paste) In-Reply-To: <1E545BE5-5382-4631-953F-4BC1731A85A7@earthlink.net> References: <1E545BE5-5382-4631-953F-4BC1731A85A7@earthlink.net> Message-ID: On Dec 6, 2010, at 5:00 PM, Bob Cole wrote: > Here is a script that I use to copy all the text in a field. > This works on Mac OS X and Windows (XP and 7). > > on mouseUp > select the text of field "myList" > copy > wait 1 second > select empty > set the vscroll of field "myList" to 0 -- reset the scroll to > the top of a long list > end mouseUp > > The select command highlights the text. > The wait command allows time for the user to get feedback > The select empty command removes the highlight > The vscroll is set to the top of a long list in the field. > > With the text copied, it can be pasted into a different application. Why not just: set the clipboarddata{"text"] to the text of fld "myList" answer "The text is on the clipboard." as sheet -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From anthonyhowe at mac.com Mon Dec 6 18:27:21 2010 From: anthonyhowe at mac.com (Anthony Howe) Date: Tue, 7 Dec 2010 10:27:21 +1100 Subject: PDF ? In-Reply-To: References: <972782.99956.qm@web65405.mail.ac4.yahoo.com> <90DF3AE3-4A06-406E-8AAE-C1F129503850@me.com> <6968DD97-26CE-4C7D-BEA9-106A833690E7@gmail.com> <4CFD5871.9000502@gmail.com> Message-ID: <38750858-334C-42CD-95BE-1B3918BBC298@mac.com> *whines like a whimpering cat at the last prospects of an automated process dwindle into insignficance.* ho hum. It's interesting that software like acrobat pro and PDFShrink and particularly this one... PDFPen http://smilesoftware.com/PDFpen/index.html ... seem to have the 'open & edit a PDF file' thing down. I wonder if there are any closet LiveCode dev dudes on their teams!!!! On 07/12/2010, at 8:55 AM, Peter Brigham MD wrote: Oh, right. Sorry, I guess I spoke too soon. I haven't actually imported pdf's as images, I always saved the pdf as an image first then imported that. I have a bunch of forms that I fill in that way and I've always been able to set everything up for the user first -- I've never tried to do it "on the fly." Sorry to mislead you.... -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Dec 6, 2010, at 4:41 PM, Richmond wrote: > On 12/06/2010 11:35 PM, Peter Brigham MD wrote: >> If you only want to fill in the stamp and then print the result, what I do is import the pdf as an image, > > Wow! Hold it right there! My original 'seed' for this thread was a question as to how one > could import a PDF as an IMAGE . . . > > . . . Please tell all . . . :) > >> overlay fields wherever I need them, then fill them in by script, and print the result. If you want to export it instead of printing it, you could take a snapshot of the result and export that as jpg or, I guess, as a pdf file, though I'm not sure about the latter, maybe use the pdfLib for that. >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From Mark_Smith at cpe.umanitoba.ca Mon Dec 6 23:38:43 2010 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Mon, 6 Dec 2010 22:38:43 -0600 Subject: focus question In-Reply-To: <4cfcfd23.922ddc0a.091d.607b@mx.google.com> References: <1291583295442-3073660.post@n4.nabble.com> <8455EF33-F64F-47CE-A 5D5-B98E09174CE6@dvcreators.net><1291639305449-3074402.post@n4.nabble.com>, <4cfcfd23.922ddc0a.091d.607b@mx.google.com> Message-ID: <3F95480D5F0DA64EA0785711087864DE8C61A4E0E9@exch01.mchpe.cpe.umanitoba.ca> Hi Walt, I think the list strips attachments. Could you send to me offlist? mark_smith at cpe.umanitoba.ca Cheers, - Mark ________________________________________ From: use-livecode-bounces at lists.runrev.com [use-livecode-bounces at lists.runrev.com] On Behalf Of Walt Brown [walter.h.brown at gmail.com] Sent: Monday, December 06, 2010 9:11 AM To: 'How to use LiveCode'; use-revolution at lists.runrev.com Subject: RE: focus question I have had to use "Select after char -1 of fld X". I was actually using it to place the cursor at various character positions in a field in a rawKeyDown handler - I was using predictive lookup in rawKeyDown as a field validation technique, playing around after David, Mark, and BvG's EXCELLENT LiveCode V session yesterday. An example is in the last field of my attached test stack. Walt -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Smith Sent: Monday, December 06, 2010 7:42 AM To: use-revolution at lists.runrev.com Subject: Re: focus question Josh Mellicker wrote: > > Are you using "select after fld X"? > Hi Josh, thanks so much. No, I was using "focus on field x". The dictionary says that if the field is unlocked text then the insertion point is placed after the text in the field. I think I'll suggest that line be removed since it clearly (in a number of tests) places it at the beginning. However, your suggestion works perfectly, thanks! -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/focus-question-tp3073660p3074 402.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From Mark_Smith at cpe.umanitoba.ca Mon Dec 6 23:40:38 2010 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Mon, 6 Dec 2010 22:40:38 -0600 Subject: focus question In-Reply-To: <2FE7DF6B-1896-4ADC-80E3-F7A7A2BD2EC5@twft.com> References: <1291583295442-3073660.post@n4.nabble.com> <8455EF33-F64F-47CE-A 5D5-B98E09174CE6@dvcreators.net><1291639305449-3074402.post@n4.nabble.com>< 4cfcfd23.922ddc0a.091d.607b@mx.google.com>, <2FE7DF6B-1896-4ADC-80E3-F7A7A2BD2EC5@twft.com> Message-ID: <3F95480D5F0DA64EA0785711087864DE8C61A4E0EA@exch01.mchpe.cpe.umanitoba.ca> Sounds like some weekend homework to me :-) I'll let you know how I make out. -- Mark ________________________________________ From: use-livecode-bounces at lists.runrev.com [use-livecode-bounces at lists.runrev.com] On Behalf Of Bob Sneidar [bobs at twft.com] Sent: Monday, December 06, 2010 12:07 PM To: How to use LiveCode Subject: Re: focus question I have had the idea in the past to use a property to define whether or not a field should place the cursor at the beginning, end or last selection of a field upon entering it. Shouldn't be hard to do. Make 2 properties in each field, focusSelection, lastSelection and read/update these accordingly upon openField and exitField (closeField mind you that only gets sent when something changes). Keep in mind that before getting the focusSelection upon openField you would need to check to see if the properties already exist and create them if they didn't. For extra credit, allow the user to change the behavior with a right click on the field object. I'd do it myself, but I am too doggone lazy. Bob On Dec 6, 2010, at 7:11 AM, Walt Brown wrote: > I have had to use "Select after char -1 of fld X". I was actually using it > to place the cursor at various character positions in a field in a > rawKeyDown handler - I was using predictive lookup in rawKeyDown as a field > validation technique, playing around after David, Mark, and BvG's EXCELLENT > LiveCode V session yesterday. > > An example is in the last field of my attached test stack. > > Walt _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From walter.h.brown at gmail.com Tue Dec 7 00:06:32 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Tue, 7 Dec 2010 00:06:32 -0500 Subject: focus question In-Reply-To: <3F95480D5F0DA64EA0785711087864DE8C61A4E0E9@exch01.mchpe.cpe.umanitoba.ca> References: <1291583295442-3073660.post@n4.nabble.com> <8455EF33-F64F-47CE-A 5D5-B98E09174CE6@dvcreators.net><1291639305449-3074402.post@n4.nabble.com>, <4cfcfd23.922ddc0a.091d.607b@mx.google.com> <3F95480D5F0DA64EA0785711087864DE8C61A4E0E9@exch01.mchpe.cpe.umanitoba.ca> Message-ID: <4cfdc0ed.896ae50a.7fe0.ffffe922@mx.google.com> Done. -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Smith Sent: Monday, December 06, 2010 11:39 PM To: How to use LiveCode Subject: RE: focus question Hi Walt, I think the list strips attachments. Could you send to me offlist? mark_smith at cpe.umanitoba.ca Cheers, - Mark ________________________________________ From: use-livecode-bounces at lists.runrev.com [use-livecode-bounces at lists.runrev.com] On Behalf Of Walt Brown [walter.h.brown at gmail.com] Sent: Monday, December 06, 2010 9:11 AM To: 'How to use LiveCode'; use-revolution at lists.runrev.com Subject: RE: focus question I have had to use "Select after char -1 of fld X". I was actually using it to place the cursor at various character positions in a field in a rawKeyDown handler - I was using predictive lookup in rawKeyDown as a field validation technique, playing around after David, Mark, and BvG's EXCELLENT LiveCode V session yesterday. An example is in the last field of my attached test stack. Walt -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Smith Sent: Monday, December 06, 2010 7:42 AM To: use-revolution at lists.runrev.com Subject: Re: focus question Josh Mellicker wrote: > > Are you using "select after fld X"? > Hi Josh, thanks so much. No, I was using "focus on field x". The dictionary says that if the field is unlocked text then the insertion point is placed after the text in the field. I think I'll suggest that line be removed since it clearly (in a number of tests) places it at the beginning. However, your suggestion works perfectly, thanks! -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/focus-question-tp3073660p3074 402.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From walter.h.brown at gmail.com Tue Dec 7 00:10:01 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Tue, 7 Dec 2010 00:10:01 -0500 Subject: ANN: glx2 is now open source In-Reply-To: References: <411375436109.20101204173219@ahsoftware.net> <76BB1924-92CE-4104-94FD-18D9727C3501@twft.com> <4CFD5B64.3090201@gmail.com> Message-ID: <4cfdc1be.4bfde50a.2096.ffffe10e@mx.google.com> Maybe the observation was made mid-pour. Or mid-swallow. The glass was half full because I haven't finished yet. -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bob Sneidar Sent: Monday, December 06, 2010 5:21 PM To: How to use LiveCode Subject: Re: ANN: glx2 is now open source Good point. And I might add, we have not considered the REASON for the glass being half full. Did the imbiber not particularly like the wine? In which case, we would be well advised not to finish it! It could also be that the imbiber had quite enough wine, and fell senseless upon the floor, which would free us up to finish the remaining beverage. But that raises a whole slew of other questions, such as, where is the imbiber now? Did he sober up and leave the room? If so, then the wine is probably now fairly warm, and, no one has considered if it is even perhaps a bit spoilt, leaving us back where we started. I don't see how we can get any further along without first addressing these vital points. I for one say let's get some new wine glasses and a fresh bottle and dispense with the old wine! Bob On Dec 6, 2010, at 1:53 PM, Richmond wrote: > On 12/06/2010 11:45 PM, Peter Brigham MD wrote: >> On Dec 6, 2010, at 12:25 PM, Keith Clarke wrote: >> >>> >>> On 6 Dec 2010, at 17:16, Bob Sneidar wrote: >>> >>>> >>>> On Dec 4, 2010, at 5:32 PM, Mark Wieder wrote: >>>> >>>>> Optimist - The glass is half full. >>>>> Pessimist - The glass is half empty. >>>>> Engineer - The glass is twice a large as it needs to be. >>>> Mathmetician - The glass is BOTH half empty AND half full. >>> Zen monk - There is no glass... there is no monk. >> >> Gourmand - the glass *was* half full.... I think it was a 2007 Cab, a bit too fruity, I'd give it an 89. >> > What fusses me is that in all of this discussion about half-full > glasses there is not reference to the person(s) who perceive(s) the > glass to be half-full: a tree falling in a forest where there are no witnesses makes no sound. > > Now, in my experience as a Philosophy graduate; a half full wine glass > generally requires the involvement of a partially sated wine-bibber. > > What we really need to consider here is how many half-glasses have to > be imbibed before the wine-bibber is unable to tell whether the glass > in front of him/her is full, half-full, empty, broken on the floor, > rolled under the table, or morphed into a frog that has then winked in a highly satirical fashion at the wine-bibber! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jmac at consensustech.com Tue Dec 7 00:30:20 2010 From: jmac at consensustech.com (Jim MacConnell) Date: Mon, 6 Dec 2010 21:30:20 -0800 Subject: iOS pickWheel woes.... Message-ID: First: I love 4.5.2 and the iOS integration. Second: I'm afraid I'm collecting evidence that I am stupid. I can't get a result from iphonePick or menuPick in the simulator much less on my iTouch. What am I doing wrong? - - - - - I'm following the example in revLessons "How do I use the Picker View on an iPhone?" except I have locked field "AnswerField" with a single name in it and the following script. - - - - on mouseUp put field "List Of Data" into listOfData -- Load the entire list of names put lineOffset (the text of me, listOfData) into curIndex -- Find the line of the current name iphonePick listOfData, curIndex -- Load picker & highlight current name if the result is empty then -- Double check something happened put "NOPE" into field "AnswerField" else put the result into field "AnswerField" -- Put the selection into the field end if end mouseUp - - - - - I click on the field to bring up pick wheel and preselect the name currently shown in the field. I "spin" the wheel to select a different name and click "Done". That should return new name or index or something. All I get is a number that happens to be the index of the initial selection (e.g. 4 if the fourth name was selected initially). When I use an option button to try to do the same thing using menuPick, I get a different useless result.. a change in the name of the button but no other actions. It's as though the "Done" part of the iphonePick stopping everything.. Am I missing something? Is this not actually operational yet.. and if not, why oh why did you show it to me.... This is so basic to so much I need to do that I hate having it so close and yet so far. I can add a mouseWithin/mouseWithout type of handler to poll the name of the button but that seems like overkill and probably a bad idea for more reasons than I can imagine...... From mwieder at ahsoftware.net Tue Dec 7 02:04:19 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 6 Dec 2010 23:04:19 -0800 Subject: varargs best practice? Message-ID: <1531568159765.20101206230419@ahsoftware.net> All- Does anyone have ideas on a best practice for handling variable numbers of parameters (as in C varargs)? I have two functions and I'd like to pass a variable number of parameters (probably no more than six) to the first function and have it hand them off to the second: function getString pVerb, pArgs -- pArgs may be many parameters return doCommand(pVerb, pArgs) end getString function doCommand pVerb, pArgs -- do something with parameters -- return something end doCommand The problem is that only the first argument gets passed to the doCommand function. If I iterate through the parameters to getString using paramCount and param(x) then the result gets packaged up in quotes when it gets handed to doCommand and it becomes one parameter. I'm about to do something really ugly with the code and hoping that someone has been through this already and has a nifty way of dealing with this situation. -- -Mark Wieder mwieder at ahsoftware.net From janschenkel at yahoo.com Tue Dec 7 03:00:42 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 7 Dec 2010 00:00:42 -0800 (PST) Subject: varargs best practice? In-Reply-To: <1531568159765.20101206230419@ahsoftware.net> Message-ID: <47332.82935.qm@web65401.mail.ac4.yahoo.com> --- On Mon, 12/6/10, Mark Wieder wrote: > All- > > Does anyone have ideas on a best practice for handling > variable > numbers of parameters (as in C varargs)? I have two > functions and I'd > like to pass a variable number of parameters (probably no > more than > six) to the first function and have it hand them off to the > second: > > function getString pVerb, pArgs -- pArgs may be many > parameters > ? return doCommand(pVerb, pArgs) > end getString > > function doCommand pVerb, pArgs > ? -- do something with parameters > ? -- return something > end doCommand > > The problem is that only the first argument gets passed to > the > doCommand function. If I iterate through the parameters to > getString > using paramCount and param(x) then the result gets packaged > up in > quotes when it gets handed to doCommand and it becomes one > parameter. > > I'm about to do something really ugly with the code and > hoping that > someone has been through this already and has a nifty way > of dealing > with this situation. > > -- > -Mark Wieder > mwieder at ahsoftware.net > Why not repackage the additional params as an array, and pass that on to the 'doCommand' handler? The 'doCommand' handler can then check if the second parameter is an array, and if not, check the paramCount for those cases where it is called directly, rather than through the 'getString' function. Of course, you can always collect the parameters and build a 'do' instruction; I just dropped a button onto a stack and gave it this script: ## on mouseUp answer getString("alpha","beta","gamma") end mouseUp function getString pVerb local tToDo, tParamIndex put "return doCommand(pVerb" into tToDo repeat with tParamIndex = 2 to the paramCount put ",param(" & tParamIndex & ")" after tToDo end repeat put ")" after tToDo do tToDo end getString function doCommand pVerb local tOutput, tParamIndex put "Hello from doCommand" & return & \ "Verb: " & pVerb & return & \ "Params: "into tOutput repeat with tParamIndex = 2 to the paramCount put param(tParamIndex) & "," after tOutput end repeat delete char -1 of tOutput return tOutput end doCommand ## Clicking the button produced an answer box with the text: ## Hello from doCommand Verb: alpha Params: beta,gamma ## So I guess it works :-) HTH, Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From mwieder at ahsoftware.net Tue Dec 7 03:06:28 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 7 Dec 2010 00:06:28 -0800 Subject: varargs best practice? In-Reply-To: <47332.82935.qm@web65401.mail.ac4.yahoo.com> References: <47332.82935.qm@web65401.mail.ac4.yahoo.com> Message-ID: <1111571888156.20101207000628@ahsoftware.net> Jan- Thanks. Arrays were the ugly thing I was about to dive into. I'm impressed that you found something even uglier . -- -Mark Wieder mwieder at ahsoftware.net From janschenkel at yahoo.com Tue Dec 7 03:10:49 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 7 Dec 2010 00:10:49 -0800 (PST) Subject: PDF ? In-Reply-To: <90DF3AE3-4A06-406E-8AAE-C1F129503850@me.com> Message-ID: <72913.36088.qm@web65411.mail.ac4.yahoo.com> --- On Sun, 12/5/10, Anthony Howe wrote: > Thanks Jan, > > Great to hear the detail around this one. The feature you > mention that you're working on is actually all that we would > require and sounds ideal! > > We simply want to 'stamp' an existing document with a > customers unique ID and details. The area of the document to > be stamped will be blank space on each page....at a defined > location (footer or header area, for example) and requires > no interaction with the existing content. > > From there, just a re-export of the PDF would be required. > > What do you think? > > > Unfortunately, my code is not yet mature enough - for this sort of situation, I'd use iText (open source / AGPL) if you don't mind having a dependency on Java. Let me see if I can put together an example and post it on my blog sometime this week. Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From janschenkel at yahoo.com Tue Dec 7 03:12:50 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 7 Dec 2010 00:12:50 -0800 (PST) Subject: varargs best practice? In-Reply-To: <1111571888156.20101207000628@ahsoftware.net> Message-ID: <919002.30032.qm@web65409.mail.ac4.yahoo.com> --- On Tue, 12/7/10, Mark Wieder wrote: > Jan- > > Thanks. Arrays were the ugly thing I was about to dive > into. I'm > impressed that you found something even uglier . > > -- > -Mark Wieder > mwieder at ahsoftware.net > You should see the first iteration of each user interface that I concoct - the sort of thing only an engineer could appreciate ;-) Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From revolution at derbrill.de Tue Dec 7 03:24:49 2010 From: revolution at derbrill.de (Malte Brill) Date: Tue, 7 Dec 2010 09:24:49 +0100 Subject: varargs best practice? In-Reply-To: References: Message-ID: mark, Is this any help? function doCommand local tValue,tParam,tVerb repeat with i=1 to paramcount() if i References: Message-ID: <90D7F0E7-ADFA-4E84-9D02-01ABD8AA4A44@numericable.com> How can I update LiveCode 4.5.2 from 4.5.1 ? Account system is incomprehensible for me... Thank you for help. Rene(?) Le 6 d?c. 2010 ? 20:31, Kevin Miller a ?crit : > Hi folks, > > 4.5.2 is now available. And LiveCode for iOS is now available! > > To download them, please log into your account. > > If you?re interested, you may also want to check out our new front door > http://www.runrev.com/ > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > LiveCode - Realize fast, compile-free coding > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From glpunzi at lordzealon.com Tue Dec 7 04:57:09 2010 From: glpunzi at lordzealon.com (Giuseppe Luigi Punzi) Date: Tue, 7 Dec 2010 10:57:09 +0100 Subject: 4.5.2 and iOS Deployment launched In-Reply-To: <90D7F0E7-ADFA-4E84-9D02-01ABD8AA4A44@numericable.com> References: <90D7F0E7-ADFA-4E84-9D02-01ABD8AA4A44@numericable.com> Message-ID: <201012071057.09886.glpunzi@lordzealon.com> In Downloads in Runrev site, I downloaded (download links to 4.5.2) only and installed On Tuesday 07 December 2010 10:40:35 Ren? Micout wrote: > How can I update LiveCode 4.5.2 from 4.5.1 ? > Account system is incomprehensible for me... > Thank you for help. > Rene(?) > > Le 6 d?c. 2010 ? 20:31, Kevin Miller a ?crit : > > Hi folks, > > > > 4.5.2 is now available. And LiveCode for iOS is now available! > > > > To download them, please log into your account. > > > > If you?re interested, you may also want to check out our new front door > > http://www.runrev.com/ > > > > Kind regards, > > > > Kevin > > > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > > LiveCode - Realize fast, compile-free coding > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- -- Giuseppe Luigi http://www.lordzealon.com From ben at runrev.com Tue Dec 7 05:17:07 2010 From: ben at runrev.com (Benjamin Beaumont) Date: Tue, 7 Dec 2010 10:17:07 +0000 Subject: LiveCode and facebook In-Reply-To: <0C487C16-3299-4DED-A842-9179057A9173@etcpp.de> References: <1291041824113-3063680.post@n4.nabble.com> <1291049853005-3063930.post@n4.nabble.com> <0C487C16-3299-4DED-A842-9179057A9173@etcpp.de> Message-ID: Hi Harald, Thanks for your post. It sounds like you've solved a problem that would interest quite a number of others in the community. If you would like to share your code then you can do with every other LiveCode user by uploading it to revOnline. It's the 4th button from the left in the main LiveCode toolbar. Warm regards, Ben On 3 December 2010 12:09, Harald M?ller wrote: > Hi all. > > I managed to login a user to facebook via LiveCode and to get his/her > permissions > to write to the wall. Also posting to the users wall is possible. I'm doing > this for later > versions of the iOS Plugin and hope it will include revBrowser (which I > need to let the > user login). > > If anyone is interested in the code and wants to optimize it with me: > you're welcome! > BTW: Is there a place anywhere in the web for working together on code? > > Best regards, > Harald. > > | Harald M?ller (www.etcpp.de) > | Theodor-K?rner-Stra?e 4, 97072 W?rzburg > | Telefon + 49-[0]931-329090-42 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Email has been scanned for viruses by Altman Technologies' email management > service - www.altman.co.uk/emailsystems -- _____________________________________________ Benjamin Beaumont . RunRev Ltd Revolution Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com From rene.micout at numericable.com Tue Dec 7 05:23:55 2010 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Tue, 7 Dec 2010 11:23:55 +0100 Subject: 4.5.2 and iOS Deployment launched In-Reply-To: <201012071057.09886.glpunzi@lordzealon.com> References: <90D7F0E7-ADFA-4E84-9D02-01ABD8AA4A44@numericable.com> <201012071057.09886.glpunzi@lordzealon.com> Message-ID: <5BF0E27C-02C9-41FB-9443-C5EDA055555C@numericable.com> Bonjour Giuseppe, On RunRev site > Downloads, I have : - LiveCode Trial > Create account now : I have an account - LiveCode Player > it is not the subject... - Existing Users (someone like me) > log in to your account I log > "LiveCode 4.5.0 Commercial : you have an active renewal pack expires 7th October 2011" (iOS : NO) "LiveCode 4.5.0 Commercial : you have an active renewal pack expires 9th April 2011" (iOS : NO) "LiveCode 4.5.0 Personal" (iOS : YES) and... Account system is incomprehensible for me (bis) :-) Rene(?) Le 7 d?c. 2010 ? 10:57, Giuseppe Luigi Punzi a ?crit : > In Downloads in Runrev site, I downloaded (download links to 4.5.2) only and > installed > > On Tuesday 07 December 2010 10:40:35 Ren? Micout wrote: >> How can I update LiveCode 4.5.2 from 4.5.1 ? >> Account system is incomprehensible for me... >> Thank you for help. >> Rene(?) >> >> Le 6 d?c. 2010 ? 20:31, Kevin Miller a ?crit : >>> Hi folks, >>> >>> 4.5.2 is now available. And LiveCode for iOS is now available! >>> >>> To download them, please log into your account. >>> >>> If you?re interested, you may also want to check out our new front door >>> http://www.runrev.com/ >>> >>> Kind regards, >>> >>> Kevin >>> >>> Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ >>> LiveCode - Realize fast, compile-free coding >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > -- > Giuseppe Luigi > http://www.lordzealon.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From glpunzi at lordzealon.com Tue Dec 7 05:36:51 2010 From: glpunzi at lordzealon.com (Giuseppe Luigi Punzi) Date: Tue, 7 Dec 2010 11:36:51 +0100 Subject: 4.5.2 and iOS Deployment launched In-Reply-To: <5BF0E27C-02C9-41FB-9443-C5EDA055555C@numericable.com> References: <201012071057.09886.glpunzi@lordzealon.com> <5BF0E27C-02C9-41FB-9443-C5EDA055555C@numericable.com> Message-ID: <201012071136.51360.glpunzi@lordzealon.com> On Tuesday 07 December 2010 11:23:55 Ren? Micout wrote: > Bonjour Giuseppe, > On RunRev site > Downloads, I have : > - LiveCode Trial > Create account now : I have an account > - LiveCode Player > it is not the subject... > - Existing Users (someone like me) > log in to your account > I log > > "LiveCode 4.5.0 Commercial : you have an active renewal pack expires 7th > October 2011" (iOS : NO) "LiveCode 4.5.0 Commercial : you have an active > renewal pack expires 9th April 2011" (iOS : NO) "LiveCode 4.5.0 Personal" > (iOS : YES) > and... > Account system is incomprehensible for me (bis) > > :-) Sorry, I can't help you more :S I have a Trial license :P I only knows, thath, when logged, in Download Links (Windows, MacOS, Linux), if you look at it, points to 4.5.2 versions (for me at least. Cheers. -- -- Giuseppe Luigi http://www.lordzealon.com From rene.micout at numericable.com Tue Dec 7 05:46:53 2010 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Tue, 7 Dec 2010 11:46:53 +0100 Subject: 4.5.2 and iOS Deployment launched In-Reply-To: <201012071136.51360.glpunzi@lordzealon.com> References: <201012071057.09886.glpunzi@lordzealon.com> <5BF0E27C-02C9-41FB-9443-C5EDA055555C@numericable.com> <201012071136.51360.glpunzi@lordzealon.com> Message-ID: <4B561EDE-6DAF-4C57-8275-8B644A28A8F9@numericable.com> Thank you Giuseppe, I have download 4.5.2 version > iOS iPhone simulator but not iPad simulator... but... I have 3 accounts !!? for 1 person (me)... 2 commercial without iOS and 1 personal with iOS (!?) Someone else is there in this case ? Someone understands something about that ? Le 7 d?c. 2010 ? 11:36, Giuseppe Luigi Punzi a ?crit : > On Tuesday 07 December 2010 11:23:55 Ren? Micout wrote: >> Bonjour Giuseppe, >> On RunRev site > Downloads, I have : >> - LiveCode Trial > Create account now : I have an account >> - LiveCode Player > it is not the subject... >> - Existing Users (someone like me) > log in to your account >> I log > >> "LiveCode 4.5.0 Commercial : you have an active renewal pack expires 7th >> October 2011" (iOS : NO) "LiveCode 4.5.0 Commercial : you have an active >> renewal pack expires 9th April 2011" (iOS : NO) "LiveCode 4.5.0 Personal" >> (iOS : YES) >> and... >> Account system is incomprehensible for me (bis) >> >> :-) > > Sorry, I can't help you more :S > > I have a Trial license :P > > I only knows, thath, when logged, in Download Links (Windows, MacOS, Linux), > if you look at it, points to 4.5.2 versions (for me at least. > > Cheers. > > -- > -- > Giuseppe Luigi > http://www.lordzealon.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Tue Dec 7 07:31:49 2010 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 7 Dec 2010 10:31:49 -0200 Subject: varargs best practice? In-Reply-To: References: Message-ID: Mark, I don't know if you solved this but this can be solved with a trick. function getString pVerb repeat with x = 2 to the paramcount put quote & param(x) & quote & comma after tParams end repeat delete char -1 of tParams get the merge of "[[ tCommand ]]([[tParams]])" get ("") return the merge of it end getString function doCommand pVerb, pArgs -- do something with parameters -- return something end doCommand this way, if you call getString like this: put getString("doCommand", "1", "2", "3") into tShoogles you are actually calling doCommand("1","2","3") courtesy of double merging (not guaranteed to work on iOS) andre "merging all the way down" garzia From mcgrath3 at mac.com Tue Dec 7 08:19:34 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 07 Dec 2010 08:19:34 -0500 Subject: OSC Library Message-ID: <37C82C7B-8389-4DB5-978F-572CD45F8B0C@mac.com> Has anyone built a library or worked with OSC (Open Sound Control) from within LC? OSC - http://opensoundcontrol.org/introduction-osc is great for many types of media processing and interactive applications and at present is the best way to control an Arduino board from the iPhone or iPad ( http://www.arduino.cc/ ) I would like to build an app in LC for the iPhone/iPad that is customizable on the fly that will send OSC commands over wifi to the Arduino board. Any ideas or suggestions welcome. Tom McGrath III Lazy River Software http://lazyriver.on-rev.com 3mcgrath at comcast.net I Can Speak - Communication for the rest of us... http://mypad.lazyriver.on-rev.com I Can Speak on the iPad Store http://itunes.apple.com/us/app/i-can-speak/id364733279?mt=8 From warrenkuhl at gmail.com Tue Dec 7 08:30:46 2010 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Tue, 7 Dec 2010 07:30:46 -0600 Subject: Maximize A Stack In-Reply-To: References: Message-ID: I tried.... set the rect of stack 'whateverName' to screenRect() Although it maximizes my stack...it cuts everythings from the screen...including my task bar and the top of my stack. It is really weird as I started a new stack with nothing added and try to maximize it and it is only covering half my screen. Just wanted to make sure I didn't limit the size of my stack with any code. For some reason I cannot maximize a stack on my Windows 7 the way maximize should work. When I compile the object as a standalone...the maximize works as it should. It is only when I am working with the stack in RR is when I can't maximize. Not sure if anyone else is experiencing anything like this. At this point...I am not worried to much as it works as a standalone. Warren On Mon, Dec 6, 2010 at 1:15 PM, Warren Kuhl wrote: > Thanks....I will give this a shot! > > Appreciate the help, > Warren > > On Mon, Dec 6, 2010 at 12:58 PM, John Dixon wrote: > >> >> set the rect of stack 'whateverName' to screenRect() >> >> > Date: Mon, 6 Dec 2010 12:31:52 -0600 >> > Subject: Maximize A Stack >> > From: warrenkuhl at gmail.com >> > To: use-livecode at lists.runrev.com >> > >> > When I click the maximize button on my stack...the stack is not >> maximizing >> > to my window. It seems to maximize horizintally...but only half my >> screen >> > is filled vertically. How would I maximize a stack to the size of my >> > screen? >> > >> > Warren >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From rene.micout at numericable.com Tue Dec 7 08:44:40 2010 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Tue, 7 Dec 2010 14:44:40 +0100 Subject: OSC Library In-Reply-To: <37C82C7B-8389-4DB5-978F-572CD45F8B0C@mac.com> References: <37C82C7B-8389-4DB5-978F-572CD45F8B0C@mac.com> Message-ID: <35034F3E-85E4-4889-AAB1-347DEB900B78@numericable.com> I am also very interest by that ! Rene(?) Le 7 d?c. 2010 ? 14:19, Thomas McGrath III a ?crit : > Has anyone built a library or worked with OSC (Open Sound Control) from within LC? OSC - http://opensoundcontrol.org/introduction-osc is great for many types of media processing and interactive applications and at present is the best way to control an Arduino board from the iPhone or iPad ( http://www.arduino.cc/ ) > > I would like to build an app in LC for the iPhone/iPad that is customizable on the fly that will send OSC commands over wifi to the Arduino board. > > Any ideas or suggestions welcome. > > > Tom McGrath III > Lazy River Software > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > I Can Speak - Communication for the rest of us... > http://mypad.lazyriver.on-rev.com > > I Can Speak on the iPad Store > http://itunes.apple.com/us/app/i-can-speak/id364733279?mt=8 > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From janschenkel at yahoo.com Tue Dec 7 09:58:41 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 7 Dec 2010 06:58:41 -0800 (PST) Subject: Maximize A Stack In-Reply-To: Message-ID: <825802.27963.qm@web65414.mail.ac4.yahoo.com> --- On Tue, 12/7/10, Warren Kuhl wrote: > I tried.... > set the rect of stack 'whateverName' to screenRect() > > Although it maximizes my stack...it cuts everythings from > the > screen...including my task bar and the top of my stack. > > It is really weird as I started a new stack with nothing > added and try to > maximize it and it is only covering half my > screen. Just wanted to make > sure I didn't limit the size of my stack with any code. For > some reason I > cannot maximize a stack on my Windows 7 the way maximize > should work. > > When I compile the object as a standalone...the maximize > works as it > should. It is only when I am working with the stack > in RR is when I can't > maximize. Not sure if anyone else is experiencing > anything like this. At > this point...I am not worried to much as it works as a > standalone. > Warren > You could try 'the windowBoundingRect' instead of 'the screenRect' - this should leave room for the dock at least. If that gives you the same outcome as clicking the 'maximize' button, then there's probably something strange with the content of 'the windowBoundingRect' itself. It is a read-write global property, set by the LiveCode IDE to leave room for its menubar and tools stack. Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From klaus at major.on-rev.com Tue Dec 7 10:04:30 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 7 Dec 2010 16:04:30 +0100 Subject: Maximize A Stack In-Reply-To: <825802.27963.qm@web65414.mail.ac4.yahoo.com> References: <825802.27963.qm@web65414.mail.ac4.yahoo.com> Message-ID: <2D3CC8FA-2C27-4C45-9D58-CA54C6F0AE89@major.on-rev.com> Hi all, >> ... > You could try 'the windowBoundingRect' instead of 'the screenRect' - this should leave room for the dock at least > It is a read-write global property... You can also SET this property! :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From niggemann at uni-wh.de Tue Dec 7 10:21:24 2010 From: niggemann at uni-wh.de (BNig) Date: Tue, 7 Dec 2010 07:21:24 -0800 (PST) Subject: iOS pickWheel woes.... In-Reply-To: References: Message-ID: <1291735284391-3076566.post@n4.nabble.com> Jim, try this in the script of the option menu button: ---------------------------- local sLabel on mouseUp put sLabel & cr &the label of me into field "AnswerField" end mouseUp on mouseDown put the label of me into sLabel end mouseDown ---------------------------- now you could compare the labels if they did change and so on. I could not get the result to work either. regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-pickWheel-woes-tp3075810p3076566.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Tue Dec 7 11:08:40 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 7 Dec 2010 08:08:40 -0800 Subject: OSC Library In-Reply-To: <37C82C7B-8389-4DB5-978F-572CD45F8B0C@mac.com> References: <37C82C7B-8389-4DB5-978F-572CD45F8B0C@mac.com> Message-ID: <181600820781.20101207080840@ahsoftware.net> Tom- Tuesday, December 7, 2010, 5:19:34 AM, you wrote: > Has anyone built a library or worked with OSC (Open Sound > Control) from within LC? OSC - I did an OSC library for a similar board a few years ago (the Las Vegas conference period). At one point this was on the old revOnline board - I'll dig it up later on and get it posted for you. -- -Mark Wieder mwieder at ahsoftware.net From gbojsza at gmail.com Tue Dec 7 11:25:04 2010 From: gbojsza at gmail.com (Glen Bojsza) Date: Tue, 7 Dec 2010 09:25:04 -0700 Subject: ListMagic help... Message-ID: Hello, I have tried several times to get support from listmagic without success (sent emails to support and Jim directly). Does anyone know the status of their support for the product? thanks, Glen From bvlahos at mac.com Tue Dec 7 12:10:39 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Tue, 07 Dec 2010 09:10:39 -0800 Subject: ListMagic help... In-Reply-To: References: Message-ID: <7E031F7A-51FF-4131-A907-7A3831FC98B8@mac.com> I've received support from Jim usually in a timely fashion. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Dec 7, 2010, at 8:25 AM, Glen Bojsza wrote: > Hello, > > I have tried several times to get support from listmagic without success > (sent emails to support and Jim directly). > > Does anyone know the status of their support for the product? > > thanks, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Tue Dec 7 12:13:04 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 7 Dec 2010 09:13:04 -0800 Subject: varargs best practice? In-Reply-To: <1531568159765.20101206230419@ahsoftware.net> References: <1531568159765.20101206230419@ahsoftware.net> Message-ID: <94D49471-48E3-4DAD-83A0-24182CE247DB@twft.com> You could pass a list if the parameters were simple types, or you could pass an array if more complex. Then you would have to get the number of items of the list, or the number of keys of the array, and loop through them. Bob On Dec 6, 2010, at 11:04 PM, Mark Wieder wrote: > All- > > Does anyone have ideas on a best practice for handling variable > numbers of parameters (as in C varargs)? I have two functions and I'd > like to pass a variable number of parameters (probably no more than > six) to the first function and have it hand them off to the second: > > function getString pVerb, pArgs -- pArgs may be many parameters > return doCommand(pVerb, pArgs) > end getString > > function doCommand pVerb, pArgs > -- do something with parameters > -- return something > end doCommand > > The problem is that only the first argument gets passed to the > doCommand function. If I iterate through the parameters to getString > using paramCount and param(x) then the result gets packaged up in > quotes when it gets handed to doCommand and it becomes one parameter. > > I'm about to do something really ugly with the code and hoping that > someone has been through this already and has a nifty way of dealing > with this situation. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From benr_mc at cogapp.com Tue Dec 7 13:44:50 2010 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 07 Dec 2010 18:44:50 +0000 Subject: OSC Library In-Reply-To: <37C82C7B-8389-4DB5-978F-572CD45F8B0C@mac.com> References: <37C82C7B-8389-4DB5-978F-572CD45F8B0C@mac.com> Message-ID: <4CFE80A2.2010507@cogapp.com> On 07/12/2010 13:19, Thomas McGrath III wrote: > Has anyone built a library or worked with OSC (Open Sound Control) from within LC? OSC - http://opensoundcontrol.org/introduction-osc is great for many types of media processing and interactive applications and at present is the best way to control an Arduino board from the iPhone or iPad ( http://www.arduino.cc/ ) > > I would like to build an app in LC for the iPhone/iPad that is customizable on the fly that will send OSC commands over wifi to the Arduino board. > > Any ideas or suggestions welcome. Tom I'd also find OSC from LiveCode a very interesting development. But if you're specifically thinking of this for iOS, are you aware of Mrmr and Touch OSC apps on the iPhone/iPad? best, Ben From niggemann at uni-wh.de Tue Dec 7 13:53:14 2010 From: niggemann at uni-wh.de (BNig) Date: Tue, 7 Dec 2010 10:53:14 -0800 (PST) Subject: iOS pickWheel woes.... In-Reply-To: References: Message-ID: <1291747994483-3076990.post@n4.nabble.com> Hi Jim, I did not get the iphonePick listOfData, curIndex to work. Instead I used a workaround that may or may not suit your needs. Make a list field (you already have that) and overlay that with a option menu button in front of it. set the blendlevel of the option menu button to 100 to make it transparent. Set the script of the option menu button to -------------------------- on mouseDown put field "List of Data" into tData put the hilitedLine of field "List of Data" into tHilite set the text of me to tData if tHilite is not "" then set the menuHistory of me to tHilite end mouseDown on mouseUp put field "List of Data" into tData put the label of me into tLabel put lineOffset (tLabel,tData) into tNewSelection set the hilitedLine of field "List of Data" to tNewSelection end mouseUp ---------------------------------------- now if you seem to click into the list field you actually trigger the option menu button This button is populated by the content of the list field and its hilitedLine on the fly. The hilitedLine becomes the default of the pick wheel. Now if you make a choice on the click wheel this will hilite the appropriate line in the list field. (or do with the label whatever you want) This is an ugly hack and whether it works for you depends on what exactly you are trying to do. Apparently in this lesson: http://lessons.runrev.com/spaces/lessons/buckets/1004/lessons/22980-How-do-I-use-the-Picker-View-on-an-iPhone- they could not either figure it out how it returns a value. They did not even attempt to do it. That may be the reason why they spelled: England Sctoland Taiwan ... I hope Richmond does not find out about this. :) kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-pickWheel-woes-tp3075810p3076990.html Sent from the Revolution - User mailing list archive at Nabble.com. From rene.micout at numericable.com Tue Dec 7 13:59:15 2010 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Tue, 7 Dec 2010 19:59:15 +0100 Subject: OSC Library In-Reply-To: <4CFE80A2.2010507@cogapp.com> References: <37C82C7B-8389-4DB5-978F-572CD45F8B0C@mac.com> <4CFE80A2.2010507@cogapp.com> Message-ID: <942321D3-4A6C-434A-AD12-804D9726D659@numericable.com> Le 7 d?c. 2010 ? 19:44, Ben Rubinstein a ?crit : > I'd also find OSC from LiveCode a very interesting development Could you tell us more informations ? Thank you Rene(?) From jmac at consensustech.com Tue Dec 7 16:26:49 2010 From: jmac at consensustech.com (Jim MacConnell) Date: Tue, 7 Dec 2010 13:26:49 -0800 Subject: iOS pickWheel woes.... In-Reply-To: <1291747994483-3076990.post@n4.nabble.com> References: <1291747994483-3076990.post@n4.nabble.com> Message-ID: Bernd, Thanks for the advice. I'll play with work arounds for a bit and appreciate your input. I was also thinking of using your SlotMachine approach though I have to admit I haven't had much luck showing and hiding things on iOs and will have to see how I can do that. You are way ahead of me in terms of coding expertise. I hope it is simply that I haven't been playing enough. The ideal outcome would be for the result of the pick to be available without any workarounds which I'm sure is both the intent and where this will ultimately end up. It would be nice to know how long that will take though. Thanks again, Jim James H. MacConnell Consensus Technology, LLC 2200 N. 77th St. Seattle, WA 98103-4928 www.consensustech.com Tel: 206.524.8555 Fax: 206.524.3034 On Dec 7, 2010, at 10:53 AM, BNig wrote: > > Hi Jim, > > I did not get the iphonePick listOfData, curIndex to work. > > Instead I used a workaround that may or may not suit your needs. > > Make a list field (you already have that) and overlay that with a option > menu button in front of it. > set the blendlevel of the option menu button to 100 to make it transparent. > Set the script of the option menu button to > -------------------------- > on mouseDown > put field "List of Data" into tData > put the hilitedLine of field "List of Data" into tHilite > set the text of me to tData > if tHilite is not "" then set the menuHistory of me to tHilite > end mouseDown > > on mouseUp > put field "List of Data" into tData > put the label of me into tLabel > put lineOffset (tLabel,tData) into tNewSelection > set the hilitedLine of field "List of Data" to tNewSelection > end mouseUp > ---------------------------------------- > > now if you seem to click into the list field you actually trigger the option > menu button > This button is populated by the content of the list field and its > hilitedLine on the fly. The hilitedLine becomes the default of the pick > wheel. Now if you make a choice on the click wheel this will hilite the > appropriate line in the list field. (or do with the label whatever you want) > > This is an ugly hack and whether it works for you depends on what exactly > you are trying to do. > > Apparently in this lesson: > http://lessons.runrev.com/spaces/lessons/buckets/1004/lessons/22980-How-do-I-use-the-Picker-View-on-an-iPhone- > they could not either figure it out how it returns a value. They did not > even attempt to do it. > That may be the reason why they spelled: > > England > Sctoland > Taiwan > ... > > I hope Richmond does not find out about this. :) > > kind regards > > Bernd > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-pickWheel-woes-tp3075810p3076990.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Tue Dec 7 17:00:54 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 07 Dec 2010 17:00:54 -0500 Subject: OSC Library In-Reply-To: <181600820781.20101207080840@ahsoftware.net> References: <37C82C7B-8389-4DB5-978F-572CD45F8B0C@mac.com> <181600820781.20101207080840@ahsoftware.net> Message-ID: <1337AD2A-2D55-4461-976E-15F9212AAAF1@mac.com> Mark, This would be a great help. Thanks for looking for it. Tom McGrath III Lazy River Software http://lazyriver.on-rev.com 3mcgrath at comcast.net I Can Speak - Communication for the rest of us... http://mypad.lazyriver.on-rev.com I Can Speak on the iPad Store http://itunes.apple.com/us/app/i-can-speak/id364733279?mt=8 On Dec 7, 2010, at 11:08 AM, Mark Wieder wrote: > Tom- > > Tuesday, December 7, 2010, 5:19:34 AM, you wrote: > >> Has anyone built a library or worked with OSC (Open Sound >> Control) from within LC? OSC - > > I did an OSC library for a similar board a few years ago (the Las > Vegas conference period). At one point this was on the old revOnline > board - I'll dig it up later on and get it posted for you. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Tue Dec 7 17:08:34 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 07 Dec 2010 17:08:34 -0500 Subject: OSC Library In-Reply-To: <4CFE80A2.2010507@cogapp.com> References: <37C82C7B-8389-4DB5-978F-572CD45F8B0C@mac.com> <4CFE80A2.2010507@cogapp.com> Message-ID: <25EFF411-D6F9-433A-8D08-A6B06EDD4BFC@mac.com> Ben, I have looked at Mrmr and downloaded touchOSC. They are fairly decent and provide built-in templates with buttons and slider controls. I would think however that LC could be done even better. I envision an editable template with a few controls to choose from and then lay out the screen 'live' as it were to send commands via OSC. The OSC will stay the same (no new or downloaded code) but the controls can be stored and or added via the shared folder in itunes and the end user can modify the screen as they see fit. Basically a nice customizable front end to an OSC backend. The other added bonus is that the library would be available for use in desktop apps and soon for droid and win mobile devices. I think this would make a great project and of course the code would be available to all of us LC devs. Tom McGrath III Lazy River Software http://lazyriver.on-rev.com 3mcgrath at comcast.net On Dec 7, 2010, at 1:44 PM, Ben Rubinstein wrote: > On 07/12/2010 13:19, Thomas McGrath III wrote: >> Has anyone built a library or worked with OSC (Open Sound Control) from within LC? OSC - http://opensoundcontrol.org/introduction-osc is great for many types of media processing and interactive applications and at present is the best way to control an Arduino board from the iPhone or iPad ( http://www.arduino.cc/ ) >> >> I would like to build an app in LC for the iPhone/iPad that is customizable on the fly that will send OSC commands over wifi to the Arduino board. >> >> Any ideas or suggestions welcome. > > Tom > > I'd also find OSC from LiveCode a very interesting development. But if you're specifically thinking of this for iOS, are you aware of Mrmr and Touch OSC apps on the iPhone/iPad? > > best, > > Ben > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Tue Dec 7 17:59:22 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Tue, 7 Dec 2010 14:59:22 -0800 Subject: Window Positioning Message-ID: Given that I don't provide any coordinates for the window position when I open a stack, what default position does LC use? My stack windows always seem to open at the same coordinates but each stack window is at a different location. If I drag a stack window to a different location on the screen, close it, then open it again, it is displayed at its original position, not the one I dragged it to so it seems like it's my responsibility to record the window location in those circumstances if I want it to open at the same location next time around. Pete Haworth From bobs at twft.com Tue Dec 7 18:12:05 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 7 Dec 2010 15:12:05 -0800 Subject: Window Positioning In-Reply-To: References: Message-ID: <2B13DE69-E89A-4942-8210-B51D2D840547@twft.com> I have always found that odd. Most windows remember their position when closed/saved. Rev stack windows do not. Bob On Dec 7, 2010, at 2:59 PM, Peter Haworth wrote: > Given that I don't provide any coordinates for the window position when I open a stack, what default position does LC use? > > My stack windows always seem to open at the same coordinates but each stack window is at a different location. If I drag a stack window to a different location on the screen, close it, then open it again, it is displayed at its original position, not the one I dragged it to so it seems like it's my responsibility to record the window location in those circumstances if I want it to open at the same location next time around. > > Pete Haworth > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From niggemann at uni-wh.de Tue Dec 7 18:26:26 2010 From: niggemann at uni-wh.de (BNig) Date: Tue, 7 Dec 2010 15:26:26 -0800 (PST) Subject: iOS pickWheel woes.... In-Reply-To: References: <1291747994483-3076990.post@n4.nabble.com> Message-ID: <1291764386595-3077436.post@n4.nabble.com> Jim, I think it is just a question of a short time for Runrev to fix this. The pick is a much cleaner object than the slotmachine. I dont have problems showing/hiding things. At least not in the Simulator. make a button and set its script to: ---------------- set the visible of field "myField" to not the visible of field "myField" ----------------------- and see how it works. Livecode mobile is really up to something in my opinion. The scroller and the pick wheel are very welcome objects that behave very nicely even on my slow iPhone 3G running iOS 4.1. Once the quirks are ironed out they will make coding life easier. And I think this was no small feat to implement them. Congratulations to the Team. Kind regards Bernd Jim MacConnell wrote: > > Bernd, > Thanks for the advice. > > I'll play with work arounds for a bit and appreciate your input. I was > also thinking of using your SlotMachine approach though I have to admit I > haven't had much luck showing and hiding things on iOs and will have to > see how I can do that. You are way ahead of me in terms of coding > expertise. I hope it is simply that I haven't been playing enough. > > The ideal outcome would be for the result of the pick to be available > without any workarounds which I'm sure is both the intent and where this > will ultimately end up. It would be nice to know how long that will take > though. > > Thanks again, > Jim > > > > James H. MacConnell > > Consensus Technology, LLC > 2200 N. 77th St. > Seattle, WA 98103-4928 > www.consensustech.com > Tel: 206.524.8555 > Fax: 206.524.3034 > > > > > On Dec 7, 2010, at 10:53 AM, BNig wrote: > >> >> Hi Jim, >> >> I did not get the iphonePick listOfData, curIndex to work. >> >> Instead I used a workaround that may or may not suit your needs. >> >> Make a list field (you already have that) and overlay that with a option >> menu button in front of it. >> set the blendlevel of the option menu button to 100 to make it >> transparent. >> Set the script of the option menu button to >> -------------------------- >> on mouseDown >> put field "List of Data" into tData >> put the hilitedLine of field "List of Data" into tHilite >> set the text of me to tData >> if tHilite is not "" then set the menuHistory of me to tHilite >> end mouseDown >> >> on mouseUp >> put field "List of Data" into tData >> put the label of me into tLabel >> put lineOffset (tLabel,tData) into tNewSelection >> set the hilitedLine of field "List of Data" to tNewSelection >> end mouseUp >> ---------------------------------------- >> >> now if you seem to click into the list field you actually trigger the >> option >> menu button >> This button is populated by the content of the list field and its >> hilitedLine on the fly. The hilitedLine becomes the default of the pick >> wheel. Now if you make a choice on the click wheel this will hilite the >> appropriate line in the list field. (or do with the label whatever you >> want) >> >> This is an ugly hack and whether it works for you depends on what exactly >> you are trying to do. >> >> Apparently in this lesson: >> http://lessons.runrev.com/spaces/lessons/buckets/1004/lessons/22980-How-do-I-use-the-Picker-View-on-an-iPhone- >> they could not either figure it out how it returns a value. They did not >> even attempt to do it. >> That may be the reason why they spelled: >> >> England >> Sctoland >> Taiwan >> ... >> >> I hope Richmond does not find out about this. :) >> >> kind regards >> >> Bernd >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/iOS-pickWheel-woes-tp3075810p3076990.html >> Sent from the Revolution - User mailing list archive at Nabble.com. > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-pickWheel-woes-tp3075810p3077436.html Sent from the Revolution - User mailing list archive at Nabble.com. From niggemann at uni-wh.de Tue Dec 7 19:00:04 2010 From: niggemann at uni-wh.de (BNig) Date: Tue, 7 Dec 2010 16:00:04 -0800 (PST) Subject: scroller iPhone with bounce Message-ID: <1291766404552-3077481.post@n4.nabble.com> I figured the scroller example in Livecode mobile 4.5.2 was not really complete so I set up the new scroller in a little stack: a list field with a bounce. The bounce was not obvious from the example so I hope this helps people to implement this. (look at the group "umscroll" with lockloc true and the list field) Almost all the code is in the card script. Except for a mouseUp handler in the list field to make the actual selection. The new scroller is a very nice object that really makes things a lot easier. It scrolls very smoothly even on my slow iPhone 3G. Selection is a lot easier since the operating system takes a lot of guesswork out of when a touch is the begin of a scroll and when a touch is a selection. There is one quirk in the current incarnation of the mobile engine: the scroll is really only starting to scroll if you slide the field up and then touch the network bar or whatever you call it. The top line of the screen where the battery is shown etc. This 'defrosts' the scrolling and from then on you can scroll and bounce like you expect it. Runrev is aware of the problem. the zipped version of the stack: http://berndniggemann.on-rev.com/scrolliPhone/lcMobileScroll_0.0.2.livecode.zip regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/scroller-iPhone-with-bounce-tp3077481p3077481.html Sent from the Revolution - User mailing list archive at Nabble.com. From niggemann at uni-wh.de Tue Dec 7 19:11:54 2010 From: niggemann at uni-wh.de (BNig) Date: Tue, 7 Dec 2010 16:11:54 -0800 (PST) Subject: scroller iPhone with bounce In-Reply-To: <1291766404552-3077481.post@n4.nabble.com> References: <1291766404552-3077481.post@n4.nabble.com> Message-ID: <1291767114084-3077491.post@n4.nabble.com> You would want to look at the scroller on a real device. The simulator does not scroll. Forgot to mention that in the previous post. regards Bernd BNig wrote: > > I figured the scroller example in Livecode mobile 4.5.2 was not really > complete so I set up the new scroller in a little stack: a list field with > a bounce. The bounce was not obvious from the example so I hope this helps > people to implement this. (look at the group "umscroll" with lockloc true > and the list field) > Almost all the code is in the card script. Except for a mouseUp handler in > the list field to make the actual selection. > > The new scroller is a very nice object that really makes things a lot > easier. It scrolls very smoothly even on my slow iPhone 3G. Selection is a > lot easier since the operating system takes a lot of guesswork out of when > a touch is the begin of a scroll and when a touch is a selection. > > There is one quirk in the current incarnation of the mobile engine: > the scroll is really only starting to scroll if you slide the field up and > then touch the network bar or whatever you call it. The top line of the > screen where the battery is shown etc. This 'defrosts' the scrolling and > from then on you can scroll and bounce like you expect it. Runrev is aware > of the problem. > > the zipped version of the stack: > > http://berndniggemann.on-rev.com/scrolliPhone/lcMobileScroll_0.0.2.livecode.zip > > regards > > Bernd > > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/scroller-iPhone-with-bounce-tp3077481p3077491.html Sent from the Revolution - User mailing list archive at Nabble.com. From bvg at mac.com Tue Dec 7 19:18:29 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 08 Dec 2010 01:18:29 +0100 Subject: Window Positioning In-Reply-To: References: Message-ID: <5799667D-4CB6-490D-BFF7-3FD48981D511@mac.com> stacks save their position and size into themselves when you save them, be it via the save menu or by any other means. Stacks that are a standalone can't save themselves. Other programs use setting files or the registry to save their window size and positioning between launches. Note that the IDE might reposition your stacks, depending on the windowboundingrect which excludes the IDE's menubar, iconbar and the tools palette from the available places for stacks. On 7 Dec 2010, at 23:59, Peter Haworth wrote: > Given that I don't provide any coordinates for the window position when I open a stack, what default position does LC use? > > My stack windows always seem to open at the same coordinates but each stack window is at a different location. If I drag a stack window to a different location on the screen, close it, then open it again, it is displayed at its original position, not the one I dragged it to so it seems like it's my responsibility to record the window location in those circumstances if I want it to open at the same location next time around. > > Pete Haworth -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From pete at mollysrevenge.com Tue Dec 7 20:06:43 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Tue, 7 Dec 2010 17:06:43 -0800 Subject: Window Positioning In-Reply-To: <5799667D-4CB6-490D-BFF7-3FD48981D511@mac.com> References: <5799667D-4CB6-490D-BFF7-3FD48981D511@mac.com> Message-ID: OK, I understand. It sounds like I should be specific about the default position where I want each of my windows to appear and then come up with a scheme for the standalone that saves the position of each window when it's closed. I already have a scheme in place to save other settings in an outboard file because of not being able to save stuff within the standalone so that shouldn't be a big deal. A lot of this has to do with windows getting hidden behind other windows. I already have a menu that lists all the currently open windows so users can easily get to one that is hidden by selecting it from the menu but I think attempting to avoid that problem by specific positioning would be a good idea. Pete Haworth On Dec 7, 2010, at 4:18 PM, Bj?rnke von Gierke wrote: > stacks save their position and size into themselves when you save > them, be it via the save menu or by any other means. Stacks that are > a standalone can't save themselves. Other programs use setting > files or the registry to save their window size and positioning > between launches. > > Note that the IDE might reposition your stacks, depending on the > windowboundingrect which excludes the IDE's menubar, iconbar and the > tools palette from the available places for stacks. > > > On 7 Dec 2010, at 23:59, Peter Haworth wrote: > >> Given that I don't provide any coordinates for the window position >> when I open a stack, what default position does LC use? >> >> My stack windows always seem to open at the same coordinates but >> each stack window is at a different location. If I drag a stack >> window to a different location on the screen, close it, then open >> it again, it is displayed at its original position, not the one I >> dragged it to so it seems like it's my responsibility to record the >> window location in those circumstances if I want it to open at the >> same location next time around. >> >> Pete Haworth > > > -- > > official ChatRev page: > http://bjoernke.com?target=chatrev > > Chat with other RunRev developers: > go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tsj at unimelb.edu.au Tue Dec 7 20:08:59 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Wed, 08 Dec 2010 12:08:59 +1100 Subject: scroller iPhone with bounce In-Reply-To: <1291767114084-3077491.post@n4.nabble.com> Message-ID: Hey Bernd, thanks for this really useful example. Did you mean that the simulator doesn't bounce? because it scrolls just fine if you mouse down and drag. Terry... On 8/12/10 11:11 AM, "BNig" wrote: > > You would want to look at the scroller on a real device. The simulator does > not scroll. Forgot to mention that in the previous post. > > regards > Bernd > > > > BNig wrote: >> >> I figured the scroller example in Livecode mobile 4.5.2 was not really >> complete so I set up the new scroller in a little stack: a list field with >> a bounce. The bounce was not obvious from the example so I hope this helps >> people to implement this. (look at the group "umscroll" with lockloc true >> and the list field) >> Almost all the code is in the card script. Except for a mouseUp handler in >> the list field to make the actual selection. >> >> The new scroller is a very nice object that really makes things a lot >> easier. It scrolls very smoothly even on my slow iPhone 3G. Selection is a >> lot easier since the operating system takes a lot of guesswork out of when >> a touch is the begin of a scroll and when a touch is a selection. >> >> There is one quirk in the current incarnation of the mobile engine: >> the scroll is really only starting to scroll if you slide the field up and >> then touch the network bar or whatever you call it. The top line of the >> screen where the battery is shown etc. This 'defrosts' the scrolling and >> from then on you can scroll and bounce like you expect it. Runrev is aware >> of the problem. >> >> the zipped version of the stack: >> >> http://berndniggemann.on-rev.com/scrolliPhone/lcMobileScroll_0.0.2.livecode.z >> ip >> >> regards >> >> Bernd >> >> -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From pete at mollysrevenge.com Tue Dec 7 20:17:04 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Tue, 7 Dec 2010 17:17:04 -0800 Subject: IDE Save Message-ID: <9280BBD1-E239-46E1-A5A8-6A3DD439FCA6@mollysrevenge.com> I just came across another instance of a pet peeve of mine. I lost a couple of hours of scripting work because for some reason that isn't clear to me the IDE doesn't always save everything when you exit. It asked me if I wanted to save and I confirmed that I did, yet a bunch of coding changes didn't make it. The changes weren't in my application main stack but in another main stack containing scripts that I insert as front scripts. Both stacks were loaded into memory at the time I exited. I've been aware of save problems like this for a while and try to save things manually at regular intervals but didn't do so on this occasion. But really, should a modern day development environment allow you to exit without saving your work unless you specifically tell it not to? That seems like a huge bug to me. Pete Haworth From pepetoo at cox.net Tue Dec 7 20:23:10 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Tue, 7 Dec 2010 17:23:10 -0800 Subject: Window Positioning In-Reply-To: References: <5799667D-4CB6-490D-BFF7-3FD48981D511@mac.com> Message-ID: <2F8DE495-D9B4-4491-BEE8-373CED4E8381@cox.net> Hi Peter, You might want to consider something else at the same time. There is a great deal of flexibility in the real estate that users have available these days. Not just screen size, but also the number of screens. If you do decide to manage the window locations, you may want to have a preference whereby the user can elect to have control of the locations, sizes and relationships of the windows themselves. I would be very frustrated to find that after I got everything arranged to my liking to then have the locations (and sizes) changed for me the next time I opened the application. I'm very happy you brought this up, since I'm working on a multiple window project myself, and never gave this a thought. Thanks. Just my opinion, Joe Wilkins On Dec 7, 2010, at 5:06 PM, Peter Haworth wrote: > OK, I understand. It sounds like I should be specific about the default position where I want each of my windows to appear and then come up with a scheme for the standalone that saves the position of each window when it's closed. I already have a scheme in place to save other settings in an outboard file because of not being able to save stuff within the standalone so that shouldn't be a big deal. > > A lot of this has to do with windows getting hidden behind other windows. I already have a menu that lists all the currently open windows so users can easily get to one that is hidden by selecting it from the menu but I think attempting to avoid that problem by specific positioning would be a good idea. > > Pete Haworth > > On Dec 7, 2010, at 4:18 PM, Bj?rnke von Gierke wrote: > >> stacks save their position and size into themselves when you save them, be it via the save menu or by any other means. Stacks that are a standalone can't save themselves. Other programs use setting files or the registry to save their window size and positioning between launches. >> >> Note that the IDE might reposition your stacks, depending on the windowboundingrect which excludes the IDE's menubar, iconbar and the tools palette from the available places for stacks. >> >> >> On 7 Dec 2010, at 23:59, Peter Haworth wrote: >> >>> Given that I don't provide any coordinates for the window position when I open a stack, what default position does LC use? >>> >>> My stack windows always seem to open at the same coordinates but each stack window is at a different location. If I drag a stack window to a different location on the screen, close it, then open it again, it is displayed at its original position, not the one I dragged it to so it seems like it's my responsibility to record the window location in those circumstances if I want it to open at the same location next time around. >>> >>> Pete Haworth >> >> >> -- >> >> official ChatRev page: >> http://bjoernke.com?target=chatrev >> >> Chat with other RunRev developers: >> go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tsj at unimelb.edu.au Tue Dec 7 20:22:10 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Wed, 08 Dec 2010 12:22:10 +1100 Subject: Window Positioning In-Reply-To: Message-ID: Custom properties are good for this sort of thing. Create a stack property named cTL and populate it with the (topLeft) coordinates that you want the stack to initially open with. Then in you preopenstack handler... on preopenstack set the topleft of me to the cTL of me end preopenstack Then if you want to recall the last known position of the stack the next time you open it then just modify the cTL property each time you close the stack on closestack set the cTL of me to the topleft of me end closestack Alternatively you can just hide stacks rather than closing them by trapping the closeStackRequest message, and then show them the next time you open them. That way there is no need to capture and reset their location. on closestackrequest set the visible of me to false end closestackrequest You can query the openstacks to see whether the stack needs to be opened (first time) or simply shown (subsequent times). HTH, Terry... On 8/12/10 12:06 PM, "Peter Haworth" wrote: > OK, I understand. It sounds like I should be specific about the > default position where I want each of my windows to appear and then > come up with a scheme for the standalone that saves the position of > each window when it's closed. I already have a scheme in place to > save other settings in an outboard file because of not being able to > save stuff within the standalone so that shouldn't be a big deal. > > A lot of this has to do with windows getting hidden behind other > windows. I already have a menu that lists all the currently open > windows so users can easily get to one that is hidden by selecting it > from the menu but I think attempting to avoid that problem by specific > positioning would be a good idea. > > Pete Haworth > > On Dec 7, 2010, at 4:18 PM, Bj?rnke von Gierke wrote: > >> stacks save their position and size into themselves when you save >> them, be it via the save menu or by any other means. Stacks that are >> a standalone can't save themselves. Other programs use setting >> files or the registry to save their window size and positioning >> between launches. >> >> Note that the IDE might reposition your stacks, depending on the >> windowboundingrect which excludes the IDE's menubar, iconbar and the >> tools palette from the available places for stacks. >> >> >> On 7 Dec 2010, at 23:59, Peter Haworth wrote: >> >>> Given that I don't provide any coordinates for the window position >>> when I open a stack, what default position does LC use? >>> >>> My stack windows always seem to open at the same coordinates but >>> each stack window is at a different location. If I drag a stack >>> window to a different location on the screen, close it, then open >>> it again, it is displayed at its original position, not the one I >>> dragged it to so it seems like it's my responsibility to record the >>> window location in those circumstances if I want it to open at the >>> same location next time around. >>> >>> Pete Haworth >> >> >> -- >> >> official ChatRev page: >> http://bjoernke.com?target=chatrev >> >> Chat with other RunRev developers: >> go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From pderocco at ix.netcom.com Tue Dec 7 20:26:30 2010 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Tue, 7 Dec 2010 17:26:30 -0800 Subject: Window Positioning In-Reply-To: Message-ID: <844B4A9A6AC842908296CE82E31AEF64@PAULD> > From: Peter Haworth > > OK, I understand. It sounds like I should be specific about the > default position where I want each of my windows to appear and then > come up with a scheme for the standalone that saves the position of > each window when it's closed. I already have a scheme in place to > save other settings in an outboard file because of not being able to > save stuff within the standalone so that shouldn't be a big deal. I don't know if the latest version has solved this, but on the Mac there used to be a problem with this. If you interrogated the window position and save it, and then used the same numbers to restore it, the window moved down by the height of the non-existent menu bar. This is because the window was initially created with its own menu bar, a la Windows, and then on the Mac the menu bar was removed and its contents moved to the system menu on the top of the screen. I never found a bullet-proof solution to this that properly adapted to variations in menu bar height. Can anyone say if this issue has been resolved? -- Ciao, Paul D. DeRocco Paul mailto:pderocco at ix.netcom.com From pete at mollysrevenge.com Tue Dec 7 20:31:41 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Tue, 7 Dec 2010 17:31:41 -0800 Subject: Window Positioning In-Reply-To: References: Message-ID: <8263C8B1-5944-4391-8997-60921A7D0F89@mollysrevenge.com> I use cprops a lot but I thought it wasn't possible to store cprop values across runs of a standalone? Pete Haworth On Dec 7, 2010, at 5:22 PM, Terry Judd wrote: > Custom properties are good for this sort of thing. Create a stack > property > named cTL and populate it with the (topLeft) coordinates that you > want the > stack to initially open with. Then in you preopenstack handler... > > on preopenstack > set the topleft of me to the cTL of me > end preopenstack > > Then if you want to recall the last known position of the stack the > next > time you open it then just modify the cTL property each time you > close the > stack > > on closestack > set the cTL of me to the topleft of me > end closestack > > Alternatively you can just hide stacks rather than closing them by > trapping > the closeStackRequest message, and then show them the next time you > open > them. That way there is no need to capture and reset their location. > > on closestackrequest > set the visible of me to false > end closestackrequest > > You can query the openstacks to see whether the stack needs to be > opened > (first time) or simply shown (subsequent times). > > HTH, > > Terry... > > On 8/12/10 12:06 PM, "Peter Haworth" wrote: > >> OK, I understand. It sounds like I should be specific about the >> default position where I want each of my windows to appear and then >> come up with a scheme for the standalone that saves the position of >> each window when it's closed. I already have a scheme in place to >> save other settings in an outboard file because of not being able to >> save stuff within the standalone so that shouldn't be a big deal. >> >> A lot of this has to do with windows getting hidden behind other >> windows. I already have a menu that lists all the currently open >> windows so users can easily get to one that is hidden by selecting it >> from the menu but I think attempting to avoid that problem by >> specific >> positioning would be a good idea. >> >> Pete Haworth >> >> On Dec 7, 2010, at 4:18 PM, Bj?rnke von Gierke wrote: >> >>> stacks save their position and size into themselves when you save >>> them, be it via the save menu or by any other means. Stacks that are >>> a standalone can't save themselves. Other programs use setting >>> files or the registry to save their window size and positioning >>> between launches. >>> >>> Note that the IDE might reposition your stacks, depending on the >>> windowboundingrect which excludes the IDE's menubar, iconbar and the >>> tools palette from the available places for stacks. >>> >>> >>> On 7 Dec 2010, at 23:59, Peter Haworth wrote: >>> >>>> Given that I don't provide any coordinates for the window position >>>> when I open a stack, what default position does LC use? >>>> >>>> My stack windows always seem to open at the same coordinates but >>>> each stack window is at a different location. If I drag a stack >>>> window to a different location on the screen, close it, then open >>>> it again, it is displayed at its original position, not the one I >>>> dragged it to so it seems like it's my responsibility to record the >>>> window location in those circumstances if I want it to open at the >>>> same location next time around. >>>> >>>> Pete Haworth >>> >>> >>> -- >>> >>> official ChatRev page: >>> http://bjoernke.com?target=chatrev >>> >>> Chat with other RunRev developers: >>> go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Dr Terry Judd | Senior Lecturer in Medical Education > Medical Education Unit > Melbourne Medical School > The University of Melbourne > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bvg at mac.com Tue Dec 7 20:32:15 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 08 Dec 2010 02:32:15 +0100 Subject: IDE Save In-Reply-To: <9280BBD1-E239-46E1-A5A8-6A3DD439FCA6@mollysrevenge.com> References: <9280BBD1-E239-46E1-A5A8-6A3DD439FCA6@mollysrevenge.com> Message-ID: Yes that is annoying. The problem here is that there's no assured way for the LC engine to know wether a stack has been changed. Sure, the IDE tracks mouse clicks, changed scripts and a few other things. But if for example, you lock messages at the wrong point, then the IDE is unaware, and thinks there's been no change. As a workaround there are auto save plugins that save for you every 5 minute (or so). Even then, you will probably be forced to change your workflow. I for example have just reviewed my behaviour, and it seems i've gotten used to never quit the app, and never just close stacks. Instead I save a stack, then close it, and only after each stack is closed that way, I quit. By now, I even do this in the web browser and text editor! On 8 Dec 2010, at 02:17, Peter Haworth wrote: > I just came across another instance of a pet peeve of mine. I lost a couple of hours of scripting work because for some reason that isn't clear to me the IDE doesn't always save everything when you exit. It asked me if I wanted to save and I confirmed that I did, yet a bunch of coding changes didn't make it. The changes weren't in my application main stack but in another main stack containing scripts that I insert as front scripts. Both stacks were loaded into memory at the time I exited. > > I've been aware of save problems like this for a while and try to save things manually at regular intervals but didn't do so on this occasion. But really, should a modern day development environment allow you to exit without saving your work unless you specifically tell it not to? That seems like a huge bug to me. > > Pete Haworth -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From pete at mollysrevenge.com Tue Dec 7 20:36:45 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Tue, 7 Dec 2010 17:36:45 -0800 Subject: Window Positioning In-Reply-To: <2F8DE495-D9B4-4491-BEE8-373CED4E8381@cox.net> References: <5799667D-4CB6-490D-BFF7-3FD48981D511@mac.com> <2F8DE495-D9B4-4491-BEE8-373CED4E8381@cox.net> Message-ID: <1324C736-1E4C-4F0C-B294-461964D55788@mollysrevenge.com> Good point. I definitely hadn't thought of the multi-screen possibility. Sounds like maybe I should have a "Remember window positions" preference. If Yes, then windows will always open at their last know position and if No, they'll always open at whatever default location I assign to them. I guess there could be a third option for windows to open at their last known position within the current run of the standalone but open at their default position next time the standlone is run. Pete Haworth On Dec 7, 2010, at 5:23 PM, Joe Lewis Wilkins wrote: > Hi Peter, > > You might want to consider something else at the same time. There is > a great deal of flexibility in the real estate that users have > available these days. Not just screen size, but also the number of > screens. If you do decide to manage the window locations, you may > want to have a preference whereby the user can elect to have control > of the locations, sizes and relationships of the windows themselves. > I would be very frustrated to find that after I got everything > arranged to my liking to then have the locations (and sizes) changed > for me the next time I opened the application. > > I'm very happy you brought this up, since I'm working on a multiple > window project myself, and never gave this a thought. Thanks. > > Just my opinion, > > Joe Wilkins > > On Dec 7, 2010, at 5:06 PM, Peter Haworth wrote: > >> OK, I understand. It sounds like I should be specific about the >> default position where I want each of my windows to appear and then >> come up with a scheme for the standalone that saves the position of >> each window when it's closed. I already have a scheme in place to >> save other settings in an outboard file because of not being able >> to save stuff within the standalone so that shouldn't be a big deal. >> >> A lot of this has to do with windows getting hidden behind other >> windows. I already have a menu that lists all the currently open >> windows so users can easily get to one that is hidden by selecting >> it from the menu but I think attempting to avoid that problem by >> specific positioning would be a good idea. >> >> Pete Haworth >> >> On Dec 7, 2010, at 4:18 PM, Bj?rnke von Gierke wrote: >> >>> stacks save their position and size into themselves when you save >>> them, be it via the save menu or by any other means. Stacks that >>> are a standalone can't save themselves. Other programs use >>> setting files or the registry to save their window size and >>> positioning between launches. >>> >>> Note that the IDE might reposition your stacks, depending on the >>> windowboundingrect which excludes the IDE's menubar, iconbar and >>> the tools palette from the available places for stacks. >>> >>> >>> On 7 Dec 2010, at 23:59, Peter Haworth wrote: >>> >>>> Given that I don't provide any coordinates for the window >>>> position when I open a stack, what default position does LC use? >>>> >>>> My stack windows always seem to open at the same coordinates but >>>> each stack window is at a different location. If I drag a stack >>>> window to a different location on the screen, close it, then open >>>> it again, it is displayed at its original position, not the one I >>>> dragged it to so it seems like it's my responsibility to record >>>> the window location in those circumstances if I want it to open >>>> at the same location next time around. >>>> >>>> Pete Haworth >>> >>> >>> -- >>> >>> official ChatRev page: >>> http://bjoernke.com?target=chatrev >>> >>> Chat with other RunRev developers: >>> go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bvg at mac.com Tue Dec 7 20:36:42 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 08 Dec 2010 02:36:42 +0100 Subject: Window Positioning In-Reply-To: <8263C8B1-5944-4391-8997-60921A7D0F89@mollysrevenge.com> References: <8263C8B1-5944-4391-8997-60921A7D0F89@mollysrevenge.com> Message-ID: yes, same problem as with the built in window-position saving :) On 8 Dec 2010, at 02:31, Peter Haworth wrote: > I use cprops a lot but I thought it wasn't possible to store cprop values across runs of a standalone? > > Pete Haworth > > On Dec 7, 2010, at 5:22 PM, Terry Judd wrote: > >> Custom properties are good for this sort of thing. Create a stack property >> named cTL and populate it with the (topLeft) coordinates that you want the >> stack to initially open with. Then in you preopenstack handler... >> >> on preopenstack >> set the topleft of me to the cTL of me >> end preopenstack >> >> Then if you want to recall the last known position of the stack the next >> time you open it then just modify the cTL property each time you close the >> stack >> >> on closestack >> set the cTL of me to the topleft of me >> end closestack >> >> Alternatively you can just hide stacks rather than closing them by trapping >> the closeStackRequest message, and then show them the next time you open >> them. That way there is no need to capture and reset their location. >> >> on closestackrequest >> set the visible of me to false >> end closestackrequest >> >> You can query the openstacks to see whether the stack needs to be opened >> (first time) or simply shown (subsequent times). >> >> HTH, >> >> Terry... >> >> On 8/12/10 12:06 PM, "Peter Haworth" wrote: >> >>> OK, I understand. It sounds like I should be specific about the >>> default position where I want each of my windows to appear and then >>> come up with a scheme for the standalone that saves the position of >>> each window when it's closed. I already have a scheme in place to >>> save other settings in an outboard file because of not being able to >>> save stuff within the standalone so that shouldn't be a big deal. >>> >>> A lot of this has to do with windows getting hidden behind other >>> windows. I already have a menu that lists all the currently open >>> windows so users can easily get to one that is hidden by selecting it >>> from the menu but I think attempting to avoid that problem by specific >>> positioning would be a good idea. >>> >>> Pete Haworth >>> >>> On Dec 7, 2010, at 4:18 PM, Bj?rnke von Gierke wrote: >>> >>>> stacks save their position and size into themselves when you save >>>> them, be it via the save menu or by any other means. Stacks that are >>>> a standalone can't save themselves. Other programs use setting >>>> files or the registry to save their window size and positioning >>>> between launches. >>>> >>>> Note that the IDE might reposition your stacks, depending on the >>>> windowboundingrect which excludes the IDE's menubar, iconbar and the >>>> tools palette from the available places for stacks. >>>> >>>> >>>> On 7 Dec 2010, at 23:59, Peter Haworth wrote: >>>> >>>>> Given that I don't provide any coordinates for the window position >>>>> when I open a stack, what default position does LC use? >>>>> >>>>> My stack windows always seem to open at the same coordinates but >>>>> each stack window is at a different location. If I drag a stack >>>>> window to a different location on the screen, close it, then open >>>>> it again, it is displayed at its original position, not the one I >>>>> dragged it to so it seems like it's my responsibility to record the >>>>> window location in those circumstances if I want it to open at the >>>>> same location next time around. >>>>> >>>>> Pete Haworth >>>> >>>> >>>> -- >>>> >>>> official ChatRev page: >>>> http://bjoernke.com?target=chatrev >>>> >>>> Chat with other RunRev developers: >>>> go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> -- >> Dr Terry Judd | Senior Lecturer in Medical Education >> Medical Education Unit >> Melbourne Medical School >> The University of Melbourne >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Tue Dec 7 20:37:18 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Tue, 7 Dec 2010 17:37:18 -0800 Subject: Window Positioning In-Reply-To: <844B4A9A6AC842908296CE82E31AEF64@PAULD> References: <844B4A9A6AC842908296CE82E31AEF64@PAULD> Message-ID: Look forward to hearing the answer to that (I'm on a Mac). Pete Haworth On Dec 7, 2010, at 5:26 PM, Paul D. DeRocco wrote: >> From: Peter Haworth >> >> OK, I understand. It sounds like I should be specific about the >> default position where I want each of my windows to appear and then >> come up with a scheme for the standalone that saves the position of >> each window when it's closed. I already have a scheme in place to >> save other settings in an outboard file because of not being able to >> save stuff within the standalone so that shouldn't be a big deal. > > I don't know if the latest version has solved this, but on the Mac > there > used to be a problem with this. If you interrogated the window > position and > save it, and then used the same numbers to restore it, the window > moved down > by the height of the non-existent menu bar. This is because the > window was > initially created with its own menu bar, a la Windows, and then on > the Mac > the menu bar was removed and its contents moved to the system menu > on the > top of the screen. I never found a bullet-proof solution to this that > properly adapted to variations in menu bar height. Can anyone say if > this > issue has been resolved? > > -- > > Ciao, Paul D. DeRocco > Paul mailto:pderocco at ix.netcom.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at mollysrevenge.com Tue Dec 7 20:52:17 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Tue, 7 Dec 2010 17:52:17 -0800 Subject: IDE Save In-Reply-To: References: <9280BBD1-E239-46E1-A5A8-6A3DD439FCA6@mollysrevenge.com> Message-ID: <450797E3-F1F3-4049-A992-9F03DC220396@mollysrevenge.com> I'm not totally sure about this now but I think the circumstances involved using the "Save as Standalone" option. I did that to create a new standalone and got the usual prompt about saving everything so assumed everything had been saved. Only after I ran the standalone and found that the bug I had bee working on was still there did I realise that my changes hadn't been saved. I don't think I've ever come across the lack of save problem when building a standalone before.. Pete Haworth On Dec 7, 2010, at 5:32 PM, Bj?rnke von Gierke wrote: > Yes that is annoying. > > The problem here is that there's no assured way for the LC engine to > know wether a stack has been changed. Sure, the IDE tracks mouse > clicks, changed scripts and a few other things. But if for example, > you lock messages at the wrong point, then the IDE is unaware, and > thinks there's been no change. > > As a workaround there are auto save plugins that save for you every > 5 minute (or so). Even then, you will probably be forced to change > your workflow. I for example have just reviewed my behaviour, and it > seems i've gotten used to never quit the app, and never just close > stacks. Instead I save a stack, then close it, and only after each > stack is closed that way, I quit. By now, I even do this in the web > browser and text editor! > > On 8 Dec 2010, at 02:17, Peter Haworth wrote: > >> I just came across another instance of a pet peeve of mine. I lost >> a couple of hours of scripting work because for some reason that >> isn't clear to me the IDE doesn't always save everything when you >> exit. It asked me if I wanted to save and I confirmed that I did, >> yet a bunch of coding changes didn't make it. The changes weren't >> in my application main stack but in another main stack containing >> scripts that I insert as front scripts. Both stacks were loaded >> into memory at the time I exited. >> >> I've been aware of save problems like this for a while and try to >> save things manually at regular intervals but didn't do so on this >> occasion. But really, should a modern day development environment >> allow you to exit without saving your work unless you specifically >> tell it not to? That seems like a huge bug to me. >> >> Pete Haworth > > -- > > official ChatRev page: > http://bjoernke.com?target=chatrev > > Chat with other RunRev developers: > go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tsj at unimelb.edu.au Tue Dec 7 20:46:28 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Wed, 08 Dec 2010 12:46:28 +1100 Subject: Window Positioning In-Reply-To: <8263C8B1-5944-4391-8997-60921A7D0F89@mollysrevenge.com> Message-ID: Yup - forget about all that - I was writing without thinking. Of course window positions are preserved within a 'session' and lost between sessions unless you either (a) store the location externally or (b) the stacks you are opening are independent of the application stack (in which case you can use cProps and save changes to the stack as you go). Terry... On 8/12/10 12:31 PM, "Peter Haworth" wrote: > I use cprops a lot but I thought it wasn't possible to store cprop > values across runs of a standalone? > > Pete Haworth > > On Dec 7, 2010, at 5:22 PM, Terry Judd wrote: > >> Custom properties are good for this sort of thing. Create a stack >> property >> named cTL and populate it with the (topLeft) coordinates that you >> want the >> stack to initially open with. Then in you preopenstack handler... >> >> on preopenstack >> set the topleft of me to the cTL of me >> end preopenstack >> >> Then if you want to recall the last known position of the stack the >> next >> time you open it then just modify the cTL property each time you >> close the >> stack >> >> on closestack >> set the cTL of me to the topleft of me >> end closestack >> >> Alternatively you can just hide stacks rather than closing them by >> trapping >> the closeStackRequest message, and then show them the next time you >> open >> them. That way there is no need to capture and reset their location. >> >> on closestackrequest >> set the visible of me to false >> end closestackrequest >> >> You can query the openstacks to see whether the stack needs to be >> opened >> (first time) or simply shown (subsequent times). >> >> HTH, >> >> Terry... >> >> On 8/12/10 12:06 PM, "Peter Haworth" wrote: >> >>> OK, I understand. It sounds like I should be specific about the >>> default position where I want each of my windows to appear and then >>> come up with a scheme for the standalone that saves the position of >>> each window when it's closed. I already have a scheme in place to >>> save other settings in an outboard file because of not being able to >>> save stuff within the standalone so that shouldn't be a big deal. >>> >>> A lot of this has to do with windows getting hidden behind other >>> windows. I already have a menu that lists all the currently open >>> windows so users can easily get to one that is hidden by selecting it >>> from the menu but I think attempting to avoid that problem by >>> specific >>> positioning would be a good idea. >>> >>> Pete Haworth >>> >>> On Dec 7, 2010, at 4:18 PM, Bj?rnke von Gierke wrote: >>> >>>> stacks save their position and size into themselves when you save >>>> them, be it via the save menu or by any other means. Stacks that are >>>> a standalone can't save themselves. Other programs use setting >>>> files or the registry to save their window size and positioning >>>> between launches. >>>> >>>> Note that the IDE might reposition your stacks, depending on the >>>> windowboundingrect which excludes the IDE's menubar, iconbar and the >>>> tools palette from the available places for stacks. >>>> >>>> >>>> On 7 Dec 2010, at 23:59, Peter Haworth wrote: >>>> >>>>> Given that I don't provide any coordinates for the window position >>>>> when I open a stack, what default position does LC use? >>>>> >>>>> My stack windows always seem to open at the same coordinates but >>>>> each stack window is at a different location. If I drag a stack >>>>> window to a different location on the screen, close it, then open >>>>> it again, it is displayed at its original position, not the one I >>>>> dragged it to so it seems like it's my responsibility to record the >>>>> window location in those circumstances if I want it to open at the >>>>> same location next time around. >>>>> >>>>> Pete Haworth >>>> >>>> >>>> -- >>>> >>>> official ChatRev page: >>>> http://bjoernke.com?target=chatrev >>>> >>>> Chat with other RunRev developers: >>>> go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> -- >> Dr Terry Judd | Senior Lecturer in Medical Education >> Medical Education Unit >> Melbourne Medical School >> The University of Melbourne >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From gbojsza at gmail.com Tue Dec 7 21:19:37 2010 From: gbojsza at gmail.com (Glen Bojsza) Date: Tue, 7 Dec 2010 19:19:37 -0700 Subject: preOpenStack - Main stack script affects SubStack when it opens? Message-ID: Maybe it's me or should this not be happening. Livecode 4.5.1. I have a mainstack that has a preOpenStack that does some house keeping... I just added a substack that is opened from the mainstack by a user clicking a button. **There is NO preOpenStack in the substack When the substack opens the preOpenStack of the mainstack tries to run which generates an error since none of the objects on the mainstack are on the substack. Should preOpenStack only work with the stack that contains it? If this is the proper way the system works then what is the work around? thanks, Glen From MikeKerner at roadrunner.com Tue Dec 7 21:36:21 2010 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 7 Dec 2010 21:36:21 -0500 Subject: preOpenStack and Breakpoints Message-ID: Unrelated to the other preOpenStack problem reported in 4.5.1 earlier by someone else.... I have a preOpenStack script with breakpoints in it. But the breakpoints never cause the script editor to come forward. If I put an answer "preOpenStack" line in the script the dialog will come up, but the breakpoints still don't fire. Is there some undocumented rhyme or reason for this? From scott at tactilemedia.com Tue Dec 7 21:41:50 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 7 Dec 2010 18:41:50 -0800 Subject: preOpenStack - Main stack script affects SubStack when it opens? In-Reply-To: References: Message-ID: <7CE10493-D39B-4256-8716-F789417AF47C@tactilemedia.com> If you move the preOpenStack handler to the script of the first card of the mainstack, the substack won't trigger the handler. This is a common method of handling "housekeeping" and other routines that you want run at startup, but don't want triggered by substacks. Regards, Scott Rossi Creative Director Tactile Media, UX Design On Dec 7, 2010, at 6:19 PM, Glen Bojsza wrote: > Maybe it's me or should this not be happening. Livecode 4.5.1. > > I have a mainstack that has a preOpenStack that does some house keeping... > > I just added a substack that is opened from the mainstack by a user clicking > a button. > > **There is NO preOpenStack in the substack > > When the substack opens the preOpenStack of the mainstack tries to run which > generates an error since none of the objects on the mainstack are on the > substack. > > Should preOpenStack only work with the stack that contains it? > > If this is the proper way the system works then what is the work around? > > thanks, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Tue Dec 7 21:40:55 2010 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 7 Dec 2010 21:40:55 -0500 Subject: preOpenStack and Breakpoints In-Reply-To: References: Message-ID: Well, never mind, I guess, I see I reported this bug as 7006 way back in the v. 3 days and it is still listed as "unconfirmed". I also see that now, as then, if I use "breakpoint" instead of a dot breakpoint, things work ok. From pete at mollysrevenge.com Tue Dec 7 21:41:51 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Tue, 7 Dec 2010 18:41:51 -0800 Subject: preOpenStack - Main stack script affects SubStack when it opens? In-Reply-To: References: Message-ID: I think I've run into that and got round it by checking the name of "this stack" in the preOpenStack handler and only executing the rest of the script if I'm in the mainstack. Actually, come to think about it, that was in a preOpenCard handler for a card in the main stack, not the main stack itself but I'm sure the same technique will work. Pete Haworth On Dec 7, 2010, at 6:19 PM, Glen Bojsza wrote: > Maybe it's me or should this not be happening. Livecode 4.5.1. > > I have a mainstack that has a preOpenStack that does some house > keeping... > > I just added a substack that is opened from the mainstack by a user > clicking > a button. > > **There is NO preOpenStack in the substack > > When the substack opens the preOpenStack of the mainstack tries to > run which > generates an error since none of the objects on the mainstack are on > the > substack. > > Should preOpenStack only work with the stack that contains it? > > If this is the proper way the system works then what is the work > around? > > thanks, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rjb at robelko.com Tue Dec 7 21:42:50 2010 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 8 Dec 2010 03:42:50 +0100 Subject: preOpenStack - Main stack script affects SubStack when it opens? In-Reply-To: References: Message-ID: On 07.12.2010 at 19:19 Uhr -0700 Glen Bojsza apparently wrote: >When the substack opens the preOpenStack of the mainstack tries to run which >generates an error since none of the objects on the mainstack are on the >substack. > >Should preOpenStack only work with the stack that contains it? > >If this is the proper way the system works then what is the work around? > >thanks, > >Glen Move your preOpenStack from the stack script to script of card 1. What is happening is the result of message passing. In other words, it the proper way the system works. If your preOpenStack is on first card of the mainstack, it will execute only for the mainstack. An alternative could be to check in the preOpenStack if the active stack is the mainstack but it is simpler to move that handler. Robert From pete at mollysrevenge.com Tue Dec 7 21:45:35 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Tue, 7 Dec 2010 18:45:35 -0800 Subject: preOpenStack and Breakpoints In-Reply-To: References: Message-ID: <3A258541-5C66-4FCB-95F2-41437E7DFA02@mollysrevenge.com> I can only confirm that I've had the same problem many times, wish I had a solution for it. Makes debugging pretty difficult. Pete Haworth On Dec 7, 2010, at 6:36 PM, Mike Kerner wrote: > Unrelated to the other preOpenStack problem reported in 4.5.1 > earlier by > someone else.... > > I have a preOpenStack script with breakpoints in it. But the > breakpoints > never cause the script editor to come forward. If I put an answer > "preOpenStack" line in the script the dialog will come up, but the > breakpoints still don't fire. > > Is there some undocumented rhyme or reason for this? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Tue Dec 7 21:51:32 2010 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 7 Dec 2010 21:51:32 -0500 Subject: preOpenStack and Breakpoints In-Reply-To: <3A258541-5C66-4FCB-95F2-41437E7DFA02@mollysrevenge.com> References: <3A258541-5C66-4FCB-95F2-41437E7DFA02@mollysrevenge.com> Message-ID: I've reopened my bug report, so hopefully we can get it worked on. From MikeKerner at roadrunner.com Tue Dec 7 21:55:09 2010 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 7 Dec 2010 21:55:09 -0500 Subject: preOpenStack and Breakpoints In-Reply-To: References: <3A258541-5C66-4FCB-95F2-41437E7DFA02@mollysrevenge.com> Message-ID: Peter, I also resubmitted it so the version would be updated. It's bug 9219. As a workaround, instead of using a dot breakpoint, use the 'breakpoint' keyword. From tsj at unimelb.edu.au Tue Dec 7 21:29:58 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Wed, 08 Dec 2010 13:29:58 +1100 Subject: preOpenStack - Main stack script affects SubStack when it opens? In-Reply-To: Message-ID: This is normal behaviour. The ways around it are... 1. an empty preopenstack handler in the substack 2. stack specific code in the main stack preopenstack handler on preopenstack if the short name of me = [mainstack name] then do stuff end if end preopenstack 3. move the preopenstack handler to the card script of the first card of the main stack Hopefully I've got that right. Terry... On 8/12/10 1:19 PM, "Glen Bojsza" wrote: > Maybe it's me or should this not be happening. Livecode 4.5.1. > > I have a mainstack that has a preOpenStack that does some house keeping... > > I just added a substack that is opened from the mainstack by a user clicking > a button. > > **There is NO preOpenStack in the substack > > When the substack opens the preOpenStack of the mainstack tries to run which > generates an error since none of the objects on the mainstack are on the > substack. > > Should preOpenStack only work with the stack that contains it? > > If this is the proper way the system works then what is the work around? > > thanks, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From Mark_Smith at cpe.umanitoba.ca Tue Dec 7 23:38:51 2010 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Tue, 7 Dec 2010 20:38:51 -0800 (PST) Subject: focus question In-Reply-To: <4cfdc0ed.896ae50a.7fe0.ffffe922@mx.google.com> References: <1291583295442-3073660.post@n4.nabble.com> <8455EF33-F64F-47CE-A5D5-B98E09174CE6@dvcreators.net> <1291639305449-3074402.post@n4.nabble.com> <4cfcfd23.922ddc0a.091d.607b@mx.google.com> <3F95480D5F0DA64EA0785711087864DE8C61A4E0E9@exch01.mchpe.cpe.umanitoba.ca> <4cfdc0ed.896ae50a.7fe0.ffffe922@mx.google.com> Message-ID: <1291783131364-3077700.post@n4.nabble.com> Walt Brown wrote: > > Done. > Walt, Thanks. Will look and play and let you know what all I learn. Probably on the weekend. -- M -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/focus-question-tp3073660p3077700.html Sent from the Revolution - User mailing list archive at Nabble.com. From walter.h.brown at gmail.com Tue Dec 7 23:40:16 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Tue, 7 Dec 2010 23:40:16 -0500 Subject: Window Positioning In-Reply-To: <2F8DE495-D9B4-4491-BEE8-373CED4E8381@cox.net> References: <5799667D-4CB6-490D-BFF7-3FD48981D511@mac.com> <2F8DE495-D9B4-4491-BEE8-373CED4E8381@cox.net> Message-ID: <4cff0c4c.0e9edc0a.731e.09ef@mx.google.com> Ken was kind enough to add last position persistence to ssbk and it's subwindows when I presented him with a new multi-screen layout. Not all the components of LC though are so thoughtful. Walt -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Joe Lewis Wilkins Sent: Tuesday, December 07, 2010 8:23 PM To: How to use LiveCode Subject: Re: Window Positioning Hi Peter, You might want to consider something else at the same time. There is a great deal of flexibility in the real estate that users have available these days. Not just screen size, but also the number of screens. If you do decide to manage the window locations, you may want to have a preference whereby the user can elect to have control of the locations, sizes and relationships of the windows themselves. I would be very frustrated to find that after I got everything arranged to my liking to then have the locations (and sizes) changed for me the next time I opened the application. I'm very happy you brought this up, since I'm working on a multiple window project myself, and never gave this a thought. Thanks. Just my opinion, Joe Wilkins On Dec 7, 2010, at 5:06 PM, Peter Haworth wrote: > OK, I understand. It sounds like I should be specific about the default position where I want each of my windows to appear and then come up with a scheme for the standalone that saves the position of each window when it's closed. I already have a scheme in place to save other settings in an outboard file because of not being able to save stuff within the standalone so that shouldn't be a big deal. > > A lot of this has to do with windows getting hidden behind other windows. I already have a menu that lists all the currently open windows so users can easily get to one that is hidden by selecting it from the menu but I think attempting to avoid that problem by specific positioning would be a good idea. > > Pete Haworth > > On Dec 7, 2010, at 4:18 PM, Bj?rnke von Gierke wrote: > >> stacks save their position and size into themselves when you save them, be it via the save menu or by any other means. Stacks that are a standalone can't save themselves. Other programs use setting files or the registry to save their window size and positioning between launches. >> >> Note that the IDE might reposition your stacks, depending on the windowboundingrect which excludes the IDE's menubar, iconbar and the tools palette from the available places for stacks. >> >> >> On 7 Dec 2010, at 23:59, Peter Haworth wrote: >> >>> Given that I don't provide any coordinates for the window position when I open a stack, what default position does LC use? >>> >>> My stack windows always seem to open at the same coordinates but each stack window is at a different location. If I drag a stack window to a different location on the screen, close it, then open it again, it is displayed at its original position, not the one I dragged it to so it seems like it's my responsibility to record the window location in those circumstances if I want it to open at the same location next time around. >>> >>> Pete Haworth >> >> >> -- >> >> official ChatRev page: >> http://bjoernke.com?target=chatrev >> >> Chat with other RunRev developers: >> go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Wed Dec 8 01:12:37 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 7 Dec 2010 22:12:37 -0800 Subject: preOpenStack and Breakpoints In-Reply-To: <3A258541-5C66-4FCB-95F2-41437E7DFA02@mollysrevenge.com> References: <3A258541-5C66-4FCB-95F2-41437E7DFA02@mollysrevenge.com> Message-ID: <1211651457937.20101207221237@ahsoftware.net> Peter- Tuesday, December 7, 2010, 6:45:35 PM, you wrote: > I can only confirm that I've had the same problem many times, wish I > had a solution for it. Makes debugging pretty difficult. I should probably point out that PowerDebug handles this (and many other former annoyances) properly. ...and I should also point out that the introductory price for PowerDebug is going to expire at the end of the month. http://www.ahsoftware.net/PowerTools/BuyPowerDebug.irev -- -Mark Wieder mwieder at ahsoftware.net From pete at mollysrevenge.com Wed Dec 8 02:08:46 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Tue, 7 Dec 2010 23:08:46 -0800 Subject: preOpenStack and Breakpoints In-Reply-To: <1211651457937.20101207221237@ahsoftware.net> References: <3A258541-5C66-4FCB-95F2-41437E7DFA02@mollysrevenge.com> <1211651457937.20101207221237@ahsoftware.net> Message-ID: <95210E87-B085-4EDD-8419-62935543EF53@mollysrevenge.com> That's a pretty nasty cough you have there Mark! How can I download PowerDebug? The link takes me to a place where I can buy it but the Downloads page just has Powertools (which also looks interesting). Pete Haworth On Dec 7, 2010, at 10:12 PM, Mark Wieder wrote: > Peter- > > Tuesday, December 7, 2010, 6:45:35 PM, you wrote: > >> I can only confirm that I've had the same problem many times, wish I >> had a solution for it. Makes debugging pretty difficult. > > > I should probably point out that PowerDebug handles this (and many > other former annoyances) properly. > > ...and I should also point out that the introductory price for > PowerDebug is going to expire at the end of the month. > > > http://www.ahsoftware.net/PowerTools/BuyPowerDebug.irev > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Wed Dec 8 02:34:46 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 7 Dec 2010 23:34:46 -0800 Subject: preOpenStack and Breakpoints In-Reply-To: <95210E87-B085-4EDD-8419-62935543EF53@mollysrevenge.com> References: <3A258541-5C66-4FCB-95F2-41437E7DFA02@mollysrevenge.com> <1211651457937.20101207221237@ahsoftware.net> <95210E87-B085-4EDD-8419-62935543EF53@mollysrevenge.com> Message-ID: <861656386671.20101207233446@ahsoftware.net> Peter- Tuesday, December 7, 2010, 11:08:46 PM, you wrote: > That's a pretty nasty cough you have there Mark! How can I download > PowerDebug? The link takes me to a place where I can buy it but the > Downloads page just has Powertools (which also looks interesting). There's a somewhat earlier version on revOnline with nag screens but otherwise fully functional. ...and...er...don't look at the PowerTools page. I haven't announced that one yet. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Dec 8 02:45:41 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 7 Dec 2010 23:45:41 -0800 Subject: OSC Library In-Reply-To: <1337AD2A-2D55-4461-976E-15F9212AAAF1@mac.com> References: <37C82C7B-8389-4DB5-978F-572CD45F8B0C@mac.com> <181600820781.20101207080840@ahsoftware.net> <1337AD2A-2D55-4461-976E-15F9212AAAF1@mac.com> Message-ID: <541657041921.20101207234541@ahsoftware.net> Tom- The OSC stack is now uploaded to revOnline as MakeBoard. It's a rev controller for the MakeBoard and acts as a demonstration for the libOSC library, which is included as a substack. More than you asked for, I know, but hopefully there's enough there for you to extract what you need. -- -Mark Wieder mwieder at ahsoftware.net From niggemann at uni-wh.de Wed Dec 8 03:29:38 2010 From: niggemann at uni-wh.de (BNig) Date: Wed, 8 Dec 2010 00:29:38 -0800 (PST) Subject: scroller iPhone with bounce In-Reply-To: References: <1291766404552-3077481.post@n4.nabble.com> <1291767114084-3077491.post@n4.nabble.com> Message-ID: <1291796978760-3077835.post@n4.nabble.com> Hi Terry, I meant to say you neither see the bounce nor the deceleration after scrolling in the Simulator. You can scroll in the Simulator, but you need a real device to test scrolling related questions. Sorry for not making the distinction. Glad you liked the example. Kind regards Bernd Terry Judd wrote: > > Hey Bernd, thanks for this really useful example. > > Did you mean that the simulator doesn't bounce? because it scrolls just > fine > if you mouse down and drag. > > Terry... > > > On 8/12/10 11:11 AM, "BNig" wrote: > >> >> You would want to look at the scroller on a real device. The simulator >> does >> not scroll. Forgot to mention that in the previous post. >> >> regards >> Bernd >> >> >> >> BNig wrote: >>> >>> I figured the scroller example in Livecode mobile 4.5.2 was not really >>> complete so I set up the new scroller in a little stack: a list field >>> with >>> a bounce. The bounce was not obvious from the example so I hope this >>> helps >>> people to implement this. (look at the group "umscroll" with lockloc >>> true >>> and the list field) >>> Almost all the code is in the card script. Except for a mouseUp handler >>> in >>> the list field to make the actual selection. >>> >>> The new scroller is a very nice object that really makes things a lot >>> easier. It scrolls very smoothly even on my slow iPhone 3G. Selection is >>> a >>> lot easier since the operating system takes a lot of guesswork out of >>> when >>> a touch is the begin of a scroll and when a touch is a selection. >>> >>> There is one quirk in the current incarnation of the mobile engine: >>> the scroll is really only starting to scroll if you slide the field up >>> and >>> then touch the network bar or whatever you call it. The top line of the >>> screen where the battery is shown etc. This 'defrosts' the scrolling and >>> from then on you can scroll and bounce like you expect it. Runrev is >>> aware >>> of the problem. >>> >>> the zipped version of the stack: >>> >>> http://berndniggemann.on-rev.com/scrolliPhone/lcMobileScroll_0.0.2.livecode.z >>> ip >>> >>> regards >>> >>> Bernd >>> >>> > > -- > Dr Terry Judd | Senior Lecturer in Medical Education > Medical Education Unit > Melbourne Medical School > The University of Melbourne > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/scroller-iPhone-with-bounce-tp3077481p3077835.html Sent from the Revolution - User mailing list archive at Nabble.com. From rene.micout at numericable.com Wed Dec 8 03:39:46 2010 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 8 Dec 2010 09:39:46 +0100 Subject: OSC Library In-Reply-To: <541657041921.20101207234541@ahsoftware.net> References: <37C82C7B-8389-4DB5-978F-572CD45F8B0C@mac.com> <181600820781.20101207080840@ahsoftware.net> <1337AD2A-2D55-4461-976E-15F9212AAAF1@mac.com> <541657041921.20101207234541@ahsoftware.net> Message-ID: <6B56DAB3-4436-4E1E-9C01-770E8BC74E5D@numericable.com> Thank you Mark :-) Le 8 d?c. 2010 ? 08:45, Mark Wieder a ?crit : > Tom- > > The OSC stack is now uploaded to revOnline as MakeBoard. It's a rev > controller for the MakeBoard and acts as a demonstration for the > libOSC library, which is included as a substack. More than you asked > for, I know, but hopefully there's enough there for you to extract > what you need. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From benr_mc at cogapp.com Wed Dec 8 04:42:37 2010 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 08 Dec 2010 09:42:37 +0000 Subject: OSC Library In-Reply-To: <25EFF411-D6F9-433A-8D08-A6B06EDD4BFC@mac.com> References: <37C82C7B-8389-4DB5-978F-572CD45F8B0C@mac.com> <4CFE80A2.2010507@cogapp.com> <25EFF411-D6F9-433A-8D08-A6B06EDD4BFC@mac.com> Message-ID: <4CFF530D.4010609@cogapp.com> On 07/12/2010 22:08, Thomas McGrath III wrote: > I have looked at Mrmr and downloaded touchOSC. They are fairly decent and provide built-in templates with buttons and slider controls. I would think however that LC could be done even better. I envision an editable template with a few controls to choose from and then lay out the screen 'live' as it were to send commands via OSC. The OSC will stay the same (no new or downloaded code) but the controls can be stored and or added via the shared folder in itunes and the end user can modify the screen as they see fit. Basically a nice customizable front end to an OSC backend. > > The other added bonus is that the library would be available for use in desktop apps and soon for droid and win mobile devices. I think this would make a great project and of course the code would be available to all of us LC devs. That sounds great - I just wanted to be sure you were aware of the existing apps. best, Ben From jmyepes at mac.com Wed Dec 8 05:13:27 2010 From: jmyepes at mac.com (JosepM) Date: Wed, 8 Dec 2010 02:13:27 -0800 (PST) Subject: 4.5.2 and iOS Deployment launched In-Reply-To: <4B561EDE-6DAF-4C57-8275-8B644A28A8F9@numericable.com> References: <90D7F0E7-ADFA-4E84-9D02-01ABD8AA4A44@numericable.com> <201012071057.09886.glpunzi@lordzealon.com> <5BF0E27C-02C9-41FB-9443-C5EDA055555C@numericable.com> <201012071136.51360.glpunzi@lordzealon.com> <4B561EDE-6DAF-4C57-8275-8B644A28A8F9@numericable.com> Message-ID: <1291803207792-3077966.post@n4.nabble.com> Hi, I have something similar in my account.. But I could download and install the version, but I have to re-license each time. Why? :( Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/4-5-2-and-iOS-Deployment-launched-tp3075150p3077966.html Sent from the Revolution - User mailing list archive at Nabble.com. From jmyepes at mac.com Wed Dec 8 05:19:37 2010 From: jmyepes at mac.com (JosepM) Date: Wed, 8 Dec 2010 02:19:37 -0800 (PST) Subject: RevMobile: Help needed Message-ID: <1291803577533-3077978.post@n4.nabble.com> Hi, I'm really confused about how to create for iPad. I have a stack of 1024x768 but it always appears as the iPhone app into the iPad. How to create navigable table views like the UITableView? Buttons, radio, checks and text fields? I have to simulate them as images? Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RevMobile-Help-needed-tp3077978p3077978.html Sent from the Revolution - User mailing list archive at Nabble.com. From runrev260805 at m-r-d.de Wed Dec 8 05:36:47 2010 From: runrev260805 at m-r-d.de (Matthias Rebbe) Date: Wed, 8 Dec 2010 11:36:47 +0100 Subject: [On-Rev] attaching params when calling an irev file Message-ID: <2E40F556-C03F-41BC-8781-0D233950D7EF@m-r-d.de> Hi, i want to add some parameters when calling an irev file. e.g. test.irev?a=1&b=2 How can i use this params in my script then. I was pretty sure, i have done this already some time ago, but cannot remember now how to do it, Or am i absolutely wrong on this? Regards, Matthias From williamdesmet at gmail.com Wed Dec 8 07:12:34 2010 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 8 Dec 2010 13:12:34 +0100 Subject: How do I keep an .exe file always in front of other software (on Windows)? Message-ID: Hi there, I am looking for a way to keep my app always in front off other software (on Windows). So when opening other software my app needs to stay in front. Always! Is this possible with LC? greetings, William From m.schonewille at economy-x-talk.com Wed Dec 8 07:26:09 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 8 Dec 2010 13:26:09 +0100 Subject: How do I keep an .exe file always in front of other software (on Windows)? In-Reply-To: References: Message-ID: <1E9E9308-700C-4F94-81EF-F91FC73DB699@economy-x-talk.com> Hi William, Set the systemWindow property of your stack to true. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 How to receive a free Color Converter license http://qurl.tk/kv (read the conditions) On 8 dec 2010, at 13:12, William de Smet wrote: > Hi there, > I am looking for a way to keep my app always in front off other > software (on Windows). > So when opening other software my app needs to stay in front. Always! > Is this possible with LC? > > greetings, > William From williamdesmet at gmail.com Wed Dec 8 07:44:34 2010 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 8 Dec 2010 13:44:34 +0100 Subject: How do I keep an .exe file always in front of other software (on Windows)? In-Reply-To: <1E9E9308-700C-4F94-81EF-F91FC73DB699@economy-x-talk.com> References: <1E9E9308-700C-4F94-81EF-F91FC73DB699@economy-x-talk.com> Message-ID: Hi Mark, That's easy. Thanks! groeten, William 2010/12/8 Mark Schonewille : > Hi William, > > Set the systemWindow property of your stack to true. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > How to receive a free Color Converter license http://qurl.tk/kv (read the conditions) > > On 8 dec 2010, at 13:12, William de Smet wrote: > >> Hi there, >> I am looking for a way to keep my app always in front off other >> software (on Windows). >> So when opening other software my app needs to stay in front. Always! >> Is this possible with LC? >> >> greetings, >> William > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From andre at andregarzia.com Wed Dec 8 07:45:38 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 8 Dec 2010 10:45:38 -0200 Subject: [On-Rev] attaching params when calling an irev file In-Reply-To: <2E40F556-C03F-41BC-8781-0D233950D7EF@m-r-d.de> References: <2E40F556-C03F-41BC-8781-0D233950D7EF@m-r-d.de> Message-ID: On Wed, Dec 8, 2010 at 8:36 AM, Matthias Rebbe wrote: > Hi, > > i want to add some parameters when calling an irev file. e.g. if you call it like: > test.irev?a=1&b=2 > then you will be able to access the params as: $_GET["a"] and $_GET["b"] Cheers andre > > How can i use this params in my script then. I was pretty sure, i have done > this already some time ago, but cannot remember now how to do it, > Or am i absolutely wrong on this? > > Regards, > > Matthias > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From mcgrath3 at mac.com Wed Dec 8 08:58:59 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 08 Dec 2010 08:58:59 -0500 Subject: OSC Library In-Reply-To: <541657041921.20101207234541@ahsoftware.net> References: <37C82C7B-8389-4DB5-978F-572CD45F8B0C@mac.com> <181600820781.20101207080840@ahsoftware.net> <1337AD2A-2D55-4461-976E-15F9212AAAF1@mac.com> <541657041921.20101207234541@ahsoftware.net> Message-ID: <75766CDC-13F9-450A-AE3E-88CDCB322205@mac.com> Mark- This is a great project for the Make Board and the OSC library looks fantastic. I can't wait to test this out. I will test it out with the Arduino and report the results. Thank you, this is great. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Dec 8, 2010, at 2:45 AM, Mark Wieder wrote: > Tom- > > The OSC stack is now uploaded to revOnline as MakeBoard. It's a rev > controller for the MakeBoard and acts as a demonstration for the > libOSC library, which is included as a substack. More than you asked > for, I know, but hopefully there's enough there for you to extract > what you need. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david at vaudevillecourt.tv Wed Dec 8 11:40:54 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Wed, 8 Dec 2010 16:40:54 +0000 Subject: revServer Installation on DreamHost Message-ID: Has anyone successfully installed rvServer on DreamHost? I'm setting this up for this weekends Live Code TV event, but running into the missing libraries thing: - http://forums.runrev.com/phpBB2/viewtopic.php?f=8&t=6147 - http://forums.runrev.com/phpBB2/viewtopic.php?f=20&t=5543 ldd revserver > linux-gate.so.1 => (0xffffe000) > libdl.so.2 => /lib32/libdl.so.2 (0xf76dd000) > libm.so.6 => /lib32/libm.so.6 (0xf76b9000) > libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf75cb000) > libpcre.so.0 => not found > libpng12.so.0 => /usr/lib32/libpng12.so.0 (0xf75a7000) > libjpeg.so.62 => /usr/lib32/libjpeg.so.62 (0xf7588000) > libcurl.so.4 => not found > libc.so.6 => /lib32/libc.so.6 (0xf7436000) > libz.so.1 => /usr/lib32/libz.so.1 (0xf7421000) > /lib/ld-linux.so.2 (0xf76f2000) > libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7413000) > Any suggestions - the more detailed the better so I can write this up for the rest of us :) From jacque at hyperactivesw.com Wed Dec 8 11:43:17 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 Dec 2010 10:43:17 -0600 Subject: 4.5.2 and iOS Deployment launched In-Reply-To: <1291803207792-3077966.post@n4.nabble.com> References: <90D7F0E7-ADFA-4E84-9D02-01ABD8AA4A44@numericable.com> <201012071057.09886.glpunzi@lordzealon.com> <5BF0E27C-02C9-41FB-9443-C5EDA055555C@numericable.com> <201012071136.51360.glpunzi@lordzealon.com> <4B561EDE-6DAF-4C57-8275-8B644A28A8F9@numericable.com> <1291803207792-3077966.post@n4.nabble.com> Message-ID: <4CFFB5A5.7070700@hyperactivesw.com> On 12/8/10 4:13 AM, JosepM wrote: > > Hi, > > I have something similar in my account.. But I could download and install > the version, but I have to re-license each time. Why? :( It happens if you purchased a commercial license for Desktop and a personal license for iOS, which gives you two different licenses. The two can't be merged because they are different types. If you upgrade to commercial iOS then you won't have to switch between licenses. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From david at vaudevillecourt.tv Wed Dec 8 11:49:52 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Wed, 8 Dec 2010 16:49:52 +0000 Subject: Using arrayencode for revmobile web services Message-ID: I want to send complex data to a revmobile client. XML is out because that's not part of the revmobile client yet I believe (or at least i am assuming this has not been brought into the engine). I could use JSON, but as I'v not really stress tested teh existing community libraries, I'm thinking the way to do it is: 1. create to create an iRev script that fetches the xml, 2. turn it into an array, 3. arrayencode this 4. urlencode that 5. send to revmobile client 6. urldecode and arraydecode in revMobile 7. have nice arrays to work with It's backwards but i hope you know what I mean. has anyone used arrayencode to send stuff over the wire, or know any reason why this should not work? Testing now.... but in the process of installing revServer so knwoing that this won;t work would, well, change my priorities here? From baccheschi at tin.it Wed Dec 8 11:55:53 2010 From: baccheschi at tin.it (baccheschi at tin.it) Date: Wed, 8 Dec 2010 17:55:53 +0100 (CET) Subject: is it possible... Message-ID: <33443992.247231291827353494.JavaMail.defaultUser@defaultHost> Hi to everybody I am a beginner of LiveCode.. Is it possible to send a variable from a substack to Main Stack ? I put a question in the substack and I put the answer in a field of the MainStack..Is there a better way to get the answer?Thanksmario From bvg at mac.com Wed Dec 8 12:04:12 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 08 Dec 2010 18:04:12 +0100 Subject: Using arrayencode for revmobile web services In-Reply-To: References: Message-ID: arrayencode produces binary, you probably in addition need to base64en- / de-code. On 8 Dec 2010, at 17:49, David Bovill wrote: > I want to send complex data to a revmobile client. XML is out because that's > not part of the revmobile client yet I believe (or at least i am assuming > this has not been brought into the engine). I could use JSON, but as I'v not > really stress tested teh existing community libraries, I'm thinking the way > to do it is: > > 1. create to create an iRev script that fetches the xml, > 2. turn it into an array, > 3. arrayencode this > 4. urlencode that > 5. send to revmobile client > 6. urldecode and arraydecode in revMobile > 7. have nice arrays to work with > > It's backwards but i hope you know what I mean. has anyone used arrayencode > to send stuff over the wire, or know any reason why this should not work? > Testing now.... but in the process of installing revServer so knwoing that > this won;t work would, well, change my priorities here? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Wed Dec 8 12:08:31 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 8 Dec 2010 18:08:31 +0100 Subject: is it possible... In-Reply-To: <33443992.247231291827353494.JavaMail.defaultUser@defaultHost> References: <33443992.247231291827353494.JavaMail.defaultUser@defaultHost> Message-ID: Hi Mario, I'm pretty sure that it is possible, but what exactly do you want to do with this variable, or with the question and the answer? If you want to compare the two, try if fld 1 of stack "Name of substack" is fld 1 of stack "Name of mainstack" then... If you want to put the field of the substack into the field of the mainstac, do put fld 1 of stack "Name of substack" into fld 1 of stack "Name of mainstack" -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 How to receive a free Color Converter license http://qurl.tk/kv (read the conditions) On 8 dec 2010, at 17:55, baccheschi at tin.it wrote: > Hi to everybody > I am a beginner of LiveCode.. > Is it possible to send a variable from a substack to Main Stack ? > I put a question in the substack and I put the answer in a field of the MainStack..Is there a better way to get the answer?Thanksmario From harald at etcpp.de Wed Dec 8 12:13:48 2010 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Wed, 8 Dec 2010 18:13:48 +0100 Subject: LiveCode and facebook In-Reply-To: References: <1291041824113-3063680.post@n4.nabble.com> <1291049853005-3063930.post@n4.nabble.com> <0C487C16-3299-4DED-A842-9179057A9173@etcpp.de> Message-ID: <1AD08B95-0AEA-4916-948F-A3FDC5720E70@etcpp.de> Hi Ben, thanks for the info. I'm now trying to implement it using the iOS-specific LiveCode features of the new version 4.5.2 and it looks good so far. As soon as I'm ready I will post it to the community. Best regards, Harald. | Harald M?ller (www.etcpp.de) | Theodor-K?rner-Stra?e 4, 97072 W?rzburg | Telefon + 49-[0]931-329090-42 Am 07.12.2010 um 11:17 schrieb Benjamin Beaumont: > Hi Harald, > > Thanks for your post. It sounds like you've solved a problem that would > interest quite a number of others in the community. If you would like to > share your code then you can do with every other LiveCode user by uploading > it to revOnline. It's the 4th button from the left in the main LiveCode > toolbar. > > Warm regards, > > Ben > > On 3 December 2010 12:09, Harald M?ller wrote: > >> Hi all. >> >> I managed to login a user to facebook via LiveCode and to get his/her >> permissions >> to write to the wall. Also posting to the users wall is possible. I'm doing >> this for later >> versions of the iOS Plugin and hope it will include revBrowser (which I >> need to let the >> user login). >> >> If anyone is interested in the code and wants to optimize it with me: >> you're welcome! >> BTW: Is there a place anywhere in the web for working together on code? >> >> Best regards, >> Harald. >> >> | Harald M?ller (www.etcpp.de) >> | Theodor-K?rner-Stra?e 4, 97072 W?rzburg >> | Telefon + 49-[0]931-329090-42 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> Email has been scanned for viruses by Altman Technologies' email management >> service - www.altman.co.uk/emailsystems > > > > > -- > _____________________________________________ > > Benjamin Beaumont . RunRev Ltd > > Revolution Product Manager > mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW > email : ben at runrev.com > company : +44(0) 845 219 89 23 > fax : +44(0) 845 458 8487 > web : www.runrev.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From baccheschi at tin.it Wed Dec 8 12:23:37 2010 From: baccheschi at tin.it (baccheschi at tin.it) Date: Wed, 8 Dec 2010 18:23:37 +0100 (CET) Subject: R: Re: is it possible... Message-ID: <23720846.248751291829017289.JavaMail.defaultUser@defaultHost> ----Messaggio originale---- Da: m.schonewille at economy-x-talk.com Data: 8-dic-2010 18.08 A: "How to use LiveCode" Ogg: Re: is it possible... Hi Mario, I'm pretty sure that it is possible, but what exactly do you want to do with this variable, or with the question and the answer? If you want to compare the two, try if fld 1 of stack "Name of substack" is fld 1 of stack "Name of mainstack" then... If you want to put the field of the substack into the field of the mainstac, do put fld 1 of stack "Name of substack" into fld 1 of stack "Name of mainstack" -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 How to receive a free Color Converter license http://qurl.tk/kv (read the conditions) On 8 dec 2010, at 17:55, baccheschi at tin.it wrote: > Hi to everybody > I am a beginner of LiveCode.. > Is it possible to send a variable from a substack to Main Stack ? > I put a question in the substack and I put the answer in a field of the MainStack..Is there a better way to get the answer?Thanksmario Many thanks for the fast answer Mark I would use directly the answer : if it is "yes"... something..happens in the main stackIf it is "no"... something different ....happens in the main stackregards mario _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at clarkeandclarke.co.uk Wed Dec 8 12:27:22 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Wed, 8 Dec 2010 17:27:22 +0000 Subject: revServer Installation on DreamHost In-Reply-To: References: Message-ID: <2398A5C2-2713-4B11-847D-4E7B6476520E@clarkeandclarke.co.uk> David, I've just been going through this and with Andre's help, solved the libpcre side but my hosted VPS (Ubuntu Dapper 6.06) version doesn't support the necessary version of libcurl that revServer needs so I'm waiting for further enlightenment on Ubuntu's forum. Still, item 6 may get your libpcre requirement fixed - and you may have a better libcurl version in your /usr/lib directory http://ubuntuforums.org/showthread.php?t=1637423 Best, Keith.. On 8 Dec 2010, at 16:40, David Bovill wrote: > Has anyone successfully installed rvServer on DreamHost? I'm setting this up > for this weekends Live Code TV event, but running into > the missing libraries thing: > > - http://forums.runrev.com/phpBB2/viewtopic.php?f=8&t=6147 > - http://forums.runrev.com/phpBB2/viewtopic.php?f=20&t=5543 > > ldd revserver >> linux-gate.so.1 => (0xffffe000) >> libdl.so.2 => /lib32/libdl.so.2 (0xf76dd000) >> libm.so.6 => /lib32/libm.so.6 (0xf76b9000) >> libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf75cb000) >> libpcre.so.0 => not found >> libpng12.so.0 => /usr/lib32/libpng12.so.0 (0xf75a7000) >> libjpeg.so.62 => /usr/lib32/libjpeg.so.62 (0xf7588000) >> libcurl.so.4 => not found >> libc.so.6 => /lib32/libc.so.6 (0xf7436000) >> libz.so.1 => /usr/lib32/libz.so.1 (0xf7421000) >> /lib/ld-linux.so.2 (0xf76f2000) >> libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7413000) >> > > Any suggestions - the more detailed the better so I can write this up for > the rest of us :) > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bill at bluewatermaritime.com Wed Dec 8 12:33:32 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Wed, 8 Dec 2010 13:33:32 -0400 Subject: quiting and close stack message Message-ID: How do you get an answer dialogue to halt the quit process? If you have a "close stack" handler and it has a "do you really want to quit?" dialogue and you quit the livecode application you see that answer message flash for a second but it doesn't halt the quit process. From harald at etcpp.de Wed Dec 8 13:02:11 2010 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Wed, 8 Dec 2010 19:02:11 +0100 Subject: LiveCode iOS (browser) In-Reply-To: <1AD08B95-0AEA-4916-948F-A3FDC5720E70@etcpp.de> References: <1291041824113-3063680.post@n4.nabble.com> <1291049853005-3063930.post@n4.nabble.com> <0C487C16-3299-4DED-A842-9179057A9173@etcpp.de> <1AD08B95-0AEA-4916-948F-A3FDC5720E70@etcpp.de> Message-ID: <29BC0CD7-E700-4FB3-8790-184C026990BE@etcpp.de> While testing the new "browser" control I can't manage to show/hide the browser "window" while running. It works as expected when defined in the initial state but it can't be changed later. iphoneControlSet sBrowserId, "visible", "true/false" Also the browser doesn't let himself kill (iphoneControlDestroy sBrowserId). Or am I just a suboptimal killer? Any ideas? Best regards, Harald M?ller. | Harald M?ller (www.etcpp.de) | Theodor-K?rner-Stra?e 4, 97072 W?rzburg | Telefon + 49-[0]931-329090-42 From andre at andregarzia.com Wed Dec 8 13:13:37 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 8 Dec 2010 16:13:37 -0200 Subject: LiveCode iOS (browser) In-Reply-To: <29BC0CD7-E700-4FB3-8790-184C026990BE@etcpp.de> References: <1291041824113-3063680.post@n4.nabble.com> <1291049853005-3063930.post@n4.nabble.com> <0C487C16-3299-4DED-A842-9179057A9173@etcpp.de> <1AD08B95-0AEA-4916-948F-A3FDC5720E70@etcpp.de> <29BC0CD7-E700-4FB3-8790-184C026990BE@etcpp.de> Message-ID: Harald, Try iphoneControlDelete instead of iphoneControlDestroy... I think iphoneControlDestroy is a mistake. Also try passing true or false without quotes. Andre On Wed, Dec 8, 2010 at 4:02 PM, Harald M?ller wrote: > While testing the new "browser" control I can't manage to show/hide the > browser "window" while running. It works as expected when defined in the > initial state but it can't be changed later. > > iphoneControlSet sBrowserId, "visible", "true/false" > > Also the browser doesn't let himself kill (iphoneControlDestroy > sBrowserId). > Or am I just a suboptimal killer? > > Any ideas? > > Best regards, > Harald M?ller. > > | Harald M?ller (www.etcpp.de) > | Theodor-K?rner-Stra?e 4, 97072 W?rzburg > | Telefon + 49-[0]931-329090-42 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From bobs at twft.com Wed Dec 8 13:30:28 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 8 Dec 2010 10:30:28 -0800 Subject: is it possible... In-Reply-To: <33443992.247231291827353494.JavaMail.defaultUser@defaultHost> References: <33443992.247231291827353494.JavaMail.defaultUser@defaultHost> Message-ID: <3CB40A0B-170A-4CB9-A45A-B96B8999AC76@twft.com> One way is to get and set the dialogData. This is a global property available to all stacks. It works like any property. set the dialogData to "This is my answer." -- in the substack get the dialogData -- in the mainstack answer it with "Oh I see!" Bob On Dec 8, 2010, at 8:55 AM, baccheschi at tin.it wrote: > Hi to everybody > I am a beginner of LiveCode.. > Is it possible to send a variable from a substack to Main Stack ? > I put a question in the substack and I put the answer in a field of the MainStack..Is there a better way to get the answer?Thanksmario > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jimaultwins at yahoo.com Wed Dec 8 13:30:35 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Wed, 8 Dec 2010 10:30:35 -0800 Subject: is it possible... In-Reply-To: <33443992.247231291827353494.JavaMail.defaultUser@defaultHost> References: <33443992.247231291827353494.JavaMail.defaultUser@defaultHost> Message-ID: <0602B5EE-65ED-4B31-B642-CD0B1F9F0C06@yahoo.com> One method is to use the message path, but the more direct way is to use the long ID of the field type into the message box with one of the stacks as frontmost "put the long id of fld 1" and the main stack long id ==== field id 1004 of card id 1002 of stack "/Users/jault/Documents/ JmaMainStackForTest.rev" and the substack long id ==== field id 1004 of card id 1002 of stack "subUnder" of stack "/Users/ jault/Documents/JmaMainStackForTest.rev" On Dec 8, 2010, at 8:55 AM, baccheschi at tin.it wrote: > Hi to everybody > I am a beginner of LiveCode.. > Is it possible to send a variable from a substack to Main Stack ? > I put a question in the substack and I put the answer in a field of > the MainStack..Is there a better way to get the answer?Thanksmario > ______ Jim Ault Las Vegas From bobs at twft.com Wed Dec 8 13:31:38 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 8 Dec 2010 10:31:38 -0800 Subject: is it possible... In-Reply-To: <33443992.247231291827353494.JavaMail.defaultUser@defaultHost> References: <33443992.247231291827353494.JavaMail.defaultUser@defaultHost> Message-ID: Also the list address has changed. A LOT of people are still using the old address and I cannot figure out why. Please update your address book to use the address use-livecode at lists.runrev.com Thanks. Bob On Dec 8, 2010, at 8:55 AM, baccheschi at tin.it wrote: > Hi to everybody > I am a beginner of LiveCode.. > Is it possible to send a variable from a substack to Main Stack ? > I put a question in the substack and I put the answer in a field of the MainStack..Is there a better way to get the answer?Thanksmario > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Wed Dec 8 13:37:19 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 8 Dec 2010 10:37:19 -0800 Subject: IDE Save In-Reply-To: References: <9280BBD1-E239-46E1-A5A8-6A3DD439FCA6@mollysrevenge.com> Message-ID: Also, remember now that GLX2 is open source, and that has an autosave feature as well. Remo (heretofore tRev) also auto saves if I am not mistaken. Bob On Dec 7, 2010, at 5:32 PM, Bj?rnke von Gierke wrote: > Yes that is annoying. > > The problem here is that there's no assured way for the LC engine to know wether a stack has been changed. Sure, the IDE tracks mouse clicks, changed scripts and a few other things. But if for example, you lock messages at the wrong point, then the IDE is unaware, and thinks there's been no change. > > As a workaround there are auto save plugins that save for you every 5 minute (or so). Even then, you will probably be forced to change your workflow. I for example have just reviewed my behaviour, and it seems i've gotten used to never quit the app, and never just close stacks. Instead I save a stack, then close it, and only after each stack is closed that way, I quit. By now, I even do this in the web browser and text editor! > > On 8 Dec 2010, at 02:17, Peter Haworth wrote: > >> I just came across another instance of a pet peeve of mine. I lost a couple of hours of scripting work because for some reason that isn't clear to me the IDE doesn't always save everything when you exit. It asked me if I wanted to save and I confirmed that I did, yet a bunch of coding changes didn't make it. The changes weren't in my application main stack but in another main stack containing scripts that I insert as front scripts. Both stacks were loaded into memory at the time I exited. >> >> I've been aware of save problems like this for a while and try to save things manually at regular intervals but didn't do so on this occasion. But really, should a modern day development environment allow you to exit without saving your work unless you specifically tell it not to? That seems like a huge bug to me. >> >> Pete Haworth > > -- > > official ChatRev page: > http://bjoernke.com?target=chatrev > > Chat with other RunRev developers: > go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From baccheschi at tin.it Wed Dec 8 13:40:06 2010 From: baccheschi at tin.it (baccheschi at tin.it) Date: Wed, 8 Dec 2010 19:40:06 +0100 (CET) Subject: thanks Message-ID: <15405193.246351291833606111.JavaMail.defaultUser@defaultHost> Many thanks to ALL YOUI learned a lotmario From bill at bluewatermaritime.com Wed Dec 8 13:44:16 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Wed, 8 Dec 2010 14:44:16 -0400 Subject: quiting and close stack message In-Reply-To: References: Message-ID: Maybe this doesn't work in the IDE but is possible in a saved application? On Wed, Dec 8, 2010 at 1:33 PM, william humphrey wrote: > How do you get an answer dialogue to halt the quit process? If you have a > "close stack" handler and it has a "do you really want to quit?" dialogue > and you quit the livecode application you see that answer message flash for > a second but it doesn't halt the quit process. -- http://www.bluewatermaritime.com From bobs at twft.com Wed Dec 8 13:48:47 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 8 Dec 2010 10:48:47 -0800 Subject: preOpenStack and Breakpoints In-Reply-To: <861656386671.20101207233446@ahsoftware.net> References: <3A258541-5C66-4FCB-95F2-41437E7DFA02@mollysrevenge.com> <1211651457937.20101207221237@ahsoftware.net> <95210E87-B085-4EDD-8419-62935543EF53@mollysrevenge.com> <861656386671.20101207233446@ahsoftware.net> Message-ID: <1F00509A-27ED-441D-A13C-5D933B07D1D0@twft.com> These aren't the droids you are looking for. Move along... Bob On Dec 7, 2010, at 11:34 PM, Mark Wieder wrote: > There's a somewhat earlier version on revOnline with nag screens but > otherwise fully functional. > > ...and...er...don't look at the PowerTools page. I haven't announced > that one yet. > > -- > -Mark Wieder > mwieder at ahsoftware.net From david at vaudevillecourt.tv Wed Dec 8 13:52:24 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Wed, 8 Dec 2010 18:52:24 +0000 Subject: Using arrayencode for revmobile web services In-Reply-To: References: Message-ID: The docs for arrayencode say use urlencode - I've had problems with base64encode and certain characters - and I've seen recent posts which had similar issues - never go to the bottom of them. I'll be testing these on revmobile - should work as they are not tied to any external or interface issues.... On a realted note - does anyone know what the algorithm arrayencode is based on? It would be useful for web services on other platforms and languages to be able to send data to revMobile in this format. 2010/12/8 Bj?rnke von Gierke > arrayencode produces binary, you probably in addition need to base64en- / > de-code. > From bobs at twft.com Wed Dec 8 13:39:19 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 8 Dec 2010 10:39:19 -0800 Subject: IDE Save In-Reply-To: <450797E3-F1F3-4049-A992-9F03DC220396@mollysrevenge.com> References: <9280BBD1-E239-46E1-A5A8-6A3DD439FCA6@mollysrevenge.com> <450797E3-F1F3-4049-A992-9F03DC220396@mollysrevenge.com> Message-ID: Oh that's interesting. Save as Standalone does not save your script changes beforehand. Well that is good to know. Still, I save every time I make a series of code changes that will compile, like every few lines or so. I think with GLX2 and Remo, simple hitting the enter key will save and compile it. Bob On Dec 7, 2010, at 5:52 PM, Peter Haworth wrote: > I'm not totally sure about this now but I think the circumstances involved using the "Save as Standalone" option. I did that to create a new standalone and got the usual prompt about saving everything so assumed everything had been saved. Only after I ran the standalone and found that the bug I had bee working on was still there did I realise that my changes hadn't been saved. > > I don't think I've ever come across the lack of save problem when building a standalone before.. > > Pete Haworth From bobs at twft.com Wed Dec 8 13:57:36 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 8 Dec 2010 10:57:36 -0800 Subject: quiting and close stack message In-Reply-To: References: Message-ID: <75D97AB3-72AF-42B3-8C97-5E87E55B5CEF@twft.com> Intercept the shutDownRequest message and only pass it if the user confirms? Bob On Dec 8, 2010, at 9:33 AM, william humphrey wrote: > How do you get an answer dialogue to halt the quit process? If you have a > "close stack" handler and it has a "do you really want to quit?" dialogue > and you quit the livecode application you see that answer message flash for > a second but it doesn't halt the quit process. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Wed Dec 8 14:00:22 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 8 Dec 2010 11:00:22 -0800 Subject: IDE Save In-Reply-To: References: <9280BBD1-E239-46E1-A5A8-6A3DD439FCA6@mollysrevenge.com> Message-ID: Yep, looking forward to giving glx2 a try Pete Haworth -------------- next part -------------- http://www.mollysrevenge.com http://www.sonicbids.com/MollysRevenge http://www.myspace.com/mollysrevengeband On Dec 8, 2010, at 10:37 AM, Bob Sneidar wrote: > Also, remember now that GLX2 is open source, and that has an > autosave feature as well. Remo (heretofore tRev) also auto saves if > I am not mistaken. > > Bob > > > On Dec 7, 2010, at 5:32 PM, Bj?rnke von Gierke wrote: > >> Yes that is annoying. >> >> The problem here is that there's no assured way for the LC engine >> to know wether a stack has been changed. Sure, the IDE tracks mouse >> clicks, changed scripts and a few other things. But if for example, >> you lock messages at the wrong point, then the IDE is unaware, and >> thinks there's been no change. >> >> As a workaround there are auto save plugins that save for you every >> 5 minute (or so). Even then, you will probably be forced to change >> your workflow. I for example have just reviewed my behaviour, and >> it seems i've gotten used to never quit the app, and never just >> close stacks. Instead I save a stack, then close it, and only after >> each stack is closed that way, I quit. By now, I even do this in >> the web browser and text editor! >> >> On 8 Dec 2010, at 02:17, Peter Haworth wrote: >> >>> I just came across another instance of a pet peeve of mine. I >>> lost a couple of hours of scripting work because for some reason >>> that isn't clear to me the IDE doesn't always save everything when >>> you exit. It asked me if I wanted to save and I confirmed that I >>> did, yet a bunch of coding changes didn't make it. The changes >>> weren't in my application main stack but in another main stack >>> containing scripts that I insert as front scripts. Both stacks >>> were loaded into memory at the time I exited. >>> >>> I've been aware of save problems like this for a while and try to >>> save things manually at regular intervals but didn't do so on this >>> occasion. But really, should a modern day development environment >>> allow you to exit without saving your work unless you specifically >>> tell it not to? That seems like a huge bug to me. >>> >>> Pete Haworth >> >> -- >> >> official ChatRev page: >> http://bjoernke.com?target=chatrev >> >> Chat with other RunRev developers: >> go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gbojsza at gmail.com Wed Dec 8 14:01:18 2010 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 8 Dec 2010 12:01:18 -0700 Subject: preOpenStack - Main stack script affects SubStack when it opens? In-Reply-To: References: Message-ID: Lots of options so I chose the to move my preOpenStack from the stack script to script of card 1 and it works perfectly. thanks, On Tue, Dec 7, 2010 at 7:29 PM, Terry Judd wrote: > This is normal behaviour. The ways around it are... > > 1. an empty preopenstack handler in the substack > 2. stack specific code in the main stack preopenstack handler > > on preopenstack > if the short name of me = [mainstack name] then > do stuff > end if > end preopenstack > > 3. move the preopenstack handler to the card script of the first card of > the > main stack > > Hopefully I've got that right. > > Terry... > > > On 8/12/10 1:19 PM, "Glen Bojsza" wrote: > > > Maybe it's me or should this not be happening. Livecode 4.5.1. > > > > I have a mainstack that has a preOpenStack that does some house > keeping... > > > > I just added a substack that is opened from the mainstack by a user > clicking > > a button. > > > > **There is NO preOpenStack in the substack > > > > When the substack opens the preOpenStack of the mainstack tries to run > which > > generates an error since none of the objects on the mainstack are on the > > substack. > > > > Should preOpenStack only work with the stack that contains it? > > > > If this is the proper way the system works then what is the work around? > > > > thanks, > > > > Glen > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Dr Terry Judd | Senior Lecturer in Medical Education > Medical Education Unit > Melbourne Medical School > The University of Melbourne > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at mollysrevenge.com Wed Dec 8 14:03:42 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 8 Dec 2010 11:03:42 -0800 Subject: IDE Save In-Reply-To: References: <9280BBD1-E239-46E1-A5A8-6A3DD439FCA6@mollysrevenge.com> <450797E3-F1F3-4049-A992-9F03DC220396@mollysrevenge.com> Message-ID: Well I'm not sure I'm ready to say that save as standalone NEVER saves script changes, just that ti didn.t appear to in this particular instance. I can't figure out what I did differently this time around to cause that problem. I guess the real message is that you can't rely on the IDE to save when it should and you have to deal with it however you can. Personally, I think that's a ridiculous situation but it is what it is. Pete Haworth On Dec 8, 2010, at 10:39 AM, Bob Sneidar wrote: > Oh that's interesting. Save as Standalone does not save your script > changes beforehand. Well that is good to know. Still, I save every > time I make a series of code changes that will compile, like every > few lines or so. I think with GLX2 and Remo, simple hitting the > enter key will save and compile it. > > Bob > > > On Dec 7, 2010, at 5:52 PM, Peter Haworth wrote: > >> I'm not totally sure about this now but I think the circumstances >> involved using the "Save as Standalone" option. I did that to >> create a new standalone and got the usual prompt about saving >> everything so assumed everything had been saved. Only after I ran >> the standalone and found that the bug I had bee working on was >> still there did I realise that my changes hadn't been saved. >> >> I don't think I've ever come across the lack of save problem when >> building a standalone before.. >> >> Pete Haworth > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bill at bluewatermaritime.com Wed Dec 8 14:07:15 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Wed, 8 Dec 2010 15:07:15 -0400 Subject: quiting and close stack message In-Reply-To: <75D97AB3-72AF-42B3-8C97-5E87E55B5CEF@twft.com> References: <75D97AB3-72AF-42B3-8C97-5E87E55B5CEF@twft.com> Message-ID: Exactly. That is what I'm trying to do. Can that be done and tested in the IDE? On Wed, Dec 8, 2010 at 2:57 PM, Bob Sneidar wrote: > Intercept the shutDownRequest message and only pass it if the user > confirms? > > Bob > > > On Dec 8, 2010, at 9:33 AM, william humphrey wrote: > > > How do you get an answer dialogue to halt the quit process? If you have a > > "close stack" handler and it has a "do you really want to quit?" dialogue > > and you quit the livecode application you see that answer message flash > for > > a second but it doesn't halt the quit process. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.bluewatermaritime.com From bill at bluewatermaritime.com Wed Dec 8 14:11:01 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Wed, 8 Dec 2010 15:11:01 -0400 Subject: quiting and close stack message In-Reply-To: References: <75D97AB3-72AF-42B3-8C97-5E87E55B5CEF@twft.com> Message-ID: *This doesn't work:* * * *on* shutdownRequest answer "are you sure you want to quit" *end* shutdownRequest From pete at mollysrevenge.com Wed Dec 8 14:11:31 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 8 Dec 2010 11:11:31 -0800 Subject: Find/Replace Message-ID: I use the IDE Find/Replace frequently. It seems there are two different dialogs depending on if you have a script editor window open (I think). The one I'm talking about comes up when I hit Cmd-F in a script editor window, then click the "More" button. I have a couple of problems with this dialog. It seems to work fine in terms of finding and displaying in the Search results tab. However, nothing I do seems to make the Replace and Replace All button functional - they are always greyed out. Is that functionality not implemented? The other issue is that the Search Results tab never displays any vertical scroll arrows. SHould I submit these as bugs or am I missing something? Pete Haworth From admin at FlexibleLearning.com Wed Dec 8 14:25:12 2010 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Wed, 8 Dec 2010 19:25:12 -0000 Subject: quiting and close stack message In-Reply-To: Message-ID: 'quit' cannot be terminated once issued. See 'closeStackRequest' instead of 'closeStack'. Hugh Senior FLCo How do you get an answer dialogue to halt the quit process? If you have a "close stack" handler and it has a "do you really want to quit?" dialogue and you quit the livecode application you see that answer message flash for a second but it doesn't halt the quit process. From bobs at twft.com Wed Dec 8 14:26:11 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 8 Dec 2010 11:26:11 -0800 Subject: quiting and close stack message In-Reply-To: References: <75D97AB3-72AF-42B3-8C97-5E87E55B5CEF@twft.com> Message-ID: It looks like this is meant for a standalone only. Quitting the IDE does not seem to send a shutdownRequest to the stack script. Bob On Dec 8, 2010, at 11:11 AM, william humphrey wrote: > *This doesn't work:* > > * > * > > *on* shutdownRequest > > answer "are you sure you want to quit" > > *end* shutdownRequest > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david at vaudevillecourt.tv Wed Dec 8 14:28:33 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Wed, 8 Dec 2010 19:28:33 +0000 Subject: revServer Installation on DreamHost In-Reply-To: <2398A5C2-2713-4B11-847D-4E7B6476520E@clarkeandclarke.co.uk> References: <2398A5C2-2713-4B11-847D-4E7B6476520E@clarkeandclarke.co.uk> Message-ID: Hi Keith, I do seem to have the libraries available in /usr/lib/: lrwxrwxrwx 1 root root 17 Oct 12 06:08 /usr/lib/libpcre.so -> > libpcre.so.3.12.1 > lrwxrwxrwx 1 root root 17 Oct 12 06:08 /usr/lib/libpcre.so.3 -> > libpcre.so.3.12.1 > -rw-r--r-- 50 root root 162816 Jul 14 2008 /usr/lib/libpcre.so.3.12.1 > and: lrwxrwxrwx 1 root root 12 Oct 12 06:08 /usr/lib/libcurl.so.3 -> > libcurl.so.4 > lrwxrwxrwx 1 root root 16 Oct 12 06:08 /usr/lib/libcurl.so.4 -> > libcurl.so.4.1.0 > -rw-r--r-- 50 root root 291976 Mar 26 2010 /usr/lib/libcurl.so.4.1.0 > And I've sym linked them: lrwxrwxrwx 1 root root 26 Dec 8 10:59 /usr/lib32/libpcre.so.0 -> > /usr/lib/libpcre.so.3.12.1 > lrwxrwxrwx 1 root root 21 Dec 8 11:00 /usr/lib32/libcurl.so.4 -> > /usr/lib/libcurl.so.4 > But i am still getting: $ ldd revserver > linux-gate.so.1 => (0xffffe000) > libdl.so.2 => /lib32/libdl.so.2 (0xf779d000) > libm.so.6 => /lib32/libm.so.6 (0xf7779000) > libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf768b000) > libpcre.so.0 => not found > libpng12.so.0 => /usr/lib32/libpng12.so.0 (0xf7667000) > libjpeg.so.62 => /usr/lib32/libjpeg.so.62 (0xf7648000) > libcurl.so.4 => not found > libc.so.6 => /lib32/libc.so.6 (0xf74f6000) > libz.so.1 => /usr/lib32/libz.so.1 (0xf74e1000) > /lib/ld-linux.so.2 (0xf77b2000) > libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf74d3000) > On 8 December 2010 17:27, Keith Clarke wrote: > David, > I've just been going through this and with Andre's help, solved the libpcre > side but my hosted VPS (Ubuntu Dapper 6.06) version doesn't support the > necessary version of libcurl that revServer needs so I'm waiting for further > enlightenment on Ubuntu's forum. > > Still, item 6 may get your libpcre requirement fixed - and you may have a > better libcurl version in your /usr/lib directory > http://ubuntuforums.org/showthread.php?t=1637423 > Best, > Keith.. > > > On 8 Dec 2010, at 16:40, David Bovill wrote: > > > Has anyone successfully installed rvServer on DreamHost? I'm setting this > up > > for this weekends Live Code TV event, but running > into > > the missing libraries thing: > > > > - http://forums.runrev.com/phpBB2/viewtopic.php?f=8&t=6147 > > - http://forums.runrev.com/phpBB2/viewtopic.php?f=20&t=5543 > > > > ldd revserver > >> linux-gate.so.1 => (0xffffe000) > >> libdl.so.2 => /lib32/libdl.so.2 (0xf76dd000) > >> libm.so.6 => /lib32/libm.so.6 (0xf76b9000) > >> libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf75cb000) > >> libpcre.so.0 => not found > >> libpng12.so.0 => /usr/lib32/libpng12.so.0 (0xf75a7000) > >> libjpeg.so.62 => /usr/lib32/libjpeg.so.62 (0xf7588000) > >> libcurl.so.4 => not found > >> libc.so.6 => /lib32/libc.so.6 (0xf7436000) > >> libz.so.1 => /usr/lib32/libz.so.1 (0xf7421000) > >> /lib/ld-linux.so.2 (0xf76f2000) > >> libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7413000) > >> > > > > Any suggestions - the more detailed the better so I can write this up for > > the rest of us :) > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From davidocoker at gmail.com Wed Dec 8 14:40:21 2010 From: davidocoker at gmail.com (David C.) Date: Wed, 8 Dec 2010 13:40:21 -0600 Subject: IDE Save In-Reply-To: References: <9280BBD1-E239-46E1-A5A8-6A3DD439FCA6@mollysrevenge.com> <450797E3-F1F3-4049-A992-9F03DC220396@mollysrevenge.com> Message-ID: > ...?I guess the real message is that you can't rely on the IDE to save > when it should and you have to deal with it however you can. ?Personally, I > think that's a ridiculous situation but it is what it is. Hello Pete, One more thing to consider before coming to a negative conclusion about the IDE: Any time you make property changes using the message box (or through scripting) instead of using the editor, there is no way for the IDE to keep track of those changes since they were done through the message path instead of the IDE. I'm sure the dev team could easily make the IDE always prompt us, based on what happens through the property dialogs and/or script editor, but then we would likely have to give up the functionality of the message box and wide open message path. IMO, it's much better for each of us as a whole to become accustomed to (and responsible for) saving our own work. ;-) Best regards, David C. From richmondmathewson at gmail.com Wed Dec 8 14:53:17 2010 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 08 Dec 2010 21:53:17 +0200 Subject: Reffed image Message-ID: <4CFFE22D.8040902@gmail.com> Cripes . . .talk about slow learners! How do I "import" a referenced image programmatically? From bobs at twft.com Wed Dec 8 14:53:44 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 8 Dec 2010 11:53:44 -0800 Subject: quiting and close stack message In-Reply-To: References: Message-ID: <6FC9B750-DD89-4BD6-B79B-DFE050E6A0C3@twft.com> Hi Hugh. CloseStackRequest does not prevent quitting in the IDE. It appears nothing does. I suspect however that it would work in a standalone. I will test that shortly. Bob On Dec 8, 2010, at 11:25 AM, FlexibleLearning wrote: > 'quit' cannot be terminated once issued. See 'closeStackRequest' instead of > 'closeStack'. > > Hugh Senior > FLCo > > How do you get an answer dialogue to halt the quit process? If you have a > "close stack" handler and it has a "do you really want to quit?" dialogue > and you quit the livecode application you see that answer message flash for > a second but it doesn't halt the quit process. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Wed Dec 8 14:57:14 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 8 Dec 2010 20:57:14 +0100 Subject: Reffed image In-Reply-To: <4CFFE22D.8040902@gmail.com> References: <4CFFE22D.8040902@gmail.com> Message-ID: Hi Richmond, > Cripes . . .talk about slow learners! > > How do I "import" a referenced image programmatically? ... put url("binfile:" & the filename of img "whatever") into img "whatever" ... :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From pete at mollysrevenge.com Wed Dec 8 15:00:27 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 8 Dec 2010 12:00:27 -0800 Subject: IDE Save In-Reply-To: References: <9280BBD1-E239-46E1-A5A8-6A3DD439FCA6@mollysrevenge.com> <450797E3-F1F3-4049-A992-9F03DC220396@mollysrevenge.com> Message-ID: <2C4FB630-97D6-4A66-99E3-3864A2B76D6D@mollysrevenge.com> You're right, there are things you can do in the IDE that it would be unaware of. But these are simple edits made to scripts using the standard script editor window. I haven't narrowed down the exact circumstances that cause the IDE to not save those changes but it does happen. I use the word "ridiculous" because I can't think of any other program I have ever used on any computer that would not save changes unless the user specifically requested that they be discarded. I can't imagine anyone would use an app I developed with LC if it exited without their changes being saved. I do try to save on a frequent basis but I can't always remember what I had for breakfast this morning, never mind to hit the save button every now and again! Pete Haworth On Dec 8, 2010, at 11:40 AM, David C. wrote: >> ... I guess the real message is that you can't rely on the >> IDE to save >> when it should and you have to deal with it however you can. >> Personally, I >> think that's a ridiculous situation but it is what it is. > > Hello Pete, > One more thing to consider before coming to a negative conclusion > about the IDE: > > Any time you make property changes using the message box (or through > scripting) instead of using the editor, there is no way for the IDE to > keep track of those changes since they were done through the message > path instead of the IDE. > > I'm sure the dev team could easily make the IDE always prompt us, > based on what happens through the property dialogs and/or script > editor, but then we would likely have to give up the functionality of > the message box and wide open message path. > > IMO, it's much better for each of us as a whole to become accustomed > to (and responsible for) saving our own work. ;-) > > Best regards, > David C. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobs at twft.com Wed Dec 8 15:02:40 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 8 Dec 2010 12:02:40 -0800 Subject: quiting and close stack message In-Reply-To: References: Message-ID: <2649B24C-776E-4827-9D6E-41E0C8503EAB@twft.com> Ok I have determined that intercepting the closeStackRequest or the shutDownRequest in the IDE does NOT prevent quitting the IDE. However, intercepting closeStackRequest DOES prevent a standalone from quitting if not passed! Intercepting closeStackRequest, while I am sure it would prevent closing the stack does NOT prevent the app from quitting. I hope that clears things up for everyone. Bob On Dec 8, 2010, at 11:25 AM, FlexibleLearning wrote: > 'quit' cannot be terminated once issued. See 'closeStackRequest' instead of > 'closeStack'. > > Hugh Senior > FLCo > > How do you get an answer dialogue to halt the quit process? If you have a > "close stack" handler and it has a "do you really want to quit?" dialogue > and you quit the livecode application you see that answer message flash for > a second but it doesn't halt the quit process. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Dec 8 15:18:54 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 Dec 2010 14:18:54 -0600 Subject: IDE Save In-Reply-To: References: <9280BBD1-E239-46E1-A5A8-6A3DD439FCA6@mollysrevenge.com> <450797E3-F1F3-4049-A992-9F03DC220396@mollysrevenge.com> Message-ID: <4CFFE82E.903@hyperactivesw.com> On 12/8/10 1:03 PM, Peter Haworth wrote: > Well I'm not sure I'm ready to say that save as standalone NEVER saves > script changes, just that ti didn.t appear to in this particular > instance. I can't figure out what I did differently this time around to > cause that problem. I guess the real message is that you can't rely on > the IDE to save when it should and you have to deal with it however you > can. Personally, I think that's a ridiculous situation but it is what it > is. I have only had a no-save issue once in the entire time I've used LiveCode/Rev, and it happened just last week. I had cloned a substack using the message box. Clones appear with a new, unique name ("Copy of xx") and it behaved normally until I closed the cloned stack. After that the IDE acted like there were two stacks with the same name and was saving my changes to the clone instead of the original -- even though the clone was closed. I thought it wasn't saving at all until I re-opened the clone and saw later changes in there. I was talking to someone about it and RR would like a repeatable recipe, but of course the issue is intermittent for you, and only happend to me once. If you can produce a recipe, they'd like to know. The reason I think your issue and mine are similar is because the standalone builder also clones/copies stacks. RR says there should be no problems with cloning mainstacks but there may be an issue with substacks. Obviously it isn't a widespread problem, or no one would have been able to create standalones all this time. So there is something else involved we need to track down. Aside from this one incident, I've never had a no-save problem. But I tend to be trigger-happy with Cmd-S so maybe I just keep ahead of the IDE. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Wed Dec 8 15:30:32 2010 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 08 Dec 2010 22:30:32 +0200 Subject: Reffed image In-Reply-To: References: <4CFFE22D.8040902@gmail.com> Message-ID: <4CFFEAE8.8090704@gmail.com> On 12/08/2010 09:57 PM, Klaus on-rev wrote: > Hi Richmond, > >> Cripes . . .talk about slow learners! >> >> How do I "import" a referenced image programmatically? > ... > put url("binfile:"& the filename of img "whatever") into img "whatever" > ... > :-) > Thanks a lot; BUT; does img "whatever" have to pre-exist, or does that command create it? From jmyepes at mac.com Wed Dec 8 15:46:05 2010 From: jmyepes at mac.com (JosepM) Date: Wed, 8 Dec 2010 12:46:05 -0800 (PST) Subject: RevMobile: Help needed In-Reply-To: <1291803577533-3077978.post@n4.nabble.com> References: <1291803577533-3077978.post@n4.nabble.com> Message-ID: <1291841165501-3079042.post@n4.nabble.com> Any experience? :) Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RevMobile-Help-needed-tp3077978p3079042.html Sent from the Revolution - User mailing list archive at Nabble.com. From jmyepes at mac.com Wed Dec 8 15:47:14 2010 From: jmyepes at mac.com (JosepM) Date: Wed, 8 Dec 2010 12:47:14 -0800 (PST) Subject: 4.5.2 and iOS Deployment launched In-Reply-To: <4CFFB5A5.7070700@hyperactivesw.com> References: <90D7F0E7-ADFA-4E84-9D02-01ABD8AA4A44@numericable.com> <201012071057.09886.glpunzi@lordzealon.com> <5BF0E27C-02C9-41FB-9443-C5EDA055555C@numericable.com> <201012071136.51360.glpunzi@lordzealon.com> <4B561EDE-6DAF-4C57-8275-8B644A28A8F9@numericable.com> <1291803207792-3077966.post@n4.nabble.com> <4CFFB5A5.7070700@hyperactivesw.com> Message-ID: <1291841234128-3079044.post@n4.nabble.com> OK. Thanks Jacqueline. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/4-5-2-and-iOS-Deployment-launched-tp3075150p3079044.html Sent from the Revolution - User mailing list archive at Nabble.com. From keith.clarke at clarkeandclarke.co.uk Wed Dec 8 15:47:25 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Wed, 8 Dec 2010 20:47:25 +0000 Subject: revServer Installation on DreamHost In-Reply-To: References: <2398A5C2-2713-4B11-847D-4E7B6476520E@clarkeandclarke.co.uk> Message-ID: <0FF511CD-2905-45D6-9445-D5FFE91C6C6F@clarkeandclarke.co.uk> David, My Linux knowledge is minimal but I think your symlinks may be the wrong way round(?) I think they should be sudo ln -s Worth a try? Best, Keith.. On 8 Dec 2010, at 19:28, David Bovill wrote: > Hi Keith, I do seem to have the libraries available in /usr/lib/: > > lrwxrwxrwx 1 root root 17 Oct 12 06:08 /usr/lib/libpcre.so -> >> libpcre.so.3.12.1 >> lrwxrwxrwx 1 root root 17 Oct 12 06:08 /usr/lib/libpcre.so.3 -> >> libpcre.so.3.12.1 >> -rw-r--r-- 50 root root 162816 Jul 14 2008 /usr/lib/libpcre.so.3.12.1 >> > > and: > > lrwxrwxrwx 1 root root 12 Oct 12 06:08 /usr/lib/libcurl.so.3 -> >> libcurl.so.4 >> lrwxrwxrwx 1 root root 16 Oct 12 06:08 /usr/lib/libcurl.so.4 -> >> libcurl.so.4.1.0 >> -rw-r--r-- 50 root root 291976 Mar 26 2010 /usr/lib/libcurl.so.4.1.0 >> > > And I've sym linked them: > > lrwxrwxrwx 1 root root 26 Dec 8 10:59 /usr/lib32/libpcre.so.0 -> >> /usr/lib/libpcre.so.3.12.1 >> lrwxrwxrwx 1 root root 21 Dec 8 11:00 /usr/lib32/libcurl.so.4 -> >> /usr/lib/libcurl.so.4 >> > > But i am still getting: > > $ ldd revserver >> linux-gate.so.1 => (0xffffe000) >> libdl.so.2 => /lib32/libdl.so.2 (0xf779d000) >> libm.so.6 => /lib32/libm.so.6 (0xf7779000) >> libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf768b000) >> libpcre.so.0 => not found >> libpng12.so.0 => /usr/lib32/libpng12.so.0 (0xf7667000) >> libjpeg.so.62 => /usr/lib32/libjpeg.so.62 (0xf7648000) >> libcurl.so.4 => not found >> libc.so.6 => /lib32/libc.so.6 (0xf74f6000) >> libz.so.1 => /usr/lib32/libz.so.1 (0xf74e1000) >> /lib/ld-linux.so.2 (0xf77b2000) >> libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf74d3000) >> > > > On 8 December 2010 17:27, Keith Clarke > wrote: > >> David, >> I've just been going through this and with Andre's help, solved the libpcre >> side but my hosted VPS (Ubuntu Dapper 6.06) version doesn't support the >> necessary version of libcurl that revServer needs so I'm waiting for further >> enlightenment on Ubuntu's forum. >> >> Still, item 6 may get your libpcre requirement fixed - and you may have a >> better libcurl version in your /usr/lib directory >> http://ubuntuforums.org/showthread.php?t=1637423 >> Best, >> Keith.. >> >> >> On 8 Dec 2010, at 16:40, David Bovill wrote: >> >>> Has anyone successfully installed rvServer on DreamHost? I'm setting this >> up >>> for this weekends Live Code TV event, but running >> into >>> the missing libraries thing: >>> >>> - http://forums.runrev.com/phpBB2/viewtopic.php?f=8&t=6147 >>> - http://forums.runrev.com/phpBB2/viewtopic.php?f=20&t=5543 >>> >>> ldd revserver >>>> linux-gate.so.1 => (0xffffe000) >>>> libdl.so.2 => /lib32/libdl.so.2 (0xf76dd000) >>>> libm.so.6 => /lib32/libm.so.6 (0xf76b9000) >>>> libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf75cb000) >>>> libpcre.so.0 => not found >>>> libpng12.so.0 => /usr/lib32/libpng12.so.0 (0xf75a7000) >>>> libjpeg.so.62 => /usr/lib32/libjpeg.so.62 (0xf7588000) >>>> libcurl.so.4 => not found >>>> libc.so.6 => /lib32/libc.so.6 (0xf7436000) >>>> libz.so.1 => /usr/lib32/libz.so.1 (0xf7421000) >>>> /lib/ld-linux.so.2 (0xf76f2000) >>>> libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7413000) >>>> >>> >>> Any suggestions - the more detailed the better so I can write this up for >>> the rest of us :) >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Wed Dec 8 16:00:00 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 8 Dec 2010 13:00:00 -0800 Subject: IDE Save In-Reply-To: <4CFFE82E.903@hyperactivesw.com> References: <9280BBD1-E239-46E1-A5A8-6A3DD439FCA6@mollysrevenge.com> <450797E3-F1F3-4049-A992-9F03DC220396@mollysrevenge.com> <4CFFE82E.903@hyperactivesw.com> Message-ID: <83892BEE-7863-45C3-B370-B6D05827EBE4@mollysrevenge.com> The standalone is a new situation for me but I have experienced perhaps a dozen instances of missing saves in the couple of years I've been using Rev/LC. To be clear, I'm talking about script edit changes here not card layouts or object property changes. I definitely try to save more often these days and I also have Time Machine backing up every hour so these happenings cause less grief now than they used to but unfortunately that make it hard for me to come up with a recipe to reproduce them. In fact, there is the opposite problem with changing the layout of a card - changes like that seem to take immediate effect even if you say you don't want to save changes when you close the card! Add a control to a card, close the card and request "Don't Save" then open it again. The control will still be there. Same problem if you delete a control, or move a control. And it's not just layout changes. If I change the name of a control on a card using the property inspector, close the card and select "Don't Save", then open the card again, the control has the changed name not the original one. I've never understood just exactly what it is that gets saved when you close a card in the IDE. Sure isn't the layout or control properties, they're already saved . Maybe it's the data content of the card? I've learned to deal with these situations through experience but they didn't exactly inspire my confidence in the product when I first started using it Pete Haworth On Dec 8, 2010, at 12:18 PM, J. Landman Gay wrote: > On 12/8/10 1:03 PM, Peter Haworth wrote: >> Well I'm not sure I'm ready to say that save as standalone NEVER >> saves >> script changes, just that ti didn.t appear to in this particular >> instance. I can't figure out what I did differently this time >> around to >> cause that problem. I guess the real message is that you can't rely >> on >> the IDE to save when it should and you have to deal with it however >> you >> can. Personally, I think that's a ridiculous situation but it is >> what it >> is. > > I have only had a no-save issue once in the entire time I've used > LiveCode/Rev, and it happened just last week. I had cloned a > substack using the message box. Clones appear with a new, unique > name ("Copy of xx") and it behaved normally until I closed the > cloned stack. After that the IDE acted like there were two stacks > with the same name and was saving my changes to the clone instead of > the original -- even though the clone was closed. I thought it > wasn't saving at all until I re-opened the clone and saw later > changes in there. > > I was talking to someone about it and RR would like a repeatable > recipe, but of course the issue is intermittent for you, and only > happend to me once. If you can produce a recipe, they'd like to > know. The reason I think your issue and mine are similar is because > the standalone builder also clones/copies stacks. RR says there > should be no problems with cloning mainstacks but there may be an > issue with substacks. > > Obviously it isn't a widespread problem, or no one would have been > able to create standalones all this time. So there is something else > involved we need to track down. > > Aside from this one incident, I've never had a no-save problem. But > I tend to be trigger-happy with Cmd-S so maybe I just keep ahead of > the IDE. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jimaultwins at yahoo.com Wed Dec 8 16:03:29 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Wed, 8 Dec 2010 13:03:29 -0800 Subject: Find/Replace In-Reply-To: References: Message-ID: <4FB9ED41-8D0D-4FCA-A249-556CDB8568CD@yahoo.com> To activate the Replace buttons you need to choose Current Tab or All Tabs in the drop down, the idea being that replace only works with script containers that are open. To open one, click on then entry in the list. On my Search Results window I only see an arrow at the top. The bottom one is hidden. Perhaps you have a preference set to 'both arrows in the same location' and that is set to the 'bottom of the scroll' bar, thus hidden. On Dec 8, 2010, at 11:11 AM, Peter Haworth wrote: > I use the IDE Find/Replace frequently. It seems there are two > different dialogs depending on if you have a script editor window > open (I think). The one I'm talking about comes up when I hit Cmd-F > in a script editor window, then click the "More" button. > > I have a couple of problems with this dialog. It seems to work fine > in terms of finding and displaying in the Search results tab. > However, nothing I do seems to make the Replace and Replace All > button functional - they are always greyed out. Is that > functionality not implemented? > > The other issue is that the Search Results tab never displays any > vertical scroll arrows. > > SHould I submit these as bugs or am I missing something? > > Pete Haworth Jim Ault Las Vegas From jacque at hyperactivesw.com Wed Dec 8 16:22:47 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 Dec 2010 15:22:47 -0600 Subject: IDE Save In-Reply-To: <83892BEE-7863-45C3-B370-B6D05827EBE4@mollysrevenge.com> References: <9280BBD1-E239-46E1-A5A8-6A3DD439FCA6@mollysrevenge.com> <450797E3-F1F3-4049-A992-9F03DC220396@mollysrevenge.com> <4CFFE82E.903@hyperactivesw.com> <83892BEE-7863-45C3-B370-B6D05827EBE4@mollysrevenge.com> Message-ID: <4CFFF727.2030308@hyperactivesw.com> On 12/8/10 3:00 PM, Peter Haworth wrote: > The standalone is a new situation for me but I have experienced perhaps > a dozen instances of missing saves in the couple of years I've been > using Rev/LC. To be clear, I'm talking about script edit changes here > not card layouts or object property changes. I definitely try to save > more often these days and I also have Time Machine backing up every hour > so these happenings cause less grief now than they used to but > unfortunately that make it hard for me to come up with a recipe to > reproduce them. > > In fact, there is the opposite problem with changing the layout of a > card - changes like that seem to take immediate effect even if you say > you don't want to save changes when you close the card! Add a control to > a card, close the card and request "Don't Save" then open it again. The > control will still be there. Same problem if you delete a control, or > move a control. > > And it's not just layout changes. If I change the name of a control on a > card using the property inspector, close the card and select "Don't > Save", then open the card again, the control has the changed name not > the original one. I've never understood just exactly what it is that > gets saved when you close a card in the IDE. Sure isn't the layout or > control properties, they're already saved . Maybe it's the data content > of the card? I think some of this is just a misunderstanding of what "save" does. Saving writes the current state of the stack to disk, as you'd expect, but it does not change the state of the stack that's still in RAM. If the stack's destroystack property is false (the default setting in prefs) then the stack isn't really removed from RAM when you close it. It's just hidden and taken out of the message path. The next time you open it, any changes you made will still be there regardless of whether you wrote those changes to disk or not. Destroystack only affects mainstacks. Substacks are never removed from RAM until the mainstack is. So, if you make script or object changes and deny the Save dialog, that doesn't mean that the cards or scripts will revert. If they are still in RAM, they will retain whatever you last did to them. However, if you choose "Close and remove from memory" from the File menu, and say no when asked to save, then I think you'll find that the next time you open the stack your changes will in fact have disappeared. If you always want stacks removed from RAM when you close them, reset the Preferences option to do that (Files & Memory pane, "destroystack peroperty is set to true for new stacks".) For existing stacks, set the property in the stack inspector. It won't affect any substacks, but mainstacks will definitely removed when they close, and your changes won't be there the next time the stack opens. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From admin at FlexibleLearning.com Wed Dec 8 16:27:29 2010 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Wed, 8 Dec 2010 21:27:29 -0000 Subject: quiting and close stack message In-Reply-To: Message-ID: Bob, As I said, 'quit' is non-negotiable. Trap a closeStackRequest in the main stack's card script and offer the option to abort... --| Main stack, card script on closeStackRequest checkQuit end closeStackRequest --| Main stack, stack script on checkQuit answer "Are you sure you want to quit?" with "Yes" or "No" if it="Yes" then quit end checkQuit You can use the same handler in your File menu... on menuPick which if which="Quit" then checkQuit end menuPick and in your shortcuts handler thus... on commandKeyDown pKey if pKey="Q" then checkQuit end commandKeyDown Hugh Senior FLCo Hi Hugh. CloseStackRequest does not prevent quitting in the IDE. It appears nothing does. I suspect however that it would work in a standalone. I will test that shortly. Bob On Dec 8, 2010, at 11:25 AM, FlexibleLearning wrote: > 'quit' cannot be terminated once issued. See 'closeStackRequest' instead of > 'closeStack'. > > Hugh Senior > FLCo > > How do you get an answer dialogue to halt the quit process? If you have a > "close stack" handler and it has a "do you really want to quit?" dialogue > and you quit the livecode application you see that answer message flash for > a second but it doesn't halt the quit process. From klaus at major.on-rev.com Wed Dec 8 16:28:13 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 8 Dec 2010 22:28:13 +0100 Subject: Reffed image In-Reply-To: <4CFFEAE8.8090704@gmail.com> References: <4CFFE22D.8040902@gmail.com> <4CFFEAE8.8090704@gmail.com> Message-ID: Hi Richmond, > On 12/08/2010 09:57 PM, Klaus on-rev wrote: >> Hi Richmond, >> >>> Cripes . . .talk about slow learners! >>> >>> How do I "import" a referenced image programmatically? >> ... >> put url("binfile:"& the filename of img "whatever") into img "whatever" >> ... >> :-) >> > Thanks a lot; BUT; does img "whatever" have to pre-exist, or does that > command create it? ??? Image "whatever" IS already present*, otherwise your question does not make sense! * This is your image object which is currently displaying a referenced image file and my script turn this into an imported image. That was you question and I answered it. :-D Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From pete at mollysrevenge.com Wed Dec 8 16:36:55 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 8 Dec 2010 13:36:55 -0800 Subject: Find/Replace In-Reply-To: <4FB9ED41-8D0D-4FCA-A249-556CDB8568CD@yahoo.com> References: <4FB9ED41-8D0D-4FCA-A249-556CDB8568CD@yahoo.com> Message-ID: Thanks for the guidance on the replace, understand it now. After I wrote about the scroll arrows, I realised that the top one was there, I guess I usually want to scroll down so I only noticed the bottom one was missing, so you're seeing the same as me. IS there way to un-hide the bottom scroll arrow? Pete Haworth On Dec 8, 2010, at 1:03 PM, Jim Ault wrote: > To activate the Replace buttons you need to choose > > Current Tab or All Tabs in the drop down, the idea being that > replace only works with script containers that are open. > To open one, click on then entry in the list. > > On my Search Results window I only see an arrow at the top. The > bottom one is hidden. > Perhaps you have a preference set to 'both arrows in the same > location' and that is set to the 'bottom of the scroll' bar, thus > hidden. > > > On Dec 8, 2010, at 11:11 AM, Peter Haworth wrote: > >> I use the IDE Find/Replace frequently. It seems there are two >> different dialogs depending on if you have a script editor window >> open (I think). The one I'm talking about comes up when I hit Cmd- >> F in a script editor window, then click the "More" button. >> >> I have a couple of problems with this dialog. It seems to work >> fine in terms of finding and displaying in the Search results tab. >> However, nothing I do seems to make the Replace and Replace All >> button functional - they are always greyed out. Is that >> functionality not implemented? >> >> The other issue is that the Search Results tab never displays any >> vertical scroll arrows. >> >> SHould I submit these as bugs or am I missing something? >> >> Pete Haworth > > Jim Ault > Las Vegas > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gregory.lypny at videotron.ca Wed Dec 8 16:44:54 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 08 Dec 2010 16:44:54 -0500 Subject: Pasting Cells From a Spreadsheet Message-ID: <13E3D0B0-0789-484C-A26E-50F71BC15F49@videotron.ca> Hello everyone, Is there a trick to pasting a range of cells from a spreadsheet, such as Numbers, into a text field in LiveCode so that the result looks pretty much the same, that is, lines of tab-delimited items? Regards, Gregory From pete at mollysrevenge.com Wed Dec 8 16:48:39 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 8 Dec 2010 13:48:39 -0800 Subject: IDE Save In-Reply-To: <4CFFF727.2030308@hyperactivesw.com> References: <9280BBD1-E239-46E1-A5A8-6A3DD439FCA6@mollysrevenge.com> <450797E3-F1F3-4049-A992-9F03DC220396@mollysrevenge.com> <4CFFE82E.903@hyperactivesw.com> <83892BEE-7863-45C3-B370-B6D05827EBE4@mollysrevenge.com> <4CFFF727.2030308@hyperactivesw.com> Message-ID: Thanks for the explanation. Haven't tried the destroyStack property but using Close and Remove From Memory wants to close the stack file, not just the currently active stack window. So I guess the only way to discard changes to a specific stack window is to either use Close/Remove From Memory or Quit, and deny the save option, is that right? Pete Haworth On Dec 8, 2010, at 1:22 PM, J. Landman Gay wrote: > I think some of this is just a misunderstanding of what "save" does. > Saving writes the current state of the stack to disk, as you'd > expect, but it does not change the state of the stack that's still > in RAM. > > If the stack's destroystack property is false (the default setting > in prefs) then the stack isn't really removed from RAM when you > close it. It's just hidden and taken out of the message path. The > next time you open it, any changes you made will still be there > regardless of whether you wrote those changes to disk or not. > Destroystack only affects mainstacks. Substacks are never removed > from RAM until the mainstack is. > > So, if you make script or object changes and deny the Save dialog, > that doesn't mean that the cards or scripts will revert. If they are > still in RAM, they will retain whatever you last did to them. > However, if you choose "Close and remove from memory" from the File > menu, and say no when asked to save, then I think you'll find that > the next time you open the stack your changes will in fact have > disappeared. > > If you always want stacks removed from RAM when you close them, > reset the Preferences option to do that (Files & Memory pane, > "destroystack peroperty is set to true for new stacks".) For > existing stacks, set the property in the stack inspector. It won't > affect any substacks, but mainstacks will definitely removed when > they close, and your changes won't be there the next time the stack > opens. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From jimaultwins at yahoo.com Wed Dec 8 16:56:19 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Wed, 8 Dec 2010 13:56:19 -0800 Subject: Find/Replace In-Reply-To: References: <4FB9ED41-8D0D-4FCA-A249-556CDB8568CD@yahoo.com> Message-ID: You could go on the adventure of editing the library stack that LC uses to do the script editing... I vastly prefer not to do that, but you could easily make a backup copy, play around, then fall back if you need to. On Dec 8, 2010, at 1:36 PM, Peter Haworth wrote: > Thanks for the guidance on the replace, understand it now. > > After I wrote about the scroll arrows, I realised that the top one > was there, I guess I usually want to scroll down so I only noticed > the bottom one was missing, so you're seeing the same as me. IS > there way to un-hide the bottom scroll arrow? Jim Ault Las Vegas From pete at mollysrevenge.com Wed Dec 8 17:04:00 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 8 Dec 2010 14:04:00 -0800 Subject: Find/Replace In-Reply-To: References: <4FB9ED41-8D0D-4FCA-A249-556CDB8568CD@yahoo.com> Message-ID: <36FF21D9-3B9A-4203-8A5D-E50652DB228D@mollysrevenge.com> I think calling it an adventure is an understatement! I would be scared to death of trying to do anything like that. I think I'll just report it as a bug and see what happens. Meantime, I plan to take a look at the glx2 editor that has just become available under open source and see if it might a better user interface in general than the IDE. Pete Haworth -------------- next part -------------- http://www.mollysrevenge.com http://www.sonicbids.com/MollysRevenge http://www.myspace.com/mollysrevengeband On Dec 8, 2010, at 1:56 PM, Jim Ault wrote: > You could go on the adventure of editing the library stack that LC > uses to do the script editing... I vastly prefer not to do that, but > you could easily make a backup copy, play around, then fall back if > you need to. > > On Dec 8, 2010, at 1:36 PM, Peter Haworth wrote: > >> Thanks for the guidance on the replace, understand it now. >> >> After I wrote about the scroll arrows, I realised that the top one >> was there, I guess I usually want to scroll down so I only noticed >> the bottom one was missing, so you're seeing the same as me. IS >> there way to un-hide the bottom scroll arrow? > > Jim Ault > Las Vegas > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From josh at dvcreators.net Wed Dec 8 17:06:14 2010 From: josh at dvcreators.net (Josh Mellicker) Date: Wed, 8 Dec 2010 14:06:14 -0800 Subject: Pasting Cells From a Spreadsheet In-Reply-To: <13E3D0B0-0789-484C-A26E-50F71BC15F49@videotron.ca> References: <13E3D0B0-0789-484C-A26E-50F71BC15F49@videotron.ca> Message-ID: <7B3EC88E-39A1-47FC-A62F-3E569AC8B4F0@dvcreators.net> If you paste into the Content pane of the inspector for a table field or Data Grid, and what you're pasting is tab delimited, that should work? Cheers, Josh Sent from my iPad On Dec 8, 2010, at 1:44 PM, Gregory Lypny wrote: > Hello everyone, > > Is there a trick to pasting a range of cells from a spreadsheet, such as Numbers, into a text field in LiveCode so that the result looks pretty much the same, that is, lines of tab-delimited items? > > Regards, > > Gregory > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Dec 8 17:08:17 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 Dec 2010 16:08:17 -0600 Subject: IDE Save In-Reply-To: References: <9280BBD1-E239-46E1-A5A8-6A3DD439FCA6@mollysrevenge.com> <450797E3-F1F3-4049-A992-9F03DC220396@mollysrevenge.com> <4CFFE82E.903@hyperactivesw.com> <83892BEE-7863-45C3-B370-B6D05827EBE4@mollysrevenge.com> <4CFFF727.2030308@hyperactivesw.com> Message-ID: <4D0001D1.8070905@hyperactivesw.com> On 12/8/10 3:48 PM, Peter Haworth wrote: > Thanks for the explanation. Haven't tried the destroyStack property but > using Close and Remove From Memory wants to close the stack file, not > just the currently active stack window. > > So I guess the only way to discard changes to a specific stack window is > to either use Close/Remove From Memory or Quit, and deny the save > option, is that right? Pretty much. Or use the "revert" command (File menu, "revert to saved",) which will re-load the last saved version from disk. I do that a lot when I want to wipe everything and just go back to square one. But it really will erase everything you did since the last save, so tread with caution. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From harald at etcpp.de Wed Dec 8 17:10:37 2010 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Wed, 8 Dec 2010 23:10:37 +0100 Subject: LiveCode iOS (browser) In-Reply-To: References: <1291041824113-3063680.post@n4.nabble.com> <1291049853005-3063930.post@n4.nabble.com> <0C487C16-3299-4DED-A842-9179057A9173@etcpp.de> <1AD08B95-0AEA-4916-948F-A3FDC5720E70@etcpp.de> <29BC0CD7-E700-4FB3-8790-184C026990BE@etcpp.de> Message-ID: <6DDF9281-4B77-4C53-8617-E67210B2E1D2@etcpp.de> Hi Andre, thank you very much. Both tips work - I would never have tried the alternative "iphoneControlDelete". Great! Best regards, Harald. | Harald M?ller (www.etcpp.de) | Theodor-K?rner-Stra?e 4, 97072 W?rzburg | Telefon + 49-[0]931-329090-42 Am 08.12.2010 um 19:13 schrieb Andre Garzia: > Harald, > > Try iphoneControlDelete instead of iphoneControlDestroy... I think > iphoneControlDestroy is a mistake. > > Also try passing true or false without quotes. > > Andre > > On Wed, Dec 8, 2010 at 4:02 PM, Harald M?ller wrote: > >> While testing the new "browser" control I can't manage to show/hide the >> browser "window" while running. It works as expected when defined in the >> initial state but it can't be changed later. >> >> iphoneControlSet sBrowserId, "visible", "true/false" >> >> Also the browser doesn't let himself kill (iphoneControlDestroy >> sBrowserId). >> Or am I just a suboptimal killer? >> >> Any ideas? >> >> Best regards, >> Harald M?ller. >> >> | Harald M?ller (www.etcpp.de) >> | Theodor-K?rner-Stra?e 4, 97072 W?rzburg >> | Telefon + 49-[0]931-329090-42 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobs at twft.com Wed Dec 8 17:12:23 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 8 Dec 2010 14:12:23 -0800 Subject: quiting and close stack message In-Reply-To: References: Message-ID: <2D8EC5CE-64E7-4B21-B87D-2FE9E9BF13AA@twft.com> Oh hey I didn't think about trapping for the menuPick and command key. Good idea. Bob On Dec 8, 2010, at 1:27 PM, FlexibleLearning wrote: > Bob, > > As I said, 'quit' is non-negotiable. Trap a closeStackRequest in the main > stack's card script and offer the option to abort... > > --| Main stack, card script > on closeStackRequest > checkQuit > end closeStackRequest > > --| Main stack, stack script > on checkQuit > answer "Are you sure you want to quit?" with "Yes" or "No" > if it="Yes" then quit > end checkQuit > > You can use the same handler in your File menu... > > on menuPick which > if which="Quit" then checkQuit > end menuPick > > and in your shortcuts handler thus... > > on commandKeyDown pKey > if pKey="Q" then checkQuit > end commandKeyDown > > > Hugh Senior > FLCo > > > > Hi Hugh. CloseStackRequest does not prevent quitting in the IDE. It appears > nothing does. I suspect however that it would work in a standalone. I will > test that shortly. > > Bob > > > On Dec 8, 2010, at 11:25 AM, FlexibleLearning wrote: > >> 'quit' cannot be terminated once issued. See 'closeStackRequest' instead > of >> 'closeStack'. >> >> Hugh Senior >> FLCo >> >> How do you get an answer dialogue to halt the quit process? If you have a >> "close stack" handler and it has a "do you really want to quit?" dialogue >> and you quit the livecode application you see that answer message flash > for >> a second but it doesn't halt the quit process. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hershrev at syp2u4c.com Wed Dec 8 17:30:23 2010 From: hershrev at syp2u4c.com (Hershel Fisch) Date: Wed, 08 Dec 2010 17:30:23 -0500 Subject: Number to text Message-ID: Hi any Idea on how to go about calculating numbers to text eg. 100, One Hundred, ? Thanks, Hershel From jacque at hyperactivesw.com Wed Dec 8 17:35:52 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 Dec 2010 16:35:52 -0600 Subject: quiting and close stack message In-Reply-To: <2D8EC5CE-64E7-4B21-B87D-2FE9E9BF13AA@twft.com> References: <2D8EC5CE-64E7-4B21-B87D-2FE9E9BF13AA@twft.com> Message-ID: <4D000848.1090705@hyperactivesw.com> On 12/8/10 4:12 PM, Bob Sneidar wrote: > Oh hey I didn't think about trapping for the menuPick and command key. Good idea. Have you looked at trapping the shutdownRequest message? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Wed Dec 8 17:50:01 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 8 Dec 2010 14:50:01 -0800 Subject: Find/Replace In-Reply-To: <36FF21D9-3B9A-4203-8A5D-E50652DB228D@mollysrevenge.com> References: <4FB9ED41-8D0D-4FCA-A249-556CDB8568CD@yahoo.com> <36FF21D9-3B9A-4203-8A5D-E50652DB228D@mollysrevenge.com> Message-ID: <484488EB-2758-4651-A442-FB2A50600622@twft.com> IMHO it is a masterpiece of programming, and hands down better than the ide. Be aware however that it has a feature which keeps track of multiple saves, and this method conflicts somewhat with Remo (formerly tRev). If you edit a script in Remo, then later open it with GLX2, it will warn you that there are now 2 versions of the script, the one it remembers, and the one it is now seeing, and give you the choice of which one you want to use. It could be considered a "feature" if used properly, but it's a bit unnerving the first time you see it. Bob On Dec 8, 2010, at 2:04 PM, Peter Haworth wrote: > I think calling it an adventure is an understatement! I would be scared to death of trying to do anything like that. I think I'll just report it as a bug and see what happens. Meantime, I plan to take a look at the glx2 editor that has just become available under open source and see if it might a better user interface in general than the IDE. > > Pete Haworth From bobs at twft.com Wed Dec 8 17:57:12 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 8 Dec 2010 14:57:12 -0800 Subject: quiting and close stack message In-Reply-To: <4D000848.1090705@hyperactivesw.com> References: <2D8EC5CE-64E7-4B21-B87D-2FE9E9BF13AA@twft.com> <4D000848.1090705@hyperactivesw.com> Message-ID: <3D09ACF4-083D-4D72-8C6B-9AEA06ED7B70@twft.com> Well that is odd. It seems to work now. I tested this in the IDE, which quit when I hit CMD-Q without popping a dialog, but worked a peach as a standalone. Now it's working in the IDE as well! I blame Gremlins! Bob On Dec 8, 2010, at 2:35 PM, J. Landman Gay wrote: > On 12/8/10 4:12 PM, Bob Sneidar wrote: >> Oh hey I didn't think about trapping for the menuPick and command key. Good idea. > > Have you looked at trapping the shutdownRequest message? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Wed Dec 8 18:12:55 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 9 Dec 2010 00:12:55 +0100 Subject: Live LiveCode Event Message-ID: <427A37F6-5A04-443B-834C-6CEAB8937BF0@economy-x-talk.com> Hi all, You might have heard or read that we had two very successful editions of the Live LiveCode event so far. We are now looking for people who would like to tell something about their projects, products or a neat trick you found the other day or any other LiveCode-related subject. If you are free on Saturday (from 19:00PM GMT) and would like to participate in a fun informal gathering of LiveCode users and have something you would like to share, please let me know off-list (m.schonewille[a]economy-x-talk.com). You can find more info at http://www.livecode.tv -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 How to receive a free Color Converter license http://qurl.tk/kv (read the conditions) From keith.clarke at clarkeandclarke.co.uk Wed Dec 8 18:13:34 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Wed, 8 Dec 2010 23:13:34 +0000 Subject: revServer Installation on DreamHost In-Reply-To: <0FF511CD-2905-45D6-9445-D5FFE91C6C6F@clarkeandclarke.co.uk> References: <2398A5C2-2713-4B11-847D-4E7B6476520E@clarkeandclarke.co.uk> <0FF511CD-2905-45D6-9445-D5FFE91C6C6F@clarkeandclarke.co.uk> Message-ID: <47CF161C-F887-4167-A7E5-7FF4A2788E34@clarkeandclarke.co.uk> David, I double-checked this as the logic of Linux symlinks seems to be back-to-front. However, this tutorial http://linuxreviews.org/beginner/#toc18 suggests that your symlinks should be in the following form (as revserver seems to be looking for libraries in the /usr/lib32/ directory: sudo ln -s /usr/lib/libpcre.so.3 /usr/lib32/libpcre.so.3 sudo ln -s /usr/lib/libcurl.so.4 /usr/lib32/libcurl.so.4 HTH Keith.. On 8 Dec 2010, at 20:47, Keith Clarke wrote: > David, My Linux knowledge is minimal but I think your symlinks may be the wrong way round(?) > > I think they should be sudo ln -s > > Worth a try? > Best, > Keith.. > > On 8 Dec 2010, at 19:28, David Bovill wrote: > >> Hi Keith, I do seem to have the libraries available in /usr/lib/: >> >> lrwxrwxrwx 1 root root 17 Oct 12 06:08 /usr/lib/libpcre.so -> >>> libpcre.so.3.12.1 >>> lrwxrwxrwx 1 root root 17 Oct 12 06:08 /usr/lib/libpcre.so.3 -> >>> libpcre.so.3.12.1 >>> -rw-r--r-- 50 root root 162816 Jul 14 2008 /usr/lib/libpcre.so.3.12.1 >>> >> >> and: >> >> lrwxrwxrwx 1 root root 12 Oct 12 06:08 /usr/lib/libcurl.so.3 -> >>> libcurl.so.4 >>> lrwxrwxrwx 1 root root 16 Oct 12 06:08 /usr/lib/libcurl.so.4 -> >>> libcurl.so.4.1.0 >>> -rw-r--r-- 50 root root 291976 Mar 26 2010 /usr/lib/libcurl.so.4.1.0 >>> >> >> And I've sym linked them: >> >> lrwxrwxrwx 1 root root 26 Dec 8 10:59 /usr/lib32/libpcre.so.0 -> >>> /usr/lib/libpcre.so.3.12.1 >>> lrwxrwxrwx 1 root root 21 Dec 8 11:00 /usr/lib32/libcurl.so.4 -> >>> /usr/lib/libcurl.so.4 >>> >> >> But i am still getting: >> >> $ ldd revserver >>> linux-gate.so.1 => (0xffffe000) >>> libdl.so.2 => /lib32/libdl.so.2 (0xf779d000) >>> libm.so.6 => /lib32/libm.so.6 (0xf7779000) >>> libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf768b000) >>> libpcre.so.0 => not found >>> libpng12.so.0 => /usr/lib32/libpng12.so.0 (0xf7667000) >>> libjpeg.so.62 => /usr/lib32/libjpeg.so.62 (0xf7648000) >>> libcurl.so.4 => not found >>> libc.so.6 => /lib32/libc.so.6 (0xf74f6000) >>> libz.so.1 => /usr/lib32/libz.so.1 (0xf74e1000) >>> /lib/ld-linux.so.2 (0xf77b2000) >>> libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf74d3000) >>> >> >> >> On 8 December 2010 17:27, Keith Clarke >> wrote: >> >>> David, >>> I've just been going through this and with Andre's help, solved the libpcre >>> side but my hosted VPS (Ubuntu Dapper 6.06) version doesn't support the >>> necessary version of libcurl that revServer needs so I'm waiting for further >>> enlightenment on Ubuntu's forum. >>> >>> Still, item 6 may get your libpcre requirement fixed - and you may have a >>> better libcurl version in your /usr/lib directory >>> http://ubuntuforums.org/showthread.php?t=1637423 >>> Best, >>> Keith.. >>> >>> >>> On 8 Dec 2010, at 16:40, David Bovill wrote: >>> >>>> Has anyone successfully installed rvServer on DreamHost? I'm setting this >>> up >>>> for this weekends Live Code TV event, but running >>> into >>>> the missing libraries thing: >>>> >>>> - http://forums.runrev.com/phpBB2/viewtopic.php?f=8&t=6147 >>>> - http://forums.runrev.com/phpBB2/viewtopic.php?f=20&t=5543 >>>> >>>> ldd revserver >>>>> linux-gate.so.1 => (0xffffe000) >>>>> libdl.so.2 => /lib32/libdl.so.2 (0xf76dd000) >>>>> libm.so.6 => /lib32/libm.so.6 (0xf76b9000) >>>>> libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf75cb000) >>>>> libpcre.so.0 => not found >>>>> libpng12.so.0 => /usr/lib32/libpng12.so.0 (0xf75a7000) >>>>> libjpeg.so.62 => /usr/lib32/libjpeg.so.62 (0xf7588000) >>>>> libcurl.so.4 => not found >>>>> libc.so.6 => /lib32/libc.so.6 (0xf7436000) >>>>> libz.so.1 => /usr/lib32/libz.so.1 (0xf7421000) >>>>> /lib/ld-linux.so.2 (0xf76f2000) >>>>> libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7413000) >>>>> >>>> >>>> Any suggestions - the more detailed the better so I can write this up for >>>> the rest of us :) >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Wed Dec 8 18:13:54 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 9 Dec 2010 00:13:54 +0100 Subject: Number to text In-Reply-To: References: Message-ID: <53E56371-8EFA-4E4C-BC9D-81E1638F82CA@economy-x-talk.com> Hi Hershel, Search on the HyperCard list on Yahoo. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 How to receive a free Color Converter license http://qurl.tk/kv (read the conditions) On 8 dec 2010, at 23:30, Hershel Fisch wrote: > Hi any Idea on how to go about calculating numbers to text eg. 100, One > Hundred, ? > Thanks, Hershel From katir at hindu.org Wed Dec 8 18:14:37 2010 From: katir at hindu.org (Sivakatirswami) Date: Wed, 08 Dec 2010 13:14:37 -1000 Subject: Zoom Image Widgets Anyone Message-ID: <4D00115D.3080607@hindu.org> I'm sitting here making my own zoom tool when I start thinking someelse *must*have done this an a lot better than me. I have an image with this script on mousedown grab me end mousedown and a slider with this script.... where the gWidth and gHeight are the size of the image after import... Now the original images are over 3000 pixels wide and 300 DPI.. I need to the user to be able to really zoom in and get a good quality view of small characters This works, but I would like to keep the relative position but of course I am losing this by resetting the topleft to 0,0 each time. years ago I though there was a widget right in the IDE that was a zoom tool and you could clone this for your own work... ideally you the user has the normal experience of switching to a zoom tool dragging and focusing in on he area of choice.. Can you share? Thanks skts ------ global gWidth,gHeight on mouseup lock screen set the resizequality of image "displayPage" to "best" put (the thumbposition of me) /100 into pPercent set the rect of image "displayPage" to scaleImageByPercent(gWidth, gHeight, pPercent) end mouseup function scaleImageByPercent pWidth, pHeight, pPercent return (0,0,(pWidth*pPercent),(pHeight*pPercent)) end scaleImageByPercent From martyknapp at comcast.net Wed Dec 8 18:53:43 2010 From: martyknapp at comcast.net (Marty Knapp) Date: Wed, 08 Dec 2010 15:53:43 -0800 Subject: Number to text In-Reply-To: References: Message-ID: <4D001A87.6030803@comcast.net> Hershel, Flexible Learning has a stack call "amountInWords" that converts numbers (currency) into words - perhaps that would give you a good start: Marty Knapp > Hi any Idea on how to go about calculating numbers to text eg. 100, One > Hundred, ? > Thanks, Hershel > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dixonja at hotmail.co.uk Wed Dec 8 18:57:50 2010 From: dixonja at hotmail.co.uk (John Dixon) Date: Wed, 8 Dec 2010 23:57:50 +0000 Subject: Number to text In-Reply-To: References: Message-ID: Make two fields... one button button script... on mouseUp put empty into fld 2 put ("one","two","three","four","five","six","seven","eight","nine") into singleNumbers put ("eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen") into mixedUpNumbers put ("ten","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety") into tensNumbers put the number of chars of fld 1 into theCharCount ----------------------------------------------------- if theCharCount = 1 then put item (char 1 of fld 1) of singleNumbers into theTextNumber end if ----------------------------------------------------- if theCharCount = 2 then if char 2 of fld 1 = 0 then put item (char 1 of fld 1) of tensNumbers into theTextNumber end if if char 1 of fld 1 = 1 AND char 2 of fld 1 <> 0 then put item (char 2 of fld 1) of mixedUpNumbers into theTextNumber end if if char 1 of fld 1 > 1 AND char 2 of fld 1 <> 0 then put item (char 1 of fld 1) of tensNumbers into theTextNumber put space & item (char 2 of fld 1) of singleNumbers after theTextNumber end if end if ----------------------------------------------------- if theCharCount = 3 then put item (char 1 of fld 1) of singleNumbers && "hundred" into theTextNumber if char 2 of fld 1 <> 0 then put " and" && item (char 2 of fld 1) of tensNumbers after theTextNumber end if if char 3 of fld 1 = 0 then put item (char 3 of fld 1) of singleNumbers after theTextNumber end if if char 3 of fld 1 > 0 then put space & item (char 3 of fld 1) of singleNumbers after theTextNumber end if end if ----------------------------------------------------- put theTextNumber into fld 2 end mouseUp > > Hi any Idea on how to go about calculating numbers to text eg. 100, One > Hundred, ? > Thanks, Hershel From monte at sweattechnologies.com Wed Dec 8 19:17:06 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 9 Dec 2010 11:17:06 +1100 Subject: ANN: glx2 is now open source In-Reply-To: <411375436109.20101204173219@ahsoftware.net> References: <411375436109.20101204173219@ahsoftware.net> Message-ID: <5794A754-6CCB-41E9-9790-1224FE501A8B@sweattechnologies.com> Hi Mark I can't find anywhere that mentions the license Jerry has agreed to. Can you point me to it? Cheers Monte On 05/12/2010, at 12:32 PM, Mark Wieder wrote: > Jerry Daniels has graciously offered to release glx2 as an open-source > project. From dixonja at hotmail.co.uk Wed Dec 8 20:21:02 2010 From: dixonja at hotmail.co.uk (John Dixon) Date: Thu, 9 Dec 2010 01:21:02 +0000 Subject: Number to text In-Reply-To: References: Message-ID: Oops... I made a mess of it the first time around... (blushing) on mouseUp put ("one","two","three","four","five","six","seven","eight","nine") into singles put ("eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen") into mixed put ("ten","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety") into tens put the number of chars of fld 1 into charcount switch charcount case 1 if char 1 of fld 1 = 0 then put "Zero" into theTextNumber else put item (char charcount of fld 1) of singles into theTextNumber end if break case 2 if char 1 of fld 1 = 1 AND char 2 of fld 1 = 0 then put "Ten" into theTextNumber exit switch end if if char 1 of fld 1 = 1 AND char 2 of fld 1 > 0 then put item (char 2 of fld 1) of mixed into theTextNumber exit switch end if if char 1 of fld 1 > 1 AND char 2 of fld 1 = 0 then put item (char 1 of fld 1) of tens into theTextNumber exit switch end if if char 1 of fld 1 > 1 AND char 2 of fld 1 > 0 then put item (char 1 of fld 1) of tens && item (char 2 of fld 1) of singles into theTextNumber exit switch end if break case 3 if char 2 of fld 1 = 0 AND char 3 of fld 1 = 0 then put item (char 1 of fld 1) of singles && "hundred" into theTextNumber exit switch end if if char 2 of fld 1 = 0 AND char 3 of fld 1 > 0 then put item (char 1 of fld 1) of singles && "hundred and" && item (char 3 of fld 1) of singles into theTextNumber exit switch end if if char 2 of fld 1 > 0 AND char 3 of fld 1 = 0 then put item (char 1 of fld 1) of singles && "hundred and" && item (char 2 of fld 1) of tens && item (char 3 of fld 1) of singles into theTextNumber exit switch end if if char 2 of fld 1 > 0 AND char 3 of fld 1 > 1 then put item (char 1 of fld 1) of singles && "hundred and" && item (char 2 of fld 1) of tens && item (char 3 of fld 1) of singles into theTextNumber exit switch end if if char 2 of fld 1 > 0 AND char 3 of fld 1 > 0 then put item (char 1 of fld 1) of singles && "hundred and" && item (char 3 of fld 1) of mixed into theTextNumber exit switch end if break end switch put theTextNumber into fld 2 end mouseUp That should go up to 999... > Date: Wed, 8 Dec 2010 17:30:23 -0500 > Subject: Number to text > From: hershrev at syp2u4c.com > To: use-revolution at lists.runrev.com > > Hi any Idea on how to go about calculating numbers to text eg. 100, One > Hundred, ? > Thanks, Hershel > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Wed Dec 8 20:48:57 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 8 Dec 2010 23:48:57 -0200 Subject: LiveCode iOS (browser) In-Reply-To: <6DDF9281-4B77-4C53-8617-E67210B2E1D2@etcpp.de> References: <1291041824113-3063680.post@n4.nabble.com> <1291049853005-3063930.post@n4.nabble.com> <0C487C16-3299-4DED-A842-9179057A9173@etcpp.de> <1AD08B95-0AEA-4916-948F-A3FDC5720E70@etcpp.de> <29BC0CD7-E700-4FB3-8790-184C026990BE@etcpp.de> <6DDF9281-4B77-4C53-8617-E67210B2E1D2@etcpp.de> Message-ID: glad to be of help! On Wed, Dec 8, 2010 at 8:10 PM, Harald M?ller wrote: > Hi Andre, > > thank you very much. Both tips work - I would never have > tried the alternative "iphoneControlDelete". Great! > > Best regards, > Harald. > > | Harald M?ller (www.etcpp.de) > | Theodor-K?rner-Stra?e 4, 97072 W?rzburg > | Telefon + 49-[0]931-329090-42 > > > > > Am 08.12.2010 um 19:13 schrieb Andre Garzia: > > > Harald, > > > > Try iphoneControlDelete instead of iphoneControlDestroy... I think > > iphoneControlDestroy is a mistake. > > > > Also try passing true or false without quotes. > > > > Andre > > > > On Wed, Dec 8, 2010 at 4:02 PM, Harald M?ller wrote: > > > >> While testing the new "browser" control I can't manage to show/hide the > >> browser "window" while running. It works as expected when defined in the > >> initial state but it can't be changed later. > >> > >> iphoneControlSet sBrowserId, "visible", "true/false" > >> > >> Also the browser doesn't let himself kill (iphoneControlDestroy > >> sBrowserId). > >> Or am I just a suboptimal killer? > >> > >> Any ideas? > >> > >> Best regards, > >> Harald M?ller. > >> > >> | Harald M?ller (www.etcpp.de) > >> | Theodor-K?rner-Stra?e 4, 97072 W?rzburg > >> | Telefon + 49-[0]931-329090-42 > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > > > -- > > http://www.andregarzia.com All We Do Is Code. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From bill at bluewatermaritime.com Wed Dec 8 21:07:07 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Wed, 8 Dec 2010 22:07:07 -0400 Subject: quiting and close stack message In-Reply-To: <3D09ACF4-083D-4D72-8C6B-9AEA06ED7B70@twft.com> References: <2D8EC5CE-64E7-4B21-B87D-2FE9E9BF13AA@twft.com> <4D000848.1090705@hyperactivesw.com> <3D09ACF4-083D-4D72-8C6B-9AEA06ED7B70@twft.com> Message-ID: I couldn't get it to work in the IDE but I'll try again now. Seems to me it would be nice if things like this worked consistently in IDE and standalone even if LiveCode programmers had to introduce something to accomplish it. From mwieder at ahsoftware.net Wed Dec 8 21:20:25 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 8 Dec 2010 18:20:25 -0800 Subject: ANN: glx2 is now open source In-Reply-To: <5794A754-6CCB-41E9-9790-1224FE501A8B@sweattechnologies.com> References: <411375436109.20101204173219@ahsoftware.net> <5794A754-6CCB-41E9-9790-1224FE501A8B@sweattechnologies.com> Message-ID: <1851723925828.20101208182025@ahsoftware.net> Monte- Wednesday, December 8, 2010, 4:17:06 PM, you wrote: > Hi Mark > I can't find anywhere that mentions the license Jerry has agreed to. Can you point me to it? Download the stack, open the property editor, and look at the uRIP["EULA"] of the mainstack. To sum things up, the editor is yours to do with what you will (kind of the WTF license approach), including commercial applications if that's appropriate. There's an added proviso that if you make improvements to the editor you're encouraged to merge them back into the main source so that we can all benefit from the community's input. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Dec 8 21:26:40 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 8 Dec 2010 18:26:40 -0800 Subject: Find/Replace In-Reply-To: <36FF21D9-3B9A-4203-8A5D-E50652DB228D@mollysrevenge.com> References: <4FB9ED41-8D0D-4FCA-A249-556CDB8568CD@yahoo.com> <36FF21D9-3B9A-4203-8A5D-E50652DB228D@mollysrevenge.com> Message-ID: <231724300671.20101208182640@ahsoftware.net> Peter- Wednesday, December 8, 2010, 2:04:00 PM, you wrote: > I think calling it an adventure is an understatement! I would be > scared to death of trying to do anything like that. I think I'll just > report it as a bug and see what happens. Meantime, I plan to take a > look at the glx2 editor that has just become available under open > source and see if it might a better user interface in general than the > IDE. I do have to say that I like the global find in the IDE, and that's something that's lacking in glx2. Anybody want to take that project on? -- -Mark Wieder mwieder at ahsoftware.net From monte at sweattechnologies.com Wed Dec 8 21:29:43 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 9 Dec 2010 13:29:43 +1100 Subject: ANN: glx2 is now open source In-Reply-To: <1851723925828.20101208182025@ahsoftware.net> References: <411375436109.20101204173219@ahsoftware.net> <5794A754-6CCB-41E9-9790-1224FE501A8B@sweattechnologies.com> <1851723925828.20101208182025@ahsoftware.net> Message-ID: Hmm... I've only got uRIP["project"] = SE No other props in the set. Cheers Monte On 09/12/2010, at 1:20 PM, Mark Wieder wrote: > Monte- > > Wednesday, December 8, 2010, 4:17:06 PM, you wrote: > >> Hi Mark > >> I can't find anywhere that mentions the license Jerry has agreed to. Can you point me to it? > > Download the stack, open the property editor, and look at the > uRIP["EULA"] of the mainstack. To sum things up, the editor is yours > to do with what you will (kind of the WTF license approach), including > commercial applications if that's appropriate. There's an added > proviso that if you make improvements to the editor you're encouraged > to merge them back into the main source so that we can all benefit > from the community's input. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Wed Dec 8 21:43:50 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 9 Dec 2010 13:43:50 +1100 Subject: ANN: glx2 is now open source In-Reply-To: <1851723925828.20101208182025@ahsoftware.net> References: <411375436109.20101204173219@ahsoftware.net> <5794A754-6CCB-41E9-9790-1224FE501A8B@sweattechnologies.com> <1851723925828.20101208182025@ahsoftware.net> Message-ID: <2A0836C8-413B-47DE-B99B-D539093CC800@sweattechnologies.com> Nevermind, downloaded again and everything is there. Maybe I got a earlier version? Cheers Monte On 09/12/2010, at 1:20 PM, Mark Wieder wrote: > Monte- > > Wednesday, December 8, 2010, 4:17:06 PM, you wrote: > >> Hi Mark > >> I can't find anywhere that mentions the license Jerry has agreed to. Can you point me to it? > > Download the stack, open the property editor, and look at the > uRIP["EULA"] of the mainstack. To sum things up, the editor is yours > to do with what you will (kind of the WTF license approach), including > commercial applications if that's appropriate. There's an added > proviso that if you make improvements to the editor you're encouraged > to merge them back into the main source so that we can all benefit > from the community's input. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Wed Dec 8 22:00:38 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 8 Dec 2010 19:00:38 -0800 Subject: ANN: glx2 is now open source In-Reply-To: <2A0836C8-413B-47DE-B99B-D539093CC800@sweattechnologies.com> References: <411375436109.20101204173219@ahsoftware.net> <5794A754-6CCB-41E9-9790-1224FE501A8B@sweattechnologies.com> <1851723925828.20101208182025@ahsoftware.net> <2A0836C8-413B-47DE-B99B-D539093CC800@sweattechnologies.com> Message-ID: <331726338484.20101208190038@ahsoftware.net> Monte- Wednesday, December 8, 2010, 6:43:50 PM, you wrote: > Nevermind, downloaded again and everything is there. Maybe I got a earlier version? Yeah. I put all the uRIP properties in there and uploaded it, but I guess I forgot to save it the first time because I had to do it all over again. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Wed Dec 8 22:29:50 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 Dec 2010 21:29:50 -0600 Subject: quiting and close stack message In-Reply-To: References: <2D8EC5CE-64E7-4B21-B87D-2FE9E9BF13AA@twft.com> <4D000848.1090705@hyperactivesw.com> <3D09ACF4-083D-4D72-8C6B-9AEA06ED7B70@twft.com> Message-ID: <4D004D2E.60501@hyperactivesw.com> On 12/8/10 8:07 PM, william humphrey wrote: > I couldn't get it to work in the IDE but I'll try again now. Seems to me it > would be nice if things like this worked consistently in IDE and standalone > even if LiveCode programmers had to introduce something to accomplish it. It can't work in the IDE the way you want, because the IDE traps the message in order to ask you if you want to save your own stacks. :) If you want to test it in the IDE, select "Suspend Development Tools" from the Development menu. That will remove the IDE from the message path and it should work in your stack. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Dec 8 22:32:06 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 Dec 2010 21:32:06 -0600 Subject: ANN: glx2 is now open source In-Reply-To: <1851723925828.20101208182025@ahsoftware.net> References: <411375436109.20101204173219@ahsoftware.net> <5794A754-6CCB-41E9-9790-1224FE501A8B@sweattechnologies.com> <1851723925828.20101208182025@ahsoftware.net> Message-ID: <4D004DB6.6050702@hyperactivesw.com> On 12/8/10 8:20 PM, Mark Wieder wrote: > To sum things up, the editor is yours > to do with what you will (kind of the WTF license approach), including > commercial applications if that's appropriate. Isn't that in violation of the RR license? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Wed Dec 8 22:47:09 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 8 Dec 2010 19:47:09 -0800 Subject: ANN: glx2 is now open source In-Reply-To: <4D004DB6.6050702@hyperactivesw.com> References: <411375436109.20101204173219@ahsoftware.net> <5794A754-6CCB-41E9-9790-1224FE501A8B@sweattechnologies.com> <1851723925828.20101208182025@ahsoftware.net> <4D004DB6.6050702@hyperactivesw.com> Message-ID: <801729129453.20101208194709@ahsoftware.net> Jacque- Wednesday, December 8, 2010, 7:32:06 PM, you wrote: > On 12/8/10 8:20 PM, Mark Wieder wrote: >> To sum things up, the editor is yours >> to do with what you will (kind of the WTF license approach), including >> commercial applications if that's appropriate. > Isn't that in violation of the RR license? Hmmm. In what way? Standard rules apply: it's made with RR, so it would have to say so; you can't claim you wrote it, it's Jerry's original work -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Wed Dec 8 23:10:23 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 Dec 2010 22:10:23 -0600 Subject: ANN: glx2 is now open source In-Reply-To: <801729129453.20101208194709@ahsoftware.net> References: <411375436109.20101204173219@ahsoftware.net> <5794A754-6CCB-41E9-9790-1224FE501A8B@sweattechnologies.com> <1851723925828.20101208182025@ahsoftware.net> <4D004DB6.6050702@hyperactivesw.com> <801729129453.20101208194709@ahsoftware.net> Message-ID: <4D0056AF.6090004@hyperactivesw.com> On 12/8/10 9:47 PM, Mark Wieder wrote: > Jacque- > > Wednesday, December 8, 2010, 7:32:06 PM, you wrote: > >> On 12/8/10 8:20 PM, Mark Wieder wrote: >>> To sum things up, the editor is yours >>> to do with what you will (kind of the WTF license approach), including >>> commercial applications if that's appropriate. > >> Isn't that in violation of the RR license? > > Hmmm. In what way? Standard rules apply: it's made with RR, so it > would have to say so; you can't claim you wrote it, it's Jerry's > original work > Was just wondering about the clause that forbids us to make an IDE. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Wed Dec 8 23:18:46 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 8 Dec 2010 20:18:46 -0800 Subject: ANN: glx2 is now open source In-Reply-To: <4D0056AF.6090004@hyperactivesw.com> References: <411375436109.20101204173219@ahsoftware.net> <5794A754-6CCB-41E9-9790-1224FE501A8B@sweattechnologies.com> <1851723925828.20101208182025@ahsoftware.net> <4D004DB6.6050702@hyperactivesw.com> <801729129453.20101208194709@ahsoftware.net> <4D0056AF.6090004@hyperactivesw.com> Message-ID: <1151731026296.20101208201846@ahsoftware.net> Jacque- Wednesday, December 8, 2010, 8:10:23 PM, you wrote: > Was just wondering about the clause that forbids us to make an IDE. Well, a script editor isn't an IDE all by itself. I'd love to have a different pardigm for editing properties, for instance. That's something Jerry's taken on a bit with tRev/Remo, but I really want to double-click on a label field to select the text and then just edit it in situ. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Wed Dec 8 23:23:04 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 08 Dec 2010 20:23:04 -0800 Subject: ANN: glx2 is now open source Message-ID: <4D0059A8.9060304@fourthworld.com> J. Landman Gay wrote: >>> Isn't that in violation of the RR license? >> >> Hmmm. In what way? Standard rules apply: it's made with RR, so it >> would have to say so; you can't claim you wrote it, it's Jerry's >> original work >> > > Was just wondering about the clause that forbids us to make an IDE. Section 4L is the "Digital Chisel" clause, and while it does prevent shipping "created software" that's marketed as a RAD tool, offers a scripting language, or edit LiveCode scripts on its own, that section also explicitly exempts from those prohibitions anything that requires a LiveCode license to run: l) You are prohibited from creating or distributing Created Software to be used and marketed as a generic rapid application development tool. Any Created Software that you produce that requires the end user to use a Licensed Edition of the LiveCode Software will not be considered as being prohibited, nor will any Created Software that does not involve any sort of script editing. You are also prohibited from creating or distributing Created Software with the primary purpose of being used as a generic Player application for Created Software built with any edition of LiveCode that does not include the desktop standalone building capability. This clause is intended to prevent you from using the LiveCode Software to produce something that is directly damaging to our business. In the event that either you or RunRev determines that your software is in such competition, you must withdraw the Created Software immediately. It is agreed that producing software that is in competition with the LiveCode product could cause irreparable harm and injury and RunRev will be entitled, in addition to any other rights and remedies it may have at law or in equity, to an interdict, injunction or other similar relief enjoining or restraining you from doing or continuing to distribute such Created Software. So it looks like MetaCard is safe. ;) And GLX too. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From pepetoo at cox.net Thu Dec 9 00:30:06 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Wed, 8 Dec 2010 21:30:06 -0800 Subject: Menus Message-ID: <049AC298-3F5E-4475-8A39-8A78A8F64A6B@cox.net> Hi all, On my current project I have a mainstack and two substacks. I want each one to have it's own menu. At one point I managed to do that, but now seemed to have lost the appropriate connections. Is there someplace that these menus are stored where I can reliably reach them to make changes?. The Build menu doesn't do this predictably. Sometime I get the one I want and sometimes I don't. Also, is there a way that we can duplicate the contents of one menu to put into another one. A little frustrating as it is now. Joe Lewis Wilkins From jmac at consensustech.com Thu Dec 9 01:10:49 2010 From: jmac at consensustech.com (Jim MacConnell) Date: Wed, 8 Dec 2010 22:10:49 -0800 Subject: Pasting Cells From a Spreadsheet In-Reply-To: <13E3D0B0-0789-484C-A26E-50F71BC15F49@videotron.ca> References: <13E3D0B0-0789-484C-A26E-50F71BC15F49@videotron.ca> Message-ID: I've never had any problems just pasting directly into the field from either Excel or Numbers though I sometimes have to tweak the tab stops in the field (Property Inspector>Table>Tab Stops) Did you have a problem? Jim On Dec 8, 2010, at 1:44 PM, Gregory Lypny wrote: > Hello everyone, > > Is there a trick to pasting a range of cells from a spreadsheet, such as Numbers, into a text field in LiveCode so that the result looks pretty much the same, that is, lines of tab-delimited items? > > Regards, > > Gregory > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Thu Dec 9 02:38:34 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 08 Dec 2010 23:38:34 -0800 Subject: More iOS Build Trouble Message-ID: Hi All: Trying to get a simple test project onto an iPod and getting the "Executable was signed with invalid entitlements" error. I believe I have the latest iOS SDK installed, have the latest 4.5.2 LiveCode, the iPod is running iOS 4.2.1, standalone is set to Minimum iOS Version 3.2. I created/downloaded a new provisioning file (which is set in the standalone build settings) and am still getting the error when attempting to copy onto the iPod. Anything else I can check to resolve this? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX Design From henk at ludisstudio.com Thu Dec 9 03:50:07 2010 From: henk at ludisstudio.com (Henk van der Velden) Date: Thu, 9 Dec 2010 09:50:07 +0100 Subject: Zoom Image Widgets Anyone In-Reply-To: References: Message-ID: <14205724-E855-45C9-BC09-C6890C3FCE2F@ludisstudio.com> About the design: this way, using a separate drag and zoom interface, zooming in on a specific area of an image is a bit unwieldy. It would be better, I think, to use the scroll wheel, so one can position the mouse at a certain location, and then zoom in or out by using the scroll wheel. Another option is to use drag: dragging upwards means zooming in, dragging downwards means zooming out. Or, like Zoomify, using modifier keys to zoom in and out. As for the mathematics of zooming: if the mouseloc identifies the spot where one wants to zoom in or out, it's all just a matter of keeping the relative position of the mouse in the picture and the absolute position of the mouse in the window together. So, if the current size of the image is X*Y px, and the current topleft of the picture is x0,y0, and the mouse is at position x1,y1 relative to the window, and the picturesize increases with a factor n, then the new size of the picture is (1+n)X * (1+n)Y px, and the new topleft of the picture is (x1-n(x1-x0)), (y1-n(y1-y0)). This is from the top of my head, but I think this should work. HTH, Henk On 09 Dec 2010, at 03:20, use-livecode-request at lists.runrev.com wrote: > I'm sitting here making my own zoom tool when I start thinking > someelse *must*have done this an a lot better than me. > > I have an image with this script > > on mousedown > grab me > end mousedown > > and a slider with this script.... > > where the gWidth and gHeight are the size of the image after import... > > Now the original images are over 3000 pixels wide and 300 DPI.. > > I need to the user to be able to really zoom in and get a good quality > view of small characters > > This works, but I would like to keep the relative position but of course > I am losing this by resetting the topleft to 0,0 each time. > > years ago I though there was a widget right in the IDE that was a zoom > tool and you could clone this for your own work... > > ideally you the user has the normal experience of switching to a zoom > tool dragging and focusing in on he area of choice.. > > Can you share? > > Thanks > skts > ------ > > global gWidth,gHeight > on mouseup > lock screen > set the resizequality of image "displayPage" to "best" > > put (the thumbposition of me) /100 into pPercent > set the rect of image "displayPage" to > scaleImageByPercent(gWidth, gHeight, pPercent) > end mouseup > > function scaleImageByPercent pWidth, pHeight, pPercent > return (0,0,(pWidth*pPercent),(pHeight*pPercent)) > end scaleImageByPercent > From bdrunrev at gmail.com Thu Dec 9 04:44:04 2010 From: bdrunrev at gmail.com (Bernard Devlin) Date: Thu, 9 Dec 2010 09:44:04 +0000 Subject: PDF ? In-Reply-To: <4CFA8597.8040009@gmail.com> References: <4CFA8597.8040009@gmail.com> Message-ID: Assuming Richmond is on Linux, there is the pdf2html command line tool. It can output PDFs as html, xml, or as images. I got the latter quite by accident once - I think it came from choosing the -c param (meaning 'complex pdf'). You can select the start and end pages, thus if it is one page you want from a PDF, you should be able to export to xml and extract the changes you want with script, then re-produce the PDF. I'm pretty sure you will lose a lot of the formatting if the PDF is anything other than a basic container. But at least you get the document's content in a paginated form, and you can work with the text contents. I think pdf2html also exists for other platforms. Bernard On Sat, Dec 4, 2010 at 6:16 PM, Richmond wrote: > Erm? > > Importing PDF files? > > Maybe expecting a bit much? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From revolution at derbrill.de Thu Dec 9 04:55:53 2010 From: revolution at derbrill.de (Malte Brill) Date: Thu, 9 Dec 2010 10:55:53 +0100 Subject: iOs simulation In-Reply-To: References: Message-ID: <201B3246-B743-414E-AC30-596487BCA353@derbrill.de> Ok, I seem to be too dumb for this... Can anyone point me to the settings I have to make to ensure my project launches on the device I want in the simulator? I had it launch in the iPad one only. Now it only launches in the old iPhone one. Going nuts over here. all the best, Malte From bvg at mac.com Thu Dec 9 05:12:19 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 09 Dec 2010 11:12:19 +0100 Subject: ANN: glx2 is now open source In-Reply-To: <1151731026296.20101208201846@ahsoftware.net> References: <411375436109.20101204173219@ahsoftware.net> <5794A754-6CCB-41E9-9790-1224FE501A8B@sweattechnologies.com> <1851723925828.20101208182025@ahsoftware.net> <4D004DB6.6050702@hyperactivesw.com> <801729129453.20101208194709@ahsoftware.net> <4D0056AF.6090004@hyperactivesw.com> <1151731026296.20101208201846@ahsoftware.net> Message-ID: <9F0E8AB4-BDCB-40C6-B898-DABA6C47F380@mac.com> On 9 Dec 2010, at 05:18, Mark Wieder wrote: > but I really want to > double-click on a label field to select the text and then just edit it > in situ. i have that, but only for when the edit tool is selected, and the field is named "label field". it was a quick and dirty test, which i found so nice that i made a plugin for myself. I think i'll clean it up and make a live-cast out of it. I'm aiming for saturday in a week. -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From gregory.lypny at videotron.ca Thu Dec 9 07:43:23 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 09 Dec 2010 07:43:23 -0500 Subject: Pasting Cells From a Spreadsheet In-Reply-To: References: Message-ID: <36BB63D0-8021-4E28-9DF7-4B723BB1DD1A@videotron.ca> Thanks Josh, I?ll give it a try. I was working with a list field. Regards, Gregory On Wed, Dec 8, 2010, at 9:20 PM, use-livecode-request at lists.runrev.com wrote: > If you paste into the Content pane of the inspector for a table field or Data Grid, and what you're pasting is tab delimited, that should work? > > Cheers, > > Josh From coiin at verizon.net Thu Dec 9 07:47:16 2010 From: coiin at verizon.net (Colin Holgate) Date: Thu, 09 Dec 2010 07:47:16 -0500 Subject: More iOS Build Trouble In-Reply-To: References: Message-ID: Did you put the provisioning file onto the iPod? Also, setting 3.2 as a minimum seems wrong. That's what you would want if it was just an iPad app, but a lot of iPods will be running 3.1.3 or earlier. From andre.bisseret at wanadoo.fr Thu Dec 9 09:37:07 2010 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Thu, 9 Dec 2010 15:37:07 +0100 Subject: Number to text In-Reply-To: References: Message-ID: Thanks a lot John for sharing this handler ; I added it in my docs, might be usefull ;-)) Just a small modification: Some cases were not processed as expected ; for example 212 returned "two hundred and ten two" 351 returned "three hundred and eleven" So I added the case where char 2 of fld 1 = 1 and char 3 of fld 1 <> 0 At the beginning of the case 3 in order it be processed before the case char 2 of fld 1 > 0. Thanks again Best regards from Grenoble Andr? Here is the script: ---------------------- on mouseUp local singles,mixed,tens,charcount,theTextNumber, ---------------------- put ("one","two","three","four","five","six","seven","eight","nine") into singles put ("eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen") into mixed put ("ten","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety") into tens put the number of chars of fld 1 into charcount switch charcount case 1 if char 1 of fld 1 = 0 then put "Zero" into theTextNumber else put item (char charcount of fld 1) of singles into theTextNumber end if break case 2 if char 1 of fld 1 = 1 and char 2 of fld 1 = 0 then put "Ten" into theTextNumber exit switch end if if char 1 of fld 1 = 1 and char 2 of fld 1 > 0 then put item (char 2 of fld 1) of mixed into theTextNumber exit switch end if if char 1 of fld 1 > 1 and char 2 of fld 1 = 0 then put item (char 1 of fld 1) of tens into theTextNumber exit switch end if if char 1 of fld 1 > 1 and char 2 of fld 1 > 0 then put item (char 1 of fld 1) of tens && item (char 2 of fld 1) of singles into theTextNumber exit switch end if break case 3 switch case char 2 of fld 1 = 1 if char 3 of fld 1 <> 0 then put item (char 1 of fld 1) of singles && "hundred and" && item (char 3 of fld 1) of mixed into theTextNumber exit switch end if if char 3 of fld 1 = 0 then put item (char 1 of fld 1) of singles && "hundred and" && item (char 2 of fld 1) of tens into theTextNumber exit switch end if break case char 2 of fld 1 = 0 if char 3 of fld 1 = 0 then put item (char 1 of fld 1) of singles && "hundred" into theTextNumber exit switch end if if char 3 of fld 1 > 0 then put item (char 1 of fld 1) of singles && "hundred and" && item (char 3 of fld 1) of singles into theTextNumber exit switch end if break case char 2 of fld 1 > 0 if char 3 of fld 1 = 0 then put item (char 1 of fld 1) of singles && "hundred and" && item (char 2 of fld 1) of tens && item (char 3 of fld 1) of singles into theTextNumber exit switch end if if char 3 of fld 1 = 1 then put item (char 1 of fld 1) of singles && "hundred and" && item (char 2 of fld 1) of tens && item (char 3 of fld 1) of singles into theTextNumber exit switch end if if char 3 of fld 1 > 1 then put item (char 1 of fld 1) of singles && "hundred and" && item (char 2 of fld 1) of tens && item (char 3 of fld 1) of singles into theTextNumber exit switch end if if char 3 of fld 1 > 0 then put item (char 1 of fld 1) of singles && "hundred and" && item (char 3 of fld 1) of mixed into theTextNumber exit switch end if break end switch end switch put theTextNumber into fld 2 end mouseUp ----------------------- Le 9 d?c. 2010 ? 02:21, John Dixon a ?crit : > > Oops... I made a mess of it the first time around... (blushing) > > on mouseUp > > put ("one","two","three","four","five","six","seven","eight","nine") into singles > put ("eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen") into mixed > put ("ten","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety") into tens > > put the number of chars of fld 1 into charcount > > switch charcount > > case 1 > if char 1 of fld 1 = 0 then > put "Zero" into theTextNumber > else > put item (char charcount of fld 1) of singles into theTextNumber > end if > break > > case 2 > if char 1 of fld 1 = 1 AND char 2 of fld 1 = 0 then > put "Ten" into theTextNumber > exit switch > end if > > if char 1 of fld 1 = 1 AND char 2 of fld 1 > 0 then > put item (char 2 of fld 1) of mixed into theTextNumber > exit switch > end if > > if char 1 of fld 1 > 1 AND char 2 of fld 1 = 0 then > put item (char 1 of fld 1) of tens into theTextNumber > exit switch > end if > > if char 1 of fld 1 > 1 AND char 2 of fld 1 > 0 then > put item (char 1 of fld 1) of tens && item (char 2 of fld 1) of singles into theTextNumber > exit switch > end if > break > > case 3 > if char 2 of fld 1 = 0 AND char 3 of fld 1 = 0 then > put item (char 1 of fld 1) of singles && "hundred" into theTextNumber > exit switch > end if > > if char 2 of fld 1 = 0 AND char 3 of fld 1 > 0 then > put item (char 1 of fld 1) of singles && "hundred and" && item (char 3 of fld 1) of singles into theTextNumber > exit switch > end if > > if char 2 of fld 1 > 0 AND char 3 of fld 1 = 0 then > put item (char 1 of fld 1) of singles && "hundred and" && item (char 2 of fld 1) of tens && item (char 3 of fld 1) of singles into theTextNumber > exit switch > end if > > if char 2 of fld 1 > 0 AND char 3 of fld 1 > 1 then > put item (char 1 of fld 1) of singles && "hundred and" && item (char 2 of fld 1) of tens && item (char 3 of fld 1) of singles into theTextNumber > exit switch > end if > > if char 2 of fld 1 > 0 AND char 3 of fld 1 > 0 then > put item (char 1 of fld 1) of singles && "hundred and" && item (char 3 of fld 1) of mixed into theTextNumber > exit switch > end if > > break > end switch > > put theTextNumber into fld 2 > end mouseUp > > That should go up to 999... > >> Date: Wed, 8 Dec 2010 17:30:23 -0500 >> Subject: Number to text >> From: hershrev at syp2u4c.com >> To: use-revolution at lists.runrev.com >> >> Hi any Idea on how to go about calculating numbers to text eg. 100, One >> Hundred, ? >> Thanks, Hershel >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Thu Dec 9 09:44:22 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 09 Dec 2010 09:44:22 -0500 Subject: More iOS Build Trouble In-Reply-To: References: Message-ID: Both the iPhone and the ipad have been at 4.2 for a while now. So if you set it to 3.2 it will only work on the iPad since that was ONLY for iPads, set it to one of the other version numbers and it should work. RR LC needs to update to the 4.2 which works for both device types with out this problem. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Dec 9, 2010, at 7:47 AM, Colin Holgate wrote: > Did you put the provisioning file onto the iPod? Also, setting 3.2 as a minimum seems wrong. That's what you would want if it was just an iPad app, but a lot of iPods will be running 3.1.3 or earlier. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Thu Dec 9 10:57:14 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 9 Dec 2010 07:57:14 -0800 Subject: ANN: glx2 is now open source In-Reply-To: <9F0E8AB4-BDCB-40C6-B898-DABA6C47F380@mac.com> References: <411375436109.20101204173219@ahsoftware.net> <5794A754-6CCB-41E9-9790-1224FE501A8B@sweattechnologies.com> <1851723925828.20101208182025@ahsoftware.net> <4D004DB6.6050702@hyperactivesw.com> <801729129453.20101208194709@ahsoftware.net> <4D0056AF.6090004@hyperactivesw.com> <1151731026296.20101208201846@ahsoftware.net> <9F0E8AB4-BDCB-40C6-B898-DABA6C47F380@mac.com> Message-ID: <291772935000.20101209075714@ahsoftware.net> Bj?rnke- Thursday, December 9, 2010, 2:12:19 AM, you wrote: > i have that, but only for when the edit tool is selected, and the > field is named "label field". it was a quick and dirty test, which i > found so nice that i made a plugin for myself. I think i'll clean it > up and make a live-cast out of it. I'm aiming for saturday in a week. I'm looking forward to that. -- -Mark Wieder mwieder at ahsoftware.net From scott at tactilemedia.com Thu Dec 9 11:01:32 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 09 Dec 2010 08:01:32 -0800 Subject: More iOS Build Trouble In-Reply-To: Message-ID: Recently, Colin Holgate wrote: > Did you put the provisioning file onto the iPod? Also, setting 3.2 as a > minimum seems wrong. That's what you would want if it was just an iPad app, > but a lot of iPods will be running 3.1.3 or earlier. Recently, Thomas McGrath III wrote: > Both the iPhone and the ipad have been at 4.2 for a while now. So if you set > it to 3.2 it will only work on the iPad since that was ONLY for iPads, set it > to one of the other version numbers and it should work. RR LC needs to update > to the 4.2 which works for both device types with out this problem. Thanks guys but Xcode is still not allowing the app on the iPod. The provisioning file is present on the iPod. Regarding the version number, I figured one could limit builds to a more recent iOS version, but regardless, setting the minimum iOS version to 3.1.3 doesn't appear to help -- still getting "The executable was signed with invalid entitlements." Any other ideas? Regards, Scott Rossi Creative Director Tactile Media, UX Design From coiin at verizon.net Thu Dec 9 11:11:59 2010 From: coiin at verizon.net (Colin Holgate) Date: Thu, 09 Dec 2010 11:11:59 -0500 Subject: More iOS Build Trouble In-Reply-To: References: Message-ID: <51137916-CD3E-4939-847E-126EA2B0B2F2@verizon.net> On Dec 9, 2010, at 9:44 AM, Thomas McGrath III wrote: > Both the iPhone and the ipad have been at 4.2 for a while now. Not really, it's only been 17 days, I'm sure a lot of people won't have updated, and for many older device owners their iPhones/iPods won't be allowed to update to 4.x. Setting the minimum as 3.2, or 4.2, would prevent any of those iPhones or iPods from using the app. It is a requirement of the App Store that if the app is just for iPad, it has to have a minimum of 3.2, but if it's iPhone/iPad it can be less. I submitted an app recently that is iPhone/iPad, and the minimum was set to 3.0. From coiin at verizon.net Thu Dec 9 11:13:54 2010 From: coiin at verizon.net (Colin Holgate) Date: Thu, 09 Dec 2010 11:13:54 -0500 Subject: More iOS Build Trouble In-Reply-To: References: Message-ID: On Dec 9, 2010, at 11:01 AM, Scott Rossi wrote: > still > getting "The executable was signed with invalid entitlements." I have seen similar errors for unusual reasons, such as the app name having spaces in it, or the icons being in a sub folder. Are you sure that the iPod you're trying is listed as a device for the provisioning file you're trying? Does it install onto other devices ok? From admin at FlexibleLearning.com Thu Dec 9 11:22:55 2010 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Thu, 9 Dec 2010 16:22:55 -0000 Subject: [OT] Beta testing of ImageOrganizer In-Reply-To: Message-ID: We are hoping to release ImageOrganizer in time for Christmas and are asking for beta testers to check that the program is as robust as we believe it is. Some screenshots are available... www.flexiblelearning.com/imageorganizerBeta or individually www.flexiblelearning.com/imageorganizerBeta/imageorganizer1.png www.flexiblelearning.com/imageorganizerBeta/imageorganizer2.png www.flexiblelearning.com/imageorganizerBeta/imageorganizer3.png If you have an interest and are willing to provide constructive feedback and comments, please contact me off-list indicating your platform of choice (Mac, XP, Vista or Win7). Hugh Senior FLCo From bill at bluewatermaritime.com Thu Dec 9 11:25:52 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Thu, 9 Dec 2010 12:25:52 -0400 Subject: quiting and close stack message In-Reply-To: <4D004D2E.60501@hyperactivesw.com> References: <2D8EC5CE-64E7-4B21-B87D-2FE9E9BF13AA@twft.com> <4D000848.1090705@hyperactivesw.com> <3D09ACF4-083D-4D72-8C6B-9AEA06ED7B70@twft.com> <4D004D2E.60501@hyperactivesw.com> Message-ID: Thanks. I read this list every day and often marvel at how lucky I am to be using liveCode which has the resources of the list, people that don't mind pointing out obvious answers to lifetime neophytes like me. On Wed, Dec 8, 2010 at 11:29 PM, J. Landman Gay wrote: > On 12/8/10 8:07 PM, william humphrey wrote: > >> I couldn't get it to work in the IDE but I'll try again now. Seems to me >> it >> would be nice if things like this worked consistently in IDE and >> standalone >> even if LiveCode programmers had to introduce something to accomplish it. >> > > It can't work in the IDE the way you want, because the IDE traps the > message in order to ask you if you want to save your own stacks. :) If you > want to test it in the IDE, select "Suspend Development Tools" from the > Development menu. That will remove the IDE from the message path and it > should work in your stack. > > > -- http://www.bluewatermaritime.com From MikeKerner at roadrunner.com Thu Dec 9 11:49:26 2010 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 9 Dec 2010 11:49:26 -0500 Subject: combine...doesn't? Message-ID: On one-dimensional arrays, combine seems to work ok, but once I add a second dimension things go south. So yanking all the other data out and trying to eliminate absolutely everything that might do anything, I have put "x" into myArray["1"]["4"] put "y" into myArray["2"]["5"] put "z" into myArray["3"]["6"] combine myArray by "^" and ";" The result is 1;^2;^3; Can anyone explain this to me? I was TRYING to make an array of account nicknames, usernames, and passwords that I can write to a file, but if I can't get the above to work, then I certainly can't get something like ["1"]["nickname"] test ["1"]["username"] a ["1"]["password"] b to work From davidocoker at gmail.com Thu Dec 9 12:04:15 2010 From: davidocoker at gmail.com (David C.) Date: Thu, 9 Dec 2010 11:04:15 -0600 Subject: [OT] Beta testing of ImageOrganizer In-Reply-To: References: Message-ID: > If you have an interest and are willing to provide constructive feedback and > comments, please contact me off-list indicating your platform of choice > (Mac, XP, Vista or Win7). > > Hugh Senior > FLCo > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > As much as I wish it to be otherwise, I truly cannot contribute any time for beta testing (or very little at best), but I do have to say that the appearance is very professional and awesome looking! Nice stuff. :-) I do have a question for you... It appears that you have the Windows version of the program split up separately between XP and Vista/Win 7.... Am I reading that correctly and if so, why did you choose to go that route? Best regards, David C. From davidocoker at gmail.com Thu Dec 9 12:07:00 2010 From: davidocoker at gmail.com (David C.) Date: Thu, 9 Dec 2010 11:07:00 -0600 Subject: quiting and close stack message In-Reply-To: References: <2D8EC5CE-64E7-4B21-B87D-2FE9E9BF13AA@twft.com> <4D000848.1090705@hyperactivesw.com> <3D09ACF4-083D-4D72-8C6B-9AEA06ED7B70@twft.com> <4D004D2E.60501@hyperactivesw.com> Message-ID: On Thu, Dec 9, 2010 at 10:25 AM, william humphrey wrote: > Thanks. I read this list every day and often marvel at how lucky I am to be > using liveCode which has the resources of the list, people that don't mind > pointing out obvious answers to lifetime neophytes like me. ...and/or virtual "noobs" like myself. Simply good folks. :-) Best regards, David C. From bobs at twft.com Thu Dec 9 12:20:31 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 9 Dec 2010 09:20:31 -0800 Subject: combine...doesn't? In-Reply-To: References: Message-ID: <7EE6D9FE-8C43-4AD5-A656-13792B255115@twft.com> When I was having these issues, it was explained to me that these functions for arrays are a throwback to when Revolution only had simple one dimensional arrays, and that they do not work with the new multidimensional arrays. Bummer, huh? Some have written some good functions to do what you want, or you can roll your own. Bob On Dec 9, 2010, at 8:49 AM, Mike Kerner wrote: > On one-dimensional arrays, combine seems to work ok, but once I add a second > dimension things go south. > > So yanking all the other data out and trying to eliminate absolutely > everything that might do anything, I have > > put "x" into myArray["1"]["4"] > put "y" into myArray["2"]["5"] > put "z" into myArray["3"]["6"] > combine myArray by "^" and ";" > > The result is 1;^2;^3; > > > Can anyone explain this to me? I was TRYING to make an array of account > nicknames, usernames, and passwords that I can write to a file, but if I > can't get the above to work, then I certainly can't get something like > > ["1"]["nickname"] test > ["1"]["username"] a > ["1"]["password"] b > > to work > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Dec 9 12:22:00 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 9 Dec 2010 09:22:00 -0800 Subject: quiting and close stack message In-Reply-To: References: <2D8EC5CE-64E7-4B21-B87D-2FE9E9BF13AA@twft.com> <4D000848.1090705@hyperactivesw.com> <3D09ACF4-083D-4D72-8C6B-9AEA06ED7B70@twft.com> <4D004D2E.60501@hyperactivesw.com> Message-ID: <6C45EBE6-D07F-45AE-BFB1-2D51D74F3789@twft.com> Try being a Techno-Twit like me for a day and see how you like it! ;-) Bob On Dec 9, 2010, at 9:07 AM, David C. wrote: > On Thu, Dec 9, 2010 at 10:25 AM, william humphrey > wrote: >> Thanks. I read this list every day and often marvel at how lucky I am to be >> using liveCode which has the resources of the list, people that don't mind >> pointing out obvious answers to lifetime neophytes like me. > > ...and/or virtual "noobs" like myself. > > Simply good folks. :-) > > Best regards, > David C. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Thu Dec 9 12:41:23 2010 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 9 Dec 2010 12:41:23 -0500 Subject: combine...doesn't? In-Reply-To: <7EE6D9FE-8C43-4AD5-A656-13792B255115@twft.com> References: <7EE6D9FE-8C43-4AD5-A656-13792B255115@twft.com> Message-ID: what's weird is that the documentation describes how to do this for multi-dimensional arrays, even though for 'combine' it's bizarre. From harald at etcpp.de Thu Dec 9 12:54:11 2010 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Thu, 9 Dec 2010 18:54:11 +0100 Subject: More iOS Build Trouble In-Reply-To: References: Message-ID: <0F9B266F-35DF-4362-8ECD-AE2BD17E3987@etcpp.de> You could check if your Bundle ID is right: http://developer.apple.com/library/ios/#technotes/tn2009/tn2242.html Best regards, Harald. Am 09.12.2010 um 17:01 schrieb Scott Rossi: > Recently, Colin Holgate wrote: > >> Did you put the provisioning file onto the iPod? Also, setting 3.2 as a >> minimum seems wrong. That's what you would want if it was just an iPad app, >> but a lot of iPods will be running 3.1.3 or earlier. > > > Recently, Thomas McGrath III wrote: > >> Both the iPhone and the ipad have been at 4.2 for a while now. So if you set >> it to 3.2 it will only work on the iPad since that was ONLY for iPads, set it >> to one of the other version numbers and it should work. RR LC needs to update >> to the 4.2 which works for both device types with out this problem. > > > Thanks guys but Xcode is still not allowing the app on the iPod. The > provisioning file is present on the iPod. Regarding the version number, I > figured one could limit builds to a more recent iOS version, but regardless, > setting the minimum iOS version to 3.1.3 doesn't appear to help -- still > getting "The executable was signed with invalid entitlements." > > Any other ideas? > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobs at twft.com Thu Dec 9 12:58:02 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 9 Dec 2010 09:58:02 -0800 Subject: combine...doesn't? In-Reply-To: References: <7EE6D9FE-8C43-4AD5-A656-13792B255115@twft.com> Message-ID: Really?? Maybe they updated it with Livecode. Bob On Dec 9, 2010, at 9:41 AM, Mike Kerner wrote: > what's weird is that the documentation describes how to do this for > multi-dimensional arrays, even though for 'combine' it's bizarre. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Dec 9 13:04:13 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 9 Dec 2010 10:04:13 -0800 Subject: combine...doesn't? In-Reply-To: References: <7EE6D9FE-8C43-4AD5-A656-13792B255115@twft.com> Message-ID: I think the thing with arrays is that there are 2 types (apparently). One kind is referenced by the name and then the numerical x,y coordinates of the element you want. This is NOT the one that Livecode uses. The other type uses named keys, where the first "element" so to speak is the name of the key. So whatever you are trying to convert needs to take that into consideration. I think the combine and spit functions could resolve this right quick by having an arguement saying whether or not to create or strip the keys upon conversion, so that the ACTUAL data is what you get. But what do I know? And as an aside I have no idea what a multidimensional array would look like once converted to a string. Bob On Dec 9, 2010, at 9:41 AM, Mike Kerner wrote: > what's weird is that the documentation describes how to do this for > multi-dimensional arrays, even though for 'combine' it's bizarre. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Thu Dec 9 13:47:32 2010 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 9 Dec 2010 13:47:32 -0500 Subject: combine...doesn't? In-Reply-To: References: <7EE6D9FE-8C43-4AD5-A656-13792B255115@twft.com> Message-ID: LC uses hash tables to simulate arrays. It's nice in some ways and not so much in others. Check the dox for 'combine' and 'split'. Combine has an added issue for multi-dimensional arrays, which is specifically discusses, i.e. indicies have to be numeric strings. From bvg at mac.com Thu Dec 9 13:52:55 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 09 Dec 2010 19:52:55 +0100 Subject: combine...doesn't? In-Reply-To: References: Message-ID: Combine only works on one level of the array. Because of that, you need to write a repeat loop: --untested! repeat for each key theKey in myArray combine myArray[theKey] by return and "/" repeat for each line theLine in myArray[theKey] put theKey & "/" & theLine & return after theResult end repeat end repeat put theResult On 9 Dec 2010, at 17:49, Mike Kerner wrote: > On one-dimensional arrays, combine seems to work ok, but once I add a second > dimension things go south. > > So yanking all the other data out and trying to eliminate absolutely > everything that might do anything, I have > > put "x" into myArray["1"]["4"] > put "y" into myArray["2"]["5"] > put "z" into myArray["3"]["6"] > combine myArray by "^" and ";" > > The result is 1;^2;^3; > > > Can anyone explain this to me? I was TRYING to make an array of account > nicknames, usernames, and passwords that I can write to a file, but if I > can't get the above to work, then I certainly can't get something like > > ["1"]["nickname"] test > ["1"]["username"] a > ["1"]["password"] b > > to work -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From richmondmathewson at gmail.com Thu Dec 9 13:53:26 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 09 Dec 2010 20:53:26 +0200 Subject: A wee gifty . . . Message-ID: <4D0125A6.3000706@gmail.com> Have just uploaded a version of the 'Importer.rev' stack: http://andregarzia.on-rev.com/richmond/Importer_2.rev.zip Having been told that resizing by adjusting the width of an image inside a group is long-winded and slow this version uses the rect of the image . . . (look inside the 'ZOOM 200%' and 'UNZOOM' images) Must be just me; but on my P4, 1GB, 2.4 GHz machine running Ubuntu 10.10 I really cannot see any noticeable difference at all; nor do things seem slow to me. Feedback welcomed . . . From MikeKerner at roadrunner.com Thu Dec 9 13:59:02 2010 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 9 Dec 2010 13:59:02 -0500 Subject: combine...doesn't? In-Reply-To: References: Message-ID: Well, not to sound like a smart-455, but I can tell that it doesn't work. I'm guess I'm just surprised that the documentation is sooooooooooo wrong. From jacque at hyperactivesw.com Thu Dec 9 14:29:18 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 Dec 2010 13:29:18 -0600 Subject: quiting and close stack message In-Reply-To: References: <2D8EC5CE-64E7-4B21-B87D-2FE9E9BF13AA@twft.com> <4D000848.1090705@hyperactivesw.com> <3D09ACF4-083D-4D72-8C6B-9AEA06ED7B70@twft.com> <4D004D2E.60501@hyperactivesw.com> Message-ID: <4D012E0E.9020904@hyperactivesw.com> On 12/9/10 10:25 AM, william humphrey wrote: > Thanks. I read this list every day and often marvel at how lucky I am to be > using liveCode which has the resources of the list, people that don't mind > pointing out obvious answers to lifetime neophytes like me. I marvel too. We all have our areas of expertise, and I'm as noob as anyone in some of them. Don't ask me to debug your database. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Thu Dec 9 14:32:35 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 09 Dec 2010 11:32:35 -0800 Subject: combine...doesn't? Message-ID: <4D012ED3.3010200@fourthworld.com> Mike Kerner wrote: > Well, not to sound like a smart-455, but I can tell that it doesn't work. > I'm guess I'm just surprised that the documentation is sooooooooooo wrong. I was going to flag that as a documentation error, but I couldn't find the part where it said it would work with multi-dimensional arrays. Where can I find that? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From jacque at hyperactivesw.com Thu Dec 9 14:42:11 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 Dec 2010 13:42:11 -0600 Subject: Menus In-Reply-To: <049AC298-3F5E-4475-8A39-8A78A8F64A6B@cox.net> References: <049AC298-3F5E-4475-8A39-8A78A8F64A6B@cox.net> Message-ID: <4D013113.7080403@hyperactivesw.com> On 12/8/10 11:30 PM, Joe Lewis Wilkins wrote: > > On my current project I have a mainstack and two substacks. I want > each one to have it's own menu. At one point I managed to do that, > but now seemed to have lost the appropriate connections. In the Menu Builder, with your substack frontmost, tick "Set as stack Menu bar". That will associate the menu with that stack. Make sure the substack is in toplevel mode, just to make sure the Menu Builder sees it. > Is there > someplace that these menus are stored where I can reliably reach them > to make changes?. The Build menu doesn't do this predictably. Click the Edit button in the Menu Builder. All available groups are listed (some won't be menu groups.) Choose the one you want to work with. > Sometime I get the one I want and sometimes I don't. Also, is there a > way that we can duplicate the contents of one menu to put into > another one. A little frustrating as it is now. Menus are just a group of buttons. In Menu Builder, uncheck "Preview in Menu Bar" if it's enabled, that will place your menu group back into the stack on OS X. Then you can double-click the button with the edit tool and use its property inspector to look at the button contents and copy them. Or, if you don't want to go through all that, you can do this from the message box: set the clipboardData to btn "File" of grp "myMenu" Substitute the name of the menu button you want for the "File" example. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Dec 9 14:44:14 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 Dec 2010 13:44:14 -0600 Subject: Zoom Image Widgets Anyone In-Reply-To: <4D00115D.3080607@hindu.org> References: <4D00115D.3080607@hindu.org> Message-ID: <4D01318E.2030907@hyperactivesw.com> On 12/8/10 5:14 PM, Sivakatirswami wrote: > I'm sitting here making my own zoom tool when I start thinking someelse > *must*have done this an a lot better than me. I'm not sure it does exactly what you want, but I uploaded a stack to RevOnline a while back called "Magnify an image". It might give you some ideas. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From admin at FlexibleLearning.com Thu Dec 9 14:48:39 2010 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Thu, 9 Dec 2010 19:48:39 -0000 Subject: [OT] Beta testing of ImageOrganizer In-Reply-To: Message-ID: Hi David, There will be only one exe program for Windows, but XP, Vista and Win7 each have their own ideosynchrasies and we need to cover all the bases in the testing. Macs will require Snow Leopard. Best regards, Hugh Senior FLCo As much as I wish it to be otherwise, I truly cannot contribute any time for beta testing (or very little at best), but I do have to say that the appearance is very professional and awesome looking! Nice stuff. :-) I do have a question for you... It appears that you have the Windows version of the program split up separately between XP and Vista/Win 7.... Am I reading that correctly and if so, why did you choose to go that route? Best regards, David C. > If you have an interest and are willing to provide constructive feedback and > comments, please contact me off-list indicating your platform of choice > (Mac, XP, Vista or Win7). > Some screenshots are available... > > www.flexiblelearning.com/imageorganizerBeta > > or individually > > www.flexiblelearning.com/imageorganizerBeta/imageorganizer1.png > www.flexiblelearning.com/imageorganizerBeta/imageorganizer2.png > www.flexiblelearning.com/imageorganizerBeta/imageorganizer3.png > > Hugh Senior > FLCo From MikeKerner at roadrunner.com Thu Dec 9 15:02:02 2010 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 9 Dec 2010 15:02:02 -0500 Subject: combine...doesn't? In-Reply-To: <4D012ED3.3010200@fourthworld.com> References: <4D012ED3.3010200@fourthworld.com> Message-ID: Richard, After reading it over again (and again), I guess I understand why I'm confused. The secondary delimiter and the discussion of what it does confused me. I have submitted comments for both split and combine to try to clarify the situation. From liste.revo at medard.on-rev.com Thu Dec 9 15:21:14 2010 From: liste.revo at medard.on-rev.com (Medard) Date: Thu, 9 Dec 2010 21:21:14 +0100 Subject: On-Rev desktop client refuses to connect! Message-ID: <1jt94bl.rj8p63l2ilk6M%liste.revo@medard.on-rev.com> As for this evening (GMT+1) On-Rev desktop client refuses to connect, with this message: Could not connect to server. ensure your username and password are correct. Apparently, I didn't change anything recently... A few days ago, I connected myself with no hassle! Is there a recent change? I downloaded a fresh copy, but it seems that it is exactly the same version as the one I have on my desktop... 0.1.4 8th of June, 2009 From david at opntech.com Thu Dec 9 15:25:29 2010 From: david at opntech.com (David Bovill) Date: Thu, 9 Dec 2010 20:25:29 +0000 Subject: [ANN] LiveCode Competition and Mobile weekend Message-ID: Live Code TVs first ever coding marathon takes place this weekend, we are entering a competition to build a mobile app in a weekend - sponsored by the Guardian Newspaper. Live Code TV is a community project, run by you - that is whoever want to take part. Drop by to learn how to make mobile apps, and better still do some coding or help with some design. - Find out more on http://www.livecode.tv/mobile-weekend/ The event is sponsored by the Guardian Newspapersand their Rewired State project, and we will definitely be working with a number of web services, the My Societyand the Guardian Open Data Platform, as well a Google Maps, and whatever else we find useful and interesting. It?s an informal hack ? but of course we want to win! We?ll be starting 10.30 am Saturday morning (GMT) and working through till the 4pm Show and Tell pitching session, and we?ll be Live Casting as much of the coding as possible, as well as being on chatrev. Come the weekend this page will be replaced by a Live Cast video, and we?ll be putting the code up in and documenting it on a project wiki as we go. Right now we?re wandering what on earth we will build [image: :)] These are the challenges we?ve been set: 1. Reducing digital exclusion 1. Creating a network of local digital champions 2. Tools to teach new internet users 2. Healthy Living Healthy living 1. Technologies for healthy living 2. Visualisations for healthy living 3. Supporting carers 4. Working differently ? Government ?skunkworks? 1. Enabling more flexible procurement 5. Everything else digital Send us your ideas of what to build, and help us fix bugs. Visit http://www.livecode.tv/mobile-weekend/ From glpunzi at lordzealon.com Thu Dec 9 15:30:53 2010 From: glpunzi at lordzealon.com (Giuseppe Luigi Punzi) Date: Thu, 09 Dec 2010 21:30:53 +0100 Subject: [OT] Beta testing of ImageOrganizer In-Reply-To: References: Message-ID: <1291926653.2156.1.camel@casiopea> I don't have time to betatesting, but...congratulations..looks very very beautyfull El jue, 09-12-2010 a las 19:48 +0000, FlexibleLearning escribi?: > Hi David, > > There will be only one exe program for Windows, but XP, Vista and Win7 each > have their own ideosynchrasies and we need to cover all the bases in the > testing. Macs will require Snow Leopard. > > Best regards, > > Hugh Senior > FLCo > > > > As much as I wish it to be otherwise, I truly cannot contribute any > time for beta testing (or very little at best), but I do have to say > that the appearance is very professional and awesome looking! Nice > stuff. :-) > > I do have a question for you... > It appears that you have the Windows version of the program split up > separately between XP and Vista/Win 7.... Am I reading that correctly > and if so, why did you choose to go that route? > > Best regards, > David C. > > > > > If you have an interest and are willing to provide constructive feedback > and > > comments, please contact me off-list indicating your platform of choice > > (Mac, XP, Vista or Win7). > > Some screenshots are available... > > > > www.flexiblelearning.com/imageorganizerBeta > > > > or individually > > > > www.flexiblelearning.com/imageorganizerBeta/imageorganizer1.png > > www.flexiblelearning.com/imageorganizerBeta/imageorganizer2.png > > www.flexiblelearning.com/imageorganizerBeta/imageorganizer3.png > > > > Hugh Senior > > FLCo > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From runrev260805 at m-r-d.de Thu Dec 9 16:09:00 2010 From: runrev260805 at m-r-d.de (Matthias Rebbe) Date: Thu, 9 Dec 2010 22:09:00 +0100 Subject: On-Rev desktop client refuses to connect! In-Reply-To: <1jt94bl.rj8p63l2ilk6M%liste.revo@medard.on-rev.com> References: <1jt94bl.rj8p63l2ilk6M%liste.revo@medard.on-rev.com> Message-ID: <3266101C-E5B6-493D-81DF-5F6E68B367B5@m-r-d.de> Hi Medard, i have exactly the same problem since yesterday connecting with on-rev client to Loki server. Regards, Matthias Am 09.12.2010 um 21:21 schrieb Medard: > As for this evening (GMT+1) On-Rev desktop client refuses to connect, > with this message: > > Could not connect to server. ensure your username and password are > correct. > > Apparently, I didn't change anything recently... > A few days ago, I connected myself with no hassle! > > Is there a recent change? > > I downloaded a fresh copy, but it seems that it is exactly the same > version as the one I have on my desktop... > 0.1.4 8th of June, 2009 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From katir at hindu.org Thu Dec 9 16:40:08 2010 From: katir at hindu.org (Sivakatirswami) Date: Thu, 09 Dec 2010 11:40:08 -1000 Subject: iOS Apps Update Model - Trigger Message-ID: <4D014CB8.1000907@hindu.org> Can anyone share the update requirements for iOS Apps? Do we simply change that in our standalone settings push a new version and then the App store alerts all users? anything else we need to know? Sivakatirswami From bobs at twft.com Thu Dec 9 17:11:28 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 9 Dec 2010 14:11:28 -0800 Subject: On-Rev desktop client refuses to connect! In-Reply-To: <1jt94bl.rj8p63l2ilk6M%liste.revo@medard.on-rev.com> References: <1jt94bl.rj8p63l2ilk6M%liste.revo@medard.on-rev.com> Message-ID: I have not heard of this. Is this something different from the web page you log into, or is it simply another way to manage it? Bob On Dec 9, 2010, at 12:21 PM, Medard wrote: > As for this evening (GMT+1) On-Rev desktop client refuses to connect, > with this message: > > Could not connect to server. ensure your username and password are > correct. > > Apparently, I didn't change anything recently... > A few days ago, I connected myself with no hassle! > > Is there a recent change? > > I downloaded a fresh copy, but it seems that it is exactly the same > version as the one I have on my desktop... > 0.1.4 8th of June, 2009 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From chipp at chipp.com Thu Dec 9 18:17:32 2010 From: chipp at chipp.com (Chipp Walters) Date: Thu, 9 Dec 2010 17:17:32 -0600 Subject: iOS Apps Update Model - Trigger In-Reply-To: <4D014CB8.1000907@hindu.org> References: <4D014CB8.1000907@hindu.org> Message-ID: Sivakatirswami, Yes, I believe that is the case for commercial development. FWIW, I am working on an iOS 'StackRunner" which works on iPhone and iPad. With it, you can provision your enterprise customers, and then they can download stacks directly to their device by entering in a stack URL. When complete, it will show an icon for every stack you've downloaded, along with a file browser to update or delete the stacks and their contents. I've currently got it downloading stacks to both iPad and iPhone. I'm planning on making this part of the presentation Andre and I will be giving at the LiveCode conference later next year. HTH, Chipp On Thu, Dec 9, 2010 at 3:40 PM, Sivakatirswami wrote: > Can anyone share the update requirements for iOS Apps? > > Do we simply change that in our standalone settings push a new version and > then the App store alerts all users? > > anything else we need to know? > > Sivakatirswami > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Chipp Walters CEO, Shafer Walters Group, Inc. From klaus at major.on-rev.com Thu Dec 9 18:29:32 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 10 Dec 2010 00:29:32 +0100 Subject: iOS Apps Update Model - Trigger In-Reply-To: References: <4D014CB8.1000907@hindu.org> Message-ID: <0C311042-9A2C-40FC-AB43-BB59421EF4CD@major.on-rev.com> Hi Chipp, > Sivakatirswami, > > Yes, I believe that is the case for commercial development. > > FWIW, I am working on an iOS 'StackRunner" which works on iPhone and iPad. > With it, you can provision your enterprise customers, and then they can > download stacks directly to their device by entering in a stack URL. When > complete, it will show an icon for every stack you've downloaded, along with > a file browser to update or delete the stacks and their contents. > > I've currently got it downloading stacks to both iPad and iPhone. I'm > planning on making this part of the presentation Andre and I will be giving > at the LiveCode conference later next year. isn't that explicitely forbidden in the app store: downloading "code"? I presume stacks are considered as "code". > HTH, > > Chipp Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From bobs at twft.com Thu Dec 9 18:48:40 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 9 Dec 2010 15:48:40 -0800 Subject: iOS Apps Update Model - Trigger In-Reply-To: <0C311042-9A2C-40FC-AB43-BB59421EF4CD@major.on-rev.com> References: <4D014CB8.1000907@hindu.org> <0C311042-9A2C-40FC-AB43-BB59421EF4CD@major.on-rev.com> Message-ID: <1508D1F1-4D3C-401F-93D2-3A060A0E696F@twft.com> I don't believe this will be a store distributed app. In that case you can do whatever the heck you want with the iPhone. I remember reading that in iOS 4 Apple was making some provision for enterprise customers, so that companies could develop and distribute their own custom apps to the iPhone/iPad. This must be what he is doing. Bob On Dec 9, 2010, at 3:29 PM, Klaus on-rev wrote: > Hi Chipp, > >> Sivakatirswami, >> >> Yes, I believe that is the case for commercial development. >> >> FWIW, I am working on an iOS 'StackRunner" which works on iPhone and iPad. >> With it, you can provision your enterprise customers, and then they can >> download stacks directly to their device by entering in a stack URL. When >> complete, it will show an icon for every stack you've downloaded, along with >> a file browser to update or delete the stacks and their contents. >> >> I've currently got it downloading stacks to both iPad and iPhone. I'm >> planning on making this part of the presentation Andre and I will be giving >> at the LiveCode conference later next year. > > isn't that explicitely forbidden in the app store: downloading "code"? > I presume stacks are considered as "code". > >> HTH, >> >> Chipp > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From chipp at chipp.com Thu Dec 9 18:49:20 2010 From: chipp at chipp.com (Chipp Walters) Date: Thu, 9 Dec 2010 17:49:20 -0600 Subject: iOS Apps Update Model - Trigger In-Reply-To: <0C311042-9A2C-40FC-AB43-BB59421EF4CD@major.on-rev.com> References: <4D014CB8.1000907@hindu.org> <0C311042-9A2C-40FC-AB43-BB59421EF4CD@major.on-rev.com> Message-ID: Yes, of course it is. I'm only talking about using it for enterprise customers, who I can independently provision. Just to be clear, THIS SHOULD NOT BE DONE FOR A COMMERCIAL APP! On Thu, Dec 9, 2010 at 5:29 PM, Klaus on-rev wrote: > Hi Chipp, > > > Sivakatirswami, > > > > Yes, I believe that is the case for commercial development. > > > > FWIW, I am working on an iOS 'StackRunner" which works on iPhone and > iPad. > > With it, you can provision your enterprise customers, and then they can > > download stacks directly to their device by entering in a stack URL. When > > complete, it will show an icon for every stack you've downloaded, along > with > > a file browser to update or delete the stacks and their contents. > > > > I've currently got it downloading stacks to both iPad and iPhone. I'm > > planning on making this part of the presentation Andre and I will be > giving > > at the LiveCode conference later next year. > > isn't that explicitely forbidden in the app store: downloading "code"? > I presume stacks are considered as "code". > > > HTH, > > > > Chipp > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Chipp Walters CEO, Shafer Walters Group, Inc. From chipp at chipp.com Thu Dec 9 18:55:40 2010 From: chipp at chipp.com (Chipp Walters) Date: Thu, 9 Dec 2010 17:55:40 -0600 Subject: iOS Apps Update Model - Trigger In-Reply-To: References: <4D014CB8.1000907@hindu.org> Message-ID: There are several advantages to using the StackRunner (I'm calling it AltRunner ;-P) concept: 1. I can program stacks on my PC instead of having to use a Mac 2. I can provision the exact same AltRunner client for different customers, and give them different links, and they will be running a completely different application. So, I only need to mess with Apples PIA provisioning once. 3. I can beta test products faster. 4. I can update my applications instantaneously, instead of the ridiculous 2 to 4 day update process Apple uses. 5. I can load several different apps onto the AltRunner desktop, and run any of them individually. On Thu, Dec 9, 2010 at 5:17 PM, Chipp Walters wrote: > Sivakatirswami, > > Yes, I believe that is the case for commercial development. > > FWIW, I am working on an iOS 'StackRunner" which works on iPhone and iPad. > With it, you can provision your enterprise customers, and then they can > download stacks directly to their device by entering in a stack URL. When > complete, it will show an icon for every stack you've downloaded, along with > a file browser to update or delete the stacks and their contents. > > I've currently got it downloading stacks to both iPad and iPhone. I'm > planning on making this part of the presentation Andre and I will be giving > at the LiveCode conference later next year. > > HTH, > > Chipp > > On Thu, Dec 9, 2010 at 3:40 PM, Sivakatirswami wrote: > >> Can anyone share the update requirements for iOS Apps? >> >> Do we simply change that in our standalone settings push a new version and >> then the App store alerts all users? >> >> anything else we need to know? >> >> Sivakatirswami >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > Chipp Walters > CEO, Shafer Walters Group, Inc. > > -- Chipp Walters CEO, Shafer Walters Group, Inc. From bobs at twft.com Thu Dec 9 19:02:37 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 9 Dec 2010 16:02:37 -0800 Subject: iOS Apps Update Model - Trigger In-Reply-To: References: <4D014CB8.1000907@hindu.org> Message-ID: <4A835D4C-84A3-4C6A-AACF-97A7608B29A0@twft.com> Fascinating approach Chipp. This has a lot of potential. Bob On Dec 9, 2010, at 3:55 PM, Chipp Walters wrote: > There are several advantages to using the StackRunner (I'm calling it > AltRunner ;-P) concept: > > 1. I can program stacks on my PC instead of having to use a Mac > 2. I can provision the exact same AltRunner client for different > customers, and give them different links, and they will be running a > completely different application. So, I only need to mess with Apples PIA > provisioning once. > 3. I can beta test products faster. > 4. I can update my applications instantaneously, instead of the > ridiculous 2 to 4 day update process Apple uses. > 5. I can load several different apps onto the AltRunner desktop, and run > any of them individually. From m.schonewille at economy-x-talk.com Thu Dec 9 20:13:29 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 10 Dec 2010 02:13:29 +0100 Subject: Live LiveCode Code Event #3 Message-ID: Dear LiveCoders, This Saturday, 11 December 2010 at 19:00h GMT (Sat. 22:00 in Moscow, Sat. 20:00 in Paris, Sat. 14:00 in New York, Sat. 11:00 in Los Angeles, Sun. 04:00 in Tokyo, Sun. 3:00 in Beijing), the 3rd edition of the Live LiveCode Event will go live. As Bjoernke will be travelling, I'm taking up the challenge of organising the event this time. Provided that we solve all technical issues and manage to communicate with each other despite the time zones, we will have two presentations for you. Mark Wieder will talk about GLX, which is now open source. Mark will show GLX and show how you can help coding this project yourself. Download GLX at https://bitbucket.org/mwieder/glx2/downloads before the conference starts. Judy Perry will give an overview of ways in which LiveCode can be successfully used in the field of education. Direct links to the video presentations will be available at http://livecode.tv shortly before the event starts. Videos and materials will be available afterwards. During the event, there will be discussions about LiveCode and an opportunity to ask questions to the speakers on ChatRev. If you log in on ChatRev during the event, you will be able to buy the Installer Maker Plugin for LiveCode at a 25% discount. You can find ChatRev at http://bjoernke.com/chatrev . This weekend, David Bovill is participating in a coding competition. David runs the LiveCode.tv website and invites you to watch him coding. More information about the competition is available in his announcement and at http://www.livecode.tv/mobile-weekend/ . -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 How to receive a free Color Converter license http://qurl.tk/kv (read the conditions) From martyknapp at comcast.net Thu Dec 9 21:31:31 2010 From: martyknapp at comcast.net (Marty Knapp) Date: Thu, 09 Dec 2010 18:31:31 -0800 Subject: Mac App Store Message-ID: <4D019103.5070707@comcast.net> So, has anyone been in the process of submitting a LiveCode application to the new Mac app store? It would be nice to know a bit more before one plunks $99 down on the table. I would be curious to know what folks are learning. Marty Knapp From katir at hindu.org Thu Dec 9 22:55:34 2010 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Thu, 9 Dec 2010 17:55:34 -1000 Subject: iOS Apps Update Model - Trigger In-Reply-To: References: <4D014CB8.1000907@hindu.org> Message-ID: "Way cool" Chipp (and Andre)! We could use this here for sure... Otherwise, for the app store, everytime you want to add a new module to your application you have to push a new version. Musings: But, how does iOS filter downloads to even know that it is code? In theory I can download a text file and save it to one of the sandbox folders for my app. ( I hope!) I wonder if you could just load up a bunch of scripts into a text file, then download and save the text file and then populate a template stack with your script by parsing the text file. It if were a smart XML file it might even know what kind of objects the nodes should be come. A hack for downloading "substacks"... or perhaps iOS looks for flags like if-then statements or other obvious code structures, even in text files.... OT: how do you provision a device that is "remote" i.e. what if i want someone to beta test an app and he lives in New Jersey... can I provision his device from Hawaii by sending him some kind of key... i.e our "enterprise" comprises individuals all over the world. On Thu, Dec 9, 2010 at 1:17 PM, Chipp Walters wrote: > Sivakatirswami, > > Yes, I believe that is the case for commercial development. > > FWIW, I am working on an iOS 'StackRunner" which works on iPhone and iPad. > With it, you can provision your enterprise customers, and then they can > download stacks directly to their device by entering in a stack URL. When > complete, it will show an icon for every stack you've downloaded, along > with > a file browser to update or delete the stacks and their contents. > > I've currently got it downloading stacks to both iPad and iPhone. I'm > planning on making this part of the presentation Andre and I will be giving > at the LiveCode conference later next year. > > HTH, > > Chipp > > On Thu, Dec 9, 2010 at 3:40 PM, Sivakatirswami wrote: > > > Can anyone share the update requirements for iOS Apps? > > > > Do we simply change that in our standalone settings push a new version > and > > then the App store alerts all users? > > > > anything else we need to know? > > > > Sivakatirswami > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > Chipp Walters > CEO, Shafer Walters Group, Inc. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gbojsza at gmail.com Fri Dec 10 00:30:33 2010 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 9 Dec 2010 22:30:33 -0700 Subject: lock screen / unlock screen causes livecode to crash? Message-ID: I have an application which works perfectly fine on OS X which is where I do most of my livecode work. Having moved it to a Fedora Linux system the same application crashes. The following code is the culprit since I removed it from the major script and tested it in a separate button. When I push the button with just this code in it livecode crashes. If I put an unlock screen in between the repeats (indicated but is commented out) and then comment out the last unlock screen it works? But I need the screen to be locked for both repeats. local tTemp,tCounter put "temp"&&the millisecs into tTemp lock screen create fld tTemp in grp nr1 set the opaque of fld tTemp to false set the showBorder of fld tTemp to false set the bottom of fld tTemp to -30 repeat with i= the number of imgs down to 1 if the short name of img i begins with "c_lbl_" then delete img i end repeat set the bottom of the templateImage to -50 repeat for each line theLine in tLabels add 1 to tCounter put theLine into fld tTemp set the width of fld tTemp to the formattedwidth of fld tTemp set the height of fld tTemp to the formattedheight of fld tTemp import snapShot from rect (the rect of fld tTemp) of fld tTemp set the name of the last img to ("c_lbl_"&tCounter) set the angle of img ("c_lbl_"&tCounter) to 90 end repeat unlock screen Any ideas? thanks, Glen From gbojsza at gmail.com Fri Dec 10 00:40:06 2010 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 9 Dec 2010 22:40:06 -0700 Subject: lock screen / unlock screen causes livecode to crash? In-Reply-To: References: Message-ID: Further investigation suggest that import snapShot from rect (the rect of fld tTemp) of fld tTemp inside the lock screen is the actual line of code that is causing livecode to crash? Is there a work around? Is there a way I can have the snapshot done outside the viewing area of the stack? thanks, glen On Thu, Dec 9, 2010 at 10:30 PM, Glen Bojsza wrote: > I have an application which works perfectly fine on OS X which is where I > do most of my livecode work. > > Having moved it to a Fedora Linux system the same application crashes. > > The following code is the culprit since I removed it from the major script > and tested it in a separate button. > > When I push the button with just this code in it livecode crashes. > > If I put an unlock screen in between the repeats (indicated but is > commented out) and then comment out the last unlock screen it works? But I > need the screen to be locked for both repeats. > > > local tTemp,tCounter > put "temp"&&the millisecs into tTemp > > lock screen > > create fld tTemp in grp nr1 > set the opaque of fld tTemp to false > set the showBorder of fld tTemp to false > set the bottom of fld tTemp to -30 > repeat with i= the number of imgs down to 1 > if the short name of img i begins with "c_lbl_" then delete img i > end repeat > > set the bottom of the templateImage to -50 > > repeat for each line theLine in tLabels > add 1 to tCounter > put theLine into fld tTemp > set the width of fld tTemp to the formattedwidth of fld tTemp > set the height of fld tTemp to the formattedheight of fld tTemp > import snapShot from rect (the rect of fld tTemp) of fld tTemp > set the name of the last img to ("c_lbl_"&tCounter) > set the angle of img ("c_lbl_"&tCounter) to 90 > end repeat > > unlock screen > > Any ideas? > > thanks, > > Glen > From mwieder at ahsoftware.net Fri Dec 10 01:18:50 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 9 Dec 2010 22:18:50 -0800 Subject: lock screen / unlock screen causes livecode to crash? In-Reply-To: References: Message-ID: <821824630234.20101209221850@ahsoftware.net> Glen- rev version? I had crashing problems on Fedora Core 13 that were resolved by 4.5.1. -- -Mark Wieder mwieder at ahsoftware.net From gbojsza at gmail.com Fri Dec 10 01:30:09 2010 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 9 Dec 2010 23:30:09 -0700 Subject: lock screen / unlock screen causes livecode to crash? In-Reply-To: <821824630234.20101209221850@ahsoftware.net> References: <821824630234.20101209221850@ahsoftware.net> Message-ID: It was rev version 4.5.1 dp3 But you were right... I am now using 4.5.2 rc 1 and the crashing has stopped. thanks for that! But now there is another problem with 4.5.2 rc1 that wasn't a problem in 4.5.1. I have several option buttons which after you make your selection does not show in the button until you click somewhere else... ie I click just outside the button and the choice is then shown. Hopefully there is a solution for this?? Glen On Thu, Dec 9, 2010 at 11:18 PM, Mark Wieder wrote: > Glen- > > rev version? I had crashing problems on Fedora Core 13 that were > resolved by 4.5.1. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Fri Dec 10 01:40:33 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 9 Dec 2010 22:40:33 -0800 Subject: lock screen / unlock screen causes livecode to crash? In-Reply-To: References: <821824630234.20101209221850@ahsoftware.net> Message-ID: <1051825933687.20101209224033@ahsoftware.net> Glen- Thursday, December 9, 2010, 10:30:09 PM, you wrote: > But now there is another problem with 4.5.2 rc1 that wasn't a problem in > 4.5.1. I have several option buttons which after you make your selection > does not show in the button until you click somewhere else... ie I click > just outside the button and the choice is then shown. I don't have my FC system here, but I'll check it out tomorrow when I get to work. -- -Mark Wieder mwieder at ahsoftware.net From gbojsza at gmail.com Fri Dec 10 01:42:31 2010 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 9 Dec 2010 23:42:31 -0700 Subject: lock screen / unlock screen causes livecode to crash? In-Reply-To: <1051825933687.20101209224033@ahsoftware.net> References: <821824630234.20101209221850@ahsoftware.net> <1051825933687.20101209224033@ahsoftware.net> Message-ID: Thanks. On Thu, Dec 9, 2010 at 11:40 PM, Mark Wieder wrote: > Glen- > > Thursday, December 9, 2010, 10:30:09 PM, you wrote: > > > But now there is another problem with 4.5.2 rc1 that wasn't a problem in > > 4.5.1. I have several option buttons which after you make your selection > > does not show in the button until you click somewhere else... ie I click > > just outside the button and the choice is then shown. > > I don't have my FC system here, but I'll check it out tomorrow when I > get to work. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From liste.revo at medard.on-rev.com Fri Dec 10 01:44:46 2010 From: liste.revo at medard.on-rev.com (Medard) Date: Fri, 10 Dec 2010 07:44:46 +0100 Subject: On-Rev desktop client refuses to connect! In-Reply-To: Message-ID: <1jt9whn.rt9ugrlvstkwM%liste.revo@medard.on-rev.com> Bob Sneidar wrote: > I have not heard of this. Is this something different from the web page > you log into, or is it simply another way to manage it? ? I know only two ways to access one's website at On-Rev: - the desktop client, for the Mac it's here: http://www.on-rev.com/templates/onrev/files/onrevosx.dmg - and the remote volume: user.on-rev.com Secure WebDisk besides that, there is a control panel to manage your internet server count, named cPanel; the the sake of it, I access normally cPanel (and I am still forbidden from the desktop client) I forgot, with a ftp client, such as the one included in TextWrangler, you can upload files onto the server [c'est la roue de secours ;-)] CyberDuck does the work, also! It's only the desktop client that refuses my connection ;-< From chipp at chipp.com Fri Dec 10 01:50:17 2010 From: chipp at chipp.com (Chipp Walters) Date: Fri, 10 Dec 2010 00:50:17 -0600 Subject: iOS Apps Update Model - Trigger In-Reply-To: References: <4D014CB8.1000907@hindu.org> Message-ID: Yes, there are a number of ways I can imagne 'sneaking one by,' but if you're caught, you probably lose your developer license. All you need to do is have you friend give you the serial id of his iPad/iPhone and you can provision an app for him and send it to him. Then he installs in using iTunes. On Thu, Dec 9, 2010 at 9:55 PM, Sannyasin Sivakatirswami wrote: > "Way cool" Chipp (and Andre)! We could use this here for sure... > > Otherwise, for the app store, everytime you want to add a new module to > your > application you have to push a new version. > > Musings: But, how does iOS filter downloads to even know that it is code? > In > theory I can download a text file and save it to one of the sandbox folders > for my app. ( I hope!) I wonder if you could just load up a bunch of > scripts > into a text file, then download and save the text file and then populate a > template stack with your script by parsing the text file. It if were a > smart > XML file it might even know what kind of objects the nodes should be come. > A > hack for downloading "substacks"... or perhaps iOS looks for flags like > if-then statements or other obvious code structures, even in text files.... > > OT: how do you provision a device that is "remote" i.e. what if i want > someone to beta test an app and he lives in New Jersey... can I provision > his device from Hawaii by sending him some kind of key... i.e our > "enterprise" comprises individuals all over the world. > > > > On Thu, Dec 9, 2010 at 1:17 PM, Chipp Walters wrote: > > > Sivakatirswami, > > > > Yes, I believe that is the case for commercial development. > > > > FWIW, I am working on an iOS 'StackRunner" which works on iPhone and > iPad. > > With it, you can provision your enterprise customers, and then they can > > download stacks directly to their device by entering in a stack URL. When > > complete, it will show an icon for every stack you've downloaded, along > > with > > a file browser to update or delete the stacks and their contents. > > > > I've currently got it downloading stacks to both iPad and iPhone. I'm > > planning on making this part of the presentation Andre and I will be > giving > > at the LiveCode conference later next year. > > > > HTH, > > > > Chipp > > > > On Thu, Dec 9, 2010 at 3:40 PM, Sivakatirswami wrote: > > > > > Can anyone share the update requirements for iOS Apps? > > > > > > Do we simply change that in our standalone settings push a new version > > and > > > then the App store alerts all users? > > > > > > anything else we need to know? > > > > > > Sivakatirswami > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > -- > > Chipp Walters > > CEO, Shafer Walters Group, Inc. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Chipp Walters CEO, Shafer Walters Group, Inc. From gbojsza at gmail.com Fri Dec 10 02:00:34 2010 From: gbojsza at gmail.com (Glen Bojsza) Date: Fri, 10 Dec 2010 00:00:34 -0700 Subject: lock screen / unlock screen causes livecode to crash? In-Reply-To: References: <821824630234.20101209221850@ahsoftware.net> <1051825933687.20101209224033@ahsoftware.net> Message-ID: I discovered that I need to delete all my option buttons that were made while on OS X with new ones from 4.5.2 under Linux. Also, further testing is showing that lock screen / unlock screen under 4.5.2 rc1 on linux isn't doing anything so I now have a big problem! Glen On Thu, Dec 9, 2010 at 11:42 PM, Glen Bojsza wrote: > Thanks. > > > On Thu, Dec 9, 2010 at 11:40 PM, Mark Wieder wrote: > >> Glen- >> >> Thursday, December 9, 2010, 10:30:09 PM, you wrote: >> >> > But now there is another problem with 4.5.2 rc1 that wasn't a problem in >> > 4.5.1. I have several option buttons which after you make your selection >> > does not show in the button until you click somewhere else... ie I click >> > just outside the button and the choice is then shown. >> >> I don't have my FC system here, but I'll check it out tomorrow when I >> get to work. >> >> -- >> -Mark Wieder >> mwieder at ahsoftware.net >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From keith.clarke at clarkeandclarke.co.uk Fri Dec 10 05:23:32 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 10 Dec 2010 10:23:32 +0000 Subject: RevServer set-up on OSX Server Message-ID: <66F78E6F-6463-49C5-B2A7-0CE0CA31B297@clarkeandclarke.co.uk> Hi Folks, Is there any guidance around concering how-to get OSX Server with revServer configured? Thanks, Keith.. From bvg at mac.com Fri Dec 10 05:43:28 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 10 Dec 2010 11:43:28 +0100 Subject: lock screen / unlock screen causes livecode to crash? In-Reply-To: References: <821824630234.20101209221850@ahsoftware.net> <1051825933687.20101209224033@ahsoftware.net> Message-ID: Do you have per-chance lockMessages set to true? Shooting into the dark... On 10 Dec 2010, at 08:00, Glen Bojsza wrote: > I discovered that I need to delete all my option buttons that were made > while on OS X with new ones from 4.5.2 under Linux. > > Also, further testing is showing that lock screen / unlock screen under > 4.5.2 rc1 on linux isn't doing anything so I now have a big problem! > > Glen -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From andre at andregarzia.com Fri Dec 10 07:10:57 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 10 Dec 2010 10:10:57 -0200 Subject: RevServer set-up on OSX Server In-Reply-To: <66F78E6F-6463-49C5-B2A7-0CE0CA31B297@clarkeandclarke.co.uk> References: <66F78E6F-6463-49C5-B2A7-0CE0CA31B297@clarkeandclarke.co.uk> Message-ID: Keith, Let us do the second round!!! :-D First is this something that will be accessed from outside or is just for local development? Setup is basically the same, just put the revserver distribution inside /Library/WebServer/CGI-Executables then fix your .htaccess on the web documents folder next to CGI-Executables and put those silly add handlers there, also don't forget the ExecCGI options. :D On Fri, Dec 10, 2010 at 8:23 AM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > Hi Folks, > Is there any guidance around concering how-to get OSX Server with revServer > configured? > Thanks, > Keith.. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From harald at etcpp.de Fri Dec 10 07:37:25 2010 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Fri, 10 Dec 2010 13:37:25 +0100 Subject: POST (mulitpart/form-data) In-Reply-To: References: <1291041824113-3063680.post@n4.nabble.com> <1291049853005-3063930.post@n4.nabble.com> <0C487C16-3299-4DED-A842-9179057A9173@etcpp.de> <1AD08B95-0AEA-4916-948F-A3FDC5720E70@etcpp.de> <29BC0CD7-E700-4FB3-8790-184C026990BE@etcpp.de> Message-ID: Hi all, I'm trying to build a mulitpart/form-data post, but it doesn't work. I don't want to use libUrlMultipartFormData because I don't think it would work on the iPhone. Any idea? My test-script: on mouseUp answer file "Testfile:" of type "PNG" Put url ("binfile:/" & it) into myFile put makeMultipart(myFile) into myFile post myFile to URL "http://www.server.com/upload.php" answer it end mouseUp function makeMultipart myFile -- build header put "POST /upload.php HTTP/1.0" & return into myHeader put "Host: www.server.com" & return after myHeader put "Date: " & the internet date & return after myHeader put "Content-Type: multipart/form-data; boundary=uploadToHost" & return after myHeader put "Content-Length: " & (the number of chars of myFile) & return after myHeader put return after myHeader set the httpHeaders to myHeader -- build data put "--uploadToHost" & return into myContainer put "Content-Disposition: form-data; name=" & quote & "test.png" & quote & return after myContainer put "Content-Type: image/png" & return after myContainer put "Content-transfer-encoding: binary" & return after myContainer put return after myContainer put myFile & return after myContainer put "--uploadToHost--" & return after myContainer return myContainer end makeMultipart Best regards, Harald M?ller. From bvg at mac.com Fri Dec 10 08:11:47 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 10 Dec 2010 14:11:47 +0100 Subject: Live LiveCode Code Event #3 In-Reply-To: References: Message-ID: <17192FB2-D734-487D-96E4-30B5D0362BE1@mac.com> Oh man, I so wanted to see the GLX tour, and i've never even seen Judy teach yet... On 10 Dec 2010, at 02:13, Mark Schonewille wrote: > Dear LiveCoders, > > This Saturday, 11 December 2010 at 19:00h GMT (Sat. 22:00 in Moscow, Sat. 20:00 in Paris, Sat. 14:00 in New York, Sat. 11:00 in Los Angeles, Sun. 04:00 in Tokyo, Sun. 3:00 in Beijing), the 3rd edition of the Live LiveCode Event will go live. As Bjoernke will be travelling, I'm taking up the challenge of organising the event this time. > > Provided that we solve all technical issues and manage to communicate with each other despite the time zones, we will have two presentations for you. > > Mark Wieder will talk about GLX, which is now open source. Mark will show GLX and show how you can help coding this project yourself. Download GLX at https://bitbucket.org/mwieder/glx2/downloads before the conference starts. > > Judy Perry will give an overview of ways in which LiveCode can be successfully used in the field of education. > > Direct links to the video presentations will be available at http://livecode.tv shortly before the event starts. Videos and materials will be available afterwards. > > During the event, there will be discussions about LiveCode and an opportunity to ask questions to the speakers on ChatRev. If you log in on ChatRev during the event, you will be able to buy the Installer Maker Plugin for LiveCode at a 25% discount. You can find ChatRev at http://bjoernke.com/chatrev . > > This weekend, David Bovill is participating in a coding competition. David runs the LiveCode.tv website and invites you to watch him coding. More information about the competition is available in his announcement and at http://www.livecode.tv/mobile-weekend/ . official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From klaus at major.on-rev.com Fri Dec 10 08:16:40 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 10 Dec 2010 14:16:40 +0100 Subject: iOS Apps Update Model - Trigger In-Reply-To: References: <4D014CB8.1000907@hindu.org> <0C311042-9A2C-40FC-AB43-BB59421EF4CD@major.on-rev.com> Message-ID: <551CCA9C-324E-4519-8407-E914C124E3E5@major.on-rev.com> Hi Chipp, > Yes, of course it is. I'm only talking about using it for enterprise > customers, who I can independently provision. Ah, I see. > Just to be clear, THIS SHOULD NOT BE DONE FOR A COMMERCIAL APP! EVER! :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From m.schonewille at economy-x-talk.com Fri Dec 10 08:27:04 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 10 Dec 2010 14:27:04 +0100 Subject: Live LiveCode Code Event #3 In-Reply-To: <17192FB2-D734-487D-96E4-30B5D0362BE1@mac.com> References: <17192FB2-D734-487D-96E4-30B5D0362BE1@mac.com> Message-ID: Hi Bj?rnke, With a little luck --if we don't forget to press the record button-- you can see the videos afterwards! -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 How to receive a free Color Converter license http://qurl.tk/kv (read the conditions) On 10 dec 2010, at 14:11, Bj?rnke von Gierke wrote: > Oh man, I so wanted to see the GLX tour, and i've never even seen Judy teach yet... > > > On 10 Dec 2010, at 02:13, Mark Schonewille wrote: > >> Dear LiveCoders, >> >> This Saturday, 11 December 2010 at 19:00h GMT (Sat. 22:00 in Moscow, Sat. 20:00 in Paris, Sat. 14:00 in New York, Sat. 11:00 in Los Angeles, Sun. 04:00 in Tokyo, Sun. 3:00 in Beijing), the 3rd edition of the Live LiveCode Event will go live. As Bjoernke will be travelling, I'm taking up the challenge of organising the event this time. >> >> Provided that we solve all technical issues and manage to communicate with each other despite the time zones, we will have two presentations for you. >> >> Mark Wieder will talk about GLX, which is now open source. Mark will show GLX and show how you can help coding this project yourself. Download GLX at https://bitbucket.org/mwieder/glx2/downloads before the conference starts. >> >> Judy Perry will give an overview of ways in which LiveCode can be successfully used in the field of education. >> >> Direct links to the video presentations will be available at http://livecode.tv shortly before the event starts. Videos and materials will be available afterwards. >> >> During the event, there will be discussions about LiveCode and an opportunity to ask questions to the speakers on ChatRev. If you log in on ChatRev during the event, you will be able to buy the Installer Maker Plugin for LiveCode at a 25% discount. You can find ChatRev at http://bjoernke.com/chatrev . >> >> This weekend, David Bovill is participating in a coding competition. David runs the LiveCode.tv website and invites you to watch him coding. More information about the competition is available in his announcement and at http://www.livecode.tv/mobile-weekend/ . > > > official ChatRev page: > http://bjoernke.com?target=chatrev > > Chat with other RunRev developers: > go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" > From simon at asato-media.com Fri Dec 10 10:33:59 2010 From: simon at asato-media.com (As_Simon) Date: Fri, 10 Dec 2010 07:33:59 -0800 (PST) Subject: Opening documents with Quick Look on iPad? Message-ID: <1291995239783-3082167.post@n4.nabble.com> Has anyone figured out how to open, say a pdf, using iPads Quick Look? I mean via LC. This would be great because Quick Look handles many types of files. Thanks, Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Opening-documents-with-Quick-Look-on-iPad-tp3082167p3082167.html Sent from the Revolution - User mailing list archive at Nabble.com. From runrev260805 at m-r-d.de Fri Dec 10 11:03:09 2010 From: runrev260805 at m-r-d.de (Matthias Rebbe) Date: Fri, 10 Dec 2010 17:03:09 +0100 Subject: On-Rev desktop client refuses to connect! In-Reply-To: <1jt94bl.rj8p63l2ilk6M%liste.revo@medard.on-rev.com> References: <1jt94bl.rj8p63l2ilk6M%liste.revo@medard.on-rev.com> Message-ID: <06E65D17-2CF1-4BB1-8A0F-305AB9AC1F54@m-r-d.de> Hi Medard, if your are on loki server, you should try again. I reported the problem for loki to support and they fixed it. If you are not on the loki server, then just report it to support and they will fixit also. Regards, Matthias Am 09.12.2010 um 21:21 schrieb Medard: > As for this evening (GMT+1) On-Rev desktop client refuses to connect, > with this message: > > Could not connect to server. ensure your username and password are > correct. > > Apparently, I didn't change anything recently... > A few days ago, I connected myself with no hassle! > > Is there a recent change? > > I downloaded a fresh copy, but it seems that it is exactly the same > version as the one I have on my desktop... > 0.1.4 8th of June, 2009 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Fri Dec 10 11:24:30 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Fri, 10 Dec 2010 11:24:30 -0500 Subject: Opening documents with Quick Look on iPad? In-Reply-To: <1291995239783-3082167.post@n4.nabble.com> References: <1291995239783-3082167.post@n4.nabble.com> Message-ID: Here's what I use on the desktop. Don't know squat about how this could be massaged for iPad. --------- on mouseUp tBtn answer file "Please choose a file to look at ..." if it is empty then exit mouseUp put it into theFile put empty into allowDrag quickLook theFile end mouseUp on quickLook theFile put apostrophe (theFile) into theFile -- put "qlmanage -t " & "-s 900 " & theFile into tcmd -- apparently sets it to max orig size, white window -- put "qlmanage -t " & "-f 5 " & theFile into tcmd ---- apparently sets it to max orig size, white window put "qlmanage -p " & theFile into tcmd -- shows it in a black window get shell(tCmd) if the result is not empty then beep end quickLook function apostrophe str return "'" & str & "'" end apostrophe ------------ -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Dec 10, 2010, at 10:33 AM, As_Simon wrote: > > Has anyone figured out how to open, say a pdf, using iPads Quick > Look? I > mean via LC. > This would be great because Quick Look handles many types of files. > > Thanks, > Simon > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Opening-documents-with-Quick-Look-on-iPad-tp3082167p3082167.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jaguayo at telur.es Fri Dec 10 11:26:12 2010 From: jaguayo at telur.es (Joseba Aguayo) Date: Fri, 10 Dec 2010 17:26:12 +0100 Subject: FTP problems In-Reply-To: References: Message-ID: Hello: Why this sentence not run : put URL "ftp://ftpdatos.aemet.es/series_climatologicas/valores_diarios/estacion/LEEME_DATOS.txt" into msg Un saludo. Joseba Aguayo Fern?ndez (jaguayo at telur.es) From simon at asato-media.com Fri Dec 10 12:08:59 2010 From: simon at asato-media.com (As_Simon) Date: Fri, 10 Dec 2010 09:08:59 -0800 (PST) Subject: Opening documents with Quick Look on iPad? In-Reply-To: References: <1291995239783-3082167.post@n4.nabble.com> Message-ID: <1292000939872-3082337.post@n4.nabble.com> Hi Peter, Thanks, very close as it works in the simulator but not on the actual device. it just crashes the whole app. Not sure if it's the get Shell() command that does it. Thanks, Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Opening-documents-with-Quick-Look-on-iPad-tp3082167p3082337.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Fri Dec 10 12:21:56 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 10 Dec 2010 09:21:56 -0800 Subject: The Old List Address Message-ID: Not that anyone really would care much, but from now on if I get an email addressed to the old list, I am just going to delete it without reading it. It reminds me of people who leave their coffee cups in the sink at work, right under the sign that says, "Please do not leave your coffee cups in the sink! Thank you!" Bob From bobs at twft.com Fri Dec 10 12:27:09 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 10 Dec 2010 09:27:09 -0800 Subject: Live LiveCode Code Event #3 In-Reply-To: References: Message-ID: Looking at the subject line, I thought I was seeing double! LOL! If someone replies to the reply, will it say Re: Re: Live Live Code Code Event? heh heh Bob On Dec 9, 2010, at 5:13 PM, Mark Schonewille wrote: > Dear LiveCoders, > From liste.revo at medard.on-rev.com Fri Dec 10 12:41:51 2010 From: liste.revo at medard.on-rev.com (Medard) Date: Fri, 10 Dec 2010 18:41:51 +0100 Subject: On-Rev desktop client refuses to connect! In-Reply-To: <06E65D17-2CF1-4BB1-8A0F-305AB9AC1F54@m-r-d.de> Message-ID: <1jtaq6j.qa4v9vtahawmM%liste.revo@medard.on-rev.com> Matthias Rebbe wrote: > if your are on loki server, you should try again. I reported the problem > for loki to support and they fixed it. Good news :-) I posted a message to bugs at on-rev.com, as stated in the docs. From bobs at twft.com Fri Dec 10 12:42:56 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 10 Dec 2010 09:42:56 -0800 Subject: FTP problems In-Reply-To: References: Message-ID: <3F081948-12DE-4397-93B0-4288EBAEF553@twft.com> I have no idea. When I put the URL into a web page it works, but no form of put or get I tried returns anything. Bob On Dec 10, 2010, at 8:26 AM, Joseba Aguayo wrote: > Hello: > > Why this sentence not run : > > put URL "ftp://ftpdatos.aemet.es/series_climatologicas/valores_diarios/estacion/LEEME_DATOS.txt" into msg > > Un saludo. > > Joseba Aguayo Fern?ndez > (jaguayo at telur.es) > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Fri Dec 10 13:07:25 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 10 Dec 2010 11:07:25 -0700 Subject: FTP problems In-Reply-To: <3F081948-12DE-4397-93B0-4288EBAEF553@twft.com> References: <3F081948-12DE-4397-93B0-4288EBAEF553@twft.com> Message-ID: Strangely, gives a 'command not found' in the result. Definitely weird. On Fri, Dec 10, 2010 at 10:42 AM, Bob Sneidar wrote: > I have no idea. When I put the URL into a web page it works, but no form of > put or get I tried returns anything. > > Bob > > > On Dec 10, 2010, at 8:26 AM, Joseba Aguayo wrote: > > > Hello: > > > > Why this sentence not run : > > > > put URL " > ftp://ftpdatos.aemet.es/series_climatologicas/valores_diarios/estacion/LEEME_DATOS.txt" > into msg > > > > Un saludo. > > > > Joseba Aguayo Fern?ndez > > (jaguayo at telur.es) > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Fri Dec 10 13:15:15 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Dec 2010 12:15:15 -0600 Subject: FTP problems In-Reply-To: References: Message-ID: <4D026E33.6080309@hyperactivesw.com> On 12/10/10 10:26 AM, Joseba Aguayo wrote: > Hello: > > Why this sentence not run : > > put URL "ftp://ftpdatos.aemet.es/series_climatologicas/valores_diarios/estacion/LEEME_DATOS.txt" into msg Often you need to supply a user name and password for ftp access. I tried this: get "ftp://ftpdatos.aemet.es/series_climatologicas/valores_diarios/estacion/LEEME_DATOS.txt" put url it And the result was: error 500 Unknown command. I'm not sure why, but your server isn't accepting the URL. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Fri Dec 10 13:20:36 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 10 Dec 2010 10:20:36 -0800 Subject: FTP problems In-Reply-To: <4D026E33.6080309@hyperactivesw.com> References: <4D026E33.6080309@hyperactivesw.com> Message-ID: <84C85D2F-E6DF-45F3-8A75-84E718ECDDD5@twft.com> But oddly, if you just enter the URL into a web browser you get the contents of the file without any authentication. Bob On Dec 10, 2010, at 10:15 AM, J. Landman Gay wrote: > On 12/10/10 10:26 AM, Joseba Aguayo wrote: >> Hello: >> >> Why this sentence not run : >> >> put URL "ftp://ftpdatos.aemet.es/series_climatologicas/valores_diarios/estacion/LEEME_DATOS.txt" into msg > > Often you need to supply a user name and password for ftp access. > > I tried this: > > get "ftp://ftpdatos.aemet.es/series_climatologicas/valores_diarios/estacion/LEEME_DATOS.txt" > put url it > > And the result was: error 500 Unknown command. > > I'm not sure why, but your server isn't accepting the URL. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Fri Dec 10 13:23:14 2010 From: coiin at verizon.net (Colin Holgate) Date: Fri, 10 Dec 2010 13:23:14 -0500 Subject: FTP problems In-Reply-To: <4D026E33.6080309@hyperactivesw.com> References: <4D026E33.6080309@hyperactivesw.com> Message-ID: On Dec 10, 2010, at 1:15 PM, J. Landman Gay wrote: > > I'm not sure why, but your server isn't accepting the URL. But it does work in a browser. What could cause it to work ok in a browser, but not from the message box? From iowahengst at mac.com Fri Dec 10 13:30:21 2010 From: iowahengst at mac.com (Randy Hengst) Date: Fri, 10 Dec 2010 12:30:21 -0600 Subject: iOS Orientation Problem Message-ID: <84B58D5F-90A1-4997-A3B8-287496CCCD39@mac.com> Hi All, I'm working with the 4.5.2 livecode and iOS -- the new integrated version. I'm having trouble setting the screen orientation. I want the orientation to be landscape right without any change as the device is rotated. I've set the user interface options to: ---Supported Interface Orientations... Landscape right is the only one checked. ---Initial orientation is set to Landscape right. Those settings don't keep the orientation from changing when I rotate a real device. Those settings don't display my splash screen in landscape mode... I've also tried placing iphoneLockOrientation in the preopenstack handler... When including that statement the result depends on the orientation of the real device when I open the app. --- If I open the app while holding the iPod Touch in landscape right orientation, the app is first displayed in landscape right, and won't rotate when I rotate the iPod. --- However, when I open the app while holding the touch in portrait, the app is shown in landscape right and then immediately rotates to portrait... and won't rotate again. The addition of the iphoneLockOrientation in the script does not fix the orientation of the splash screen... it is always shown in portrait... so my landscape splash screen is squished and stretched to fit in portrait mode... a portrait version of the splash displays in portrait without squishing and stretching. I did not have these problems using the alpha plugin and have several apps running on iPods and iPhone 3GS that were made with that plugin. When using the plugin I set the initial orientation to portrait to display the splash screen and then in the preopenstack handler included iphoneRotateInterface .... which no longer supported. The app then rotates as soon as the splash screen disappears. Thoughts? take care, randy hengst From wdurden at gmail.com Fri Dec 10 13:40:52 2010 From: wdurden at gmail.com (wayne durden) Date: Fri, 10 Dec 2010 13:40:52 -0500 Subject: FTP problems In-Reply-To: References: <4D026E33.6080309@hyperactivesw.com> Message-ID: I wonder if perhaps the first three characters of the url also being "ftp" may be involved. For instance, if there is logic in the engine which for some reason might first strip the original ftp off the url to establish the protocol, but then is recursively called or otherwise checking the remainder in a way such that the initial three letters trigger a belief that it signifies a protocol instead of just being part of the URL you could get a problem that might throw up an illegal command...? This is way way out there as a theory but might could be isolated if the file is placed at another ftp location without the ftp as the initial three letters of the URL. Just throwing out an idea.... Wayne On Fri, Dec 10, 2010 at 1:23 PM, Colin Holgate wrote: > > On Dec 10, 2010, at 1:15 PM, J. Landman Gay wrote: > > > > > I'm not sure why, but your server isn't accepting the URL. > > > But it does work in a browser. What could cause it to work ok in a browser, > but not from the message box? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobs at twft.com Fri Dec 10 13:43:37 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 10 Dec 2010 10:43:37 -0800 Subject: FTP problems In-Reply-To: References: <4D026E33.6080309@hyperactivesw.com> Message-ID: Well now wait just a doggone minute here! The only reason FTP works with browsers is because the browser is written to do so. We have no guarantee that the GET/PUT URL command in Livecode is written to do so! I suspect if there was a web interface to the FTP server, it would work a peach! Bob On Dec 10, 2010, at 10:23 AM, Colin Holgate wrote: > > On Dec 10, 2010, at 1:15 PM, J. Landman Gay wrote: > >> >> I'm not sure why, but your server isn't accepting the URL. > > > But it does work in a browser. What could cause it to work ok in a browser, but not from the message box? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Fri Dec 10 13:45:18 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 10 Dec 2010 10:45:18 -0800 Subject: FTP problems In-Reply-To: References: <4D026E33.6080309@hyperactivesw.com> Message-ID: <59DBF227-3727-44AB-81B7-23C85E2C5824@twft.com> The reason I think that this is not the case, is because the result of the command returns an error 500 Unknown command which is an FTP response, not an HTTP one. Bob On Dec 10, 2010, at 10:40 AM, wayne durden wrote: > I wonder if perhaps the first three characters of the url also being "ftp" > may be involved. For instance, if there is logic in the engine which for > some reason might first strip the original ftp off the url to establish the > protocol, but then is recursively called or otherwise checking the remainder > in a way such that the initial three letters trigger a belief that it > signifies a protocol instead of just being part of the URL you could get a > problem that might throw up an illegal command...? > > This is way way out there as a theory but might could be isolated if the > file is placed at another ftp location without the ftp as the initial three > letters of the URL. > > Just throwing out an idea.... > > Wayne > > On Fri, Dec 10, 2010 at 1:23 PM, Colin Holgate wrote: > >> >> On Dec 10, 2010, at 1:15 PM, J. Landman Gay wrote: >> >>> >>> I'm not sure why, but your server isn't accepting the URL. >> >> >> But it does work in a browser. What could cause it to work ok in a browser, >> but not from the message box? >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From francois.chaplais at mines-paristech.fr Fri Dec 10 13:49:21 2010 From: francois.chaplais at mines-paristech.fr (=?utf-8?Q?Fran=C3=A7ois_Chaplais?=) Date: Fri, 10 Dec 2010 19:49:21 +0100 Subject: Opening documents with Quick Look on iPad? In-Reply-To: <1291995239783-3082167.post@n4.nabble.com> References: <1291995239783-3082167.post@n4.nabble.com> Message-ID: <5B28BE03-89F2-4856-957D-F53FAC794C9D@mines-paristech.fr> As I have no DSL connexion currently, I use my 3G ipad for internet connexions. I highly recommend GoodReader for iPad. It is a must have. As far as your problem is concerned, I would suggest tranferring your documents to GoodReader, much like what you can do in the mail app. Best Fran?ois. Envoy? de mon iPhone Le 10 d?c. 2010 ? 16:33, As_Simon a ?crit : > > Has anyone figured out how to open, say a pdf, using iPads Quick Look? I > mean via LC. > This would be great because Quick Look handles many types of files. > > Thanks, > Simon > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Opening-documents-with-Quick-Look-on-iPad-tp3082167p3082167.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Fri Dec 10 13:53:46 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 10 Dec 2010 16:53:46 -0200 Subject: FTP problems In-Reply-To: <59DBF227-3727-44AB-81B7-23C85E2C5824@twft.com> References: <4D026E33.6080309@hyperactivesw.com> <59DBF227-3727-44AB-81B7-23C85E2C5824@twft.com> Message-ID: Folks, The FTP server is not recognizing the PASS command for sending password. After USER anonymous command it logs you in without waiting for a PASS command. It answers the PASS with 500 and thus Rev engine stops processing. if you want to have some fun with this: go stack url "http://dl.dropbox.com/u/1340110/netlab.rev" cheers andre On Fri, Dec 10, 2010 at 4:45 PM, Bob Sneidar wrote: > The reason I think that this is not the case, is because the result of the > command returns an error 500 Unknown command which is an FTP response, not > an HTTP one. > > Bob > > > On Dec 10, 2010, at 10:40 AM, wayne durden wrote: > > > I wonder if perhaps the first three characters of the url also being > "ftp" > > may be involved. For instance, if there is logic in the engine which > for > > some reason might first strip the original ftp off the url to establish > the > > protocol, but then is recursively called or otherwise checking the > remainder > > in a way such that the initial three letters trigger a belief that it > > signifies a protocol instead of just being part of the URL you could get > a > > problem that might throw up an illegal command...? > > > > This is way way out there as a theory but might could be isolated if the > > file is placed at another ftp location without the ftp as the initial > three > > letters of the URL. > > > > Just throwing out an idea.... > > > > Wayne > > > > On Fri, Dec 10, 2010 at 1:23 PM, Colin Holgate > wrote: > > > >> > >> On Dec 10, 2010, at 1:15 PM, J. Landman Gay wrote: > >> > >>> > >>> I'm not sure why, but your server isn't accepting the URL. > >> > >> > >> But it does work in a browser. What could cause it to work ok in a > browser, > >> but not from the message box? > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From benr_mc at cogapp.com Fri Dec 10 13:54:01 2010 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 10 Dec 2010 18:54:01 +0000 Subject: FTP problems In-Reply-To: References: <4D026E33.6080309@hyperactivesw.com> Message-ID: <4D027749.5000306@cogapp.com> On 10/12/2010 18:43, Bob Sneidar wrote: > Well now wait just a doggone minute here! The only reason FTP works with browsers is because the browser is written to do so. We have no guarantee that the GET/PUT URL command in Livecode is written to do so! Except the documentation. From andre at andregarzia.com Fri Dec 10 14:02:40 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 10 Dec 2010 17:02:40 -0200 Subject: FTP problems In-Reply-To: References: <4D026E33.6080309@hyperactivesw.com> Message-ID: Folks, There is nothing magical about browsers opening FTP servers. Just like we can put URL, so can browsers. The trick is knowing which protocol to use. If you access a URL with ftp://... then you will be doing FTP if you access the same server using http://... then you will be looking for a web interface. Some FTP servers will listen at the FTP port and will also listen on Web ports and present a Web interface. Some browsers will be able to negotiate data with an FTP server and present it to you as if the server had a Web interface when it does not (chrome does this). When doing URL stuff in LiveCode it is always helpful to set a log field during the development phase. Use: libURLSetLogField Then you will be able to see everything that goes behind the scenes of libURL. On the current thread of the given FTP URL being inaccessible from LiveCode it is due to the server rejecting the PASS command... andre From andre at andregarzia.com Fri Dec 10 14:35:08 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 10 Dec 2010 17:35:08 -0200 Subject: Opening documents with Quick Look on iPad? In-Reply-To: <1291995239783-3082167.post@n4.nabble.com> References: <1291995239783-3082167.post@n4.nabble.com> Message-ID: never tried but try launch url with the path to the pdf and see where it goes... On Fri, Dec 10, 2010 at 1:33 PM, As_Simon wrote: > > Has anyone figured out how to open, say a pdf, using iPads Quick Look? I > mean via LC. > This would be great because Quick Look handles many types of files. > > Thanks, > Simon > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Opening-documents-with-Quick-Look-on-iPad-tp3082167p3082167.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From toddgeist at gmail.com Fri Dec 10 15:24:58 2010 From: toddgeist at gmail.com (toddgeist) Date: Fri, 10 Dec 2010 12:24:58 -0800 (PST) Subject: Accessing HTTP Web Services with LiveCode Message-ID: <1292012698629-3082652.post@n4.nabble.com> Hello, I did a little search of the List Archive, and I can't find anything on the topic so I thought I would post the question. I am trying to understand if LiveCode could be used to access many of todays plain HTTP based or RESTful web services that are out there. I like using these services, but I am still not very efficient at building UIs in HTML /CSS /JavaScript and I am looking to LiveCode as an alternative to building front ends to HTTP based web services. I see lots of stuff on libURL, but I am not clear if libURL allows you to set headers, and do authentication etc. Can LiveCode be made to handle responses asynchronously? Its been a while since I have looked in depth at Rev/LiveCode and I am wondering if it might be time to take another look! Thanks Todd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Accessing-HTTP-Web-Services-with-LiveCode-tp3082652p3082652.html Sent from the Revolution - User mailing list archive at Nabble.com. From liste.revo at medard.on-rev.com Fri Dec 10 16:00:36 2010 From: liste.revo at medard.on-rev.com (Medard) Date: Fri, 10 Dec 2010 22:00:36 +0100 Subject: On-Rev desktop client refuses to connect! [Solved] In-Reply-To: <06E65D17-2CF1-4BB1-8A0F-305AB9AC1F54@m-r-d.de> Message-ID: <1jtb12p.1aehd74gnrkthM%liste.revo@medard.on-rev.com> Matthias Rebbe wrote: > if your are on loki server, you should try again. I reported the problem > for loki to support and they fixed it. Done. the support restored my connection :-) From davidocoker at gmail.com Fri Dec 10 16:06:37 2010 From: davidocoker at gmail.com (David C.) Date: Fri, 10 Dec 2010 15:06:37 -0600 Subject: Live LiveCode Code Event #3 In-Reply-To: References: Message-ID: > LOL! If someone replies to the reply, will it say Re: Re: Live Live Code Code Event? heh heh > > Bob Let me help you out with that and see what happens, Bob! ;-) Best regards, David C. From david at vaudevillecourt.tv Fri Dec 10 16:16:40 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 10 Dec 2010 21:16:40 +0000 Subject: iOS: how to play a video file from a url? Message-ID: Does anyone have an example script that works for playing a video from a url in iOS? The docs say: Basic support for playing videos has been added using a variant of the play > command. A video file > can be played by using: > play ( video-file | video-url ) > The video will be played fullscreen, and the command will not return until > it is complete, or the > user dismisses it. > But I get nothing when I issue: on mouseUp > play "http://blip.tv/file/get/Fortyfoxes-ScriptEditorToolsRough396.mov" > end mouseUp > or on mouseUp > play "http://blip.tv/file/get/Fortyfoxes-ScriptEditorToolsRough396.mov" > end mouseUp > even though setting the file name of a quicktime movie to " http://blip.tv/file/get/Fortyfoxes-ScriptEditorToolsRough396.mov" works fine? I'd like to test an example that definitely works.... From pepetoo at cox.net Fri Dec 10 17:01:26 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Fri, 10 Dec 2010 14:01:26 -0800 Subject: Dictionary has stopped working In-Reply-To: <1jtb12p.1aehd74gnrkthM%liste.revo@medard.on-rev.com> References: <1jtb12p.1aehd74gnrkthM%liste.revo@medard.on-rev.com> Message-ID: <4CB51951-0CA1-4597-8BE1-F8EBC4B6A020@cox.net> Has anyone ever had this happen to them? Everything is blank. I restarted LC and, finally, my MacPro, running Snow Leopard. The height of my substacks has been changing on me. Just started happening. Any chance I need to reinstall LC? Joe Lewis Wilkins From pete at mollysrevenge.com Fri Dec 10 17:26:59 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 10 Dec 2010 14:26:59 -0800 Subject: Dictionary has stopped working In-Reply-To: <4CB51951-0CA1-4597-8BE1-F8EBC4B6A020@cox.net> References: <1jtb12p.1aehd74gnrkthM%liste.revo@medard.on-rev.com> <4CB51951-0CA1-4597-8BE1-F8EBC4B6A020@cox.net> Message-ID: I have had problems with the Dictionary turning up blank but only in a pretty specific circumstance. It usually happens when I am in browse mode and I have debug break points set. If I stop exxecution of the code by clicking on the blue square in the debug toolbar, then go to the dictionary and try to select/click on an entry, the whole dictionary is blank. But if I switch back to edit mode,, the dictionary entries all come back again. Doesn;t sound like it matches your circumstances though. Pete Haworth On Dec 10, 2010, at 2:01 PM, Joe Lewis Wilkins wrote: > Has anyone ever had this happen to them? Everything is blank. I > restarted LC and, finally, my MacPro, running Snow Leopard. The > height of my substacks has been changing on me. Just started > happening. Any chance I need to reinstall LC? > > Joe Lewis Wilkins > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pepetoo at cox.net Fri Dec 10 17:37:59 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Fri, 10 Dec 2010 14:37:59 -0800 Subject: Dictionary has stopped working In-Reply-To: References: <1jtb12p.1aehd74gnrkthM%liste.revo@medard.on-rev.com> <4CB51951-0CA1-4597-8BE1-F8EBC4B6A020@cox.net> Message-ID: Thanks Peter. What is driving me crazy, though, is the changing of the stack height as I go from card to card. No rhyme or reason for that and JUST started happening. I've been working on this project for over two months now. At one point I did have the resizable check box set, but I've changed that now. (sigh!) I have started switching back and forth with the menus, making some in the Mac Menu bar and some on the cards. Maybe this is confusing LC and may be the source of my problem. Joe Wilkins On Dec 10, 2010, at 2:26 PM, Peter Haworth wrote: > I have had problems with the Dictionary turning up blank but only in a pretty specific circumstance. It usually happens when I am in browse mode and I have debug break points set. If I stop exxecution of the code by clicking on the blue square in the debug toolbar, then go to the dictionary and try to select/click on an entry, the whole dictionary is blank. But if I switch back to edit mode,, the dictionary entries all come back again. Doesn;t sound like it matches your circumstances though. > > Pete Haworth > > On Dec 10, 2010, at 2:01 PM, Joe Lewis Wilkins wrote: > >> Has anyone ever had this happen to them? Everything is blank. I restarted LC and, finally, my MacPro, running Snow Leopard. The height of my substacks has been changing on me. Just started happening. Any chance I need to reinstall LC? >> >> Joe Lewis Wilkins From pete at mollysrevenge.com Fri Dec 10 17:42:08 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 10 Dec 2010 14:42:08 -0800 Subject: glx2 Message-ID: I keep getting a strange message about scripts having been modified in another editor when using glx2 - I haven't used the standard IDE editor in the same session. IS this a known issue? I'm getting another problem if I disable the glx2 editor so I can go back into the IDE editor for example if I need to set a break point for testing. Some of the scripts I open in the IDE editor only show the first handler. If I quit LC and start again, all my handlers are there but that's kinda scary! Is there any documentation for glx2 anywhere? I already like some of the obvious features in it but I'm guessing there's other stuff I don;t know about. Pete Haworth -------------- next part -------------- http://www.mollysrevenge.com http://www.sonicbids.com/MollysRevenge http://www.myspace.com/mollysrevengeband From pete at mollysrevenge.com Fri Dec 10 17:45:43 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 10 Dec 2010 14:45:43 -0800 Subject: Dictionary has stopped working In-Reply-To: References: <1jtb12p.1aehd74gnrkthM%liste.revo@medard.on-rev.com> <4CB51951-0CA1-4597-8BE1-F8EBC4B6A020@cox.net> Message-ID: <7577CEF0-F2D7-4EBB-BAA1-A0ADFFBCD8FE@mollysrevenge.com> I did have some weird problems associated with menu bars a few months ago which were never resolved. I defined a set of menus for my main stack and set the option for them to be displayed in the Mac menu bar not the stack window. After that, every time I ran my application my main stack window increased in height by the number of pixels that would be used for the menu bar if it had been in the stack window. This was a cumulative effect so the main stack window just kept getting bigger and bigger. Was never able to solve why that happened even with help from folks in this list so I ended up setting the correct height of the stack window by script. Pete Haworth On Dec 10, 2010, at 2:37 PM, Joe Lewis Wilkins wrote: > Thanks Peter. What is driving me crazy, though, is the changing of > the stack height as I go from card to card. No rhyme or reason for > that and JUST started happening. I've been working on this project > for over two months now. At one point I did have the resizable check > box set, but I've changed that now. (sigh!) I have started switching > back and forth with the menus, making some in the Mac Menu bar and > some on the cards. Maybe this is confusing LC and may be the source > of my problem. > > Joe Wilkins > > On Dec 10, 2010, at 2:26 PM, Peter Haworth wrote: > >> I have had problems with the Dictionary turning up blank but only >> in a pretty specific circumstance. It usually happens when I am in >> browse mode and I have debug break points set. If I stop >> exxecution of the code by clicking on the blue square in the debug >> toolbar, then go to the dictionary and try to select/click on an >> entry, the whole dictionary is blank. But if I switch back to edit >> mode,, the dictionary entries all come back again. Doesn;t sound >> like it matches your circumstances though. >> >> Pete Haworth >> >> On Dec 10, 2010, at 2:01 PM, Joe Lewis Wilkins wrote: >> >>> Has anyone ever had this happen to them? Everything is blank. I >>> restarted LC and, finally, my MacPro, running Snow Leopard. The >>> height of my substacks has been changing on me. Just started >>> happening. Any chance I need to reinstall LC? >>> >>> Joe Lewis Wilkins > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pepetoo at cox.net Fri Dec 10 18:02:15 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Fri, 10 Dec 2010 15:02:15 -0800 Subject: Dictionary has stopped working In-Reply-To: <7577CEF0-F2D7-4EBB-BAA1-A0ADFFBCD8FE@mollysrevenge.com> References: <1jtb12p.1aehd74gnrkthM%liste.revo@medard.on-rev.com> <4CB51951-0CA1-4597-8BE1-F8EBC4B6A020@cox.net> <7577CEF0-F2D7-4EBB-BAA1-A0ADFFBCD8FE@mollysrevenge.com> Message-ID: <129889CC-7B38-42CA-8BA3-A186D5D85F48@cox.net> In my case the windows have been getting smaller. I'll probably end up doing the same thing, though that's how programs get bloated; not solving the real issues; just using "work-arounds"; real spaghetti code. It is reassuring to know that it's not just me. (smile) Joe Wilkins On Dec 10, 2010, at 2:45 PM, Peter Haworth wrote: > I did have some weird problems associated with menu bars a few months ago which were never resolved. I defined a set of menus for my main stack and set the option for them to be displayed in the Mac menu bar not the stack window. After that, every time I ran my application my main stack window increased in height by the number of pixels that would be used for the menu bar if it had been in the stack window. This was a cumulative effect so the main stack window just kept getting bigger and bigger. > > Was never able to solve why that happened even with help from folks in this list so I ended up setting the correct height of the stack window by script. > > Pete Haworth > > On Dec 10, 2010, at 2:37 PM, Joe Lewis Wilkins wrote: > >> Thanks Peter. What is driving me crazy, though, is the changing of the stack height as I go from card to card. No rhyme or reason for that and JUST started happening. I've been working on this project for over two months now. At one point I did have the resizable check box set, but I've changed that now. (sigh!) I have started switching back and forth with the menus, making some in the Mac Menu bar and some on the cards. Maybe this is confusing LC and may be the source of my problem. >> >> Joe Wilkins >> >> On Dec 10, 2010, at 2:26 PM, Peter Haworth wrote: >> >>> I have had problems with the Dictionary turning up blank but only in a pretty specific circumstance. It usually happens when I am in browse mode and I have debug break points set. If I stop exxecution of the code by clicking on the blue square in the debug toolbar, then go to the dictionary and try to select/click on an entry, the whole dictionary is blank. But if I switch back to edit mode,, the dictionary entries all come back again. Doesn;t sound like it matches your circumstances though. >>> >>> Pete Haworth >>> >>> On Dec 10, 2010, at 2:01 PM, Joe Lewis Wilkins wrote: >>> >>>> Has anyone ever had this happen to them? Everything is blank. I restarted LC and, finally, my MacPro, running Snow Leopard. The height of my substacks has been changing on me. Just started happening. Any chance I need to reinstall LC? >>>> >>>> Joe Lewis Wilkins >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bill at bluewatermaritime.com Fri Dec 10 18:31:09 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Fri, 10 Dec 2010 19:31:09 -0400 Subject: A Datagrid question Message-ID: If you have a stack with a datagrid and you do this: set the dgFocus of group "mydatagrid" of stack "not_modal" to true Then you can: *set* the dgHilitedLines of *group* "mydatagrid" of stack "not_modal" to 1 and it will be blue and you can then immediately hit a down arrow key and it will go to the next line. But if you open that same stack as a drawer the above commands behave very differently. When you set the dgfocus it will flash selected for a second but then go back to having the toplevel stack selected. How do you get the datagrid to behave like it does in a regular stack when it is in a drawer stack? Thanks From spepper at byu.net Fri Dec 10 18:36:59 2010 From: spepper at byu.net (Scott Pepperdine) Date: Fri, 10 Dec 2010 16:36:59 -0700 Subject: How to select image object instead of group Message-ID: <4D02B99B.6060506@byu.net> I have an image object that is part of a background group, so when I create a new card, there it is along with a number of other fields. But when I click the image object, its script is not activated, but rather the script of the group it belongs to. What do I need to study to make the image selectable? Thanks very much, --Scott From niggemann at uni-wh.de Fri Dec 10 19:21:17 2010 From: niggemann at uni-wh.de (BNig) Date: Fri, 10 Dec 2010 16:21:17 -0800 (PST) Subject: iOS: how to play a video file from a url? In-Reply-To: References: Message-ID: <1292026877944-3082876.post@n4.nabble.com> Hi David, I converted a mov file to m4v file in the old Quicktime Player export-> settings -> iPhone I uploaded that to my server: on mouseUp play video "http://berndniggemann.on-rev.com/movieRevlet/movie/LanoKurz.m4v" end mouseUp it is a very short clip. It works on the Simulator and on the iPhone (I tested over WiFi) Your file played in the simulator but not on the iPhone. I guess you have to convert it first. And I added video to the play command. wish you all the luck with your coding weekend. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-how-to-play-a-video-file-from-a-url-tp3082721p3082876.html Sent from the Revolution - User mailing list archive at Nabble.com. From jonathandlynch at gmail.com Fri Dec 10 19:51:07 2010 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Sat, 11 Dec 2010 00:51:07 +0000 Subject: How to select image object instead of group Message-ID: <1982897966-1292028444-cardhu_decombobulator_blackberry.rim.net-183692639-@bda046.bisx.prod.on.blackberry> I have had this happen, and I just put the script in the group. Does it need to be in the image? ------Original Message------ From: Scott Pepperdine Sender: use-livecode-bounces at lists.runrev.com To: How to use Revolution ReplyTo: How to use LiveCode Subject: How to select image object instead of group Sent: Dec 10, 2010 6:36 PM I have an image object that is part of a background group, so when I create a new card, there it is along with a number of other fields. But when I click the image object, its script is not activated, but rather the script of the group it belongs to. What do I need to study to make the image selectable? Thanks very much, --Scott _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode Sent from my Verizon Wireless BlackBerry From niggemann at uni-wh.de Fri Dec 10 19:51:03 2010 From: niggemann at uni-wh.de (BNig) Date: Fri, 10 Dec 2010 16:51:03 -0800 (PST) Subject: iOS: how to play a video file from a url? In-Reply-To: References: Message-ID: <1292028663495-3082898.post@n4.nabble.com> Hi David, the above file is about 830 KB this one is about 74 KB and it is again exported via Quicktime Player for the iPhone. format .3gp as you see. runs smother. -------------------------- on mouseUp -- play video "http://berndniggemann.on-rev.com/movieRevlet/movie/LanoKurz.m4v" -- 830 KB play video "http://berndniggemann.on-rev.com/movieRevlet/movie/LanoKurz-iPhone-cell.3gp" -- 74 KB end mouseUp ---------------------------------- Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-how-to-play-a-video-file-from-a-url-tp3082721p3082898.html Sent from the Revolution - User mailing list archive at Nabble.com. From spepper at byu.net Fri Dec 10 19:53:10 2010 From: spepper at byu.net (Scott Pepperdine) Date: Fri, 10 Dec 2010 17:53:10 -0700 Subject: How to select image object instead of group In-Reply-To: <1982897966-1292028444-cardhu_decombobulator_blackberry.rim.net-183692639-@bda046.bisx.prod.on.blackberry> References: <1982897966-1292028444-cardhu_decombobulator_blackberry.rim.net-183692639-@bda046.bisx.prod.on.blackberry> Message-ID: <4D02CB76.9060702@byu.net> I have scripts associated with the other fields in the group, so it would be best if the script can be associated with the image. Thanks for the reply. On 12/10/2010 5:51 PM, jonathandlynch at gmail.com wrote: > I have had this happen, and I just put the script in the group. Does it need to be in the image? > > ------Original Message------ > From: Scott Pepperdine > Sender: use-livecode-bounces at lists.runrev.com > To: How to use Revolution > ReplyTo: How to use LiveCode > Subject: How to select image object instead of group > Sent: Dec 10, 2010 6:36 PM > > I have an image object that is part of a background group, so when I > create a new card, there it is along with a number of other fields. > But when I click the image object, its script is not activated, but > rather the script of the group it belongs to. > What do I need to study to make the image selectable? > > Thanks very much, > --Scott > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > Sent from my Verizon Wireless BlackBerry > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jonathandlynch at gmail.com Fri Dec 10 20:03:50 2010 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Fri, 10 Dec 2010 20:03:50 -0500 Subject: How to select image object instead of group In-Reply-To: <4D02CB76.9060702@byu.net> References: <1982897966-1292028444-cardhu_decombobulator_blackberry.rim.net-183692639-@bda046.bisx.prod.on.blackberry> <4D02CB76.9060702@byu.net> Message-ID: Perhaps try the following: Group script: on mouseup send myCustomHandler to image "myImage" end mouseup Image script: on MyCustomHandler -- do the things I want it to do end MyCustomHandler On Fri, Dec 10, 2010 at 7:53 PM, Scott Pepperdine wrote: > I have scripts associated with the other fields in the group, so it would > be best if the script can be associated with the image. > > Thanks for the reply. > > > On 12/10/2010 5:51 PM, jonathandlynch at gmail.com wrote: > >> I have had this happen, and I just put the script in the group. Does it >> need to be in the image? >> >> ------Original Message------ >> From: Scott Pepperdine >> Sender: use-livecode-bounces at lists.runrev.com >> To: How to use Revolution >> ReplyTo: How to use LiveCode >> Subject: How to select image object instead of group >> Sent: Dec 10, 2010 6:36 PM >> >> I have an image object that is part of a background group, so when I >> create a new card, there it is along with a number of other fields. >> But when I click the image object, its script is not activated, but >> rather the script of the group it belongs to. >> What do I need to study to make the image selectable? >> >> Thanks very much, >> --Scott >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> Sent from my Verizon Wireless BlackBerry >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Do all things with love From mwieder at ahsoftware.net Fri Dec 10 20:07:53 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 10 Dec 2010 17:07:53 -0800 Subject: lock screen / unlock screen causes livecode to crash? In-Reply-To: References: <821824630234.20101209221850@ahsoftware.net> <1051825933687.20101209224033@ahsoftware.net> Message-ID: <861892374031.20101210170753@ahsoftware.net> Glen- Thursday, December 9, 2010, 10:42:31 PM, you wrote: > Thanks. Just reporting back that all seems fine on FC13, rev 4.5.2 with option buttons, lock and unlock screen. -- -Mark Wieder mwieder at ahsoftware.net From scott at tactilemedia.com Fri Dec 10 20:19:03 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 10 Dec 2010 17:19:03 -0800 Subject: How to select image object instead of group In-Reply-To: <4D02CB76.9060702@byu.net> References: <1982897966-1292028444-cardhu_decombobulator_blackberry.rim.net-183692639-@bda046.bisx.prod.on.blackberry> <4D02CB76.9060702@byu.net> Message-ID: <0A07A352-6BDE-4F43-B449-302CD1317AB8@tactilemedia.com> What's being triggered in the group: a mouseDown or mouseUp handler, or something similar? It must be something common to both the image and the fields. If I understand what you're trying to do, you should be able to 1) place the handler in the script of the image, or 2) in the group's mouseDown/Up handler, use something like: on mouseUp if word 1 of name of the the target = "image" then do image-related stuff here... else do default field-related stuff here... end if end mouseUp Regards, Scott Rossi Creative Director Tactile Media, UX Design On Dec 10, 2010, at 4:53 PM, Scott Pepperdine wrote: > I have scripts associated with the other fields in the group, so it would be best if the script can be associated with the image. > > Thanks for the reply. > > On 12/10/2010 5:51 PM, jonathandlynch at gmail.com wrote: >> I have had this happen, and I just put the script in the group. Does it need to be in the image? >> >> ------Original Message------ >> From: Scott Pepperdine >> Sender: use-livecode-bounces at lists.runrev.com >> To: How to use Revolution >> ReplyTo: How to use LiveCode >> Subject: How to select image object instead of group >> Sent: Dec 10, 2010 6:36 PM >> >> I have an image object that is part of a background group, so when I >> create a new card, there it is along with a number of other fields. >> But when I click the image object, its script is not activated, but >> rather the script of the group it belongs to. >> What do I need to study to make the image selectable? >> >> Thanks very much, >> --Scott >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> Sent from my Verizon Wireless BlackBerry >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Fri Dec 10 20:21:13 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Dec 2010 19:21:13 -0600 Subject: Dictionary has stopped working In-Reply-To: <129889CC-7B38-42CA-8BA3-A186D5D85F48@cox.net> References: <1jtb12p.1aehd74gnrkthM%liste.revo@medard.on-rev.com> <4CB51951-0CA1-4597-8BE1-F8EBC4B6A020@cox.net> <7577CEF0-F2D7-4EBB-BAA1-A0ADFFBCD8FE@mollysrevenge.com> <129889CC-7B38-42CA-8BA3-A186D5D85F48@cox.net> Message-ID: <4D02D209.5090405@hyperactivesw.com> On 12/10/10 5:02 PM, Joe Lewis Wilkins wrote: > In my case the windows have been getting smaller. I'll probably end > up doing the same thing, though that's how programs get bloated; not > solving the real issues; just using "work-arounds"; real spaghetti > code. It is reassuring to know that it's not just me. (smile) It's almost certainly your menubar. On Mac, the stack shrinks to hide the menu group, and puts the menus in the system menu bar instead. That's just how it works. During development, turn off Preview in Menubar in the menu builder. That should stop it. After that the menu group will be at the top of the card as before. Also, uncheck the destroystack property in the stack inspector, there was a bug in the engine that caused stacks with menubars to shrink when building standalones if that was turned on in some cases. Before building a standalone, turn Preview back on. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jonathandlynch at gmail.com Fri Dec 10 20:29:51 2010 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Sat, 11 Dec 2010 01:29:51 +0000 Subject: How to select image object instead of group In-Reply-To: <0A07A352-6BDE-4F43-B449-302CD1317AB8@tactilemedia.com> References: <1982897966-1292028444-cardhu_decombobulator_blackberry.rim.net-183692639-@bda046.bisx.prod.on.blackberry><4D02CB76.9060702@byu.net><0A07A352-6BDE-4F43-B449-302CD1317AB8@tactilemedia.com> Message-ID: <1829777233-1292030768-cardhu_decombobulator_blackberry.rim.net-964659471-@bda046.bisx.prod.on.blackberry> Why do mouse clicks sometimes not get ditectly caught by a grouped image? I often have to catch the mouseup or mousedown in a group script Sent from my Verizon Wireless BlackBerry -----Original Message----- From: Scott Rossi Sender: use-livecode-bounces at lists.runrev.com Date: Fri, 10 Dec 2010 17:19:03 To: How to use LiveCode Reply-To: How to use LiveCode Subject: Re: How to select image object instead of group What's being triggered in the group: a mouseDown or mouseUp handler, or something similar? It must be something common to both the image and the fields. If I understand what you're trying to do, you should be able to 1) place the handler in the script of the image, or 2) in the group's mouseDown/Up handler, use something like: on mouseUp if word 1 of name of the the target = "image" then do image-related stuff here... else do default field-related stuff here... end if end mouseUp Regards, Scott Rossi Creative Director Tactile Media, UX Design On Dec 10, 2010, at 4:53 PM, Scott Pepperdine wrote: > I have scripts associated with the other fields in the group, so it would be best if the script can be associated with the image. > > Thanks for the reply. > > On 12/10/2010 5:51 PM, jonathandlynch at gmail.com wrote: >> I have had this happen, and I just put the script in the group. Does it need to be in the image? >> >> ------Original Message------ >> From: Scott Pepperdine >> Sender: use-livecode-bounces at lists.runrev.com >> To: How to use Revolution >> ReplyTo: How to use LiveCode >> Subject: How to select image object instead of group >> Sent: Dec 10, 2010 6:36 PM >> >> I have an image object that is part of a background group, so when I >> create a new card, there it is along with a number of other fields. >> But when I click the image object, its script is not activated, but >> rather the script of the group it belongs to. >> What do I need to study to make the image selectable? >> >> Thanks very much, >> --Scott >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> Sent from my Verizon Wireless BlackBerry >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Dec 10 20:30:14 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Dec 2010 19:30:14 -0600 Subject: How to select image object instead of group In-Reply-To: <4D02CB76.9060702@byu.net> References: <1982897966-1292028444-cardhu_decombobulator_blackberry.rim.net-183692639-@bda046.bisx.prod.on.blackberry> <4D02CB76.9060702@byu.net> Message-ID: <4D02D426.7090205@hyperactivesw.com> On 12/10/10 6:53 PM, Scott Pepperdine wrote: > I have scripts associated with the other fields in the group, so it > would be best if the script can be associated with the image. I can't reproduce it. I grouped an image with a button and field, put a script in the image, and clicking it triggers the script. Do you have anything else covering the image? Is the group enabled? Is the image enabled? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Fri Dec 10 20:37:26 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 10 Dec 2010 17:37:26 -0800 Subject: iOS: how to play a video file from a url? In-Reply-To: <1292026877944-3082876.post@n4.nabble.com> References: <1292026877944-3082876.post@n4.nabble.com> Message-ID: Sorry to sidetrack this thread, but could I ask how you go about preparing your LiveCode standalone for deployment on an iPhone? I have spent hours trying get a simple LiveCode stack transferred to an iPod Touch, but every time I drag the LiveCode standalone onto the device's app list in Xcode, I get an Xcode error that says the executable was signed with invalid entitlements. I've checked everything I can think of in Apple's developer portal, have renamed everything using the same name in the provisioning file, I have created entirely new stacks/provision files, and still continue to get this error. The frustrating part is I've already done all this stuff using another development tool, so I'm not new to the process. I have a support request in with RunRev to figure out what's going on but it's been days that I've been blocked by this basic issue until they get back to me. Any suggestions you can offer Bernd? Thanks and Regards, Scott Rossi Creative Director Tactile Media, UX Design On Dec 10, 2010, at 4:21 PM, BNig wrote: > > Hi David, > > I converted a mov file to m4v file in the old Quicktime Player export-> > settings -> iPhone > > I uploaded that to my server: > > on mouseUp > play video > "http://berndniggemann.on-rev.com/movieRevlet/movie/LanoKurz.m4v" > end mouseUp > > it is a very short clip. It works on the Simulator and on the iPhone (I > tested over WiFi) > > Your file played in the simulator but not on the iPhone. I guess you have to > convert it first. > And I added video to the play command. > > wish you all the luck with your coding weekend. > > Kind regards > > Bernd > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-how-to-play-a-video-file-from-a-url-tp3082721p3082876.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From zryip.theslug at gmail.com Fri Dec 10 20:37:01 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sat, 11 Dec 2010 02:37:01 +0100 Subject: [OT] Data Grid Helper for MC IDE - We can do it Message-ID: Dear List, We made a big step forward with the compatibility of the Data Grid Helper plugin and the MC IDE. What actually working: - invoking DGH by double clicking on a datagrid, switching between datagrids - the properties palette - the script installer (our way to install ready to use script in your datagrids) - the script builder (our way to build handlers for the controls inside the datagrid template of a form or a column) - a part of our template area (adding controls in it, moving controls, etc) What actually missing: - icons of all the controls (DGH use the resources of the LiveCode IDE) - the inspector (DGH use the revTools palette) If you are interested by using DGH in the MC IDE, we can do it. Just drop us a note and we are going spend the time to make it happen. Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From pepetoo at cox.net Fri Dec 10 20:46:13 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Fri, 10 Dec 2010 17:46:13 -0800 Subject: Dictionary has stopped working In-Reply-To: <4D02D209.5090405@hyperactivesw.com> References: <1jtb12p.1aehd74gnrkthM%liste.revo@medard.on-rev.com> <4CB51951-0CA1-4597-8BE1-F8EBC4B6A020@cox.net> <7577CEF0-F2D7-4EBB-BAA1-A0ADFFBCD8FE@mollysrevenge.com> <129889CC-7B38-42CA-8BA3-A186D5D85F48@cox.net> <4D02D209.5090405@hyperactivesw.com> Message-ID: Thanks Jacque, I figured it had to be something like that, but your suggestions are a big help. Methinks this whole method of handling menus should be reanalyzed and made a bit easier. I know this is tough, but this situation is a major hurdle for us coders to overcome. Come to think of it, I guess we people have memory leaks just like computers. Hmn! It makes things a bit jumpy, but I stabilized the cards by setting the size in an open Card handler on the Stack Scripts. I'm hoping that this will not even be noticeable in the standalones. We'll see. Joe Wilkins On Dec 10, 2010, at 5:21 PM, J. Landman Gay wrote: > On 12/10/10 5:02 PM, Joe Lewis Wilkins wrote: >> In my case the windows have been getting smaller. I'll probably end >> up doing the same thing, though that's how programs get bloated; not >> solving the real issues; just using "work-arounds"; real spaghetti >> code. It is reassuring to know that it's not just me. (smile) > > It's almost certainly your menubar. On Mac, the stack shrinks to hide the menu group, and puts the menus in the system menu bar instead. That's just how it works. > > During development, turn off Preview in Menubar in the menu builder. That should stop it. After that the menu group will be at the top of the card as before. Also, uncheck the destroystack property in the stack inspector, there was a bug in the engine that caused stacks with menubars to shrink when building standalones if that was turned on in some cases. > > Before building a standalone, turn Preview back on. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Fri Dec 10 20:49:04 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 10 Dec 2010 17:49:04 -0800 Subject: How to select image object instead of group In-Reply-To: <1829777233-1292030768-cardhu_decombobulator_blackberry.rim.net-964659471-@bda046.bisx.prod.on.blackberry> References: <1982897966-1292028444-cardhu_decombobulator_blackberry.rim.net-183692639-@bda046.bisx.prod.on.blackberry> <4D02CB76.9060702@byu.net> <0A07A352-6BDE-4F43-B449-302CD1317AB8@tactilemedia.com> <1829777233-1292030768-cardhu_decombobulator_blackberry.rim.net-964659471-@bda046.bisx.prod.on.blackberry> Message-ID: <509C5771-1993-47A0-AE59-B667FE3FA322@tactilemedia.com> The only reason I can think of why this would happen is because the image contains transparent regions. Or from clicking really fast (on any control, not just images), which you would have to address by adding a mouseDoubleDown/mouseDoubleUp handler. For years I've built stacks with controls created from groups of images, and I haven't noticed any intermittent missing of clicks, or different behavior because the images are grouped. But as always, getting a simple stack that demonstrates this problem to RunRev support would be helpful for them to address any issue. Regards, Scott Rossi Creative Director Tactile Media, UX Design On Dec 10, 2010, at 5:29 PM, jonathandlynch at gmail.com wrote: > Why do mouse clicks sometimes not get ditectly caught by a grouped image? > > I often have to catch the mouseup or mousedown in a group script > Sent from my Verizon Wireless BlackBerry > > -----Original Message----- > From: Scott Rossi > Sender: use-livecode-bounces at lists.runrev.com > Date: Fri, 10 Dec 2010 17:19:03 > To: How to use LiveCode > Reply-To: How to use LiveCode > Subject: Re: How to select image object instead of group > > What's being triggered in the group: a mouseDown or mouseUp handler, or something similar? It must be something common to both the image and the fields. > > If I understand what you're trying to do, you should be able to 1) place the handler in the script of the image, or 2) in the group's mouseDown/Up handler, use something like: > on mouseUp > if word 1 of name of the the target = "image" then > do image-related stuff here... > else > do default field-related stuff here... > end if > end mouseUp > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > On Dec 10, 2010, at 4:53 PM, Scott Pepperdine wrote: > >> I have scripts associated with the other fields in the group, so it would be best if the script can be associated with the image. >> >> Thanks for the reply. >> >> On 12/10/2010 5:51 PM, jonathandlynch at gmail.com wrote: >>> I have had this happen, and I just put the script in the group. Does it need to be in the image? >>> >>> ------Original Message------ >>> From: Scott Pepperdine >>> Sender: use-livecode-bounces at lists.runrev.com >>> To: How to use Revolution >>> ReplyTo: How to use LiveCode >>> Subject: How to select image object instead of group >>> Sent: Dec 10, 2010 6:36 PM >>> >>> I have an image object that is part of a background group, so when I >>> create a new card, there it is along with a number of other fields. >>> But when I click the image object, its script is not activated, but >>> rather the script of the group it belongs to. >>> What do I need to study to make the image selectable? >>> >>> Thanks very much, >>> --Scott >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> Sent from my Verizon Wireless BlackBerry >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From david at vaudevillecourt.tv Fri Dec 10 21:07:46 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Sat, 11 Dec 2010 02:07:46 +0000 Subject: iOS: how to play a video file from a url? In-Reply-To: References: <1292026877944-3082876.post@n4.nabble.com> Message-ID: Hi Scott - I'll be online over the weekend, going to bed now. I can show you via Skype screen sharing or the web site - how I have things set up if that helps. I know from posts to lists that getting the provisioning write can be hit and miss - does the same provisioning profile work on the other platform or have you created a new one for Livecode? Tune into to livecode.tv tomorrow - we start at 9:30 am but the first part will be forming teams - so not expecting to start streaming till mid-day. or Skype me - fortyfoxes.... On 11 December 2010 01:37, Scott Rossi wrote: > Sorry to sidetrack this thread, but could I ask how you go about preparing > your LiveCode standalone for deployment on an iPhone? I have spent hours > trying get a simple LiveCode stack transferred to an iPod Touch, but every > time I drag the LiveCode standalone onto the device's app list in Xcode, I > get an Xcode error that says the executable was signed with invalid > entitlements. I've checked everything I can think of in Apple's developer > portal, have renamed everything using the same name in the provisioning > file, I have created entirely new stacks/provision files, and still continue > to get this error. > > The frustrating part is I've already done all this stuff using another > development tool, so I'm not new to the process. I have a support request > in with RunRev to figure out what's going on but it's been days that I've > been blocked by this basic issue until they get back to me. > > Any suggestions you can offer Bernd? > > Thanks and Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > On Dec 10, 2010, at 4:21 PM, BNig wrote: > > > > > Hi David, > > > > I converted a mov file to m4v file in the old Quicktime Player export-> > > settings -> iPhone > > > > I uploaded that to my server: > > > > on mouseUp > > play video > > "http://berndniggemann.on-rev.com/movieRevlet/movie/LanoKurz.m4v" > > end mouseUp > > > > it is a very short clip. It works on the Simulator and on the iPhone (I > > tested over WiFi) > > > > Your file played in the simulator but not on the iPhone. I guess you have > to > > convert it first. > > And I added video to the play command. > > > > wish you all the luck with your coding weekend. > > > > Kind regards > > > > Bernd > > -- > > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/iOS-how-to-play-a-video-file-from-a-url-tp3082721p3082876.html > > Sent from the Revolution - User mailing list archive at Nabble.com. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From david at vaudevillecourt.tv Fri Dec 10 21:15:32 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Sat, 11 Dec 2010 02:15:32 +0000 Subject: iOS: how to play a video file from a url? In-Reply-To: <1292028663495-3082898.post@n4.nabble.com> References: <1292028663495-3082898.post@n4.nabble.com> Message-ID: Thanks Bernd - works a treat - should dig into what files can be played - I assumed it was the same of more than QuickTime for OSX. What is the strategy would you say for caching / downloading videos? On 11 December 2010 00:51, BNig wrote: > > Hi David, > > the above file is about 830 KB > > this one is about 74 KB and it is again exported via Quicktime Player for > the iPhone. format .3gp as you see. > runs smother. > From gbojsza at gmail.com Fri Dec 10 21:36:25 2010 From: gbojsza at gmail.com (Glen Bojsza) Date: Fri, 10 Dec 2010 19:36:25 -0700 Subject: lock screen / unlock screen causes livecode to crash? In-Reply-To: References: <821824630234.20101209221850@ahsoftware.net> <1051825933687.20101209224033@ahsoftware.net> Message-ID: No to the lock messages being set or used. 2010/12/10 Bj?rnke von Gierke > Do you have per-chance lockMessages set to true? Shooting into the dark... > > On 10 Dec 2010, at 08:00, Glen Bojsza wrote: > > > I discovered that I need to delete all my option buttons that were made > > while on OS X with new ones from 4.5.2 under Linux. > > > > Also, further testing is showing that lock screen / unlock screen under > > 4.5.2 rc1 on linux isn't doing anything so I now have a big problem! > > > > Glen > > > > -- > > official ChatRev page: > http://bjoernke.com?target=chatrev > > Chat with other RunRev developers: > go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gbojsza at gmail.com Fri Dec 10 21:39:22 2010 From: gbojsza at gmail.com (Glen Bojsza) Date: Fri, 10 Dec 2010 19:39:22 -0700 Subject: lock screen / unlock screen causes livecode to crash? In-Reply-To: <861892374031.20101210170753@ahsoftware.net> References: <821824630234.20101209221850@ahsoftware.net> <1051825933687.20101209224033@ahsoftware.net> <861892374031.20101210170753@ahsoftware.net> Message-ID: Yes, I found / reported that the option buttons from my OS X 4.5.1 need to be replaced with ones on Linux 4.5.2 in order for them to work properly. thanks for checking. Glen On Fri, Dec 10, 2010 at 6:07 PM, Mark Wieder wrote: > Glen- > > Thursday, December 9, 2010, 10:42:31 PM, you wrote: > > > Thanks. > > Just reporting back that all seems fine on FC13, rev 4.5.2 with option > buttons, lock and unlock screen. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From david at vaudevillecourt.tv Fri Dec 10 21:44:22 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Sat, 11 Dec 2010 02:44:22 +0000 Subject: Datagrids and mobile Message-ID: I've had this working before, but manually. just checking as i can;t get it to work in the IDE - has anyone got datagrids working in iOS? Or do you still have to copy the library over by hand? From mcgrath3 at mac.com Fri Dec 10 22:18:57 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 10 Dec 2010 22:18:57 -0500 Subject: iOS: how to play a video file from a url? In-Reply-To: References: <1292026877944-3082876.post@n4.nabble.com> Message-ID: Scott, Here this may help or not. I feel your frustration. Search Results: "It probably means you incorrectly filled in some provisioning data or you did not install the provisioning profiles or App Id stuff on your computer correctly." -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Dec 10, 2010, at 8:37 PM, Scott Rossi wrote: > Sorry to sidetrack this thread, but could I ask how you go about preparing your LiveCode standalone for deployment on an iPhone? I have spent hours trying get a simple LiveCode stack transferred to an iPod Touch, but every time I drag the LiveCode standalone onto the device's app list in Xcode, I get an Xcode error that says the executable was signed with invalid entitlements. I've checked everything I can think of in Apple's developer portal, have renamed everything using the same name in the provisioning file, I have created entirely new stacks/provision files, and still continue to get this error. > > The frustrating part is I've already done all this stuff using another development tool, so I'm not new to the process. I have a support request in with RunRev to figure out what's going on but it's been days that I've been blocked by this basic issue until they get back to me. > > Any suggestions you can offer Bernd? > > Thanks and Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > On Dec 10, 2010, at 4:21 PM, BNig wrote: > >> >> Hi David, >> >> I converted a mov file to m4v file in the old Quicktime Player export-> >> settings -> iPhone >> >> I uploaded that to my server: >> >> on mouseUp >> play video >> "http://berndniggemann.on-rev.com/movieRevlet/movie/LanoKurz.m4v" >> end mouseUp >> >> it is a very short clip. It works on the Simulator and on the iPhone (I >> tested over WiFi) >> >> Your file played in the simulator but not on the iPhone. I guess you have to >> convert it first. >> And I added video to the play command. >> >> wish you all the luck with your coding weekend. >> >> Kind regards >> >> Bernd >> -- >> View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-how-to-play-a-video-file-from-a-url-tp3082721p3082876.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From spepper at byu.net Fri Dec 10 23:28:53 2010 From: spepper at byu.net (Scott Pepperdine) Date: Fri, 10 Dec 2010 21:28:53 -0700 Subject: How to select image object instead of group In-Reply-To: <0A07A352-6BDE-4F43-B449-302CD1317AB8@tactilemedia.com> References: <1982897966-1292028444-cardhu_decombobulator_blackberry.rim.net-183692639-@bda046.bisx.prod.on.blackberry> <4D02CB76.9060702@byu.net> <0A07A352-6BDE-4F43-B449-302CD1317AB8@tactilemedia.com> Message-ID: <4D02FE05.3080102@byu.net> The image script is: on mouseup answer file "Select your file:" if it is empty exit to top set the filename of image "image" to it end mouseup The group script is as follows ( just to prove to me this what was happening: on mouseup answer "1033" end mouseup Thanks all for your efforts. I think I;ll just ungroup the controls and create my new cards with 'clone' or some such think, instead of relying on the background group behavior. Thanks again On 12/10/2010 6:19 PM, Scott Rossi wrote: > What's being triggered in the group: a mouseDown or mouseUp handler, or something similar? It must be something common to both the image and the fields. > > If I understand what you're trying to do, you should be able to 1) place the handler in the script of the image, or 2) in the group's mouseDown/Up handler, use something like: > on mouseUp > if word 1 of name of the the target = "image" then > do image-related stuff here... > else > do default field-related stuff here... > end if > end mouseUp > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > On Dec 10, 2010, at 4:53 PM, Scott Pepperdine wrote: > >> I have scripts associated with the other fields in the group, so it would be best if the script can be associated with the image. >> >> Thanks for the reply. >> >> On 12/10/2010 5:51 PM, jonathandlynch at gmail.com wrote: >>> I have had this happen, and I just put the script in the group. Does it need to be in the image? >>> >>> ------Original Message------ >>> From: Scott Pepperdine >>> Sender: use-livecode-bounces at lists.runrev.com >>> To: How to use Revolution >>> ReplyTo: How to use LiveCode >>> Subject: How to select image object instead of group >>> Sent: Dec 10, 2010 6:36 PM >>> >>> I have an image object that is part of a background group, so when I >>> create a new card, there it is along with a number of other fields. >>> But when I click the image object, its script is not activated, but >>> rather the script of the group it belongs to. >>> What do I need to study to make the image selectable? >>> >>> Thanks very much, >>> --Scott >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> Sent from my Verizon Wireless BlackBerry >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From niggemann at uni-wh.de Sat Dec 11 03:52:35 2010 From: niggemann at uni-wh.de (BNig) Date: Sat, 11 Dec 2010 00:52:35 -0800 (PST) Subject: iOS: how to play a video file from a url? In-Reply-To: References: <1292026877944-3082876.post@n4.nabble.com> Message-ID: <1292057555853-3083100.post@n4.nabble.com> Hi Scott, sorry to be of no help here. You probably know a lot more about this than I do. The provisioning profiles are still a mystery to me. I can only use the team provisioning profile. And only one of them, because somehow I managed to get two. If I use the wrong one I get the same error you get. Where the second one comes from I dont know. At present I am just glad they did not expire yet... Couldn't you just get new ones? Just a guess. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-how-to-play-a-video-file-from-a-url-tp3082721p3083100.html Sent from the Revolution - User mailing list archive at Nabble.com. From david at vaudevillecourt.tv Sat Dec 11 03:52:41 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Sat, 11 Dec 2010 08:52:41 +0000 Subject: Datagrids and iOS Live Message-ID: So does anyone have data grids working with the latest 4.5.2 release of LiveCode for iOS? From massung at gmail.com Sat Dec 11 03:54:22 2010 From: massung at gmail.com (Jeffrey Massung) Date: Sat, 11 Dec 2010 01:54:22 -0700 Subject: [Semi-OT] [ANN] Sqwerly Chat Message-ID: <0FF80662-F0F3-411C-90DC-B3C151EB2693@gmail.com> I hope no one here minds a shameless plug and perhaps helping me out a little... Over the past few months I've been working to bring together an idea I've had for quite some time: persistent, live, online chat rooms that are quick and easy to make, use, and fun. The result is Sqwerly Chat. It is a free-to-use site (you don't even need to register to enter chat rooms and follow the discussions) that keeps room histories and has many additional features beyond simple chat. http://www.sqwerly.com I've now hit a comfortable alpha stage, where almost all features are implemented and before going much further I'm looking for customer feedback on the concept, site design, user interface/ease of use, etc. I'm posting this here because there have been discussions of a couple different chat programs that some LiveCoders have been using to either share ideas, etc. And, frankly, I'd like to throw Sqwerly into the mix as a possible alternative. In preparation, I've already created a LiveCode chat room on Sqwerly: http://www.sqwerly.com/room?q=12027 Feel free to go there, discuss LiveCode, post code snippets (Sqwerly is great for code sharing and will have additional features coming online soon as well), and just shoot the breeze. If you find Sqwerly useful, you are more than welcome to create your own chat rooms and invite others. Likewise, if you don't, and wouldn't mind typing up a few thoughts to me in email, I'd greatly appreciate it. Thank you! Jeff M. From scott at tactilemedia.com Sat Dec 11 03:55:01 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 11 Dec 2010 00:55:01 -0800 Subject: How to select image object instead of group In-Reply-To: <4D02FE05.3080102@byu.net> Message-ID: Recently, Scott Pepperdine wrote: > The image script is: > on mouseup > answer file "Select your file:" > if it is empty exit to top > set the filename of image "image" to it > end mouseup > > The group script is as follows ( just to prove to me this what was > happening: > on mouseup > answer "1033" > end mouseup > > Thanks all for your efforts. I think I;ll just ungroup the controls and > create my new cards with 'clone' or some such think, instead of relying > on the background group behavior. I really hope you don't have to dumb down your stack to get the above working. Let's verify a couple of things: 1) You realize that by putting your image in a group, it's available on all cards that contain that group, yes? So if you change the image on one card, it will change on all cards that contain that group. If you want the image to be different across multiple cards, you'll either need to use multiple images (one for each card, not in a common group) or store the image data for each card separately (in custom properties, for example) and load the image data upon opening each card as needed. 2) The most common reason to put an object in a group is to use the same object/script across multiple cards. Fields within groups have the ability to hold shared data (sharedText enabled) across multiple cards, or to have separate data for each card (sharedText disabled). Images do not have this ability natively, but you can script it, as explained above. So what exactly are you trying to accomplish? Multiple images across multiple cards, or one image across multiple cards? Regards, Scott Rossi Creative Director Tactile Media, UX Design From scott at tactilemedia.com Sat Dec 11 04:07:37 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 11 Dec 2010 01:07:37 -0800 Subject: [Semi-OT] [ANN] Sqwerly Chat In-Reply-To: <0FF80662-F0F3-411C-90DC-B3C151EB2693@gmail.com> Message-ID: Recently, Jeffrey Massung wrote: > I've now hit a comfortable alpha stage, where almost all features are > implemented and before going much further I'm looking for customer feedback on > the concept, site design, user interface/ease of use, etc. > > I'm posting this here because there have been discussions of a couple > different chat programs that some LiveCoders have been using to either share > ideas, etc. And, frankly, I'd like to throw Sqwerly into the mix as a possible > alternative. In preparation, I've already created a LiveCode chat room on > Sqwerly: > > http://www.sqwerly.com/room?q=12027 > > Feel free to go there, discuss LiveCode, post code snippets (Sqwerly is great > for code sharing and will have additional features coming online soon as > well), and just shoot the breeze. > > If you find Sqwerly useful, you are more than welcome to create your own chat > rooms and invite others. > > Likewise, if you don't, and wouldn't mind typing up a few thoughts to me in > email, I'd greatly appreciate it. First thought: accessing the above q=12027 URL results in a blank page (FireFox Mac). Is it necessary to register to make the above display anything? Regards, Scott Rossi Creative Director Tactile Media, UX Design From massung at gmail.com Sat Dec 11 04:14:32 2010 From: massung at gmail.com (Jeffrey Massung) Date: Sat, 11 Dec 2010 02:14:32 -0700 Subject: [Semi-OT] [ANN] Sqwerly Chat In-Reply-To: References: Message-ID: <3440C4B2-C251-40A5-8153-5D471B462B16@gmail.com> On Dec 11, 2010, at 2:07 AM, Scott Rossi wrote: >> >> http://www.sqwerly.com/room?q=12027 >> > > First thought: accessing the above q=12027 URL results in a blank page > (FireFox Mac). Is it necessary to register to make the above display > anything? Scott, Thanks for trying it. No, registration is not necessary at all. It was a minor bug, quickly fixed and should work now if you don't mind trying again. Jeff M. P.S. I feel sheepish. ;-) From scott at tactilemedia.com Sat Dec 11 04:17:16 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 11 Dec 2010 01:17:16 -0800 Subject: iOS: how to play a video file from a url? In-Reply-To: <1292057555853-3083100.post@n4.nabble.com> Message-ID: Thanks Bernd. Yes, I have created multiple provisioning files. I have half a dozen working with GameSalad, but the publishing process is slightly different there; I still am unable get even one (newly created) to work with LiveCode. I can't figure out why, but am thinking maybe there's some small step I'm overlooking. I'm using the latest iOS SDK, I have the correct devices checked in the development portal, I don't see what else I'm missing. For some reason, the easy stuff is always a problem for me. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, BNig wrote: > Hi Scott, > > sorry to be of no help here. You probably know a lot more about this than I > do. > The provisioning profiles are still a mystery to me. I can only use the team > provisioning profile. And only one of them, because somehow I managed to get > two. If I use the wrong one I get the same error you get. Where the second > one comes from I dont know. At present I am just glad they did not expire > yet... > Couldn't you just get new ones? Just a guess. > Kind regards > Bernd From scott at tactilemedia.com Sat Dec 11 04:21:37 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 11 Dec 2010 01:21:37 -0800 Subject: [Semi-OT] [ANN] Sqwerly Chat In-Reply-To: <3440C4B2-C251-40A5-8153-5D471B462B16@gmail.com> Message-ID: OK, tried again. This time I get some pre-populated chat messages, but there's nowhere to type a message. There are two options provided: sign in and register, so it seems that some kind of registration is indeed necessary. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Jeffrey Massung wrote: > > On Dec 11, 2010, at 2:07 AM, Scott Rossi wrote: >>> >>> http://www.sqwerly.com/room?q=12027 >>> >> >> First thought: accessing the above q=12027 URL results in a blank page >> (FireFox Mac). Is it necessary to register to make the above display >> anything? > > > Scott, > > Thanks for trying it. No, registration is not necessary at all. It was a minor > bug, quickly fixed and should work now if you don't mind trying again. > > Jeff M. > > P.S. I feel sheepish. ;-) > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From massung at gmail.com Sat Dec 11 04:26:18 2010 From: massung at gmail.com (Jeffrey Massung) Date: Sat, 11 Dec 2010 02:26:18 -0700 Subject: [Semi-OT] [ANN] Sqwerly Chat In-Reply-To: References: Message-ID: My apologies if my original email was unclear. The "populated messages" are the history of what's been said in the chat room so far. If there were 10 people in there chatting, unregistered you could read everything being said (as it was being typed). In order to join in the discussion and post chats, yes, you do need to register (which is simple, free, and doesn't even need an email address). Jeff M. On Dec 11, 2010, at 2:21 AM, Scott Rossi wrote: > OK, tried again. This time I get some pre-populated chat messages, but > there's nowhere to type a message. There are two options provided: sign in > and register, so it seems that some kind of registration is indeed > necessary. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > Recently, Jeffrey Massung wrote: > >> >> On Dec 11, 2010, at 2:07 AM, Scott Rossi wrote: >>>> >>>> http://www.sqwerly.com/room?q=12027 >>>> >>> >>> First thought: accessing the above q=12027 URL results in a blank page >>> (FireFox Mac). Is it necessary to register to make the above display >>> anything? >> >> >> Scott, >> >> Thanks for trying it. No, registration is not necessary at all. It was a minor >> bug, quickly fixed and should work now if you don't mind trying again. >> >> Jeff M. >> >> P.S. I feel sheepish. ;-) >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Sat Dec 11 04:27:55 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 11 Dec 2010 01:27:55 -0800 Subject: [Semi-OT] [ANN] Sqwerly Chat In-Reply-To: <0FF80662-F0F3-411C-90DC-B3C151EB2693@gmail.com> Message-ID: Recently, Jeffrey Massung wrote: > In preparation, I've already created a LiveCode chat room on Sqwerly: > > http://www.sqwerly.com/room?q=12027 I'm now in room 12027 (I think) -- from what I can tell, it's empty (there's me talking and no response... But then again, that's pretty much par for the course in my daily routine :-) Regards, Scott Rossi Creative Director Tactile Media, UX Design From niggemann at uni-wh.de Sat Dec 11 04:48:59 2010 From: niggemann at uni-wh.de (BNig) Date: Sat, 11 Dec 2010 01:48:59 -0800 (PST) Subject: iOS: how to play a video file from a url? In-Reply-To: References: <1292028663495-3082898.post@n4.nabble.com> Message-ID: <1292060939802-3083147.post@n4.nabble.com> Hi David, I tried this and it worked for adding a movie when building the standalone app. I added in the standalone application settings -> Copy files the movie file I wanted to include. In the button scipt I put: ----------------------- on mouseUp put "LanoKurz-iPhone-cell.3gp" into tMovie put specialfolderpath("engine") & "/" into tMypath put tMovie after tMyPath play video tMyPath end mouseUp ------------------------ watch out: the iPhone is case sensitive. This would get you a movie file into your app that you can play without streaming it over the network. If you want to download a movie file you could probably store it in "cache". I did not do that yet. specialfolderpath ("cache") Kind regards Bernd David Bovill-5 wrote: > > Thanks Bernd - works a treat - should dig into what files can be played - > I > assumed it was the same of more than QuickTime for OSX. > > What is the strategy would you say for caching / downloading videos? > > On 11 December 2010 00:51, BNig wrote: > >> >> Hi David, >> >> the above file is about 830 KB >> >> this one is about 74 KB and it is again exported via Quicktime Player for >> the iPhone. format .3gp as you see. >> runs smother. > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-how-to-play-a-video-file-from-a-url-tp3082721p3083147.html Sent from the Revolution - User mailing list archive at Nabble.com. From niggemann at uni-wh.de Sat Dec 11 05:00:15 2010 From: niggemann at uni-wh.de (BNig) Date: Sat, 11 Dec 2010 02:00:15 -0800 (PST) Subject: iOS: how to play a video file from a url? In-Reply-To: References: <1292026877944-3082876.post@n4.nabble.com> <1292057555853-3083100.post@n4.nabble.com> Message-ID: <1292061615204-3083154.post@n4.nabble.com> Hi Scott, I guess you already tried all of them in the Standalone appliction settings -> iOS -> Profile This just has got to work. In desperation I would try to remove Livecode's preferences. That sometime helped me with funny things in Rev. Again, unfortunately I am not a big help here, as much as I would like to be able to help you since I learned so much from you stuff. Thanks for that. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-how-to-play-a-video-file-from-a-url-tp3082721p3083154.html Sent from the Revolution - User mailing list archive at Nabble.com. From niggemann at uni-wh.de Sat Dec 11 05:18:13 2010 From: niggemann at uni-wh.de (BNig) Date: Sat, 11 Dec 2010 02:18:13 -0800 (PST) Subject: iOS: how to play a video file from a url? In-Reply-To: References: <1292028663495-3082898.post@n4.nabble.com> Message-ID: <1292062693885-3083164.post@n4.nabble.com> Hi David, here is a way to download a movie once and store it on the iPhone for repeated showing from the local file, also between restarts of the app. You would have to know the URL beforehand. ---------------------- on mouseUp put "LanoKurz-iPhone-cell.3gp" into tMovie put specialfolderpath("cache") & "/" into tMypath put tMovie after tMyPath if there is a file tMyPath then play video tMyPath else answer "will download the file" put "binfile:" before tMyPath put URL "http://berndniggemann.on-rev.com/movieRevlet/movie/LanoKurz-iPhone-cell.3gp" into URL tMyPath end if end mouseUp ------------------------------- Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-how-to-play-a-video-file-from-a-url-tp3082721p3083164.html Sent from the Revolution - User mailing list archive at Nabble.com. From jmyepes at mac.com Sat Dec 11 05:52:47 2010 From: jmyepes at mac.com (JosepM) Date: Sat, 11 Dec 2010 02:52:47 -0800 (PST) Subject: Datagrids and iOS Live In-Reply-To: References: Message-ID: <1292064767844-3083180.post@n4.nabble.com> Hi David, Not for me. Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Datagrids-and-iOS-Live-tp3083102p3083180.html Sent from the Revolution - User mailing list archive at Nabble.com. From jonathandlynch at gmail.com Sat Dec 11 06:59:08 2010 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Sat, 11 Dec 2010 06:59:08 -0500 Subject: How to select image object instead of group In-Reply-To: <4D02FE05.3080102@byu.net> References: <1982897966-1292028444-cardhu_decombobulator_blackberry.rim.net-183692639-@bda046.bisx.prod.on.blackberry> <4D02CB76.9060702@byu.net> <0A07A352-6BDE-4F43-B449-302CD1317AB8@tactilemedia.com> <4D02FE05.3080102@byu.net> Message-ID: Scott, There are good reasons to use background groups. Add the following line to your script, and it will work: on mouseup answer file "Select your file:" if it is empty exit to top set the filename of image "image" to it end mouseup The group script is as follows ( just to prove to me this what was happening: on mouseup if the short name of the target = "The name of my field" then send mouseup to field "the name of my field" of me end if end mouseup On Fri, Dec 10, 2010 at 11:28 PM, Scott Pepperdine wrote: > The image script is: > on mouseup > answer file "Select your file:" > if it is empty exit to top > set the filename of image "image" to it > end mouseup > > The group script is as follows ( just to prove to me this what was > happening: > on mouseup > answer "1033" > end mouseup > > Thanks all for your efforts. I think I;ll just ungroup the controls and > create my new cards with 'clone' or some such think, instead of relying on > the background group behavior. > Thanks again > > > On 12/10/2010 6:19 PM, Scott Rossi wrote: > >> What's being triggered in the group: a mouseDown or mouseUp handler, or >> something similar? It must be something common to both the image and the >> fields. >> >> If I understand what you're trying to do, you should be able to 1) place >> the handler in the script of the image, or 2) in the group's mouseDown/Up >> handler, use something like: >> on mouseUp >> if word 1 of name of the the target = "image" then >> do image-related stuff here... >> else >> do default field-related stuff here... >> end if >> end mouseUp >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> On Dec 10, 2010, at 4:53 PM, Scott Pepperdine wrote: >> >> I have scripts associated with the other fields in the group, so it would >>> be best if the script can be associated with the image. >>> >>> Thanks for the reply. >>> >>> On 12/10/2010 5:51 PM, jonathandlynch at gmail.com wrote: >>> >>>> I have had this happen, and I just put the script in the group. Does it >>>> need to be in the image? >>>> >>>> ------Original Message------ >>>> From: Scott Pepperdine >>>> Sender: use-livecode-bounces at lists.runrev.com >>>> To: How to use Revolution >>>> ReplyTo: How to use LiveCode >>>> Subject: How to select image object instead of group >>>> Sent: Dec 10, 2010 6:36 PM >>>> >>>> I have an image object that is part of a background group, so when I >>>> create a new card, there it is along with a number of other fields. >>>> But when I click the image object, its script is not activated, but >>>> rather the script of the group it belongs to. >>>> What do I need to study to make the image selectable? >>>> >>>> Thanks very much, >>>> --Scott >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> Sent from my Verizon Wireless BlackBerry >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Do all things with love From bonnmike at gmail.com Sat Dec 11 08:56:37 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 11 Dec 2010 06:56:37 -0700 Subject: [Semi-OT] [ANN] Sqwerly Chat In-Reply-To: References: <0FF80662-F0F3-411C-90DC-B3C151EB2693@gmail.com> Message-ID: Just tried to go there(firefox) empty screen as mentioned by Scott up above. Then tried it with safari and got: Safari can?t open the page ?http://www.sqwerly.com/room?q=12027? because the server unexpectedly dropped the connection. This sometimes occurs when the server is busy. Wait for a few minutes, and then try again. Will attempt to get in again in a bit. On Sat, Dec 11, 2010 at 2:27 AM, Scott Rossi wrote: > Recently, Jeffrey Massung wrote: > > > In preparation, I've already created a LiveCode chat room on Sqwerly: > > > > http://www.sqwerly.com/room?q=12027 > > I'm now in room 12027 (I think) -- from what I can tell, it's empty > (there's > me talking and no response... But then again, that's pretty much par for > the course in my daily routine :-) > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pmbrig at gmail.com Sat Dec 11 09:21:29 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Sat, 11 Dec 2010 09:21:29 -0500 Subject: How to select image object instead of group In-Reply-To: <4D02FE05.3080102@byu.net> References: <1982897966-1292028444-cardhu_decombobulator_blackberry.rim.net-183692639-@bda046.bisx.prod.on.blackberry> <4D02CB76.9060702@byu.net> <0A07A352-6BDE-4F43-B449-302CD1317AB8@tactilemedia.com> <4D02FE05.3080102@byu.net> Message-ID: <226BFD9A-7A77-4544-B590-2BD555FF5D1F@gmail.com> On Dec 10, 2010, at 11:28 PM, Scott Pepperdine wrote: > The image script is: > on mouseup > answer file "Select your file:" > if it is empty exit to top > set the filename of image "image" to it > end mouseup > > The group script is as follows ( just to prove to me this what was > happening: > on mouseup > answer "1033" > end mouseup You are missing a "then" in the image mouseup script. If this script doesn't compile then perhaps it's ignored and the mouseup message is passed to the group script? I'm surprised that you could close the script editor without an alert while the "if-then" statement lacks a "then", however. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From andre at andregarzia.com Sat Dec 11 09:59:36 2010 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 11 Dec 2010 12:59:36 -0200 Subject: [Semi-OT] [ANN] Sqwerly Chat In-Reply-To: References: <0FF80662-F0F3-411C-90DC-B3C151EB2693@gmail.com> Message-ID: Hey Jeff, So someone is using AllegroServer... is that Franz CL or other Lisp using Portable Allegro Server? I am using hunchentoot and sbcl here, going for weblocks! congrats on the app! :-D Cheers andre On Sat, Dec 11, 2010 at 11:56 AM, Mike Bonner wrote: > Just tried to go there(firefox) empty screen as mentioned by Scott up > above. > Then tried it with safari and got: > > Safari can?t open the page ?http://www.sqwerly.com/room?q=12027? because > the > server unexpectedly dropped the connection. This sometimes occurs when the > server is busy. Wait for a few minutes, and then try again. > > Will attempt to get in again in a bit. > > On Sat, Dec 11, 2010 at 2:27 AM, Scott Rossi > wrote: > > > Recently, Jeffrey Massung wrote: > > > > > In preparation, I've already created a LiveCode chat room on Sqwerly: > > > > > > http://www.sqwerly.com/room?q=12027 > > > > I'm now in room 12027 (I think) -- from what I can tell, it's empty > > (there's > > me talking and no response... But then again, that's pretty much par for > > the course in my daily routine :-) > > > > Regards, > > > > Scott Rossi > > Creative Director > > Tactile Media, UX Design > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From davidocoker at gmail.com Sat Dec 11 10:25:36 2010 From: davidocoker at gmail.com (David C.) Date: Sat, 11 Dec 2010 09:25:36 -0600 Subject: [Semi-OT] [ANN] Sqwerly Chat In-Reply-To: References: <0FF80662-F0F3-411C-90DC-B3C151EB2693@gmail.com> Message-ID: Hello Jeff, Like some of the others, all I got was a blank page while using Firefox on Windows. I next tried Chrome browser and your app still did not work, but at least it gave me some additional info that might be helpful to you: - - - - - - - - - - - - - - - - - - - - - - - This webpage is not available. The webpage at http://www.sqwerly.com/room?q=12027 might be temporarily down or it may have moved permanently to a new web address. More information on this error Below is the original error message Error 324 (net::ERR_EMPTY_RESPONSE): Unknown error. - - - - - - - - - - - - - - - - - - - - - - - Hope that helps somehow. Best regards, David C. From davidocoker at gmail.com Sat Dec 11 10:25:36 2010 From: davidocoker at gmail.com (David C.) Date: Sat, 11 Dec 2010 09:25:36 -0600 Subject: [Semi-OT] [ANN] Sqwerly Chat In-Reply-To: References: <0FF80662-F0F3-411C-90DC-B3C151EB2693@gmail.com> Message-ID: Hello Jeff, Like some of the others, all I got was a blank page while using Firefox on Windows. I next tried Chrome browser and your app still did not work, but at least it gave me some additional info that might be helpful to you: - - - - - - - - - - - - - - - - - - - - - - - This webpage is not available. The webpage at http://www.sqwerly.com/room?q=12027 might be temporarily down or it may have moved permanently to a new web address. More information on this error Below is the original error message Error 324 (net::ERR_EMPTY_RESPONSE): Unknown error. - - - - - - - - - - - - - - - - - - - - - - - Hope that helps somehow. Best regards, David C. From bill at bluewatermaritime.com Sat Dec 11 11:09:17 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Sat, 11 Dec 2010 12:09:17 -0400 Subject: A Datagrid question In-Reply-To: References: Message-ID: Please ignore this datagrid question. There seems to be something else going on that changes the behavior when the stack is a sheet. From massung at gmail.com Sat Dec 11 11:12:29 2010 From: massung at gmail.com (Jeffrey Massung) Date: Sat, 11 Dec 2010 09:12:29 -0700 Subject: [Semi-OT] [ANN] Sqwerly Chat In-Reply-To: References: <0FF80662-F0F3-411C-90DC-B3C151EB2693@gmail.com> Message-ID: Thank you everyone who's been trying. This is now fixed and should work as intended. Humbly, I would ask you to try again. :-) Jeff M. On Dec 11, 2010, at 6:56 AM, Mike Bonner wrote: > Just tried to go there(firefox) empty screen as mentioned by Scott up above. > Then tried it with safari and got: From massung at gmail.com Sat Dec 11 11:14:22 2010 From: massung at gmail.com (Jeffrey Massung) Date: Sat, 11 Dec 2010 09:14:22 -0700 Subject: [Semi-OT] [ANN] Sqwerly Chat In-Reply-To: References: <0FF80662-F0F3-411C-90DC-B3C151EB2693@gmail.com> Message-ID: <5E8F3107-F81D-483B-A98D-5748E4B759E3@gmail.com> Andre, I use Franz CL and love it! Thanks for asking, though. Let me know if you'd like to talk web+lisp some time. Jeff M. On Dec 11, 2010, at 7:59 AM, Andre Garzia wrote: > Hey Jeff, > > So someone is using AllegroServer... is that Franz CL or other Lisp using > Portable Allegro Server? I am using hunchentoot and sbcl here, going for > weblocks! > > congrats on the app! :-D > > Cheers > andre From bill at bluewatermaritime.com Sat Dec 11 11:27:19 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Sat, 11 Dec 2010 12:27:19 -0400 Subject: [Semi-OT] [ANN] Sqwerly Chat In-Reply-To: References: <0FF80662-F0F3-411C-90DC-B3C151EB2693@gmail.com> Message-ID: Jeffery I can see it now but the login process is such a pain I gave up. It can't be more than twelve characters failed me the first time. I have no idea what went wrong the third time. On Sat, Dec 11, 2010 at 12:12 PM, Jeffrey Massung wrote: > Thank you everyone who's been trying. > > This is now fixed and should work as intended. Humbly, I would ask you to > try again. :-) > > Jeff M. > > > On Dec 11, 2010, at 6:56 AM, Mike Bonner wrote: > > > Just tried to go there(firefox) empty screen as mentioned by Scott up > above. > > Then tried it with safari and got: > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.bluewatermaritime.com From andre.bisseret at wanadoo.fr Sat Dec 11 12:04:20 2010 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Sat, 11 Dec 2010 18:04:20 +0100 Subject: How to write the "|" char in a script Message-ID: Bonjour, In a Pulldown Menu (among others), one can have sub-Items for an item (doing tab in the text of the menu) but when ask for it in the message box, it is coded as something like "Choice 1| sub 1". I need to write such an item in the script ------------ switch theItem case "Choice 1| sub 1" ----------- While I know how to get / or \ ;-)), I can't find out how to write the vertical bar separator in the script! I mean, what is the keyboard touches combination (if there is one!) to get the vertical character? Thanks for any reply Best regards from Grenoble Andr? From liste.revo at medard.on-rev.com Sat Dec 11 12:09:17 2010 From: liste.revo at medard.on-rev.com (Medard) Date: Sat, 11 Dec 2010 18:09:17 +0100 Subject: Something strange with On-Rev Message-ID: <1jtcknf.1hbpzwu1lzfqggM%liste.revo@medard.on-rev.com> I encounter a strange thing: at the footer in my web pages, I put a notice stating the last modification date. This date is calculated on the server, with a dedicated procedure (Thanks to Sarah :-)) ===script=== -- get the path to the page just loaded put $_SERVER["PATH_TRANSLATED"] into tPath -- use the ls shell command to get the details for this file put shell("ls -l " & quote & tPath & quote) into tListing put line 1 of tListing into tFileData -- remove the excess data delete word 1 to 5 of tFileData replace tPath with empty in tFileData put word 2 of tFileData into tjour put word 1 of tFileData into tmois put word 3 of tFileData into tannee put "Modif. Medard" && tjour && tmois && tannee ========= this procedure is called in the footer as an include: On the "interior" web pages, the date is OK: Modif. Medard 30 Nov 2009 But i get this on the home page: Modif. Medard 11 Dec 10:30 ? Any idea? That said, it is only a cosmetic big ;-) I wonder myself the very same procedure gives two different results, depending on the position in the directory hierarchy... From coiin at verizon.net Sat Dec 11 12:19:11 2010 From: coiin at verizon.net (Colin Holgate) Date: Sat, 11 Dec 2010 12:19:11 -0500 Subject: How to write the "|" char in a script In-Reply-To: References: Message-ID: <4E54AED8-66A0-4B54-855B-2F21222798B7@verizon.net> On Dec 11, 2010, at 12:04 PM, Andr? Bisseret wrote: > While I know how to get / or \ ;-)), I can't find out how to write the vertical bar separator in the script! > I mean, what is the keyboard touches combination (if there is one!) to get the vertical character? You seemed to manage it in this email, can't you do the same in the script window? If you're on a Mac, and using a French keyboard, option-shift-L seems to give you the vertical bar. From davidocoker at gmail.com Sat Dec 11 12:27:19 2010 From: davidocoker at gmail.com (David C.) Date: Sat, 11 Dec 2010 11:27:19 -0600 Subject: How to write the "|" char in a script In-Reply-To: References: Message-ID: On Sat, Dec 11, 2010 at 11:04 AM, Andr? Bisseret wrote: > Bonjour, > > In a Pulldown Menu (among others), one can have sub-Items for an item (doing tab in the text of the menu) > but when ask for it in the message box, it is coded ?as something like "Choice 1| sub 1". > > I need to write such an item in the script > ------------ > ?switch theItem > case "Choice 1| sub 1" > ----------- > While I know how to get / or \ ;-)), I can't find out how to write the vertical bar separator in the script! > I mean, what is the keyboard touches combination (if there is one!) to get the vertical character? > > Thanks for any reply Hello Andr?, On my US/Windows based keyboard, the "|" character is a shifted backslash "\", located just under the backspace key. The Decimal/Ascii value is 124. numToChar(124) = | Hope that helps. Best regards, David C. From wdurden at gmail.com Sat Dec 11 12:34:12 2010 From: wdurden at gmail.com (wayne durden) Date: Sat, 11 Dec 2010 12:34:12 -0500 Subject: [Semi-OT] [ANN] Sqwerly Chat In-Reply-To: <5E8F3107-F81D-483B-A98D-5748E4B759E3@gmail.com> References: <0FF80662-F0F3-411C-90DC-B3C151EB2693@gmail.com> <5E8F3107-F81D-483B-A98D-5748E4B759E3@gmail.com> Message-ID: Hi Jeff, Works for me now, and looks nifty. One potential problem (it may be intended for privacy reasons) is that while it shows how many rooms and users online, it wasn't immediately apparent what the rooms are so you could choose one. Admittedly, this is just first impression and may be intended, but it would be nice to have a destination to click on if you get to the main page initially. I searched for livecode and ended up in the room after that search, but you might want to show active rooms... Anyway, looks interesting! Wayne On Sat, Dec 11, 2010 at 11:14 AM, Jeffrey Massung wrote: > Andre, I use Franz CL and love it! > > Thanks for asking, though. Let me know if you'd like to talk web+lisp some > time. > > Jeff M. > > On Dec 11, 2010, at 7:59 AM, Andre Garzia wrote: > > > Hey Jeff, > > > > So someone is using AllegroServer... is that Franz CL or other Lisp using > > Portable Allegro Server? I am using hunchentoot and sbcl here, going for > > weblocks! > > > > congrats on the app! :-D > > > > Cheers > > andre > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Sat Dec 11 13:23:04 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 11 Dec 2010 19:23:04 +0100 Subject: Live LiveCode Code Event #3 In-Reply-To: References: Message-ID: <342D834B-7C6B-490F-A0B9-E413BA567C31@economy-x-talk.com> The Live LiveCode Code Event is starting in 40 minutes, at 19:00 GMT. Direct links to the video presentations are available at http://livecode.tv . Ue ChatRev to chat with the attendants. You can download ChatRev at http://bjoernke.com/chatrev . I hope to see you there. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 How to receive a free Color Converter license http://qurl.tk/kv (read the conditions) From david at vaudevillecourt.tv Sat Dec 11 13:39:33 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Sat, 11 Dec 2010 18:39:33 +0000 Subject: iOS: how to play a video file from a url? In-Reply-To: <1292062693885-3083164.post@n4.nabble.com> References: <1292028663495-3082898.post@n4.nabble.com> <1292062693885-3083164.post@n4.nabble.com> Message-ID: Thanks again Bernd.... ideally you would be able to stream a movie then after you had played it, or it had all downloaded save it to a folder :) On 11 December 2010 10:18, BNig wrote: > > Hi David, > > here is a way to download a movie once and store it on the iPhone for > repeated showing from the local file, also between restarts of the app. You > would have to know the URL beforehand. > ---------------------- > on mouseUp > put "LanoKurz-iPhone-cell.3gp" into tMovie > put specialfolderpath("cache") & "/" into tMypath > put tMovie after tMyPath > if there is a file tMyPath then > play video tMyPath > else > answer "will download the file" > put "binfile:" before tMyPath > put URL > " > http://berndniggemann.on-rev.com/movieRevlet/movie/LanoKurz-iPhone-cell.3gp > " > into URL tMyPath > end if > end mouseUp > ------------------------------- > > Kind regards > > Bernd > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/iOS-how-to-play-a-video-file-from-a-url-tp3082721p3083164.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From coiin at verizon.net Sat Dec 11 13:49:50 2010 From: coiin at verizon.net (Colin Holgate) Date: Sat, 11 Dec 2010 13:49:50 -0500 Subject: Live LiveCode Code Event #3 In-Reply-To: <342D834B-7C6B-490F-A0B9-E413BA567C31@economy-x-talk.com> References: <342D834B-7C6B-490F-A0B9-E413BA567C31@economy-x-talk.com> Message-ID: On Dec 11, 2010, at 1:23 PM, Mark Schonewille wrote: > You can download ChatRev at http://bjoernke.com/chatrev . Can you tell me how to get past the register screen? Clicking OK doesn't seem to do it. From andre.bisseret at wanadoo.fr Sat Dec 11 14:05:27 2010 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Sat, 11 Dec 2010 20:05:27 +0100 Subject: How to write the "|" char in a script In-Reply-To: <4E54AED8-66A0-4B54-855B-2F21222798B7@verizon.net> References: <4E54AED8-66A0-4B54-855B-2F21222798B7@verizon.net> Message-ID: Le 11 d?c. 2010 ? 18:19, Colin Holgate a ?crit : > > On Dec 11, 2010, at 12:04 PM, Andr? Bisseret wrote: > >> While I know how to get / or \ ;-)), I can't find out how to write the vertical bar separator in the script! >> I mean, what is the keyboard touches combination (if there is one!) to get the vertical character? > > You seemed to manage it in this email, can't you do the same in the script window? It was by copy/paste ;-) so, yes it is possible, but not very practical when writing scripts ;-)) > > If you're on a Mac, and using a French keyboard, It is the case > option-shift-L seems to give you the vertical bar. That's what I was looking for ;-)) Thanks a lot Colin for your help Best Andr? From andre.bisseret at wanadoo.fr Sat Dec 11 14:11:25 2010 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Sat, 11 Dec 2010 20:11:25 +0100 Subject: How to write the "|" char in a script In-Reply-To: References: Message-ID: Le 11 d?c. 2010 ? 18:27, David C. a ?crit : > On Sat, Dec 11, 2010 at 11:04 AM, Andr? Bisseret > wrote: ... >> >> While I know how to get / or \ ;-)), I can't find out how to write the vertical bar separator in the script! >> I mean, what is the keyboard touches combination (if there is one!) to get the vertical character? >> >> Thanks for any reply > > Hello Andr?, > On my US/Windows based keyboard, the "|" character is a shifted > backslash "\", located just under the backspace key. On Mac with french keyboard, that does not work > The Decimal/Ascii > value is 124. > > numToChar(124) = | > > Hope that helps. Sure that helps ; I am keeping that in my doc Thank you very much David Best Andr? From mkoob at rogers.com Sat Dec 11 14:38:06 2010 From: mkoob at rogers.com (Martin Koob) Date: Sat, 11 Dec 2010 11:38:06 -0800 (PST) Subject: Accessing HTTP Web Services with LiveCode In-Reply-To: <1292012698629-3082652.post@n4.nabble.com> References: <1292012698629-3082652.post@n4.nabble.com> Message-ID: <1292096286700-3083631.post@n4.nabble.com> Hi Todd Mark Smith has put some libraries for accessing Amazon web services such as S3 which from my understanding is a restful web service. I have experimented with these a bit but still am learning how this works. Perhaps you can get some ideas from these libraries. http://marksmith.on-rev.com/revstuff/index.html Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Accessing-HTTP-Web-Services-with-LiveCode-tp3082652p3083631.html Sent from the Revolution - User mailing list archive at Nabble.com. From niggemann at uni-wh.de Sat Dec 11 15:02:42 2010 From: niggemann at uni-wh.de (BNig) Date: Sat, 11 Dec 2010 12:02:42 -0800 (PST) Subject: iOS: how to play a video file from a url? In-Reply-To: References: <1292028663495-3082898.post@n4.nabble.com> <1292062693885-3083164.post@n4.nabble.com> Message-ID: <1292097762055-3083652.post@n4.nabble.com> Hi David, I don't get what you mean. The code downloads a movie file to the iPhone. You can then play it as often as you want. It is stored in a folder, in this case the "cache" folder. The cache folder is not backed up by iTunes. If you would download the movie into the "Documents" folder iTunes would even back that up. If you mean to automatically capture a stream to a folder: that I don't know how to do. Kind regards Bernd David Bovill-5 wrote: > > Thanks again Bernd.... ideally you would be able to stream a movie then > after you had played it, or it had all downloaded save it to a folder :) > > On 11 December 2010 10:18, BNig wrote: > >> >> Hi David, >> >> here is a way to download a movie once and store it on the iPhone for >> repeated showing from the local file, also between restarts of the app. >> You >> would have to know the URL beforehand. >> ---------------------- >> on mouseUp >> put "LanoKurz-iPhone-cell.3gp" into tMovie >> put specialfolderpath("cache") & "/" into tMypath >> put tMovie after tMyPath >> if there is a file tMyPath then >> play video tMyPath >> else >> answer "will download the file" >> put "binfile:" before tMyPath >> put URL >> " >> http://berndniggemann.on-rev.com/movieRevlet/movie/LanoKurz-iPhone-cell.3gp >> " >> into URL tMyPath >> end if >> end mouseUp >> ------------------------------- >> >> Kind regards >> >> Bernd > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-how-to-play-a-video-file-from-a-url-tp3082721p3083652.html Sent from the Revolution - User mailing list archive at Nabble.com. From keith.clarke at clarkeandclarke.co.uk Sat Dec 11 15:51:24 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sat, 11 Dec 2010 20:51:24 +0000 Subject: How to write the "|" char in a script In-Reply-To: References: Message-ID: <2B59993B-58C4-4784-ABD6-D3411F00845E@clarkeandclarke.co.uk> ...I'd recommend PopChar for Mac - any character is just a click away. On 11 Dec 2010, at 19:11, Andr? Bisseret wrote: > > Le 11 d?c. 2010 ? 18:27, David C. a ?crit : > >> On Sat, Dec 11, 2010 at 11:04 AM, Andr? Bisseret >> wrote: > ... > >>> >>> While I know how to get / or \ ;-)), I can't find out how to write the vertical bar separator in the script! >>> I mean, what is the keyboard touches combination (if there is one!) to get the vertical character? >>> >>> Thanks for any reply >> >> Hello Andr?, >> On my US/Windows based keyboard, the "|" character is a shifted >> backslash "\", located just under the backspace key. > On Mac with french keyboard, that does not work > >> The Decimal/Ascii >> value is 124. >> >> numToChar(124) = | >> >> Hope that helps. > > Sure that helps ; I am keeping that in my doc > > Thank you very much David > > Best > > Andr? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Sat Dec 11 16:01:31 2010 From: coiin at verizon.net (Colin Holgate) Date: Sat, 11 Dec 2010 16:01:31 -0500 Subject: How to write the "|" char in a script In-Reply-To: <2B59993B-58C4-4784-ABD6-D3411F00845E@clarkeandclarke.co.uk> References: <2B59993B-58C4-4784-ABD6-D3411F00845E@clarkeandclarke.co.uk> Message-ID: On Dec 11, 2010, at 3:51 PM, Keith Clarke wrote: > ...I'd recommend PopChar for Mac - any character is just a click away. Alternately you can go to Keyboard in System Preferences, and check the box that says "Show Keyboard & Character Viewer in menu bar". That's how I figured out the keys to use on a French keyboard. From richmondmathewson at gmail.com Sat Dec 11 16:04:53 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 11 Dec 2010 23:04:53 +0200 Subject: Concatenating 2 stacks. Message-ID: <4D03E775.7050301@gmail.com> I have 2 main stacks that I want to combine into 1 stack, the 2 stacks following each other sequentially. But I don't know how to do this. From jacque at hyperactivesw.com Sat Dec 11 16:48:46 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 11 Dec 2010 15:48:46 -0600 Subject: Concatenating 2 stacks. In-Reply-To: <4D03E775.7050301@gmail.com> References: <4D03E775.7050301@gmail.com> Message-ID: <4D03F1BE.5090807@hyperactivesw.com> On 12/11/10 3:04 PM, Richmond wrote: > I have 2 main stacks that I want to combine into > 1 stack, the 2 stacks following each other sequentially. > > But I don't know how to do this. There's no automatic way. You have to copy the cards of stack 2 and paste them at the end of stack 1. If you have a lot of cards, you could write a script to do it. If the two stacks use different stack scripts, you'll need to manually edit the one in stack 1 and add any handlers that were only in stack 2. Alternately, you could set stack 2 to be a substack of stack 1. That's easy. Just change stack 2's "mainstack" in its property inspector. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sat Dec 11 17:06:48 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 12 Dec 2010 00:06:48 +0200 Subject: Concatenating 2 stacks. In-Reply-To: <4D03F1BE.5090807@hyperactivesw.com> References: <4D03E775.7050301@gmail.com> <4D03F1BE.5090807@hyperactivesw.com> Message-ID: <4D03F5F8.3070904@gmail.com> On 12/11/2010 11:48 PM, J. Landman Gay wrote: > On 12/11/10 3:04 PM, Richmond wrote: >> I have 2 main stacks that I want to combine into >> 1 stack, the 2 stacks following each other sequentially. >> >> But I don't know how to do this. > > There's no automatic way. Grunts! > You have to copy the cards of stack 2 and paste them at the end of > stack 1. If you have a lot of cards, you could write a script to do > it. If the two stacks use different stack scripts, you'll need to > manually edit the one in stack 1 and add any handlers that were only > in stack 2. Thanks for the help. > > Alternately, you could set stack 2 to be a substack of stack 1. That's > easy. Just change stack 2's "mainstack" in its property inspector. > From richmondmathewson at gmail.com Sat Dec 11 17:54:03 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 12 Dec 2010 00:54:03 +0200 Subject: exists Message-ID: <4D04010B.8010707@gmail.com> I wonder why this does NOT work: if exists(file: "ABC.jpg") is true then ---do something end if how do I check if a file is present or not? From mwieder at ahsoftware.net Sat Dec 11 18:01:12 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 11 Dec 2010 15:01:12 -0800 Subject: exists In-Reply-To: <4D04010B.8010707@gmail.com> References: <4D04010B.8010707@gmail.com> Message-ID: <1151971172890.20101211150112@ahsoftware.net> Richmond- Saturday, December 11, 2010, 2:54:03 PM, you wrote: > how do I check if a file is present or not? if there is a file "ABC.jpg" then -- -Mark Wieder mwieder at ahsoftware.net From scott at tactilemedia.com Sat Dec 11 18:05:21 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 11 Dec 2010 15:05:21 -0800 Subject: exists In-Reply-To: <4D04010B.8010707@gmail.com> Message-ID: Recently, Richmond wrote: > I wonder why this does NOT work: > > if exists(file: "ABC.jpg") is true then > ---do something > end if > > how do I check if a file is present or not? I use this form: if there is a file "filepath.jpg" then -- do something end if Regards, Scott Rossi Creative Director Tactile Media, UX Design From dam-pro.girard at laposte.net Sat Dec 11 18:11:54 2010 From: dam-pro.girard at laposte.net (Damien Girard) Date: Sun, 12 Dec 2010 00:11:54 +0100 Subject: exists In-Reply-To: <4D04010B.8010707@gmail.com> References: <4D04010B.8010707@gmail.com> Message-ID: <001901cb9988$cdef38c0$69cdaa40$@girard@laposte.net> Exists if for Livecode objects, to check the presence of a file use "there is". if there is "ABC.jpg" then -- do something end if Kind Regards, Damien Girard NativeSoft, France. -----Message d'origine----- De?: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] De la part de Richmond Envoy??: samedi 11 d?cembre 2010 23:54 ??: How to use LiveCode Objet?: exists I wonder why this does NOT work: if exists(file: "ABC.jpg") is true then ---do something end if how do I check if a file is present or not? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Dec 11 18:19:32 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 12 Dec 2010 01:19:32 +0200 Subject: exists In-Reply-To: <001901cb9988$cdef38c0$69cdaa40$@girard@laposte.net> References: <4D04010B.8010707@gmail.com> <001901cb9988$cdef38c0$69cdaa40$@girard@laposte.net> Message-ID: <4D040704.3060709@gmail.com> Thanks Mark, Scott and Damien . . . :) From pepetoo at cox.net Sat Dec 11 18:32:15 2010 From: pepetoo at cox.net (pepetoo at cox.net) Date: Sat, 11 Dec 2010 15:32:15 -0800 Subject: How to write the "|" char in a script In-Reply-To: Message-ID: <20101211183215.PKWUT.432187.imail@fed1rmwml34> I often use it as a item delimiter and on my MacPro keyboard it is Shift backslash, the last key to the right in the third row from the top. Joe Wilkins ---- Colin Holgate wrote: > > On Dec 11, 2010, at 3:51 PM, Keith Clarke wrote: > > > ...I'd recommend PopChar for Mac - any character is just a click away. > > Alternately you can go to Keyboard in System Preferences, and check the box that says "Show Keyboard & Character Viewer in menu bar". That's how I figured out the keys to use on a French keyboard. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david at vaudevillecourt.tv Sat Dec 11 18:41:15 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Sat, 11 Dec 2010 23:41:15 +0000 Subject: iOS: how to play a video file from a url? In-Reply-To: <1292097762055-3083652.post@n4.nabble.com> References: <1292028663495-3082898.post@n4.nabble.com> <1292062693885-3083164.post@n4.nabble.com> <1292097762055-3083652.post@n4.nabble.com> Message-ID: On 11 December 2010 20:02, BNig wrote: > > If you mean to automatically capture a stream to a folder: that I don't > know > how to do. > Yes - it just makes sense to do this - say if you have a 10 minute video. Can watch streaming when you want, that is watch while it is downloading. Think this is possible with Trevors exteranl for quicktime - but not ever tested! From alex at tweedly.net Sat Dec 11 18:43:32 2010 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 11 Dec 2010 23:43:32 +0000 Subject: Something strange with On-Rev In-Reply-To: <1jtcknf.1hbpzwu1lzfqggM%liste.revo@medard.on-rev.com> References: <1jtcknf.1hbpzwu1lzfqggM%liste.revo@medard.on-rev.com> Message-ID: <4D040CA4.1050003@tweedly.net> That's just the way "ls -l" works ..... if the modification date is a while ago, words 6 - 8 contain the date, month and year if the modification date is recent enough, words 6 - 8 contain the date, month and time e.g. > drwx------+ 26 alextweedly staff 884 7 Dec 22:52 Desktop > drwx------+ 3 alextweedly staff 102 4 May 2010 Movies > drwx------+ 4 alextweedly staff 136 5 May 2010 Music > drwx------+ 7 alextweedly staff 238 15 Sep 20:46 Pictures I'd use "the detailed files" rather than messing with "ls -l" -- Alex. On 11/12/2010 17:09, Medard wrote: > I encounter a strange thing: at the footer in my web pages, I put a > notice stating the last modification date. > > This date is calculated on the server, with a dedicated procedure > (Thanks to Sarah :-)) > > ===script=== > > -- get the path to the page just loaded > put $_SERVER["PATH_TRANSLATED"] into tPath > > -- use the ls shell command to get the details for this file > put shell("ls -l "& quote& tPath& quote) into tListing > > put line 1 of tListing into tFileData > > -- remove the excess data > delete word 1 to 5 of tFileData > replace tPath with empty in tFileData > > put word 2 of tFileData into tjour > put word 1 of tFileData into tmois > put word 3 of tFileData into tannee > > put "Modif. Medard"&& tjour&& tmois&& tannee > > ========= > > this procedure is called in the footer as an include: > > > > On the "interior" web pages, the date is OK: > > Modif. Medard 30 Nov 2009 > > But i get this on the home page: > > Modif. Medard 11 Dec 10:30 > > ? > > Any idea? > That said, it is only a cosmetic big ;-) > I wonder myself the very same procedure gives two different results, > depending on the position in the directory hierarchy... > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From stephenREVOLUTION2 at barncard.com Sat Dec 11 19:03:09 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 11 Dec 2010 16:03:09 -0800 Subject: Suffixes Rename_Anomaly - Renaming batch files in Livecode Message-ID: Hi Gang. This one has me baffled. Head against desk for a while. please load my test stack with go stack URL "http://fulton.barncard.com/bugz/multilineRenameBug.rev" (It only creates suffixed files in a folder that you create or point to after clicking a button.) I am renaming files like this in a script in a loop: Rename file "/Volumes/20101202 USB-320/test rename2/1 Audio Track.aiff" to "/Volumes/20101202 USB-320/test rename2/1 Audio Track.aiff" results in files being renamed, but minus the dot suffix, like "01 Aerogel" instead of the desired "01 Aerogel.aiff" 1. hasn't anyone noticed? 2. Could it be related to that annoying message that comes up when users try to change suffixes ? 3. Or is it an engine bug? Has anyone else experienced this? I'm about to make a bug report. THis is happening in 4.0 and 4.5.2. MacOSX 10.5.8 G5 Dual 2.5 ghz - not tested on other platforms. any comments or ideas welcomed.. - ! - Stephen Barncard San Francisco Ca. USA * * more about sqb From spepper at byu.net Sat Dec 11 19:04:48 2010 From: spepper at byu.net (Scott Pepperdine) Date: Sat, 11 Dec 2010 17:04:48 -0700 Subject: How to select image object instead of group In-Reply-To: References: Message-ID: <4D0411A0.7030700@byu.net> I was unaware of the group behavior that if I changed the image on one card, I would change the image on all cards containing that group. To answer your question, I am after multiple images across multiple cards. The user experience I'm after is for the user to click a button "Create New card" and go to a new card with an image object and multiple fields. They then import a picture into the image and fill in data to the fields. The picture and the fields remain unique to that card. If I use a clone card command, instead of a background group, will that work? It's either that or use the group thing and script the image into a custom property as you suggest. On 12/11/2010 1:55 AM, Scott Rossi wrote: > Recently, Scott Pepperdine wrote: > >> The image script is: >> on mouseup >> answer file "Select your file:" >> if it is empty exit to top >> set the filename of image "image" to it >> end mouseup >> >> The group script is as follows ( just to prove to me this what was >> happening: >> on mouseup >> answer "1033" >> end mouseup >> >> Thanks all for your efforts. I think I;ll just ungroup the controls and >> create my new cards with 'clone' or some such think, instead of relying >> on the background group behavior. > I really hope you don't have to dumb down your stack to get the above > working. Let's verify a couple of things: > > 1) You realize that by putting your image in a group, it's available on all > cards that contain that group, yes? So if you change the image on one card, > it will change on all cards that contain that group. If you want the image > to be different across multiple cards, you'll either need to use multiple > images (one for each card, not in a common group) or store the image data > for each card separately (in custom properties, for example) and load the > image data upon opening each card as needed. > > 2) The most common reason to put an object in a group is to use the same > object/script across multiple cards. Fields within groups have the ability > to hold shared data (sharedText enabled) across multiple cards, or to have > separate data for each card (sharedText disabled). Images do not have this > ability natively, but you can script it, as explained above. > > So what exactly are you trying to accomplish? Multiple images across > multiple cards, or one image across multiple cards? > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Sat Dec 11 19:35:33 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 11 Dec 2010 16:35:33 -0800 Subject: How to select image object instead of group In-Reply-To: <4D0411A0.7030700@byu.net> Message-ID: OK yes, in your case, the image should reside outside the group, and the sharedText property should be disabled for the field/s. Cloning the card should work fine. Again a strong reason to use groups is because you need one instance of something across multiple cards, which will work for the field/s. Also keep in mind that if you're building this stack for an end user as a standalone app, the stack that can add new cards to itself must not be physically party of standalone, or it will lose all changes when the user exits the standalone. To be able to save changes, keep the multi-card stack external of the mainstack that gets built as a standalone. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Scott Pepperdine wrote: > I was unaware of the group behavior that if I changed the image on one > card, I would change the image on all cards containing that group. To > answer your question, I am after multiple images across multiple cards. > The user experience I'm after is for the user to click a button "Create > New card" and go to a new card with an image object and multiple > fields. They then import a picture into the image and fill in data to > the fields. The picture and the fields remain unique to that card. If > I use a clone card command, instead of a background group, will that > work? It's either that or use the group thing and script the image into > a custom property as you suggest. > > On 12/11/2010 1:55 AM, Scott Rossi wrote: >> Recently, Scott Pepperdine wrote: >> >>> The image script is: >>> on mouseup >>> answer file "Select your file:" >>> if it is empty exit to top >>> set the filename of image "image" to it >>> end mouseup >>> >>> The group script is as follows ( just to prove to me this what was >>> happening: >>> on mouseup >>> answer "1033" >>> end mouseup >>> >>> Thanks all for your efforts. I think I;ll just ungroup the controls and >>> create my new cards with 'clone' or some such think, instead of relying >>> on the background group behavior. >> I really hope you don't have to dumb down your stack to get the above >> working. Let's verify a couple of things: >> >> 1) You realize that by putting your image in a group, it's available on all >> cards that contain that group, yes? So if you change the image on one card, >> it will change on all cards that contain that group. If you want the image >> to be different across multiple cards, you'll either need to use multiple >> images (one for each card, not in a common group) or store the image data >> for each card separately (in custom properties, for example) and load the >> image data upon opening each card as needed. >> >> 2) The most common reason to put an object in a group is to use the same >> object/script across multiple cards. Fields within groups have the ability >> to hold shared data (sharedText enabled) across multiple cards, or to have >> separate data for each card (sharedText disabled). Images do not have this >> ability natively, but you can script it, as explained above. >> >> So what exactly are you trying to accomplish? Multiple images across >> multiple cards, or one image across multiple cards? >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Sat Dec 11 19:36:53 2010 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 12 Dec 2010 00:36:53 +0000 Subject: [Semi-OT] [ANN] Sqwerly Chat In-Reply-To: <0FF80662-F0F3-411C-90DC-B3C151EB2693@gmail.com> References: <0FF80662-F0F3-411C-90DC-B3C151EB2693@gmail.com> Message-ID: <4D041925.9050108@tweedly.net> Haven't yet had a chance to try it out properly, but one initial response ... the home page has these annoying flashing/fading keywords - which are light grey on white background and very hard to see and read before they fade completely. OS X, Chrome 8.0.552.215, Macbook Pro. (Or supply eyes that are less than 50 years old to all users :-) :-() -- Alex. On 11/12/2010 08:54, Jeffrey Massung wrote: > I hope no one here minds a shameless plug and perhaps helping me out a little... > > Over the past few months I've been working to bring together an idea I've had for quite some time: persistent, live, online chat rooms that are quick and easy to make, use, and fun. The result is Sqwerly Chat. It is a free-to-use site (you don't even need to register to enter chat rooms and follow the discussions) that keeps room histories and has many additional features beyond simple chat. > > http://www.sqwerly.com > > I've now hit a comfortable alpha stage, where almost all features are implemented and before going much further I'm looking for customer feedback on the concept, site design, user interface/ease of use, etc. > > I'm posting this here because there have been discussions of a couple different chat programs that some LiveCoders have been using to either share ideas, etc. And, frankly, I'd like to throw Sqwerly into the mix as a possible alternative. In preparation, I've already created a LiveCode chat room on Sqwerly: > > http://www.sqwerly.com/room?q=12027 > > Feel free to go there, discuss LiveCode, post code snippets (Sqwerly is great for code sharing and will have additional features coming online soon as well), and just shoot the breeze. > > If you find Sqwerly useful, you are more than welcome to create your own chat rooms and invite others. > > Likewise, if you don't, and wouldn't mind typing up a few thoughts to me in email, I'd greatly appreciate it. > > Thank you! > > Jeff M. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Sat Dec 11 20:16:13 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 11 Dec 2010 17:16:13 -0800 Subject: Accessing HTTP Web Services with LiveCode In-Reply-To: <1292012698629-3082652.post@n4.nabble.com> References: <1292012698629-3082652.post@n4.nabble.com> Message-ID: <1341979274078.20101211171613@ahsoftware.net> Hey Todd- Friday, December 10, 2010, 12:24:58 PM, you wrote: > I am trying to understand if LiveCode could be used to access many of todays > plain HTTP based or RESTful web services that are out there. I like using > these services, but I am still not very efficient at building UIs in HTML > /CSS /JavaScript and I am looking to LiveCode as an alternative to building > front ends to HTTP based web services. Welcome back - been a while since I've seen you around these parts. I posted a stack named "libSOAP" to revOnline a while back that may help with web service calls. I think David Beck did something along these lines as well. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat Dec 11 20:17:57 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 11 Dec 2010 17:17:57 -0800 Subject: glx2 In-Reply-To: References: Message-ID: <1701979377796.20101211171757@ahsoftware.net> Pete- Friday, December 10, 2010, 2:42:08 PM, you wrote: > Is there any documentation for glx2 anywhere? I already like some of > the obvious features in it but I'm guessing there's other stuff I > don;t know about. Jerry had a site on ning, but I see it's gone now. I don't know if any of it got archived. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Sat Dec 11 23:38:07 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 11 Dec 2010 20:38:07 -0800 Subject: glx2 Message-ID: <4D0451AF.6070402@fourthworld.com> Mark Wieder wrote: > Friday, December 10, 2010, 2:42:08 PM, you wrote: > >> Is there any documentation for glx2 anywhere? I already like some of >> the obvious features in it but I'm guessing there's other stuff I >> don;t know about. > > Jerry had a site on ning, but I see it's gone now. I don't know if any > of it got archived. No documentation? That makes it officially open source now. :) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From stephenREVOLUTION2 at barncard.com Sun Dec 12 01:42:42 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 11 Dec 2010 22:42:42 -0800 Subject: Suffixes Rename_Anomaly - Renaming batch files in Livecode In-Reply-To: References: Message-ID: So no one here has used *rename* lately? On 11 December 2010 16:03, stephen barncard wrote: > Hi Gang. > > This one has me baffled. Head against desk for a while. > > please load my test stack with > > go stack URL "http://fulton.barncard.com/bugz/multilineRenameBug.rev" > > > (It only creates suffixed files in a folder that you create or point to > after clicking a button.) > > I am renaming files like this in a script in a loop: > > Rename file "/Volumes/20101202 USB-320/test rename2/1 Audio Track.aiff" to > "/Volumes/20101202 USB-320/test rename2/1 Audio Track.aiff" > > results in files being renamed, but minus the dot suffix, like "01 > Aerogel" instead of the desired "01 Aerogel.aiff" > > 1. hasn't anyone noticed? > 2. Could it be related to that annoying message that comes up when users > try to change suffixes ? > 3. Or is it an engine bug? > > Has anyone else experienced this? I'm about to make a bug report. THis is > happening in 4.0 and 4.5.2. MacOSX 10.5.8 G5 Dual 2.5 ghz - not tested on > other platforms. > > > any comments or ideas welcomed.. > > > - ! - > > > Stephen Barncard > San Francisco Ca. USA > * * > > more about sqb > > -- Stephen Barncard San Francisco Ca. USA more about sqb From scott at tactilemedia.com Sun Dec 12 02:40:16 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 11 Dec 2010 23:40:16 -0800 Subject: Suffixes Rename_Anomaly - Renaming batch files in Livecode In-Reply-To: Message-ID: Recently, stephen barncard wrote: > So no one here has used *rename* lately? I have a renaming stack that I made ages ago for bulk renaming files. It still seems to work as expected. When I try your stack and follow your instructions, pressing the blue button adds a "not found" label to each item in the outputText field and nothing happens in the finder. Not sure where the issue is in your existing stack, but can you try a simpler version that does a basic rename just to verify the problem? Regards, Scott Rossi Creative Director Tactile Media, UX Design From bonnmike at gmail.com Sun Dec 12 02:55:42 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 12 Dec 2010 00:55:42 -0700 Subject: Suffixes Rename_Anomaly - Renaming batch files in Livecode In-Reply-To: References: Message-ID: Found it. In your data box, put your cursor between the . and the i in delphi (track 12). Hit delete. Twice to get rid of the i then retype the i and it'll work. Is this another example of a unicode problem or something of that nature? All the files on the right (at the start) are this way, and fixing them solves the issue. On Sat, Dec 11, 2010 at 11:42 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > So no one here has used *rename* lately? > > On 11 December 2010 16:03, stephen barncard < > stephenREVOLUTION2 at barncard.com > > wrote: > > > Hi Gang. > > > > This one has me baffled. Head against desk for a while. > > > > please load my test stack with > > > > go stack URL "http://fulton.barncard.com/bugz/multilineRenameBug.rev" > > > > > > (It only creates suffixed files in a folder that you create or point to > > after clicking a button.) > > > > I am renaming files like this in a script in a loop: > > > > Rename file "/Volumes/20101202 USB-320/test rename2/1 Audio Track.aiff" > to > > "/Volumes/20101202 USB-320/test rename2/1 Audio Track.aiff" > > > > results in files being renamed, but minus the dot suffix, like "01 > > Aerogel" instead of the desired "01 Aerogel.aiff" > > > > 1. hasn't anyone noticed? > > 2. Could it be related to that annoying message that comes up when users > > try to change suffixes ? > > 3. Or is it an engine bug? > > > > Has anyone else experienced this? I'm about to make a bug report. THis is > > happening in 4.0 and 4.5.2. MacOSX 10.5.8 G5 Dual 2.5 ghz - not tested > on > > other platforms. > > > > > > any comments or ideas welcomed.. > > > > > > - ! - > > > > > > Stephen Barncard > > San Francisco Ca. USA > > * * > > > > more about sqb > > > > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From stephenREVOLUTION2 at barncard.com Sun Dec 12 03:03:06 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 12 Dec 2010 00:03:06 -0800 Subject: Suffixes Rename_Anomaly - Renaming batch files in Livecode In-Reply-To: References: Message-ID: Thanks for responding, Scott. I will check the stack again. It's about as simple as I can make it. If files weren't created, then obviously nothing else will happen. For the demonstration to work a group of files must be created with the names that are in the left hand column. These files are renamed to the names on the left. Outside of the adding of the full paths to the names, it comes down to rename file a to b and used in a loop, the renamed files don't have suffixes. The effect can only be seen when changing multiple names in a folder. The by repeatedly changing the names back and forth by pressing the rename button, you see the suffixes disappear. After a 'successful' (no error indicated) rename from the result, the a list is put into the b list and it can 'undo' the name change. If that gets out of sync, then one has to delete the files and start over. Maybe I have to make a video. I've been banging on this problem for days now. I really think it's a bug. I will take another look at the demo. On 11 December 2010 23:40, Scott Rossi wrote: > Recently, stephen barncard wrote: > > > So no one here has used *rename* lately? > > I have a renaming stack that I made ages ago for bulk renaming files. It > still seems to work as expected. > > When I try your stack and follow your instructions, pressing the blue > button > adds a "not found" label to each item in the outputText field and nothing > happens in the finder. Not sure where the issue is in your existing stack, > but can you try a simpler version that does a basic rename just to verify > the problem? > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From stephenREVOLUTION2 at barncard.com Sun Dec 12 03:22:29 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 12 Dec 2010 00:22:29 -0800 Subject: Suffixes Rename_Anomaly - Renaming batch files in Livecode In-Reply-To: References: Message-ID: Good one Mike. Now I have to find out how to detect and filter the damn things. The list of songs on the right comes from some very old CD and DAT labeling stacks that were saved as RTF. What's happening is that I'm transferring all my DAT tapes to a hard drive archive, but all I get are files named marker 1.aiff, marker 2.aiff as the indexes turn the sections into files. I have corresponding labels with song listings that correspond to the indexes. This stack I'm creating now just matches those old lists with the sequential generic named files and renames them. On 11 December 2010 23:55, Mike Bonner wrote: > Found it. In your data box, put your cursor between the . and the i in > delphi (track 12). Hit delete. Twice to get rid of the i then retype the i > and it'll work. Is this another example of a unicode problem or something > of that nature? All the files on the right (at the start) are this way, and > fixing them solves the issue. > > > On Sat, Dec 11, 2010 at 11:42 PM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > > > So no one here has used *rename* lately? > > > > On 11 December 2010 16:03, stephen barncard < > > stephenREVOLUTION2 at barncard.com > > > wrote: > > > > > Hi Gang. > > > > > > This one has me baffled. Head against desk for a while. > > > > > > please load my test stack with > > > > > > go stack URL "http://fulton.barncard.com/bugz/multilineRenameBug.rev" > > > > > > > > > (It only creates suffixed files in a folder that you create or point to > > > after clicking a button.) > > > > > > I am renaming files like this in a script in a loop: > > > > > > Rename file "/Volumes/20101202 USB-320/test rename2/1 Audio Track.aiff" > > to > > > "/Volumes/20101202 USB-320/test rename2/1 Audio Track.aiff" > > > > > > results in files being renamed, but minus the dot suffix, like "01 > > > Aerogel" instead of the desired "01 Aerogel.aiff" > > > > > > 1. hasn't anyone noticed? > > > 2. Could it be related to that annoying message that comes up when > users > > > try to change suffixes ? > > > 3. Or is it an engine bug? > > > > > > Has anyone else experienced this? I'm about to make a bug report. THis > is > > > happening in 4.0 and 4.5.2. MacOSX 10.5.8 G5 Dual 2.5 ghz - not > tested > > on > > > other platforms. > > > > > > > > > any comments or ideas welcomed.. > > > > > > > > > - ! - > > > > > > > > > Stephen Barncard > > > San Francisco Ca. USA > > > * * > > > > > > more about sqb > > > > > > > > > > > > -- > > > > > > > > Stephen Barncard > > San Francisco Ca. USA > > > > more about sqb > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From bonnmike at gmail.com Sun Dec 12 03:25:55 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 12 Dec 2010 01:25:55 -0700 Subject: Suffixes Rename_Anomaly - Renaming batch files in Livecode In-Reply-To: References: Message-ID: Can you do something like.. if char -6 of item 2 of tln is not a character then put empty into char -6 of item 2 of tln? Haven't tried it here. On Sun, Dec 12, 2010 at 1:22 AM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > Good one Mike. Now I have to find out how to detect and filter the damn > things. The list of songs on the right comes from some very old CD and DAT > labeling stacks that were saved as RTF. > > What's happening is that I'm transferring all my DAT tapes to a hard drive > archive, but all I get are files named marker 1.aiff, marker 2.aiff as the > indexes turn the sections into files. I have corresponding labels with song > listings that correspond to the indexes. This stack I'm creating now just > matches those old lists with the sequential generic named files and > renames > them. > > On 11 December 2010 23:55, Mike Bonner wrote: > > > Found it. In your data box, put your cursor between the . and the i in > > delphi (track 12). Hit delete. Twice to get rid of the i then retype the > i > > and it'll work. Is this another example of a unicode problem or > something > > of that nature? All the files on the right (at the start) are this way, > and > > fixing them solves the issue. > > > > > > On Sat, Dec 11, 2010 at 11:42 PM, stephen barncard < > > stephenREVOLUTION2 at barncard.com> wrote: > > > > > So no one here has used *rename* lately? > > > > > > On 11 December 2010 16:03, stephen barncard < > > > stephenREVOLUTION2 at barncard.com > > > > wrote: > > > > > > > Hi Gang. > > > > > > > > This one has me baffled. Head against desk for a while. > > > > > > > > please load my test stack with > > > > > > > > go stack URL "http://fulton.barncard.com/bugz/multilineRenameBug.rev > " > > > > > > > > > > > > (It only creates suffixed files in a folder that you create or point > to > > > > after clicking a button.) > > > > > > > > I am renaming files like this in a script in a loop: > > > > > > > > Rename file "/Volumes/20101202 USB-320/test rename2/1 Audio > Track.aiff" > > > to > > > > "/Volumes/20101202 USB-320/test rename2/1 Audio Track.aiff" > > > > > > > > results in files being renamed, but minus the dot suffix, like "01 > > > > Aerogel" instead of the desired "01 Aerogel.aiff" > > > > > > > > 1. hasn't anyone noticed? > > > > 2. Could it be related to that annoying message that comes up when > > users > > > > try to change suffixes ? > > > > 3. Or is it an engine bug? > > > > > > > > Has anyone else experienced this? I'm about to make a bug report. > THis > > is > > > > happening in 4.0 and 4.5.2. MacOSX 10.5.8 G5 Dual 2.5 ghz - not > > tested > > > on > > > > other platforms. > > > > > > > > > > > > any comments or ideas welcomed.. > > > > > > > > > > > > - ! - > > > > > > > > > > > > Stephen Barncard > > > > San Francisco Ca. USA > > > > * * > > > > > > > > more about sqb > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > Stephen Barncard > > > San Francisco Ca. USA > > > > > > more about sqb > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Sun Dec 12 03:45:40 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 12 Dec 2010 01:45:40 -0700 Subject: Suffixes Rename_Anomaly - Renaming batch files in Livecode In-Reply-To: References: Message-ID: Assuming the strangeness is reliable, this should solve the issue. put replacetext(b,"[^a-zA-Z]\.",".") into b On Sun, Dec 12, 2010 at 1:25 AM, Mike Bonner wrote: > Can you do something like.. if char -6 of item 2 of tln is not a character > then put empty into char -6 of item 2 of tln? > Haven't tried it here. > > On Sun, Dec 12, 2010 at 1:22 AM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > >> Good one Mike. Now I have to find out how to detect and filter the damn >> things. The list of songs on the right comes from some very old CD and DAT >> labeling stacks that were saved as RTF. >> >> What's happening is that I'm transferring all my DAT tapes to a hard drive >> archive, but all I get are files named marker 1.aiff, marker 2.aiff as the >> indexes turn the sections into files. I have corresponding labels with >> song >> listings that correspond to the indexes. This stack I'm creating now just >> matches those old lists with the sequential generic named files and >> renames >> them. >> >> On 11 December 2010 23:55, Mike Bonner wrote: >> >> > Found it. In your data box, put your cursor between the . and the i in >> > delphi (track 12). Hit delete. Twice to get rid of the i then retype the >> i >> > and it'll work. Is this another example of a unicode problem or >> something >> > of that nature? All the files on the right (at the start) are this way, >> and >> > fixing them solves the issue. >> > >> > >> > On Sat, Dec 11, 2010 at 11:42 PM, stephen barncard < >> > stephenREVOLUTION2 at barncard.com> wrote: >> > >> > > So no one here has used *rename* lately? >> > > >> > > On 11 December 2010 16:03, stephen barncard < >> > > stephenREVOLUTION2 at barncard.com >> > > > wrote: >> > > >> > > > Hi Gang. >> > > > >> > > > This one has me baffled. Head against desk for a while. >> > > > >> > > > please load my test stack with >> > > > >> > > > go stack URL " >> http://fulton.barncard.com/bugz/multilineRenameBug.rev" >> > > > >> > > > >> > > > (It only creates suffixed files in a folder that you create or point >> to >> > > > after clicking a button.) >> > > > >> > > > I am renaming files like this in a script in a loop: >> > > > >> > > > Rename file "/Volumes/20101202 USB-320/test rename2/1 Audio >> Track.aiff" >> > > to >> > > > "/Volumes/20101202 USB-320/test rename2/1 Audio Track.aiff" >> > > > >> > > > results in files being renamed, but minus the dot suffix, like "01 >> > > > Aerogel" instead of the desired "01 Aerogel.aiff" >> > > > >> > > > 1. hasn't anyone noticed? >> > > > 2. Could it be related to that annoying message that comes up when >> > users >> > > > try to change suffixes ? >> > > > 3. Or is it an engine bug? >> > > > >> > > > Has anyone else experienced this? I'm about to make a bug report. >> THis >> > is >> > > > happening in 4.0 and 4.5.2. MacOSX 10.5.8 G5 Dual 2.5 ghz - not >> > tested >> > > on >> > > > other platforms. >> > > > >> > > > >> > > > any comments or ideas welcomed.. >> > > > >> > > > >> > > > - ! - >> > > > >> > > > >> > > > Stephen Barncard >> > > > San Francisco Ca. USA >> > > > * * >> > > > >> > > > more about sqb >> > > > >> > > > >> > > >> > > >> > > -- >> > > >> > > >> > > >> > > Stephen Barncard >> > > San Francisco Ca. USA >> > > >> > > more about sqb >> > > _______________________________________________ >> > > use-livecode mailing list >> > > use-livecode at lists.runrev.com >> > > Please visit this url to subscribe, unsubscribe and manage your >> > > subscription preferences: >> > > http://lists.runrev.com/mailman/listinfo/use-livecode >> > > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> >> >> >> -- >> >> >> >> Stephen Barncard >> San Francisco Ca. USA >> >> more about sqb >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From keith.clarke at clarkeandclarke.co.uk Sun Dec 12 03:54:13 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sun, 12 Dec 2010 08:54:13 +0000 Subject: RevServer set-up on OSX Server In-Reply-To: References: <66F78E6F-6463-49C5-B2A7-0CE0CA31B297@clarkeandclarke.co.uk> Message-ID: <28C42450-2866-414B-B4F1-F64BE8CEC9D3@clarkeandclarke.co.uk> Andre, Thanks for playing this new game(!) but it looks like round 2 may take a while yet... I prepared my home server with a new virtual host for revserver development; added a dyndns host to access the server from the Internet and tested with my iPhone; added revserver with CGI settings, etc. So, I just needed a 'hello world' rev test page. I had a site ready in RapidWeaver that I just needed to publish, so the last step was to open-up local file sharing so that I could upload the test website from my MacBook Pro. The server appeared on my MBP's Finder briefly but then disappeared. So, I rebooted the box and now have no home server until I get to the genius bar to unlock the box! http://discussions.apple.com/thread.jspa?threadID=2679909&tstart=0 Still, better to lose my experimental home server than my company VPS! Do you think someone is trying to tell me something? ;-) Best, Keith.. On 10 Dec 2010, at 12:10, Andre Garzia wrote: > Keith, > > Let us do the second round!!! :-D > > First is this something that will be accessed from outside or is just for > local development? > > Setup is basically the same, just put the revserver distribution inside > > /Library/WebServer/CGI-Executables > > then fix your .htaccess on the web documents folder next to CGI-Executables > and put those silly add handlers there, also don't forget the ExecCGI > options. > > :D > > > > On Fri, Dec 10, 2010 at 8:23 AM, Keith Clarke < > keith.clarke at clarkeandclarke.co.uk> wrote: > >> Hi Folks, >> Is there any guidance around concering how-to get OSX Server with revServer >> configured? >> Thanks, >> Keith.. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre.bisseret at wanadoo.fr Sun Dec 12 05:45:37 2010 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Sun, 12 Dec 2010 11:45:37 +0100 Subject: How to write the "|" char in a script In-Reply-To: <2B59993B-58C4-4784-ABD6-D3411F00845E@clarkeandclarke.co.uk> References: <2B59993B-58C4-4784-ABD6-D3411F00845E@clarkeandclarke.co.uk> Message-ID: <5897850F-72C7-4298-9D5B-227C5BAB9D2C@wanadoo.fr> Le 11 d?c. 2010 ? 21:51, Keith Clarke a ?crit : > ...I'd recommend PopChar for Mac - any character is just a click away. Thanks much Keith for your reply. I had a quick look at the ergonis site ; PopChar seems to be a very usefull tool indeed! I will go back there to see their video and consider to buy it Best Andr? > > On 11 Dec 2010, at 19:11, Andr? Bisseret wrote: > >> >> Le 11 d?c. 2010 ? 18:27, David C. a ?crit : >> >>> On Sat, Dec 11, 2010 at 11:04 AM, Andr? Bisseret >>> wrote: >> ... >> >>>> >>>> While I know how to get / or \ ;-)), I can't find out how to write the vertical bar separator in the script! >>>> I mean, what is the keyboard touches combination (if there is one!) to get the vertical character? >>>> >>>> Thanks for any reply >>> >>> Hello Andr?, >>> On my US/Windows based keyboard, the "|" character is a shifted >>> backslash "\", located just under the backspace key. >> On Mac with french keyboard, that does not work >> >>> The Decimal/Ascii >>> value is 124. >>> >>> numToChar(124) = | >>> >>> Hope that helps. >> >> Sure that helps ; I am keeping that in my doc >> >> Thank you very much David >> >> Best >> >> Andr? >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From liste.revo at medard.on-rev.com Sun Dec 12 05:53:07 2010 From: liste.revo at medard.on-rev.com (Medard) Date: Sun, 12 Dec 2010 11:53:07 +0100 Subject: Something strange with On-Rev In-Reply-To: <4D040CA4.1050003@tweedly.net> Message-ID: <1jtds4q.slixjfhz3rnfM%liste.revo@medard.on-rev.com> Alex Tweedly wrote: > That's just the way "ls -l" works ..... > > if the modification date is a while ago, words 6 - 8 contain the date, > month and year > if the modification date is recent enough, words 6 - 8 contain the date, > month and time Okay! You solved the mystery :-) From andre.bisseret at wanadoo.fr Sun Dec 12 05:55:08 2010 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Sun, 12 Dec 2010 11:55:08 +0100 Subject: How to write the "|" char in a script In-Reply-To: References: <2B59993B-58C4-4784-ABD6-D3411F00845E@clarkeandclarke.co.uk> Message-ID: Le 11 d?c. 2010 ? 22:01, Colin Holgate a ?crit : > > On Dec 11, 2010, at 3:51 PM, Keith Clarke wrote: > >> ...I'd recommend PopChar for Mac - any character is just a click away. > > Alternately you can go to Keyboard in System Preferences, and check the box that says "Show Keyboard & Character Viewer in menu bar". That's how I figured out the keys to use on a French keyboard. Thank you for this idea. I have the "Show keyboard & character viewer" checked. But I don't find it on my Mac! Seems I am missing something: the menu bar doesn't change either it is checked or not!! Best Andr? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From liste.revo at medard.on-rev.com Sun Dec 12 06:00:06 2010 From: liste.revo at medard.on-rev.com (Medard) Date: Sun, 12 Dec 2010 12:00:06 +0100 Subject: A curious script editor error on saving a stack Message-ID: <1jtdye7.1ugg8ty7lyo9sM%liste.revo@medard.on-rev.com> As I was testing some scripts on a demo stack, I got a curious error... It seems that this error lies in the script editor; a figure worthing 1000 words, please go and see here: http://medard.on-rev.com/tempo/erreur_livecode.PNG I quitted LC a number of times, saved the stack under a new name, with no luck... LiveCode 4.5 on Mac OS X 10.6.5 From keith.clarke at clarkeandclarke.co.uk Sun Dec 12 06:04:01 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sun, 12 Dec 2010 11:04:01 +0000 Subject: How to write the "|" char in a script In-Reply-To: <5897850F-72C7-4298-9D5B-227C5BAB9D2C@wanadoo.fr> References: <2B59993B-58C4-4784-ABD6-D3411F00845E@clarkeandclarke.co.uk> <5897850F-72C7-4298-9D5B-227C5BAB9D2C@wanadoo.fr> Message-ID: <5C316E22-BAA6-4753-B1B5-954EB4974AC4@clarkeandclarke.co.uk> ...yes, I have their productivity bundle in my personal tool-belt. Key-Cue reminds me of short-cuts by just holding down the ? key (which is one of my PopChar favourites!) Best, Keith.. On 12 Dec 2010, at 10:45, Andr? Bisseret wrote: > > Le 11 d?c. 2010 ? 21:51, Keith Clarke a ?crit : > >> ...I'd recommend PopChar for Mac - any character is just a click away. > > Thanks much Keith for your reply. > I had a quick look at the ergonis site ; PopChar seems to be a very usefull tool indeed! > I will go back there to see their video and consider to buy it > > Best > > Andr? >> >> On 11 Dec 2010, at 19:11, Andr? Bisseret wrote: >> >>> >>> Le 11 d?c. 2010 ? 18:27, David C. a ?crit : >>> >>>> On Sat, Dec 11, 2010 at 11:04 AM, Andr? Bisseret >>>> wrote: >>> ... >>> >>>>> >>>>> While I know how to get / or \ ;-)), I can't find out how to write the vertical bar separator in the script! >>>>> I mean, what is the keyboard touches combination (if there is one!) to get the vertical character? >>>>> >>>>> Thanks for any reply >>>> >>>> Hello Andr?, >>>> On my US/Windows based keyboard, the "|" character is a shifted >>>> backslash "\", located just under the backspace key. >>> On Mac with french keyboard, that does not work >>> >>>> The Decimal/Ascii >>>> value is 124. >>>> >>>> numToChar(124) = | >>>> >>>> Hope that helps. >>> >>> Sure that helps ; I am keeping that in my doc >>> >>> Thank you very much David >>> >>> Best >>> >>> Andr? >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre.bisseret at wanadoo.fr Sun Dec 12 06:09:44 2010 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Sun, 12 Dec 2010 12:09:44 +0100 Subject: How to write the "|" char in a script In-Reply-To: <20101211183215.PKWUT.432187.imail@fed1rmwml34> References: <20101211183215.PKWUT.432187.imail@fed1rmwml34> Message-ID: <7A96A32B-B947-40E8-B5CC-11FFB68545F1@wanadoo.fr> Le 12 d?c. 2010 ? 00:32, a ?crit : > I often use it as a item delimiter and on my MacPro keyboard it is Shift backslash, the last key to the right in the third row from the top. > > Joe Wilkins I had tried that but, on my MacBook Pro (french) shift backslash does not work (return backslash!!) Here backslash is next to last in the fourth row! Thanks you Joe for your attention Andr? > ---- Colin Holgate wrote: >> >> On Dec 11, 2010, at 3:51 PM, Keith Clarke wrote: >> >>> ...I'd recommend PopChar for Mac - any character is just a click away. >> >> Alternately you can go to Keyboard in System Preferences, and check the box that says "Show Keyboard & Character Viewer in menu bar". That's how I figured out the keys to use on a French keyboard. >> From m.schonewille at economy-x-talk.com Sun Dec 12 06:19:28 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 12 Dec 2010 12:19:28 +0100 Subject: A curious script editor error on saving a stack In-Reply-To: <1jtdye7.1ugg8ty7lyo9sM%liste.revo@medard.on-rev.com> References: <1jtdye7.1ugg8ty7lyo9sM%liste.revo@medard.on-rev.com> Message-ID: Hi Medard, Cards have no text. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 How to receive a free Color Converter license http://qurl.tk/kv (read the conditions) On 12 dec 2010, at 12:00, Medard wrote: > As I was testing some scripts on a demo stack, I got a curious error... > > It seems that this error lies in the script editor; > a figure worthing 1000 words, please go and see here: > > http://medard.on-rev.com/tempo/erreur_livecode.PNG > > I quitted LC a number of times, saved the stack under a new name, with > no luck... > > LiveCode 4.5 on Mac OS X 10.6.5 From liste.revo at medard.on-rev.com Sun Dec 12 08:09:57 2010 From: liste.revo at medard.on-rev.com (Medard) Date: Sun, 12 Dec 2010 14:09:57 +0100 Subject: A curious script editor error on saving a stack In-Reply-To: Message-ID: <1jte4l3.wwd1sy4nq7i9M%liste.revo@medard.on-rev.com> Mark Schonewille wrote: > Cards have no text. Okay, you're right! I took a more thorough look, and it appears that there were a faulty card script, with ancient test pieces of code ;-> From andre at andregarzia.com Sun Dec 12 08:37:49 2010 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 12 Dec 2010 11:37:49 -0200 Subject: RevServer set-up on OSX Server In-Reply-To: <28C42450-2866-414B-B4F1-F64BE8CEC9D3@clarkeandclarke.co.uk> References: <66F78E6F-6463-49C5-B2A7-0CE0CA31B297@clarkeandclarke.co.uk> <28C42450-2866-414B-B4F1-F64BE8CEC9D3@clarkeandclarke.co.uk> Message-ID: irgh!!!! at least the revserver part worked right? What I do here is this: * I use superduper to make a bootable clone of my HD in an external Hard Drive. * In the rare cases that my mac goes crazy, I reboot from the external hd and then fix the problem. most of the times my mac will not hang during boot but some other stuff sometimes makes it unresponsive, for these cases, I usually use a secondary laptop and ssh to reboot the silly apple machine. once I was bit so badly by these malfunctions of apple computers and overall bad service of Brazilian authorized apple techinical services (they took four months to fix my mac and I had apple care). that for a while, I always had two or three laptops cloned into each other as a failsafe, this way, if one of them went dodo, I had two real hardware copies. On Sun, Dec 12, 2010 at 6:54 AM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > Andre, > Thanks for playing this new game(!) but it looks like round 2 may take a > while yet... > > I prepared my home server with a new virtual host for revserver > development; added a dyndns host to access the server from the Internet and > tested with my iPhone; added revserver with CGI settings, etc. So, I just > needed a 'hello world' rev test page. > > I had a site ready in RapidWeaver that I just needed to publish, so the > last step was to open-up local file sharing so that I could upload the test > website from my MacBook Pro. The server appeared on my MBP's Finder briefly > but then disappeared. > > So, I rebooted the box and now have no home server until I get to the > genius bar to unlock the box! > http://discussions.apple.com/thread.jspa?threadID=2679909&tstart=0 > > Still, better to lose my experimental home server than my company VPS! > > Do you think someone is trying to tell me something? ;-) > Best, > Keith.. > > On 10 Dec 2010, at 12:10, Andre Garzia wrote: > > > Keith, > > > > Let us do the second round!!! :-D > > > > First is this something that will be accessed from outside or is just for > > local development? > > > > Setup is basically the same, just put the revserver distribution inside > > > > /Library/WebServer/CGI-Executables > > > > then fix your .htaccess on the web documents folder next to > CGI-Executables > > and put those silly add handlers there, also don't forget the ExecCGI > > options. > > > > :D > > > > > > > > On Fri, Dec 10, 2010 at 8:23 AM, Keith Clarke < > > keith.clarke at clarkeandclarke.co.uk> wrote: > > > >> Hi Folks, > >> Is there any guidance around concering how-to get OSX Server with > revServer > >> configured? > >> Thanks, > >> Keith.. > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > > > -- > > http://www.andregarzia.com All We Do Is Code. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From coiin at verizon.net Sun Dec 12 10:28:58 2010 From: coiin at verizon.net (Colin Holgate) Date: Sun, 12 Dec 2010 10:28:58 -0500 Subject: How to write the "|" char in a script In-Reply-To: References: <2B59993B-58C4-4784-ABD6-D3411F00845E@clarkeandclarke.co.uk> Message-ID: On Dec 12, 2010, at 5:55 AM, Andr? Bisseret wrote: > I have the "Show keyboard & character viewer" checked. > But I don't find it on my Mac! By now you should have a keyboard menu near the right end of your menu bar. Mine is between the AirPort and Sound icons. It would look like a French flag for you. If it's not there, go into the language & text preferences and select the "show input menu in menu bar" option (whatever the French for that is!). The Show Character Viewer and Show Keyboard Viewer are both in that menu. From andre.bisseret at wanadoo.fr Sun Dec 12 11:31:14 2010 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Sun, 12 Dec 2010 17:31:14 +0100 Subject: How to write the "|" char in a script In-Reply-To: References: <2B59993B-58C4-4784-ABD6-D3411F00845E@clarkeandclarke.co.uk> Message-ID: <1EEEB9AE-4485-48F1-9955-8B7953B27E3F@wanadoo.fr> Le 12 d?c. 2010 ? 16:28, Colin Holgate a ?crit : > > > On Dec 12, 2010, at 5:55 AM, Andr? Bisseret wrote: > >> I have the "Show keyboard & character viewer" checked. >> But I don't find it on my Mac! > > By now you should have a keyboard menu near the right end of your menu bar. Mine is between the AirPort and Sound icons. It would look like a French flag for you. Ah! yes! I have the French flag menu! I did not have the idea to have a look there ; I never noticed these "Character Viewer" and "Keyboard Viewer" in this menu! Thank you very much Colin Andr? > If it's not there, go into the language & text preferences and select the "show input menu in menu bar" option (whatever the French for that is!). > > The Show Character Viewer and Show Keyboard Viewer are both in that menu. > From bvlahos at mac.com Sun Dec 12 11:35:20 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 12 Dec 2010 08:35:20 -0800 Subject: closeField and the clear command Message-ID: <3A4F597F-4367-4305-8088-53D7E7359CCE@mac.com> The docs say that if you "put" something from a script into a field no closeField message is sent. This appears to be the same as if you delete (menuItem Clear) as well. Is this the correct behavior because the docs don't mention it? Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. From coiin at verizon.net Sun Dec 12 11:44:49 2010 From: coiin at verizon.net (Colin Holgate) Date: Sun, 12 Dec 2010 11:44:49 -0500 Subject: How to write the "|" char in a script In-Reply-To: <1EEEB9AE-4485-48F1-9955-8B7953B27E3F@wanadoo.fr> References: <2B59993B-58C4-4784-ABD6-D3411F00845E@clarkeandclarke.co.uk> <1EEEB9AE-4485-48F1-9955-8B7953B27E3F@wanadoo.fr> Message-ID: <04DA72A3-882F-4C38-8667-D60896494FBA@verizon.net> On Dec 12, 2010, at 11:31 AM, Andr? Bisseret wrote: > > I did not have the idea to have a look there ; I never noticed these "Character Viewer" and "Keyboard Viewer" in this menu! Well, they weren't there until a short while ago when you made that selection in the system preferences! From keith.clarke at clarkeandclarke.co.uk Sun Dec 12 11:57:46 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sun, 12 Dec 2010 16:57:46 +0000 Subject: RevServer set-up on OSX Server In-Reply-To: References: <66F78E6F-6463-49C5-B2A7-0CE0CA31B297@clarkeandclarke.co.uk> <28C42450-2866-414B-B4F1-F64BE8CEC9D3@clarkeandclarke.co.uk> Message-ID: On 12 Dec 2010, at 13:37, Andre Garzia wrote: > irgh!!!! > > at least the revserver part worked right? I don't know!! I was rebooting to allow me to copy over the test page when it died (aaargh!) > > What I do here is this: > > * I use superduper to make a bootable clone of my HD in an external Hard > Drive. > * In the rare cases that my mac goes crazy, I reboot from the external hd > and then fix the problem. > > most of the times my mac will not hang during boot but some other stuff > sometimes makes it unresponsive, for these cases, I usually use a secondary > laptop and ssh to reboot the silly apple machine. Good ideas about back-up and remote mgt but I think I've got some kind of hardware failure, as the Mini isn't completing its POST because I can't force it to start with a system DVD or reboot via remote server admin tools. Looks like it's the genius bar for me! > > once I was bit so badly by these malfunctions of apple computers and overall > bad service of Brazilian authorized apple techinical services (they took > four months to fix my mac and I had apple care). that for a while, I always > had two or three laptops cloned into each other as a failsafe, this way, if > one of them went dodo, I had two real hardware copies. > > On Sun, Dec 12, 2010 at 6:54 AM, Keith Clarke < > keith.clarke at clarkeandclarke.co.uk> wrote: > >> Andre, >> Thanks for playing this new game(!) but it looks like round 2 may take a >> while yet... >> >> I prepared my home server with a new virtual host for revserver >> development; added a dyndns host to access the server from the Internet and >> tested with my iPhone; added revserver with CGI settings, etc. So, I just >> needed a 'hello world' rev test page. >> >> I had a site ready in RapidWeaver that I just needed to publish, so the >> last step was to open-up local file sharing so that I could upload the test >> website from my MacBook Pro. The server appeared on my MBP's Finder briefly >> but then disappeared. >> >> So, I rebooted the box and now have no home server until I get to the >> genius bar to unlock the box! >> http://discussions.apple.com/thread.jspa?threadID=2679909&tstart=0 >> >> Still, better to lose my experimental home server than my company VPS! >> >> Do you think someone is trying to tell me something? ;-) >> Best, >> Keith.. >> >> On 10 Dec 2010, at 12:10, Andre Garzia wrote: >> >>> Keith, >>> >>> Let us do the second round!!! :-D >>> >>> First is this something that will be accessed from outside or is just for >>> local development? >>> >>> Setup is basically the same, just put the revserver distribution inside >>> >>> /Library/WebServer/CGI-Executables >>> >>> then fix your .htaccess on the web documents folder next to >> CGI-Executables >>> and put those silly add handlers there, also don't forget the ExecCGI >>> options. >>> >>> :D >>> >>> >>> >>> On Fri, Dec 10, 2010 at 8:23 AM, Keith Clarke < >>> keith.clarke at clarkeandclarke.co.uk> wrote: >>> >>>> Hi Folks, >>>> Is there any guidance around concering how-to get OSX Server with >> revServer >>>> configured? >>>> Thanks, >>>> Keith.. >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> >>> -- >>> http://www.andregarzia.com All We Do Is Code. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Sun Dec 12 12:48:05 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Sun, 12 Dec 2010 12:48:05 -0500 Subject: closeField and the clear command In-Reply-To: <3A4F597F-4367-4305-8088-53D7E7359CCE@mac.com> References: <3A4F597F-4367-4305-8088-53D7E7359CCE@mac.com> Message-ID: <6E25B438-9A2F-4328-89CD-7538C78ED669@gmail.com> On Dec 12, 2010, at 11:35 AM, Bill Vlahos wrote: > The docs say that if you "put" something from a script into a field > no closeField message is sent. > > This appears to be the same as if you delete (menuItem Clear) as > well. Is this the correct behavior because the docs don't mention it? This appears to be true. You will probably have to intercept the backspaceKey and deleteKey messages and add a "send closefield to the target" message after the deletion. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pete at mollysrevenge.com Sun Dec 12 13:27:29 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Sun, 12 Dec 2010 10:27:29 -0800 Subject: selectionChanged message Message-ID: I have a front script that intercepts the selectionChanged message to deal with some special handling of datagrids. The dictionary says that selectionChanged is "Sent to a field or player when the selection is changed." Obviously the datagrid message should be added to that description but it also seems form error I get in my script that other events cause a selectionChanged message to be created. Does anyone have any experience of all the events that cause this message to be generated? Thanks, Pete Haworth From mwieder at ahsoftware.net Sun Dec 12 14:08:35 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 12 Dec 2010 11:08:35 -0800 Subject: OT: Powers of Ten Message-ID: <1632043618109.20101212110835@ahsoftware.net> Completely off any topic, but it's Sunday, so... http://micro.magnet.fsu.edu/primer/java/scienceopticsu/powersof10/ -- -Mark Wieder mwieder at ahsoftware.net From coiin at verizon.net Sun Dec 12 14:50:29 2010 From: coiin at verizon.net (Colin Holgate) Date: Sun, 12 Dec 2010 14:50:29 -0500 Subject: OT: Powers of Ten In-Reply-To: <1632043618109.20101212110835@ahsoftware.net> References: <1632043618109.20101212110835@ahsoftware.net> Message-ID: On Dec 12, 2010, at 2:08 PM, Mark Wieder wrote: > Completely off any topic, but it's Sunday, so... > > http://micro.magnet.fsu.edu/primer/java/scienceopticsu/powersof10/ Here's something related, a screen recording of a museum kiosk I programmed ten years ago, for the planetarium in NYC: http://xfiles.funnygarbage.com/~colinholgate/video/planetarium/SS.mov Here are the other two things I programmed for them: http://xfiles.funnygarbage.com/~colinholgate/video/planetarium/TL.mov http://xfiles.funnygarbage.com/~colinholgate/video/planetarium/FE.mov The FE one is 46MB, but then it is 4:33 long. From psahores at free.fr Sun Dec 12 14:50:52 2010 From: psahores at free.fr (Pierre Sahores) Date: Sun, 12 Dec 2010 20:50:52 +0100 Subject: OT: Powers of Ten In-Reply-To: <1632043618109.20101212110835@ahsoftware.net> References: <1632043618109.20101212110835@ahsoftware.net> Message-ID: <5D3F3CBA-F495-4F9F-9348-9BB8A6662205@free.fr> Du guidon ? la selle, il reste manifestement de la place... ;-) > Le 12 d?c. 2010 ? 20:08, Mark Wieder a ?crit : > Completely off any topic, but it's Sunday, so... > > http://micro.magnet.fsu.edu/primer/java/scienceopticsu/powersof10/ > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From psahores at free.fr Sun Dec 12 14:53:52 2010 From: psahores at free.fr (Pierre Sahores) Date: Sun, 12 Dec 2010 20:53:52 +0100 Subject: OT: Powers of Ten In-Reply-To: References: <1632043618109.20101212110835@ahsoftware.net> Message-ID: Colin, Links seems to be out of date there (error 404). Best regards, Pierre Le 12 d?c. 2010 ? 20:50, Colin Holgate a ?crit : > > On Dec 12, 2010, at 2:08 PM, Mark Wieder wrote: > >> Completely off any topic, but it's Sunday, so... >> >> http://micro.magnet.fsu.edu/primer/java/scienceopticsu/powersof10/ > > Here's something related, a screen recording of a museum kiosk I programmed ten years ago, for the planetarium in NYC: > > http://xfiles.funnygarbage.com/~colinholgate/video/planetarium/SS.mov > > Here are the other two things I programmed for them: > > http://xfiles.funnygarbage.com/~colinholgate/video/planetarium/TL.mov > > http://xfiles.funnygarbage.com/~colinholgate/video/planetarium/FE.mov > > The FE one is 46MB, but then it is 4:33 long. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From coiin at verizon.net Sun Dec 12 14:58:09 2010 From: coiin at verizon.net (Colin Holgate) Date: Sun, 12 Dec 2010 14:58:09 -0500 Subject: OT: Powers of Ten In-Reply-To: References: <1632043618109.20101212110835@ahsoftware.net> Message-ID: <0139138F-A2ED-46A6-8E4A-A26017D602D7@verizon.net> On Dec 12, 2010, at 2:53 PM, Pierre Sahores wrote: > Colin, > > Links seems to be out of date there (error 404). Thanks, I forgot that I was exporting them as MP4: http://xfiles.funnygarbage.com/~colinholgate/video/planetarium/SS.mp4 http://xfiles.funnygarbage.com/~colinholgate/video/planetarium/TL.mp4 http://xfiles.funnygarbage.com/~colinholgate/video/planetarium/FE.mp4 From warrenkuhl at gmail.com Sun Dec 12 15:04:36 2010 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Sun, 12 Dec 2010 14:04:36 -0600 Subject: Text Wrapping Message-ID: I understand that when you have text wrapping on a field, it uses spaces to wrap words. I have situations where the "word" length (data doesn't have spaces) is longer then my field length and the text doesn't wrap. has anyone encountered this? If so...how did you deal with this? Thanks, Warren From psahores at free.fr Sun Dec 12 15:11:29 2010 From: psahores at free.fr (Pierre Sahores) Date: Sun, 12 Dec 2010 21:11:29 +0100 Subject: OT: Powers of Ten In-Reply-To: <0139138F-A2ED-46A6-8E4A-A26017D602D7@verizon.net> References: <1632043618109.20101212110835@ahsoftware.net> <0139138F-A2ED-46A6-8E4A-A26017D602D7@verizon.net> Message-ID: <2A226BA3-38A5-486A-AE5A-A4010C2FDD38@free.fr> Amazing, Thanks Colin ! Pierre Le 12 d?c. 2010 ? 20:58, Colin Holgate a ?crit : > > On Dec 12, 2010, at 2:53 PM, Pierre Sahores wrote: > >> Colin, >> >> Links seems to be out of date there (error 404). > > Thanks, I forgot that I was exporting them as MP4: > > http://xfiles.funnygarbage.com/~colinholgate/video/planetarium/SS.mp4 > > http://xfiles.funnygarbage.com/~colinholgate/video/planetarium/TL.mp4 > > http://xfiles.funnygarbage.com/~colinholgate/video/planetarium/FE.mp4 > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From m.schonewille at economy-x-talk.com Sun Dec 12 15:17:13 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 12 Dec 2010 21:17:13 +0100 Subject: Text Wrapping In-Reply-To: References: Message-ID: <238B66DC-2431-452D-9BE7-88D2DA9FB462@economy-x-talk.com> Hi Warren, Whenever a line is wider than the formattedWidth, you could add a dash somewhere in the middle of the last word of that line. Unfortunately, you might need to create a dictionary for this. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 How to receive a free Color Converter license http://qurl.tk/kv (read the conditions) On 12 dec 2010, at 21:04, Warren Kuhl wrote: > I understand that when you have text wrapping on a field, it uses spaces to > wrap words. I have situations where the "word" length (data doesn't have > spaces) is longer then my field length and the text doesn't wrap. has > anyone encountered this? If so...how did you deal with this? > > Thanks, > Warren From jacque at hyperactivesw.com Sun Dec 12 15:20:00 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 12 Dec 2010 14:20:00 -0600 Subject: closeField and the clear command In-Reply-To: <3A4F597F-4367-4305-8088-53D7E7359CCE@mac.com> References: <3A4F597F-4367-4305-8088-53D7E7359CCE@mac.com> Message-ID: <4D052E70.8080208@hyperactivesw.com> On 12/12/10 10:35 AM, Bill Vlahos wrote: > The docs say that if you "put" something from a script into a field > no closeField message is sent. > > This appears to be the same as if you delete (menuItem Clear) as > well. Is this the correct behavior because the docs don't mention > it? Yes. Scripts don't send any messages that are normally generated only by user actions. The only exception I can think of off-hand is the "click at" command, which simulates a few mouse events. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From cszasz at mac.com Sun Dec 12 15:20:47 2010 From: cszasz at mac.com (Charles Szasz) Date: Sun, 12 Dec 2010 15:20:47 -0500 Subject: How do you compare negative numbers with positive numbers? Message-ID: I am computing an average of a series of numbers and then comparing each number with the average, which yields a deviation. Of course, there are instances where a negative deviation will occur when it is below the average. Here is my problem. I need to be able to compare a negative number with a positive number and then give the user feedback about whether the negative number is greater in magnitude than the positive number. For example, comparing -3.5 with 2.23. How do you do this? Charles Szasz cszasz at mac.com From jacque at hyperactivesw.com Sun Dec 12 15:22:18 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 12 Dec 2010 14:22:18 -0600 Subject: selectionChanged message In-Reply-To: References: Message-ID: <4D052EFA.20906@hyperactivesw.com> On 12/12/10 12:27 PM, Peter Haworth wrote: > I have a front script that intercepts the selectionChanged message to > deal with some special handling of datagrids. The dictionary says that > selectionChanged is "Sent to a field or player when the selection is > changed." Obviously the datagrid message should be added to that > description but it also seems form error I get in my script that other > events cause a selectionChanged message to be created. Does anyone have > any experience of all the events that cause this message to be generated? I don't have a list, but anything that changes the cursor position will generate the message. That would include using the arrow keys to move around the text in a field (or to change a line selection in a list field), and clicking anywhere in the field. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From warrenkuhl at gmail.com Sun Dec 12 15:24:56 2010 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Sun, 12 Dec 2010 14:24:56 -0600 Subject: Text Wrapping In-Reply-To: <238B66DC-2431-452D-9BE7-88D2DA9FB462@economy-x-talk.com> References: <238B66DC-2431-452D-9BE7-88D2DA9FB462@economy-x-talk.com> Message-ID: Mark, Thanks....I was thinking something like that was the answer. Although I was hoping it wasn't. :) Appreciate the quick response! Warren On Sun, Dec 12, 2010 at 2:17 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Warren, > > Whenever a line is wider than the formattedWidth, you could add a dash > somewhere in the middle of the last word of that line. Unfortunately, you > might need to create a dictionary for this. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > How to receive a free Color Converter license http://qurl.tk/kv (read the > conditions) > > On 12 dec 2010, at 21:04, Warren Kuhl wrote: > > > I understand that when you have text wrapping on a field, it uses spaces > to > > wrap words. I have situations where the "word" length (data doesn't have > > spaces) is longer then my field length and the text doesn't wrap. has > > anyone encountered this? If so...how did you deal with this? > > > > Thanks, > > Warren > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From coiin at verizon.net Sun Dec 12 15:28:09 2010 From: coiin at verizon.net (Colin Holgate) Date: Sun, 12 Dec 2010 15:28:09 -0500 Subject: How do you compare negative numbers with positive numbers? In-Reply-To: References: Message-ID: On Dec 12, 2010, at 3:20 PM, Charles Szasz wrote: > For example, comparing -3.5 with 2.23. How do you do this? You can use abs to get the positive absolute value, and compare those: put abs(-3.5)>abs(2.23) From ambassador at fourthworld.com Sun Dec 12 15:33:42 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 12 Dec 2010 12:33:42 -0800 Subject: OT: Powers of Ten Message-ID: <4D0531A6.2090502@fourthworld.com> And for those who haven't seen it (or those who would enjoy seeing it again), the Eames classic: -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From m.schonewille at economy-x-talk.com Sun Dec 12 15:34:40 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 12 Dec 2010 21:34:40 +0100 Subject: How do you compare negative numbers with positive numbers? In-Reply-To: References: Message-ID: Hi Charles, It's been a long time for me, but if I remember well you want either the first differences or the standard deviation. function mean theNumbers return sum(theNumbers)/number of items of theNumbers end mean function firstDifferences theNumbers put mean(theNumbers) into myMean repeat for each line myLine in theNumbers add abs(myLine-myMean) to myCumulDiff end repeat return myCumulDiff/number of items of theNumbers end firstDifferences function standardDeviation put mean(theNumbers) into myMean repeat for each line myLine in theNumbers add( abs(myLine-myMean))^2 to myCumulDiff end repeat return sqrt(myCumulDiff/number of items of theNumbers) end standardDeviation on mouseUp put "-3.5,2.23" into myRow put mean(myRow) into myMean put firstDifferences(myRow) into myMeanDifferences put standardDeviation(myRow) into myStandardDeviation -- do with the variable whatever you want end mouseUp (Untested, please mind typos and other mistakes) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 How to receive a free Color Converter license http://qurl.tk/kv (read the conditions) On 12 dec 2010, at 21:20, Charles Szasz wrote: > I am computing an average of a series of numbers and then comparing each number with the average, which yields a deviation. Of course, there are instances where a negative deviation will occur when it is below the average. > > Here is my problem. I need to be able to compare a negative number with a positive number and then give the user feedback about whether the negative number is greater in magnitude than the positive number. For example, comparing -3.5 with 2.23. How do you do this? > > Charles Szasz > cszasz at mac.com From stephenREVOLUTION2 at barncard.com Sun Dec 12 15:55:13 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 12 Dec 2010 12:55:13 -0800 Subject: OT: Powers of Ten In-Reply-To: <0139138F-A2ED-46A6-8E4A-A26017D602D7@verizon.net> References: <1632043618109.20101212110835@ahsoftware.net> <0139138F-A2ED-46A6-8E4A-A26017D602D7@verizon.net> Message-ID: Absolutely beautiful UI ! WOW. On 12 December 2010 11:58, Colin Holgate wrote: > > On Dec 12, 2010, at 2:53 PM, Pierre Sahores wrote: > > > Colin, > > > > Links seems to be out of date there (error 404). > > Thanks, I forgot that I was exporting them as MP4: > > http://xfiles.funnygarbage.com/~colinholgate/video/planetarium/SS.mp4 > > http://xfiles.funnygarbage.com/~colinholgate/video/planetarium/TL.mp4 > > http://xfiles.funnygarbage.com/~colinholgate/video/planetarium/FE.mp4 > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From psahores at free.fr Sun Dec 12 16:30:45 2010 From: psahores at free.fr (Pierre Sahores) Date: Sun, 12 Dec 2010 22:30:45 +0100 Subject: OT: Powers of Ten In-Reply-To: <4D0531A6.2090502@fourthworld.com> References: <4D0531A6.2090502@fourthworld.com> Message-ID: <0AE9647C-6ABF-4D4E-81AB-DC2F9C3FC69C@free.fr> ;-) Einstein's Dream, Unification, String Theory http://www.youtube.com/watch?v=h4_uFU-fKTM Ce Qu'Einstein Ne Savait Pas Encore 1/3 http://www.dailymotion.com/video/xhzi7_ce-qu-einstein-ne-savait-pas-encore_news Le 12 d?c. 2010 ? 21:33, Richard Gaskin a ?crit : > And for those who haven't seen it (or those who would enjoy seeing it again), the Eames classic: > > > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From cszasz at mac.com Sun Dec 12 17:34:49 2010 From: cszasz at mac.com (Charles Szasz) Date: Sun, 12 Dec 2010 17:34:49 -0500 Subject: How do you compare negative numbers with positive numbers? Message-ID: <9094CE81-FF5D-4CB2-8E70-6595FA8E31AA@mac.com> Colin, Thanks a lot! I had forgotten about the absolute function. I now have to figure out how to do comparisons of this sort so that if a negative number is bigger than a positive value that it is reported as a weakness (such as -3.5 compared with a value of 2.23). And if a positive number is bigger (such as 2.8) than a positive value it is reported as a strength. I have fifteen comparisons of this sort using the deviations from the mean and comparing them to certain values. Any suggestions on how to do this? Charles Szasz cszasz at mac.com From pepetoo at cox.net Sun Dec 12 18:52:21 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sun, 12 Dec 2010 15:52:21 -0800 Subject: Strange edit anomaly Message-ID: <08346B39-477B-4FD1-BD86-8291959C59CA@cox.net> Anyone... From my edit menu - in the app - if I select some text in my stack and choose Cut or Copy and then Paste, everything works fine; but, if I use the Command Key equivalents, 2 of the strings copied or cut are pasted; though the clipBoardData only shows a single string. I thought it might be because of my heavy hands, but I turned the Keyboard repeat in the System Preferences and nothing was changed. Really strange. I've tried some work-arounds; like clearing the clipBoardData before doing the copy/cut, but with no effect. Any ideas? Joe Wilkins From tsj at unimelb.edu.au Sun Dec 12 19:01:01 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Mon, 13 Dec 2010 11:01:01 +1100 Subject: OT: Powers of Ten In-Reply-To: <0139138F-A2ED-46A6-8E4A-A26017D602D7@verizon.net> Message-ID: Really nice Colin and they don't look at all dated. Are they still in use? Terry... On 13/12/10 6:58 AM, "Colin Holgate" wrote: > > On Dec 12, 2010, at 2:53 PM, Pierre Sahores wrote: > >> Colin, >> >> Links seems to be out of date there (error 404). > > Thanks, I forgot that I was exporting them as MP4: > > http://xfiles.funnygarbage.com/~colinholgate/video/planetarium/SS.mp4 > > http://xfiles.funnygarbage.com/~colinholgate/video/planetarium/TL.mp4 > > http://xfiles.funnygarbage.com/~colinholgate/video/planetarium/FE.mp4 > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From pepetoo at cox.net Sun Dec 12 19:27:26 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sun, 12 Dec 2010 16:27:26 -0800 Subject: Edit Anomaly Message-ID: <37861371-FC66-45C7-9794-FE28465245BC@cox.net> Hmn! Turns out I don't have to implement these command keys. LC does it for me, so my routine was making one paste and LC followed it up with another one. Sometimes LC does too much for us. Joe Wilkins From pete at mollysrevenge.com Sun Dec 12 19:40:23 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Sun, 12 Dec 2010 16:40:23 -0800 Subject: Edit Anomaly In-Reply-To: <37861371-FC66-45C7-9794-FE28465245BC@cox.net> References: <37861371-FC66-45C7-9794-FE28465245BC@cox.net> Message-ID: <32809EBB-D6B3-4282-A38F-157CE504F95F@mollysrevenge.com> Interesting that LC implements the command key versions of cut and paste yet doesn't create the scripts for them when you create a menu. Pete Haworth On Dec 12, 2010, at 4:27 PM, Joe Lewis Wilkins wrote: > Hmn! Turns out I don't have to implement these command keys. LC does > it for me, so my routine was making one paste and LC followed it up > with another one. Sometimes LC does too much for us. > > Joe Wilkins > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at mollysrevenge.com Sun Dec 12 19:48:12 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Sun, 12 Dec 2010 16:48:12 -0800 Subject: selectionChanged message In-Reply-To: <4D052EFA.20906@hyperactivesw.com> References: <4D052EFA.20906@hyperactivesw.com> Message-ID: Thanks Jacquie. Here's an interesting one. I put an answer information at the top of my selectionChanged handler so I could tell what might be triggering it. Clicking on the line number to set a debug break point didn't trigger it. Moving around with the script editor window (with arrow keys and mouse clicks) did, as you said it would. But then I clicked on the menu bar of the Application browser window and my answer information popped with field "Script". Maybe selectionChanged happens when you leave a field as well as when you move around within it? Pete Haworth On Dec 12, 2010, at 12:22 PM, J. Landman Gay wrote: > On 12/12/10 12:27 PM, Peter Haworth wrote: >> I have a front script that intercepts the selectionChanged message to >> deal with some special handling of datagrids. The dictionary says >> that >> selectionChanged is "Sent to a field or player when the selection is >> changed." Obviously the datagrid message should be added to that >> description but it also seems form error I get in my script that >> other >> events cause a selectionChanged message to be created. Does anyone >> have >> any experience of all the events that cause this message to be >> generated? > > I don't have a list, but anything that changes the cursor position > will generate the message. That would include using the arrow keys > to move around the text in a field (or to change a line selection in > a list field), and clicking anywhere in the field. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pepetoo at cox.net Sun Dec 12 19:48:34 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sun, 12 Dec 2010 16:48:34 -0800 Subject: Edit Anomaly In-Reply-To: <32809EBB-D6B3-4282-A38F-157CE504F95F@mollysrevenge.com> References: <37861371-FC66-45C7-9794-FE28465245BC@cox.net> <32809EBB-D6B3-4282-A38F-157CE504F95F@mollysrevenge.com> Message-ID: <1F510E82-EF35-4BF6-8354-1A2655D028E9@cox.net> Yeah Peter. And then not enough. It's all trial and error. Mostly error. I guess if I were a full time LC coder, this wouldn't be so confusing, but it is. I just checked the Undo command key, think it might also be implemented by LC, but doesn't appear that it is. At least not to my satisfaction. I don't have it working perfectly yet. Joe Wilkins On Dec 12, 2010, at 4:40 PM, Peter Haworth wrote: > Interesting that LC implements the command key versions of cut and paste yet doesn't create the scripts for them when you create a menu. > > Pete Haworth > On Dec 12, 2010, at 4:27 PM, Joe Lewis Wilkins wrote: > >> Hmn! Turns out I don't have to implement these command keys. LC does it for me, so my routine was making one paste and LC followed it up with another one. Sometimes LC does too much for us. >> >> Joe Wilkins From jacque at hyperactivesw.com Sun Dec 12 19:50:26 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 12 Dec 2010 18:50:26 -0600 Subject: Edit Anomaly In-Reply-To: <32809EBB-D6B3-4282-A38F-157CE504F95F@mollysrevenge.com> References: <37861371-FC66-45C7-9794-FE28465245BC@cox.net> <32809EBB-D6B3-4282-A38F-157CE504F95F@mollysrevenge.com> Message-ID: <4D056DD2.3060700@hyperactivesw.com> On 12/12/10 6:40 PM, Peter Haworth wrote: > Interesting that LC implements the command key versions of cut and paste > yet doesn't create the scripts for them when you create a menu. It doesn't create them in a standalone, you have to script it. What was probably happening to Joe's stack is that the IDE was catching the keyboard commands. Joe: if you have your menu set up to show in the system menubar, LiveCode won't catch them and you'll need the menu scripts. It's only when LiveCode's menu is active that it covers for you. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at mollysrevenge.com Sun Dec 12 19:52:08 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Sun, 12 Dec 2010 16:52:08 -0800 Subject: selectionChanged message - Correction In-Reply-To: <4D052EFA.20906@hyperactivesw.com> References: <4D052EFA.20906@hyperactivesw.com> Message-ID: <0B3A2308-6D9C-4582-A79F-18E2FA063030@mollysrevenge.com> I think I used the wrong terminology when I said the menu bar of the Application Browser. What I meant was the window bar (?), the area at the top of the window that has the window title and the close, minimise and maximise buttons (I didn't click on any of those, just in a blank area of the window bar.) Pete Haworth On Dec 12, 2010, at 12:22 PM, J. Landman Gay wrote: > On 12/12/10 12:27 PM, Peter Haworth wrote: >> I have a front script that intercepts the selectionChanged message to >> deal with some special handling of datagrids. The dictionary says >> that >> selectionChanged is "Sent to a field or player when the selection is >> changed." Obviously the datagrid message should be added to that >> description but it also seems form error I get in my script that >> other >> events cause a selectionChanged message to be created. Does anyone >> have >> any experience of all the events that cause this message to be >> generated? > > I don't have a list, but anything that changes the cursor position > will generate the message. That would include using the arrow keys > to move around the text in a field (or to change a line selection in > a list field), and clicking anywhere in the field. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pepetoo at cox.net Sun Dec 12 19:58:57 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sun, 12 Dec 2010 16:58:57 -0800 Subject: Edit Anomaly In-Reply-To: <4D056DD2.3060700@hyperactivesw.com> References: <37861371-FC66-45C7-9794-FE28465245BC@cox.net> <32809EBB-D6B3-4282-A38F-157CE504F95F@mollysrevenge.com> <4D056DD2.3060700@hyperactivesw.com> Message-ID: <58B54D14-D62A-43B2-877F-4DC768294953@cox.net> But does it continue to double paste? I have created a standalone in some time to see what's missing there. Joe Wilkins On Dec 12, 2010, at 4:50 PM, J. Landman Gay wrote: > On 12/12/10 6:40 PM, Peter Haworth wrote: >> Interesting that LC implements the command key versions of cut and paste >> yet doesn't create the scripts for them when you create a menu. > > It doesn't create them in a standalone, you have to script it. What was probably happening to Joe's stack is that the IDE was catching the keyboard commands. > > Joe: if you have your menu set up to show in the system menubar, LiveCode won't catch them and you'll need the menu scripts. It's only when LiveCode's menu is active that it covers for you. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > From coiin at verizon.net Sun Dec 12 19:59:19 2010 From: coiin at verizon.net (Colin Holgate) Date: Sun, 12 Dec 2010 19:59:19 -0500 Subject: How do you compare negative numbers with positive numbers? In-Reply-To: References: Message-ID: <131951C4-1A3D-4729-AD67-09A3FCB9ABFF@verizon.net> On Dec 12, 2010, at 3:20 PM, Charles Szasz wrote: > For example, comparing -3.5 with 2.23. How do you do this? This may sum it up: While Google recently updated its mobile version of Google Docs to support editing on smartphones, it acknowledged the feature was somewhat limited. The new version for the iPad allows users to tweak fonts, styles and formatting as they would using the desktop version of the cloud-based app. Similarly, the Google Docs spreadsheet now allows iPad users to insert formulas as they would on the desktop version. From coiin at verizon.net Sun Dec 12 20:03:47 2010 From: coiin at verizon.net (Colin Holgate) Date: Sun, 12 Dec 2010 20:03:47 -0500 Subject: How do you compare negative numbers with positive numbers? In-Reply-To: <131951C4-1A3D-4729-AD67-09A3FCB9ABFF@verizon.net> References: <131951C4-1A3D-4729-AD67-09A3FCB9ABFF@verizon.net> Message-ID: For anyone slightly confused by that, I was telling a colleague about changes in Google Docs for iPad, and pasted the reply into th ewrong window! Hope some of you were intrigued anyway. From pete at mollysrevenge.com Sun Dec 12 20:08:34 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Sun, 12 Dec 2010 17:08:34 -0800 Subject: savingStandalone Problem Message-ID: <304AAE54-BD37-47AD-ACD0-6FCF65702393@mollysrevenge.com> I have the following code in a savingStandalone handler in the script of my main stack: go to card "FieldPrompt" of stack "Prompts" as modal if the dialogData is not "Cancel" then set the BandTrakVersion of stack "BandTrak" to the dialogData end if The modal window is displayed and I enter the version number I want, only it doesn't get saved into the BandTrakVersion custom property. This used to work, I'm pretty sure, but has suddenly stopped working. The reason I'm doing this is that I haven't been able to find a way to access the Short Version information in the Standalone Applications Settings, OSX tab and I want to display the current version of the application in the standalone so if there is a way to access that data I'd be happy to use it instead of rolling my own.. Pete Haworth From pete at mollysrevenge.com Sun Dec 12 20:14:03 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Sun, 12 Dec 2010 17:14:03 -0800 Subject: closeField and the clear command In-Reply-To: <4D052E70.8080208@hyperactivesw.com> References: <3A4F597F-4367-4305-8088-53D7E7359CCE@mac.com> <4D052E70.8080208@hyperactivesw.com> Message-ID: <684B3EBC-9F8B-4509-9137-57E766FE2A5A@mollysrevenge.com> ..and maybe setting the menuHistory property of a button which generates a menuPick message. I know that's not something a user does directly but it does get set when the user selects an item from an option menu. I actually like that. I can set the label of an option menu button if I don;t want any messages to pop and the menuHistory if I do - would be great if other controls had similar functionality Pete Haworth On Dec 12, 2010, at 12:20 PM, J. Landman Gay wrote: > On 12/12/10 10:35 AM, Bill Vlahos wrote: >> The docs say that if you "put" something from a script into a field >> no closeField message is sent. >> >> This appears to be the same as if you delete (menuItem Clear) as >> well. Is this the correct behavior because the docs don't mention >> it? > > Yes. Scripts don't send any messages that are normally generated > only by user actions. The only exception I can think of off-hand is > the "click at" command, which simulates a few mouse events. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From coiin at verizon.net Sun Dec 12 20:14:38 2010 From: coiin at verizon.net (Colin Holgate) Date: Sun, 12 Dec 2010 20:14:38 -0500 Subject: OT: Powers of Ten In-Reply-To: References: Message-ID: On Dec 12, 2010, at 7:01 PM, Terry Judd wrote: > Really nice Colin and they don't look at all dated. Are they still in use? I'm not sure. It's a few years since I was there, and at that time the size scales ones were still in use, on four screens in this area: http://upload.wikimedia.org/wikipedia/commons/0/0d/Rose_center_scales_of_the_universe.jpg but it never was a very good idea to put LCD touch screens next to massive windows. The timeline one was in use on eight screens on the spiral ramp, but they had replaced those with still images I think. The formation one was in use on three pedestal screens in the lower area. If you look at this picture: http://image60.webshots.com/160/5/7/23/538350723TbsQKJ_fs.jpg the mother with the pink sweater is watching her son using one of them. Also, the satellite dish you see has the same animation projected onto it. Again, not something that works too well with such huge windows, but they look better at night. The kiosks were done using Director 7, and the animations made mostly with After Effects. I made the spiral galaxy using 50,000 sprites in Director, and some of the forming of planets were done using Director too. From tsj at unimelb.edu.au Sun Dec 12 20:40:21 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Mon, 13 Dec 2010 12:40:21 +1100 Subject: OT: Powers of Ten In-Reply-To: Message-ID: On 13/12/10 12:14 PM, "Colin Holgate" wrote: > The kiosks were done using Director 7, and the animations made mostly with > After Effects. I made the spiral galaxy using 50,000 sprites in Director, and > some of the forming of planets were done using Director too. Wow! Director really was (and still is) great for multimedia style animations (and for scripting the creation/editing of images) but boy am I glad we no longer use it here as our main development tool. I recently had to revisit a project I developed in Director in about 2002 and the workarounds I had to use at the time to get it to work properly (involving LDMs) were truly horrible - so much so that I can no longer even understand them. Terry... > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From glpunzi at lordzealon.com Mon Dec 13 05:45:01 2010 From: glpunzi at lordzealon.com (Giuseppe Luigi Punzi) Date: Mon, 13 Dec 2010 11:45:01 +0100 Subject: Various newbie doubts about LiveCode Message-ID: <201012131145.01665.glpunzi@lordzealon.com> Hi all, I asked some question in forums, but before buying Destop ISV package, I would like to get a little more generic information. I will start a personal project for a customer, and I'm searching a new IDE/languaje to develop it. I like how to develop in LiveCode, but I have a little fear because is something totally unknow to me (I don't know it's limits, and advantages over other enviroments). I'm between LiveCode and RealStudio. The project, is a Bills/quotes management. Because "all" commercial projects I see developed in LiveCode, are "little" projects (no offence, I don't know how to express it in english correctly), I would like to know, if LiveCode is suitable for my type of project. My project will work with PostgreSQL, and is not suppose to need something especial, but working doing bills, quotes, serving orders, and so on, working with a lot of grids. Some reports to show data, some chart, and nothing more. A normal Bills/quote management (in Spanish is "Software de gesti?n", I don't know how is the name in english). I know reports an charts are external packages. Probably, I will do it with other ways, HTML or some other way, an once finiched the project, check for this externals to see If I need it. I ask, because at the moment, I can't invest 500? only to research in LiveCode, and see if is worth to my needs. If I buy it, is for use it. Some success history or some information could be enough to get a final decision. Thanks a lot for your time to help me. And thanks a lot to Mark (@xtalkprogrammer) because I bother him a lot in Twitter ;) -- -- Giuseppe Luigi http://www.lordzealon.com From simon at asato-media.com Mon Dec 13 07:25:32 2010 From: simon at asato-media.com (As_Simon) Date: Mon, 13 Dec 2010 04:25:32 -0800 (PST) Subject: Opening documents with Quick Look on iPad? In-Reply-To: References: <1291995239783-3082167.post@n4.nabble.com> Message-ID: <1292243132058-3085350.post@n4.nabble.com> Hi Andre, Thanks but no joy using launch url on the iPad. Going through the iOS 4.2 docs xCode developers seem to have to tell the app which types of docs it can open. I hope we wont have to do that with LC. Regards, Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Opening-documents-with-Quick-Look-on-iPad-tp3082167p3085350.html Sent from the Revolution - User mailing list archive at Nabble.com. From psahores at free.fr Mon Dec 13 07:55:57 2010 From: psahores at free.fr (Pierre Sahores) Date: Mon, 13 Dec 2010 13:55:57 +0100 Subject: Various newbie doubts about LiveCode In-Reply-To: <201012131145.01665.glpunzi@lordzealon.com> References: <201012131145.01665.glpunzi@lordzealon.com> Message-ID: Hi Giuseppe Le 13 d?c. 2010 ? 11:45, Giuseppe Luigi Punzi a ?crit : > Hi all, > > I asked some question in forums, but before buying Destop ISV package, I would > like to get a little more generic information. > > I will start a personal project for a customer, and I'm searching a new > IDE/languaje to develop it. I like how to develop in LiveCode, but I have a > little fear because is something totally unknow to me (I don't know it's > limits, and advantages over other enviroments). I'm between LiveCode and > RealStudio. > > The project, is a Bills/quotes management. > > Because "all" commercial projects I see developed in LiveCode, are "little" > projects (no offence, I don't know how to express it in english correctly), I > would like to know, if LiveCode is suitable for my type of project. In fact, there are, at least, some dozens of important enterprise-grade solutions build on top of LiveCode+MySQL, LiveCode+PostgreSQL and LiveCode+Oracle at work all over the world. But, because, those solutions are RIA/Web/Web services systems used by middle to world class companies for internal needs (not available at all to the public internet), it's difficult to communicate about such project (strong NDA clauses are always bind to such business contracts). In between some other LC colleagues present on this list, i worked for years on such projects (LC+PostgreSQL under Linux, LC+Oracle 9i to 10g under Solaris) with great satisfaction and success, even before the availability of the LiveCode server. If your question is : is it way to build in a clean and full reliable way a RIA/Web enterprise-grade solution (ERP-CRM class) in using : LC RIA clients standalones and/or Web 1.0, 2.0, HTML5/CSS3 browsable workfows + a server-sidde "n-tier" back-end where LiveCode server+ your.irev scripting will replace all the tasks you could implement in using PHP, Tomcat or JBoss the response is definitively yes. About LC+PostgreSQL, i always prefer it over the LC+Oracle alternative each time the customer don't impose a Oracle preference. As you probably know, the PostgreSQL ACID compliance is in practice always lots more suitable than the Oracle's one... Don't hesitate to ask for more off-list if that can help. Best Regards, Pierre > > My project will work with PostgreSQL, and is not suppose to need something > especial, but working doing bills, quotes, serving orders, and so on, working > with a lot of grids. Some reports to show data, some chart, and nothing more. > A normal Bills/quote management (in Spanish is "Software de gesti?n", I don't > know how is the name in english). I know reports an charts are external > packages. Probably, I will do it with other ways, HTML or some other way, an > once finiched the project, check for this externals to see If I need it. > > I ask, because at the moment, I can't invest 500? only to research in > LiveCode, and see if is worth to my needs. If I buy it, is for use it. > > Some success history or some information could be enough to get a final > decision. > > Thanks a lot for your time to help me. And thanks a lot to Mark > (@xtalkprogrammer) because I bother him a lot in Twitter ;) > > -- > -- > Giuseppe Luigi > http://www.lordzealon.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From andre at andregarzia.com Mon Dec 13 08:24:55 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 13 Dec 2010 11:24:55 -0200 Subject: Various newbie doubts about LiveCode In-Reply-To: References: <201012131145.01665.glpunzi@lordzealon.com> Message-ID: Pierre, I think Giuseppe is probably building desktop apps because as far as I know REALStudio does not build server side stuff. Giuseppe, I think LiveCode can do anything REALStudio can. I am a former REALBasic user (long ago, 2002 or something) and while I think their product is great, I decided to move to LiveCode due to the increased productivity. I've developed many applications using postgreSQL and MySQL and LiveCode, both server side and client side. I can't show them to you because they are not mine. Usually I am subcontracted to build a library or webservice while my contractor is building the main software, so things are not mine to show. If your need is simply to be able to Query a PGSQL server and process and present the data. Your needs will be well server and LiveCode deploys on more platforms than REALStudio so you get some cross-platform bonus in there. cheers andre From glpunzi at lordzealon.com Mon Dec 13 08:47:52 2010 From: glpunzi at lordzealon.com (Giuseppe Luigi Punzi) Date: Mon, 13 Dec 2010 14:47:52 +0100 Subject: Various newbie doubts about LiveCode In-Reply-To: References: <201012131145.01665.glpunzi@lordzealon.com> Message-ID: <1292248072.2817.6.camel@casiopea> Yes, for the moment, I will buy (when solved some question about my card, because they don't accept Maestro) Desktop ISV and I will buy Server and mobile licenses later once this project is delivered and charged. I'm very interested in server side development, but as I say, this for another moment :D Cheers and thanks for your comments. I had already decided to buy LiveCode, but now I'm even more determined :) El lun, 13-12-2010 a las 11:24 -0200, Andre Garzia escribi?: > Pierre, > > I think Giuseppe is probably building desktop apps because as far as I know > REALStudio does not build server side stuff. Giuseppe, I think LiveCode can > do anything REALStudio can. I am a former REALBasic user (long ago, 2002 or > something) and while I think their product is great, I decided to move to > LiveCode due to the increased productivity. > > I've developed many applications using postgreSQL and MySQL and LiveCode, > both server side and client side. I can't show them to you because they are > not mine. Usually I am subcontracted to build a library or webservice while > my contractor is building the main software, so things are not mine to show. > > > If your need is simply to be able to Query a PGSQL server and process and > present the data. Your needs will be well server and LiveCode deploys on > more platforms than REALStudio so you get some cross-platform bonus in > there. > > cheers > andre > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From psahores at free.fr Mon Dec 13 09:10:46 2010 From: psahores at free.fr (Pierre Sahores) Date: Mon, 13 Dec 2010 15:10:46 +0100 Subject: Various newbie doubts about LiveCode In-Reply-To: References: <201012131145.01665.glpunzi@lordzealon.com> Message-ID: <47652B1D-6F33-48D0-B3B7-5756F7EBF446@free.fr> Andre, Giuseppe, Andre is right, is't ? In this case, LiveCode just push us to do anything we need at the speed of tough ;-) Here are some charts out of a PostgreSQL backend as directly requested and displayed by a LiveCode RIA standalone client in using only standard build-in commands (no server-side coding, no reports an charts are external packages even if using them is always best in ROI terms) : Best Regards, Pierre Le 13 d?c. 2010 ? 14:24, Andre Garzia a ?crit : > Pierre, > > I think Giuseppe is probably building desktop apps because as far as I know > REALStudio does not build server side stuff. Giuseppe, I think LiveCode can > do anything REALStudio can. I am a former REALBasic user (long ago, 2002 or > something) and while I think their product is great, I decided to move to > LiveCode due to the increased productivity. > > I've developed many applications using postgreSQL and MySQL and LiveCode, > both server side and client side. I can't show them to you because they are > not mine. Usually I am subcontracted to build a library or webservice while > my contractor is building the main software, so things are not mine to show. > > > If your need is simply to be able to Query a PGSQL server and process and > present the data. Your needs will be well server and LiveCode deploys on > more platforms than REALStudio so you get some cross-platform bonus in > there. > > cheers > andre > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From m.schonewille at economy-x-talk.com Mon Dec 13 10:31:11 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 13 Dec 2010 16:31:11 +0100 Subject: ANN: Installer Maker Plugin 1.5 Message-ID: <435D2663-D3D7-488D-8CDF-BA6D9039F9DE@economy-x-talk.com> Dear folks, Economy-x-Talk is pleased to announce a big update of the now well-known Installer Maker Plugin for LiveCode. The Installer Maker Plugin is the easiest way to wrap your LiveCode standalones in an installer. Just create your standalones and drag them into the Installer Maker Plugin window. Without being complicated, the Installer Maker Plugin offers you sufficient options to install your software on almost every Windows PC or Mac. The new update contains more than a dozen bug fixes and new features. Most of the implemented new features were requested by our customers. Some important changes are: deletion of pictures from the Appearance section is now possible, more and improved language options, parenthesis are now allowed in file paths, more built-in checks and fail-safes to avoid mistakes. With this new release, we are adjusting our licensing policy to make continuation of this project possible. We provide everyone who buys a (new or upgrade) license with free updates for three months. Currently, everyone can buy an upgrade, regardless of when you bought your license. Soon, you will be eligible for the upgrade price only if you bought your original license less than 1 year ago. If you bought your license more than a year ago, you might want to buy an upgrade right now, while you can still pay the upgrade price. Upgrades cost EUR 16.95, new licenses cost EUR 39.00. (You can see when your license was created by hovering your mouse over the version number in the bottom-left of the Installer Maker window. The license creation date will appear in the tooltip.) The new version of the plugin and forms to buy a new license or an upgrade can be found at http://rrinstallermaker.economy-x-talk.com . If you have any questions, please go to http://qurl.tk/du and fill out the web form. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 How to receive a free Color Converter license http://qurl.tk/kv (read the conditions) From pepetoo at cox.net Mon Dec 13 11:20:54 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 13 Dec 2010 08:20:54 -0800 Subject: Serious problems with command keys Message-ID: <403DDAE2-21E3-41AD-A226-158A6323EE9A@cox.net> I'm not much for posting bugs that just hang around for years, but there are some serious flaws in how command keys are currently implemented. If anyone of substance "cares" enough to follow this through I'd be happy to work with them. I've been a beta tester for many years with some of the software I use, but I get results and feedback directly from them when I take the time to assist in the resolution of problems I encounter. I don't feel the same sort of thing goes on with Rev/LC. Joe Lewis Wilkins Architect & Director of Product Development for GSI From pepetoo at cox.net Mon Dec 13 11:32:41 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 13 Dec 2010 08:32:41 -0800 Subject: Dictionary back Message-ID: <37B95ECC-11AB-4787-A638-F20329D906AA@cox.net> Incidentally, after downloading and installing 4.5.2, my missing dictionary is back. So far, some of the command keys seem to be working a bit better as well. Is there a list of fixes in 4.5.2 that I can check out somewhere? Joe Lewis Wilkins Architect & Director of Product Development for GSI From mkoob at rogers.com Mon Dec 13 11:37:20 2010 From: mkoob at rogers.com (Martin Koob) Date: Mon, 13 Dec 2010 08:37:20 -0800 (PST) Subject: Serious problems with command keys In-Reply-To: <403DDAE2-21E3-41AD-A226-158A6323EE9A@cox.net> References: <403DDAE2-21E3-41AD-A226-158A6323EE9A@cox.net> Message-ID: <1292258240190-3085706.post@n4.nabble.com> I have had good experiences of late with bug reporting thru the Revolution Quality Control Center. I have posted bugs recently and Runrev staff have been actively engaged in trying to figure out what is going on and resolving them. The place for most of the discussion on the bug has been through the RQCC. I have also been successful to reaching out to other Runrev community members who have been experiencing the same issues by posting my questions (and referencing the bug report ID) on this list and the Improve LiveCode list. The common point of connection has been the bug report. In my experience it is worthwhile posting the report first and then appealing to the list for confirmation, or help in tracking it down. If you have posted this already what is the bug ID#? Martin Koob -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Serious-problems-with-command-keys-tp3085663p3085706.html Sent from the Revolution - User mailing list archive at Nabble.com. From pepetoo at cox.net Mon Dec 13 11:45:52 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 13 Dec 2010 08:45:52 -0800 Subject: Serious problems with command keys In-Reply-To: <1292258240190-3085706.post@n4.nabble.com> References: <403DDAE2-21E3-41AD-A226-158A6323EE9A@cox.net> <1292258240190-3085706.post@n4.nabble.com> Message-ID: Thanks for the info Martin. I have yet to post anything, so there is no bug ID# as yet. I'm still checking out things with 4.5.2 first. Joe Lewis Wilkins Architect & Director of Product Development for GSI On Dec 13, 2010, at 8:37 AM, Martin Koob wrote: > > I have had good experiences of late with bug reporting thru the Revolution > Quality Control Center. I have posted bugs recently and Runrev staff have > been actively engaged in trying to figure out what is going on and resolving > them. The place for most of the discussion on the bug has been through the > RQCC. I have also been successful to reaching out to other Runrev community > members who have been experiencing the same issues by posting my questions > (and referencing the bug report ID) on this list and the Improve LiveCode > list. The common point of connection has been the bug report. In my > experience it is worthwhile posting the report first and then appealing to > the list for confirmation, or help in tracking it down. > > If you have posted this already what is the bug ID#? > > Martin Koob > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Serious-problems-with-command-keys-tp3085663p3085706.html > Sent from the Revolution - User mailing list archive at Nabble.com. > From smudge.andy at googlemail.com Mon Dec 13 12:00:26 2010 From: smudge.andy at googlemail.com (AndyP) Date: Mon, 13 Dec 2010 09:00:26 -0800 (PST) Subject: Various newbie doubts about LiveCode In-Reply-To: <201012131145.01665.glpunzi@lordzealon.com> References: <201012131145.01665.glpunzi@lordzealon.com> Message-ID: <1292259626484-3085762.post@n4.nabble.com> Hi Giuseppe, I think a quick answer to your all of your questions is Yes. LiveCode works very well with databases with libraries included from the outset. Presenting data is now very definable thanks to the datagrid. The datagrid at first glance may look simplistic but stick with it and you will soon be displaying your data as imagined. I've built near on twenty commercial grade applications, none of which in their present form will see the light of day as they have all been for in-house consumption, all are employed in the printing and web design environment. As an example I ported a database driven telephone loging system from Delphi to LiveCode in less than one day. A few examples of application built: -Custom, brandable FTP clients and clients builder. -Print tracking (real time) and schedule notification system. -Client and base chat (help) sytem working over HTTP. -Colour profiling system to automatically sample Illustrator and PSD files and document respective colours and fonts used. I think this highlights a problem with potential new users of LiveCode in as much that it appears that much of the work done with LiveCode is for in-house or locked in production. It may an idea if LiveCode had a 'ShowCase' area to their forums so that application deatils that can be shown are available to new and not so new customers. As far as speed of development is concerned I have previously programmed in Delphi and RealBasic, both are very capable environments but I happened across LiveCode when it was Runrev and was amazed at how quickly I was able to build applications compared to both Delphi and RealBasic and remember I was fairly proficient in both and a newbee to LiveCode. The learning curve is very quick basically once you get used to the lanquage I find I can quite often copy my code directly from comments in outline flow diagrams for the application. Of course there are some issues but these (most) are being addressed with the latest versions of LiveCode. Anyway i would suggest downloading a trial and see if it 'fits'. Hope this has been of some use. ----- Andy Piddock My software never has bugs. It just develops random features. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Various-newbie-doubts-about-LiveCode-tp3085242p3085762.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Mon Dec 13 12:23:16 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 13 Dec 2010 09:23:16 -0800 Subject: RevServer set-up on OSX Server In-Reply-To: References: <66F78E6F-6463-49C5-B2A7-0CE0CA31B297@clarkeandclarke.co.uk> <28C42450-2866-414B-B4F1-F64BE8CEC9D3@clarkeandclarke.co.uk> Message-ID: If it is not completing post, I would start by opening it up and reseating the ram. If you have spare ram, try replacing that. But over all if it is under Applecare, then it is best to let them look at it so that you don't void the warranty. Bob On Dec 12, 2010, at 8:57 AM, Keith Clarke wrote: > On 12 Dec 2010, at 13:37, Andre Garzia wrote: > >> irgh!!!! >> >> at least the revserver part worked right? > I don't know!! I was rebooting to allow me to copy over the test page when it died (aaargh!) >> >> What I do here is this: >> >> * I use superduper to make a bootable clone of my HD in an external Hard >> Drive. >> * In the rare cases that my mac goes crazy, I reboot from the external hd >> and then fix the problem. >> >> most of the times my mac will not hang during boot but some other stuff >> sometimes makes it unresponsive, for these cases, I usually use a secondary >> laptop and ssh to reboot the silly apple machine. > Good ideas about back-up and remote mgt but I think I've got some kind of hardware failure, as the Mini isn't completing its POST because I can't force it to start with a system DVD or reboot via remote server admin tools. > > Looks like it's the genius bar for me! From bobs at twft.com Mon Dec 13 12:29:22 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 13 Dec 2010 09:29:22 -0800 Subject: Dictionary has stopped working In-Reply-To: <4CB51951-0CA1-4597-8BE1-F8EBC4B6A020@cox.net> References: <1jtb12p.1aehd74gnrkthM%liste.revo@medard.on-rev.com> <4CB51951-0CA1-4597-8BE1-F8EBC4B6A020@cox.net> Message-ID: <595CFC25-C3E6-4FCF-9064-54E9C0BA6ECD@twft.com> Hi Joe. I suspect you have a menu assigned to the card. There is a long standing issue with custom menus. Livecode treats the height of the card as the actual height minus the menu (were it visible). Odd I know, but I think they do this to maintain compatibility with Windows, which puts a menu on every window. The solution is to have a window resize function called by your openCard handler in the cards that need it. You could even have a window resize function in the main stack that checked for the presence of a custom menu and resized it accordingly. As an aside, doesn't anyone find the Windows model a bit odd? I mean where in the real world do you find a window within a window? Bob On Dec 10, 2010, at 2:01 PM, Joe Lewis Wilkins wrote: > Has anyone ever had this happen to them? Everything is blank. I restarted LC and, finally, my MacPro, running Snow Leopard. The height of my substacks has been changing on me. Just started happening. Any chance I need to reinstall LC? > > Joe Lewis Wilkins > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Dec 13 12:33:17 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 13 Dec 2010 09:33:17 -0800 Subject: Dictionary has stopped working In-Reply-To: <4D02D209.5090405@hyperactivesw.com> References: <1jtb12p.1aehd74gnrkthM%liste.revo@medard.on-rev.com> <4CB51951-0CA1-4597-8BE1-F8EBC4B6A020@cox.net> <7577CEF0-F2D7-4EBB-BAA1-A0ADFFBCD8FE@mollysrevenge.com> <129889CC-7B38-42CA-8BA3-A186D5D85F48@cox.net> <4D02D209.5090405@hyperactivesw.com> Message-ID: <78832077-B42C-47F7-B981-05147F84E5E5@twft.com> I think this could be easily resolved by changing the engine. On Macs, the engine should move the menu bar to a location above the actual window, instead of change the size of the window, which is completely unintuitive. Backward compatibility be damned I say. It's like rotating the earth every time I need to make a turn while I am driving! Bob On Dec 10, 2010, at 5:21 PM, J. Landman Gay wrote: > On 12/10/10 5:02 PM, Joe Lewis Wilkins wrote: >> In my case the windows have been getting smaller. I'll probably end >> up doing the same thing, though that's how programs get bloated; not >> solving the real issues; just using "work-arounds"; real spaghetti >> code. It is reassuring to know that it's not just me. (smile) > > It's almost certainly your menubar. On Mac, the stack shrinks to hide the menu group, and puts the menus in the system menu bar instead. That's just how it works. > > During development, turn off Preview in Menubar in the menu builder. That should stop it. After that the menu group will be at the top of the card as before. Also, uncheck the destroystack property in the stack inspector, there was a bug in the engine that caused stacks with menubars to shrink when building standalones if that was turned on in some cases. > > Before building a standalone, turn Preview back on. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Dec 13 12:34:51 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 13 Dec 2010 09:34:51 -0800 Subject: Dictionary has stopped working In-Reply-To: References: <1jtb12p.1aehd74gnrkthM%liste.revo@medard.on-rev.com> <4CB51951-0CA1-4597-8BE1-F8EBC4B6A020@cox.net> <7577CEF0-F2D7-4EBB-BAA1-A0ADFFBCD8FE@mollysrevenge.com> <129889CC-7B38-42CA-8BA3-A186D5D85F48@cox.net> <4D02D209.5090405@hyperactivesw.com> Message-ID: <51DB0BD1-E051-4C57-B182-18471F63DB60@twft.com> Hi Joe. On preopencard lock the screen, then call your resize function. That should smooth things out. Bob On Dec 10, 2010, at 5:46 PM, Joe Lewis Wilkins wrote: > Thanks Jacque, I figured it had to be something like that, but your suggestions are a big help. Methinks this whole method of handling menus should be reanalyzed and made a bit easier. I know this is tough, but this situation is a major hurdle for us coders to overcome. Come to think of it, I guess we people have memory leaks just like computers. Hmn! It makes things a bit jumpy, but I stabilized the cards by setting the size in an open Card handler on the Stack Scripts. I'm hoping that this will not even be noticeable in the standalones. We'll see. > > Joe Wilkins From bobs at twft.com Mon Dec 13 12:38:04 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 13 Dec 2010 09:38:04 -0800 Subject: Live LiveCode Code Event #3 In-Reply-To: <342D834B-7C6B-490F-A0B9-E413BA567C31@economy-x-talk.com> References: <342D834B-7C6B-490F-A0B9-E413BA567C31@economy-x-talk.com> Message-ID: Hi all. These events take place at a time where I am unavailable. Still, I would love to help out on the GLX project where I can. I would like to watch the videos after the fact if I may. Is there a link for them? Bob On Dec 11, 2010, at 10:23 AM, Mark Schonewille wrote: > The Live LiveCode Code Event is starting in 40 minutes, at 19:00 GMT. > > Direct links to the video presentations are available at http://livecode.tv . Ue ChatRev to chat with the attendants. You can download ChatRev at http://bjoernke.com/chatrev . > > I hope to see you there. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > How to receive a free Color Converter license http://qurl.tk/kv (read the conditions) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pepetoo at cox.net Mon Dec 13 12:42:05 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 13 Dec 2010 09:42:05 -0800 Subject: Dictionary has stopped working In-Reply-To: <595CFC25-C3E6-4FCF-9064-54E9C0BA6ECD@twft.com> References: <1jtb12p.1aehd74gnrkthM%liste.revo@medard.on-rev.com> <4CB51951-0CA1-4597-8BE1-F8EBC4B6A020@cox.net> <595CFC25-C3E6-4FCF-9064-54E9C0BA6ECD@twft.com> Message-ID: <893EB9B7-0F49-4051-8456-15220C96F2BE@cox.net> Hi Bob, I've resorted to an openStack handler in each of the different stacks. It's a little jumpy under the IDE, but I expect that will improve in the standalone. I gave up on Windows a long time ago. I keep hoping it'll disappear, but no such luck to date. M$ is much weaker without Gates' involvement. Glad to see he's using his talents in a better area these days. If you didn't catch it yet, installing 4.5.2 restored my Dictionary. I must have trashed 4.5.1 some way or another. It happens. Joe Lewis Wilkins Architect & Director of Product Development for GSI On Dec 13, 2010, at 9:29 AM, Bob Sneidar wrote: > Hi Joe. I suspect you have a menu assigned to the card. There is a long standing issue with custom menus. Livecode treats the height of the card as the actual height minus the menu (were it visible). Odd I know, but I think they do this to maintain compatibility with Windows, which puts a menu on every window. > > The solution is to have a window resize function called by your openCard handler in the cards that need it. You could even have a window resize function in the main stack that checked for the presence of a custom menu and resized it accordingly. > > As an aside, doesn't anyone find the Windows model a bit odd? I mean where in the real world do you find a window within a window? > > Bob > > > On Dec 10, 2010, at 2:01 PM, Joe Lewis Wilkins wrote: > >> Has anyone ever had this happen to them? Everything is blank. I restarted LC and, finally, my MacPro, running Snow Leopard. The height of my substacks has been changing on me. Just started happening. Any chance I need to reinstall LC? >> >> Joe Lewis Wilkins From bobs at twft.com Mon Dec 13 12:47:04 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 13 Dec 2010 09:47:04 -0800 Subject: How to select image object instead of group In-Reply-To: <4D0411A0.7030700@byu.net> References: <4D0411A0.7030700@byu.net> Message-ID: <9D6A3C4D-AB95-401B-A5F6-AA2CAB7BDEE0@twft.com> Instead of cloning the card, which has it's own nuances, I would simply trap the newCard message in the stack script and create the image object, set it's script, size and position it, then send a mouseUp to it. That way your background group will work as expected. Bob On Dec 11, 2010, at 4:04 PM, Scott Pepperdine wrote: > I was unaware of the group behavior that if I changed the image on one card, I would change the image on all cards containing that group. To answer your question, I am after multiple images across multiple cards. The user experience I'm after is for the user to click a button "Create New card" and go to a new card with an image object and multiple fields. They then import a picture into the image and fill in data to the fields. The picture and the fields remain unique to that card. If I use a clone card command, instead of a background group, will that work? It's either that or use the group thing and script the image into a custom property as you suggest. > > On 12/11/2010 1:55 AM, Scott Rossi wrote: >> Recently, Scott Pepperdine wrote: >> >>> The image script is: >>> on mouseup >>> answer file "Select your file:" >>> if it is empty exit to top >>> set the filename of image "image" to it >>> end mouseup >>> >>> The group script is as follows ( just to prove to me this what was >>> happening: >>> on mouseup >>> answer "1033" >>> end mouseup >>> >>> Thanks all for your efforts. I think I;ll just ungroup the controls and >>> create my new cards with 'clone' or some such think, instead of relying >>> on the background group behavior. >> I really hope you don't have to dumb down your stack to get the above >> working. Let's verify a couple of things: >> >> 1) You realize that by putting your image in a group, it's available on all >> cards that contain that group, yes? So if you change the image on one card, >> it will change on all cards that contain that group. If you want the image >> to be different across multiple cards, you'll either need to use multiple >> images (one for each card, not in a common group) or store the image data >> for each card separately (in custom properties, for example) and load the >> image data upon opening each card as needed. >> >> 2) The most common reason to put an object in a group is to use the same >> object/script across multiple cards. Fields within groups have the ability >> to hold shared data (sharedText enabled) across multiple cards, or to have >> separate data for each card (sharedText disabled). Images do not have this >> ability natively, but you can script it, as explained above. >> >> So what exactly are you trying to accomplish? Multiple images across >> multiple cards, or one image across multiple cards? >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Mon Dec 13 12:47:46 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 13 Dec 2010 15:47:46 -0200 Subject: Live LiveCode Code Event #3 In-Reply-To: References: <342D834B-7C6B-490F-A0B9-E413BA567C31@economy-x-talk.com> Message-ID: and now live from livelivecode event... On Mon, Dec 13, 2010 at 3:38 PM, Bob Sneidar wrote: > Hi all. These events take place at a time where I am unavailable. Still, I > would love to help out on the GLX project where I can. I would like to watch > the videos after the fact if I may. Is there a link for them? > > Bob > > > On Dec 11, 2010, at 10:23 AM, Mark Schonewille wrote: > > > The Live LiveCode Code Event is starting in 40 minutes, at 19:00 GMT. > > > > Direct links to the video presentations are available at > http://livecode.tv . Ue ChatRev to chat with the attendants. You can > download ChatRev at http://bjoernke.com/chatrev . > > > > I hope to see you there. > > > > -- > > Best regards, > > > > Mark Schonewille > > > > Economy-x-Talk Consulting and Software Engineering > > Homepage: http://economy-x-talk.com > > Twitter: http://twitter.com/xtalkprogrammer > > KvK: 50277553 > > > > How to receive a free Color Converter license http://qurl.tk/kv (read > the conditions) > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From pepetoo at cox.net Mon Dec 13 12:51:53 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 13 Dec 2010 09:51:53 -0800 Subject: Dictionary has stopped working In-Reply-To: <51DB0BD1-E051-4C57-B182-18471F63DB60@twft.com> References: <1jtb12p.1aehd74gnrkthM%liste.revo@medard.on-rev.com> <4CB51951-0CA1-4597-8BE1-F8EBC4B6A020@cox.net> <7577CEF0-F2D7-4EBB-BAA1-A0ADFFBCD8FE@mollysrevenge.com> <129889CC-7B38-42CA-8BA3-A186D5D85F48@cox.net> <4D02D209.5090405@hyperactivesw.com> <51DB0BD1-E051-4C57-B182-18471F63DB60@twft.com> Message-ID: <2559707A-A8AB-4E51-9CAA-989C6C21D051@cox.net> Hi Bob, That makes sense. I've rarely used any of the preopen gizzmos. If I need to i'll give this a try. Joe Lewis Wilkins Architect & Director of Product Development for GSI On Dec 13, 2010, at 9:34 AM, Bob Sneidar wrote: > Hi Joe. On preopencard lock the screen, then call your resize function. That should smooth things out. > > Bob > > > On Dec 10, 2010, at 5:46 PM, Joe Lewis Wilkins wrote: > >> Thanks Jacque, I figured it had to be something like that, but your suggestions are a big help. Methinks this whole method of handling menus should be reanalyzed and made a bit easier. I know this is tough, but this situation is a major hurdle for us coders to overcome. Come to think of it, I guess we people have memory leaks just like computers. Hmn! It makes things a bit jumpy, but I stabilized the cards by setting the size in an open Card handler on the Stack Scripts. I'm hoping that this will not even be noticeable in the standalones. We'll see. >> >> Joe Wilkins From bobs at twft.com Mon Dec 13 12:52:21 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 13 Dec 2010 09:52:21 -0800 Subject: [Semi-OT] [ANN] Sqwerly Chat In-Reply-To: References: Message-ID: Well that's curious. I listen when no one is talking. Maybe we should chat sometime? ;-) Bob On Dec 11, 2010, at 1:27 AM, Scott Rossi wrote: > Recently, Jeffrey Massung wrote: > >> In preparation, I've already created a LiveCode chat room on Sqwerly: >> >> http://www.sqwerly.com/room?q=12027 > > I'm now in room 12027 (I think) -- from what I can tell, it's empty (there's > me talking and no response... But then again, that's pretty much par for > the course in my daily routine :-) > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pepetoo at cox.net Mon Dec 13 12:54:27 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 13 Dec 2010 09:54:27 -0800 Subject: Dictionary has stopped working In-Reply-To: <78832077-B42C-47F7-B981-05147F84E5E5@twft.com> References: <1jtb12p.1aehd74gnrkthM%liste.revo@medard.on-rev.com> <4CB51951-0CA1-4597-8BE1-F8EBC4B6A020@cox.net> <7577CEF0-F2D7-4EBB-BAA1-A0ADFFBCD8FE@mollysrevenge.com> <129889CC-7B38-42CA-8BA3-A186D5D85F48@cox.net> <4D02D209.5090405@hyperactivesw.com> <78832077-B42C-47F7-B981-05147F84E5E5@twft.com> Message-ID: <20512F5A-AD88-4F18-8F11-D1348CABCE44@cox.net> Good idea, though any off-screen stuff sometimes makes changing things later a bit difficult. Like - where is this thing? Joe Lewis Wilkins Architect & Director of Product Development for GSI On Dec 13, 2010, at 9:33 AM, Bob Sneidar wrote: > I think this could be easily resolved by changing the engine. On Macs, the engine should move the menu bar to a location above the actual window, instead of change the size of the window, which is completely unintuitive. Backward compatibility be damned I say. It's like rotating the earth every time I need to make a turn while I am driving! > > Bob > > > On Dec 10, 2010, at 5:21 PM, J. Landman Gay wrote: > >> On 12/10/10 5:02 PM, Joe Lewis Wilkins wrote: >>> In my case the windows have been getting smaller. I'll probably end >>> up doing the same thing, though that's how programs get bloated; not >>> solving the real issues; just using "work-arounds"; real spaghetti >>> code. It is reassuring to know that it's not just me. (smile) >> >> It's almost certainly your menubar. On Mac, the stack shrinks to hide the menu group, and puts the menus in the system menu bar instead. That's just how it works. >> >> During development, turn off Preview in Menubar in the menu builder. That should stop it. After that the menu group will be at the top of the card as before. Also, uncheck the destroystack property in the stack inspector, there was a bug in the engine that caused stacks with menubars to shrink when building standalones if that was turned on in some cases. >> >> Before building a standalone, turn Preview back on. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com From jeff at siphonophore.com Mon Dec 13 13:08:33 2010 From: jeff at siphonophore.com (Jeff Reynolds) Date: Mon, 13 Dec 2010 13:08:33 -0500 Subject: OT: Powers of Ten In-Reply-To: References: Message-ID: The eames version was the grand daddy and still holds up decades later http://www.youtube.com/watch?v=0fKBhvDjuy0 shows the true genius of the eames that their work is just as solid and gorgeous today as it was when it came out. they still amaze me. cheers jeff On Dec 13, 2010, at 7:25 AM, use-livecode-request at lists.runrev.com wrote: > Completely off any topic, but it's Sunday, so... From bobs at twft.com Mon Dec 13 13:09:52 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 13 Dec 2010 10:09:52 -0800 Subject: glx2 In-Reply-To: <4D0451AF.6070402@fourthworld.com> References: <4D0451AF.6070402@fourthworld.com> Message-ID: <4ED45312-BB88-4075-A3CA-9FC82E76E4D1@twft.com> heh heh. On Dec 11, 2010, at 8:38 PM, Richard Gaskin wrote: > Mark Wieder wrote: > >> Friday, December 10, 2010, 2:42:08 PM, you wrote: >> >>> Is there any documentation for glx2 anywhere? I already like some of >>> the obvious features in it but I'm guessing there's other stuff I >>> don;t know about. >> >> Jerry had a site on ning, but I see it's gone now. I don't know if any >> of it got archived. > > No documentation? That makes it officially open source now. :) > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at clarkeandclarke.co.uk Mon Dec 13 13:11:59 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Mon, 13 Dec 2010 18:11:59 +0000 Subject: RevServer set-up on OSX Server In-Reply-To: References: <66F78E6F-6463-49C5-B2A7-0CE0CA31B297@clarkeandclarke.co.uk> <28C42450-2866-414B-B4F1-F64BE8CEC9D3@clarkeandclarke.co.uk> Message-ID: ...thanks Bob but it's an early Intel Mini. It turns out that (for some unknown reason) this box doesn't check the new, low profile aluminium wired keyboard before selecting its boot media. I then discovered that the IR remote's menu key acts as the 'alt' key and so, was able to intercept the start-up and get a 10.6.3 server up, configured and backed-up to Time Machine before applying the 10.6.5 update. ...and yes, it has rebooted this time, so it looks like I'm back on the revServer set-up horse again! ;-) Thanks all Keith.. On 13 Dec 2010, at 17:23, Bob Sneidar wrote: > If it is not completing post, I would start by opening it up and reseating the ram. If you have spare ram, try replacing that. But over all if it is under Applecare, then it is best to let them look at it so that you don't void the warranty. > > Bob > > > On Dec 12, 2010, at 8:57 AM, Keith Clarke wrote: > >> On 12 Dec 2010, at 13:37, Andre Garzia wrote: >> >>> irgh!!!! >>> >>> at least the revserver part worked right? >> I don't know!! I was rebooting to allow me to copy over the test page when it died (aaargh!) >>> >>> What I do here is this: >>> >>> * I use superduper to make a bootable clone of my HD in an external Hard >>> Drive. >>> * In the rare cases that my mac goes crazy, I reboot from the external hd >>> and then fix the problem. >>> >>> most of the times my mac will not hang during boot but some other stuff >>> sometimes makes it unresponsive, for these cases, I usually use a secondary >>> laptop and ssh to reboot the silly apple machine. >> Good ideas about back-up and remote mgt but I think I've got some kind of hardware failure, as the Mini isn't completing its POST because I can't force it to start with a system DVD or reboot via remote server admin tools. >> >> Looks like it's the genius bar for me! > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Mon Dec 13 13:14:31 2010 From: coiin at verizon.net (Colin Holgate) Date: Mon, 13 Dec 2010 13:14:31 -0500 Subject: OT: Powers of Ten In-Reply-To: References: Message-ID: On Dec 13, 2010, at 1:08 PM, Jeff Reynolds wrote: > The eames version was the grand daddy and still holds up decades later One bit of trivia, the powers of ten idea was sent to the Natural History Museum on the 1920s, and the one I did was based on that original suggestion. I'm not sure if Eames thought of it himself too, while building chairs, but he may have also known about the 1920s letter. From bobs at twft.com Mon Dec 13 13:16:46 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 13 Dec 2010 10:16:46 -0800 Subject: Suffixes Rename_Anomaly - Renaming batch files in Livecode In-Reply-To: References: Message-ID: <35B49180-1FF3-44D9-B7C3-4C89EEDA48D5@twft.com> This all reminds me of a file naming problem I had with Windows. If a Mac copies files with illegal characters to a Windows share (illegal to Windows that is) Windows will happily accept and copy the files, complete with bad characters, then later inform you that it cannot find the file you are trying to work with, even though you can see the dam thing and double click it right there! The solution for me was to use a DOS command to list files using a switch that told me what the dot3 filename was, then access the file using the dot3 equivalent. Not relevant to this problem perhaps, but it just shows to go you how tricky things can get copying files between dissimilar file systems. Bob On Dec 12, 2010, at 12:45 AM, Mike Bonner wrote: > Assuming the strangeness is reliable, this should solve the issue. > > put replacetext(b,"[^a-zA-Z]\.",".") into b > > > On Sun, Dec 12, 2010 at 1:25 AM, Mike Bonner wrote: > >> Can you do something like.. if char -6 of item 2 of tln is not a character >> then put empty into char -6 of item 2 of tln? >> Haven't tried it here. >> >> On Sun, Dec 12, 2010 at 1:22 AM, stephen barncard < >> stephenREVOLUTION2 at barncard.com> wrote: >> >>> Good one Mike. Now I have to find out how to detect and filter the damn >>> things. The list of songs on the right comes from some very old CD and DAT >>> labeling stacks that were saved as RTF. >>> >>> What's happening is that I'm transferring all my DAT tapes to a hard drive >>> archive, but all I get are files named marker 1.aiff, marker 2.aiff as the >>> indexes turn the sections into files. I have corresponding labels with >>> song >>> listings that correspond to the indexes. This stack I'm creating now just >>> matches those old lists with the sequential generic named files and >>> renames >>> them. >>> >>> On 11 December 2010 23:55, Mike Bonner wrote: >>> >>>> Found it. In your data box, put your cursor between the . and the i in >>>> delphi (track 12). Hit delete. Twice to get rid of the i then retype the >>> i >>>> and it'll work. Is this another example of a unicode problem or >>> something >>>> of that nature? All the files on the right (at the start) are this way, >>> and >>>> fixing them solves the issue. >>>> >>>> >>>> On Sat, Dec 11, 2010 at 11:42 PM, stephen barncard < >>>> stephenREVOLUTION2 at barncard.com> wrote: >>>> >>>>> So no one here has used *rename* lately? >>>>> >>>>> On 11 December 2010 16:03, stephen barncard < >>>>> stephenREVOLUTION2 at barncard.com >>>>>> wrote: >>>>> >>>>>> Hi Gang. >>>>>> >>>>>> This one has me baffled. Head against desk for a while. >>>>>> >>>>>> please load my test stack with >>>>>> >>>>>> go stack URL " >>> http://fulton.barncard.com/bugz/multilineRenameBug.rev" >>>>>> >>>>>> >>>>>> (It only creates suffixed files in a folder that you create or point >>> to >>>>>> after clicking a button.) >>>>>> >>>>>> I am renaming files like this in a script in a loop: >>>>>> >>>>>> Rename file "/Volumes/20101202 USB-320/test rename2/1 Audio >>> Track.aiff" >>>>> to >>>>>> "/Volumes/20101202 USB-320/test rename2/1 Audio Track.aiff" >>>>>> >>>>>> results in files being renamed, but minus the dot suffix, like "01 >>>>>> Aerogel" instead of the desired "01 Aerogel.aiff" >>>>>> >>>>>> 1. hasn't anyone noticed? >>>>>> 2. Could it be related to that annoying message that comes up when >>>> users >>>>>> try to change suffixes ? >>>>>> 3. Or is it an engine bug? >>>>>> >>>>>> Has anyone else experienced this? I'm about to make a bug report. >>> THis >>>> is >>>>>> happening in 4.0 and 4.5.2. MacOSX 10.5.8 G5 Dual 2.5 ghz - not >>>> tested >>>>> on >>>>>> other platforms. >>>>>> >>>>>> >>>>>> any comments or ideas welcomed.. >>>>>> >>>>>> >>>>>> - ! - >>>>>> >>>>>> >>>>>> Stephen Barncard >>>>>> San Francisco Ca. USA >>>>>> * * >>>>>> >>>>>> more about sqb >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> >>>>> >>>>> Stephen Barncard >>>>> San Francisco Ca. USA >>>>> >>>>> more about sqb >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> >>> -- >>> >>> >>> >>> Stephen Barncard >>> San Francisco Ca. USA >>> >>> more about sqb >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Dec 13 13:18:38 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 13 Dec 2010 10:18:38 -0800 Subject: How to write the "|" char in a script In-Reply-To: References: Message-ID: <7102C428-C824-47DB-B48C-8B8A85C04F7A@twft.com> For my Mac, it's shift-backslash. Bob On Dec 11, 2010, at 9:04 AM, Andr? Bisseret wrote: > Bonjour, > > In a Pulldown Menu (among others), one can have sub-Items for an item (doing tab in the text of the menu) > but when ask for it in the message box, it is coded as something like "Choice 1| sub 1". > > I need to write such an item in the script > ------------ > switch theItem > case "Choice 1| sub 1" > ----------- > While I know how to get / or \ ;-)), I can't find out how to write the vertical bar separator in the script! > I mean, what is the keyboard touches combination (if there is one!) to get the vertical character? > > Thanks for any reply > > Best regards from Grenoble > > Andr? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Dec 13 13:22:14 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 13 Dec 2010 10:22:14 -0800 Subject: How to write the "|" char in a script In-Reply-To: <7A96A32B-B947-40E8-B5CC-11FFB68545F1@wanadoo.fr> References: <20101211183215.PKWUT.432187.imail@fed1rmwml34> <7A96A32B-B947-40E8-B5CC-11FFB68545F1@wanadoo.fr> Message-ID: <578BC22C-2319-4148-B1FB-12CA57321179@twft.com> Bob On Dec 12, 2010, at 3:09 AM, Andr? Bisseret wrote: > I had tried that but, on my MacBook Pro (french) shift backslash does not work (return backslash!!) Here backslash is next to last in the fourth row! > > Thanks you Joe for your attention > > Andr? From bobs at twft.com Mon Dec 13 13:25:11 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 13 Dec 2010 10:25:11 -0800 Subject: How do you compare negative numbers with positive numbers? In-Reply-To: References: <131951C4-1A3D-4729-AD67-09A3FCB9ABFF@verizon.net> Message-ID: <1CECD702-5870-410C-8319-83551A22C421@twft.com> I had, after 25 minutes of heavy thought, worked out that it actually was relevant! That's scary! Bob On Dec 12, 2010, at 5:03 PM, Colin Holgate wrote: > > > For anyone slightly confused by that, I was telling a colleague about changes in Google Docs for iPad, and pasted the reply into th ewrong window! > > Hope some of you were intrigued anyway. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Dec 13 13:35:23 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 13 Dec 2010 10:35:23 -0800 Subject: Various newbie doubts about LiveCode In-Reply-To: <201012131145.01665.glpunzi@lordzealon.com> References: <201012131145.01665.glpunzi@lordzealon.com> Message-ID: There is a third party plugin for charts that someone wrote. Quartum Reports I believe it is. Datagrids are pretty easy to work with, especially if simply displaying and trapping for lines clicked. zryip wrote DataGrid Helper to make that process a great deal less cumbersome even still. For forms, Scott Rossi makes a cool little plugin called tmAlign that is a much better alignment tool then what comes with LC. If you are making a simple app that accesses a database, reads data and presents it to the user, allows edits, and then gathers the data and writes it back to the database, LiveCode is ideal, especially if you already know how to work with SQL databases and are good at creating forms. Even so, Trevor Devore has a 3rd party plugin to dramatically simplify working with SQL databases. You may see a pattern developing here (pardon the pun). Where there is a problem, someone on this list probably has already developed a solution, or will if you ask nicely, and either makes it free to other developers, or else charges a modest sum. This list itself is well over half the worth of developing with LiveCode. They are the most helpful bunch of people (and talented people too I might add) I have ever had the pleasure of working around. Bob On Dec 13, 2010, at 2:45 AM, Giuseppe Luigi Punzi wrote: > Hi all, > > I asked some question in forums, but before buying Destop ISV package, I would > like to get a little more generic information. > > I will start a personal project for a customer, and I'm searching a new > IDE/languaje to develop it. I like how to develop in LiveCode, but I have a > little fear because is something totally unknow to me (I don't know it's > limits, and advantages over other enviroments). I'm between LiveCode and > RealStudio. > > The project, is a Bills/quotes management. > > Because "all" commercial projects I see developed in LiveCode, are "little" > projects (no offence, I don't know how to express it in english correctly), I > would like to know, if LiveCode is suitable for my type of project. > > My project will work with PostgreSQL, and is not suppose to need something > especial, but working doing bills, quotes, serving orders, and so on, working > with a lot of grids. Some reports to show data, some chart, and nothing more. > A normal Bills/quote management (in Spanish is "Software de gesti?n", I don't > know how is the name in english). I know reports an charts are external > packages. Probably, I will do it with other ways, HTML or some other way, an > once finiched the project, check for this externals to see If I need it. > > I ask, because at the moment, I can't invest 500? only to research in > LiveCode, and see if is worth to my needs. If I buy it, is for use it. > > Some success history or some information could be enough to get a final > decision. > > Thanks a lot for your time to help me. And thanks a lot to Mark > (@xtalkprogrammer) because I bother him a lot in Twitter ;) > > -- > -- > Giuseppe Luigi > http://www.lordzealon.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Dec 13 14:57:52 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 13 Dec 2010 11:57:52 -0800 Subject: Live LiveCode Code Event #3 In-Reply-To: References: <342D834B-7C6B-490F-A0B9-E413BA567C31@economy-x-talk.com> Message-ID: <85DD488D-9383-48AC-9FDA-62B5ADC47130@twft.com> DOH! Thanks. I did begin to look at the event, but methinks you will need to at least double the resolution of the video stream if you want the type to be readable. If youstream limits you, then you may be at an impasse. Bob On Dec 13, 2010, at 9:47 AM, Andre Garzia wrote: > and now live from livelivecode event... > > On Mon, Dec 13, 2010 at 3:38 PM, Bob Sneidar wrote: > >> Hi all. These events take place at a time where I am unavailable. Still, I >> would love to help out on the GLX project where I can. I would like to watch >> the videos after the fact if I may. Is there a link for them? >> >> Bob From katir at hindu.org Mon Dec 13 15:00:56 2010 From: katir at hindu.org (Sivakatirswami) Date: Mon, 13 Dec 2010 10:00:56 -1000 Subject: OT: Problems with Inserting Odd Characters into PostGreSQL Message-ID: <4D067B78.1090308@hindu.org> I'm a dbase - sql newbie when it comes to actually writing a web front end for capturing and inserting data into a database. I can do code to read and use data, no problem, but this is my very first project where I actually all on my own without Andre's help, write a front end to accept input. Using revServer I managed to copy some robust escape routines to validate and block malicious code (thanks to Rabit - RevIngniter Libraries) but now I have this problem were people in foreign countries are using odd characters and for some reason the INSERT fails.. e.g Parampara?s a word used in a comment: the second character from the last is a curly single possessive apostrophe before "s")...as it ended up in my log file where we do capture all the data in a text file... but it broke the INSERT, the dbase never got a record... Another case of a registration from someone in Spain I get this in my text log file: Address1: Avda. Europa 108, Urb. Barcel? Blq 11, 7 C Address2: City: M?laga State: M?laga Zip: 29003 Country: Spain but the database insertion fails. Can anyone help me with a LiveCode function that will "massage" these characters to escape them and pass them to the dbase (PostGreSQL) and be inserted? TIA! Sivakatirswami From walter.h.brown at gmail.com Mon Dec 13 15:01:14 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Mon, 13 Dec 2010 15:01:14 -0500 Subject: Dictionary back In-Reply-To: <37B95ECC-11AB-4787-A638-F20329D906AA@cox.net> References: <37B95ECC-11AB-4787-A638-F20329D906AA@cox.net> Message-ID: <4d067b92.5145e50a.25a0.ffffe7d8@mx.google.com> Joe, check out Menu->Help->Release Notes. -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Joe Lewis Wilkins Sent: Monday, December 13, 2010 11:33 AM To: How to use LiveCode Subject: Dictionary back Incidentally, after downloading and installing 4.5.2, my missing dictionary is back. So far, some of the command keys seem to be working a bit better as well. Is there a list of fixes in 4.5.2 that I can check out somewhere? Joe Lewis Wilkins Architect & Director of Product Development for GSI _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From pepetoo at cox.net Mon Dec 13 15:27:56 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 13 Dec 2010 12:27:56 -0800 Subject: Dictionary back In-Reply-To: <4d067b92.5145e50a.25a0.ffffe7d8@mx.google.com> References: <37B95ECC-11AB-4787-A638-F20329D906AA@cox.net> <4d067b92.5145e50a.25a0.ffffe7d8@mx.google.com> Message-ID: Thanks Walt. With my poor vision things like that escape me. Joe Lewis Wilkins Architect & Director of Product Development for GSI On Dec 13, 2010, at 12:01 PM, Walt Brown wrote: > Joe, check out Menu->Help->Release Notes. > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Joe Lewis > Wilkins > Sent: Monday, December 13, 2010 11:33 AM > To: How to use LiveCode > Subject: Dictionary back > > Incidentally, after downloading and installing 4.5.2, my missing dictionary > is back. So far, some of the command keys seem to be working a bit better as > well. Is there a list of fixes in 4.5.2 that I can check out somewhere? > > Joe Lewis Wilkins > Architect & Director of Product Development for GSI > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Dec 13 15:50:58 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 13 Dec 2010 12:50:58 -0800 Subject: OT: Problems with Inserting Odd Characters into PostGreSQL In-Reply-To: <4D067B78.1090308@hindu.org> References: <4D067B78.1090308@hindu.org> Message-ID: <83B96DCA-D5DE-4A93-92E7-D8674F6D09BE@twft.com> If I am not mistaken, your database columns need to be defined as UTF16 or something along that order. I don't believe UTF8 will support foreign characters. I may be mistaken on the type of formatting (I never need to use "foreign" characters so I have no actual experience) but I think the principle is sound. Bob On Dec 13, 2010, at 12:00 PM, Sivakatirswami wrote: > I'm a dbase - sql newbie when it comes to actually writing a web front end for capturing and inserting data into a database. I can do code to read and use data, no problem, but this is my very first project where I actually all on my own without Andre's help, write a front end to accept input. > > Using revServer I managed to copy some robust escape routines to validate and block malicious code (thanks to Rabit - RevIngniter Libraries) > > but now I have this problem were people in foreign countries are using odd characters and for some reason the INSERT fails.. > > e.g > > Parampara?s > > a word used in a comment: the second character from the last is a curly single possessive apostrophe before "s")...as it ended up in my log file where we do capture all the data in a text file... but it broke the INSERT, the dbase never got a record... > > Another case of a registration from someone in Spain I get this in my text log file: > > Address1: Avda. Europa 108, Urb. Barcel? Blq 11, 7 C > Address2: > City: M?laga > State: M?laga > Zip: 29003 > Country: Spain > > but the database insertion fails. Can anyone help me with a LiveCode function that will "massage" these characters to escape them and pass them to the dbase (PostGreSQL) and be inserted? > > TIA! > > Sivakatirswami > > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Dec 13 16:04:55 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 13 Dec 2010 13:04:55 -0800 Subject: OT: Problems with Inserting Odd Characters into PostGreSQL In-Reply-To: <4D067B78.1090308@hindu.org> References: <4D067B78.1090308@hindu.org> Message-ID: <368971E7-8C59-41B1-99A5-D856B1D4BB0E@twft.com> A search of the LiveCode dictionary for encode reveals the uniEncode function. This might be what you are looking for. BTW (and please nobody hate me for saying so) (and this is not directed at the poster or anyone in particular) a LOT of enquiries on this list I find the answers for by doing simple finds in the LiveCode dictionary, or for other issues google searches. We should all make it a principle we code by that we try to find the solutions ourselves before posting. That being said, I learn a lot myself by looking up these things for other people. :-) Bob On Dec 13, 2010, at 12:00 PM, Sivakatirswami wrote: > I'm a dbase - sql newbie when it comes to actually writing a web front end for capturing and inserting data into a database. I can do code to read and use data, no problem, but this is my very first project where I actually all on my own without Andre's help, write a front end to accept input. > > Using revServer I managed to copy some robust escape routines to validate and block malicious code (thanks to Rabit - RevIngniter Libraries) > > but now I have this problem were people in foreign countries are using odd characters and for some reason the INSERT fails.. > > e.g > > Parampara?s > > a word used in a comment: the second character from the last is a curly single possessive apostrophe before "s")...as it ended up in my log file where we do capture all the data in a text file... but it broke the INSERT, the dbase never got a record... > > Another case of a registration from someone in Spain I get this in my text log file: > > Address1: Avda. Europa 108, Urb. Barcel? Blq 11, 7 C > Address2: > City: M?laga > State: M?laga > Zip: 29003 > Country: Spain > > but the database insertion fails. Can anyone help me with a LiveCode function that will "massage" these characters to escape them and pass them to the dbase (PostGreSQL) and be inserted? > > TIA! > > Sivakatirswami > > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Dec 13 16:06:24 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 13 Dec 2010 13:06:24 -0800 Subject: Dictionary back In-Reply-To: References: <37B95ECC-11AB-4787-A638-F20329D906AA@cox.net> <4d067b92.5145e50a.25a0.ffffe7d8@mx.google.com> Message-ID: <619FDE18-6042-4CDB-8CC5-D576104BC130@twft.com> That's what the SQL statement said. Bob On Dec 13, 2010, at 12:27 PM, Joe Lewis Wilkins wrote: > things like that escape me From bobs at twft.com Mon Dec 13 16:10:05 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 13 Dec 2010 13:10:05 -0800 Subject: OT: Problems with Inserting Odd Characters into PostGreSQL In-Reply-To: <4D067B78.1090308@hindu.org> References: <4D067B78.1090308@hindu.org> Message-ID: <5A6C26DA-1161-4D43-A776-01D3DD596397@twft.com> BTW, Trevor, does sqlYoga resolve this issue internally? If so it would make a really great selling point for sqlYoga! Bob On Dec 13, 2010, at 12:00 PM, Sivakatirswami wrote: > I'm a dbase - sql newbie when it comes to actually writing a web front end for capturing and inserting data into a database. I can do code to read and use data, no problem, but this is my very first project where I actually all on my own without Andre's help, write a front end to accept input. > > Using revServer I managed to copy some robust escape routines to validate and block malicious code (thanks to Rabit - RevIngniter Libraries) > > but now I have this problem were people in foreign countries are using odd characters and for some reason the INSERT fails.. > > e.g > > Parampara?s > > a word used in a comment: the second character from the last is a curly single possessive apostrophe before "s")...as it ended up in my log file where we do capture all the data in a text file... but it broke the INSERT, the dbase never got a record... > > Another case of a registration from someone in Spain I get this in my text log file: > > Address1: Avda. Europa 108, Urb. Barcel? Blq 11, 7 C > Address2: > City: M?laga > State: M?laga > Zip: 29003 > Country: Spain > > but the database insertion fails. Can anyone help me with a LiveCode function that will "massage" these characters to escape them and pass them to the dbase (PostGreSQL) and be inserted? > > TIA! > > Sivakatirswami > > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Dec 13 16:22:51 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 13 Dec 2010 13:22:51 -0800 Subject: OT: Problems with Inserting Odd Characters into PostGreSQL In-Reply-To: <4D067B78.1090308@hindu.org> References: <4D067B78.1090308@hindu.org> Message-ID: <006BDB42-D31C-4DFB-A3C6-3D68BF8F948F@twft.com> I also found this. Of particular interest is the section on double dollar sign quoting: 4.1.2.4. Dollar-Quoted String Constants While the standard syntax for specifying string constants is usually convenient, it can be difficult to understand when the desired string contains many single quotes or backslashes, since each of those must be doubled. To allow more readable queries in such situations, PostgreSQL provides another way, called "dollar quoting", to write string constants. A dollar-quoted string constant consists of a dollar sign ($), an optional "tag" of zero or more characters, another dollar sign, an arbitrary sequence of characters that makes up the string content, a dollar sign, the same tag that began this dollar quote, and a dollar sign. For example, here are two different ways to specify the string "Dianne's horse" using dollar quoting: $$Dianne's horse$$ $SomeTag$Dianne's horse$SomeTag$ Here's the link: http://www.postgresql.org/docs/current/static/sql-syntax-lexical.html Bob On Dec 13, 2010, at 12:00 PM, Sivakatirswami wrote: > I'm a dbase - sql newbie when it comes to actually writing a web front end for capturing and inserting data into a database. I can do code to read and use data, no problem, but this is my very first project where I actually all on my own without Andre's help, write a front end to accept input. From m.schonewille at economy-x-talk.com Mon Dec 13 17:23:11 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 13 Dec 2010 23:23:11 +0100 Subject: Post Facto Live LiveCode Code Event #3 Message-ID: Hi LiveCoders, Past Saturday, 11 December, we had another successful Live LiveCode Code Event. While a dozen of code monkeys chitchatted about everything LiveCode and many other subjects, we enjoyed 2 interesting presentations. This time, Bj?rnke was unavailable and Mark took the challenge of organising the event. Judy Perry showed us what she can do with LiveCode as a teacher. I was really impressed how she knows to exploit her tool chest to create useful and instructive examples. She also showed her Bingo game, which her kids really enjoy to play with! Mark Wieder showed us GLX2, a really cool open-source scripting environment, which replaces LiveCode's built-in script editor and enhances the IDE. Additionally, he gave us a quick preview of his new PowerTools stack. This tool is an alternative for the Tools palette and objects library in one (and probably much more than that, but we only had a quick preview). As Bj?rnke wasn't around this time, there was no ribbon to raffle off, unfortunately. You can watch the video recordings of the two presentations. Judy's presentation part I: http://qurl.tk/ly Judy's presentation part II: http://qurl.tk/lz Mark's presentation: http://qurl.tk/m0 Please, let us know which day suits you best to participate in the live video conferences. You can cast your vote here http://qurl.tk/m1 I hope to see you all at the event next time. We will be making announcements on this mailing list and at http://livecode.tv . -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce From bmeriaho at gmail.com Mon Dec 13 18:05:29 2010 From: bmeriaho at gmail.com (Brian Meriaho) Date: Mon, 13 Dec 2010 18:05:29 -0500 Subject: iOS apps not getting past review due to crashing Message-ID: Hi, Has anyone else had a problem getting past the review step with iTunes Connect when submitting an app for Apple's App Store? I've built an app that runs on several iPhones, checked the certificates, checked the launch times, but still get rejected with a simple "it crashed". Not sure what is left to check. Regards, -Brian From harald at etcpp.de Mon Dec 13 18:10:29 2010 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Tue, 14 Dec 2010 00:10:29 +0100 Subject: iOS apps not getting past review due to crashing In-Reply-To: References: Message-ID: Same here. No idea what more to try. Best regards, Harald M?ller. Am 14.12.2010 um 00:05 schrieb Brian Meriaho: > Hi, > > Has anyone else had a problem getting past the review step with iTunes > Connect when submitting an app for Apple's App Store? I've built an > app that runs on several iPhones, checked the certificates, checked > the launch times, but still get rejected with a simple "it crashed". > Not sure what is left to check. > > Regards, > > -Brian > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Mon Dec 13 18:21:05 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 13 Dec 2010 15:21:05 -0800 Subject: iOS apps not getting past review due to crashing In-Reply-To: Message-ID: Recently, Brian Meriaho wrote: > Has anyone else had a problem getting past the review step with iTunes > Connect when submitting an app for Apple's App Store? I've built an > app that runs on several iPhones, checked the certificates, checked > the launch times, but still get rejected with a simple "it crashed". > Not sure what is left to check. I don't think certificates would cause crashing. There's a somewhat wide combination of iOS versions and devices to test on. Did you limit your app at all to any range of iOS version or device? Does your app have any heavy media use (images/audio/animation)? I've been told older iPhones/iPods only have about 20MB of RAM to work with. Regards, Scott Rossi Creative Director Tactile Media, UX Design From jacque at hyperactivesw.com Mon Dec 13 18:59:18 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 13 Dec 2010 17:59:18 -0600 Subject: savingStandalone Problem In-Reply-To: <304AAE54-BD37-47AD-ACD0-6FCF65702393@mollysrevenge.com> References: <304AAE54-BD37-47AD-ACD0-6FCF65702393@mollysrevenge.com> Message-ID: <4D06B356.6030209@hyperactivesw.com> On 12/12/10 7:08 PM, Peter Haworth wrote: > I have the following code in a savingStandalone handler in the script of > my main stack: > > go to card "FieldPrompt" of stack "Prompts" as modal > if the dialogData is not "Cancel" then > set the BandTrakVersion of stack "BandTrak" to the dialogData > end if > > The modal window is displayed and I enter the version number I want, > only it doesn't get saved into the BandTrakVersion custom property. This > used to work, I'm pretty sure, but has suddenly stopped working. It should work as long as the dialogdata has a value. Check your prompt handler to make sure it's setting that. Is this for your own use only? I usually just use the message box to set the version custom property. > > The reason I'm doing this is that I haven't been able to find a way to > access the Short Version information in the Standalone Applications > Settings, OSX tab and I want to display the current version of the > application in the standalone so if there is a way to access that data > I'd be happy to use it instead of rolling my own.. The short version is stored in your mainstack in the revStandaloneSettings property set, but those properties get stripped out during a standalone build, so they wouldn't be available to your standalone scripts anyway. Using your custom property is the best way to keep a permanent reference. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Mon Dec 13 19:05:37 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 13 Dec 2010 16:05:37 -0800 Subject: Drag and Drop between Data Grids Message-ID: <7845302A-0CDA-47DE-923A-928C99D1BAF3@twft.com> Ok I thought I understood this pretty well but this one has me baffled. I am trying to drag and drop between two data grids. The source data grid has one column. The destination has 3. But that's not important right now. When I drag out of the source data grid I get an error and when I click the Script button I get an empty mouseUp handler in a button called "dgTrackDragDrop". What the heck is that?? Also if there is a good comprehensive treatment of drag and drop between data grids I have not been able to find it. I looked on the Data Grid Primer at http://revolution.screenstepslive.com/spaces/revolution_tools/manuals/datagrid but I cannt see anything about drag and drop operations. Bob From iowahengst at mac.com Mon Dec 13 19:29:04 2010 From: iowahengst at mac.com (Randy Hengst) Date: Mon, 13 Dec 2010 18:29:04 -0600 Subject: iOS apps not getting past review due to crashing In-Reply-To: References: Message-ID: <23CCDD9C-A020-497C-B38F-874B9879D9E0@mac.com> Hi Brian, I had the same comment from Apple. The email indicated the splash launched.... then nothing. The app I submitted works on an iPhone 3GS running 4.0 and several iPods running 4.1. I've not tried it on an iPhone 4 nor with 4.2.1. I don't have access to the iPhone 4, but will try using 4.2.1. The message I got from Apple said: We were unable to review your app at this time because it failed to launch on iPhone 4 running iOS 4.2.1. We have included the following details below to help explain the issue and hope you'll consider revising and resubmitting your application. We encountered the issue when selecting the application on the Home screen - the app displayed a launch image then quit unexpectedly. There are several possible reasons for this behavior. One reason might be that iOS 4 uses a watchdog timer for applications, which means if an application takes too long to complete its initial startup, the operating system terminates the application. I shared this information with rev support, on Dec 10th. take care, randy hengst ----- On Dec 13, 2010, at 5:05 PM, Brian Meriaho wrote: > Hi, > > Has anyone else had a problem getting past the review step with iTunes > Connect when submitting an app for Apple's App Store? I've built an > app that runs on several iPhones, checked the certificates, checked > the launch times, but still get rejected with a simple "it crashed". > Not sure what is left to check. > > Regards, > > -Brian > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jmyepes at mac.com Mon Dec 13 19:29:54 2010 From: jmyepes at mac.com (JosepM) Date: Mon, 13 Dec 2010 16:29:54 -0800 (PST) Subject: datagrid: sharing grid templates Message-ID: <1292286594912-3086289.post@n4.nabble.com> Hi folks, I have a doubt about the use of the datagrid templates. I have two stack with the same datagrid, copied and pasted from one stack to other stack. The template is in the stack one. The question is: opening the stack two force to open the stack one if this isn't open yet? Using the datagrid templates in this way is correctly? Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/datagrid-sharing-grid-templates-tp3086289p3086289.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at mollysrevenge.com Mon Dec 13 19:53:45 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Mon, 13 Dec 2010 16:53:45 -0800 Subject: Extra Datagrid Columns Message-ID: It seems that if you inadvertently set the dgText of a datagrid with values that have more columns than have been defined, the extra columns are arbitrarily added to the datagrid. Does anyone know of a way to prevent this behaviour either by ignoring the extra columns or by issuing some sort of warning/error? Thanks, Pete From zryip.theslug at gmail.com Mon Dec 13 20:02:23 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Tue, 14 Dec 2010 02:02:23 +0100 Subject: Drag and Drop between Data Grids In-Reply-To: <7845302A-0CDA-47DE-923A-928C99D1BAF3@twft.com> References: <7845302A-0CDA-47DE-923A-928C99D1BAF3@twft.com> Message-ID: On Tue, Dec 14, 2010 at 1:05 AM, Bob Sneidar wrote: > Ok I thought I understood this pretty well but this one has me baffled. I am trying to drag and drop between two data grids. The source data grid has one column. The destination has 3. But that's not important right now. > > When I drag out of the source data grid I get an error and when I click the Script button I get an empty mouseUp handler in a button called "dgTrackDragDrop". What the heck is that?? > > Also if there is a good comprehensive treatment of drag and drop between data grids I have not been able to find it. I looked on the Data Grid Primer at http://revolution.screenstepslive.com/spaces/revolution_tools/manuals/datagrid but I cannt see anything about drag and drop operations. Bob, Have a look here: http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&id=7:data-grid&Itemid=63# I have also some materials for datagrids. Download the experiment 015. It demonstrates how drag & drop data from a data grid to another. I fixed an issue in it and it should now work with the last version of the datagrid library. Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From pete at mollysrevenge.com Mon Dec 13 20:07:11 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Mon, 13 Dec 2010 17:07:11 -0800 Subject: savingStandalone Problem In-Reply-To: <4D06B356.6030209@hyperactivesw.com> References: <304AAE54-BD37-47AD-ACD0-6FCF65702393@mollysrevenge.com> <4D06B356.6030209@hyperactivesw.com> Message-ID: Thanks Jacquie. It's possible to change the version property? The dictionary makes it sound like that is the version of LC, not a user- defined standalone app version. Pete Haworth On Dec 13, 2010, at 3:59 PM, J. Landman Gay wrote: > On 12/12/10 7:08 PM, Peter Haworth wrote: >> I have the following code in a savingStandalone handler in the >> script of >> my main stack: >> >> go to card "FieldPrompt" of stack "Prompts" as modal >> if the dialogData is not "Cancel" then >> set the BandTrakVersion of stack "BandTrak" to the dialogData >> end if >> >> The modal window is displayed and I enter the version number I want, >> only it doesn't get saved into the BandTrakVersion custom property. >> This >> used to work, I'm pretty sure, but has suddenly stopped working. > > It should work as long as the dialogdata has a value. Check your > prompt handler to make sure it's setting that. Is this for your own > use only? I usually just use the message box to set the version > custom property. > >> >> The reason I'm doing this is that I haven't been able to find a way >> to >> access the Short Version information in the Standalone Applications >> Settings, OSX tab and I want to display the current version of the >> application in the standalone so if there is a way to access that >> data >> I'd be happy to use it instead of rolling my own.. > > The short version is stored in your mainstack in the > revStandaloneSettings property set, but those properties get > stripped out during a standalone build, so they wouldn't be > available to your standalone scripts anyway. Using your custom > property is the best way to keep a permanent reference. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobs at twft.com Mon Dec 13 20:10:38 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 13 Dec 2010 17:10:38 -0800 Subject: Drag and Drop between Data Grids In-Reply-To: References: <7845302A-0CDA-47DE-923A-928C99D1BAF3@twft.com> Message-ID: Whoops! Looks like you use some kind of anonymous proxy. A lot of content filtering software blocks access to these because they are also used by some to bypass content filtering! DOH! I can get past it okay, but I thought you should know that although using web proxies is a common practice these days, a lot of people, like schools for instance, cannot access sites that use them. I can get around it because I am the IT guy! Bob On Dec 13, 2010, at 5:02 PM, zryip theSlug wrote: > On Tue, Dec 14, 2010 at 1:05 AM, Bob Sneidar wrote: >> Ok I thought I understood this pretty well but this one has me baffled. I am trying to drag and drop between two data grids. The source data grid has one column. The destination has 3. But that's not important right now. >> >> When I drag out of the source data grid I get an error and when I click the Script button I get an empty mouseUp handler in a button called "dgTrackDragDrop". What the heck is that?? >> >> Also if there is a good comprehensive treatment of drag and drop between data grids I have not been able to find it. I looked on the Data Grid Primer at http://revolution.screenstepslive.com/spaces/revolution_tools/manuals/datagrid but I cannt see anything about drag and drop operations. > > Bob, > > Have a look here: > > http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&id=7:data-grid&Itemid=63# > > I have also some materials for datagrids. > > Download the experiment 015. It demonstrates how drag & drop data from > a data grid to another. I fixed an issue in it and it should now work > with the last version of the datagrid library. > > > Best regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Mon Dec 13 20:51:26 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Mon, 13 Dec 2010 17:51:26 -0800 Subject: savingStandalone Problem In-Reply-To: <4D06B356.6030209@hyperactivesw.com> References: <304AAE54-BD37-47AD-ACD0-6FCF65702393@mollysrevenge.com> <4D06B356.6030209@hyperactivesw.com> Message-ID: Hi Jacquie, I'm certain the prompt handler is returning the correct value - I put an answer information in it right before the set statement and it showed that the dialogdata had the value I keyed into the prompt form. Pete Haworth -------------- next part -------------- http://www.mollysrevenge.com http://www.sonicbids.com/MollysRevenge http://www.myspace.com/mollysrevengeband On Dec 13, 2010, at 3:59 PM, J. Landman Gay wrote: >> I have the following code in a savingStandalone handler in the >> script of >> my main stack: >> >> go to card "FieldPrompt" of stack "Prompts" as modal >> if the dialogData is not "Cancel" then >> set the BandTrakVersion of stack "BandTrak" to the dialogData >> end if >> >> The modal window is displayed and I enter the version number I want, >> only it doesn't get saved into the BandTrakVersion custom property. >> This >> used to work, I'm pretty sure, but has suddenly stopped working. > > It should work as long as the dialogdata has a value. Check your > prompt handler to make sure it's setting that. Is this for your own > use only? I usually just use the message box to set the version > custom property. From jacque at hyperactivesw.com Mon Dec 13 21:23:27 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 13 Dec 2010 20:23:27 -0600 Subject: savingStandalone Problem In-Reply-To: References: <304AAE54-BD37-47AD-ACD0-6FCF65702393@mollysrevenge.com> <4D06B356.6030209@hyperactivesw.com> Message-ID: <4D06D51F.4030706@hyperactivesw.com> On 12/13/10 7:07 PM, Peter Haworth wrote: > Thanks Jacquie. It's possible to change the version property? The > dictionary makes it sound like that is the version of LC, not a > user-defined standalone app version. Right, the built-in "version" function returns the engine version. You can store your stack version in a custom property of your own and read that when you want to display it. For example, in About boxes I do this: put the cVersion of stack (the mainstack of this stack) into fld "version" I never have to update the About box, because that line runs in a preOpenCard script and keeps it current. I update the cVersion of the mainstack once during development, and change the standalone builder setting at the same time. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Dec 13 21:29:36 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 13 Dec 2010 20:29:36 -0600 Subject: savingStandalone Problem In-Reply-To: References: <304AAE54-BD37-47AD-ACD0-6FCF65702393@mollysrevenge.com> <4D06B356.6030209@hyperactivesw.com> Message-ID: <4D06D690.60707@hyperactivesw.com> On 12/13/10 7:51 PM, Peter Haworth wrote: > Hi Jacquie, > I'm certain the prompt handler is returning the correct value - I put an > answer information in it right before the set statement and it showed > that the dialogdata had the value I keyed into the prompt form. Ask and answer dialogs change the value of the dialogdata, but I understand it was just a test. I can't think of any other reason it would fail. Dialogdata is just like a huge engine-wide global and you can use it however you want. But any other dialog or modal can change its value so it isn't dependable except immediately after it's set. The sample script you posted should work, you were doing it right. I'm not sure what the goal is of opening a modal to request a version number. Is there a reason not to use the message box or an "ask" command? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jeff at siphonophore.com Mon Dec 13 21:37:15 2010 From: jeff at siphonophore.com (Jeff Reynolds) Date: Mon, 13 Dec 2010 21:37:15 -0500 Subject: OT: Powers of Ten In-Reply-To: References: Message-ID: Colin, yes the idea has been around for a long time and done quite a bit in all sorts of ways. The eames version was commissioned by IBM as part of a traveling exhibit at the time and based on the 1957 book by Kees Boeke. yours is a very nice interactive, and i think i may have played with it in the past sometime, it tickled some neurons! The Eames actually did quite a few short films and designed things other than chairs, they are just remembered for that the most! they did several exhibits for IBM in the 60s and 70s on math and science that were really top top notch. also sometime check out tocatta for toy trains -- quite fun! cheers jeff On Dec 13, 2010, at 8:51 PM, use-livecode-request at lists.runrev.com wrote: > > On Dec 13, 2010, at 1:08 PM, Jeff Reynolds wrote: > >> The eames version was the grand daddy and still holds up decades >> later > > > One bit of trivia, the powers of ten idea was sent to the Natural > History Museum on the 1920s, and the one I did was based on that > original suggestion. I'm not sure if Eames thought of it himself > too, while building chairs, but he may have also known about the > 1920s letter. From runrevplanet at smpcs.server101.com Mon Dec 13 22:11:29 2010 From: runrevplanet at smpcs.server101.com (RunRevPlanet) Date: Tue, 14 Dec 2010 14:11:29 +1100 Subject: Various newbie doubts about LiveCode In-Reply-To: References: Message-ID: <4D06E061.2010002@smpcs.server101.com> Hi Giuseppe, While it is not a database application, the Mac OS X version of the software at this site: http://www.teacherspersonalmarkbook.com/ is 100% LiveCode and was developed with a fraction of the code required for the Windows version (that was developed in Delphi). It is not be the same type of SQL business application you are thinking of, but it is an example of "shrink wrap" style software built with LiveCode, in contrast to in-house internal systems. As a desktop application what it does is not trivial, and I consider it as an example that LiveCode is a flexible and powerful system that is very productive to work in. -- Scott McDonald "Components, Stacks, Tools and Resources for LiveCode" www.runrevplanet.com From lists at mangomultimedia.com Mon Dec 13 22:34:44 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 13 Dec 2010 22:34:44 -0500 Subject: datagrid: sharing grid templates In-Reply-To: <1292286594912-3086289.post@n4.nabble.com> References: <1292286594912-3086289.post@n4.nabble.com> Message-ID: On Mon, Dec 13, 2010 at 7:29 PM, JosepM wrote: > > I have a doubt about the use of the datagrid templates. > > I have two stack with the same datagrid, copied and pasted from one stack > to > other stack. > The template is in the stack one. The question is: opening the stack two > force to open the stack one if this isn't open yet? > > Using the datagrid templates in this way is correctly? > The template group that a data grid uses for the row/columns exists independently of the data grid. Even though two data grids may share the same template, opening one data grid in no way affects the other data grid. -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From lists at mangomultimedia.com Mon Dec 13 22:38:35 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 13 Dec 2010 22:38:35 -0500 Subject: Extra Datagrid Columns In-Reply-To: References: Message-ID: On Mon, Dec 13, 2010 at 7:53 PM, Peter Haworth wrote: > It seems that if you inadvertently set the dgText of a datagrid with values > that have more columns than have been defined, the extra columns are > arbitrarily added to the datagrid. Does anyone know of a way to prevent > this behaviour either by ignoring the extra columns or by issuing some sort > of warning/error? > When setting the dgText pass in true for the pIncludeColumnNames property and pass in the column names on line 1 of the data: set the dgText[true] of group "DataGrid" to ... Se dgText in the API for more information. http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7344-Data-Grid-API -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From tsj at unimelb.edu.au Mon Dec 13 23:07:26 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue, 14 Dec 2010 15:07:26 +1100 Subject: Getting a public IP address when connected to a router Message-ID: Does anyone have a LC routine (or tips on how to write one) that will enable me to get a public IP address rather than the local one assigned by a router? Terry... -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From sarah.reichelt at gmail.com Mon Dec 13 23:24:35 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 14 Dec 2010 14:24:35 +1000 Subject: Getting a public IP address when connected to a router In-Reply-To: References: Message-ID: put URL "http://www.whatismyip.com/automation/n09230945.asp" into tMyPublicIP Cheers, Sarah On Tue, Dec 14, 2010 at 2:07 PM, Terry Judd wrote: > Does anyone have a LC routine (or tips on how to write one) that will enable > me to get a public IP address rather than the local one assigned by a > router? > > Terry... > > -- > Dr Terry Judd | Senior Lecturer in Medical Education > Medical Education Unit > Melbourne Medical School > The University of Melbourne From katir at hindu.org Tue Dec 14 00:04:18 2010 From: katir at hindu.org (Sivakatirswami) Date: Mon, 13 Dec 2010 19:04:18 -1000 Subject: OT: Problems with Inserting Odd Characters into PostGreSQL In-Reply-To: <368971E7-8C59-41B1-99A5-D856B1D4BB0E@twft.com> References: <4D067B78.1090308@hindu.org> <368971E7-8C59-41B1-99A5-D856B1D4BB0E@twft.com> Message-ID: <4D06FAD2.40406@hindu.org> On 12/13/10 11:04 AM, Bob Sneidar wrote: > A search of the LiveCode dictionary for encode reveals the uniEncode function. This might be what you are looking for. > > BTW (and please nobody hate me for saying so) (and this is not directed at the poster or anyone in particular) a LOT of enquiries on this list I find the answers for by doing simple finds in the LiveCode dictionary, or for other issues google searches. We should all make it a principle we code by that we try to find the solutions ourselves before posting. You make a good point Bob... I do tend to go begging here. My problem is that I don't know enough about some things to even know what to search for. I never thought of a curly quote as a unicode character I always think of it as an ANSI... And Spanish fits into ISO 8859-1 as does the curly quote: these are single byte characters; so why do we need uniEncode? But, you are right I should to ask these questions in the PostGreSQL forums and not here. Probably I should ( and usually do) use my Experts' Exchange account for this type of thing, but sometimes I think that these threads end up helping other LiveCoders. and If we do it outside this list then it is not seen. I know I get a lot out of responses to "dumb questions" by newbies, even though I did not post them.... > That being said, I learn a lot myself by looking up these things for other people.:-) > > Bob From kee at kagi.com Tue Dec 14 00:06:07 2010 From: kee at kagi.com (Kee Nethery) Date: Mon, 13 Dec 2010 21:06:07 -0800 Subject: Getting a public IP address when connected to a router In-Reply-To: References: Message-ID: <16FB9E75-1F0C-49D6-8F33-EFAE5CB27950@kagi.com> I agree with Sarah and to explain why ... When your computer is inside a firewall or gateway or router that does Network Address Translation (NAT http://en.wikipedia.org/wiki/Network_address_translation) there is no way to know what your external address is because all your computer knows is it's internal address and the internal address of the gateway that is connected to the outside world. You have to talk to a machine outside your private network and ask it what it sees as your IP address. There are a bunch of web sites that will tell you the external address for your computer. You'll need to parse the HTML that comes back to you. Sarah provided one web site that I'm sure works fine, there are tons of others. A search for "my ip address?" will give you lots of web sites that can display your real external IP address. If your software really needs to know the external IP address and you do not want to rely upon web sites created by others that you have to parse, you can build your own web site and hit it. That way you can be sure that the web page always gives you back the data in a format you can parse. Otherwise, when your chosen external web site alters its HTML response, your code will break. Kee Nethery On Dec 13, 2010, at 8:07 PM, Terry Judd wrote: > Does anyone have a LC routine (or tips on how to write one) that will enable > me to get a public IP address rather than the local one assigned by a > router? > > Terry... > > -- > Dr Terry Judd | Senior Lecturer in Medical Education > Medical Education Unit > Melbourne Medical School > The University of Melbourne > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ------------------------------------------------- I check email roughly 2 to 3 times per day. Kagi main office: +1 (510) 550-1336 From tsj at unimelb.edu.au Tue Dec 14 00:11:12 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue, 14 Dec 2010 16:11:12 +1100 Subject: Getting a public IP address when connected to a router In-Reply-To: <16FB9E75-1F0C-49D6-8F33-EFAE5CB27950@kagi.com> Message-ID: OK - thanks Kee (and Sarah). Terry... On 14/12/10 4:06 PM, "Kee Nethery" wrote: > I agree with Sarah and to explain why ... > > When your computer is inside a firewall or gateway or router that does Network > Address Translation (NAT > http://en.wikipedia.org/wiki/Network_address_translation) there is no way to > know what your external address is because all your computer knows is it's > internal address and the internal address of the gateway that is connected to > the outside world. You have to talk to a machine outside your private network > and ask it what it sees as your IP address. There are a bunch of web sites > that will tell you the external address for your computer. You'll need to > parse the HTML that comes back to you. Sarah provided one web site that I'm > sure works fine, there are tons of others. A search for "my ip address?" will > give you lots of web sites that can display your real external IP address. > > If your software really needs to know the external IP address and you do not > want to rely upon web sites created by others that you have to parse, you can > build your own web site and hit it. That way you can be sure that the web page > always gives you back the data in a format you can parse. Otherwise, when your > chosen external web site alters its HTML response, your code will break. > > Kee Nethery > > > On Dec 13, 2010, at 8:07 PM, Terry Judd wrote: > >> Does anyone have a LC routine (or tips on how to write one) that will enable >> me to get a public IP address rather than the local one assigned by a >> router? >> >> Terry... >> >> -- >> Dr Terry Judd | Senior Lecturer in Medical Education >> Medical Education Unit >> Melbourne Medical School >> The University of Melbourne >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > ------------------------------------------------- > I check email roughly 2 to 3 times per day. > Kagi main office: +1 (510) 550-1336 > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From pete at mollysrevenge.com Tue Dec 14 00:12:26 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Mon, 13 Dec 2010 21:12:26 -0800 Subject: Extra Datagrid Columns In-Reply-To: References: Message-ID: Great, thanks Trevor. Pete Haworth On Dec 13, 2010, at 7:38 PM, Trevor DeVore wrote: > On Mon, Dec 13, 2010 at 7:53 PM, Peter Haworth > wrote: > >> It seems that if you inadvertently set the dgText of a datagrid >> with values >> that have more columns than have been defined, the extra columns are >> arbitrarily added to the datagrid. Does anyone know of a way to >> prevent >> this behaviour either by ignoring the extra columns or by issuing >> some sort >> of warning/error? >> > > When setting the dgText pass in true for the pIncludeColumnNames > property > and pass in the column names on line 1 of the data: > > set the dgText[true] of group "DataGrid" to ... > > Se dgText in the API for more information. > > http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7344-Data-Grid-API > > -- > > Trevor DeVore > > Blue Mango Learning Systems > > ScreenSteps: http://www.screensteps.com > > Releasable Revolution Resources for Developers: > http://revolution.bluemangolearning.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From chipp at chipp.com Tue Dec 14 00:17:06 2010 From: chipp at chipp.com (Chipp Walters) Date: Mon, 13 Dec 2010 23:17:06 -0600 Subject: Post Facto Live LiveCode Code Event #3 In-Reply-To: References: Message-ID: Mark, This sounds really cool. Thanks for taking it on. I look forward to reviewing the videos. On Monday, December 13, 2010, Mark Schonewille wrote: > Hi LiveCoders, > > Past Saturday, 11 December, we had another successful Live LiveCode Code Event. While a dozen of code monkeys chitchatted about everything LiveCode and many other subjects, we enjoyed 2 interesting presentations. This time, Bj?rnke was unavailable and Mark took the challenge of organising the event. From pete at mollysrevenge.com Tue Dec 14 03:29:03 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Tue, 14 Dec 2010 00:29:03 -0800 Subject: savingStandalone Problem In-Reply-To: <4D06D690.60707@hyperactivesw.com> References: <304AAE54-BD37-47AD-ACD0-6FCF65702393@mollysrevenge.com> <4D06B356.6030209@hyperactivesw.com> <4D06D690.60707@hyperactivesw.com> Message-ID: <7C1278A4-CE32-41A3-8E0C-D47CDAB01886@mollysrevenge.com> Hi Jacquie, Sorry, I didn't update the code snippet. I put the dialogdata into a local variable right after coming back from the modal prompt. I want this process to be automated so that's why I don;t use the message box - I'd forget to do it! I could use an "ask" dialog, it's just that my prompt dialogs are kinda customised for my application. In answer to your other reply, what you're doing is exactly what I'm doing to display the version in an About dialog, along with the build date as well which is also stored in a main stack custom property (which works fine!). Pete Haworth -------------- next part -------------- http://www.mollysrevenge.com http://www.sonicbids.com/MollysRevenge http://www.myspace.com/mollysrevengeband On Dec 13, 2010, at 6:29 PM, J. Landman Gay wrote: > On 12/13/10 7:51 PM, Peter Haworth wrote: >> Hi Jacquie, >> I'm certain the prompt handler is returning the correct value - I >> put an >> answer information in it right before the set statement and it showed >> that the dialogdata had the value I keyed into the prompt form. > > Ask and answer dialogs change the value of the dialogdata, but I > understand it was just a test. > > I can't think of any other reason it would fail. Dialogdata is just > like a huge engine-wide global and you can use it however you want. > But any other dialog or modal can change its value so it isn't > dependable except immediately after it's set. The sample script you > posted should work, you were doing it right. > > I'm not sure what the goal is of opening a modal to request a > version number. Is there a reason not to use the message box or an > "ask" command? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jaguayo at telur.es Tue Dec 14 03:32:45 2010 From: jaguayo at telur.es (Joseba Aguayo) Date: Tue, 14 Dec 2010 09:32:45 +0100 Subject: FTP In-Reply-To: References: Message-ID: <523DF648-446C-4B26-A007-F6C192E1B416@telur.es> Hello: That Server is not mine. Is the FTP Server of the "Agencia Estatal de Meteorolog?a de Espa?a". Then, the access problems is a bug in the Internet library???? The access run OK with all browsers and FTP clients that I have tried. But NO with Revolution. Un saludo. Joseba Aguayo Fern?ndez (jaguayo at telur.es) On Dec 11, 2010, at 2:17 AM, use-livecode-request at lists.runrev.com wrote: > Often you need to supply a user name and password for ftp access. > > I tried this: > > get > "ftp://ftpdatos.aemet.es/series_climatologicas/valores_diarios/estacion/LEEME_DATOS.txt" > put url it > > And the result was: error 500 Unknown command. > > I'm not sure why, but your server isn't accepting the URL. From glpunzi at lordzealon.com Tue Dec 14 03:35:11 2010 From: glpunzi at lordzealon.com (Giuseppe Luigi Punzi) Date: Tue, 14 Dec 2010 09:35:11 +0100 Subject: Various newbie doubts about LiveCode In-Reply-To: <4D06E061.2010002@smpcs.server101.com> References: <4D06E061.2010002@smpcs.server101.com> Message-ID: <201012140935.11655.glpunzi@lordzealon.com> Thanks a lot for all your experiences. Was very helpfull to me ;) Cheers. On Tuesday 14 December 2010 04:11:29 RunRevPlanet wrote: > Hi Giuseppe, > > While it is not a database application, the Mac OS X version of the > software at this site: > > http://www.teacherspersonalmarkbook.com/ > > is 100% LiveCode and was developed with a fraction of the code required > for the Windows version (that was developed in Delphi). > > It is not be the same type of SQL business application you are thinking > of, but it is an example of "shrink wrap" style software built with > LiveCode, in contrast to in-house internal systems. > > As a desktop application what it does is not trivial, and I consider it > as an example that LiveCode is a flexible and powerful system that is > very productive to work in. -- -- Giuseppe Luigi http://www.lordzealon.com From glpunzi at lordzealon.com Tue Dec 14 03:39:49 2010 From: glpunzi at lordzealon.com (Giuseppe Luigi Punzi) Date: Tue, 14 Dec 2010 09:39:49 +0100 Subject: Programadores =?iso-8859-1?q?espa=F1oles_-_Spanish?= census Message-ID: <201012140939.49304.glpunzi@lordzealon.com> Sorry for this non-english mail, but I'm curious to know how many spanish LiveCode developers are here. ******************* Hola a todos, Este mail va dirigido a aquellos programadores hispano parlantes. Tengo curiosidad cuantos habemos por aqu? para poder comunicarnos en nuestra lengua. Un saludo. -- -- Giuseppe Luigi http://www.lordzealon.com From zryip.theslug at gmail.com Tue Dec 14 03:48:34 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Tue, 14 Dec 2010 09:48:34 +0100 Subject: Drag and Drop between Data Grids In-Reply-To: References: <7845302A-0CDA-47DE-923A-928C99D1BAF3@twft.com> Message-ID: On Tue, Dec 14, 2010 at 2:10 AM, Bob Sneidar wrote: > Whoops! Looks like you use some kind of anonymous proxy. A lot of content filtering software blocks access to these because they are also used by some to bypass content filtering! DOH! > > I can get past it okay, but I thought you should know that although using web proxies is a common practice these days, a lot of people, like schools for instance, cannot access sites that use them. > > I can get around it because I am the IT guy! Bob, as I created myself the website, I'm pretty sure to have no proxy. The only thing filtering IPs in it, is a regular google analytics script. Please drop me a note off line with the message you got and I could judge what is the problem and how to solve it. Thanks! To be back to the problem, the experiment stack gave you some clues for doing what you want, or do you want more materials? Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From walter.h.brown at gmail.com Tue Dec 14 04:43:45 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Tue, 14 Dec 2010 04:43:45 -0500 Subject: Set Angle Bug? In-Reply-To: <523DF648-446C-4B26-A007-F6C192E1B416@telur.es> References: <523DF648-446C-4B26-A007-F6C192E1B416@telur.es> Message-ID: <4d073c5c.a04de50a.1595.7aeb@mx.google.com> Hi! I created an image and used the Object Inspector to set it's graphic file, a PNG. I cloned and resized the image programmatically. Then when I went to spin the cloned image using "set the angle of" it reverted to its original size. Is there a way around that? I vaguely remember this issue but can't recall the answer. Thanks, Walt From harald at etcpp.de Tue Dec 14 04:58:20 2010 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Tue, 14 Dec 2010 10:58:20 +0100 Subject: Set Angle Bug? In-Reply-To: <4d073c5c.a04de50a.1595.7aeb@mx.google.com> References: <523DF648-446C-4B26-A007-F6C192E1B416@telur.es> <4d073c5c.a04de50a.1595.7aeb@mx.google.com> Message-ID: Hi Walt, haven't found anything to keep the size of the image untouched. So I save its dimensions before rotating and restore them afterwards. Harald. Am 14.12.2010 um 10:43 schrieb Walt Brown: > Hi! > I created an image and used the Object Inspector to set it's graphic file, a > PNG. I cloned and resized the image programmatically. Then when I went to > spin the cloned image using "set the angle of" it reverted to its original > size. Is there a way around that? I vaguely remember this issue but can't > recall the answer. > Thanks, > Walt > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From walter.h.brown at gmail.com Tue Dec 14 05:05:58 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Tue, 14 Dec 2010 05:05:58 -0500 Subject: Set Angle Bug? In-Reply-To: References: <523DF648-446C-4B26-A007-F6C192E1B416@telur.es> <4d073c5c.a04de50a.1595.7aeb@mx.google.com> Message-ID: <4d074190.4276e50a.1b64.fffffa7a@mx.google.com> Thanks. That's what I ended up doing. I was hoping to avoid adding all that code, since I have a lot of cloned objects. I ended up putting a resize function in each one with lock and unlock screen calls, and calling it whenever needed. Walt -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Harald M?ller Sent: Tuesday, December 14, 2010 4:58 AM To: How to use LiveCode Subject: Re: Set Angle Bug? Hi Walt, haven't found anything to keep the size of the image untouched. So I save its dimensions before rotating and restore them afterwards. Harald. Am 14.12.2010 um 10:43 schrieb Walt Brown: > Hi! > I created an image and used the Object Inspector to set it's graphic > file, a PNG. I cloned and resized the image programmatically. Then > when I went to spin the cloned image using "set the angle of" it > reverted to its original size. Is there a way around that? I vaguely > remember this issue but can't recall the answer. > Thanks, > Walt > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From kevin at runrev.com Tue Dec 14 05:21:18 2010 From: kevin at runrev.com (Kevin Miller) Date: Tue, 14 Dec 2010 10:21:18 +0000 Subject: iOS apps not getting past review due to crashing In-Reply-To: Message-ID: On 13/12/2010 23:05, "Brian Meriaho" wrote: > Has anyone else had a problem getting past the review step with iTunes > Connect when submitting an app for Apple's App Store? I've built an > app that runs on several iPhones, checked the certificates, checked > the launch times, but still get rejected with a simple "it crashed". > Not sure what is left to check. Are you building with 4.5.2 or later? We fixed an issue that might have caused that in this version. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ LiveCode - Realize fast, compile-free coding From th.douez at sunnyrevtalk.com Tue Dec 14 05:30:21 2010 From: th.douez at sunnyrevtalk.com (Thierry) Date: Tue, 14 Dec 2010 11:30:21 +0100 Subject: Set Angle Bug? In-Reply-To: <4d073c5c.a04de50a.1595.7aeb@mx.google.com> References: <523DF648-446C-4B26-A007-F6C192E1B416@telur.es> <4d073c5c.a04de50a.1595.7aeb@mx.google.com> Message-ID: <928B8091-F476-4CF3-8106-A8C21673A4D2@sunnyrevtalk.com> Le 14 d?c. 2010 ? 10:43, Walt Brown a ?crit : > Hi! > I created an image and used the Object Inspector to set it's graphic file, a > PNG. I cloned and resized the image programmatically. Then when I went to > spin the cloned image using "set the angle of" it reverted to its original > size. Is there a way around that? I vaguely remember this issue but can't > recall the answer. > Thanks, > Walt Hi, Doesn't locking the image work in this case ? Regards, Thierry From richmondmathewson at gmail.com Tue Dec 14 05:43:30 2010 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 14 Dec 2010 12:43:30 +0200 Subject: Set Angle Bug? In-Reply-To: <4d074190.4276e50a.1b64.fffffa7a@mx.google.com> References: <523DF648-446C-4B26-A007-F6C192E1B416@telur.es> <4d073c5c.a04de50a.1595.7aeb@mx.google.com> <4d074190.4276e50a.1b64.fffffa7a@mx.google.com> Message-ID: <4D074A52.6090509@gmail.com> On 12/14/2010 12:05 PM, Walt Brown wrote: > Thanks. That's what I ended up doing. I was hoping to avoid adding all that > code, since I have a lot of cloned objects. I ended up putting a resize > function in each one with lock and unlock screen calls, and calling it > whenever needed. > Walt > > - How about locking the image once you have set it to the size you want? From walter.h.brown at gmail.com Tue Dec 14 06:43:32 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Tue, 14 Dec 2010 06:43:32 -0500 Subject: Set Angle Bug? In-Reply-To: <4D074A52.6090509@gmail.com> References: <523DF648-446C-4B26-A007-F6C192E1B416@telur.es> <4d073c5c.a04de50a.1595.7aeb@mx.google.com> <4d074190.4276e50a.1b64.fffffa7a@mx.google.com> <4D074A52.6090509@gmail.com> Message-ID: <4d07586f.d44de50a.237e.ffff893c@mx.google.com> Thanks. What I was doing was using the angle function to make an image visibly spin. I have to lock screen, change angle, resize, and unlock for each step, which is not really workable for a large number of small spinning objects. I have some more experiments to do, maybe a GIF solution... -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richmond Sent: Tuesday, December 14, 2010 5:43 AM To: How to use LiveCode Subject: Re: Set Angle Bug? On 12/14/2010 12:05 PM, Walt Brown wrote: > Thanks. That's what I ended up doing. I was hoping to avoid adding all > that code, since I have a lot of cloned objects. I ended up putting a > resize function in each one with lock and unlock screen calls, and > calling it whenever needed. > Walt > > - How about locking the image once you have set it to the size you want? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From iowahengst at mac.com Tue Dec 14 07:30:24 2010 From: iowahengst at mac.com (Randy Hengst) Date: Tue, 14 Dec 2010 06:30:24 -0600 Subject: iOS apps not getting past review due to crashing In-Reply-To: References: Message-ID: Kevin, As I shared in my response to Brian, I also had an app rejected by Apple. I built my rejected app with the the plugin version... that, as I recall, was before 4.5.2 with the integrated iOS. I can't yet send in another try using 4.5.2 since sound and orientation are not working properly.... No sound whatsoever in the iOS... simulator or real device.... but sound works in the IDE and a Mac build. Orientation will not start and stay in landscape unless the device is held in that orientation when the app is opened. A landscape oriented splash screen does not display in landscape. Have you identified/confirmed those issues? Is there a time-line for a fix? take care, randy hengst ----- On Dec 14, 2010, at 4:21 AM, Kevin Miller wrote: > On 13/12/2010 23:05, "Brian Meriaho" wrote: > >> Has anyone else had a problem getting past the review step with iTunes >> Connect when submitting an app for Apple's App Store? I've built an >> app that runs on several iPhones, checked the certificates, checked >> the launch times, but still get rejected with a simple "it crashed". >> Not sure what is left to check. > > Are you building with 4.5.2 or later? We fixed an issue that might have > caused that in this version. > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > LiveCode - Realize fast, compile-free coding > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lists at mangomultimedia.com Tue Dec 14 07:30:51 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 14 Dec 2010 07:30:51 -0500 Subject: OT: Problems with Inserting Odd Characters into PostGreSQL In-Reply-To: <5A6C26DA-1161-4D43-A776-01D3DD596397@twft.com> References: <4D067B78.1090308@hindu.org> <5A6C26DA-1161-4D43-A776-01D3DD596397@twft.com> Message-ID: On Mon, Dec 13, 2010 at 4:10 PM, Bob Sneidar wrote: > BTW, Trevor, does sqlYoga resolve this issue internally? If so it would > make a really great selling point for sqlYoga! No. I considered allowing one to set the encoding the database should use along with the encoding the strings would be passed in as but in the end decided against it. Personally I configure PostgreSQL to use UTF-8. I then encode any strings I insert and decode any strings I get out. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From ambassador at fourthworld.com Tue Dec 14 09:06:04 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Dec 2010 06:06:04 -0800 Subject: drag and drop to desktop: destination unknown Message-ID: <4D0779CC.3010604@fourthworld.com> When dragging an object from a LiveCode window to a folder in the desktop environment I've been unable to find a way to know the path to the destination. I submitted a request for this here: But it seems such a common need that I can't imagine I'm the only one who needs this. What do you folks do to find the destination path? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From bonnmike at gmail.com Tue Dec 14 09:11:27 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 14 Dec 2010 07:11:27 -0700 Subject: Getting a public IP address when connected to a router In-Reply-To: References: <16FB9E75-1F0C-49D6-8F33-EFAE5CB27950@kagi.com> Message-ID: On a mac you can do this.. get shell("ping -Rc 1 google.com| grep RR:") The line of the output starting RR: contains the external IP so it's grepped for. Easier to just hit a website that returns the info as stated, but thought i'd throw this out there. Pretty sure the same can be done with Windows ping, but not sure if the switches are identical. On Mon, Dec 13, 2010 at 10:11 PM, Terry Judd wrote: > OK - thanks Kee (and Sarah). > > Terry... > > > On 14/12/10 4:06 PM, "Kee Nethery" wrote: > > > I agree with Sarah and to explain why ... > > > > When your computer is inside a firewall or gateway or router that does > Network > > Address Translation (NAT > > http://en.wikipedia.org/wiki/Network_address_translation) there is no > way to > > know what your external address is because all your computer knows is > it's > > internal address and the internal address of the gateway that is > connected to > > the outside world. You have to talk to a machine outside your private > network > > and ask it what it sees as your IP address. There are a bunch of web > sites > > that will tell you the external address for your computer. You'll need to > > parse the HTML that comes back to you. Sarah provided one web site that > I'm > > sure works fine, there are tons of others. A search for "my ip address?" > will > > give you lots of web sites that can display your real external IP > address. > > > > If your software really needs to know the external IP address and you do > not > > want to rely upon web sites created by others that you have to parse, you > can > > build your own web site and hit it. That way you can be sure that the web > page > > always gives you back the data in a format you can parse. Otherwise, when > your > > chosen external web site alters its HTML response, your code will break. > > > > Kee Nethery > > > > > > On Dec 13, 2010, at 8:07 PM, Terry Judd wrote: > > > >> Does anyone have a LC routine (or tips on how to write one) that will > enable > >> me to get a public IP address rather than the local one assigned by a > >> router? > >> > >> Terry... > >> > >> -- > >> Dr Terry Judd | Senior Lecturer in Medical Education > >> Medical Education Unit > >> Melbourne Medical School > >> The University of Melbourne > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription > >> preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > ------------------------------------------------- > > I check email roughly 2 to 3 times per day. > > Kagi main office: +1 (510) 550-1336 > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Dr Terry Judd | Senior Lecturer in Medical Education > Medical Education Unit > Melbourne Medical School > The University of Melbourne > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Tue Dec 14 09:16:11 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 14 Dec 2010 07:16:11 -0700 Subject: Set Angle Bug? In-Reply-To: <4d07586f.d44de50a.237e.ffff893c@mx.google.com> References: <523DF648-446C-4B26-A007-F6C192E1B416@telur.es> <4d073c5c.a04de50a.1595.7aeb@mx.google.com> <4d074190.4276e50a.1b64.fffffa7a@mx.google.com> <4D074A52.6090509@gmail.com> <4d07586f.d44de50a.237e.ffff893c@mx.google.com> Message-ID: Silly question, but rather than clone the original, can you size it, snapshot it, and use that, or will there be too much lost quality? If it looks ok, seems like it would get around the issue since the image you'd be working with would then be the native size you wanted. On Tue, Dec 14, 2010 at 4:43 AM, Walt Brown wrote: > Thanks. What I was doing was using the angle function to make an image > visibly spin. I have to lock screen, change angle, resize, and unlock for > each step, which is not really workable for a large number of small > spinning > objects. I have some more experiments to do, maybe a GIF solution... > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richmond > Sent: Tuesday, December 14, 2010 5:43 AM > To: How to use LiveCode > Subject: Re: Set Angle Bug? > > On 12/14/2010 12:05 PM, Walt Brown wrote: > > Thanks. That's what I ended up doing. I was hoping to avoid adding all > > that code, since I have a lot of cloned objects. I ended up putting a > > resize function in each one with lock and unlock screen calls, and > > calling it whenever needed. > > Walt > > > > - > How about locking the image once you have set it to the size you want? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major.on-rev.com Tue Dec 14 09:17:11 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 14 Dec 2010 15:17:11 +0100 Subject: drag and drop to desktop: destination unknown In-Reply-To: <4D0779CC.3010604@fourthworld.com> References: <4D0779CC.3010604@fourthworld.com> Message-ID: Hi Richard, > When dragging an object from a LiveCode window to a folder in the desktop environment I've been unable to find a way to know the path to the destination. > I submitted a request for this here: > > But it seems such a common need that I can't imagine I'm the only one who needs this. > What do you folks do to find the destination path? I just gave it 5 votes! > -- > Richard Gaskin Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From kevin at runrev.com Tue Dec 14 09:41:28 2010 From: kevin at runrev.com (Kevin Miller) Date: Tue, 14 Dec 2010 14:41:28 +0000 Subject: iOS apps not getting past review due to crashing In-Reply-To: Message-ID: On 14/12/2010 12:30, "Randy Hengst" wrote: > As I shared in my response to Brian, I also had an app rejected by Apple. I > built my rejected app with the the plugin version... that, as I recall, was > before 4.5.2 with the integrated iOS. > > I can't yet send in another try using 4.5.2 since sound and orientation are > not working properly.... > > No sound whatsoever in the iOS... simulator or real device.... but sound works > in the IDE and a Mac build. > > Orientation will not start and stay in landscape unless the device is held in > that orientation when the app is opened. A landscape oriented splash screen > does not display in landscape. Have you identified/confirmed those issues? Is > there a time-line for a fix? We're not aware of either of these issues. There were some changes to how orientation operated in 4.5.2 to make it work better, check the guide carefully to make sure you are aware of those changes. I'll post a more detailed response on the LiveCode Developer Program list. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ LiveCode - Realize fast, compile-free coding From klaus at major.on-rev.com Tue Dec 14 10:23:12 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 14 Dec 2010 16:23:12 +0100 Subject: iOS and: wait until the sound is "done" Message-ID: <8B4B5B5D-CDF5-47A0-B756-421D023A5DB4@major.on-rev.com> Hi all, does someone know if ... wait until the sound is "done" ... is working on iOS after a "play "soundfile"? Or if there is another possibility to handle this situation? Did not find a hint in the Release notes. Thanks in advance! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From bobs at twft.com Tue Dec 14 11:45:32 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 14 Dec 2010 08:45:32 -0800 Subject: Drag and Drop between Data Grids In-Reply-To: References: <7845302A-0CDA-47DE-923A-928C99D1BAF3@twft.com> Message-ID: <5A18FA82-FC5A-4EDA-9091-C8C437097CA9@twft.com> Well, I copied and pasted your scripts from your datagrids to mine. While I can drag, I do not seem to be able to drop. Yours work, mine do not. I got really flustered at that so I gave up for the night. I am going to have a fresh go at it today sometime. Permit me a bit of a rant: While Data Grids are pretty cool and do amazing things, I was kind of hoping for a native table field. Mastering Data Grids seems to take as much or more as it took to master everything else about LiveCode. Oh well. Bob On Dec 14, 2010, at 12:48 AM, zryip theSlug wrote: > To be back to the problem, the experiment stack gave you some clues > for doing what you want, or do you want more materials? > > > Best regards, From bmeriaho at gmail.com Tue Dec 14 12:28:07 2010 From: bmeriaho at gmail.com (Brian Meriaho) Date: Tue, 14 Dec 2010 12:28:07 -0500 Subject: use-livecode Digest, Vol 87, Issue 36 In-Reply-To: References: Message-ID: I used the plug-in (4.5.1) to the build in question. I am currently doing a build with 4.5.2 and the integrated standalone panel. I'll report back once Apple reviews the binary. Thanks, -Brian > On Dec 14, 2010, at 4:21 AM, Kevin Miller wrote: >> Are you building with 4.5.2 or later? We fixed an issue that might have >> caused that in this version. >> >> Kind regards, >> >> Kevin > >> On 13/12/2010 23:05, "Brian Meriaho" wrote: >> >>> Has anyone else had a problem getting past the review step with iTunes >>> Connect when submitting an app for Apple's App Store? I've built an >>> app that runs on several iPhones, checked the certificates, checked >>> the launch times, but still get rejected with a simple "it crashed". >>> Not sure what is left to check. From harald at etcpp.de Tue Dec 14 12:32:42 2010 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Tue, 14 Dec 2010 18:32:42 +0100 Subject: LiveCode and facebook (preview) In-Reply-To: References: <1291041824113-3063680.post@n4.nabble.com> <1291049853005-3063930.post@n4.nabble.com> <0C487C16-3299-4DED-A842-9179057A9173@etcpp.de> Message-ID: Hi all. Facebook for iPhone now works (for me) but is still dirty coded and not well documented. But if you want to take a first look and play around, feel free to download an early version via web: server: kunden.etcpp.de/runrev/ user: runrev password: havefun You will have to build an application at facebook (don't be afraid, this is only a placeholder to get a unique ID which is needed). Done in minutes. The code is placed in the card script, it uses Mark Smith JSON-functions which are placed into the stacks script. When you have your Application ID and "secret" from facebook, add it to the card script and it should work. It would be nice to get feedback. Also it would be VERY cool to have some more translations for the status messages. I will continue with this attempt, so if you have additions or corrections: You're welcome. Have fun, hope it will work for you. Best regards, Harald. From revolution at derbrill.de Tue Dec 14 13:27:35 2010 From: revolution at derbrill.de (Malte Brill) Date: Tue, 14 Dec 2010 19:27:35 +0100 Subject: LiveCode and facebook (preview) In-Reply-To: References: Message-ID: Harald: I really look forward to giving this a shot. I am currently traveling and will not be back before monday though. I really appreciate you look into communicating with facebook, as this is one of the things I will want to do with both desktop and iOs projects. Vielen vielen Dank! Viele Gr??e, Malte From m.schonewille at economy-x-talk.com Tue Dec 14 13:48:35 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 14 Dec 2010 19:48:35 +0100 Subject: OAuth Message-ID: <8827B63D-06C0-4D22-82EA-5BAE4865E287@economy-x-talk.com> Hi, I put up the website at http://devwiki.runrev.info because several members on this mailing list expressed an interest in OAuth. Now that the website is on-line, nobody contributes. For this reason, I will take the website down before the end of the year, unless contributions are made. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce From walter.h.brown at gmail.com Tue Dec 14 13:54:08 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Tue, 14 Dec 2010 13:54:08 -0500 Subject: Set Angle Bug? In-Reply-To: References: <523DF648-446C-4B26-A007-F6C192E1B416@telur.es> <4d073c5c.a04de50a.1595.7aeb@mx.google.com> <4d074190.4276e50a.1b64.fffffa7a@mx.google.com> <4D074A52.6090509@gmail.com> <4d07586f.d44de50a.237e.ffff893c@mx.google.com> Message-ID: <4d07bd52.9c4de50a.6c28.10d9@mx.google.com> Thanks Mike, that's a thought. I may make a series of sized originals, like most icon libraries, then only allow a fixed set of sizes. -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mike Bonner Sent: Tuesday, December 14, 2010 9:16 AM To: How to use LiveCode Subject: Re: Set Angle Bug? Silly question, but rather than clone the original, can you size it, snapshot it, and use that, or will there be too much lost quality? If it looks ok, seems like it would get around the issue since the image you'd be working with would then be the native size you wanted. On Tue, Dec 14, 2010 at 4:43 AM, Walt Brown wrote: > Thanks. What I was doing was using the angle function to make an image > visibly spin. I have to lock screen, change angle, resize, and unlock > for each step, which is not really workable for a large number of > small spinning objects. I have some more experiments to do, maybe a > GIF solution... > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richmond > Sent: Tuesday, December 14, 2010 5:43 AM > To: How to use LiveCode > Subject: Re: Set Angle Bug? > > On 12/14/2010 12:05 PM, Walt Brown wrote: > > Thanks. That's what I ended up doing. I was hoping to avoid adding > > all that code, since I have a lot of cloned objects. I ended up > > putting a resize function in each one with lock and unlock screen > > calls, and calling it whenever needed. > > Walt > > > > - > How about locking the image once you have set it to the size you want? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Dec 14 13:55:17 2010 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 14 Dec 2010 20:55:17 +0200 Subject: OAuth In-Reply-To: <8827B63D-06C0-4D22-82EA-5BAE4865E287@economy-x-talk.com> References: <8827B63D-06C0-4D22-82EA-5BAE4865E287@economy-x-talk.com> Message-ID: <4D07BD95.40405@gmail.com> On 12/14/2010 08:48 PM, Mark Schonewille wrote: > Hi, > > I put up the website at http://devwiki.runrev.info because several members on this mailing list expressed an interest in OAuth. Now that the website is on-line, nobody contributes. For this reason, I will take the website down before the end of the year, unless contributions are made. > This is, unfortunately, about par for the course; cf. my RunRev learning bloggy thing I started about 5 years ago; only Judy Perry (as far as I recall) was good enough to contribute anything. > -- > Best regards, > > Mark Schonewille From klaus at major.on-rev.com Tue Dec 14 14:00:31 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 14 Dec 2010 20:00:31 +0100 Subject: Set Angle Bug? In-Reply-To: <4d07bd52.9c4de50a.6c28.10d9@mx.google.com> References: <523DF648-446C-4B26-A007-F6C192E1B416@telur.es> <4d073c5c.a04de50a.1595.7aeb@mx.google.com> <4d074190.4276e50a.1b64.fffffa7a@mx.google.com> <4D074A52.6090509@gmail.com> <4d07586f.d44de50a.237e.ffff893c@mx.google.com> <4d07bd52.9c4de50a.6c28.10d9@mx.google.com> Message-ID: Hi Walt, > Thanks Mike, that's a thought. I may make a series of sized originals, like > most icon libraries, then only allow a fixed set of sizes. this looks like a real bug to me! The angled images should definitvely NOT be resized in my opinion! This looks just too funky :-D Did you already bug reported this? If not, would you do this please? Thanks! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From richmondmathewson at gmail.com Tue Dec 14 14:26:54 2010 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 14 Dec 2010 21:26:54 +0200 Subject: 4wLCListSearch.rev Message-ID: <4D07C4FE.8050109@gmail.com> Being a shameless "dumpster diver" I have mucked around with the 4W_RevListSearch.rev stack. The mucked-about version is available at: http://andregarzia.on-rev.com/richmond/LClook.zip if anybody feels "funny" about that they should contact me (off-list) and I will remove it immediately. However I understand that FourthWorld put it in the public domain a long time ago. From walter.h.brown at gmail.com Tue Dec 14 14:27:49 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Tue, 14 Dec 2010 14:27:49 -0500 Subject: OAuth In-Reply-To: <4D07BD95.40405@gmail.com> References: <8827B63D-06C0-4D22-82EA-5BAE4865E287@economy-x-talk.com> <4D07BD95.40405@gmail.com> Message-ID: <4d07c537.1d4de50a.4145.13ed@mx.google.com> I'm still trying to read all the OAuth stuff already available (among all my other time sinks), and didn't have anything to contribute yet. Walt -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richmond Sent: Tuesday, December 14, 2010 1:55 PM To: How to use LiveCode Subject: Re: OAuth On 12/14/2010 08:48 PM, Mark Schonewille wrote: > Hi, > > I put up the website at http://devwiki.runrev.info because several members on this mailing list expressed an interest in OAuth. Now that the website is on-line, nobody contributes. For this reason, I will take the website down before the end of the year, unless contributions are made. > This is, unfortunately, about par for the course; cf. my RunRev learning bloggy thing I started about 5 years ago; only Judy Perry (as far as I recall) was good enough to contribute anything. > -- > Best regards, > > Mark Schonewille _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Tue Dec 14 14:31:48 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 14 Dec 2010 11:31:48 -0800 Subject: 4wLCListSearch.rev In-Reply-To: <4D07C4FE.8050109@gmail.com> References: <4D07C4FE.8050109@gmail.com> Message-ID: Is this a simple stack file or a plugin? Bob On Dec 14, 2010, at 11:26 AM, Richmond wrote: > Being a shameless "dumpster diver" I have mucked around with > the 4W_RevListSearch.rev stack. The mucked-about version is > available at: > > http://andregarzia.on-rev.com/richmond/LClook.zip > > if anybody feels "funny" about that they should contact me (off-list) > and I will remove it immediately. However I understand that FourthWorld > put it in the public domain a long time ago. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Dec 14 14:40:51 2010 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 14 Dec 2010 21:40:51 +0200 Subject: 4wLCListSearch.rev In-Reply-To: References: <4D07C4FE.8050109@gmail.com> Message-ID: <4D07C843.1050207@gmail.com> On 12/14/2010 09:31 PM, Bob Sneidar wrote: > Is this a simple stack file or a plugin? > It is a stack that loads as a palette; of course it would be perfectly possible to put it in your plug-ins folder. Personally, I have a Linux standalone on my Linux desktop and a Mac standalone on my Mac desktop (which, come to think of things, is really quite sensible, as I'd look a right Wally with a Mac standalone on my Linux desktop and vice versa) as don't always want to fire up the whole Jingbang jus to look something up on the use-list. >> >> http://andregarzia.on-rev.com/richmond/LClook.zip >> From bobs at twft.com Tue Dec 14 14:44:06 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 14 Dec 2010 11:44:06 -0800 Subject: 4wLCListSearch.rev In-Reply-To: <4D07C843.1050207@gmail.com> References: <4D07C4FE.8050109@gmail.com> <4D07C843.1050207@gmail.com> Message-ID: Well this is going to be tremendously useful to me as I don't have to look the noob every time I am stumped on something! Bob On Dec 14, 2010, at 11:40 AM, Richmond wrote: > On 12/14/2010 09:31 PM, Bob Sneidar wrote: >> Is this a simple stack file or a plugin? >> > It is a stack that loads as a palette; of course it would be perfectly possible to put it in > your plug-ins folder. > > Personally, I have a Linux standalone on my Linux desktop and a Mac standalone on > my Mac desktop (which, come to think of things, is really quite sensible, as I'd look > a right Wally with a Mac standalone on my Linux desktop and vice versa) as don't > always want to fire up the whole Jingbang jus to look something up on the use-list. > >>> >>> http://andregarzia.on-rev.com/richmond/LClook.zip >>> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From walter.h.brown at gmail.com Tue Dec 14 14:48:32 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Tue, 14 Dec 2010 14:48:32 -0500 Subject: Set Angle Bug? In-Reply-To: References: <523DF648-446C-4B26-A007-F6C192E1B416@telur.es> <4d073c5c.a04de50a.1595.7aeb@mx.google.com> <4d074190.4276e50a.1b64.fffffa7a@mx.google.com> <4D074A52.6090509@gmail.com> <4d07586f.d44de50a.237e.ffff893c@mx.google.com> <4d07bd52.9c4de50a.6c28.10d9@mx.google.com> Message-ID: <4d07ca12.8e8de50a.658c.170a@mx.google.com> I thought I didn't have access to bug reporting, as I didn't sign up for the new developer support package. What's the link? Thanks, Walt -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Klaus on-rev Sent: Tuesday, December 14, 2010 2:01 PM To: How to use LiveCode Subject: Re: Set Angle Bug? Hi Walt, > Thanks Mike, that's a thought. I may make a series of sized originals, > like most icon libraries, then only allow a fixed set of sizes. this looks like a real bug to me! The angled images should definitvely NOT be resized in my opinion! This looks just too funky :-D Did you already bug reported this? If not, would you do this please? Thanks! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Dec 14 14:56:12 2010 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 14 Dec 2010 21:56:12 +0200 Subject: Set Angle Bug? In-Reply-To: References: <523DF648-446C-4B26-A007-F6C192E1B416@telur.es> <4d073c5c.a04de50a.1595.7aeb@mx.google.com> <4d074190.4276e50a.1b64.fffffa7a@mx.google.com> <4D074A52.6090509@gmail.com> <4d07586f.d44de50a.237e.ffff893c@mx.google.com> <4d07bd52.9c4de50a.6c28.10d9@mx.google.com> Message-ID: <4D07CBDC.2040608@gmail.com> This one is a real truckload of old "Sh"; Imported an image that was 111 * 86 pixels; blew it up to 165 * 126 (i.e. about 1 and a half times the original size); locked it . . . set the angle of img "MG" to 30 the image is rotated by 30 degrees, but the 'frame' of 165 * 126 pixels is not; the image resizing so that its points fit within the 'frame'. set the angle of img "MG" to 0 derotated the image and returned it to its original size. Perhaps the most telling experiment was when I did this: set the angle of img "MG" to 90 the whole image, being rotated 90 degrees was distorted to fit within the 'frame'; the effect being that the pictorial content was both squeezed and stretched. Needless to point out; that with the image at its original size, none of these probelms arise. From walter.h.brown at gmail.com Tue Dec 14 14:59:21 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Tue, 14 Dec 2010 14:59:21 -0500 Subject: OAuth In-Reply-To: <8827B63D-06C0-4D22-82EA-5BAE4865E287@economy-x-talk.com> References: <8827B63D-06C0-4D22-82EA-5BAE4865E287@economy-x-talk.com> Message-ID: <4d07cc9b.8c8ee50a.2eb5.176f@mx.google.com> Mark, I tried, but when I clicked "Click here to edit this menu" it sent me back to the How It Works page. I didn't see how to either create a new page or edit existing ones. Thanks, Walt -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Schonewille Sent: Tuesday, December 14, 2010 1:49 PM To: How to use LiveCode Subject: OAuth Hi, I put up the website at http://devwiki.runrev.info because several members on this mailing list expressed an interest in OAuth. Now that the website is on-line, nobody contributes. For this reason, I will take the website down before the end of the year, unless contributions are made. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Tue Dec 14 14:58:54 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 14 Dec 2010 20:58:54 +0100 Subject: Set Angle Bug? In-Reply-To: <4d07ca12.8e8de50a.658c.170a@mx.google.com> References: <523DF648-446C-4B26-A007-F6C192E1B416@telur.es> <4d073c5c.a04de50a.1595.7aeb@mx.google.com> <4d074190.4276e50a.1b64.fffffa7a@mx.google.com> <4D074A52.6090509@gmail.com> <4d07586f.d44de50a.237e.ffff893c@mx.google.com> <4d07bd52.9c4de50a.6c28.10d9@mx.google.com> <4d07ca12.8e8de50a.658c.170a@mx.google.com> Message-ID: Hi Walt, > I thought I didn't have access to bug reporting, as I didn't sign up for the > new developer support package. Ah, I see, well then I will bug report this, if you don't mind :-) > What's the link? It is: but will be of use for you. > Thanks, > Walt Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From bobs at twft.com Tue Dec 14 15:05:09 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 14 Dec 2010 12:05:09 -0800 Subject: DataGrid drag and drop resolved Message-ID: <73CE6BFD-EA47-45C2-A72F-8880796D33C2@twft.com> Hi all, especially zryip. Indeed after taking a fresh look at the data grid example, I see that zryip stuffs a variable with column names, and so simply copy/pasting his code would never actually do anything in the target data grid because my column names are different. Bob From walter.h.brown at gmail.com Tue Dec 14 15:05:47 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Tue, 14 Dec 2010 15:05:47 -0500 Subject: Set Angle Bug? In-Reply-To: References: <523DF648-446C-4B26-A007-F6C192E1B416@telur.es> <4d073c5c.a04de50a.1595.7aeb@mx.google.com> <4d074190.4276e50a.1b64.fffffa7a@mx.google.com> <4D074A52.6090509@gmail.com> <4d07586f.d44de50a.237e.ffff893c@mx.google.com> <4d07bd52.9c4de50a.6c28.10d9@mx.google.com> <4d07ca12.8e8de50a.658c.170a@mx.google.com> Message-ID: <4d07ce1d.8e8de50a.7c36.1878@mx.google.com> Thanks. I vaguely remember having had access to this a while ago, but none of my "standard" usernames and passwords work on it, so I guess not. Walt -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Klaus on-rev Sent: Tuesday, December 14, 2010 2:59 PM To: How to use LiveCode Subject: Re: Set Angle Bug? Hi Walt, > I thought I didn't have access to bug reporting, as I didn't sign up > for the new developer support package. Ah, I see, well then I will bug report this, if you don't mind :-) > What's the link? It is: but will be of use for you. > Thanks, > Walt Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From zryip.theslug at gmail.com Tue Dec 14 15:09:53 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Tue, 14 Dec 2010 21:09:53 +0100 Subject: Drag and Drop between Data Grids In-Reply-To: <5A18FA82-FC5A-4EDA-9091-C8C437097CA9@twft.com> References: <7845302A-0CDA-47DE-923A-928C99D1BAF3@twft.com> <5A18FA82-FC5A-4EDA-9091-C8C437097CA9@twft.com> Message-ID: On Tue, Dec 14, 2010 at 5:45 PM, Bob Sneidar wrote: > Well, I copied and pasted your scripts from your datagrids to mine. While I can drag, I do not seem to be able to drop. Yours work, mine do not. I got really flustered at that so I gave up for the night. I am going to have a fresh go at it today sometime. > > Permit me a bit of a rant: While Data Grids are pretty cool and do amazing things, I was kind of hoping for a native table field. Mastering Data Grids seems to take as much or more as it took to master everything else about LiveCode. Bob, 1) In the datagrid source you need to have: the dgTrackDragReorder[tTheIndex] set to false If set to true, the datagrid tracks the move inside it. If set to false you are allowed to move the data outside it. Only this handler is required in the source datagrid: on dragStart local tTheIndex, tTheDragData, tTheDataControl put the dgDataControl of the target into tTheDataControl if (tTheDataControl is empty) then pass dragStart -- Prevent the move if no data control exists if (the dgHeader of the target is empty) then put the dgIndex of the dgDataControl of the target into tTheIndex set the dgDragImageIndex of me to tTheIndex ## Prepare the data to add in the datagrid 2 put the dgDataOfIndex[tTheIndex] of me into tTheDragData combine tTheDragData using tab set the dragData["private"] to tTheDragData set the dgTrackDragReorder[tTheIndex] of me to false -- Important to move the data outside end if end dragStart 2) In the destination, you need two handlers: on dragMove set the dragaction to "copy" end dragMove The dragaction will allow the datagrid to get the data you drop. on dragDrop local tTheNewData, tTheColOrder put "Col1" & cr & "Col2" into tTheColOrder put the dragData["private"] into tTheNewData send "AddLine tTheNewData, tTheColOrder" to me end dragDrop The dragDrop handler will receive the data dropped if the dragaction is allowed. Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From bobs at twft.com Tue Dec 14 15:10:36 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 14 Dec 2010 12:10:36 -0800 Subject: Set Angle Bug? In-Reply-To: <4D07CBDC.2040608@gmail.com> References: <523DF648-446C-4B26-A007-F6C192E1B416@telur.es> <4d073c5c.a04de50a.1595.7aeb@mx.google.com> <4d074190.4276e50a.1b64.fffffa7a@mx.google.com> <4D074A52.6090509@gmail.com> <4d07586f.d44de50a.237e.ffff893c@mx.google.com> <4d07bd52.9c4de50a.6c28.10d9@mx.google.com> <4D07CBDC.2040608@gmail.com> Message-ID: <3A893FA6-21B4-4EC4-AE72-66EAF77A0CE5@twft.com> I wonder what would happen if you changed the frame dimensions to 33% more than the highest of the x,y coordinates before rotating the actual image, then setting the frame dimensions to fit after the fact? Bob On Dec 14, 2010, at 11:56 AM, Richmond wrote: > This one is a real truckload of old "Sh"; > > Imported an image that was 111 * 86 pixels; blew it up to 165 * 126 > (i.e. about 1 and a half times the original size); locked it . . . > > set the angle of img "MG" to 30 > > the image is rotated by 30 degrees, but the 'frame' of 165 * 126 pixels is not; > the image resizing so that its points fit within the 'frame'. > > set the angle of img "MG" to 0 > > derotated the image and returned it to its original size. > > Perhaps the most telling experiment was when I did this: > > set the angle of img "MG" to 90 > > the whole image, being rotated 90 degrees was distorted to fit within > the 'frame'; the effect being that the pictorial content was both squeezed and stretched. > > Needless to point out; that with the image at its original size, none of these > probelms arise. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Tue Dec 14 15:12:00 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 14 Dec 2010 21:12:00 +0100 Subject: Set Angle Bug? In-Reply-To: <4d07ce1d.8e8de50a.7c36.1878@mx.google.com> References: <523DF648-446C-4B26-A007-F6C192E1B416@telur.es> <4d073c5c.a04de50a.1595.7aeb@mx.google.com> <4d074190.4276e50a.1b64.fffffa7a@mx.google.com> <4D074A52.6090509@gmail.com> <4d07586f.d44de50a.237e.ffff893c@mx.google.com> <4d07bd52.9c4de50a.6c28.10d9@mx.google.com> <4d07ca12.8e8de50a.658c.170a@mx.google.com> <4d07ce1d.8e8de50a.7c36.1878@mx.google.com> Message-ID: Hi Walt, > Thanks. I vaguely remember having had access to this a while ago, but none > of my "standard" usernames and passwords work on it, so I guess not. OK, done, including an example stack! > Walt Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From bobs at twft.com Tue Dec 14 15:58:50 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 14 Dec 2010 12:58:50 -0800 Subject: Drag and Drop between Data Grids In-Reply-To: References: <7845302A-0CDA-47DE-923A-928C99D1BAF3@twft.com> <5A18FA82-FC5A-4EDA-9091-C8C437097CA9@twft.com> Message-ID: Hi Zryip! That is the best explanation of the subject I have ever heard. That makes total sense to me now. Thanks. Bob On Dec 14, 2010, at 12:09 PM, zryip theSlug wrote: > On Tue, Dec 14, 2010 at 5:45 PM, Bob Sneidar wrote: >> Well, I copied and pasted your scripts from your datagrids to mine. While I can drag, I do not seem to be able to drop. Yours work, mine do not. I got really flustered at that so I gave up for the night. I am going to have a fresh go at it today sometime. >> >> Permit me a bit of a rant: While Data Grids are pretty cool and do amazing things, I was kind of hoping for a native table field. Mastering Data Grids seems to take as much or more as it took to master everything else about LiveCode. > > Bob, > > 1) In the datagrid source you need to have: the > dgTrackDragReorder[tTheIndex] set to false > > If set to true, the datagrid tracks the move inside it. If set to > false you are allowed to move the data outside it. > > Only this handler is required in the source datagrid: > > on dragStart > local tTheIndex, tTheDragData, tTheDataControl > > put the dgDataControl of the target into tTheDataControl > > if (tTheDataControl is empty) then pass dragStart -- Prevent the > move if no data control exists > > if (the dgHeader of the target is empty) then > put the dgIndex of the dgDataControl of the target into tTheIndex > set the dgDragImageIndex of me to tTheIndex > > ## Prepare the data to add in the datagrid 2 > put the dgDataOfIndex[tTheIndex] of me into tTheDragData > combine tTheDragData using tab > set the dragData["private"] to tTheDragData > > set the dgTrackDragReorder[tTheIndex] of me to false -- > Important to move the data outside > end if > end dragStart > > 2) In the destination, you need two handlers: > > on dragMove > set the dragaction to "copy" > end dragMove > > The dragaction will allow the datagrid to get the data you drop. > > on dragDrop > local tTheNewData, tTheColOrder > > put "Col1" & cr & "Col2" into tTheColOrder > put the dragData["private"] into tTheNewData > send "AddLine tTheNewData, tTheColOrder" to me > end dragDrop > > The dragDrop handler will receive the data dropped if the dragaction is allowed. > > > Best regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Tue Dec 14 16:02:09 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 14 Dec 2010 13:02:09 -0800 (PST) Subject: OAuth In-Reply-To: <4D07BD95.40405@gmail.com> References: <8827B63D-06C0-4D22-82EA-5BAE4865E287@economy-x-talk.com> <4D07BD95.40405@gmail.com> Message-ID: <1292360529262-3087968.post@n4.nabble.com> Hi Richmond, My top item in wish list for this Development platform is a Librarian who could write code. Just one. "A librarian is an information professional trained in library and information science, which is the organization and management of information services or materials for those with information needs." (From http://en.wikipedia.org/wiki/Librarian) Many times, I see many interesting works posted in this mail list or personal pages that merits more attention and discussion. For example, works that I would like to learn more from their creators are: (from years ago) Database library posted by Rob cozens created enterily in this Development language, the math library named "JonesLib", Geoff Canyon vector's game, Eva Isotalo's game Jump, and many recent work. Interviews with further explanations, code analysis and readers comments could have been useful to raise awareness for these works and many others. Of course, "in theory", we could figure it out all we want to know about any stack, just reading their code, but what is the fun of that? :-D Besides, too many stacks, libraries and applications are the result of many days (or weeks) of hard work and figuring their methods and algorithms are not as easy as some want us to believe... Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OAuth-tp3087738p3087968.html Sent from the Revolution - User mailing list archive at Nabble.com. From devin_asay at byu.edu Tue Dec 14 16:12:56 2010 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 14 Dec 2010 14:12:56 -0700 Subject: Posting binary data -- followup In-Reply-To: <466FF966-C840-47FA-9717-6B0B7217A0FB@economy-x-talk.com> References: <96788DD6-85F3-43D1-8B19-394FE9A3EC14@byu.edu> <466FF966-C840-47FA-9717-6B0B7217A0FB@economy-x-talk.com> Message-ID: Reporting back on this issue. > On 17 nov 2010, at 20:04, Devin Asay wrote: > >> Hi all, >> >> One of my students is doing a Rev project in which he needs to post binary data (a .mov file, in this case) to a web server. I've never done this, but I'm told that in a standard web form one sets the enctype attribute of a form input to indicate that the data being posted is binary. >> >> How would you do this using a Rev--errr--LiveCode post statement? On Nov 17, 2010, at 12:15 PM, Mark Schonewille wrote: > Hi Devin, > > Before using the post command, execute the following line: > > set the httpHeaders to "Content-type: application/binary" & cr & \ > "Content-Transfer-Encoding: binary" & cr & \ > "Content-Length: " > > Let us know if this works for you. Thanks for this suggestion, Mark. As it turns out, setting the Content-type and transfer-encoding is necessary, but there is a comprehensive solution in the libUrl library. After some digging in the list archives, I came across the solution in a post from (who else?) libURL-meister Dave Cragg. He said on May 15, 2010: > You can upload a file using post by using libUrlMultipartFormData. > > The use is a little complicated. You set the httpHeaders to the first line of the returned data, and lines 2 to the end is the data to post. > > There's an example in the Rev docs, but I think some of the text is messed up. (It shows html entities in some places where it shouldn't.) There's another example here: > > http://www.lacscentre.com/liburl/liburldoc.html#libUrlMultipartFormData I followed the example at that URL and it worked like a charm. I used this script, which also displays the multipart form data so you can see what's going on behind the scenes: on mouseUp put empty into tForm # create the variable put "Devin" into tName put "2010-12-13" into tDate answer file "Choose file: " if it is empty then exit mouseUp put "" & it into tFile if libUrlMultiPartFormData(tForm, "name", tName, "date", tDate, "file", tFile) is not empty then answer "error:" & it else set the httpHeaders to line 1 of tForm put tForm into fld 1 -- shows the multipart form data in a field post line 2 to -1 of tForm to url "http://some.server.com/test_post/a_script.cgi" -- answer the result -- for debugging: displays error, if any set the htmltext of fld 3 to it -- put it into fld 3: uncomment to show raw html end if end mouseUp Hope this is helpful to someone. Regards, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From jacque at hyperactivesw.com Tue Dec 14 16:29:27 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 14 Dec 2010 15:29:27 -0600 Subject: Set Angle Bug? In-Reply-To: <4d07bd52.9c4de50a.6c28.10d9@mx.google.com> References: <523DF648-446C-4B26-A007-F6C192E1B416@telur.es> <4d073c5c.a04de50a.1595.7aeb@mx.google.com> <4d074190.4276e50a.1b64.fffffa7a@mx.google.com> <4D074A52.6090509@gmail.com> <4d07586f.d44de50a.237e.ffff893c@mx.google.com> <4d07bd52.9c4de50a.6c28.10d9@mx.google.com> Message-ID: <4D07E1B7.6060205@hyperactivesw.com> On 12/14/10 12:54 PM, Walt Brown wrote: > Thanks Mike, that's a thought. I may make a series of sized originals, like > most icon libraries, then only allow a fixed set of sizes. I wasn't sure from reading the thread, but did you lock the image itself (set the lockloc to true, in the image's property inspector, size pane) or just lock the screen? Setting the image's lockloc prevents it from resizing. I don't think the resizing is actually a bug, though it may not be desired behavior. All images revert to their original dimensions when they are redrawn, unless they are locked. Usually the redraw only happens in an opencard, but if you change its orientation it also needs to be redrawn. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Dec 14 16:33:48 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 14 Dec 2010 15:33:48 -0600 Subject: Set Angle Bug? In-Reply-To: <4D07CBDC.2040608@gmail.com> References: <523DF648-446C-4B26-A007-F6C192E1B416@telur.es> <4d073c5c.a04de50a.1595.7aeb@mx.google.com> <4d074190.4276e50a.1b64.fffffa7a@mx.google.com> <4D074A52.6090509@gmail.com> <4d07586f.d44de50a.237e.ffff893c@mx.google.com> <4d07bd52.9c4de50a.6c28.10d9@mx.google.com> <4D07CBDC.2040608@gmail.com> Message-ID: <4D07E2BC.8030904@hyperactivesw.com> On 12/14/10 1:56 PM, Richmond wrote: > This one is a real truckload of old "Sh"; > > Imported an image that was 111 * 86 pixels; blew it up to 165 * 126 > (i.e. about 1 and a half times the original size); locked it . . . > > set the angle of img "MG" to 30 > > the image is rotated by 30 degrees, but the 'frame' of 165 * 126 pixels > is not; > the image resizing so that its points fit within the 'frame'. > > set the angle of img "MG" to 0 > > derotated the image and returned it to its original size. > > Perhaps the most telling experiment was when I did this: > > set the angle of img "MG" to 90 > > the whole image, being rotated 90 degrees was distorted to fit within > the 'frame'; the effect being that the pictorial content was both > squeezed and stretched. > > Needless to point out; that with the image at its original size, none of > these > probelms arise. Normal behavior. If the image is locked, it is prevented from redrawing its frame, so the image resizes inside the frame instead. To get the behavior you want, unlock the image, rotate, resize, relock. It happens pretty fast, but you'll need to check whether you also need to lock the screen. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From katir at hindu.org Tue Dec 14 16:40:13 2010 From: katir at hindu.org (Web Admin Himalayan Academy) Date: Tue, 14 Dec 2010 11:40:13 -1000 Subject: OT: Problems with Inserting Odd Characters into PostGreSQL In-Reply-To: References: <4D067B78.1090308@hindu.org> <5A6C26DA-1161-4D43-A776-01D3DD596397@twft.com> Message-ID: <4D07E43D.1070606@hindu.org> On 12/14/10 2:30 AM, Trevor DeVore wrote: > Personally I configure PostgreSQL to use UTF-8. I then encode any strings I > insert and decode any strings I get out. > I checked on our server and I have all the databases set for UTF-8... I'll try some tests... using uniEncode. I presume this needs to be done for all strings. What I don't understand is what happens when you decode the data on the way out and pass it to, e.g.

[some decoded string, with a smart quote or mDash or German umlaut]

what will happen. But that's not a Live Code issue. if the encoding for the page is UTF-8 also, then maybe you don't have to decode at all? We will see, but this is a live web app and I'm nervous about breaking it. ( I know.. "don't you have a test environment?" ... no I don't...) Sivakatirswami From capellan2000 at gmail.com Tue Dec 14 17:21:51 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 14 Dec 2010 14:21:51 -0800 (PST) Subject: Posting binary data -- followup In-Reply-To: References: <96788DD6-85F3-43D1-8B19-394FE9A3EC14@byu.edu> <466FF966-C840-47FA-9717-6B0B7217A0FB@economy-x-talk.com> Message-ID: <1292365311045-3088111.post@n4.nabble.com> Hi Devin, Just out of curiosity: What is the content of the variable "tForm"? Thanks in advance Al Devin Asay wrote: > > I followed the example at that URL and it worked like a charm. I used this > script, which also displays the multipart form data so you can see what's > going on behind the scenes: > > on mouseUp > put empty into tForm # create the variable > > put "Devin" into tName > put "2010-12-13" into tDate > > answer file "Choose file: " > if it is empty then exit mouseUp > put "" & it into tFile > if libUrlMultiPartFormData(tForm, "name", tName, "date", tDate, > "file", tFile) is not empty then > answer "error:" & it > else > set the httpHeaders to line 1 of tForm > put tForm into fld 1 -- shows the multipart form data in a field > post line 2 to -1 of tForm to url > "http://some.server.com/test_post/a_script.cgi" > -- answer the result -- for debugging: displays error, if any > set the htmltext of fld 3 to it > -- put it into fld 3: uncomment to show raw html > end if > end mouseUp > > Hope this is helpful to someone. > > Regards, > Devin > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Posting-binary-data-tp3047407p3088111.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at mollysrevenge.com Tue Dec 14 17:22:35 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Tue, 14 Dec 2010 14:22:35 -0800 Subject: savingStandalone Problem In-Reply-To: <4D06D690.60707@hyperactivesw.com> References: <304AAE54-BD37-47AD-ACD0-6FCF65702393@mollysrevenge.com> <4D06B356.6030209@hyperactivesw.com> <4D06D690.60707@hyperactivesw.com> Message-ID: <0C9733D6-4AEF-418B-8202-C91D6E08D689@mollysrevenge.com> I'm still trying to figure this out. Here's the latest twist - the About dialog in the standalone, which uses the custom property, displays the correct version as entered in the prompt dialog during savingStandalone. But the custom property I see in the IDE doesn't get updated. I seem to remember seeing something about LC making copies of stacks when it builds a standalone, or I might be dreaming that. If there are stack copies involved, could that have anything to do with this? Pete Haworth -------------- next part -------------- http://www.mollysrevenge.com http://www.sonicbids.com/MollysRevenge http://www.myspace.com/mollysrevengeband On Dec 13, 2010, at 6:29 PM, J. Landman Gay wrote: > On 12/13/10 7:51 PM, Peter Haworth wrote: >> Hi Jacquie, >> I'm certain the prompt handler is returning the correct value - I >> put an >> answer information in it right before the set statement and it showed >> that the dialogdata had the value I keyed into the prompt form. > > Ask and answer dialogs change the value of the dialogdata, but I > understand it was just a test. > > I can't think of any other reason it would fail. Dialogdata is just > like a huge engine-wide global and you can use it however you want. > But any other dialog or modal can change its value so it isn't > dependable except immediately after it's set. The sample script you > posted should work, you were doing it right. > > I'm not sure what the goal is of opening a modal to request a > version number. Is there a reason not to use the message box or an > "ask" command? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From devin_asay at byu.edu Tue Dec 14 17:26:48 2010 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 14 Dec 2010 15:26:48 -0700 Subject: Posting binary data -- followup In-Reply-To: <1292365311045-3088111.post@n4.nabble.com> References: <96788DD6-85F3-43D1-8B19-394FE9A3EC14@byu.edu> <466FF966-C840-47FA-9717-6B0B7217A0FB@economy-x-talk.com> <1292365311045-3088111.post@n4.nabble.com> Message-ID: It's got two things in it: line 1 contains the custom http headers needed to submit the post request, and lines 2 to the end contain the actual posted form data. The URL referred to by Dave Cragg in my previous email explains it in more detail. Devin On Dec 14, 2010, at 3:21 PM, Alejandro Tejada wrote: > > Hi Devin, > > Just out of curiosity: > What is the content of the variable "tForm"? > > Thanks in advance > > Al > > > Devin Asay wrote: >> >> I followed the example at that URL and it worked like a charm. I used this >> script, which also displays the multipart form data so you can see what's >> going on behind the scenes: >> >> on mouseUp >> put empty into tForm # create the variable >> >> put "Devin" into tName >> put "2010-12-13" into tDate >> >> answer file "Choose file: " >> if it is empty then exit mouseUp >> put "" & it into tFile >> if libUrlMultiPartFormData(tForm, "name", tName, "date", tDate, >> "file", tFile) is not empty then >> answer "error:" & it >> else >> set the httpHeaders to line 1 of tForm >> put tForm into fld 1 -- shows the multipart form data in a field >> post line 2 to -1 of tForm to url >> "http://some.server.com/test_post/a_script.cgi" >> -- answer the result -- for debugging: displays error, if any >> set the htmltext of fld 3 to it >> -- put it into fld 3: uncomment to show raw html >> end if >> end mouseUp >> >> Hope this is helpful to someone. >> >> Regards, >> Devin >> > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Posting-binary-data-tp3047407p3088111.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Humanities Technology and Research Support Center Brigham Young University From niggemann at uni-wh.de Tue Dec 14 17:34:15 2010 From: niggemann at uni-wh.de (BNig) Date: Tue, 14 Dec 2010 14:34:15 -0800 (PST) Subject: Set Angle Bug? In-Reply-To: <4D07E2BC.8030904@hyperactivesw.com> References: <4d073c5c.a04de50a.1595.7aeb@mx.google.com> <4d074190.4276e50a.1b64.fffffa7a@mx.google.com> <4D074A52.6090509@gmail.com> <4d07586f.d44de50a.237e.ffff893c@mx.google.com> <4d07bd52.9c4de50a.6c28.10d9@mx.google.com> <4D07CBDC.2040608@gmail.com> <4D07E2BC.8030904@hyperactivesw.com> Message-ID: <1292366055682-3088139.post@n4.nabble.com> Hi Jacque, if you want to see an exploding universe with image rotation have a look at a stack that is in this thread in the Forum: http://forums.runrev.com/phpBB2/viewtopic.php?f=8&t=5300&hilit=+rotate+image#p23943 ImageRotate.rev.zip Ok maybe it is not nice to put the rotate command on a slider and rotate an image back and forth with small angle increments. But what you see may even be a feature.... kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Re-FTP-tp3086611p3088139.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Tue Dec 14 17:53:24 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 14 Dec 2010 14:53:24 -0800 Subject: Set Angle Bug? In-Reply-To: <1292366055682-3088139.post@n4.nabble.com> References: <4d073c5c.a04de50a.1595.7aeb@mx.google.com> <4d074190.4276e50a.1b64.fffffa7a@mx.google.com> <4D074A52.6090509@gmail.com> <4d07586f.d44de50a.237e.ffff893c@mx.google.com> <4d07bd52.9c4de50a.6c28.10d9@mx.google.com> <4D07CBDC.2040608@gmail.com> <4D07E2BC.8030904@hyperactivesw.com> <1292366055682-3088139.post@n4.nabble.com> Message-ID: Honestly, I think the multi-rotate distortion is the result of the fact that LiveCode works on successive iterations of images to accomplish the next rotate. Instead, it should keep the original, and display a copy of the image as rotated. This has the added benefit of being able to revert to the original image at a later time. Actually it shouldn't be too hard to implement this yourself. You could make a slider that upon first acting on the image, saved a copy in a custom property of the image object. Then, each time you call the rotate it can reset the image and recalculate the rotation for one single iteration. Bob On Dec 14, 2010, at 2:34 PM, BNig wrote: > > Hi Jacque, > > if you want to see an exploding universe with image rotation have a look at > a stack that is in this thread in the Forum: > > http://forums.runrev.com/phpBB2/viewtopic.php?f=8&t=5300&hilit=+rotate+image#p23943 > > ImageRotate.rev.zip > > Ok maybe it is not nice to put the rotate command on a slider and rotate an > image back and forth with small angle increments. But what you see may even > be a feature.... > > kind regards > Bernd > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Re-FTP-tp3086611p3088139.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Dec 14 18:11:45 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 14 Dec 2010 17:11:45 -0600 Subject: Set Angle Bug? In-Reply-To: References: <4d073c5c.a04de50a.1595.7aeb@mx.google.com> <4d074190.4276e50a.1b64.fffffa7a@mx.google.com> <4D074A52.6090509@gmail.com> <4d07586f.d44de50a.237e.ffff893c@mx.google.com> <4d07bd52.9c4de50a.6c28.10d9@mx.google.com> <4D07CBDC.2040608@gmail.com> <4D07E2BC.8030904@hyperactivesw.com> <1292366055682-3088139.post@n4.nabble.com> Message-ID: <4D07F9B1.5090006@hyperactivesw.com> On 12/14/10 4:53 PM, Bob Sneidar wrote: > Honestly, I think the multi-rotate distortion is the result of the > fact that LiveCode works on successive iterations of images to > accomplish the next rotate. Instead, it should keep the original, and > display a copy of the image as rotated. This has the added benefit of > being able to revert to the original image at a later time. That's what the angle command is supposed to do. Rotate distorts and is irreversable. There's documentation about it in the dictionary under the "rotate" entry. There's a discussion there about the resizing issue and how a rotated image fills its frame also. I haven't had time to experiment, so I'm just being theoretical here. But if changing the angle is introducing distortion then it sounds like a bug (except that some distortion will happen regardless just because of how pixels work.) If the original rotation was done with the rotate command, then it is acting as expected and each successive rotation will distort the image further. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Dec 14 18:19:58 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 14 Dec 2010 17:19:58 -0600 Subject: savingStandalone Problem In-Reply-To: <0C9733D6-4AEF-418B-8202-C91D6E08D689@mollysrevenge.com> References: <304AAE54-BD37-47AD-ACD0-6FCF65702393@mollysrevenge.com> <4D06B356.6030209@hyperactivesw.com> <4D06D690.60707@hyperactivesw.com> <0C9733D6-4AEF-418B-8202-C91D6E08D689@mollysrevenge.com> Message-ID: <4D07FB9E.5060500@hyperactivesw.com> On 12/14/10 4:22 PM, Peter Haworth wrote: > I'm still trying to figure this out. Here's the latest twist - the About > dialog in the standalone, which uses the custom property, displays the > correct version as entered in the prompt dialog during savingStandalone. > But the custom property I see in the IDE doesn't get updated. I didn't realize you were trapping savingStandalone. No promises on what can happen if you do that. Also, the SB puts up some dialogs of its own, so those will change the dialogdata. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jmyepes at mac.com Tue Dec 14 18:22:17 2010 From: jmyepes at mac.com (JosepM) Date: Tue, 14 Dec 2010 15:22:17 -0800 (PST) Subject: datagrid: sharing grid templates In-Reply-To: References: <1292286594912-3086289.post@n4.nabble.com> Message-ID: <1292368937847-3088202.post@n4.nabble.com> Hi Trevor, But if each datagrid reside in differents stacks? Opening one stack with a datagrid cause that open or load the other stack that have the datagrid templates? Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/datagrid-sharing-grid-templates-tp3086289p3088202.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Tue Dec 14 18:34:45 2010 From: bobs at twft.com (slylabs13) Date: Tue, 14 Dec 2010 15:34:45 -0800 (PST) Subject: datagrid: sharing grid templates In-Reply-To: <1292368937847-3088202.post@n4.nabble.com> References: <1292286594912-3086289.post@n4.nabble.com> <1292368937847-3088202.post@n4.nabble.com> Message-ID: <1292369685332-3088214.post@n4.nabble.com> Hi Josep. I don't think it works that way. If you copy/paste a data grid, I think the engine will also copy/paste the associated objects. Otherwise, copy/paste of datagrids could not work at all. For instance when you create a new data grid, the button with the behavior script also gets created "behind the scenes" otherwise the data grid would be dead in the water from the git go. Bob -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/datagrid-sharing-grid-templates-tp3086289p3088214.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Tue Dec 14 18:37:22 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 14 Dec 2010 15:37:22 -0800 Subject: OT: Problems with Inserting Odd Characters into PostGreSQL In-Reply-To: <4D07E43D.1070606@hindu.org> References: <4D067B78.1090308@hindu.org> <5A6C26DA-1161-4D43-A776-01D3DD596397@twft.com> <4D07E43D.1070606@hindu.org> Message-ID: That whole affair at the Tower of Babel really threw a wrench into the works didn't it? We should all just go back to using the original language: English! HAH HAH! Bob On Dec 14, 2010, at 1:40 PM, Web Admin Himalayan Academy wrote: > On 12/14/10 2:30 AM, Trevor DeVore wrote: >> Personally I configure PostgreSQL to use UTF-8. I then encode any strings I >> insert and decode any strings I get out. >> > I checked on our server and I have all the databases set for UTF-8... > > I'll try some tests... using uniEncode. > > I presume this needs to be done for all strings. What I don't understand is what happens when you decode the data on the way out and pass it to, e.g. > >

[some decoded string, with a smart quote or mDash or German umlaut]

> > what will happen. But that's not a Live Code issue. if the encoding for the page is UTF-8 also, then maybe you don't have to decode at all? > > We will see, but this is a live web app and I'm nervous about breaking it. ( I know.. "don't you have a test environment?" ... no I don't...) > > Sivakatirswami > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jmyepes at mac.com Tue Dec 14 18:37:30 2010 From: jmyepes at mac.com (JosepM) Date: Tue, 14 Dec 2010 15:37:30 -0800 (PST) Subject: array types Message-ID: <1292369850237-3088217.post@n4.nabble.com> Hi, Is posible in LiveCode delimite the chars of a variable inside of one array to assign other variable that assign the values into the array to each element. Example, so my explanation is confused :) I know. I have a string with: 00000Description nameT001 0.00 0.00 and I need to asign the entire string to the array but autofilling the values like in Pascal when use "Type of" So the string will be... splited by the definition of the array, but I don't know if is posible define one array with the length of her elements. 00000 Description name T 001 0.00 0.00 Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/array-types-tp3088217p3088217.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Tue Dec 14 18:39:34 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 14 Dec 2010 15:39:34 -0800 Subject: Set Angle Bug? In-Reply-To: <4D07F9B1.5090006@hyperactivesw.com> References: <4d073c5c.a04de50a.1595.7aeb@mx.google.com> <4d074190.4276e50a.1b64.fffffa7a@mx.google.com> <4D074A52.6090509@gmail.com> <4d07586f.d44de50a.237e.ffff893c@mx.google.com> <4d07bd52.9c4de50a.6c28.10d9@mx.google.com> <4D07CBDC.2040608@gmail.com> <4D07E2BC.8030904@hyperactivesw.com> <1292366055682-3088139.post@n4.nabble.com> <4D07F9B1.5090006@hyperactivesw.com> Message-ID: Right you are. I was commenting on how I *think* it *should* work, as in Bob's Own Little World. Bob On Dec 14, 2010, at 3:11 PM, J. Landman Gay wrote: > On 12/14/10 4:53 PM, Bob Sneidar wrote: >> Honestly, I think the multi-rotate distortion is the result of the >> fact that LiveCode works on successive iterations of images to >> accomplish the next rotate. Instead, it should keep the original, and >> display a copy of the image as rotated. This has the added benefit of >> being able to revert to the original image at a later time. > > That's what the angle command is supposed to do. Rotate distorts and is irreversable. There's documentation about it in the dictionary under the "rotate" entry. There's a discussion there about the resizing issue and how a rotated image fills its frame also. > > I haven't had time to experiment, so I'm just being theoretical here. But if changing the angle is introducing distortion then it sounds like a bug (except that some distortion will happen regardless just because of how pixels work.) If the original rotation was done with the rotate command, then it is acting as expected and each successive rotation will distort the image further. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Tue Dec 14 18:41:02 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 14 Dec 2010 15:41:02 -0800 Subject: datagrid: sharing grid templates In-Reply-To: <1292369685332-3088214.post@n4.nabble.com> References: <1292286594912-3086289.post@n4.nabble.com> <1292368937847-3088202.post@n4.nabble.com> <1292369685332-3088214.post@n4.nabble.com> Message-ID: <29A519DF-504A-43DC-989C-83335818FC48@twft.com> HAH! I just figured out why some people seem to be replying to the old list! It's because the nabble site is still posting to the old list!! Bob On Dec 14, 2010, at 3:34 PM, slylabs13 wrote: > > Hi Josep. > > I don't think it works that way. If you copy/paste a data grid, I think the > engine will also copy/paste the associated objects. Otherwise, copy/paste of > datagrids could not work at all. For instance when you create a new data > grid, the button with the behavior script also gets created "behind the > scenes" otherwise the data grid would be dead in the water from the git go. > > Bob > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/datagrid-sharing-grid-templates-tp3086289p3088214.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Tue Dec 14 18:42:14 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 14 Dec 2010 15:42:14 -0800 Subject: array types In-Reply-To: <1292369850237-3088217.post@n4.nabble.com> References: <1292369850237-3088217.post@n4.nabble.com> Message-ID: <26C3472F-F3C2-476C-86B2-21DB8D530978@twft.com> Looks like you have to roll your own. Bob On Dec 14, 2010, at 3:37 PM, JosepM wrote: > > Hi, > > Is posible in LiveCode delimite the chars of a variable inside of one array > to assign other variable that assign the values into the array to each > element. > > Example, so my explanation is confused :) I know. > > I have a string with: > > 00000Description nameT001 0.00 0.00 > > and I need to asign the entire string to the array but autofilling the > values like in Pascal when use "Type of" > > So the string will be... splited by the definition of the array, but I don't > know if is posible define one array with the length of her elements. > > 00000 > Description name > T > 001 > 0.00 > 0.00 > > > Salut, > Josep > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/array-types-tp3088217p3088217.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Tue Dec 14 18:50:50 2010 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 14 Dec 2010 15:50:50 -0800 Subject: iSO: backgroundPattern and textStyle In-Reply-To: References: Message-ID: <58FE5D7B-D1C5-41BE-8360-8CE56DAD27A7@clearvisiontech.com> Greetings, I am having a couple of problems with stacks in iOS. First, I can't seem to get the backgroundPattern of a stack or card to appear in the simulator (or the app on my iPhone). Also, the textStyle of a field doesn't seem to be working either. If I set the textStyle of a field to bold, it still appears plain. It all looks ok in the IDE, but not the simulator or app. Does anyone know the story on this? Is there a trick to getting this to work? Or, is this unimplemented as of yet (although the docs say it should work). Thanks in advance, Dan From bobs at twft.com Tue Dec 14 19:56:19 2010 From: bobs at twft.com (slylabs13) Date: Tue, 14 Dec 2010 16:56:19 -0800 (PST) Subject: datagrid: sharing grid templates In-Reply-To: <1292369685332-3088214.post@n4.nabble.com> References: <1292286594912-3086289.post@n4.nabble.com> <1292368937847-3088202.post@n4.nabble.com> <1292369685332-3088214.post@n4.nabble.com> Message-ID: <1292374579759-3088286.post@n4.nabble.com> Hi Josep. Upon further investigation it appears that the behavior script for data grids is in a datagridlibrary stack. So I was wrong about the button being put in the working stack itself. The principle holds however, that the button is not in the stack you copied from and therefore it's not going to open your other stack. Now it's possible to change the parent object of a datagrid. What would happen in a situation like this if you copied then pasted a datagrid into another stack, I don't know, but you have to intentionally change a parent script. It's not something you would do "by accident", so I don't think you have a problem there. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/datagrid-sharing-grid-templates-tp3086289p3088286.html Sent from the Revolution - User mailing list archive at Nabble.com. From zryip.theslug at gmail.com Tue Dec 14 20:01:20 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 15 Dec 2010 02:01:20 +0100 Subject: [ANN] Data Grid Helper 1.1.6 - Pasting controls in your TMPL area Message-ID: Dear LiveCode and DGH users, We are pleased to announce the availability of a new version of the Data Grid Helper plugin, our intuitive interface for building DataGrids, What we have for you in this new version: Change: - Copy / paste controls or images with COMMAND (Mac) or CONTROL (Windows & Linux) is now supported in the TMPL area. - Change in the layout handler built by the DGH's script builder. For fields, the script builder takes now in care the state of the dgColumnAligment for custom columns. Just build your script for a new custom column with the Script Builder to have the corresponding LayoutControl script. Note that in case you add a custom behavior to a column, the dgColumnAligment property is normally not handled by the DataGrid engine. DGH in this case helps you to link the dgColumnAligment property to the LayoutControl event of the custom behavior script. - Minor changes in the ready to use scripts: "select all" and "add row". Bug fixed: - Fix a save request when closing the DGH window after an update in the TMPL area. - In the TMPL area, fix a bug when removing several controls at the same time. - Fix a minor refreshing bug with the registering of the license. The name and key were not properly updated in the registering window. More information of our plugin and a link to download a free trial version here: http://www.aslugontheroad.co.cc/index.php?option=com_content&view=article&id=83:purchase-dgh&catid=41:tools-for-livecode&Itemid=64 New version of our Quick Start Guide: We have updated our Quick Start Guide with the last additions of DGH. You can download our new Quick Start Guide here: http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&download=13:data-grid-helper-quick-start-guide&id=12:trial&Itemid=63 A big thanks to William Moseid for his help in the revision of the guide. William has recently published a new interesting Fusion Chart article in the RevUp newsletter: http://www.runrev.com/newsletter/december/issue101/newsletter2.php Best Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From mwieder at ahsoftware.net Tue Dec 14 20:28:16 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 14 Dec 2010 17:28:16 -0800 Subject: datagrid: sharing grid templates In-Reply-To: <29A519DF-504A-43DC-989C-83335818FC48@twft.com> References: <1292286594912-3086289.post@n4.nabble.com> <1292368937847-3088202.post@n4.nabble.com> <1292369685332-3088214.post@n4.nabble.com> <29A519DF-504A-43DC-989C-83335818FC48@twft.com> Message-ID: <126-2055768546.20101214172816@ahsoftware.net> Bob- Tuesday, December 14, 2010, 3:41:02 PM, you wrote: > HAH! I just figured out why some people seem to be replying to > the old list! It's because the nabble site is still posting to the > old list!! gmane's up to date, though... -- -Mark Wieder mwieder at ahsoftware.net From revdev at pdslabs.net Tue Dec 14 20:35:24 2010 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 14 Dec 2010 17:35:24 -0800 Subject: array types In-Reply-To: <26C3472F-F3C2-476C-86B2-21DB8D530978@twft.com> References: <1292369850237-3088217.post@n4.nabble.com> <26C3472F-F3C2-476C-86B2-21DB8D530978@twft.com> Message-ID: <4D081B5C.2060904@pdslabs.net> Bob is right - LiveCode does not natively know how to handle lines of data as a set of fixed-length fields, so you have to roll your own field defs and apply them to each line. Here is one way: local sFieldLengths = "5,16,1,3,8,8" on mouseUp answer file "Select a text file with fixed-length fields:" if it = empty then exit to top put url ("file:" & it) into tData split tData with CR repeat for each key tLineNum in tData put mySplit(tData[tLineNum]) into tData[tLineNum] end repeat -- now 'tData' is a two-dimension array -- of fields by number within lines by number end mouseUp function mySplit pRecord put 0 into tOffset put 0 into x repeat for each item tLength in sFieldLengths add 1 to x put char (tOffset+1) to (tOffset+tLength) of pRecord into tFieldArray[x] add tLength to tOffset end repeat return tFieldArray end mySplit But if you have control over the data format and can use tab-delimited data, it becomes much simpler: on mouseUp answer file "Select a tab-delimited text file:" if it = empty then exit to top put url ("file:" & it) into tData split tData with CR repeat for each key tLineNum in tData split tData[tLineNum] with tab end repeat -- now 'tData' is a two-dimension array -- of fields by number within lines by number end mouseUp Food for thought... Phil Davis On 12/14/10 3:42 PM, Bob Sneidar wrote: > Looks like you have to roll your own. > > Bob > > > On Dec 14, 2010, at 3:37 PM, JosepM wrote: > >> Hi, >> >> Is posible in LiveCode delimite the chars of a variable inside of one array >> to assign other variable that assign the values into the array to each >> element. >> >> Example, so my explanation is confused :) I know. >> >> I have a string with: >> >> 00000Description nameT001 0.00 0.00 >> >> and I need to asign the entire string to the array but autofilling the >> values like in Pascal when use "Type of" >> >> So the string will be... splited by the definition of the array, but I don't >> know if is posible define one array with the length of her elements. >> >> 00000 >> Description name >> T >> 001 >> 0.00 >> 0.00 >> >> >> Salut, >> Josep >> >> -- >> View this message in context: http://runtime-revolution.278305.n4.nabble.com/array-types-tp3088217p3088217.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From walter.h.brown at gmail.com Wed Dec 15 02:22:53 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Wed, 15 Dec 2010 02:22:53 -0500 Subject: Set Angle Bug? In-Reply-To: References: <523DF648-446C-4B26-A007-F6C192E1B416@telur.es> <4d073c5c.a04de50a.1595.7aeb@mx.google.com> <4d074190.4276e50a.1b64.fffffa7a@mx.google.com> <4D074A52.6090509@gmail.com> <4d07586f.d44de50a.237e.ffff893c@mx.google.com> <4d07bd52.9c4de50a.6c28.10d9@mx.google.com> <4d07ca12.8e8de50a.658c.170a@mx.google.com> <4d07ce1d.8e8de50a.7c36.1878@mx.google.com> Message-ID: <4d086cd2.0f8de50a.426f.3b9c@mx.google.com> Thanks Klaus, I got back in to the QC center, I finally remembered what username I was there :-) -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Klaus on-rev Sent: Tuesday, December 14, 2010 3:12 PM To: How to use LiveCode Subject: Re: Set Angle Bug? Hi Walt, > Thanks. I vaguely remember having had access to this a while ago, but > none of my "standard" usernames and passwords work on it, so I guess not. OK, done, including an example stack! > Walt Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From yvescoppe at skynet.be Wed Dec 15 03:41:33 2010 From: yvescoppe at skynet.be (Yves COPPE) Date: Wed, 15 Dec 2010 09:41:33 +0100 Subject: Drag and Drop between Data Grids In-Reply-To: References: <7845302A-0CDA-47DE-923A-928C99D1BAF3@twft.com> <5A18FA82-FC5A-4EDA-9091-C8C437097CA9@twft.com> Message-ID: <6EE5B2E3-F219-4D30-AB2C-3037E3DA715A@skynet.be> Le 14 d?c. 2010 ? 21:09, zryip theSlug a ?crit : > > Bob, > > 1) In the datagrid source you need to have: the > dgTrackDragReorder[tTheIndex] set to false > > If set to true, the datagrid tracks the move inside it. If set to > false you are allowed to move the data outside it. > > Only this handler is required in the source datagrid: > > on dragStart > local tTheIndex, tTheDragData, tTheDataControl > > put the dgDataControl of the target into tTheDataControl > > if (tTheDataControl is empty) then pass dragStart -- Prevent the > move if no data control exists > > if (the dgHeader of the target is empty) then > put the dgIndex of the dgDataControl of the target into tTheIndex > set the dgDragImageIndex of me to tTheIndex > > ## Prepare the data to add in the datagrid 2 > put the dgDataOfIndex[tTheIndex] of me into tTheDragData > combine tTheDragData using tab > set the dragData["private"] to tTheDragData > > set the dgTrackDragReorder[tTheIndex] of me to false -- > Important to move the data outside > end if > end dragStart > > 2) In the destination, you need two handlers: > > on dragMove > set the dragaction to "copy" > end dragMove > > The dragaction will allow the datagrid to get the data you drop. > > on dragDrop > local tTheNewData, tTheColOrder > > put "Col1" & cr & "Col2" into tTheColOrder > put the dragData["private"] into tTheNewData > send "AddLine tTheNewData, tTheColOrder" to me > end dragDrop > > The dragDrop handler will receive the data dropped if the dragaction is allowed. > Hi I have a problem with the script above The text in the datagrid2 doesn't appear When I add by drag 'n drop text from datagrid1 to datagrid2, I see the scroll bar of datagrid2 moving, so the text seems to be effectively added, but no text appears When I place a breakpoint at end of the script of datagrid2 I see the variables with the good data. What do I wrong ? thanks. Greetings. Yves COPPE yvescoppe at skynet.be From zryip.theslug at gmail.com Wed Dec 15 05:55:24 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 15 Dec 2010 11:55:24 +0100 Subject: Drag and Drop between Data Grids In-Reply-To: <6EE5B2E3-F219-4D30-AB2C-3037E3DA715A@skynet.be> References: <7845302A-0CDA-47DE-923A-928C99D1BAF3@twft.com> <5A18FA82-FC5A-4EDA-9091-C8C437097CA9@twft.com> <6EE5B2E3-F219-4D30-AB2C-3037E3DA715A@skynet.be> Message-ID: On Wed, Dec 15, 2010 at 9:41 AM, Yves COPPE wrote: > Le 14 d?c. 2010 ? 21:09, zryip theSlug a ?crit : > > Hi > > I have a problem with the script above > The text in the datagrid2 doesn't appear > When I add by drag 'n drop text from datagrid1 to datagrid2, I see the scroll bar of datagrid2 moving, so the text seems to be effectively added, but no text appears > When I place a breakpoint at end of the script of datagrid2 I see the variables with the good data. > > What do I wrong ? > > thanks. Hi Yves, Should be reside in the fact that the columns of your dest datagrid are not named "Col1" and "Col2". Bob has experimented this, I think. He replied the solution in another post. It seems that some explanations are required here. 1) In the source datagrid, the datas of the drag line are formatted with a tab for delimiting each fields with the combine keyword and put them into the dragData: put the dgDataOfIndex[tTheIndex] of me into tTheDragData combine tTheDragData using tab set the dragData["private"] to tTheDragData For example, if you have a grid: First Name Last Name Yves COPPE The resulting data in the dragData will be something such as: Yves(tab)COPPE 2) In the destination datagrid you need to map the content of the dragData dropped, with the corresponding columns of the datagrid. The line: put "Col1" & cr & "Col2" into tTheColOrder assumes that your destination datagrid contains 2 columns: "col1" and "col2" That is probably not the case. If your destination grid looks like this: First Name Last Name Yves COPPE Your line must be: put "First Name" & cr & "Last Name" into tTheColOrder That could be something equivalent to: put item 1 of the dragData into column "First Name" put item 2 of the dragData into column "LastName" If your destination grid looks like this: Last Name First Name COPPE Yves Your line must be: put "First Name" & cr & "Last Name" into tTheColOrder That could be something equivalent to: put item 1 of the dragData into column "First Name" put item 2 of the dragData into column "Last Name" Why?: In this case, as you pass the columns to the addLine event, the datagrid engine will be capable to map your data and populate the corresponding columns send "AddLine tTheNewData, tTheColOrder" to me Note that putting the data in the dragData in this way is a possibility not an obligation. You can developp your own method for doing this, more according to your needs. Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From walter.h.brown at gmail.com Wed Dec 15 06:35:52 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Wed, 15 Dec 2010 06:35:52 -0500 Subject: Crash the IDE Easter Egg In-Reply-To: <1292360529262-3087968.post@n4.nabble.com> References: <8827B63D-06C0-4D22-82EA-5BAE4865E287@economy-x-talk.com> <4D07BD95.40405@gmail.com> <1292360529262-3087968.post@n4.nabble.com> Message-ID: <4d08a81d.c78de50a.270a.3bed@mx.google.com> I have entered bug 9245 for this for 4.5.2 on x64 Vista. If anyone has the bandwidth (its very fast to check) is this repeatable in other environments? Thanks, Walt 1. Go into menu -> Edit -> Preferences. 2. Select Files & Memory 3. Click on the ellipsis button after User Extensions 4. Hit Cancel in the popup window 5. Select any other category of Preferences This crashes the IDE every time and has been 100% repeatable. From yvescoppe at skynet.be Wed Dec 15 06:55:04 2010 From: yvescoppe at skynet.be (Yves COPPE) Date: Wed, 15 Dec 2010 12:55:04 +0100 Subject: Drag and Drop between Data Grids In-Reply-To: References: <7845302A-0CDA-47DE-923A-928C99D1BAF3@twft.com> <5A18FA82-FC5A-4EDA-9091-C8C437097CA9@twft.com> <6EE5B2E3-F219-4D30-AB2C-3037E3DA715A@skynet.be> Message-ID: <81F1D513-3B16-49EA-9EB6-2DE3A6E1AE4C@skynet.be> Le 15 d?c. 2010 ? 11:55, zryip theSlug a ?crit : > On Wed, Dec 15, 2010 at 9:41 AM, Yves COPPE wrote: >> Le 14 d?c. 2010 ? 21:09, zryip theSlug a ?crit : >> >> Hi >> >> I have a problem with the script above >> The text in the datagrid2 doesn't appear >> When I add by drag 'n drop text from datagrid1 to datagrid2, I see the scroll bar of datagrid2 moving, so the text seems to be effectively added, but no text appears >> When I place a breakpoint at end of the script of datagrid2 I see the variables with the good data. >> >> What do I wrong ? >> >> thanks. > > Hi Yves, > > Should be reside in the fact that the columns of your dest datagrid > are not named "Col1" and "Col2". > Bob has experimented this, I think. He replied the solution in another post. > > > It seems that some explanations are required here. > > 1) In the source datagrid, the datas of the drag line are formatted > with a tab for delimiting each fields with the combine keyword and put > them into the dragData: > > put the dgDataOfIndex[tTheIndex] of me into tTheDragData > combine tTheDragData using tab > set the dragData["private"] to tTheDragData > > For example, if you have a grid: > > First Name Last Name > Yves COPPE > > The resulting data in the dragData will be something such as: > Yves(tab)COPPE > > 2) In the destination datagrid you need to map the content of the > dragData dropped, with the corresponding columns of the datagrid. > > The line: > > put "Col1" & cr & "Col2" into tTheColOrder > > assumes that your destination datagrid contains 2 columns: "col1" and "col2" > That is probably not the case. > > If your destination grid looks like this: > > First Name Last Name > Yves COPPE > > Your line must be: > put "First Name" & cr & "Last Name" into tTheColOrder > > That could be something equivalent to: > put item 1 of the dragData into column "First Name" > put item 2 of the dragData into column "LastName" > > > If your destination grid looks like this: > > Last Name First Name > COPPE Yves > > Your line must be: > put "First Name" & cr & "Last Name" into tTheColOrder > > That could be something equivalent to: > put item 1 of the dragData into column "First Name" > put item 2 of the dragData into column "Last Name" > > Why?: > In this case, as you pass the columns to the addLine event, the > datagrid engine will be capable to map your data and populate the > corresponding columns > > send "AddLine tTheNewData, tTheColOrder" to me > > > Note that putting the data in the dragData in this way is a > possibility not an obligation. You can developp your own method for > doing this, more according to your needs. > > > Best regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode the names of the col in the destination grid are Col1 & Col2 so, I will try with the combine command and put item 1 and Item 2 in the good columns and see what it gives I let you know Groetjes. Yves COPPE yvescoppe at skynet.be From ray at linkit.com Wed Dec 15 07:25:16 2010 From: ray at linkit.com (Ray Horsley) Date: Wed, 15 Dec 2010 07:25:16 -0500 Subject: LiveCode for Windows has stopped working Message-ID: <001e01cb9c53$22394bb0$66abe310$@LinkIt.Com> Greetings, I have a stack of 4 cards. One of them has a single field with a single line of text. The other three have three fields each with htmlText showing an image. For example:

If I go through the cards quickly LiveCode crashes with the above error (subject of this email). I have no card or stack scripts. I've tried inserting flushEvents("all") in various locations but with no luck. This crash happens on both Mac and Windows. If I remove any one of the cards it no longer crashes. I test this by holding down the control (command on Mac) and 3 keys to move as quickly as possible through the cards, although clicking a 'Next Cd' type of button also crashes LiveCode. Ideas or suggestions? Thanks, Ray Horsley LinkIt! Software From pmbrig at gmail.com Wed Dec 15 07:25:59 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Wed, 15 Dec 2010 07:25:59 -0500 Subject: Set Angle Bug? In-Reply-To: <4d086cd2.0f8de50a.426f.3b9c@mx.google.com> References: <523DF648-446C-4B26-A007-F6C192E1B416@telur.es> <4d073c5c.a04de50a.1595.7aeb@mx.google.com> <4d074190.4276e50a.1b64.fffffa7a@mx.google.com> <4D074A52.6090509@gmail.com> <4d07586f.d44de50a.237e.ffff893c@mx.google.com> <4d07bd52.9c4de50a.6c28.10d9@mx.google.com> <4d07ca12.8e8de50a.658c.170a@mx.google.com> <4d07ce1d.8e8de50a.7c36.1878@mx.google.com> <4d086cd2.0f8de50a.426f.3b9c@mx.google.com> Message-ID: On Dec 15, 2010, at 2:22 AM, Walt Brown wrote: > Thanks Klaus, I got back in to the QC center, I finally remembered > what > username I was there :-) You should be using InfoWallet! (Made in LC, by one of our own) -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From yvescoppe at skynet.be Wed Dec 15 08:01:46 2010 From: yvescoppe at skynet.be (Yves COPPE) Date: Wed, 15 Dec 2010 14:01:46 +0100 Subject: Drag and Drop between Data Grids In-Reply-To: References: <7845302A-0CDA-47DE-923A-928C99D1BAF3@twft.com> <5A18FA82-FC5A-4EDA-9091-C8C437097CA9@twft.com> <6EE5B2E3-F219-4D30-AB2C-3037E3DA715A@skynet.be> Message-ID: <01220FD6-113E-490B-9048-3E81987A138F@skynet.be> Le 15 d?c. 2010 ? 11:55, zryip theSlug a ?crit : > On Wed, Dec 15, 2010 at 9:41 AM, Yves COPPE wrote: >> Le 14 d?c. 2010 ? 21:09, zryip theSlug a ?crit : >> >> Hi >> >> I have a problem with the script above >> The text in the datagrid2 doesn't appear >> When I add by drag 'n drop text from datagrid1 to datagrid2, I see the scroll bar of datagrid2 moving, so the text seems to be effectively added, but no text appears >> When I place a breakpoint at end of the script of datagrid2 I see the variables with the good data. >> >> What do I wrong ? >> >> thanks. > > Hi Yves, > > Should be reside in the fact that the columns of your dest datagrid > are not named "Col1" and "Col2". > Bob has experimented this, I think. He replied the solution in another post. > > > It seems that some explanations are required here. > > 1) In the source datagrid, the datas of the drag line are formatted > with a tab for delimiting each fields with the combine keyword and put > them into the dragData: > > put the dgDataOfIndex[tTheIndex] of me into tTheDragData > combine tTheDragData using tab > set the dragData["private"] to tTheDragData > > For example, if you have a grid: > > First Name Last Name > Yves COPPE > > The resulting data in the dragData will be something such as: > Yves(tab)COPPE > > 2) In the destination datagrid you need to map the content of the > dragData dropped, with the corresponding columns of the datagrid. > > The line: > > put "Col1" & cr & "Col2" into tTheColOrder > > assumes that your destination datagrid contains 2 columns: "col1" and "col2" > That is probably not the case. > > If your destination grid looks like this: > > First Name Last Name > Yves COPPE > > Your line must be: > put "First Name" & cr & "Last Name" into tTheColOrder > > That could be something equivalent to: > put item 1 of the dragData into column "First Name" > put item 2 of the dragData into column "LastName" > > > If your destination grid looks like this: > > Last Name First Name > COPPE Yves > > Your line must be: > put "First Name" & cr & "Last Name" into tTheColOrder > > That could be something equivalent to: > put item 1 of the dragData into column "First Name" > put item 2 of the dragData into column "Last Name" > > Why?: > In this case, as you pass the columns to the addLine event, the > datagrid engine will be capable to map your data and populate the > corresponding columns > > send "AddLine tTheNewData, tTheColOrder" to me > > > Note that putting the data in the dragData in this way is a > possibility not an obligation. You can developp your own method for > doing this, more according to your needs. > > > Best regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Hi in the script of grp "datagrid2" (destination grid), I write set itemDel to tab > put item 1 of the dragData into column "First Name" > put item 2 of the dragData into column "Last Name" when I "apply", I get an error i add > put item 1 of the dragData into column "First Name" of me but no success Why ??? Greetings. Yves COPPE yvescoppe at skynet.be From richmondmathewson at gmail.com Wed Dec 15 08:44:20 2010 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 15 Dec 2010 15:44:20 +0200 Subject: Set Angle Bug? Message-ID: <4D08C634.2090003@gmail.com> Here's something a bit funny: set the locked of img "MG" to false set the angle of img "MG" to 0 put the width of img "MG" into WIDD put the height of img "MG" into HITE set the width of img "MG" to (WIDD * 2) set the height of img "MG" to (HITE * 2) set the locked of img "MG" to true works . . . :) BUT: set the locked of img "MG" to false set the angle of img "MG" to 30 put the width of img "MG" into WIDD put the height of img "MG" into HITE set the width of img "MG" to (WIDD * 2) set the height of img "MG" to (HITE * 2) set the locked of img "MG" to true doesn't! It rotates the image by 30 degrees but does NOT resize it. From lists at mangomultimedia.com Wed Dec 15 08:49:36 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 15 Dec 2010 08:49:36 -0500 Subject: OT: Problems with Inserting Odd Characters into PostGreSQL In-Reply-To: <4D07E43D.1070606@hindu.org> References: <4D067B78.1090308@hindu.org> <5A6C26DA-1161-4D43-A776-01D3DD596397@twft.com> <4D07E43D.1070606@hindu.org> Message-ID: On Tue, Dec 14, 2010 at 4:40 PM, Web Admin Himalayan Academy < katir at hindu.org> wrote: > On 12/14/10 2:30 AM, Trevor DeVore wrote: > >> Personally I configure PostgreSQL to use UTF-8. I then encode any strings >> I >> insert and decode any strings I get out. >> >> I checked on our server and I have all the databases set for UTF-8... > > I'll try some tests... using uniEncode. > > I presume this needs to be done for all strings. Yes. PostgreSQL will become upset if you try to pass in data that is not UTF-8 encoded and will return an error. > What I don't understand is what happens when you decode the data on the way > out and pass it to, e.g. > >

[some decoded string, with a smart quote or mDash or German umlaut]

> > what will happen. But that's not a Live Code issue. if the encoding for > the page is UTF-8 also, then maybe you don't have to decode at all? > Correct. If your web page uses UTF-8 as the defined encoding then there is no need to modify the data at all, except for the escaping of special HTML characters. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From lists at mangomultimedia.com Wed Dec 15 08:51:23 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 15 Dec 2010 08:51:23 -0500 Subject: datagrid: sharing grid templates In-Reply-To: <1292368937847-3088202.post@n4.nabble.com> References: <1292286594912-3086289.post@n4.nabble.com> <1292368937847-3088202.post@n4.nabble.com> Message-ID: On Tue, Dec 14, 2010 at 6:22 PM, JosepM wrote: > > But if each datagrid reside in differents stacks? > Opening one stack with a datagrid cause that open or load the other stack > that have the datagrid templates? > No. Opening a data grid on one stack doesn't open any other stacks. The data grid row/column templates are merely copied from the stack they reside on to the data grid you are opening. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From lists at mangomultimedia.com Wed Dec 15 08:54:27 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 15 Dec 2010 08:54:27 -0500 Subject: datagrid: sharing grid templates In-Reply-To: <1292369685332-3088214.post@n4.nabble.com> References: <1292286594912-3086289.post@n4.nabble.com> <1292368937847-3088202.post@n4.nabble.com> <1292369685332-3088214.post@n4.nabble.com> Message-ID: On Tue, Dec 14, 2010 at 6:34 PM, slylabs13 wrote: > > I don't think it works that way. If you copy/paste a data grid, I think > the > engine will also copy/paste the associated objects. Otherwise, copy/paste > of > datagrids could not work at all. For instance when you create a new data > grid, the button with the behavior script also gets created "behind the > scenes" otherwise the data grid would be dead in the water from the git go. > If you copy and paste a data grid then only the data grid group is copied/pasted. That group will still point to the same templates as the data grid you copied. At this point the same templates are being used for 2 different data grids. You can confirm this by checking the "row template" property of the data grid after copying. The property will return the same value for the original and the copied data grid. Ex: put the dgProps["row template"] of group "DataGrid 1" -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From mcgrath3 at mac.com Wed Dec 15 09:06:02 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 15 Dec 2010 09:06:02 -0500 Subject: LiveCode and facebook (preview) In-Reply-To: References: <1291041824113-3063680.post@n4.nabble.com> <1291049853005-3063930.post@n4.nabble.com> <0C487C16-3299-4DED-A842-9179057A9173@etcpp.de> Message-ID: <9F436C7F-B79F-4E4A-ADF7-C575B52AA826@mac.com> Harald, I will give this a look tomorrow. It is great that you are working on this. What kind of translations do you need for the status messages? Languages? Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Dec 14, 2010, at 12:32 PM, Harald M?ller wrote: > Hi all. > > Facebook for iPhone now works (for me) but is still dirty coded and not > well documented. But if you want to take a first look and play around, feel > free to download an early version via web: > > server: kunden.etcpp.de/runrev/ > user: runrev > password: havefun > > You will have to build an application at facebook (don't be afraid, this is > only a placeholder to get a unique ID which is needed). Done in minutes. > > The code is placed in the card script, it uses Mark Smith JSON-functions > which are placed into the stacks script. When you have your Application ID > and "secret" from facebook, add it to the card script and it should work. > > It would be nice to get feedback. Also it would be VERY cool to have some > more translations for the status messages. I will continue with this attempt, > so if you have additions or corrections: You're welcome. Have fun, hope it > will work for you. > > Best regards, > Harald. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Wed Dec 15 09:08:07 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 15 Dec 2010 09:08:07 -0500 Subject: OAuth In-Reply-To: <4d07c537.1d4de50a.4145.13ed@mx.google.com> References: <8827B63D-06C0-4D22-82EA-5BAE4865E287@economy-x-talk.com> <4D07BD95.40405@gmail.com> <4d07c537.1d4de50a.4145.13ed@mx.google.com> Message-ID: <575C25E5-F74E-4257-A0D8-B761D98DE5DD@mac.com> Same here. Good links. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Dec 14, 2010, at 2:27 PM, Walt Brown wrote: > I'm still trying to read all the OAuth stuff already available (among all my > other time sinks), and didn't have anything to contribute yet. > Walt > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richmond > Sent: Tuesday, December 14, 2010 1:55 PM > To: How to use LiveCode > Subject: Re: OAuth > > On 12/14/2010 08:48 PM, Mark Schonewille wrote: >> Hi, >> >> I put up the website at http://devwiki.runrev.info because several members > on this mailing list expressed an interest in OAuth. Now that the website is > on-line, nobody contributes. For this reason, I will take the website down > before the end of the year, unless contributions are made. >> > > This is, unfortunately, about par for the course; cf. my RunRev learning > bloggy thing I started about 5 years ago; only Judy Perry (as far as I > recall) was good enough to contribute anything. > >> -- >> Best regards, >> >> Mark Schonewille > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From zryip.theslug at gmail.com Wed Dec 15 09:14:28 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 15 Dec 2010 15:14:28 +0100 Subject: Drag and Drop between Data Grids In-Reply-To: <01220FD6-113E-490B-9048-3E81987A138F@skynet.be> References: <7845302A-0CDA-47DE-923A-928C99D1BAF3@twft.com> <5A18FA82-FC5A-4EDA-9091-C8C437097CA9@twft.com> <6EE5B2E3-F219-4D30-AB2C-3037E3DA715A@skynet.be> <01220FD6-113E-490B-9048-3E81987A138F@skynet.be> Message-ID: On Wed, Dec 15, 2010 at 2:01 PM, Yves COPPE wrote: > > Le 15 d?c. 2010 ? 11:55, zryip theSlug a ?crit : > >> On Wed, Dec 15, 2010 at 9:41 AM, Yves COPPE wrote: >>> Le 14 d?c. 2010 ? 21:09, zryip theSlug a ?crit : >>> >>> Hi >>> >>> I have a problem with the script above >>> The text in the datagrid2 doesn't appear >>> When I add by drag 'n drop text from datagrid1 to datagrid2, I see the scroll bar of datagrid2 moving, so the text seems to be effectively added, but no text appears >>> When I place a breakpoint at end of the script of datagrid2 I see the variables with the good data. >>> >>> What do I wrong ? >>> >>> thanks. >> >> Hi Yves, >> >> Should be reside in the fact that the columns of your dest datagrid >> are not named "Col1" and "Col2". >> Bob has experimented this, I think. He replied the solution in another post. >> >> >> It seems that some explanations are required here. >> >> 1) In the source datagrid, the datas of the drag line are formatted >> with a tab for delimiting each fields with the combine keyword and put >> them into the dragData: >> >> put the dgDataOfIndex[tTheIndex] of me into tTheDragData >> combine tTheDragData using tab >> set the dragData["private"] to tTheDragData >> >> For example, if you have a grid: >> >> First Name ? ? ?Last Name >> Yves ? ? ? ? ? ? ? COPPE >> >> The resulting data in the dragData will be something such as: >> Yves(tab)COPPE >> >> 2) In the destination datagrid you need to map the content of the >> dragData dropped, with the corresponding columns of the datagrid. >> >> The line: >> >> put "Col1" & cr & "Col2" into tTheColOrder >> >> assumes that your destination datagrid contains 2 columns: "col1" and "col2" >> That is probably not the case. >> >> If your destination grid looks like this: >> >> First Name ? ? ?Last Name >> Yves ? ? ? ? ? ? ? COPPE >> >> Your line must be: >> put "First Name" & cr & "Last Name" into tTheColOrder >> >> That could be something equivalent to: >> put item 1 of the dragData into column "First Name" >> put item 2 of the dragData into column "LastName" >> >> >> If your destination grid looks like this: >> >> Last Name ? ? ?First Name >> COPPE ? ? ? ? ?Yves >> >> Your line must be: >> put "First Name" & cr & "Last Name" into tTheColOrder >> >> That could be something equivalent to: >> put item 1 of the dragData into column "First Name" >> put item 2 of the dragData into column "Last Name" >> >> Why?: >> In this case, as you pass the columns to the addLine event, the >> datagrid engine will be capable to map your data and populate the >> corresponding columns >> >> send "AddLine tTheNewData, tTheColOrder" to me >> >> >> Note that putting the data in the dragData in this way is a >> possibility not an obligation. You can developp your own method for >> doing this, more according to your needs. >> >> >> Best regards, >> -- >> -Zryip TheSlug- wish you the best! 8) >> http://www.aslugontheroad.co.cc >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > Hi > > > > in the script of grp "datagrid2" (destination grid), I write > set itemDel to tab >> put item 1 of the dragData into column "First Name" >> put item 2 of the dragData into column "Last Name" > > when I "apply", I get an error > i add > >> put item 1 of the dragData into column "First Name" of me > > > but no success > > Why ??? Yves, Because it was a virtual example I gave you to show how the datagrid interpreted the informations you sent. Sorry if this gave you some confusion. This form of writing does not exist.You must use the following lines to fill the datagrid: put "Col1" & cr & "Col2" into tTheColOrder -- the names of the columns of the destination grid put the dragData["private"] into tTheNewData -- the data send "AddLine tTheNewData, tTheColOrder" to me -- the command for adding a line Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From mcgrath3 at mac.com Wed Dec 15 09:16:19 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 15 Dec 2010 09:16:19 -0500 Subject: Set Angle Bug? In-Reply-To: <4D08C634.2090003@gmail.com> References: <4D08C634.2090003@gmail.com> Message-ID: <67FF09B9-EFD6-4323-95B0-10B962BED8F9@mac.com> wouldn't it be better to resize the image first and then rotate it? -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Dec 15, 2010, at 8:44 AM, Richmond wrote: > Here's something a bit funny: > > set the locked of img "MG" to false > set the angle of img "MG" to 0 > put the width of img "MG" into WIDD > put the height of img "MG" into HITE > set the width of img "MG" to (WIDD * 2) > set the height of img "MG" to (HITE * 2) > set the locked of img "MG" to true > > works . . . :) > > BUT: > > set the locked of img "MG" to false > set the angle of img "MG" to 30 > put the width of img "MG" into WIDD > put the height of img "MG" into HITE > set the width of img "MG" to (WIDD * 2) > set the height of img "MG" to (HITE * 2) > set the locked of img "MG" to true > > doesn't! It rotates the image by 30 degrees but does NOT resize it. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From warren at warrensweb.us Wed Dec 15 09:35:28 2010 From: warren at warrensweb.us (Warren Samples) Date: Wed, 15 Dec 2010 08:35:28 -0600 Subject: Crash the IDE Easter Egg In-Reply-To: <4d08a81d.c78de50a.270a.3bed@mx.google.com> References: <8827B63D-06C0-4D22-82EA-5BAE4865E287@economy-x-talk.com> <4D07BD95.40405@gmail.com> <1292360529262-3087968.post@n4.nabble.com> <4d08a81d.c78de50a.270a.3bed@mx.google.com> Message-ID: <1292423729.20806.544.camel@mint-i7> On Wed, 2010-12-15 at 06:35 -0500, Walt Brown wrote: > I have entered bug 9245 for this for 4.5.2 on x64 Vista. If anyone has > the > bandwidth (its very fast to check) is this repeatable in other > environments? > Thanks, Walt > > 1. Go into menu -> Edit -> Preferences. > 2. Select Files & Memory > 3. Click on the ellipsis button after User Extensions > 4. Hit Cancel in the popup window > 5. Select any other category of Preferences > > This crashes the IDE every time and has been 100% repeatable. Hi Walt, This crash, using the steps given, doesn't happen here in 4.5.2 under Linux, or Windows 7 (64bit) or OS X. Warren Samples From harald at etcpp.de Wed Dec 15 09:37:16 2010 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Wed, 15 Dec 2010 15:37:16 +0100 Subject: LiveCode and facebook (preview) In-Reply-To: <9F436C7F-B79F-4E4A-ADF7-C575B52AA826@mac.com> References: <1291041824113-3063680.post@n4.nabble.com> <1291049853005-3063930.post@n4.nabble.com> <0C487C16-3299-4DED-A842-9179057A9173@etcpp.de> <9F436C7F-B79F-4E4A-ADF7-C575B52AA826@mac.com> Message-ID: Tom, it would be fine to have more supported languages for the status messages (french, italian, you name it). Until now there are these texts: "Connect to Facebook" "Establishing connection ..." "Unable to connect" "Connected" "Transmitting data ..." "Data transmitted" "Error during transmission" Regards, Harald. Am 15.12.2010 um 15:06 schrieb Thomas McGrath III: > Harald, > > I will give this a look tomorrow. It is great that you are working on this. > > What kind of translations do you need for the status messages? Languages? > > > Thanks > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Dec 14, 2010, at 12:32 PM, Harald M?ller wrote: > >> Hi all. >> >> Facebook for iPhone now works (for me) but is still dirty coded and not >> well documented. But if you want to take a first look and play around, feel >> free to download an early version via web: >> >> server: kunden.etcpp.de/runrev/ >> user: runrev >> password: havefun >> >> You will have to build an application at facebook (don't be afraid, this is >> only a placeholder to get a unique ID which is needed). Done in minutes. >> >> The code is placed in the card script, it uses Mark Smith JSON-functions >> which are placed into the stacks script. When you have your Application ID >> and "secret" from facebook, add it to the card script and it should work. >> >> It would be nice to get feedback. Also it would be VERY cool to have some >> more translations for the status messages. I will continue with this attempt, >> so if you have additions or corrections: You're welcome. Have fun, hope it >> will work for you. >> >> Best regards, >> Harald. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From janschenkel at yahoo.com Wed Dec 15 09:53:20 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 15 Dec 2010 06:53:20 -0800 (PST) Subject: Crash the IDE Easter Egg In-Reply-To: <4d08a81d.c78de50a.270a.3bed@mx.google.com> Message-ID: <228976.61010.qm@web65408.mail.ac4.yahoo.com> --- On Wed, 12/15/10, Walt Brown wrote: > I have entered bug 9245 for this for > 4.5.2 on x64 Vista. If anyone has the > bandwidth (its very fast to check) is this repeatable in > other environments? > Thanks, Walt > > 1. Go into menu -> Edit -> Preferences. > 2. Select Files & Memory > 3. Click on the ellipsis button after User Extensions > 4. Hit Cancel in the popup window > 5. Select any other category of Preferences > > This crashes the IDE every time and has been 100% > repeatable. > Works for me on Windows 7 - maybe your preferences file is somehow corrupted? Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From alex at tweedly.net Wed Dec 15 10:01:48 2010 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 15 Dec 2010 15:01:48 +0000 Subject: Livecode's "almost english" syntax trips me up .. Message-ID: <4D08D85C.1040001@tweedly.net> I'm not sure whether this is a bug, or merely amusing :-) I've just spent a while (I won't admit to how many hours it was) debugging a simple error I wrote > ..... > put the second last line of tVariable into tAnotherVariable > ..... the second last line ... seemed very intuitive to me. Unfortunately, LC interprets it as "the last line". There's nothing in the docs to say it should be allowed - it was just me doing what seemed obvious. I think it should produce an error message - if anyone agrees I'll submit it. Oh - OSX, 4.5.0 just in case it matters. Thanks -- Alex. From francois.chaplais at mines-paristech.fr Wed Dec 15 10:02:00 2010 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Wed, 15 Dec 2010 16:02:00 +0100 Subject: OT Second Humble Indie Bundle Message-ID: This a game bundle. You pay what you want, and get away with five games. Games play on Windows, Mac OS X, Linux. http://www.humblebundle.com/ Best Fran?ois From DunbarX at aol.com Wed Dec 15 10:40:33 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 15 Dec 2010 10:40:33 EST Subject: Livecode's "almost english" syntax trips me up .. Message-ID: <6ed3e.2335f392.3a3a3b71@aol.com> I guess the issue is whether the massive forgiveness of LC syntax is sometimes a possible trap. Verbosity is a hallmark of the language, but I agree that it is probably more useful if spurious words caused an error instead of simply being ignored. In your case you probably could not determine why the second last line was not accessed, and it was hard to find the culprit, since it was acting like a purloined letter. Craig Newman From sims at ezpzapps.com Wed Dec 15 10:42:45 2010 From: sims at ezpzapps.com (Jim Sims) Date: Wed, 15 Dec 2010 16:42:45 +0100 Subject: Livecode's "almost english" syntax trips me up .. In-Reply-To: <4D08D85C.1040001@tweedly.net> References: <4D08D85C.1040001@tweedly.net> Message-ID: <624B66F1-8CCB-4A9D-AB47-C0544F337010@ezpzapps.com> On Dec 15, 2010, at 4:01 PM, Alex Tweedly wrote: >> >> ..... >> put the second last line of tVariable into tAnotherVariable >> ..... > > the second last line ... seemed very intuitive to me. Unfortunately, LC interprets it as "the last line". > There's nothing in the docs to say it should be allowed - it was just me doing what seemed obvious. The archives are your friend, they bring you closer to happiness. Would using -1 or -2 or -3 do what you want? put line -2 of fld "bobDylan" into tLamplighter sims From coiin at verizon.net Wed Dec 15 10:59:50 2010 From: coiin at verizon.net (Colin Holgate) Date: Wed, 15 Dec 2010 10:59:50 -0500 Subject: Livecode's "almost english" syntax trips me up .. In-Reply-To: <4D08D85C.1040001@tweedly.net> References: <4D08D85C.1040001@tweedly.net> Message-ID: <3D80DE18-3FDF-42C6-8EB9-3858CCB1E292@verizon.net> Maybe you should put in a request for the syntax of: put the penultimate line of field 1 From jacque at hyperactivesw.com Wed Dec 15 11:20:45 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 15 Dec 2010 10:20:45 -0600 Subject: Set Angle Bug? In-Reply-To: <67FF09B9-EFD6-4323-95B0-10B962BED8F9@mac.com> References: <4D08C634.2090003@gmail.com> <67FF09B9-EFD6-4323-95B0-10B962BED8F9@mac.com> Message-ID: <4D08EADD.4070601@hyperactivesw.com> On 12/15/10 8:16 AM, Thomas McGrath III wrote: > wouldn't it be better to resize the image first and then rotate it? And also (to Richmond) the property you're looking for is "lockLoc" -- not "locked". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From MikeKerner at roadrunner.com Wed Dec 15 11:23:45 2010 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 15 Dec 2010 11:23:45 -0500 Subject: 9235 - Activation Of Secondary iOS License Fixed Message-ID: FYI, for those of you who were also suffering from the inability to activate your secondary iOS license in 4.5.3 dp1, RR, err LC has fixed the activation bug, in their DB as #9235. From userev at canelasoftware.com Wed Dec 15 11:39:48 2010 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 15 Dec 2010 08:39:48 -0800 Subject: Set Angle Bug? In-Reply-To: <4D08EADD.4070601@hyperactivesw.com> References: <4D08C634.2090003@gmail.com> <67FF09B9-EFD6-4323-95B0-10B962BED8F9@mac.com> <4D08EADD.4070601@hyperactivesw.com> Message-ID: On Dec 15, 2010, at 8:20 AM, J. Landman Gay wrote: > On 12/15/10 8:16 AM, Thomas McGrath III wrote: >> wouldn't it be better to resize the image first and then rotate it? > > And also (to Richmond) the property you're looking for is "lockLoc" -- not "locked". Setting the resizeQuality of the image before rotating and sizing may have benefits in regards to quality. Expect slower performance though. Best regards, Mark Talluto http://www.canelasoftware.com From DunbarX at aol.com Wed Dec 15 11:43:20 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 15 Dec 2010 11:43:20 EST Subject: msg box Bug? Message-ID: <73683.46bebdcc.3a3a4a28@aol.com> I cannot invoke a command from the message box in v 4.5.2. Something like "beep 3" or "put XYZ" simply does not work. No response. No problem if I go back to 4.5. Anyone else see this? I cannot use LC at all without good ol' msg. MAC OSX 10.4.11. PPC G5. Craig Newman From coiin at verizon.net Wed Dec 15 11:52:28 2010 From: coiin at verizon.net (Colin Holgate) Date: Wed, 15 Dec 2010 11:52:28 -0500 Subject: OT: Real competition for revlets Message-ID: <3A671BBF-C9E3-4889-ACAF-B90424058539@verizon.net> http://www.realsoftware.com/web/ From coiin at verizon.net Wed Dec 15 11:55:51 2010 From: coiin at verizon.net (Colin Holgate) Date: Wed, 15 Dec 2010 11:55:51 -0500 Subject: msg box Bug? In-Reply-To: <73683.46bebdcc.3a3a4a28@aol.com> References: <73683.46bebdcc.3a3a4a28@aol.com> Message-ID: <9B2C8A86-B1B1-4424-8AD4-157668EFBB38@verizon.net> On Dec 15, 2010, at 11:43 AM, DunbarX at aol.com wrote: > Something like "beep 3" or "put XYZ" simply does not work. No response. Beep 3 doesn't, but put XYZ does. One clue about the beeps failing is to try "play flute". You'll hear a brief tick. So I think that sound is being cut off somehow. From klaus at major.on-rev.com Wed Dec 15 12:14:19 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 15 Dec 2010 18:14:19 +0100 Subject: OT: Real competition for revlets In-Reply-To: <3A671BBF-C9E3-4889-ACAF-B90424058539@verizon.net> References: <3A671BBF-C9E3-4889-ACAF-B90424058539@verizon.net> Message-ID: <2C8F1499-FA65-4ED8-BDD0-0F873DCC4DBA@major.on-rev.com> Hi Colin, > http://www.realsoftware.com/web/ Definitively NO competition for Revlets! These are true web app, no plug-ins, just pure html, If I understood this correctly! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From coiin at verizon.net Wed Dec 15 12:18:40 2010 From: coiin at verizon.net (Colin Holgate) Date: Wed, 15 Dec 2010 12:18:40 -0500 Subject: OT: Real competition for revlets In-Reply-To: <2C8F1499-FA65-4ED8-BDD0-0F873DCC4DBA@major.on-rev.com> References: <3A671BBF-C9E3-4889-ACAF-B90424058539@verizon.net> <2C8F1499-FA65-4ED8-BDD0-0F873DCC4DBA@major.on-rev.com> Message-ID: <2AC8B4CB-F26F-4C10-8103-4756F1C55FB8@verizon.net> On Dec 15, 2010, at 12:14 PM, Klaus on-rev wrote: >> http://www.realsoftware.com/web/ > > Definitively NO competition for Revlets! > > These are true web app, no plug-ins, just pure html, > If I understood this correctly! It's competition in that you might use LC to create web based applications, and you would deliver those as revlets. From DunbarX at aol.com Wed Dec 15 12:25:26 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 15 Dec 2010 12:25:26 EST Subject: msg box Bug? Message-ID: <76866.7fbab407.3a3a5406@aol.com> Colin. But the fact is that the message box is no longer a useful tool. Problem, I think. I can "do msg" from another handler ("doing" the value of the message box located in the lower field). The command line (upper field) is what seems to be disabled. This is all in a single line msg box. You see this as well? Doesn't it, er, bug you? From pete at mollysrevenge.com Wed Dec 15 12:29:58 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 15 Dec 2010 09:29:58 -0800 Subject: datagrid: sharing grid templates In-Reply-To: References: <1292286594912-3086289.post@n4.nabble.com> <1292368937847-3088202.post@n4.nabble.com> <1292369685332-3088214.post@n4.nabble.com> Message-ID: Hi Trevor, Is there any way to force the creation of a new template when you copy and paste a datagrid? I have a "skeleton" datagrid set up with various pre-defined custom properties, default column behavior pre- set, various other characteristics pre-defined and it would be great if I could copy and paste it as the basis for new datagrids and have it create a new template each time. I'm happy to write code to do this if necessary. Thanks, Pete Haworth On Dec 15, 2010, at 5:54 AM, Trevor DeVore wrote: > If you copy and paste a data grid then only the data grid group is > copied/pasted. That group will still point to the same templates as > the data > grid you copied. At this point the same templates are being used for 2 > different data grids. From bobs at twft.com Wed Dec 15 12:30:37 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 15 Dec 2010 09:30:37 -0800 Subject: [ANN] Data Grid Helper 1.1.6 - Pasting controls in your TMPL area In-Reply-To: References: Message-ID: <7185B0D5-E2E3-48A8-9F64-84CA9EBD4AC2@twft.com> I think you meant, "...the script builder now takes into consideration the state..." Just trying to be helpful. Bob On Dec 14, 2010, at 5:01 PM, zryip theSlug wrote: > Change in the layout handler built by the DGH's script builder. For > fields, the script builder takes now in care the state of the > dgColumnAligment for custom columns. Just build your script for a new > custom column with the Script Builder to have the corresponding > LayoutControl script. From klaus at major.on-rev.com Wed Dec 15 12:31:52 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 15 Dec 2010 18:31:52 +0100 Subject: OT: Real competition for revlets In-Reply-To: <2AC8B4CB-F26F-4C10-8103-4756F1C55FB8@verizon.net> References: <3A671BBF-C9E3-4889-ACAF-B90424058539@verizon.net> <2C8F1499-FA65-4ED8-BDD0-0F873DCC4DBA@major.on-rev.com> <2AC8B4CB-F26F-4C10-8103-4756F1C55FB8@verizon.net> Message-ID: Hi Colin, > On Dec 15, 2010, at 12:14 PM, Klaus on-rev wrote: >>> http://www.realsoftware.com/web/ >> Definitively NO competition for Revlets! >> These are true web app, no plug-ins, just pure html, >> If I understood this correctly! > > It's competition in that you might use LC to create web based applications, and you would deliver those as revlets. Ah, yes, I see! So definitively no competition for Revlets! :-D Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From bobs at twft.com Wed Dec 15 12:33:00 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 15 Dec 2010 09:33:00 -0800 Subject: LiveCode for Windows has stopped working In-Reply-To: <001e01cb9c53$22394bb0$66abe310$@LinkIt.Com> References: <001e01cb9c53$22394bb0$66abe310$@LinkIt.Com> Message-ID: <66205509-56F3-486F-969B-398A4DF2594A@twft.com> Send us the stack so we can test it here to see if it is a problem for us as well. Bob On Dec 15, 2010, at 4:25 AM, Ray Horsley wrote: > Greetings, > > I have a stack of 4 cards. One of them has a single field with a single > line of text. The other three have three fields each with htmlText showing > an image. For example: > >

src="http://linkit.com/Schools/ETS%20Items/ETS%20Item%20Bank/ETS10Q1/01%20Fu > ll%20Bank/04%20ELA%20QTI%20with%20GUIDs/Grade%20KLanguage%20Arts-95/images/4 > 8726.jpg">

> > If I go through the cards quickly LiveCode crashes with the above error > (subject of this email). I have no card or stack scripts. I've tried > inserting flushEvents("all") in various locations but with no luck. This > crash happens on both Mac and Windows. If I remove any one of the cards it > no longer crashes. I test this by holding down the control (command on Mac) > and 3 keys to move as quickly as possible through the cards, although > clicking a 'Next Cd' type of button also crashes LiveCode. > > Ideas or suggestions? > > Thanks, > > Ray Horsley > LinkIt! Software > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From DunbarX at aol.com Wed Dec 15 12:40:46 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 15 Dec 2010 12:40:46 EST Subject: msg box Bug? Message-ID: <77a7c.799d6102.3a3a579e@aol.com> So I tried fooling around, and found this: In a new session, if you open msg, type a command and hit enter, neither the single or multi-line msg works in v4.5.2. But if I type anything into the lower field of the msg box, then BOTH options revert to normal behavior. Problem disappears. Is it just me and my rig? I will not submit a report unless someone else can verify. I guess I can live with this... Craig Newman From jacque at hyperactivesw.com Wed Dec 15 12:42:52 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 15 Dec 2010 11:42:52 -0600 Subject: msg box Bug? In-Reply-To: <73683.46bebdcc.3a3a4a28@aol.com> References: <73683.46bebdcc.3a3a4a28@aol.com> Message-ID: <4D08FE1C.7020801@hyperactivesw.com> On 12/15/10 10:43 AM, DunbarX at aol.com wrote: > I cannot invoke a command from the message box in v 4.5.2. > > Something like "beep 3" or "put XYZ" simply does not work. No response. > > No problem if I go back to 4.5. Anyone else see this? I cannot use LC at > all without good ol' msg. No problem here, and no reports in the support queue. If it were a common issue I'm pretty sure we'd have heard about it, so it sounds like something in your setup. Do you have any custom frontscripts or backscripts running? Third-party plugins? Anything like that? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Wed Dec 15 12:43:41 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 15 Dec 2010 09:43:41 -0800 Subject: datagrid: sharing grid templates In-Reply-To: References: <1292286594912-3086289.post@n4.nabble.com> <1292368937847-3088202.post@n4.nabble.com> <1292369685332-3088214.post@n4.nabble.com> Message-ID: <55D012E0-C3F8-4593-B8C6-0DDC5C19D74A@twft.com> Well this is interesting. I tried the method for determining the row template of a data grid that was copied from one stack to the other. Trevor is right, in that the pasted datagrid is using the template from the original stack! EEEK!!! If I close the original stack and remove it from memory and then try to edit the row template, I get a dialog called Save stack revPropertyPallette 1.livecode. This scares me. I would say then that the practice of copying a datagrid from one stack to another should be avoided at all costs. No telling what will happen now. Bob On Dec 15, 2010, at 5:54 AM, Trevor DeVore wrote: > On Tue, Dec 14, 2010 at 6:34 PM, slylabs13 wrote: > >> >> I don't think it works that way. If you copy/paste a data grid, I think >> the >> engine will also copy/paste the associated objects. Otherwise, copy/paste >> of >> datagrids could not work at all. For instance when you create a new data >> grid, the button with the behavior script also gets created "behind the >> scenes" otherwise the data grid would be dead in the water from the git go. >> > > If you copy and paste a data grid then only the data grid group is > copied/pasted. That group will still point to the same templates as the data > grid you copied. At this point the same templates are being used for 2 > different data grids. > > You can confirm this by checking the "row template" property of the data > grid after copying. The property will return the same value for the original > and the copied data grid. > > Ex: put the dgProps["row template"] of group "DataGrid 1" > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Releasable Revolution Resources for Developers: > http://revolution.bluemangolearning.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From walter.h.brown at gmail.com Wed Dec 15 12:44:30 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Wed, 15 Dec 2010 12:44:30 -0500 Subject: Crash the IDE Easter Egg In-Reply-To: <1292423729.20806.544.camel@mint-i7> References: <8827B63D-06C0-4D22-82EA-5BAE4865E287@economy-x-talk.com> <4D07BD95.40405@gmail.com> <1292360529262-3087968.post@n4.nabble.com> <4d08a81d.c78de50a.270a.3bed@mx.google.com> <1292423729.20806.544.camel@mint-i7> Message-ID: <4d08fe82.c78de50a.0baa.4bdf@mx.google.com> Great, thanks. I'll add it to the report. -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Warren Samples Sent: Wednesday, December 15, 2010 9:35 AM To: How to use LiveCode Subject: Re: Crash the IDE Easter Egg On Wed, 2010-12-15 at 06:35 -0500, Walt Brown wrote: > I have entered bug 9245 for this for 4.5.2 on x64 Vista. If anyone has > the bandwidth (its very fast to check) is this repeatable in other > environments? > Thanks, Walt > > 1. Go into menu -> Edit -> Preferences. > 2. Select Files & Memory > 3. Click on the ellipsis button after User Extensions 4. Hit Cancel in > the popup window 5. Select any other category of Preferences > > This crashes the IDE every time and has been 100% repeatable. Hi Walt, This crash, using the steps given, doesn't happen here in 4.5.2 under Linux, or Windows 7 (64bit) or OS X. Warren Samples _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Dec 15 12:45:16 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 15 Dec 2010 11:45:16 -0600 Subject: msg box Bug? In-Reply-To: <9B2C8A86-B1B1-4424-8AD4-157668EFBB38@verizon.net> References: <73683.46bebdcc.3a3a4a28@aol.com> <9B2C8A86-B1B1-4424-8AD4-157668EFBB38@verizon.net> Message-ID: <4D08FEAC.9000600@hyperactivesw.com> On 12/15/10 10:55 AM, Colin Holgate wrote: > > On Dec 15, 2010, at 11:43 AM, DunbarX at aol.com wrote: > >> Something like "beep 3" or "put XYZ" simply does not work. No >> response. > > Beep 3 doesn't, but put XYZ does. Beep 3 works here for me. There was a bug in older versions where a beep command greater than 1 would play one less beep than requested, but that's been fixed. > One clue about the beeps failing is to try "play flute". You'll hear > a brief tick. So I think that sound is being cut off somehow. I'm not surprised about that one, there is no "flute" sound available. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From walter.h.brown at gmail.com Wed Dec 15 12:45:18 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Wed, 15 Dec 2010 12:45:18 -0500 Subject: Crash the IDE Easter Egg In-Reply-To: <228976.61010.qm@web65408.mail.ac4.yahoo.com> References: <4d08a81d.c78de50a.270a.3bed@mx.google.com> <228976.61010.qm@web65408.mail.ac4.yahoo.com> Message-ID: <4d08feb0.4d8ee50a.3de7.4fba@mx.google.com> I'll reset to defaults and see what happens. Thanks. -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Jan Schenkel Sent: Wednesday, December 15, 2010 9:53 AM To: How to use LiveCode Subject: Re: Crash the IDE Easter Egg --- On Wed, 12/15/10, Walt Brown wrote: > I have entered bug 9245 for this for > 4.5.2 on x64 Vista. If anyone has the > bandwidth (its very fast to check) is this repeatable in other > environments? > Thanks, Walt > > 1. Go into menu -> Edit -> Preferences. > 2. Select Files & Memory > 3. Click on the ellipsis button after User Extensions 4. Hit Cancel in > the popup window 5. Select any other category of Preferences > > This crashes the IDE every time and has been 100% repeatable. > Works for me on Windows 7 - maybe your preferences file is somehow corrupted? Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From kevin at runrev.com Wed Dec 15 12:47:51 2010 From: kevin at runrev.com (Kevin Miller) Date: Wed, 15 Dec 2010 17:47:51 +0000 Subject: Build an App Message-ID: Hi folks, In case you?re interested and you missed this, we?re working on the Build an App project all week, where we build an iOS app from start to finish. The first two blog posts are up at: http://tinyurl.com/3yz8rao http://tinyurl.com/2urm82w Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ LiveCode - Realize fast, compile-free coding From bobs at twft.com Wed Dec 15 12:49:53 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 15 Dec 2010 09:49:53 -0800 Subject: OT Second Humble Indie Bundle In-Reply-To: References: Message-ID: I like the video presentation. You forgot to mention that proceeds go to help a charity. Might get a few more people to look. Bob On Dec 15, 2010, at 7:02 AM, Fran?ois Chaplais wrote: > This a game bundle. You pay what you want, and get away with five games. Games play on Windows, Mac OS X, Linux. > http://www.humblebundle.com/ > Best > Fran?ois > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From walter.h.brown at gmail.com Wed Dec 15 12:50:21 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Wed, 15 Dec 2010 12:50:21 -0500 Subject: Crash the IDE Easter Egg In-Reply-To: <228976.61010.qm@web65408.mail.ac4.yahoo.com> References: <4d08a81d.c78de50a.270a.3bed@mx.google.com> <228976.61010.qm@web65408.mail.ac4.yahoo.com> Message-ID: <4d08ffde.5145e50a.3666.4f99@mx.google.com> That was it, I think. I reset to default preferences, re-entered my preferences, and it went away. I'll note that, thanks. -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Jan Schenkel Sent: Wednesday, December 15, 2010 9:53 AM To: How to use LiveCode Subject: Re: Crash the IDE Easter Egg --- On Wed, 12/15/10, Walt Brown wrote: > I have entered bug 9245 for this for > 4.5.2 on x64 Vista. If anyone has the > bandwidth (its very fast to check) is this repeatable in other > environments? > Thanks, Walt > > 1. Go into menu -> Edit -> Preferences. > 2. Select Files & Memory > 3. Click on the ellipsis button after User Extensions 4. Hit Cancel in > the popup window 5. Select any other category of Preferences > > This crashes the IDE every time and has been 100% repeatable. > Works for me on Windows 7 - maybe your preferences file is somehow corrupted? Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Wed Dec 15 12:51:31 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 15 Dec 2010 09:51:31 -0800 Subject: Livecode's "almost english" syntax trips me up .. In-Reply-To: <4D08D85C.1040001@tweedly.net> References: <4D08D85C.1040001@tweedly.net> Message-ID: <7C173CE1-BEE3-4498-860E-C083B9E1207B@twft.com> In an odd sort of logic, if there is only one last line, then the second last line is actually the last line. So it works for me. Bob On Dec 15, 2010, at 7:01 AM, Alex Tweedly wrote: > > I'm not sure whether this is a bug, or merely amusing :-) > > I've just spent a while (I won't admit to how many hours it was) debugging a simple error > > I wrote > >> ..... >> put the second last line of tVariable into tAnotherVariable >> ..... > > the second last line ... seemed very intuitive to me. Unfortunately, LC interprets it as "the last line". > There's nothing in the docs to say it should be allowed - it was just me doing what seemed obvious. > > I think it should produce an error message - if anyone agrees I'll submit it. > > Oh - OSX, 4.5.0 just in case it matters. > > Thanks > -- Alex. > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lists at mangomultimedia.com Wed Dec 15 12:53:38 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 15 Dec 2010 12:53:38 -0500 Subject: datagrid: sharing grid templates In-Reply-To: <55D012E0-C3F8-4593-B8C6-0DDC5C19D74A@twft.com> References: <1292286594912-3086289.post@n4.nabble.com> <1292368937847-3088202.post@n4.nabble.com> <1292369685332-3088214.post@n4.nabble.com> <55D012E0-C3F8-4593-B8C6-0DDC5C19D74A@twft.com> Message-ID: On Wed, Dec 15, 2010 at 12:43 PM, Bob Sneidar wrote: > I would say then that the practice of copying a datagrid from one stack to > another should be avoided at all costs. No telling what will happen now. > Unless, of course, you want to have multiple data grids pointing to the same template :-) What happens is that you can update a template in once place and have it update multiple data grids throughout your app. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From bobs at twft.com Wed Dec 15 12:53:38 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 15 Dec 2010 09:53:38 -0800 Subject: Livecode's "almost english" syntax trips me up .. In-Reply-To: <4D08D85C.1040001@tweedly.net> References: <4D08D85C.1040001@tweedly.net> Message-ID: I'll tell you what trips me up! The "almost english" of some of the posters here! Like Richmond for example... JUST KIDDING! ALL IN FUN!!! Bob On Dec 15, 2010, at 7:01 AM, Alex Tweedly wrote: > > I'm not sure whether this is a bug, or merely amusing :-) > > I've just spent a while (I won't admit to how many hours it was) debugging a simple error > > I wrote > >> ..... >> put the second last line of tVariable into tAnotherVariable >> ..... > > the second last line ... seemed very intuitive to me. Unfortunately, LC interprets it as "the last line". > There's nothing in the docs to say it should be allowed - it was just me doing what seemed obvious. > > I think it should produce an error message - if anyone agrees I'll submit it. > > Oh - OSX, 4.5.0 just in case it matters. > > Thanks > -- Alex. > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lists at mangomultimedia.com Wed Dec 15 12:54:33 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 15 Dec 2010 12:54:33 -0500 Subject: datagrid: sharing grid templates In-Reply-To: References: <1292286594912-3086289.post@n4.nabble.com> <1292368937847-3088202.post@n4.nabble.com> <1292369685332-3088214.post@n4.nabble.com> Message-ID: On Wed, Dec 15, 2010 at 12:29 PM, Peter Haworth wrote: > Is there any way to force the creation of a new template when you copy and > paste a datagrid? I have a "skeleton" datagrid set up with various > pre-defined custom properties, default column behavior pre-set, various > other characteristics pre-defined and it would be great if I could copy and > paste it as the basis for new datagrids and have it create a new template > each time. I'm happy to write code to do this if necessary. > Not that I know of. The LiveCode IDE is in charge of what happens during a copy/paste operation so if you wanted to changed behavior you could submit an enhancement request to RunRev. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From warren at warrensweb.us Wed Dec 15 12:56:12 2010 From: warren at warrensweb.us (Warren Samples) Date: Wed, 15 Dec 2010 11:56:12 -0600 Subject: msg box Bug? In-Reply-To: <73683.46bebdcc.3a3a4a28@aol.com> References: <73683.46bebdcc.3a3a4a28@aol.com> Message-ID: <1292435772.2250.60.camel@mint-i7> On Wed, 2010-12-15 at 11:43 -0500, DunbarX at aol.com wrote: > I cannot invoke a command from the message box in v 4.5.2. > > Something like "beep 3" or "put XYZ" simply does not work. No response. > > No problem if I go back to 4.5. Anyone else see this? I cannot use LC at > all without good ol' msg. > > MAC OSX 10.4.11. PPC G5. > > Craig Newman Hey Craig, Without meaning to dispute your experience - it drives me nuts when people do that. I received an email from the a software author yesterday that includes the phrase "it's actually impossible..." - I can say it's not universal. Message Box seems working fine here running 4.5.2 under Linux. Good luck resolving it! Best, Warren From pete at mollysrevenge.com Wed Dec 15 13:00:58 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 15 Dec 2010 10:00:58 -0800 Subject: Livecode's "almost english" syntax trips me up .. In-Reply-To: <7C173CE1-BEE3-4498-860E-C083B9E1207B@twft.com> References: <4D08D85C.1040001@tweedly.net> <7C173CE1-BEE3-4498-860E-C083B9E1207B@twft.com> Message-ID: <08BA34D0-8729-4852-9447-A13E92509628@mollysrevenge.com> Clearly what's needed is the ability to reference the post-penultimate line.... Pete Haworth On Dec 15, 2010, at 9:51 AM, Bob Sneidar wrote: > In an odd sort of logic, if there is only one last line, then the > second last line is actually the last line. So it works for me. > > Bob > > > On Dec 15, 2010, at 7:01 AM, Alex Tweedly wrote: > >> >> I'm not sure whether this is a bug, or merely amusing :-) >> >> I've just spent a while (I won't admit to how many hours it was) >> debugging a simple error >> >> I wrote >> >>> ..... >>> put the second last line of tVariable into tAnotherVariable >>> ..... >> >> the second last line ... seemed very intuitive to me. >> Unfortunately, LC interprets it as "the last line". >> There's nothing in the docs to say it should be allowed - it was >> just me doing what seemed obvious. >> >> I think it should produce an error message - if anyone agrees I'll >> submit it. >> >> Oh - OSX, 4.5.0 just in case it matters. >> >> Thanks >> -- Alex. >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From walter.h.brown at gmail.com Wed Dec 15 13:02:44 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Wed, 15 Dec 2010 13:02:44 -0500 Subject: Livecode's "almost english" syntax trips me up .. In-Reply-To: <3D80DE18-3FDF-42C6-8EB9-3858CCB1E292@verizon.net> References: <4D08D85C.1040001@tweedly.net> <3D80DE18-3FDF-42C6-8EB9-3858CCB1E292@verizon.net> Message-ID: <4d0902c6.4d8ee50a.45eb.4f87@mx.google.com> But then you'll need antepenultimate and preantepenultimate... -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Colin Holgate Sent: Wednesday, December 15, 2010 11:00 AM To: How to use LiveCode Subject: Re: Livecode's "almost english" syntax trips me up .. Maybe you should put in a request for the syntax of: put the penultimate line of field 1 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Wed Dec 15 13:03:35 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 15 Dec 2010 10:03:35 -0800 Subject: Personal Edition Standalone splash screen delay Message-ID: <6FA46A1B-A5F8-49B7-A204-AEB38BDC76AB@mollysrevenge.com> Kevin, There was a discussion here about the 10 second countdown when a standalone built with LC Personal is run and I believe you said you were leaning towards cutting it to 5 seconds. ANy update on that? It's still at 10 seconds although I haven't tried 4.5.2 yet. Thanks, Pete Haworth From pete at mollysrevenge.com Wed Dec 15 13:10:19 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 15 Dec 2010 10:10:19 -0800 Subject: datagrid: sharing grid templates In-Reply-To: References: <1292286594912-3086289.post@n4.nabble.com> <1292368937847-3088202.post@n4.nabble.com> <1292369685332-3088214.post@n4.nabble.com> Message-ID: <82D52AB6-CD58-43E4-9DEE-AB0DCCAF1F78@mollysrevenge.com> OK. I just found a section in the dg manual titled "Creating a Datagrid By Hand" that seems like it might provide the basis what I want to do. I'll give that a whirl. Pete Haworth On Dec 15, 2010, at 9:54 AM, Trevor DeVore wrote: > On Wed, Dec 15, 2010 at 12:29 PM, Peter Haworth >wrote: > >> Is there any way to force the creation of a new template when you >> copy and >> paste a datagrid? I have a "skeleton" datagrid set up with various >> pre-defined custom properties, default column behavior pre-set, >> various >> other characteristics pre-defined and it would be great if I could >> copy and >> paste it as the basis for new datagrids and have it create a new >> template >> each time. I'm happy to write code to do this if necessary. >> > > Not that I know of. The LiveCode IDE is in charge of what happens > during a > copy/paste operation so if you wanted to changed behavior you could > submit > an enhancement request to RunRev. > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Releasable Revolution Resources for Developers: > http://revolution.bluemangolearning.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From zryip.theslug at gmail.com Wed Dec 15 13:15:40 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 15 Dec 2010 19:15:40 +0100 Subject: datagrid: sharing grid templates In-Reply-To: References: <1292286594912-3086289.post@n4.nabble.com> <1292368937847-3088202.post@n4.nabble.com> <1292369685332-3088214.post@n4.nabble.com> Message-ID: On Wed, Dec 15, 2010 at 6:54 PM, Trevor DeVore wrote: > On Wed, Dec 15, 2010 at 12:29 PM, Peter Haworth wrote: > >> Is there any way to force the creation of a new template when you copy and >> paste a datagrid? ?I have a "skeleton" datagrid set up with various >> pre-defined custom properties, default column behavior pre-set, various >> other characteristics pre-defined and it would be great if I could copy and >> paste it as the basis for ?new datagrids and have it create a new template >> each time. ?I'm happy to write code to do this if necessary. >> > > Not that I know of. The LiveCode IDE is in charge of what happens during a > copy/paste operation so if you wanted to changed behavior you could submit > an enhancement request to RunRev. If they are quicker than a slug. Already in the DGH to do list. Internally DGH duplicates the template, the properties and the behaviors of a grid in a special TMPL we use as a preview. When the modifications in the preview are applied to the grid, we replicate the preview content in the original grid. We have named this the DGH Mimetism. 8-) Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From zryip.theslug at gmail.com Wed Dec 15 13:19:36 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 15 Dec 2010 19:19:36 +0100 Subject: [ANN] Data Grid Helper 1.1.6 - Pasting controls in your TMPL area In-Reply-To: <7185B0D5-E2E3-48A8-9F64-84CA9EBD4AC2@twft.com> References: <7185B0D5-E2E3-48A8-9F64-84CA9EBD4AC2@twft.com> Message-ID: On Wed, Dec 15, 2010 at 6:30 PM, Bob Sneidar wrote: > I think you meant, "...the script builder now takes into consideration the state..." > > Just trying to be helpful. Indeed, much better. I'm learning all the days and not only in LiveCode ;) Thanks Bob 8-) Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From andre at andregarzia.com Wed Dec 15 13:30:29 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 15 Dec 2010 16:30:29 -0200 Subject: OT Second Humble Indie Bundle In-Reply-To: References: Message-ID: I have the first humble bundle, it was great! Will probably help this one too since the money is split between the developers and charities and you select how the split goes. On Wed, Dec 15, 2010 at 3:49 PM, Bob Sneidar wrote: > I like the video presentation. You forgot to mention that proceeds go to > help a charity. Might get a few more people to look. > > Bob > > > On Dec 15, 2010, at 7:02 AM, Fran?ois Chaplais wrote: > > > This a game bundle. You pay what you want, and get away with five games. > Games play on Windows, Mac OS X, Linux. > > http://www.humblebundle.com/ > > Best > > Fran?ois > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From bobs at twft.com Wed Dec 15 13:31:17 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 15 Dec 2010 10:31:17 -0800 Subject: msg box Bug? In-Reply-To: <9B2C8A86-B1B1-4424-8AD4-157668EFBB38@verizon.net> References: <73683.46bebdcc.3a3a4a28@aol.com> <9B2C8A86-B1B1-4424-8AD4-157668EFBB38@verizon.net> Message-ID: <71B5F6E0-7C8B-4B79-BBC4-F70B7544479B@twft.com> Beep 3 and put XYZ both work for me. Play flute does not. Bob On Dec 15, 2010, at 8:55 AM, Colin Holgate wrote: > > On Dec 15, 2010, at 11:43 AM, DunbarX at aol.com wrote: > >> Something like "beep 3" or "put XYZ" simply does not work. No response. > > Beep 3 doesn't, but put XYZ does. > > One clue about the beeps failing is to try "play flute". You'll hear a brief tick. So I think that sound is being cut off somehow. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Wed Dec 15 13:46:31 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 15 Dec 2010 10:46:31 -0800 Subject: msg box Bug? In-Reply-To: <71B5F6E0-7C8B-4B79-BBC4-F70B7544479B@twft.com> Message-ID: Recently, Bob Sneidar wrote: > Beep 3 and put XYZ both work for me. Play flute does not. "play flute" doesn't work here either, but "blow didjeridu" and "fumble with bagpipes" both produce the expected results. Might be worth noting that "play accordion" returns the result "go to jail; that's the law". Regards, Scott Rossi Creative Director Tactile Media, UX Design From pete at mollysrevenge.com Wed Dec 15 13:47:36 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 15 Dec 2010 10:47:36 -0800 Subject: glx2 compile errors Message-ID: <22646082-6B5B-40D4-A5BB-179DDBEC44A4@mollysrevenge.com> I know I'm missing something obvious but when I compile a script in glx2, I'm not seeing any error messages. Pete Haworth From m.schonewille at economy-x-talk.com Wed Dec 15 13:53:16 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 15 Dec 2010 19:53:16 +0100 Subject: Live LiveCode Code Event Message-ID: Dear LiveCoders, Bj?rnke and I are looking for people who want to participate in this Saturday's Live LiveCode Code Event as a speaker. Since Bj?rnke is currently unavailable, I'm organising the event this time (until he his back). The Live LiveCode Code Event is a rather informal gathering of LiveCode users on ChatRev http://bjoernke.com/chatrev . We start at 19:00h GMT and the event usually takes up to two hours, but your presentation really doesn't need to be much longer than 20 minutes and you're not obliged to stay until the end of the event. You can talk about any LiveCode-related subject. People like to see concrete coding examples, but you can also show off your commercial applications or just tell how LiveCode has made your live easer or funnier. You don't need to be an expert to show what you do with LiveCode. More info is available at http://www.livecode.tv . Please let me know if you would like to participate (write me off-list, I am currently not paying much attention to the mailing list). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce From pete at mollysrevenge.com Wed Dec 15 14:00:25 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 15 Dec 2010 11:00:25 -0800 Subject: msg box Bug? In-Reply-To: References: Message-ID: <37DEC2BB-19A1-4FF6-8BB8-4EDAD693DD66@mollysrevenge.com> Funny, I got the same result with "play banjo" Pete Haworth On Dec 15, 2010, at 10:46 AM, Scott Rossi wrote: > "play accordion" returns the result "go to jail; that's the law". From bobs at twft.com Wed Dec 15 14:10:14 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 15 Dec 2010 11:10:14 -0800 Subject: msg box Bug? In-Reply-To: References: Message-ID: <90D5FA28-AF12-496F-AC49-D6843D87CE8B@twft.com> You have to set your localization to "strine" for the first to work. It's "pommey" for the bagpipe, and I don't think they have implemented Polish localization yet, so no go for the accordion. Bob On Dec 15, 2010, at 10:46 AM, Scott Rossi wrote: > Recently, Bob Sneidar wrote: > >> Beep 3 and put XYZ both work for me. Play flute does not. > > "play flute" doesn't work here either, but "blow didjeridu" and "fumble with > bagpipes" both produce the expected results. Might be worth noting that > "play accordion" returns the result "go to jail; that's the law". > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Dec 15 14:54:37 2010 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 15 Dec 2010 21:54:37 +0200 Subject: msg box Bug? In-Reply-To: <90D5FA28-AF12-496F-AC49-D6843D87CE8B@twft.com> References: <90D5FA28-AF12-496F-AC49-D6843D87CE8B@twft.com> Message-ID: <4D091CFD.5020304@gmail.com> On 12/15/2010 09:10 PM, Bob Sneidar wrote: > You have to set your localization to "strine" for the first to work. It's "pommey" for the bagpipe, and I don't think they have implemented Polish localization yet, so no go for the accordion. > Pommies don't play bagpipes; unless, of course, you class Northumbrians as pommies. Although, you'd be hard put to grow an apple as far north as the Pennines. Pommies, when they are trying hard to prove they have an identifiable culture, perform Morris dances. From keith.clarke at clarkeandclarke.co.uk Wed Dec 15 14:58:43 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Wed, 15 Dec 2010 19:58:43 +0000 Subject: RevServer on OSX (Snow Leopard Server) Message-ID: <46C045D1-C782-4620-8144-4F439C37BEFE@clarkeandclarke.co.uk> Hi Folks, I'm back on the revServer setup trail and I'm documenting as I go, with a view to publishing a how-to guide to help fill part of the revserver documentation gap. There are various threads on the archives where people have taken subtly different approaches and therefore created different solutions (and so some of the advice is conflicting). I wonder, has anyone achieved a set-up on 10.6.5 with a purely Server Admin + httpd.conf approach - that is, with no .htaccess files floating around? Would anyone with a working 10.6.5 set-up be prepared to share with me (maybe off-line) their successful httpd.conf and .htaccess snippets? That way I might be able to finish my set-up and share a draft guide. Best, Keith.. From pete at mollysrevenge.com Wed Dec 15 15:05:52 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 15 Dec 2010 12:05:52 -0800 Subject: msg box Bug? In-Reply-To: <4D091CFD.5020304@gmail.com> References: <90D5FA28-AF12-496F-AC49-D6843D87CE8B@twft.com> <4D091CFD.5020304@gmail.com> Message-ID: As a Lancastrian who lived near Oxford (a stronghold of Morris dancing) now living in California and playing in a Celtic music band with a bagpiper and a guest vocalist who plays accordion, I THINK I just got served! Pete Haworth On Dec 15, 2010, at 11:54 AM, Richmond wrote: > On 12/15/2010 09:10 PM, Bob Sneidar wrote: >> You have to set your localization to "strine" for the first to >> work. It's "pommey" for the bagpipe, and I don't think they have >> implemented Polish localization yet, so no go for the accordion. >> > > Pommies don't play bagpipes; unless, of course, you class > Northumbrians as pommies. > > Although, you'd be hard put to grow an apple as far north as the > Pennines. > > Pommies, when they are trying hard to prove they have an > identifiable culture, perform > Morris dances. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Wed Dec 15 15:25:55 2010 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 15 Dec 2010 22:25:55 +0200 Subject: 3 naive questions about background groups Message-ID: <4D092453.1050908@gmail.com> 1. To insert a group into a background group by scripting? 2. To remove a group from a background group by scripting? 3. Can a group contain groups? From richmondmathewson at gmail.com Wed Dec 15 15:28:32 2010 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 15 Dec 2010 22:28:32 +0200 Subject: msg box Bug? In-Reply-To: References: <90D5FA28-AF12-496F-AC49-D6843D87CE8B@twft.com> <4D091CFD.5020304@gmail.com> Message-ID: <4D0924F0.6070606@gmail.com> On 12/15/2010 10:05 PM, Peter Haworth wrote: > As a Lancastrian who lived near Oxford (a stronghold of Morris > dancing) now living in California and playing in a Celtic music band > with a bagpiper and a guest vocalist who plays accordion, I THINK I > just got served! > As a Scot, I've always wondered what the word 'Celtic' means . . . :) Potential definitions include " a romantic miasma created by opium-addled Victorians living in London and successfully fooled by George McDonald." > Pete Haworth > > On Dec 15, 2010, at 11:54 AM, Richmond wrote: > >> On 12/15/2010 09:10 PM, Bob Sneidar wrote: >>> You have to set your localization to "strine" for the first to work. >>> It's "pommey" for the bagpipe, and I don't think they have >>> implemented Polish localization yet, so no go for the accordion. >>> >> >> Pommies don't play bagpipes; unless, of course, you class >> Northumbrians as pommies. >> >> Although, you'd be hard put to grow an apple as far north as the >> Pennines. >> >> Pommies, when they are trying hard to prove they have an identifiable >> culture, perform >> Morris dances. >> _______________________________________________ From dixonja at hotmail.co.uk Wed Dec 15 15:33:34 2010 From: dixonja at hotmail.co.uk (John Dixon) Date: Wed, 15 Dec 2010 20:33:34 +0000 Subject: 3 naive questions about background groups In-Reply-To: <4D092453.1050908@gmail.com> References: <4D092453.1050908@gmail.com> Message-ID: 1. look at 'start editing' in the dictionary 2. delete group ID XXXX 3. Yes > Date: Wed, 15 Dec 2010 22:25:55 +0200 > From: richmondmathewson at gmail.com > To: use-livecode at lists.runrev.com > Subject: 3 naive questions about background groups > > 1. To insert a group into a background group by scripting? > > 2. To remove a group from a background group by scripting? > > 3. Can a group contain groups? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Dec 15 15:33:58 2010 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 15 Dec 2010 22:33:58 +0200 Subject: 3 naive questions about background groups In-Reply-To: <4D092453.1050908@gmail.com> References: <4D092453.1050908@gmail.com> Message-ID: <4D092636.9050902@gmail.com> On 12/15/2010 10:25 PM, Richmond wrote: > 1. To insert a group into a background group by scripting? > > 2. To remove a group from a background group by scripting? > > 3. Can a group contain groups? Oh, cripes, well I suppose its better than having an interior monologue . . . :) Just answered question 3 myself by looking in the Documentation: Yes, they can. From richmondmathewson at gmail.com Wed Dec 15 15:36:21 2010 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 15 Dec 2010 22:36:21 +0200 Subject: 3 naive questions about background groups In-Reply-To: References: <4D092453.1050908@gmail.com> Message-ID: <4D0926C5.5090706@gmail.com> On 12/15/2010 10:33 PM, John Dixon wrote: > 1. look at 'start editing' in the dictionary > 2. delete group ID XXXX > 3. Yes > Wow; direct and to the point! Many thanks; particularly for number 1. From pete at mollysrevenge.com Wed Dec 15 15:37:50 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 15 Dec 2010 12:37:50 -0800 Subject: msg box Bug? In-Reply-To: <4D0924F0.6070606@gmail.com> References: <90D5FA28-AF12-496F-AC49-D6843D87CE8B@twft.com> <4D091CFD.5020304@gmail.com> <4D0924F0.6070606@gmail.com> Message-ID: <9112F79C-C3D2-426D-A8C3-10725A00D80B@mollysrevenge.com> On Dec 15, 2010, at 12:28 PM, Richmond wrote: > On 12/15/2010 10:05 PM, Peter Haworth wrote: >> As a Lancastrian who lived near Oxford (a stronghold of Morris >> dancing) now living in California and playing in a Celtic music >> band with a bagpiper and a guest vocalist who plays accordion, I >> THINK I just got served! >> > > As a Scot, I've always wondered what the word 'Celtic' means . . . :) > > Potential definitions include " a romantic miasma created by opium- > addled Victorians living in > London and successfully fooled by George McDonald." That's exactly right! > >> Pete Haworth >> >> On Dec 15, 2010, at 11:54 AM, Richmond wrote: >> >>> On 12/15/2010 09:10 PM, Bob Sneidar wrote: >>>> You have to set your localization to "strine" for the first to >>>> work. It's "pommey" for the bagpipe, and I don't think they have >>>> implemented Polish localization yet, so no go for the accordion. >>>> >>> >>> Pommies don't play bagpipes; unless, of course, you class >>> Northumbrians as pommies. >>> >>> Although, you'd be hard put to grow an apple as far north as the >>> Pennines. >>> >>> Pommies, when they are trying hard to prove they have an >>> identifiable culture, perform >>> Morris dances. >>> _______________________________________________ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Wed Dec 15 15:41:23 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 15 Dec 2010 13:41:23 -0700 Subject: RevServer on OSX (Snow Leopard Server) In-Reply-To: <46C045D1-C782-4620-8144-4F439C37BEFE@clarkeandclarke.co.uk> References: <46C045D1-C782-4620-8144-4F439C37BEFE@clarkeandclarke.co.uk> Message-ID: I did it that way but no longer have that computer. However, I did send a complete working httpd.conf to.. someone on this list. My memory is so bad I can't recall who. (sent privately, but wouldn't mind if they forward it on to you) On the other size, I have an httpd.conf working dandy on straight leopard that I'd be willing to send. Should work for either system, leop, or snow. Let me know if you want it. On Wed, Dec 15, 2010 at 12:58 PM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > Hi Folks, > I'm back on the revServer setup trail and I'm documenting as I go, with a > view to publishing a how-to guide to help fill part of the revserver > documentation gap. > > There are various threads on the archives where people have taken subtly > different approaches and therefore created different solutions (and so some > of the advice is conflicting). I wonder, has anyone achieved a set-up on > 10.6.5 with a purely Server Admin + httpd.conf approach - that is, with no > .htaccess files floating around? > > Would anyone with a working 10.6.5 set-up be prepared to share with me > (maybe off-line) their successful httpd.conf and .htaccess snippets? That > way I might be able to finish my set-up and share a draft guide. > Best, > Keith.. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Wed Dec 15 15:41:56 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 15 Dec 2010 13:41:56 -0700 Subject: RevServer on OSX (Snow Leopard Server) In-Reply-To: References: <46C045D1-C782-4620-8144-4F439C37BEFE@clarkeandclarke.co.uk> Message-ID: oh wait, the one I sent was the non-snow conf file. So either way, I can send you my leopard one. On Wed, Dec 15, 2010 at 1:41 PM, Mike Bonner wrote: > I did it that way but no longer have that computer. However, I did send a > complete working httpd.conf to.. someone on this list. My memory is so bad I > can't recall who. (sent privately, but wouldn't mind if they forward it on > to you) On the other size, I have an httpd.conf working dandy on straight > leopard that I'd be willing to send. Should work for either system, leop, > or snow. > > Let me know if you want it. > > On Wed, Dec 15, 2010 at 12:58 PM, Keith Clarke < > keith.clarke at clarkeandclarke.co.uk> wrote: > >> Hi Folks, >> I'm back on the revServer setup trail and I'm documenting as I go, with a >> view to publishing a how-to guide to help fill part of the revserver >> documentation gap. >> >> There are various threads on the archives where people have taken subtly >> different approaches and therefore created different solutions (and so some >> of the advice is conflicting). I wonder, has anyone achieved a set-up on >> 10.6.5 with a purely Server Admin + httpd.conf approach - that is, with no >> .htaccess files floating around? >> >> Would anyone with a working 10.6.5 set-up be prepared to share with me >> (maybe off-line) their successful httpd.conf and .htaccess snippets? That >> way I might be able to finish my set-up and share a draft guide. >> Best, >> Keith.. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From richmondmathewson at gmail.com Wed Dec 15 15:48:38 2010 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 15 Dec 2010 22:48:38 +0200 Subject: msg box Bug? In-Reply-To: <9112F79C-C3D2-426D-A8C3-10725A00D80B@mollysrevenge.com> References: <90D5FA28-AF12-496F-AC49-D6843D87CE8B@twft.com> <4D091CFD.5020304@gmail.com> <4D0924F0.6070606@gmail.com> <9112F79C-C3D2-426D-A8C3-10725A00D80B@mollysrevenge.com> Message-ID: <4D0929A6.4090301@gmail.com> On 12/15/2010 10:37 PM, Peter Haworth wrote: > > On Dec 15, 2010, at 12:28 PM, Richmond wrote: > >> On 12/15/2010 10:05 PM, Peter Haworth wrote: >>> As a Lancastrian who lived near Oxford (a stronghold of Morris >>> dancing) now living in California and playing in a Celtic music band >>> with a bagpiper and a guest vocalist who plays accordion, I THINK I >>> just got served! >>> >> >> As a Scot, I've always wondered what the word 'Celtic' means . . . :) >> >> Potential definitions include " a romantic miasma created by >> opium-addled Victorians living in >> London and successfully fooled by George McDonald." > > That's exactly right! Mind you; both Lancastrians and East Coast Scots can smirk in an unpleasantly superior way at Australians . . . :) >> >>> Pete Haworth >>> >>> On Dec 15, 2010, at 11:54 AM, Richmond wrote: >>> >>>> On 12/15/2010 09:10 PM, Bob Sneidar wrote: >>>>> You have to set your localization to "strine" for the first to >>>>> work. It's "pommey" for the bagpipe, and I don't think they have >>>>> implemented Polish localization yet, so no go for the accordion. >>>>> >>>> >>>> Pommies don't play bagpipes; unless, of course, you class >>>> Northumbrians as pommies. >>>> >>>> Although, you'd be hard put to grow an apple as far north as the >>>> Pennines. >>>> >>>> Pommies, when they are trying hard to prove they have an >>>> identifiable culture, perform >>>> Morris dances. >>>> _______________________________________________ >> From scott at tactilemedia.com Wed Dec 15 15:50:30 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 15 Dec 2010 12:50:30 -0800 Subject: [OT] Some Recognition Message-ID: My iOS game PLEXXR recently won best art category in IndiePub Mobile Games Competition. Nice to get some recognition for one's efforts. :-) (not build in LiveCode) Regards, Scott Rossi Creative Director Tactile Media, UX Design From keith.clarke at clarkeandclarke.co.uk Wed Dec 15 15:57:02 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Wed, 15 Dec 2010 20:57:02 +0000 Subject: RevServer on OSX (Snow Leopard Server) In-Reply-To: References: <46C045D1-C782-4620-8144-4F439C37BEFE@clarkeandclarke.co.uk> Message-ID: <3972C010-C0ED-4272-8AA2-DE64F520910F@clarkeandclarke.co.uk> Mike, Thanks for the response and the file - I'm off to have a play right now! Keith.. On 15 Dec 2010, at 20:41, Mike Bonner wrote: > oh wait, the one I sent was the non-snow conf file. So either way, I can > send you my leopard one. > > On Wed, Dec 15, 2010 at 1:41 PM, Mike Bonner wrote: > >> I did it that way but no longer have that computer. However, I did send a >> complete working httpd.conf to.. someone on this list. My memory is so bad I >> can't recall who. (sent privately, but wouldn't mind if they forward it on >> to you) On the other size, I have an httpd.conf working dandy on straight >> leopard that I'd be willing to send. Should work for either system, leop, >> or snow. >> >> Let me know if you want it. >> >> On Wed, Dec 15, 2010 at 12:58 PM, Keith Clarke < >> keith.clarke at clarkeandclarke.co.uk> wrote: >> >>> Hi Folks, >>> I'm back on the revServer setup trail and I'm documenting as I go, with a >>> view to publishing a how-to guide to help fill part of the revserver >>> documentation gap. >>> >>> There are various threads on the archives where people have taken subtly >>> different approaches and therefore created different solutions (and so some >>> of the advice is conflicting). I wonder, has anyone achieved a set-up on >>> 10.6.5 with a purely Server Admin + httpd.conf approach - that is, with no >>> .htaccess files floating around? >>> >>> Would anyone with a working 10.6.5 set-up be prepared to share with me >>> (maybe off-line) their successful httpd.conf and .htaccess snippets? That >>> way I might be able to finish my set-up and share a draft guide. >>> Best, >>> Keith.. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mpetrides at earthlink.net Wed Dec 15 15:58:03 2010 From: mpetrides at earthlink.net (Marian Petrides) Date: Wed, 15 Dec 2010 14:58:03 -0600 Subject: [OT] Some Recognition In-Reply-To: References: Message-ID: <011FD0AF-EE85-4904-B340-9BA076B20F29@earthlink.net> Well deserved award IMHO! Great game, fantastic implementation and graphics. On Dec 15, 2010, at 2:50 PM, Scott Rossi wrote: > My iOS game PLEXXR recently won best art category in IndiePub Mobile Games > Competition. Nice to get some recognition for one's efforts. :-) > > > > (not build in LiveCode) > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Dec 15 16:42:22 2010 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 15 Dec 2010 23:42:22 +0200 Subject: Behaving badly with backgrounds Message-ID: <4D09363E.9040808@gmail.com> So: 1. I developed a stack with one card. 2. Populated that card with a group "GX". 3. Set the backgroundBehavior of group "GX" to true. 4. Started making new cards, and as I did so the group "GX" became visible on all of them. Lovely . . . :) 5. As I made each new card I also created card-specific controls on that card. 6. Now I create a new group ("GN") on card 1 and set its backgroundBehavior to true. 7. Group "GN" does NOT propagate across any of the pre-existing cards . . . :( How do I get a NEW group with backgroundBehavior set to true to propagate across a set of cards created prior to that group? From bobs at twft.com Wed Dec 15 16:48:31 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 15 Dec 2010 13:48:31 -0800 Subject: RevServer on OSX (Snow Leopard Server) In-Reply-To: References: <46C045D1-C782-4620-8144-4F439C37BEFE@clarkeandclarke.co.uk> Message-ID: If you sent it from a gmail account, it's in your all mail folder and you can search for it. Bob On Dec 15, 2010, at 12:41 PM, Mike Bonner wrote: > I did it that way but no longer have that computer. However, I did send a > complete working httpd.conf to.. someone on this list. My memory is so bad I > can't recall who. (sent privately, but wouldn't mind if they forward it on > to you) On the other size, I have an httpd.conf working dandy on straight > leopard that I'd be willing to send. Should work for either system, leop, > or snow. > > Let me know if you want it. > > On Wed, Dec 15, 2010 at 12:58 PM, Keith Clarke < > keith.clarke at clarkeandclarke.co.uk> wrote: > >> Hi Folks, >> I'm back on the revServer setup trail and I'm documenting as I go, with a >> view to publishing a how-to guide to help fill part of the revserver >> documentation gap. >> >> There are various threads on the archives where people have taken subtly >> different approaches and therefore created different solutions (and so some >> of the advice is conflicting). I wonder, has anyone achieved a set-up on >> 10.6.5 with a purely Server Admin + httpd.conf approach - that is, with no >> .htaccess files floating around? >> >> Would anyone with a working 10.6.5 set-up be prepared to share with me >> (maybe off-line) their successful httpd.conf and .htaccess snippets? That >> way I might be able to finish my set-up and share a draft guide. >> Best, >> Keith.. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Dec 15 16:49:24 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 15 Dec 2010 13:49:24 -0800 Subject: [OT] Some Recognition Message-ID: <4D0937E4.7030304@fourthworld.com> Scott Rossi wrote: > My iOS game PLEXXR recently won best art category in IndiePub Mobile Games > Competition. Nice to get some recognition for one's efforts. :-) > > > > (not build in LiveCode) Congrats, Scott. I always knew you'd some day do something worthwhile. ;) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From bobs at twft.com Wed Dec 15 16:51:21 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 15 Dec 2010 13:51:21 -0800 Subject: Behaving badly with backgrounds In-Reply-To: <4D09363E.9040808@gmail.com> References: <4D09363E.9040808@gmail.com> Message-ID: You will have to go to each card and select the group from the Place Group menu. You can do this programmatically by using the place command place myGroup onto card. Bob On Dec 15, 2010, at 1:42 PM, Richmond wrote: > So: > > 1. I developed a stack with one card. > > 2. Populated that card with a group "GX". > > 3. Set the backgroundBehavior of group "GX" to true. > > 4. Started making new cards, and as I did so the group "GX" > became visible on all of them. > > Lovely . . . :) > > 5. As I made each new card I also created card-specific controls on that card. > > 6. Now I create a new group ("GN") on card 1 and set its backgroundBehavior > to true. > > 7. Group "GN" does NOT propagate across any of the pre-existing cards . . . :( > > How do I get a NEW group with backgroundBehavior set to true to propagate > across a set of cards created prior to that group? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Wed Dec 15 16:54:10 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 15 Dec 2010 13:54:10 -0800 Subject: [OT] Some Recognition In-Reply-To: <4D0937E4.7030304@fourthworld.com> References: <4D0937E4.7030304@fourthworld.com> Message-ID: No he did something worthwhile once before. It was called tmAlign. I still use it. Very cool. I would like an added feature though that could distribute objects with a predefined pixel spacing. That is the only thing missing. I could do it programmatically, but I am lazy. That's why I buy plugins from you guys! Bob On Dec 15, 2010, at 1:49 PM, Richard Gaskin wrote: > Scott Rossi wrote: > >> My iOS game PLEXXR recently won best art category in IndiePub Mobile Games >> Competition. Nice to get some recognition for one's efforts. :-) >> >> >> >> (not build in LiveCode) > > Congrats, Scott. > > I always knew you'd some day do something worthwhile. ;) > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From warren at warrensweb.us Wed Dec 15 16:57:53 2010 From: warren at warrensweb.us (Warren Samples) Date: Wed, 15 Dec 2010 15:57:53 -0600 Subject: msg box Bug? In-Reply-To: <4D0929A6.4090301@gmail.com> References: <90D5FA28-AF12-496F-AC49-D6843D87CE8B@twft.com> <4D091CFD.5020304@gmail.com> <4D0924F0.6070606@gmail.com> <9112F79C-C3D2-426D-A8C3-10725A00D80B@mollysrevenge.com> <4D0929A6.4090301@gmail.com> Message-ID: <1292450273.2250.75.camel@mint-i7> On Wed, 2010-12-15 at 22:48 +0200, Richmond wrote: > On 12/15/2010 10:37 PM, Peter Haworth wrote: > > > > On Dec 15, 2010, at 12:28 PM, Richmond wrote: > > > >> On 12/15/2010 10:05 PM, Peter Haworth wrote: > >>> As a Lancastrian who lived near Oxford (a stronghold of Morris > >>> dancing) now living in California and playing in a Celtic music > band > >>> with a bagpiper and a guest vocalist who plays accordion, I THINK > I > >>> just got served! > >>> > >> > >> As a Scot, I've always wondered what the word 'Celtic' > means . . . :) > >> > >> Potential definitions include " a romantic miasma created by > >> opium-addled Victorians living in > >> London and successfully fooled by George McDonald." > > > > That's exactly right! > > Mind you; both Lancastrians and East Coast Scots can smirk in an > unpleasantly superior > way at Australians . . . :) > > >> > >>> Pete Haworth > >>> > >>> On Dec 15, 2010, at 11:54 AM, Richmond wrote: > >>> > >>>> On 12/15/2010 09:10 PM, Bob Sneidar wrote: > >>>>> You have to set your localization to "strine" for the first to > >>>>> work. It's "pommey" for the bagpipe, and I don't think they > have > >>>>> implemented Polish localization yet, so no go for the accordion. > >>>>> > >>>> > >>>> Pommies don't play bagpipes; unless, of course, you class > >>>> Northumbrians as pommies. > >>>> > >>>> Although, you'd be hard put to grow an apple as far north as the > >>>> Pennines. > >>>> > >>>> Pommies, when they are trying hard to prove they have an > >>>> identifiable culture, perform > >>>> Morris dances. > >>>> _______________________________________________ > >> I deny having ever participated in this thread at any time. In fact, I did not write this. From richmondmathewson at gmail.com Wed Dec 15 16:58:37 2010 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 15 Dec 2010 23:58:37 +0200 Subject: Behaving badly with backgrounds In-Reply-To: References: <4D09363E.9040808@gmail.com> Message-ID: <4D093A0D.7000409@gmail.com> On 12/15/2010 11:51 PM, Bob Sneidar wrote: > You will have to go to each card and select the group from the Place Group menu. You can do this programmatically by using the place command place myGroup onto card. > Thanks . . . Ooooh; tedious! Well . . . I am proposing to have end-users create groups (by clicking on a button) that will then propagate across cards . . . in a standalone . . . Well; I'll just have to get "down 'n dirty" and work out the thing in the stack and then see if it still works in a standalone. I wonder if when I exit the stack/standalone I will have to delete the group once; or whether what in fact is happening is the group is being duplicated across whichever cards I use the Place group command on and each instantiation will have to be deleted separately? > Bob > > > On Dec 15, 2010, at 1:42 PM, Richmond wrote: > >> So: >> >> 1. I developed a stack with one card. >> >> 2. Populated that card with a group "GX". >> >> 3. Set the backgroundBehavior of group "GX" to true. >> >> 4. Started making new cards, and as I did so the group "GX" >> became visible on all of them. >> >> Lovely . . . :) >> >> 5. As I made each new card I also created card-specific controls on that card. >> >> 6. Now I create a new group ("GN") on card 1 and set its backgroundBehavior >> to true. >> >> 7. Group "GN" does NOT propagate across any of the pre-existing cards . . . :( >> >> How do I get a NEW group with backgroundBehavior set to true to propagate >> across a set of cards created prior to that group? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Wed Dec 15 17:04:51 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 15 Dec 2010 14:04:51 -0800 Subject: Behaving badly with backgrounds In-Reply-To: <4D093A0D.7000409@gmail.com> References: <4D09363E.9040808@gmail.com> <4D093A0D.7000409@gmail.com> Message-ID: <78673209-4424-427C-84FC-526921A54CE0@twft.com> BTW I noticed that when you have a data grid on a card, the Place Group menu becomes incredibly cluttered. You would do much better, knowing the name of your group, to use the message box. Bob On Dec 15, 2010, at 1:58 PM, Richmond wrote: > On 12/15/2010 11:51 PM, Bob Sneidar wrote: >> You will have to go to each card and select the group from the Place Group menu. You can do this programmatically by using the place command place myGroup onto card. >> > Thanks . . . > > Ooooh; tedious! From richmondmathewson at gmail.com Wed Dec 15 17:05:47 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 16 Dec 2010 00:05:47 +0200 Subject: msg box Bug? In-Reply-To: <1292450273.2250.75.camel@mint-i7> References: <90D5FA28-AF12-496F-AC49-D6843D87CE8B@twft.com> <4D091CFD.5020304@gmail.com> <4D0924F0.6070606@gmail.com> <9112F79C-C3D2-426D-A8C3-10725A00D80B@mollysrevenge.com> <4D0929A6.4090301@gmail.com> <1292450273.2250.75.camel@mint-i7> Message-ID: <4D093BBB.2050402@gmail.com> On 12/15/2010 11:57 PM, Warren Samples wrote: > On Wed, 2010-12-15 at 22:48 +0200, Richmond wrote: >> On 12/15/2010 10:37 PM, Peter Haworth wrote: >>> On Dec 15, 2010, at 12:28 PM, Richmond wrote: >>> >>>> On 12/15/2010 10:05 PM, Peter Haworth wrote: >>>>> As a Lancastrian who lived near Oxford (a stronghold of Morris >>>>> dancing) now living in California and playing in a Celtic music >> band >>>>> with a bagpiper and a guest vocalist who plays accordion, I THINK >> I >>>>> just got served! >>>>> >>>> As a Scot, I've always wondered what the word 'Celtic' >> means . . . :) >>>> Potential definitions include " a romantic miasma created by >>>> opium-addled Victorians living in >>>> London and successfully fooled by George McDonald." >>> That's exactly right! >> Mind you; both Lancastrians and East Coast Scots can smirk in an >> unpleasantly superior >> way at Australians . . . :) >> >>>>> Pete Haworth >>>>> >>>>> On Dec 15, 2010, at 11:54 AM, Richmond wrote: >>>>> >>>>>> On 12/15/2010 09:10 PM, Bob Sneidar wrote: >>>>>>> You have to set your localization to "strine" for the first to >>>>>>> work. It's "pommey" for the bagpipe, and I don't think they >> have >>>>>>> implemented Polish localization yet, so no go for the accordion. >>>>>>> >>>>>> Pommies don't play bagpipes; unless, of course, you class >>>>>> Northumbrians as pommies. >>>>>> >>>>>> Although, you'd be hard put to grow an apple as far north as the >>>>>> Pennines. >>>>>> >>>>>> Pommies, when they are trying hard to prove they have an >>>>>> identifiable culture, perform >>>>>> Morris dances. >>>>>> _______________________________________________ >>>> >>>> I deny having ever participated in this thread at any time. In fact, I >>>> did not write this. What a depressing confession! The tangential information one can garner from this use-list is almost as valuable as the Livecode-relevant information; and usually, far more amusing. If all you do it think along ramrod straight lines about coding then your coding is unlikely to be creative an innovative; and as Livecode is, itself, both creative and innovative, quite a lot of what Edward De Bono called "Lateral Thinking" helps an awful lot. Be very, very careful, or I may send you a complete folk-dancing kit . . . . :) From richmondmathewson at gmail.com Wed Dec 15 17:09:11 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 16 Dec 2010 00:09:11 +0200 Subject: Behaving badly with backgrounds In-Reply-To: <78673209-4424-427C-84FC-526921A54CE0@twft.com> References: <4D09363E.9040808@gmail.com> <4D093A0D.7000409@gmail.com> <78673209-4424-427C-84FC-526921A54CE0@twft.com> Message-ID: <4D093C87.4040703@gmail.com> On 12/16/2010 12:04 AM, Bob Sneidar wrote: > BTW I noticed that when you have a data grid on a card, the Place Group menu becomes incredibly cluttered. You would do much better, knowing the name of your group, to use the message box. Luckily enough, in my case, its really just a couple of groups; one consisting of half-a-dozen buttons, and the other an image grouped into itself with vertical and horizontal scrollbars. Datagrids give me the "willies", and so far I've managed to avoid having anything to do with them. > Bob > > > On Dec 15, 2010, at 1:58 PM, Richmond wrote: > >> On 12/15/2010 11:51 PM, Bob Sneidar wrote: >>> You will have to go to each card and select the group from the Place Group menu. You can do this programmatically by using the place command place myGroup onto card. >>> >> Thanks . . . >> >> Ooooh; tedious! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Wed Dec 15 17:19:08 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Wed, 15 Dec 2010 17:19:08 -0500 Subject: msg box Bug? In-Reply-To: References: Message-ID: <9CB425DE-195A-4A42-AACE-8A10ACD2B04A@gmail.com> On Dec 15, 2010, at 1:46 PM, Scott Rossi wrote: > Might be worth noting that > "play accordion" returns the result "go to jail; that's the law". "A gentleman is a man who can play the trumpet, but doesn't." -- Lord Chesterfield -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From bobs at twft.com Wed Dec 15 17:19:53 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 15 Dec 2010 14:19:53 -0800 Subject: Spaced Out Message-ID: <92C6292C-8B24-4FF9-9425-28718D565BF3@twft.com> A simple object spacing script. on spacedOut put 1 into mCnt put 12 into mSpace put the selectedObjects into theObjectList repeat for each line mLine in theObjectList if mCnt is 1 then -- it's the first object put the right of mLine into nextRight put mcnt + 1 into mCnt next repeat end if set the left of mLine to nextRight + mSpace put the right of mLine into nextRight put mcnt + 1 into mcnt end repeat end spacedOut From warren at warrensweb.us Wed Dec 15 17:30:49 2010 From: warren at warrensweb.us (Warren Samples) Date: Wed, 15 Dec 2010 16:30:49 -0600 Subject: msg box Bug? In-Reply-To: <4D093BBB.2050402@gmail.com> References: <90D5FA28-AF12-496F-AC49-D6843D87CE8B@twft.com> <4D091CFD.5020304@gmail.com> <4D0924F0.6070606@gmail.com> <9112F79C-C3D2-426D-A8C3-10725A00D80B@mollysrevenge.com> <4D0929A6.4090301@gmail.com> <1292450273.2250.75.camel@mint-i7> <4D093BBB.2050402@gmail.com> Message-ID: <1292452249.2250.81.camel@mint-i7> On Thu, 2010-12-16 at 00:05 +0200, Richmond wrote: > What a depressing confession! The tangential information one can > garner > from this use-list > is almost as valuable as the Livecode-relevant information; and > usually, > far more amusing. > > If all you do it think along ramrod straight lines about coding then > your coding is unlikely > to be creative an innovative; and as Livecode is, itself, both > creative > and innovative, quite a lot > of what Edward De Bono called "Lateral Thinking" helps an awful lot. > > Be very, very careful, or I may send you a complete folk-dancing > kit . . > . . :) I have been known to enjoy frivolous pursuits and don't object in principle to inanity or insanity, even, but this is too much talk of bagpipes and accordions for me. (And somebody felt compelled to bring banjos into it!) Uyyyyyyyyyyy! From bobs at twft.com Wed Dec 15 17:39:18 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 15 Dec 2010 14:39:18 -0800 Subject: msg box Bug? In-Reply-To: <1292452249.2250.81.camel@mint-i7> References: <90D5FA28-AF12-496F-AC49-D6843D87CE8B@twft.com> <4D091CFD.5020304@gmail.com> <4D0924F0.6070606@gmail.com> <9112F79C-C3D2-426D-A8C3-10725A00D80B@mollysrevenge.com> <4D0929A6.4090301@gmail.com> <1292450273.2250.75.camel@mint-i7> <4D093BBB.2050402@gmail.com> <1292452249.2250.81.camel@mint-i7> Message-ID: <3F823A1E-4FB6-4BDD-AFE1-13508363029C@twft.com> I actually played marching drums in a bagpipe band in High School. Everything was imported from Scotland, right down to the drumsticks. The 2 instructors were phenomenal. They would take teenage kids and within two years have them winning awards in major parades in Maryland. That was probably the most fun I ever had with any group of people that involved music. Well, there was my hippie buddies and I driving around town in an oil burning corvair smoking something that smelled funny and listening to Jimmy Hendrix, but that's not the same thing. Bob On Dec 15, 2010, at 2:30 PM, Warren Samples wrote: > On Thu, 2010-12-16 at 00:05 +0200, Richmond wrote: >> What a depressing confession! The tangential information one can >> garner >> from this use-list >> is almost as valuable as the Livecode-relevant information; and >> usually, >> far more amusing. >> >> If all you do it think along ramrod straight lines about coding then >> your coding is unlikely >> to be creative an innovative; and as Livecode is, itself, both >> creative >> and innovative, quite a lot >> of what Edward De Bono called "Lateral Thinking" helps an awful lot. >> >> Be very, very careful, or I may send you a complete folk-dancing >> kit . . >> . . :) > > I have been known to enjoy frivolous pursuits and don't object in > principle to inanity or insanity, even, but this is too much talk of > bagpipes and accordions for me. (And somebody felt compelled to bring > banjos into it!) Uyyyyyyyyyyy! > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Wed Dec 15 17:43:04 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 15 Dec 2010 15:43:04 -0700 Subject: RevServer on OSX (Snow Leopard Server) In-Reply-To: References: <46C045D1-C782-4620-8144-4F439C37BEFE@clarkeandclarke.co.uk> Message-ID: Yeah did, thinkin it was long enough ago to roll off my trash list. (yes I do actually delete emails sometimes from gmail!) However, I found a backup of it and sent it directly. YAY for regular backing up. Still have backups of machines that have been gone several years. On Wed, Dec 15, 2010 at 2:48 PM, Bob Sneidar wrote: > If you sent it from a gmail account, it's in your all mail folder and you > can search for it. > > Bob > > > On Dec 15, 2010, at 12:41 PM, Mike Bonner wrote: > > > I did it that way but no longer have that computer. However, I did send a > > complete working httpd.conf to.. someone on this list. My memory is so > bad I > > can't recall who. (sent privately, but wouldn't mind if they forward it > on > > to you) On the other size, I have an httpd.conf working dandy on > straight > > leopard that I'd be willing to send. Should work for either system, > leop, > > or snow. > > > > Let me know if you want it. > > > > On Wed, Dec 15, 2010 at 12:58 PM, Keith Clarke < > > keith.clarke at clarkeandclarke.co.uk> wrote: > > > >> Hi Folks, > >> I'm back on the revServer setup trail and I'm documenting as I go, with > a > >> view to publishing a how-to guide to help fill part of the revserver > >> documentation gap. > >> > >> There are various threads on the archives where people have taken subtly > >> different approaches and therefore created different solutions (and so > some > >> of the advice is conflicting). I wonder, has anyone achieved a set-up on > >> 10.6.5 with a purely Server Admin + httpd.conf approach - that is, with > no > >> .htaccess files floating around? > >> > >> Would anyone with a working 10.6.5 set-up be prepared to share with me > >> (maybe off-line) their successful httpd.conf and .htaccess snippets? > That > >> way I might be able to finish my set-up and share a draft guide. > >> Best, > >> Keith.. > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Wed Dec 15 17:45:19 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 15 Dec 2010 15:45:19 -0700 Subject: msg box Bug? In-Reply-To: <3F823A1E-4FB6-4BDD-AFE1-13508363029C@twft.com> References: <90D5FA28-AF12-496F-AC49-D6843D87CE8B@twft.com> <4D091CFD.5020304@gmail.com> <4D0924F0.6070606@gmail.com> <9112F79C-C3D2-426D-A8C3-10725A00D80B@mollysrevenge.com> <4D0929A6.4090301@gmail.com> <1292450273.2250.75.camel@mint-i7> <4D093BBB.2050402@gmail.com> <1292452249.2250.81.camel@mint-i7> <3F823A1E-4FB6-4BDD-AFE1-13508363029C@twft.com> Message-ID: I have been known to enjoy frivolous pursuits and don't object in principle to inanity or insanity, even, but this is too much talk of bagpipes and accordions for me. (And somebody felt compelled to bring banjos into it!) Uyyyyyyyyyyy! Wuts ronge weeith bayanjoes? *grins with both teeth* From jmyepes at mac.com Wed Dec 15 17:51:40 2010 From: jmyepes at mac.com (JosepM) Date: Wed, 15 Dec 2010 14:51:40 -0800 (PST) Subject: array types In-Reply-To: <4D081B5C.2060904@pdslabs.net> References: <1292369850237-3088217.post@n4.nabble.com> <26C3472F-F3C2-476C-86B2-21DB8D530978@twft.com> <4D081B5C.2060904@pdslabs.net> Message-ID: <1292453500783-3090053.post@n4.nabble.com> Thanks for the reply, work for me the first idea, the data that I get don't have any separator, only by fixed char positions, so your code will be fine. Thanks again. Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/array-types-tp3088217p3090053.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Wed Dec 15 17:57:10 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 15 Dec 2010 16:57:10 -0600 Subject: msg box Bug? In-Reply-To: References: Message-ID: <4D0947C6.3040501@hyperactivesw.com> On 12/15/10 12:46 PM, Scott Rossi wrote: > Recently, Bob Sneidar wrote: > >> Beep 3 and put XYZ both work for me. Play flute does not. > > "play flute" doesn't work here either, but "blow didjeridu" and "fumble with > bagpipes" both produce the expected results. Might be worth noting that > "play accordion" returns the result "go to jail; that's the law". Reminds me of a joke. Q: Why do people immediately hate banjo players? A: It saves time. Sorry Craig, thread hijacking seems to be in vogue today. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bvg at mac.com Wed Dec 15 18:04:54 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 16 Dec 2010 00:04:54 +0100 Subject: Concatenating 2 stacks. In-Reply-To: <4D03F5F8.3070904@gmail.com> References: <4D03E775.7050301@gmail.com> <4D03F1BE.5090807@hyperactivesw.com> <4D03F5F8.3070904@gmail.com> Message-ID: <982D80B8-8460-4E5F-8850-D1A2B20CF39C@mac.com> reading trough the backlog, sorry for late response. try to add the second stack as substack, and use 'go' as follows (this is of course a visual workaround, for not to need to mass-copy stuff): go stack "second stack" in window (the short name of this stack) On 11 Dec 2010, at 23:06, Richmond wrote: > On 12/11/2010 11:48 PM, J. Landman Gay wrote: >> On 12/11/10 3:04 PM, Richmond wrote: >>> I have 2 main stacks that I want to combine into >>> 1 stack, the 2 stacks following each other sequentially. >>> >>> But I don't know how to do this. >> >> There's no automatic way. > > Grunts! > >> You have to copy the cards of stack 2 and paste them at the end of stack 1. If you have a lot of cards, you could write a script to do it. If the two stacks use different stack scripts, you'll need to manually edit the one in stack 1 and add any handlers that were only in stack 2. > > Thanks for the help. > >> >> Alternately, you could set stack 2 to be a substack of stack 1. That's easy. Just change stack 2's "mainstack" in its property inspector. >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Dec 15 18:09:05 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 15 Dec 2010 17:09:05 -0600 Subject: [OT] Some Recognition In-Reply-To: References: Message-ID: <4D094A91.2000000@hyperactivesw.com> On 12/15/10 2:50 PM, Scott Rossi wrote: > My iOS game PLEXXR recently won best art category in IndiePub Mobile Games > Competition. Nice to get some recognition for one's efforts. :-) Way to go! :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andre at andregarzia.com Wed Dec 15 18:10:20 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 15 Dec 2010 21:10:20 -0200 Subject: [OT] Some Recognition In-Reply-To: References: <4D0937E4.7030304@fourthworld.com> Message-ID: Bob, tmAlign makes me keep playing with the mouse over it seeing the little glyphs move... Actually, it saves lots of minutes per day along with tmNumeric. I wish Scott released more plugins. Just the presence of Scotts tools on my IDE makes my sense of aesthetics better. On Wed, Dec 15, 2010 at 7:54 PM, Bob Sneidar wrote: > No he did something worthwhile once before. It was called tmAlign. I still > use it. Very cool. > > I would like an added feature though that could distribute objects with a > predefined pixel spacing. That is the only thing missing. I could do it > programmatically, but I am lazy. That's why I buy plugins from you guys! > > Bob > > > On Dec 15, 2010, at 1:49 PM, Richard Gaskin wrote: > > > Scott Rossi wrote: > > > >> My iOS game PLEXXR recently won best art category in IndiePub Mobile > Games > >> Competition. Nice to get some recognition for one's efforts. :-) > >> > >> > >> > >> (not build in LiveCode) > > > > Congrats, Scott. > > > > I always knew you'd some day do something worthwhile. ;) > > > > -- > > Richard Gaskin > > Fourth World > > LiveCode training and consulting: http://www.fourthworld.com > > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From jacque at hyperactivesw.com Wed Dec 15 18:11:04 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 15 Dec 2010 17:11:04 -0600 Subject: msg box Bug? In-Reply-To: <77a7c.799d6102.3a3a579e@aol.com> References: <77a7c.799d6102.3a3a579e@aol.com> Message-ID: <4D094B08.2090005@hyperactivesw.com> On 12/15/10 11:40 AM, DunbarX at aol.com wrote: > > Is it just me and my rig? I think so. Sorry. Are you still running your custom utility stack when it fails? Or anything else non-IDE? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From warren at warrensweb.us Wed Dec 15 18:17:54 2010 From: warren at warrensweb.us (Warren Samples) Date: Wed, 15 Dec 2010 17:17:54 -0600 Subject: msg box Bug? In-Reply-To: <4D0947C6.3040501@hyperactivesw.com> References: <4D0947C6.3040501@hyperactivesw.com> Message-ID: <1292455074.2250.140.camel@mint-i7> On Wed, 2010-12-15 at 16:57 -0600, J. Landman Gay wrote: > Reminds me of a joke. > > Q: Why do people immediately hate banjo players? > A: It saves time. While banjo players are certainly an embarrassment, they aren't worth that much effort! Most musician jokes are universal, but this one is most frequently told about conductors. (But it's not really a joke, if you get my drift.) Warren From pete at mollysrevenge.com Wed Dec 15 18:30:11 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 15 Dec 2010 15:30:11 -0800 Subject: savingStandalone Problem In-Reply-To: <4D07FB9E.5060500@hyperactivesw.com> References: <304AAE54-BD37-47AD-ACD0-6FCF65702393@mollysrevenge.com> <4D06B356.6030209@hyperactivesw.com> <4D06D690.60707@hyperactivesw.com> <0C9733D6-4AEF-418B-8202-C91D6E08D689@mollysrevenge.com> <4D07FB9E.5060500@hyperactivesw.com> Message-ID: <413EF4E6-88D6-4B17-80D3-DA12F68508B9@mollysrevenge.com> So what is safe to do in savingStandalone? I set a different custom property of the main stack to today's date in my savingStandalone handler and that works fine. Pete Haworth On Dec 14, 2010, at 3:19 PM, J. Landman Gay wrote: > On 12/14/10 4:22 PM, Peter Haworth wrote: >> I'm still trying to figure this out. Here's the latest twist - the >> About >> dialog in the standalone, which uses the custom property, displays >> the >> correct version as entered in the prompt dialog during >> savingStandalone. >> But the custom property I see in the IDE doesn't get updated. > > I didn't realize you were trapping savingStandalone. No promises on > what can happen if you do that. Also, the SB puts up some dialogs of > its own, so those will change the dialogdata. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at mollysrevenge.com Wed Dec 15 19:30:07 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 15 Dec 2010 16:30:07 -0800 Subject: DG Column Labels Message-ID: <27F37D05-77CA-46AB-8136-8206CC2A5582@mollysrevenge.com> There appears to be a small error in the dg manual regarding the column labels property. The description says they come back as a line delimited list but they're coming back as a comma delimited list. Or I guess it could be a bug, since the column names property does come back as a line delimited list.. Pete Haworth From pete at mollysrevenge.com Wed Dec 15 19:37:45 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 15 Dec 2010 16:37:45 -0800 Subject: DG Column Labels In-Reply-To: <27F37D05-77CA-46AB-8136-8206CC2A5582@mollysrevenge.com> References: <27F37D05-77CA-46AB-8136-8206CC2A5582@mollysrevenge.com> Message-ID: <69B1E638-6F91-4173-88C7-6E1EFDA4B965@mollysrevenge.com> Well, just looked into this further and the column labels come back as comma delimited in 4.0 but line delimited in 4.5 Pete Haworth On Dec 15, 2010, at 4:30 PM, Peter Haworth wrote: > There appears to be a small error in the dg manual regarding the > column labels property. The description says they come back as a > line delimited list but they're coming back as a comma delimited > list. Or I guess it could be a bug, since the column names property > does come back as a line delimited list.. > > Pete Haworth > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Wed Dec 15 21:50:25 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 15 Dec 2010 18:50:25 -0800 Subject: OT: Real competition for revlets In-Reply-To: <3A671BBF-C9E3-4889-ACAF-B90424058539@verizon.net> References: <3A671BBF-C9E3-4889-ACAF-B90424058539@verizon.net> Message-ID: <158-1964439281.20101215185025@ahsoftware.net> Colin- Wednesday, December 15, 2010, 8:52:28 AM, you wrote: > http://www.realsoftware.com/web/ "applications are compiled to machine code" ??? The only drawbacks I can see are 1. needs FastCGI 2. doesn't support JQuery 3. no local file I/O (runs on server, not in browser) 4. Basic but it sure beats waiting around for the rev team to get their act together. I've had to give up on revlets as being inadequate for projects several times now, most recently last week. I can't quite tell from the web site how well a RealWeb app might integrate into the DOM, but my guess is not what well. But that still puts it now worse than revlets or Flash apps. -- -Mark Wieder mwieder at ahsoftware.net From warren at warrensweb.us Wed Dec 15 22:26:57 2010 From: warren at warrensweb.us (Warren Samples) Date: Wed, 15 Dec 2010 21:26:57 -0600 Subject: Valentina db under Linux ??? Message-ID: <1292470017.2250.226.camel@mint-i7> Hello! Does anyone have the ADK embedded version of Valentina installed and working in Linux? I have had no luck getting this to work. The new version 4.8 gives me some strange messages installing and then crashes Livecode when attempting to initialize. The previous version always returns a script error regarding the function "Valentina_Init". I'm running Linux Mint, which is compatible with Ubuntu. Any help would be appreciated! Warren Samples From jacque at hyperactivesw.com Wed Dec 15 22:57:41 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 15 Dec 2010 21:57:41 -0600 Subject: savingStandalone Problem In-Reply-To: <413EF4E6-88D6-4B17-80D3-DA12F68508B9@mollysrevenge.com> References: <304AAE54-BD37-47AD-ACD0-6FCF65702393@mollysrevenge.com> <4D06B356.6030209@hyperactivesw.com> <4D06D690.60707@hyperactivesw.com> <0C9733D6-4AEF-418B-8202-C91D6E08D689@mollysrevenge.com> <4D07FB9E.5060500@hyperactivesw.com> <413EF4E6-88D6-4B17-80D3-DA12F68508B9@mollysrevenge.com> Message-ID: <4D098E35.8090506@hyperactivesw.com> On 12/15/10 5:30 PM, Peter Haworth wrote: > So what is safe to do in savingStandalone? I set a different custom > property of the main stack to today's date in my savingStandalone > handler and that works fine. I don't know, sorry. I never use it. I'm not comfortable intercepting any of the internal IDE commands if I can't see the scripts they're attached to. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From coiin at verizon.net Wed Dec 15 23:00:04 2010 From: coiin at verizon.net (Colin Holgate) Date: Wed, 15 Dec 2010 23:00:04 -0500 Subject: OT: Real competition for revlets In-Reply-To: <158-1964439281.20101215185025@ahsoftware.net> References: <3A671BBF-C9E3-4889-ACAF-B90424058539@verizon.net> <158-1964439281.20101215185025@ahsoftware.net> Message-ID: <866DE25D-23C3-4DF4-AA02-81C394F10267@verizon.net> I've always had a slightly negative view about Real BASIC, in that the programming language has looked ugly enough that it makes me thing that I might as well use a "real" programming language if I have to cope with that syntax! Having said that, they are known for doing realistic system controls, and for web apps their ugly language is probably an improvement over PHP. From pete at mollysrevenge.com Thu Dec 16 00:17:01 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 15 Dec 2010 21:17:01 -0800 Subject: savingStandalone Problem In-Reply-To: <4D098E35.8090506@hyperactivesw.com> References: <304AAE54-BD37-47AD-ACD0-6FCF65702393@mollysrevenge.com> <4D06B356.6030209@hyperactivesw.com> <4D06D690.60707@hyperactivesw.com> <0C9733D6-4AEF-418B-8202-C91D6E08D689@mollysrevenge.com> <4D07FB9E.5060500@hyperactivesw.com> <413EF4E6-88D6-4B17-80D3-DA12F68508B9@mollysrevenge.com> <4D098E35.8090506@hyperactivesw.com> Message-ID: <7F97059D-4D9D-4D14-BD59-21AFE7E4AB66@mollysrevenge.com> I guess I have to wonder why that message is provided if it's not safe to do certain things, or at least what should be avoided. I'll figure something else out. Pete Haworth -------------- next part -------------- http://www.mollysrevenge.com http://www.sonicbids.com/MollysRevenge http://www.myspace.com/mollysrevengeband On Dec 15, 2010, at 7:57 PM, J. Landman Gay wrote: > On 12/15/10 5:30 PM, Peter Haworth wrote: >> So what is safe to do in savingStandalone? I set a different custom >> property of the main stack to today's date in my savingStandalone >> handler and that works fine. > > I don't know, sorry. I never use it. I'm not comfortable > intercepting any of the internal IDE commands if I can't see the > scripts they're attached to. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lists at mangomultimedia.com Thu Dec 16 00:17:43 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 16 Dec 2010 00:17:43 -0500 Subject: DG Column Labels In-Reply-To: <69B1E638-6F91-4173-88C7-6E1EFDA4B965@mollysrevenge.com> References: <27F37D05-77CA-46AB-8136-8206CC2A5582@mollysrevenge.com> <69B1E638-6F91-4173-88C7-6E1EFDA4B965@mollysrevenge.com> Message-ID: On Wed, Dec 15, 2010 at 7:37 PM, Peter Haworth wrote: > Well, just looked into this further and the column labels come back as > comma delimited in 4.0 but line delimited in 4.5 > A bug in 4.0, fixed for 4.5. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From capellan2000 at gmail.com Thu Dec 16 00:26:33 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 15 Dec 2010 21:26:33 -0800 (PST) Subject: =?UTF-8?Q?Re:_Programadores_espa=C3=B1oles_-_Spanish_census?= In-Reply-To: <201012140939.49304.glpunzi@lordzealon.com> References: <201012140939.49304.glpunzi@lordzealon.com> Message-ID: <1292477193334-3090320.post@n4.nabble.com> Hola Giuzeppe, Hablo espa?ol, lo cual resulta muy ?til cuando participo en proyectos de programaci?n con otros programadores que hablan el mismo idioma, but in this mail list, I prefer to write only in english, because many developers around the world use english as their second language. Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Programadores-espa-oles-Spanish-census-tp3086624p3090320.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Thu Dec 16 00:44:19 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 15 Dec 2010 23:44:19 -0600 Subject: savingStandalone Problem In-Reply-To: <7F97059D-4D9D-4D14-BD59-21AFE7E4AB66@mollysrevenge.com> References: <304AAE54-BD37-47AD-ACD0-6FCF65702393@mollysrevenge.com> <4D06B356.6030209@hyperactivesw.com> <4D06D690.60707@hyperactivesw.com> <0C9733D6-4AEF-418B-8202-C91D6E08D689@mollysrevenge.com> <4D07FB9E.5060500@hyperactivesw.com> <413EF4E6-88D6-4B17-80D3-DA12F68508B9@mollysrevenge.com> <4D098E35.8090506@hyperactivesw.com> <7F97059D-4D9D-4D14-BD59-21AFE7E4AB66@mollysrevenge.com> Message-ID: <4D09A733.7020309@hyperactivesw.com> On 12/15/10 11:17 PM, Peter Haworth wrote: > I guess I have to wonder why that message is provided if it's not safe > to do certain things, or at least what should be avoided. I'll figure > something else out. My mistake, I didn't realize it was documented. So it's probably okay to use, but I'm not familiar enough with it to give much advice. Sorry for misleading you. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at mollysrevenge.com Thu Dec 16 01:04:17 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 15 Dec 2010 22:04:17 -0800 Subject: savingStandalone Problem In-Reply-To: <4D09A733.7020309@hyperactivesw.com> References: <304AAE54-BD37-47AD-ACD0-6FCF65702393@mollysrevenge.com> <4D06B356.6030209@hyperactivesw.com> <4D06D690.60707@hyperactivesw.com> <0C9733D6-4AEF-418B-8202-C91D6E08D689@mollysrevenge.com> <4D07FB9E.5060500@hyperactivesw.com> <413EF4E6-88D6-4B17-80D3-DA12F68508B9@mollysrevenge.com> <4D098E35.8090506@hyperactivesw.com> <7F97059D-4D9D-4D14-BD59-21AFE7E4AB66@mollysrevenge.com> <4D09A733.7020309@hyperactivesw.com> Message-ID: No problem Jacquie, I'm always grateful for your assistance. Pete Haworth On Dec 15, 2010, at 9:44 PM, J. Landman Gay wrote: > On 12/15/10 11:17 PM, Peter Haworth wrote: >> I guess I have to wonder why that message is provided if it's not >> safe >> to do certain things, or at least what should be avoided. I'll figure >> something else out. > > My mistake, I didn't realize it was documented. So it's probably > okay to use, but I'm not familiar enough with it to give much > advice. Sorry for misleading you. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at mollysrevenge.com Thu Dec 16 01:35:20 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 15 Dec 2010 22:35:20 -0800 Subject: Card Vertical Scrollbars Message-ID: <9AE6F8CC-482B-4E73-AF96-738945CE44CC@mollysrevenge.com> Is it possible to have a vertical scrollbar on a card? I mean without having to write all the code to handle it? Pete Haworth From williamdesmet at gmail.com Thu Dec 16 01:40:44 2010 From: williamdesmet at gmail.com (William de Smet) Date: Thu, 16 Dec 2010 07:40:44 +0100 Subject: Card Vertical Scrollbars In-Reply-To: <9AE6F8CC-482B-4E73-AF96-738945CE44CC@mollysrevenge.com> References: <9AE6F8CC-482B-4E73-AF96-738945CE44CC@mollysrevenge.com> Message-ID: <2DFD904A-A90F-4A03-B187-5C2FD6C3772A@gmail.com> Yes, make a group and set the vertical scrollbar to true. Greetings! ----- Verstuurd vanaf mijn iPhone! Op 16 dec. 2010 om 07:35 heeft Peter Haworth het volgende geschreven: > Is it possible to have a vertical scrollbar on a card? I mean without having to write all the code to handle it? > > Pete Haworth > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From psahores at free.fr Thu Dec 16 02:32:05 2010 From: psahores at free.fr (Pierre Sahores) Date: Thu, 16 Dec 2010 08:32:05 +0100 Subject: [OT] Some Recognition In-Reply-To: <4D0937E4.7030304@fourthworld.com> References: <4D0937E4.7030304@fourthworld.com> Message-ID: <91147EB8-A7CC-47F1-A8F5-A854DAC6A915@free.fr> "Le succ?s n'est toujours que la partie visible du talent." Congratulations, Scott ! > Scott Rossi wrote: > >> My iOS game PLEXXR recently won best art category in IndiePub Mobile Games >> Competition. Nice to get some recognition for one's efforts. :-) >> >> >> >> (not build in LiveCode) -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From ruslan_zasukhin at valentina-db.com Thu Dec 16 02:33:15 2010 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Thu, 16 Dec 2010 09:33:15 +0200 Subject: Valentina db under Linux ??? In-Reply-To: <1292470017.2250.226.camel@mint-i7> Message-ID: On 12/16/10 5:26 AM, "Warren Samples" wrote: > Hello! > > Does anyone have the ADK embedded version of Valentina installed and > working in Linux? I have had no luck getting this to work. The new > version 4.8 gives me some strange messages installing and then crashes > Livecode when attempting to initialize. The previous version always > returns a script error regarding the function "Valentina_Init". > > I'm running Linux Mint, which is compatible with Ubuntu. > > Any help would be appreciated! Good morning Warren, I see that Ivan have made one more fix in install scripts. Regarding to hard links. We will upload newer archive of V4REV Linux 32 bit In the nearest couple of hours. I will notify on Valentina list. Do not worry, Ivan will help you get it working. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From anthonyhowe at mac.com Thu Dec 16 02:40:39 2010 From: anthonyhowe at mac.com (Anthony Howe) Date: Thu, 16 Dec 2010 18:40:39 +1100 Subject: [OT] Some Recognition In-Reply-To: <91147EB8-A7CC-47F1-A8F5-A854DAC6A915@free.fr> References: <4D0937E4.7030304@fourthworld.com> <91147EB8-A7CC-47F1-A8F5-A854DAC6A915@free.fr> Message-ID: While we're throwing in some 'scottLove'... ....I recently enlisted the help of Scott to get started on a project here. He's awesome, a patient teacher, and has an admirable hunger for mastering the Australian accent - which I'm sure he will, with equal or greater excellence. Congrats on the game mate.... now what were those cheat codes again? ;) cheers, A. On 16/12/2010, at 6:32 PM, Pierre Sahores wrote: "Le succ?s n'est toujours que la partie visible du talent." Congratulations, Scott ! > Scott Rossi wrote: > >> My iOS game PLEXXR recently won best art category in IndiePub Mobile Games >> Competition. Nice to get some recognition for one's efforts. :-) >> >> >> >> (not build in LiveCode) -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Thu Dec 16 03:02:39 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 16 Dec 2010 00:02:39 -0800 Subject: [OT] Some Recognition In-Reply-To: References: <4D0937E4.7030304@fourthworld.com> <91147EB8-A7CC-47F1-A8F5-A854DAC6A915@free.fr> Message-ID: We talked about this, yes? Touch six fingers on the alien main menu screen and you can temporarily unlock all stages... :-) Scott Rossi Creative Director Tactile Media, UX Design On Dec 15, 2010, at 11:40 PM, Anthony Howe wrote: > Congrats on the game mate.... now what were those cheat codes again? ;) > From chipp at chipp.com Thu Dec 16 05:13:58 2010 From: chipp at chipp.com (Chipp Walters) Date: Thu, 16 Dec 2010 04:13:58 -0600 Subject: [OT] Some Recognition In-Reply-To: References: Message-ID: Great Scott, that's wonderful news! It REALLY is a fun game and most deserving. Congrats! On Wednesday, December 15, 2010, Scott Rossi wrote: > My iOS game PLEXXR recently won best art category in IndiePub Mobile Games > Competition. ?Nice to get some recognition for one's efforts. ?:-) > > > > (not build in LiveCode) > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Thu Dec 16 05:26:19 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 16 Dec 2010 12:26:19 +0200 Subject: Concatenating 2 stacks. In-Reply-To: <982D80B8-8460-4E5F-8850-D1A2B20CF39C@mac.com> References: <4D03E775.7050301@gmail.com> <4D03F1BE.5090807@hyperactivesw.com> <4D03F5F8.3070904@gmail.com> <982D80B8-8460-4E5F-8850-D1A2B20CF39C@mac.com> Message-ID: <4D09E94B.7010903@gmail.com> On 12/16/2010 01:04 AM, Bj?rnke von Gierke wrote: > reading trough the backlog, sorry for late response. > > try to add the second stack as substack, and use 'go' as follows (this is of course a visual workaround, for not to need to mass-copy stuff): > > go stack "second stack" in window (the short name of this stack) > > Thanks Bj?rnke; the only problem with that method is that it would probably cause complications in a standalone. > On 11 Dec 2010, at 23:06, Richmond wrote: > >> On 12/11/2010 11:48 PM, J. Landman Gay wrote: >>> On 12/11/10 3:04 PM, Richmond wrote: >>>> I have 2 main stacks that I want to combine into >>>> 1 stack, the 2 stacks following each other sequentially. >>>> >>>> But I don't know how to do this. >>> There's no automatic way. >> Grunts! >> >>> You have to copy the cards of stack 2 and paste them at the end of stack 1. If you have a lot of cards, you could write a script to do it. If the two stacks use different stack scripts, you'll need to manually edit the one in stack 1 and add any handlers that were only in stack 2. >> Thanks for the help. >> >>> Alternately, you could set stack 2 to be a substack of stack 1. That's easy. Just change stack 2's "mainstack" in its property inspector. >>> From m.schonewille at economy-x-talk.com Thu Dec 16 05:47:24 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 16 Dec 2010 11:47:24 +0100 Subject: Concatenating 2 stacks. In-Reply-To: <4D09E94B.7010903@gmail.com> References: <4D03E775.7050301@gmail.com> <4D03F1BE.5090807@hyperactivesw.com> <4D03F5F8.3070904@gmail.com> <982D80B8-8460-4E5F-8850-D1A2B20CF39C@mac.com> <4D09E94B.7010903@gmail.com> Message-ID: <6DCFEEB2-D05E-492C-A7CE-E94F33A74246@economy-x-talk.com> Hi Richmond, Make a new stack with your two stacks as subsacks. Make sure that the windows are equally sized. Use a script in the mainstack to open the first substack first. Use the following script to go to the next card: on goNextCard if number of this cd is number of last cd then go stack "The Other Stack" in window "Name of This Stack" else go next end if end goNextCard You can do the opposite for going backwards, checking for the first card of "The Other Stack". -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 16 dec 2010, at 11:26, Richmond wrote: > > Thanks Bj?rnke; the only problem with that method is that it would probably cause > complications in a standalone. > From richmondmathewson at gmail.com Thu Dec 16 05:56:33 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 16 Dec 2010 12:56:33 +0200 Subject: Concatenating 2 stacks. In-Reply-To: <6DCFEEB2-D05E-492C-A7CE-E94F33A74246@economy-x-talk.com> References: <4D03E775.7050301@gmail.com> <4D03F1BE.5090807@hyperactivesw.com> <4D03F5F8.3070904@gmail.com> <982D80B8-8460-4E5F-8850-D1A2B20CF39C@mac.com> <4D09E94B.7010903@gmail.com> <6DCFEEB2-D05E-492C-A7CE-E94F33A74246@economy-x-talk.com> Message-ID: <4D09F061.7030606@gmail.com> On 12/16/2010 12:47 PM, Mark Schonewille wrote: > Hi Richmond, > > Make a new stack with your two stacks as subsacks. Make sure that the windows are equally sized. Use a script in the mainstack to open the first substack first. Use the following script to go to the next card: > > on goNextCard > if number of this cd is number of last cd then > go stack "The Other Stack" in window "Name of This Stack" > else > go next > end if > end goNextCard > > You can do the opposite for going backwards, checking for the first card of "The Other Stack". > > -- > Best regards, > > Mark Schonewille > > Really wonderful; Thanks! > On 16 dec 2010, at 11:26, Richmond wrote: >> Thanks Bj?rnke; the only problem with that method is that it would probably cause >> complications in a standalone. >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at clarkeandclarke.co.uk Thu Dec 16 07:09:24 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 16 Dec 2010 12:09:24 +0000 Subject: RevServer on OSX (Snow Leopard Server) In-Reply-To: <3972C010-C0ED-4272-8AA2-DE64F520910F@clarkeandclarke.co.uk> References: <46C045D1-C782-4620-8144-4F439C37BEFE@clarkeandclarke.co.uk> <3972C010-C0ED-4272-8AA2-DE64F520910F@clarkeandclarke.co.uk> Message-ID: Thanks to Mike, Devin and Andre for help to date with my revServer setup challenges. Current state of play is... I have a test.irev page in /Library/WebServer/Documents/ and the same test.irev file and an index.html with an embedded rev script in a Custom Site, which has its web root set to /Library/WebServer/Documents/Test/ I'm getting no rev content in my test Site's index.html file and both instances of test.irev file return the 500 error 'premature end of script headers: revServer'. The revServer distribution folder's contents - including the revServer engine - are in /Library/WebServer/CGI-Executables/ The changes I've made from the original .etc/apache2/httpd.conf file are the following lines [comments in square brackets are not in the file!]: Line 272 AddHandler irev-script irev (this was added via the Server Admin application's Add Content Handler function) Line 273 Action irev-script /cgi-bin/revserver Lines 1082 - 1095: AllowOverride All Options MultiViews Order allow,deny Allow from all AddHandler irev-script .irev Action irev-script /cgi-bin/revserver/ ## Options ExecCGI Order allow,deny Allow from all Line 1192 ScriptAlias /cgi-bin/ /Library/WebServer/CGI-Executables/ [not added by me but provided as context for those below] Line 1193 ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Library/WebServer/CGI-Executables/$1" [I'm not sure what this does or if it's still needed, given line 1192] Line 1194 ScriptAlias /cgi-bin/revserver /Library/WebServer/CGI-Executables/revserver [from vhost lesson example but seems redundant, given line 1192] Here is a link to my current httd.conf file http://dl.dropbox.com/u/1909531/httpd.conf - just in case I have made other errors in mapping the generic CGI vhosts example in the revserver lesson - http://lessons.runrev.com/spaces/lessons/buckets/814/lessons/16631-Getting-Up-and-Running-with-revServer - to the OSX Server 10.6.5-specific apache config file. Best, Keith.. On 15 Dec 2010, at 20:57, Keith Clarke wrote: > Mike, Thanks for the response and the file - I'm off to have a play right now! > Keith.. > > On 15 Dec 2010, at 20:41, Mike Bonner wrote: > >> oh wait, the one I sent was the non-snow conf file. So either way, I can >> send you my leopard one. >> >> On Wed, Dec 15, 2010 at 1:41 PM, Mike Bonner wrote: >> >>> I did it that way but no longer have that computer. However, I did send a >>> complete working httpd.conf to.. someone on this list. My memory is so bad I >>> can't recall who. (sent privately, but wouldn't mind if they forward it on >>> to you) On the other size, I have an httpd.conf working dandy on straight >>> leopard that I'd be willing to send. Should work for either system, leop, >>> or snow. >>> >>> Let me know if you want it. >>> >>> On Wed, Dec 15, 2010 at 12:58 PM, Keith Clarke < >>> keith.clarke at clarkeandclarke.co.uk> wrote: >>> >>>> Hi Folks, >>>> I'm back on the revServer setup trail and I'm documenting as I go, with a >>>> view to publishing a how-to guide to help fill part of the revserver >>>> documentation gap. >>>> >>>> There are various threads on the archives where people have taken subtly >>>> different approaches and therefore created different solutions (and so some >>>> of the advice is conflicting). I wonder, has anyone achieved a set-up on >>>> 10.6.5 with a purely Server Admin + httpd.conf approach - that is, with no >>>> .htaccess files floating around? >>>> >>>> Would anyone with a working 10.6.5 set-up be prepared to share with me >>>> (maybe off-line) their successful httpd.conf and .htaccess snippets? That >>>> way I might be able to finish my set-up and share a draft guide. >>>> Best, >>>> Keith.. >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From andre at andregarzia.com Thu Dec 16 07:13:10 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 16 Dec 2010 10:13:10 -0200 Subject: OT: Real competition for revlets In-Reply-To: <866DE25D-23C3-4DF4-AA02-81C394F10267@verizon.net> References: <3A671BBF-C9E3-4889-ACAF-B90424058539@verizon.net> <158-1964439281.20101215185025@ahsoftware.net> <866DE25D-23C3-4DF4-AA02-81C394F10267@verizon.net> Message-ID: Folks, This thing by REAL Software begs one questions: "How it handles concurrent requests". FastCGI can multiplex requests, so there is a real chance your software will be answering to more than one guy at the same time. How does it handle that? I used to be a REAL Basic developer long time ago. I remember having something akin to an external to have access to threading functionality. I believe these days they have something like this built in. So how does it works for them? Does it maintain application state for each of the clients in memory or does it simply converts everything to HTML/JS/CSS and allows all the state to be managed on the client side? Many many many years ago, I demoed at a conference a little LiveCode FastCGI implementation. I haven't developed it further because of our single thread problem. No matter how fast your non-blocking code is, on the web you will sooner or later face concurrency and with a single thread and no way to recover in case it somehow blocks, it is quite hard to build servers such as this one REAL software did. I see many enhancement requests here for all kinds of little iOS or Desktop stuff, mostly related to GUI or controls... what I need is the ability to fork(), all I want is to receive little connections and delegate them to different threads or process, so that it is in isolation and safe and the server stays responsive. This also benefits Desktop and iOS but then, I know how hard it is to build such feature and I know it is not coming to life anytime soon... From andre at andregarzia.com Thu Dec 16 07:21:50 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 16 Dec 2010 10:21:50 -0200 Subject: RevServer on OSX (Snow Leopard Server) In-Reply-To: References: <46C045D1-C782-4620-8144-4F439C37BEFE@clarkeandclarke.co.uk> <3972C010-C0ED-4272-8AA2-DE64F520910F@clarkeandclarke.co.uk> Message-ID: Keith, I have this on /etc/apache2/users/soapdog.conf AddHandler cgi-script .cgi AddHandler irev-script .irev Action irev-script /cgi-bin/revserver Options Indexes MultiViews ExecCGI FollowSymLinks AllowOverride All Order allow,deny Allow from all This allows me to execute revserver on my users Sites folder such as http://localhost/~soapdog/test.irev I have this on /Library/WebServer/Documents/.htaccess Options ExecCGI AddHandler irev-script .irev Action irev-script /cgi-bin/revserver I have nothing on Apache httpd.conf and on the .htaccess of CGI-Executables I just have ExecCGI. That is all, things run fine here. I think you are missing ExecCGI on your /Library/WebSever/Documents options. From andre at andregarzia.com Thu Dec 16 07:24:32 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 16 Dec 2010 10:24:32 -0200 Subject: RevServer on OSX (Snow Leopard Server) In-Reply-To: References: <46C045D1-C782-4620-8144-4F439C37BEFE@clarkeandclarke.co.uk> <3972C010-C0ED-4272-8AA2-DE64F520910F@clarkeandclarke.co.uk> Message-ID: Oh and one addendum (thats latin for missed one thing): In this piece here from your configuration file: AllowOverride All Options MultiViews Order allow,deny Allow from all AddHandler irev-script .irev Action irev-script /cgi-bin/revserver/ You need to change to this: AllowOverride All Options MultiViews ExecCGI Order allow,deny Allow from all AddHandler irev-script .irev Action irev-script /cgi-bin/revserver/revserver You need ExecCGI and you need to provide the engine to the Action handler not the folder the engine is in. On Thu, Dec 16, 2010 at 10:21 AM, Andre Garzia wrote: > Keith, > > I have this on /etc/apache2/users/soapdog.conf > > > AddHandler cgi-script .cgi > AddHandler irev-script .irev > Action irev-script /cgi-bin/revserver > Options Indexes MultiViews ExecCGI FollowSymLinks > AllowOverride All > Order allow,deny > Allow from all > > > This allows me to execute revserver on my users Sites folder such as > http://localhost/~soapdog/test.irev > > I have this on /Library/WebServer/Documents/.htaccess > > Options ExecCGI > AddHandler irev-script .irev > Action irev-script /cgi-bin/revserver > > > I have nothing on Apache httpd.conf and on the .htaccess of CGI-Executables > I just have ExecCGI. That is all, things run fine here. I think you are > missing ExecCGI on your /Library/WebSever/Documents options. > -- http://www.andregarzia.com All We Do Is Code. From keith.clarke at clarkeandclarke.co.uk Thu Dec 16 07:57:57 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 16 Dec 2010 12:57:57 +0000 Subject: RevServer on OSX (Snow Leopard Server) In-Reply-To: References: <46C045D1-C782-4620-8144-4F439C37BEFE@clarkeandclarke.co.uk> <3972C010-C0ED-4272-8AA2-DE64F520910F@clarkeandclarke.co.uk> Message-ID: <3995E7A6-3D36-4615-9FFC-4E161840D7A7@clarkeandclarke.co.uk> ...thanks, Andre. I've added the ExecCGI option to the /Library/WebServer/Documents/ directory directive and removed the trailing '/' on the irev script action directive, as my revServer engine is a file within in the (symlinked) /cgi-bin/ folder. Not working yet but hopefully two fewer typos to worry about! On 16 Dec 2010, at 12:24, Andre Garzia wrote: > Oh and one addendum (thats latin for missed one thing): > > In this piece here from your configuration file: > > > AllowOverride All > Options MultiViews > Order allow,deny > Allow from all > AddHandler irev-script .irev > Action irev-script /cgi-bin/revserver/ > > > You need to change to this: > > > AllowOverride All > Options MultiViews ExecCGI > Order allow,deny > Allow from all > AddHandler irev-script .irev > Action irev-script /cgi-bin/revserver/revserver > > > You need ExecCGI and you need to provide the engine to the Action handler > not the folder the engine is in. > > > On Thu, Dec 16, 2010 at 10:21 AM, Andre Garzia wrote: > >> Keith, >> >> I have this on /etc/apache2/users/soapdog.conf >> >> >> AddHandler cgi-script .cgi >> AddHandler irev-script .irev >> Action irev-script /cgi-bin/revserver >> Options Indexes MultiViews ExecCGI FollowSymLinks >> AllowOverride All >> Order allow,deny >> Allow from all >> >> >> This allows me to execute revserver on my users Sites folder such as >> http://localhost/~soapdog/test.irev >> >> I have this on /Library/WebServer/Documents/.htaccess >> >> Options ExecCGI >> AddHandler irev-script .irev >> Action irev-script /cgi-bin/revserver >> >> >> I have nothing on Apache httpd.conf and on the .htaccess of CGI-Executables >> I just have ExecCGI. That is all, things run fine here. I think you are >> missing ExecCGI on your /Library/WebSever/Documents options. >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at clarkeandclarke.co.uk Thu Dec 16 08:05:30 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 16 Dec 2010 13:05:30 +0000 Subject: RevServer on OSX (Snow Leopard Server) In-Reply-To: References: <46C045D1-C782-4620-8144-4F439C37BEFE@clarkeandclarke.co.uk> <3972C010-C0ED-4272-8AA2-DE64F520910F@clarkeandclarke.co.uk> Message-ID: Thanks Andre. I'm not worried about users' personal sites running on this server as localhost - I'm using Custom Sites, accessible from the internet and managed by Groups. So, my machine's /etc/apache2/users/ folder is empty but httpd.conf set-up is key to supporting all Custom Sites and OSX Wiki Server group wikis (if I understand things correctly). BTW Did you create soapdog.conf from scratch or did your version of Snow Leopard Server have a .conf file in this folder already? On 16 Dec 2010, at 12:21, Andre Garzia wrote: > Keith, > > I have this on /etc/apache2/users/soapdog.conf > > > AddHandler cgi-script .cgi > AddHandler irev-script .irev > Action irev-script /cgi-bin/revserver > Options Indexes MultiViews ExecCGI FollowSymLinks > AllowOverride All > Order allow,deny > Allow from all > > > This allows me to execute revserver on my users Sites folder such as > http://localhost/~soapdog/test.irev > > I have this on /Library/WebServer/Documents/.htaccess > > Options ExecCGI > AddHandler irev-script .irev > Action irev-script /cgi-bin/revserver > > > I have nothing on Apache httpd.conf and on the .htaccess of CGI-Executables > I just have ExecCGI. That is all, things run fine here. I think you are > missing ExecCGI on your /Library/WebSever/Documents options. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Thu Dec 16 08:11:30 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 16 Dec 2010 11:11:30 -0200 Subject: RevServer on OSX (Snow Leopard Server) In-Reply-To: <3995E7A6-3D36-4615-9FFC-4E161840D7A7@clarkeandclarke.co.uk> References: <46C045D1-C782-4620-8144-4F439C37BEFE@clarkeandclarke.co.uk> <3972C010-C0ED-4272-8AA2-DE64F520910F@clarkeandclarke.co.uk> <3995E7A6-3D36-4615-9FFC-4E161840D7A7@clarkeandclarke.co.uk> Message-ID: Keith, Symlink? Are you sure your CGI-BIN folder is a symlink and not an alias? Check your Apache Error logs for suEXEC violations, you may be facing Apache suEXEC violations... As for your other email, this is plain vanilla snow leopard. I think it creates a conf file for each user in the machine automatically, can't remember if I created that or not. On Thu, Dec 16, 2010 at 10:57 AM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > ...thanks, Andre. I've added the ExecCGI option to the > /Library/WebServer/Documents/ directory directive and removed the trailing > '/' on the irev script action directive, as my revServer engine is a file > within in the (symlinked) /cgi-bin/ folder. Not working yet but hopefully > two fewer typos to worry about! > > On 16 Dec 2010, at 12:24, Andre Garzia wrote: > > > Oh and one addendum (thats latin for missed one thing): > > > > In this piece here from your configuration file: > > > > > > AllowOverride All > > Options MultiViews > > Order allow,deny > > Allow from all > > AddHandler irev-script .irev > > Action irev-script /cgi-bin/revserver/ > > > > > > You need to change to this: > > > > > > AllowOverride All > > Options MultiViews ExecCGI > > Order allow,deny > > Allow from all > > AddHandler irev-script .irev > > Action irev-script /cgi-bin/revserver/revserver > > > > > > You need ExecCGI and you need to provide the engine to the Action handler > > not the folder the engine is in. > > > > > > On Thu, Dec 16, 2010 at 10:21 AM, Andre Garzia >wrote: > > > >> Keith, > >> > >> I have this on /etc/apache2/users/soapdog.conf > >> > >> > >> AddHandler cgi-script .cgi > >> AddHandler irev-script .irev > >> Action irev-script /cgi-bin/revserver > >> Options Indexes MultiViews ExecCGI FollowSymLinks > >> AllowOverride All > >> Order allow,deny > >> Allow from all > >> > >> > >> This allows me to execute revserver on my users Sites folder such as > >> http://localhost/~soapdog/test.irev > >> > >> I have this on /Library/WebServer/Documents/.htaccess > >> > >> Options ExecCGI > >> AddHandler irev-script .irev > >> Action irev-script /cgi-bin/revserver > >> > >> > >> I have nothing on Apache httpd.conf and on the .htaccess of > CGI-Executables > >> I just have ExecCGI. That is all, things run fine here. I think you are > >> missing ExecCGI on your /Library/WebSever/Documents options. > >> > > > > > > > > -- > > http://www.andregarzia.com All We Do Is Code. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From keith.clarke at clarkeandclarke.co.uk Thu Dec 16 08:25:25 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 16 Dec 2010 13:25:25 +0000 Subject: RevServer on OSX (Snow Leopard Server) In-Reply-To: References: <46C045D1-C782-4620-8144-4F439C37BEFE@clarkeandclarke.co.uk> <3972C010-C0ED-4272-8AA2-DE64F520910F@clarkeandclarke.co.uk> <3995E7A6-3D36-4615-9FFC-4E161840D7A7@clarkeandclarke.co.uk> Message-ID: ...sorry, you're correct, it's an alias - mea culpa, still learning the jargon as well as the syntax! Just to be clear, are you running a standard Snow Leopard machine as a server or the formal OSX Server product - I'm running the latter and the web services settings are very different to those on my standard Snow Leopard MBP? On 16 Dec 2010, at 13:11, Andre Garzia wrote: > Keith, > > Symlink? Are you sure your CGI-BIN folder is a symlink and not an alias? > > Check your Apache Error logs for suEXEC violations, you may be facing Apache > suEXEC violations... > > As for your other email, this is plain vanilla snow leopard. I think it > creates a conf file for each user in the machine automatically, can't > remember if I created that or not. > > On Thu, Dec 16, 2010 at 10:57 AM, Keith Clarke < > keith.clarke at clarkeandclarke.co.uk> wrote: > >> ...thanks, Andre. I've added the ExecCGI option to the >> /Library/WebServer/Documents/ directory directive and removed the trailing >> '/' on the irev script action directive, as my revServer engine is a file >> within in the (symlinked) /cgi-bin/ folder. Not working yet but hopefully >> two fewer typos to worry about! >> >> On 16 Dec 2010, at 12:24, Andre Garzia wrote: >> >>> Oh and one addendum (thats latin for missed one thing): >>> >>> In this piece here from your configuration file: >>> >>> >>> AllowOverride All >>> Options MultiViews >>> Order allow,deny >>> Allow from all >>> AddHandler irev-script .irev >>> Action irev-script /cgi-bin/revserver/ >>> >>> >>> You need to change to this: >>> >>> >>> AllowOverride All >>> Options MultiViews ExecCGI >>> Order allow,deny >>> Allow from all >>> AddHandler irev-script .irev >>> Action irev-script /cgi-bin/revserver/revserver >>> >>> >>> You need ExecCGI and you need to provide the engine to the Action handler >>> not the folder the engine is in. >>> >>> >>> On Thu, Dec 16, 2010 at 10:21 AM, Andre Garzia >> wrote: >>> >>>> Keith, >>>> >>>> I have this on /etc/apache2/users/soapdog.conf >>>> >>>> >>>> AddHandler cgi-script .cgi >>>> AddHandler irev-script .irev >>>> Action irev-script /cgi-bin/revserver >>>> Options Indexes MultiViews ExecCGI FollowSymLinks >>>> AllowOverride All >>>> Order allow,deny >>>> Allow from all >>>> >>>> >>>> This allows me to execute revserver on my users Sites folder such as >>>> http://localhost/~soapdog/test.irev >>>> >>>> I have this on /Library/WebServer/Documents/.htaccess >>>> >>>> Options ExecCGI >>>> AddHandler irev-script .irev >>>> Action irev-script /cgi-bin/revserver >>>> >>>> >>>> I have nothing on Apache httpd.conf and on the .htaccess of >> CGI-Executables >>>> I just have ExecCGI. That is all, things run fine here. I think you are >>>> missing ExecCGI on your /Library/WebSever/Documents options. >>>> >>> >>> >>> >>> -- >>> http://www.andregarzia.com All We Do Is Code. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Thu Dec 16 09:00:20 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 16 Dec 2010 12:00:20 -0200 Subject: RevServer on OSX (Snow Leopard Server) In-Reply-To: References: <46C045D1-C782-4620-8144-4F439C37BEFE@clarkeandclarke.co.uk> <3972C010-C0ED-4272-8AA2-DE64F520910F@clarkeandclarke.co.uk> <3995E7A6-3D36-4615-9FFC-4E161840D7A7@clarkeandclarke.co.uk> Message-ID: I have no clue about Snow Leopard Server, never used it or Mac OS X server. This is my macbook pro, my main development machine. It comes with Apache, so I've put RevServer on it. On Thu, Dec 16, 2010 at 11:25 AM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > ...sorry, you're correct, it's an alias - mea culpa, still learning the > jargon as well as the syntax! > > Just to be clear, are you running a standard Snow Leopard machine as a > server or the formal OSX Server product - I'm running the latter and the web > services settings are very different to those on my standard Snow Leopard > MBP? > > On 16 Dec 2010, at 13:11, Andre Garzia wrote: > > > Keith, > > > > Symlink? Are you sure your CGI-BIN folder is a symlink and not an alias? > > > > Check your Apache Error logs for suEXEC violations, you may be facing > Apache > > suEXEC violations... > > > > As for your other email, this is plain vanilla snow leopard. I think it > > creates a conf file for each user in the machine automatically, can't > > remember if I created that or not. > > > > On Thu, Dec 16, 2010 at 10:57 AM, Keith Clarke < > > keith.clarke at clarkeandclarke.co.uk> wrote: > > > >> ...thanks, Andre. I've added the ExecCGI option to the > >> /Library/WebServer/Documents/ directory directive and removed the > trailing > >> '/' on the irev script action directive, as my revServer engine is a > file > >> within in the (symlinked) /cgi-bin/ folder. Not working yet but > hopefully > >> two fewer typos to worry about! > >> > >> On 16 Dec 2010, at 12:24, Andre Garzia wrote: > >> > >>> Oh and one addendum (thats latin for missed one thing): > >>> > >>> In this piece here from your configuration file: > >>> > >>> > >>> AllowOverride All > >>> Options MultiViews > >>> Order allow,deny > >>> Allow from all > >>> AddHandler irev-script .irev > >>> Action irev-script /cgi-bin/revserver/ > >>> > >>> > >>> You need to change to this: > >>> > >>> > >>> AllowOverride All > >>> Options MultiViews ExecCGI > >>> Order allow,deny > >>> Allow from all > >>> AddHandler irev-script .irev > >>> Action irev-script /cgi-bin/revserver/revserver > >>> > >>> > >>> You need ExecCGI and you need to provide the engine to the Action > handler > >>> not the folder the engine is in. > >>> > >>> > >>> On Thu, Dec 16, 2010 at 10:21 AM, Andre Garzia >>> wrote: > >>> > >>>> Keith, > >>>> > >>>> I have this on /etc/apache2/users/soapdog.conf > >>>> > >>>> > >>>> AddHandler cgi-script .cgi > >>>> AddHandler irev-script .irev > >>>> Action irev-script /cgi-bin/revserver > >>>> Options Indexes MultiViews ExecCGI FollowSymLinks > >>>> AllowOverride All > >>>> Order allow,deny > >>>> Allow from all > >>>> > >>>> > >>>> This allows me to execute revserver on my users Sites folder such as > >>>> http://localhost/~soapdog/test.irev > >>>> > >>>> I have this on /Library/WebServer/Documents/.htaccess > >>>> > >>>> Options ExecCGI > >>>> AddHandler irev-script .irev > >>>> Action irev-script /cgi-bin/revserver > >>>> > >>>> > >>>> I have nothing on Apache httpd.conf and on the .htaccess of > >> CGI-Executables > >>>> I just have ExecCGI. That is all, things run fine here. I think you > are > >>>> missing ExecCGI on your /Library/WebSever/Documents options. > >>>> > >>> > >>> > >>> > >>> -- > >>> http://www.andregarzia.com All We Do Is Code. > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > > > -- > > http://www.andregarzia.com All We Do Is Code. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From warren at warrensweb.us Thu Dec 16 09:03:59 2010 From: warren at warrensweb.us (Warren Samples) Date: Thu, 16 Dec 2010 08:03:59 -0600 Subject: Valentina db under Linux ??? In-Reply-To: References: Message-ID: <1292508239.2250.241.camel@mint-i7> On Thu, 2010-12-16 at 09:33 +0200, Ruslan Zasukhin wrote: > On 12/16/10 5:26 AM, "Warren Samples" wrote: > > > Hello! > > > > Does anyone have the ADK embedded version of Valentina installed and > > working in Linux? I have had no luck getting this to work. The new > > version 4.8 gives me some strange messages installing and then crashes > > Livecode when attempting to initialize. The previous version always > > returns a script error regarding the function "Valentina_Init". > > > > I'm running Linux Mint, which is compatible with Ubuntu. > > > > Any help would be appreciated! > > Good morning Warren, > > I see that Ivan have made one more fix in install scripts. > Regarding to hard links. > > We will upload newer archive of V4REV Linux 32 bit > In the nearest couple of hours. I will notify on Valentina list. > > Do not worry, Ivan will help you get it working. > > Ok! New archive is working :) Thanks, Ruslan! From keith.clarke at clarkeandclarke.co.uk Thu Dec 16 09:22:04 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 16 Dec 2010 14:22:04 +0000 Subject: RevServer on OSX (Snow Leopard Server) In-Reply-To: References: <46C045D1-C782-4620-8144-4F439C37BEFE@clarkeandclarke.co.uk> <3972C010-C0ED-4272-8AA2-DE64F520910F@clarkeandclarke.co.uk> <3995E7A6-3D36-4615-9FFC-4E161840D7A7@clarkeandclarke.co.uk> Message-ID: ...ah, OK - that explains a lot! I think I'd better continue trying to replicate Devin's working Snow Leopard Server config on my version, rather than interpret what you have. Well, that or re-install standard Snow Leopard and copy your config! ;-) On 16 Dec 2010, at 14:00, Andre Garzia wrote: > I have no clue about Snow Leopard Server, never used it or Mac OS X server. > This is my macbook pro, my main development machine. It comes with Apache, > so I've put RevServer on it. > > On Thu, Dec 16, 2010 at 11:25 AM, Keith Clarke < > keith.clarke at clarkeandclarke.co.uk> wrote: > >> ...sorry, you're correct, it's an alias - mea culpa, still learning the >> jargon as well as the syntax! >> >> Just to be clear, are you running a standard Snow Leopard machine as a >> server or the formal OSX Server product - I'm running the latter and the web >> services settings are very different to those on my standard Snow Leopard >> MBP? >> >> On 16 Dec 2010, at 13:11, Andre Garzia wrote: >> >>> Keith, >>> >>> Symlink? Are you sure your CGI-BIN folder is a symlink and not an alias? >>> >>> Check your Apache Error logs for suEXEC violations, you may be facing >> Apache >>> suEXEC violations... >>> >>> As for your other email, this is plain vanilla snow leopard. I think it >>> creates a conf file for each user in the machine automatically, can't >>> remember if I created that or not. >>> >>> On Thu, Dec 16, 2010 at 10:57 AM, Keith Clarke < >>> keith.clarke at clarkeandclarke.co.uk> wrote: >>> >>>> ...thanks, Andre. I've added the ExecCGI option to the >>>> /Library/WebServer/Documents/ directory directive and removed the >> trailing >>>> '/' on the irev script action directive, as my revServer engine is a >> file >>>> within in the (symlinked) /cgi-bin/ folder. Not working yet but >> hopefully >>>> two fewer typos to worry about! >>>> >>>> On 16 Dec 2010, at 12:24, Andre Garzia wrote: >>>> >>>>> Oh and one addendum (thats latin for missed one thing): >>>>> >>>>> In this piece here from your configuration file: >>>>> >>>>> >>>>> AllowOverride All >>>>> Options MultiViews >>>>> Order allow,deny >>>>> Allow from all >>>>> AddHandler irev-script .irev >>>>> Action irev-script /cgi-bin/revserver/ >>>>> >>>>> >>>>> You need to change to this: >>>>> >>>>> >>>>> AllowOverride All >>>>> Options MultiViews ExecCGI >>>>> Order allow,deny >>>>> Allow from all >>>>> AddHandler irev-script .irev >>>>> Action irev-script /cgi-bin/revserver/revserver >>>>> >>>>> >>>>> You need ExecCGI and you need to provide the engine to the Action >> handler >>>>> not the folder the engine is in. >>>>> >>>>> >>>>> On Thu, Dec 16, 2010 at 10:21 AM, Andre Garzia >>>> wrote: >>>>> >>>>>> Keith, >>>>>> >>>>>> I have this on /etc/apache2/users/soapdog.conf >>>>>> >>>>>> >>>>>> AddHandler cgi-script .cgi >>>>>> AddHandler irev-script .irev >>>>>> Action irev-script /cgi-bin/revserver >>>>>> Options Indexes MultiViews ExecCGI FollowSymLinks >>>>>> AllowOverride All >>>>>> Order allow,deny >>>>>> Allow from all >>>>>> >>>>>> >>>>>> This allows me to execute revserver on my users Sites folder such as >>>>>> http://localhost/~soapdog/test.irev >>>>>> >>>>>> I have this on /Library/WebServer/Documents/.htaccess >>>>>> >>>>>> Options ExecCGI >>>>>> AddHandler irev-script .irev >>>>>> Action irev-script /cgi-bin/revserver >>>>>> >>>>>> >>>>>> I have nothing on Apache httpd.conf and on the .htaccess of >>>> CGI-Executables >>>>>> I just have ExecCGI. That is all, things run fine here. I think you >> are >>>>>> missing ExecCGI on your /Library/WebSever/Documents options. >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> http://www.andregarzia.com All We Do Is Code. >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> >>> -- >>> http://www.andregarzia.com All We Do Is Code. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Dec 16 09:41:43 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 16 Dec 2010 06:41:43 -0800 Subject: OT: Real competition for revlets Message-ID: <4D0A2527.1060306@fourthworld.com> Andre Garzia wrote: > This thing by REAL Software begs one questions: "How it handles concurrent > requests". FastCGI can multiplex requests, so there is a real chance your > software will be answering to more than one guy at the same time. How does > it handle that? My understanding is that RB supports threads, so while comments in their forum suggest it's not trivial to use them well at least they're available and with FastCGI that helps a lot, for all the reasons you've noted here earlier. > So how does it works for them? Does it maintain application state for each > of the clients in memory or does it simply converts everything to > HTML/JS/CSS and allows all the state to be managed on the client side? In my initial reading of their outline it seems a reasonably good mix of server and client-side processing. Since we already have RevServer and have been enjoying Rev CGI for years, the biggest advantage RB/Web offers is in delivering native JavaScript/CSS/HTML on the browser. In many respects that isn't all that different from what Toolbook did more than a decade ago, as I noted here in 2006: IMO such an initiative would be advantageous for RunRev, much more so than wrassling with a plugin. If anyone would have asked me before they got started I would have been glad to share what I learned from Allegiant's experiments with their SuperCard plugin, Roadster; there are many good reasons it was allowed to die. The plugin API seems seductively simple at first, but when you're looking to provide capabilities as broad as LC or SC it starts to get murky and weird pretty quickly, and costs multiply in a hundred unexpected ways. One of the great things about JavaScript/CSS/HTML is that it's all text, and LC is unusually adept at parsing and concatenating text gracefully and efficiently. So not only do you get a browser-native solution that runs on every web-capable device, you can make it at home in your spare time without needing to monkey around with complex APIs or binary data structures - it's all just text. As I suggested all those years ago, it wouldn't be all that hard for the LC community to take this up as a FOSS project. The challenge with that is that FOSS is often a rich man's game, requiring the contributor to have enough retained earnings from paid work to be able to devote sufficient time to giving code away for free while still keeping a roof over their head. I've started down the road of making a Rev-to-JS/CSS/HTML converter, and while I've deployed specialized variants of that for specific client projects (thanks for you help on getting one of those started, Andre!) it's a heckuva lotta work to make a generalized solution, and my clients are keeping me too busy to pursue it much further for the next few months. But the idea's out there, free for the taking if anyone has the time to devote to seeing it through. Toolbook showed us one way to do this in xTalk, and a lot of fairly big organizations shipped a lot of great courseware and other web apps with it. Making a LC-based system for this wouldn't be trivial, but more tedious than difficult, requiring more time than brains. :) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From ambassador at fourthworld.com Thu Dec 16 09:45:12 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 16 Dec 2010 06:45:12 -0800 Subject: 4wLCListSearch.rev Message-ID: <4D0A25F8.50603@fourthworld.com> Richmond wrote: > Being a shameless "dumpster diver" I have mucked around with > the 4W_RevListSearch.rev stack. The mucked-about version is > available at: > > http://andregarzia.on-rev.com/richmond/LClook.zip > > if anybody feels "funny" about that they should contact me (off-list) > and I will remove it immediately. However I understand that FourthWorld > put it in the public domain a long time ago. Indeed I did, and it's great to see it was useful enough to warrant your giving it a new live with your update. Thanks for putting that together. I'll see if I can get some time to add an enhancement or two I've been sketching out and post it to RevNet (with full credit for your contribution of course; much appreciated). -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From kevin at runrev.com Thu Dec 16 10:19:41 2010 From: kevin at runrev.com (Kevin Miller) Date: Thu, 16 Dec 2010 15:19:41 +0000 Subject: Personal Edition Standalone splash screen delay In-Reply-To: <6FA46A1B-A5F8-49B7-A204-AEB38BDC76AB@mollysrevenge.com> Message-ID: On 15/12/2010 18:03, "Peter Haworth" wrote: > There was a discussion here about the 10 second countdown when a > standalone built with LC Personal is run and I believe you said you > were leaning towards cutting it to 5 seconds. ANy update on that? > It's still at 10 seconds although I haven't tried 4.5.2 yet. We will be amending this to 5 seconds for 4.5.3. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ LiveCode - Realize fast, compile-free coding From devin_asay at byu.edu Thu Dec 16 11:17:52 2010 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 16 Dec 2010 09:17:52 -0700 Subject: RevServer on OSX (Snow Leopard Server) In-Reply-To: References: <46C045D1-C782-4620-8144-4F439C37BEFE@clarkeandclarke.co.uk> <3972C010-C0ED-4272-8AA2-DE64F520910F@clarkeandclarke.co.uk> <3995E7A6-3D36-4615-9FFC-4E161840D7A7@clarkeandclarke.co.uk> Message-ID: Keith, I forgot to mention... In Server Admin I also tick "CGI Execution" under Web > Sites > Options for each site where I want to use irev scripting. I don't know if this is required, but it seemed like it should be on if I'm using the revserver CGI. Related to this I have ticked "cgi_module" under Web > Settings > Modules. Finally, make sure your revserver executable has the 'execute' flag set in its file permissions. And any time you make a change to your httpd.conf you must restart apache before trying it out to force apache to read the new config options. Devin On Dec 16, 2010, at 7:22 AM, Keith Clarke wrote: > ...ah, OK - that explains a lot! I think I'd better continue trying to replicate Devin's working Snow Leopard Server config on my version, rather than interpret what you have. > > Well, that or re-install standard Snow Leopard and copy your config! ;-) Devin Asay Humanities Technology and Research Support Center Brigham Young University From rick-rice at shaw.ca Thu Dec 16 11:46:27 2010 From: rick-rice at shaw.ca (Rick Rice) Date: Thu, 16 Dec 2010 08:46:27 -0800 Subject: Inconsistent Revlet launch In-Reply-To: References: Message-ID: <6E4F5AE5-6B66-46CE-9D72-BD863F00E3DF@shaw.ca> Has anyone got any suggestions as to what I can do to deal with the following. I create a standalone revlet which may or may not run. The revlet might run as expected several times then fail to run and then if I launch it again it might run. If I launch a browser (Safari or Chrome) and then open the html file created along with the revlet I get either a black box the size of the app or the progress bar hung around the 5% point. It doesn't make any difference if I empty the browser cache or reset the browser. This happens on my Mac OS-X 10.4 and 10.5 on Safari 4 and 5 as well as Chrome 8. I'm using LiveCode 4.5.1 Thanks Rick From klaus at major.on-rev.com Thu Dec 16 11:57:17 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 16 Dec 2010 17:57:17 +0100 Subject: Inconsistent Revlet launch In-Reply-To: <6E4F5AE5-6B66-46CE-9D72-BD863F00E3DF@shaw.ca> References: <6E4F5AE5-6B66-46CE-9D72-BD863F00E3DF@shaw.ca> Message-ID: <6AAA1D94-751E-44EE-9750-47A511678C13@major.on-rev.com> Hi Rick, > > Has anyone got any suggestions as to what I can do to deal with the following. > I create a standalone revlet which may or may not run. The revlet might run as expected several times then fail to run and then if I launch it again it might run. If I launch a browser (Safari or Chrome) and then open the html file created along with the revlet I get either a black box the size of the app or the progress bar hung around the 5% point. It doesn't make any difference if I empty the browser cache or reset the browser. This happens on my Mac OS-X 10.4 and 10.5 on Safari 4 and 5 as well as Chrome 8. I'm using LiveCode 4.5.1 just to be sure, this is from the LC 4.5.2 release Notes: ... Note: As the currently available revWeb plug-in uses the 4.0 engine, you must be careful to only use features that are present in that version. ... > Thanks > Rick Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From pete at mollysrevenge.com Thu Dec 16 12:00:28 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 16 Dec 2010 09:00:28 -0800 Subject: Personal Edition Standalone splash screen delay In-Reply-To: References: Message-ID: Great, Thanks Kevin. Pete Haworth On Dec 16, 2010, at 7:19 AM, Kevin Miller wrote: > On 15/12/2010 18:03, "Peter Haworth" wrote: > >> There was a discussion here about the 10 second countdown when a >> standalone built with LC Personal is run and I believe you said you >> were leaning towards cutting it to 5 seconds. ANy update on that? >> It's still at 10 seconds although I haven't tried 4.5.2 yet. > > We will be amending this to 5 seconds for 4.5.3. > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > LiveCode - Realize fast, compile-free coding > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From keith.clarke at clarkeandclarke.co.uk Thu Dec 16 12:48:12 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 16 Dec 2010 17:48:12 +0000 Subject: RevServer on OSX (Snow Leopard Server) In-Reply-To: References: <46C045D1-C782-4620-8144-4F439C37BEFE@clarkeandclarke.co.uk> <3972C010-C0ED-4272-8AA2-DE64F520910F@clarkeandclarke.co.uk> <3995E7A6-3D36-4615-9FFC-4E161840D7A7@clarkeandclarke.co.uk> Message-ID: Thanks Devin - I sure could use a copy of your httpd.conf file to do a line-by-line comparison with Guiffy. I now realise that a lot of the conflicting configuration advice is down to the subtle difference between configuring: 1. OSX Snow Leopard Server (the Apple OSX Server product) - which is what I'm trying to do, (and what I'm hoping you have achieved) vs. 2. Configuring the web server capability in (the standard 'desktop') OSX Snow Leopard for local development purposes - which is what most advice in the archives is about. Unfortunately the approach to web service configuration and hierarchy of apache config files is completely different on these two platforms. Now I realise this, I'm now trying to apply (1) to my OSX Snow Leopard Server and (2) to my development Mac. Then, I'll document how these differ! Hopefully I'll get one working before my head explodes! Best, Keith.. On 16 Dec 2010, at 16:17, Devin Asay wrote: > Keith, > > I forgot to mention... In Server Admin I also tick "CGI Execution" under Web > Sites > Options for each site where I want to use irev scripting. I don't know if this is required, but it seemed like it should be on if I'm using the revserver CGI. Related to this I have ticked "cgi_module" under Web > Settings > Modules. > > Finally, make sure your revserver executable has the 'execute' flag set in its file permissions. > > And any time you make a change to your httpd.conf you must restart apache before trying it out to force apache to read the new config options. > > > Devin > > On Dec 16, 2010, at 7:22 AM, Keith Clarke wrote: > >> ...ah, OK - that explains a lot! I think I'd better continue trying to replicate Devin's working Snow Leopard Server config on my version, rather than interpret what you have. >> >> Well, that or re-install standard Snow Leopard and copy your config! ;-) > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Thu Dec 16 12:51:07 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 16 Dec 2010 11:51:07 -0600 Subject: Valentina db under Linux ??? In-Reply-To: References: <1292470017.2250.226.camel@mint-i7> Message-ID: Ruslan ! I've been meaning to ask you : Are you going to demonstrate Valentina at the next Revcon in April 2011? Perhaps a shoot-out among the other DBms? sqb > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > > Stephen Barncard San Francisco Ca. USA more about sqb From lfredricks at proactive-intl.com Thu Dec 16 13:19:15 2010 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 16 Dec 2010 10:19:15 -0800 Subject: Valentina 4.8 Released; No Risk Valentina Studio Pro Supports SQLite (for FREE) Message-ID: Hello all, The short form PR notes are here that may interest LiveCode users: - Valentina Studio Pro now supports SQLite - available for FREE use*, no risk - Valentina DB 4.8 is released, with oodles of across the board improvements and fixes (Valentina for LiveCode also "inherits" Kernel and Client improvements) - Valentina Studio Pro for Linux is available in preview - iValentina visual client tools for iPhone and iPad are awaiting App Store approval (very useful for YOUR clients!) - One click export from SQLite -> Valentina DB when you want it If you want the complete picture: Valentina 4.8 PR: http://bit.ly/gjQnIW Valentina 4.8 Tech Release Notes: http://www.valentina-db.com/en/support/latest-release-notes My Blog on the Why: http://bit.ly/dRvz9X * you have to put up with our watermark on reports if you use it for free 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 Thu Dec 16 13:21:01 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 16 Dec 2010 10:21:01 -0800 Subject: Valentina db under Linux ??? Message-ID: <4D0A588D.2050604@fourthworld.com> stephen barncard wrote: > Ruslan ! > > I've been meaning to ask you : > > Are you going to demonstrate Valentina at the next Revcon in April 2011? Lynn, get that man to the conference! He would enjoy California, and I'm sure we'd all enjoy his Valentina presentation. Ruslan, it would be nice if we could have the chance to meet you in person. Your uncommon knowledge of databases has been very helpful on this list. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From keith.clarke at clarkeandclarke.co.uk Thu Dec 16 17:20:22 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 16 Dec 2010 22:20:22 +0000 Subject: RevServer on OSX (Snow Leopard Server) In-Reply-To: References: <46C045D1-C782-4620-8144-4F439C37BEFE@clarkeandclarke.co.uk> <3972C010-C0ED-4272-8AA2-DE64F520910F@clarkeandclarke.co.uk> <3995E7A6-3D36-4615-9FFC-4E161840D7A7@clarkeandclarke.co.uk> Message-ID: Devin, Thanks for your response and the files you sent for comparison. I now have a revServer-enabled OSX Server! Now I understand the OSX Sever vs standard OSX differences, I intend to configure my development Mac to Andre's instructions and then document both approaches. I'm also researching how to open-up OSX Wiki Server config (custom white list) to enable rev code to be embedded into wiki page html. Best, Keith.. On 16 Dec 2010, at 16:17, Devin Asay wrote: > Keith, > > I forgot to mention... In Server Admin I also tick "CGI Execution" under Web > Sites > Options for each site where I want to use irev scripting. I don't know if this is required, but it seemed like it should be on if I'm using the revserver CGI. Related to this I have ticked "cgi_module" under Web > Settings > Modules. > > Finally, make sure your revserver executable has the 'execute' flag set in its file permissions. > > And any time you make a change to your httpd.conf you must restart apache before trying it out to force apache to read the new config options. > > > Devin > > On Dec 16, 2010, at 7:22 AM, Keith Clarke wrote: > >> ...ah, OK - that explains a lot! I think I'd better continue trying to replicate Devin's working Snow Leopard Server config on my version, rather than interpret what you have. >> >> Well, that or re-install standard Snow Leopard and copy your config! ;-) > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rick-rice at shaw.ca Thu Dec 16 17:41:33 2010 From: rick-rice at shaw.ca (Rick Rice) Date: Thu, 16 Dec 2010 14:41:33 -0800 Subject: Inconsistent Revlet launch In-Reply-To: <6AAA1D94-751E-44EE-9750-47A511678C13@major.on-rev.com> References: <6E4F5AE5-6B66-46CE-9D72-BD863F00E3DF@shaw.ca> <6AAA1D94-751E-44EE-9750-47A511678C13@major.on-rev.com> Message-ID: <4D8DB9BE-A8BD-40A2-B071-796A55D4BE99@shaw.ca> Klaus: I am almost 100% sure that I do not use any features that are not in version 4.0 This is really frustrating, almost infuriating, sometimes a revlet launches perfectly then it hangs then again it might launch. I need help. Rick On 16-Dec-10, at 8:57 AM, Klaus on-rev wrote: > Hi Rick, > >> >> Has anyone got any suggestions as to what I can do to deal with >> the following. >> I create a standalone revlet which may or may not run. The revlet >> might run as expected several times then fail to run and then if I >> launch it again it might run. If I launch a browser (Safari or >> Chrome) and then open the html file created along with the revlet >> I get either a black box the size of the app or the progress bar >> hung around the 5% point. It doesn't make any difference if I >> empty the browser cache or reset the browser. This happens on my >> Mac OS-X 10.4 and 10.5 on Safari 4 and 5 as well as Chrome 8. I'm >> using LiveCode 4.5.1 > > just to be sure, this is from the LC 4.5.2 release Notes: > ... > Note: As the currently available revWeb plug-in uses the 4.0 engine, > you must be careful to only use features that are present in that > version. > ... > >> Thanks >> Rick > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Thu Dec 16 17:49:04 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 16 Dec 2010 14:49:04 -0800 (PST) Subject: [OT] Some Recognition In-Reply-To: References: Message-ID: <1292539744460-3091823.post@n4.nabble.com> Congratulations! :-D -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Some-Recognition-tp3089871p3091823.html Sent from the Revolution - User mailing list archive at Nabble.com. From tsj at unimelb.edu.au Thu Dec 16 18:05:48 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 17 Dec 2010 10:05:48 +1100 Subject: [OT] creating a cross-platform flash-drive app Message-ID: Hi Guys - we?re preparing to deliver a bunch of educational resources (30 odd apps and web apps developed in house over a number of years) to our students on USB sticks. The resources will be accessed via a launcher application (LC) that allows users to browse and search/filter the resources based on keywords and descriptions. Some of the resources require authentication and this is handled by the university?s student authentication system. Anyway, at the moment we have a folder containing two executable ? PC and Mac ? an externals folder, the revSecurity dll (required for establishing a secure http connection to the university authentication server) and our ?software? folder. What I?d like to be able to do is hide the Mac app for PC users, hide the PC app for Mac users and hide the dll (and possibly the externals folder) for all users and then copy all the files (maintaining the visibility settings) to approximately 350 USB sticks. Does anyone have any suggestions on the best way to do this? I?ve done similar things on a small scale before and have had all sorts of trouble working from my Mac so I?m inclined to think it has to be done on a PC using PC formatted drives?? TIA Terry... -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From bill at bluewatermaritime.com Thu Dec 16 18:29:44 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Thu, 16 Dec 2010 19:29:44 -0400 Subject: Help me with my inability to see a simple solution Message-ID: My math skills are terrible but this is something I can do in excel but which should also be easy to do with a nested array in livecode. I want to build a function that returns the numbers that are out of sequence in a list of numbers. Say you are given (3,4,5,6,6,7,8,9,10,12,13,13,14) and the function should return: (1,2,11 - missing) (6,13 - duplicate) Can someone please help me write this function? Thanks in advance. From jacque at hyperactivesw.com Thu Dec 16 18:44:35 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 16 Dec 2010 17:44:35 -0600 Subject: RevServer on OSX (Snow Leopard Server) In-Reply-To: References: <46C045D1-C782-4620-8144-4F439C37BEFE@clarkeandclarke.co.uk> <3972C010-C0ED-4272-8AA2-DE64F520910F@clarkeandclarke.co.uk> <3995E7A6-3D36-4615-9FFC-4E161840D7A7@clarkeandclarke.co.uk> Message-ID: <4D0AA463.5030706@hyperactivesw.com> On 12/16/10 4:20 PM, Keith Clarke wrote: > Devin, Thanks for your response and the files you sent for > comparison. I now have a revServer-enabled OSX Server! That's great! Are you still planning to write up a comparison for us peons? That'd be helpful if you have time. I haven't yet been able to get it running on my IP's server, something about missing libraries. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tsj at unimelb.edu.au Thu Dec 16 19:03:55 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 17 Dec 2010 11:03:55 +1100 Subject: Help me with my inability to see a simple solution In-Reply-To: Message-ID: On 17/12/10 10:29 AM, "william humphrey" wrote: > My math skills are terrible but this is something I can do in excel but > which should also be easy to do with a nested array in livecode. I want to > build a function that returns the numbers that are out of sequence in a list > of numbers. Say you are given (3,4,5,6,6,7,8,9,10,12,13,13,14) and the > function should return: > > (1,2,11 - missing) > (6,13 - duplicate) > > Can someone please help me write this function? How 'bout this... pMin is your minimum value pMax is your maximum value pList is your list of numbers to test The output is a list of missing numbers (line 1) and repeat numbers (line 2) function stuff pMin, pMax, pList put empty into tMissingList put empty into tDuplicateList repeat with i = pMin to pMax put true into tMissing put empty into tDuplicate repeat for each item tValue in pList if tValue = i then put false into tMissing put i & comma after tDuplicate end if end repeat if tMissing then put i & comma after tMissingList end if if the number of items in tDuplicate > 1 then put i & comma after tDuplicateList end if end repeat return (char 1 to -2 of tMIssingList) &cr& \ (char 1 to -2 of tDuplicateList) end stuff Terry... > > Thanks in advance. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From rjb at robelko.com Thu Dec 16 19:16:06 2010 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 17 Dec 2010 01:16:06 +0100 Subject: Help me with my inability to see a simple solution In-Reply-To: References: Message-ID: On 16.12.2010 at 19:29 Uhr -0400 william humphrey apparently wrote: >My math skills are terrible but this is something I can do in excel but >which should also be easy to do with a nested array in livecode. I want to >build a function that returns the numbers that are out of sequence in a list >of numbers. Say you are given (3,4,5,6,6,7,8,9,10,12,13,13,14) and the >function should return: > >(1,2,11 - missing) >(6,13 - duplicate) > >Can someone please help me write this function? > >Thanks in advance. A quickie: function getMissingNumbers pNumberList put empty into vOccurences repeat for each item vNumber in pNumberList add 1 to vOccurences[vNumber] end repeat get the keys of vOccurences sort lines of it numeric put line -1 of it into vLargestNumber put empty into vMissing repeat with i=1 to vLargestNumber if vOccurences[i] is empty then put i & comma after vMissing end repeat delete char -1 of vMissing return vMissing end getMissingNumbers function getDuplicateNumbers pNumberList put empty into vOccurences repeat for each item vNumber in pNumberList add 1 to vOccurences[vNumber] end repeat get the keys of vOccurences sort lines of it numeric put line -1 of it into vLargestNumber put empty into vDuplicate repeat with i=1 to vLargestNumber if vOccurences[i] > 1 then put i & comma after vDuplicate end repeat delete char -1 of vDuplicate return vDuplicate end getDuplicateNumbers You can of course combine these functions returning each set of values in a separate line or as an array. If you actually want to check for numbers that are out of sequence, the above won't do. Robert From bill at bluewatermaritime.com Thu Dec 16 19:36:34 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Thu, 16 Dec 2010 20:36:34 -0400 Subject: Help me with my inability to see a simple solution In-Reply-To: References: Message-ID: function getMissingNumbers pNumberList put empty into vOccurences repeat for each item vNumber in pNumberList add 1 to vOccurences[vNumber] end repeat get the keys of vOccurences sort lines of it numeric put line -1 of it into vLargestNumber put empty into vMissing repeat with i=1 to vLargestNumber if vOccurences[i] is empty then put i & comma after vMissing end repeat delete char -1 of vMissing return vMissing end getMissingNumbers this returns a sequential list of all numbers, not just the missing numbers From bill at bluewatermaritime.com Thu Dec 16 19:46:51 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Thu, 16 Dec 2010 20:46:51 -0400 Subject: Help me with my inability to see a simple solution In-Reply-To: References: Message-ID: Thanks Terry. This solved my problem! On Thu, Dec 16, 2010 at 8:03 PM, Terry Judd wrote: > pMin is your minimum value > pMax is your maximum value > pList is your list of numbers to test > The output is a list of missing numbers (line 1) and repeat numbers (line > 2) > > function stuff pMin, pMax, pList > put empty into tMissingList > put empty into tDuplicateList > repeat with i = pMin to pMax > put true into tMissing > put empty into tDuplicate > repeat for each item tValue in pList > if tValue = i then > put false into tMissing > put i & comma after tDuplicate > end if > end repeat > if tMissing then > put i & comma after tMissingList > end if > if the number of items in tDuplicate > 1 then > put i & comma after tDuplicateList > end if > end repeat > return (char 1 to -2 of tMIssingList) &cr& \ > (char 1 to -2 of tDuplicateList) > end stuff > -- http://www.bluewatermaritime.com From alex at tweedly.net Thu Dec 16 19:48:07 2010 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 17 Dec 2010 00:48:07 +0000 Subject: Help me with my inability to see a simple solution In-Reply-To: References: Message-ID: <4D0AB347.6060502@tweedly.net> Depends on whether the data is known to be already in order. If not, then you need to uncomment the sort command. btw. sorry, this doesn't use arrays, but it will be much faster than the array method(s) if the data set is large. > > function other pMin, pMax, pList > put empty into tMissingList > put empty into tDuplicateList > > -- sort the data if needed > -- sort items of pList ascending numeric > > put pMin-1 into tLast > repeat for each item N in pList > if N = tLast+1 then > put N into tLast > next repeat > end if > if N = tLast then > put N & comma after tDuplicateList > next repeat > end if > repeat with i = tLast+1 to N-1 > put i & comma after tMissingList > end repeat > put N into tLast > end repeat > return (char 1 to -2 of tMIssingList) &cr& \ > (char 1 to -2 of tDuplicateList) > end other -- Alex. On 16/12/2010 23:29, william humphrey wrote: > My math skills are terrible but this is something I can do in excel but > which should also be easy to do with a nested array in livecode. I want to > build a function that returns the numbers that are out of sequence in a list > of numbers. Say you are given (3,4,5,6,6,7,8,9,10,12,13,13,14) and the > function should return: > > (1,2,11 - missing) > (6,13 - duplicate) > > Can someone please help me write this function? > > Thanks in advance. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From zryip.theslug at gmail.com Thu Dec 16 19:48:26 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Fri, 17 Dec 2010 01:48:26 +0100 Subject: DGH Clone Chamber Preview - was datagrid: sharing grid templates & copy paste Message-ID: Hi List, Here is a preview of our solution for duplicating an existing datagrid (template, behavior and properties) With the "clone room" of DGH, we are capable to reuse any complex datagrids between projects, in 3 clicks. Step 1: put the grid in the cloning chamber Step 2: selecting an empty grid or an existing grid Step 3: replication of the grid in the other one A quick preview of the feature in action is available here: http://www.youtube.com/watch?v=8rj7sDB-Prw Btw, here is our channel on youtube: http://www.youtube.com/profile?user=TheSlugOnTheRoad Available soon for all the DGH users. Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From bill at bluewatermaritime.com Thu Dec 16 19:59:51 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Thu, 16 Dec 2010 20:59:51 -0400 Subject: Help me with my inability to see a simple solution In-Reply-To: <4D0AB347.6060502@tweedly.net> References: <4D0AB347.6060502@tweedly.net> Message-ID: Thanks Alex - tested working also. On Thu, Dec 16, 2010 at 8:48 PM, Alex Tweedly wrote: > function other pMin, pMax, pList >> >> put empty into tMissingList >> put empty into tDuplicateList >> >> -- sort the data if needed >> -- sort items of pList ascending numeric >> >> put pMin-1 into tLast >> repeat for each item N in pList >> if N = tLast+1 then >> put N into tLast >> next repeat >> end if >> if N = tLast then >> put N & comma after tDuplicateList >> next repeat >> end if >> repeat with i = tLast+1 to N-1 >> >> put i & comma after tMissingList >> end repeat >> put N into tLast >> >> end repeat >> return (char 1 to -2 of tMIssingList) &cr& \ >> (char 1 to -2 of tDuplicateList) >> end other > > -- http://www.bluewatermaritime.com From bvg at mac.com Thu Dec 16 20:42:38 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 17 Dec 2010 02:42:38 +0100 Subject: Live liveCode code event #4 Message-ID: <0854226F-E213-4646-B558-7ABFDADE2267@mac.com> Hello you weird people We return for a last time this year, with David Bovill, as well as Chris Innanen, doing presentations. If there's enough time, I'll add a Q&A session, if you want to, you might assemble random questions for that. Furthermore, please be very sad that there'll be a pause after this event, because Nr. 5 is planned for the 8th January, giving everyone a deserved break. Unfortunately David did not tell me what he's planning (up to now), so I guess it'll be a surprise for everyone. He will be doing the first half hour (or a time period resembling that) on his channel: http://livecode.tv/david/ Chris will be showing how to use LiveCode for one-off, rapidly thrown together tools for everyday data manipulation and automation. For example scraping a web site, converting a DVD or managing makfiles. Topics will include text manipulation, process handling and shell commands. Watch him during the second half hour (approximation) here: http://livecode.tv/nonsanity/ Random BvG questioning might then happen, or not, depending on time: http://livecode.tv/bvg/ Please vote on your preferred days, if Saturday is not among your participating days: http://qurl.tk/m1 Join us this Saturday: Zurich: 20:00 Buenos Aires: 16:00 New York: 14:00 San Francisco: 11:00 Sydney: 06:00 Make sure to us chatRev during the happening, because all the cool kids do: http://bjoernke.com?target=chatrev or: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" Have fun Bjoernke From jimaultwins at yahoo.com Thu Dec 16 21:03:51 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Thu, 16 Dec 2010 18:03:51 -0800 Subject: [OT] Some Recognition In-Reply-To: References: Message-ID: <3BDCA9BD-75D3-48C7-AA16-C0A8399F6A91@yahoo.com> Very impressive indeed. The IndiePub group judging the game entries sets a very high bar. Makes me wish I had an iPad to see the magic. Ah, well, I should be able to get one in 2001. On Dec 15, 2010, at 12:50 PM, Scott Rossi wrote: > My iOS game PLEXXR recently won best art category in IndiePub Mobile > Games > Competition. Nice to get some recognition for one's efforts. :-) > > > > (not build in LiveCode) > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > Jim Ault Las Vegas From DunbarX at aol.com Thu Dec 16 21:39:10 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 16 Dec 2010 21:39:10 EST Subject: msg box Buggerers Message-ID: <9a3fe.5c7553aa.3a3c274e@aol.com> Sniff. Thanks Jackie. My poor, legitimate thread. Ruined. Choke. And I have a reproducable bug. And nobody cares. Bawl. In a message dated 12/15/10 5:58:08 PM, jacque at hyperactivesw.com writes: > Sorry Craig, thread hijacking seems to be in vogue today. > From DunbarX at aol.com Thu Dec 16 21:42:48 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 16 Dec 2010 21:42:48 EST Subject: A new, improved msg box Bug? Message-ID: <9a717.6184717f.3a3c2828@aol.com> Nothing. Open 4.5.2. Open msg box. (Either single or multi-line) Type "answer xyz". Hit enter. Nada. Type any char in the lower field. Works fine!!! In a message dated 12/15/10 6:12:35 PM, jacque at hyperactivesw.com writes: > > I think so. Sorry. Are you still running your custom utility stack when > it fails? Or anything else non-IDE? > From coiin at verizon.net Thu Dec 16 21:45:10 2010 From: coiin at verizon.net (Colin Holgate) Date: Thu, 16 Dec 2010 21:45:10 -0500 Subject: OT: non-LC thing I made Message-ID: Like Scott, I do use other tools, mostly Flash, and yesterday this thing I made became available in the App Store: Andrew Answers for iPhone, iPod touch, and iPad on the iTunes App Store It was done in Flash, which is just about the only tool that could have done it. But there is another app that I need to do that might be better suited to LC, so I think I'll give that a try. The app we did is aimed at younger children who want to be entertained while learning about the alphabet. From coiin at verizon.net Thu Dec 16 21:46:25 2010 From: coiin at verizon.net (Colin Holgate) Date: Thu, 16 Dec 2010 21:46:25 -0500 Subject: msg box Buggerers In-Reply-To: <9a3fe.5c7553aa.3a3c274e@aol.com> References: <9a3fe.5c7553aa.3a3c274e@aol.com> Message-ID: On Dec 16, 2010, at 9:39 PM, DunbarX at aol.com wrote: >> Sorry Craig, thread hijacking seems to be in vogue today. > Is Vogue magazine still around? And they write articles on thread hijacking? From coiin at verizon.net Thu Dec 16 21:49:26 2010 From: coiin at verizon.net (Colin Holgate) Date: Thu, 16 Dec 2010 21:49:26 -0500 Subject: A new, improved msg box Bug? In-Reply-To: <9a717.6184717f.3a3c2828@aol.com> References: <9a717.6184717f.3a3c2828@aol.com> Message-ID: <9D7319D6-7B94-434D-867E-8D532D8FB64D@verizon.net> On Dec 16, 2010, at 9:42 PM, DunbarX at aol.com wrote: > Open 4.5.2. > Open msg box. (Either single or multi-line) > Type "answer xyz". > Hit enter. > Nada. Look around for anything else that is specific to the problem, like for example, does Enter fail but Return work? I'm using Return, and following your steps I get a dialog on the first try. From coiin at verizon.net Thu Dec 16 21:50:06 2010 From: coiin at verizon.net (Colin Holgate) Date: Thu, 16 Dec 2010 21:50:06 -0500 Subject: OT: non-LC thing I made In-Reply-To: References: Message-ID: <13E64390-B44A-4E77-B497-AD56A59CA5B2@verizon.net> On Dec 16, 2010, at 9:45 PM, Colin Holgate wrote: > Like Scott, I do use other tools, mostly Flash, and yesterday this thing I made became available in the App Store: > > Andrew Answers for iPhone, iPod touch, and iPad on the iTunes App Store The link didn't work out: http://itunes.apple.com/us/app/andrew-answers/id406162881 From andrew at rjdfarm.com Thu Dec 16 22:12:40 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Thu, 16 Dec 2010 19:12:40 -0800 (PST) Subject: DGH Clone Chamber Preview - was datagrid: sharing grid templates & copy paste In-Reply-To: References: Message-ID: <1292555560569-3092037.post@n4.nabble.com> Now this is a feature! Love it! After the holidays I am going to purchase your DGH. I hate having to recreate identical datagrids between stacks of my projects. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/DGH-Clone-Chamber-Preview-was-datagrid-sharing-grid-templates-copy-paste-tp3091944p3092037.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Thu Dec 16 22:23:31 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 16 Dec 2010 19:23:31 -0800 (PST) Subject: OT: non-LC thing I made In-Reply-To: <13E64390-B44A-4E77-B497-AD56A59CA5B2@verizon.net> References: <13E64390-B44A-4E77-B497-AD56A59CA5B2@verizon.net> Message-ID: <1292556211984-3092043.post@n4.nabble.com> Looks really nice! :-) When I had an iPod Touch, will test it in detail. Which parts of this interactive adventure could have been created more easily in Livecode for iOS? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-non-LC-thing-I-made-tp3092024p3092043.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Thu Dec 16 22:26:28 2010 From: coiin at verizon.net (Colin Holgate) Date: Thu, 16 Dec 2010 22:26:28 -0500 Subject: OT: non-LC thing I made In-Reply-To: <1292556211984-3092043.post@n4.nabble.com> References: <13E64390-B44A-4E77-B497-AD56A59CA5B2@verizon.net> <1292556211984-3092043.post@n4.nabble.com> Message-ID: <66CE1DA1-3C2C-4E71-B9A1-8CE04DA0244B@verizon.net> On Dec 16, 2010, at 10:23 PM, Alejandro Tejada wrote: > Which parts of this interactive adventure could > have been created more easily in Livecode for iOS? Almost none of it. It uses timeline animation that is synchronized to long bits of audio. That's something that Flash does fairly well. From jacque at hyperactivesw.com Thu Dec 16 22:27:06 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 16 Dec 2010 21:27:06 -0600 Subject: msg box Buggerers In-Reply-To: <9a3fe.5c7553aa.3a3c274e@aol.com> References: <9a3fe.5c7553aa.3a3c274e@aol.com> Message-ID: <4D0AD88A.5090003@hyperactivesw.com> On 12/16/10 8:39 PM, DunbarX at aol.com wrote: > Sniff. Thanks Jackie. My poor, legitimate thread. Ruined. Choke. > > And I have a reproducable bug. And nobody cares. Bawl. Aww. There, there. We care. Really. The problem is, it seems only to be reproducible on your setup. Try tossing out your prefs file. LiveCode stores your message box history in there and maybe it's storing something weird. It's in your user library/Preferences/RunRev/livecode.rev. You'll have to reset any prefs you changed from defaults. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Dec 16 22:29:39 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 16 Dec 2010 21:29:39 -0600 Subject: msg box Buggerers In-Reply-To: References: <9a3fe.5c7553aa.3a3c274e@aol.com> Message-ID: <4D0AD923.9080203@hyperactivesw.com> On 12/16/10 8:46 PM, Colin Holgate wrote: > > On Dec 16, 2010, at 9:39 PM, DunbarX at aol.com wrote: > >>> Sorry Craig, thread hijacking seems to be in vogue today. >> > > Is Vogue magazine still around? And they write articles on thread hijacking? No, they write articles about threads. Hijackings are in Newsweek. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Dec 16 22:33:30 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 16 Dec 2010 21:33:30 -0600 Subject: Inconsistent Revlet launch In-Reply-To: <4D8DB9BE-A8BD-40A2-B071-796A55D4BE99@shaw.ca> References: <6E4F5AE5-6B66-46CE-9D72-BD863F00E3DF@shaw.ca> <6AAA1D94-751E-44EE-9750-47A511678C13@major.on-rev.com> <4D8DB9BE-A8BD-40A2-B071-796A55D4BE99@shaw.ca> Message-ID: <4D0ADA0A.4000104@hyperactivesw.com> On 12/16/10 4:41 PM, Rick Rice wrote: > Klaus: > I am almost 100% sure that I do not use any features that are not in > version 4.0 > This is really frustrating, almost infuriating, sometimes a revlet > launches perfectly then it hangs then again it might launch. I need help. Usually they either work or they don't, so I'm not sure anyone knows what's wrong. Do you have a different machine to test on? Does it happen only locally or also from a web site? You could try reinstalling your copy of the plugin, maybe yours isn't current? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rick-rice at shaw.ca Thu Dec 16 22:43:42 2010 From: rick-rice at shaw.ca (Rick Rice) Date: Thu, 16 Dec 2010 19:43:42 -0800 Subject: Inconsistent Revlet launch In-Reply-To: <4D0ADA0A.4000104@hyperactivesw.com> References: <6E4F5AE5-6B66-46CE-9D72-BD863F00E3DF@shaw.ca> <6AAA1D94-751E-44EE-9750-47A511678C13@major.on-rev.com> <4D8DB9BE-A8BD-40A2-B071-796A55D4BE99@shaw.ca> <4D0ADA0A.4000104@hyperactivesw.com> Message-ID: <35367857-9070-4E04-9BF7-8D74342CDC86@shaw.ca> Jacqueline: It happens on both my laptop and my desktop. I have not been able to try this on a web site. I was wondering about the plugin, I'll give that a try. Thanks Rick On 16-Dec-10, at 7:33 PM, J. Landman Gay wrote: > On 12/16/10 4:41 PM, Rick Rice wrote: >> Klaus: >> I am almost 100% sure that I do not use any features that are not in >> version 4.0 >> This is really frustrating, almost infuriating, sometimes a revlet >> launches perfectly then it hangs then again it might launch. I >> need help. > > Usually they either work or they don't, so I'm not sure anyone > knows what's wrong. Do you have a different machine to test on? > Does it happen only locally or also from a web site? You could try > reinstalling your copy of the plugin, maybe yours isn't current? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rev at nonsanity.com Thu Dec 16 22:52:50 2010 From: rev at nonsanity.com (Nonsanity) Date: Thu, 16 Dec 2010 22:52:50 -0500 Subject: Help me with my inability to see a simple solution In-Reply-To: References: <4D0AB347.6060502@tweedly.net> Message-ID: What the heck, I'll make one too. :) function CheckList src sort items of src numeric put "," into dups put "," into miss repeat with a = 1 to item 1 of src - 1 put a & "," after miss end repeat repeat with a = 1 to the number of items in src - 1 if item a of src = item a+1 of src and ("," & item a of src & ",") is not in dups then put item a of src & "," after dups if item a of src +1 < item a+1 of src and ("," & item a of src & ",") is not in miss then put item a of src + 1 & "," after miss end repeat return item 2 to -1 of miss & return & item 2 to -1 of dups end CheckList ~ Chris Innanen ~ Nonsanity From rev at nonsanity.com Thu Dec 16 22:59:04 2010 From: rev at nonsanity.com (Nonsanity) Date: Thu, 16 Dec 2010 22:59:04 -0500 Subject: Help me with my inability to see a simple solution In-Reply-To: References: <4D0AB347.6060502@tweedly.net> Message-ID: My bad... Didn't cover the case of several numbers in a row missing from the middle of the sequence. This fixes that. function CheckList src sort items of src numeric put "," into dups put "" into miss repeat with a = 1 to item 1 of src - 1 put a & "," after miss end repeat repeat with a = 1 to the number of items in src - 1 if item a of src = item a+1 of src and ("," & item a of src & ",") is not in dups then put item a of src & "," after dups put 1 into b repeat while item a of src +b < item a+1 of src put item a of src + b & "," after miss add 1 to b end repeat end repeat return item 1 to -1 of miss & return & item 2 to -1 of dups end CheckList ~ Chris Innanen ~ Nonsanity From scott at tactilemedia.com Thu Dec 16 23:21:07 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 17 Dec 2010 04:21:07 +0000 Subject: msg box Buggerers Message-ID: <164667096-1292559456-cardhu_decombobulator_blackberry.rim.net-733500433-@bda048.bisx.prod.on.blackberry> Too bad there's no such thing as a rimshot emoticon. I must say that was quite creative. ------Original Message------ From: Jacque Landman Gay Sender: use-livecode-bounces at lists.runrev.com To: LiveCode Mail List ReplyTo: LiveCode Mail List Subject: Re: msg box Buggerers Sent: Dec 16, 2010 7:29 PM On 12/16/10 8:46 PM, Colin Holgate wrote: > > On Dec 16, 2010, at 9:39 PM, DunbarX at aol.com wrote: > >>> Sorry Craig, thread hijacking seems to be in vogue today. >> > > Is Vogue magazine still around? And they write articles on thread hijacking? No, they write articles about threads. Hijackings are in Newsweek. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode Scott Rossi, Creative Director Tactile Media, UX Design From capellan2000 at gmail.com Thu Dec 16 23:57:31 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 16 Dec 2010 20:57:31 -0800 (PST) Subject: OT: non-LC thing I made In-Reply-To: <66CE1DA1-3C2C-4E71-B9A1-8CE04DA0244B@verizon.net> References: <13E64390-B44A-4E77-B497-AD56A59CA5B2@verizon.net> <1292556211984-3092043.post@n4.nabble.com> <66CE1DA1-3C2C-4E71-B9A1-8CE04DA0244B@verizon.net> Message-ID: <1292561851208-3092093.post@n4.nabble.com> Interesting enough, when I bought MetaCard, my first support request to Scott Raney was about syncronizing audio with a Quicktime Interactive movie playing automatically. It was not possible for me to create this. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-non-LC-thing-I-made-tp3092024p3092093.html Sent from the Revolution - User mailing list archive at Nabble.com. From DunbarX at aol.com Fri Dec 17 00:14:25 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 17 Dec 2010 00:14:25 EST Subject: A new, improved msg box Bug? Message-ID: <113640.46ff76bc.3a3c4bb1@aol.com> Colin. Nope, tried both enter and return. It is just whether or not i type a char in the lower field. That fixes it. Steady and predictable.... From DunbarX at aol.com Fri Dec 17 00:18:06 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 17 Dec 2010 00:18:06 EST Subject: msg box Buggerers Message-ID: <1139b2.4c16c890.3a3c4c8e@aol.com> Jacques. Hmmm. Clearing preferences. Fixes things sometimes without ever understanding why. I'll try it. From jacque at hyperactivesw.com Fri Dec 17 01:13:57 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 17 Dec 2010 00:13:57 -0600 Subject: OT: non-LC thing I made In-Reply-To: <13E64390-B44A-4E77-B497-AD56A59CA5B2@verizon.net> References: <13E64390-B44A-4E77-B497-AD56A59CA5B2@verizon.net> Message-ID: <4D0AFFA5.9010106@hyperactivesw.com> On 12/16/10 8:50 PM, Colin Holgate wrote: > > On Dec 16, 2010, at 9:45 PM, Colin Holgate wrote: > >> Like Scott, I do use other tools, mostly Flash, and yesterday this thing I made became available in the App Store: >> >> Andrew Answers for iPhone, iPod touch, and iPad on the iTunes App Store > > > The link didn't work out: > > http://itunes.apple.com/us/app/andrew-answers/id406162881 Very nice, Colin. As always. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From katheryn.swynford at gmail.com Fri Dec 17 01:21:07 2010 From: katheryn.swynford at gmail.com (Judy Perry) Date: Thu, 16 Dec 2010 22:21:07 -0800 Subject: Inconsistent Revlet launch In-Reply-To: <4D0ADA0A.4000104@hyperactivesw.com> References: <6E4F5AE5-6B66-46CE-9D72-BD863F00E3DF@shaw.ca> <6AAA1D94-751E-44EE-9750-47A511678C13@major.on-rev.com> <4D8DB9BE-A8BD-40A2-B071-796A55D4BE99@shaw.ca> <4D0ADA0A.4000104@hyperactivesw.com> Message-ID: You know, this, and thinking about renewing my license, got me a-thinking: Why does Rev charge extra for producing revlets?? This makes no sense. There's no way to monetize revlets. Why are they charging extra for this? Judy From richmondmathewson at gmail.com Fri Dec 17 01:32:56 2010 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 17 Dec 2010 08:32:56 +0200 Subject: msg box Buggerers In-Reply-To: <9a3fe.5c7553aa.3a3c274e@aol.com> References: <9a3fe.5c7553aa.3a3c274e@aol.com> Message-ID: <4D0B0418.9090006@gmail.com> "Buggerers" ? Now there's an interesting word . . . . :) On 12/17/2010 04:39 AM, DunbarX at aol.com wrote: > Sniff. Thanks Jackie. My poor, legitimate thread. Ruined. Choke. > > And I have a reproducable bug. And nobody cares. Bawl. > > In a message dated 12/15/10 5:58:08 PM, jacque at hyperactivesw.com writes: > > >> Sorry Craig, thread hijacking seems to be in vogue today. >> > From richmondmathewson at gmail.com Fri Dec 17 01:34:49 2010 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 17 Dec 2010 08:34:49 +0200 Subject: msg box Buggerers In-Reply-To: <1139b2.4c16c890.3a3c4c8e@aol.com> References: <1139b2.4c16c890.3a3c4c8e@aol.com> Message-ID: <4D0B0489.9040400@gmail.com> Anybody invented an 'OT filter' yet ? On 12/17/2010 07:18 AM, DunbarX at aol.com wrote: > Jacques. > > Hmmm. Clearing preferences. Fixes things sometimes without ever > understanding why. > > I'll try it. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Fri Dec 17 01:41:01 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 16 Dec 2010 22:41:01 -0800 Subject: Valentina db under Linux ??? In-Reply-To: References: Message-ID: <15087700562.20101216224101@ahsoftware.net> Ruslan- Wednesday, December 15, 2010, 11:33:15 PM, you wrote: > We will upload newer archive of V4REV Linux 32 bit > In the nearest couple of hours. I will notify on Valentina list. Here's what I get on Fedora Core 13: extracted to home directory (/home/mwieder) su - ./install vserver.sh ln: accessing `libvclient_release_x86.so': Too many levels of symbolic links ln: accessing `libvkernel_release_x86.so': Too many levels of symbolic links ln: accessing `libvreport_release_x86.so': Too many levels of symbolic links ln: accessing `libvshared_release_x86.so': Too many levels of symbolic links cp: cannot stat `./VServer/*': No such file or directory so now there's a VServer directory with four invalid links. Not very encouraging. -- -Mark Wieder mwieder at ahsoftware.net From keith.clarke at clarkeandclarke.co.uk Fri Dec 17 03:12:23 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 17 Dec 2010 08:12:23 +0000 Subject: RevServer on OSX (Snow Leopard Server) In-Reply-To: <4D0AA463.5030706@hyperactivesw.com> References: <46C045D1-C782-4620-8144-4F439C37BEFE@clarkeandclarke.co.uk> <3972C010-C0ED-4272-8AA2-DE64F520910F@clarkeandclarke.co.uk> <3995E7A6-3D36-4615-9FFC-4E161840D7A7@clarkeandclarke.co.uk> <4D0AA463.5030706@hyperactivesw.com> Message-ID: <0C4879CD-7973-4550-B3EC-C99E62D68C5F@clarkeandclarke.co.uk> Jaque, I intend to document how to tame the two 'subspecies' of Snow Leopard - no, not 'uncia uncia uncia' and 'uncia uncia uncioides' but 'OSX Server' and 'standard' OSX ;-) I'd love to be able to do the same for my Ubuntu subspecies of Linux (would that be 'felis linux ubuntiodes'?) but that will have to wait as my current VPS also lacks the libraries. It's running an Dapper Drake 6.06 LTS and needs to move to 10.04 LTS (Lucid Lynx) LTS - if only to keep my nice cat analogy going! (Indeed, one reason for investing in OSX Server for my home office is to get all my development stuff off the VPS so that I can move my websites onto a simpler, cheaper, newer platform.) Best, Keith.. On 16 Dec 2010, at 23:44, J. Landman Gay wrote: > On 12/16/10 4:20 PM, Keith Clarke wrote: >> Devin, Thanks for your response and the files you sent for >> comparison. I now have a revServer-enabled OSX Server! > > That's great! Are you still planning to write up a comparison for us peons? That'd be helpful if you have time. I haven't yet been able to get it running on my IP's server, something about missing libraries. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Fri Dec 17 03:47:41 2010 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 17 Dec 2010 08:47:41 +0000 Subject: Help me with my inability to see a simple solution In-Reply-To: References: <4D0AB347.6060502@tweedly.net> Message-ID: <4D0B23AD.5090601@tweedly.net> On 17/12/2010 00:59, william humphrey wrote: > Thanks Alex - tested working also. > Only because our test data isn't hard enough :-) It should have > repeat with i = N+1 to pMax > put i & comma after tMissingList > end repeat inserted immediately before the return statement, to cover the case where the missing numbers are at the end of the expected range. -- Alex. > On Thu, Dec 16, 2010 at 8:48 PM, Alex Tweedly wrote: > >> function other pMin, pMax, pList >>> put empty into tMissingList >>> put empty into tDuplicateList >>> >>> -- sort the data if needed >>> -- sort items of pList ascending numeric >>> >>> put pMin-1 into tLast >>> repeat for each item N in pList >>> if N = tLast+1 then >>> put N into tLast >>> next repeat >>> end if >>> if N = tLast then >>> put N& comma after tDuplicateList >>> next repeat >>> end if >>> repeat with i = tLast+1 to N-1 >>> >>> put i& comma after tMissingList >>> end repeat >>> put N into tLast >>> >>> end repeat >>> return (char 1 to -2 of tMIssingList)&cr& \ >>> (char 1 to -2 of tDuplicateList) >>> end other >> > From ruslan_zasukhin at valentina-db.com Fri Dec 17 03:58:35 2010 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Fri, 17 Dec 2010 10:58:35 +0200 Subject: Valentina db under Linux ??? In-Reply-To: <15087700562.20101216224101@ahsoftware.net> Message-ID: On 12/17/10 8:41 AM, "Mark Wieder" wrote: > Ruslan- > > Wednesday, December 15, 2010, 11:33:15 PM, you wrote: > >> We will upload newer archive of V4REV Linux 32 bit >> In the nearest couple of hours. I will notify on Valentina list. > > Here's what I get on Fedora Core 13: > > extracted to home directory (/home/mwieder) > su - > ./install vserver.sh > > ln: accessing `libvclient_release_x86.so': Too many levels of symbolic links > ln: accessing `libvkernel_release_x86.so': Too many levels of symbolic links > ln: accessing `libvreport_release_x86.so': Too many levels of symbolic links > ln: accessing `libvshared_release_x86.so': Too many levels of symbolic links > cp: cannot stat `./VServer/*': No such file or directory > > so now there's a VServer directory with four invalid links. Not very > encouraging. Hi Mark, I think better post to Valentina list Or even to Ivan directly. I have CC to him -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ruslan_zasukhin at valentina-db.com Fri Dec 17 03:59:05 2010 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Fri, 17 Dec 2010 10:59:05 +0200 Subject: Valentina db under Linux ??? In-Reply-To: Message-ID: On 12/16/10 7:51 PM, "stephen barncard" wrote: Hi Stephen, > Ruslan ! > > I've been meaning to ask you : > > Are you going to demonstrate Valentina at the next Revcon in April 2011? > Perhaps a shoot-out among the other DBms? So far I was not going :) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ivan_smahin at paradigmasoft.com Fri Dec 17 04:39:16 2010 From: ivan_smahin at paradigmasoft.com (Ivan Smahin) Date: Fri, 17 Dec 2010 11:39:16 +0200 Subject: Valentina db under Linux ??? In-Reply-To: References: Message-ID: <4D0B2FC4.9030200@paradigmasoft.com> On 12/17/2010 10:58 AM, Ruslan Zasukhin wrote: > On 12/17/10 8:41 AM, "Mark Wieder" wrote: > >> Ruslan- >> >> Wednesday, December 15, 2010, 11:33:15 PM, you wrote: >> >>> We will upload newer archive of V4REV Linux 32 bit >>> In the nearest couple of hours. I will notify on Valentina list. >> Here's what I get on Fedora Core 13: >> >> extracted to home directory (/home/mwieder) >> su - >> ./install vserver.sh >> >> ln: accessing `libvclient_release_x86.so': Too many levels of symbolic links >> ln: accessing `libvkernel_release_x86.so': Too many levels of symbolic links >> ln: accessing `libvreport_release_x86.so': Too many levels of symbolic links >> ln: accessing `libvshared_release_x86.so': Too many levels of symbolic links >> cp: cannot stat `./VServer/*': No such file or directory >> >> so now there's a VServer directory with four invalid links. Not very >> encouraging. > Building the package we are putting there libs and links to them also. It seems to be confusing and unnecessary (especially because of install.sh which makes a proper links itself). Today I will fix it and hopefully new package will be available for download soon. Meanwhile you can manually drop libvclient_release_x86.so libvkernel_release_x86.so libvreport_release_x86.so libvshared_release_x86.so and re-run install.sh -- Best regards, Ivan Smahin Senior Software Engineer Paradigma Software, Inc Valentina - The Ultra-Fast Database http://www.valentina-db.com From andre.bisseret at wanadoo.fr Fri Dec 17 05:22:09 2010 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Fri, 17 Dec 2010 11:22:09 +0100 Subject: [data grid] How to get the dgText really empty? Message-ID: Bonjour, I have a stack with (let's say) 3 cards On card 1 and card 2 two identical data grids. On card 3 another data grid and a button. The 3 data grids have the same line rubrics. When one clicks on the button on card 3, one gets a recapitulation (sums on each line of the values of the 2 first cards). MY PROBLEM: If I set the dgText of each dataGrid of card 1 and card 2 to empty (by script) then, If I click on the button of card 3, I get the recapitulation as if the data grids of card 1 and 2 were still populated! I know that one gets a really empty data grid if one sets the dgProp[columns] of the data grid as well as its dgText to empty. So that, it is necessary to set again the dgProp[columns]. Is there a more simple way to get the dgText of a data grid really empty? Thanks a lot for any advice, Best regards from Grenoble Andr? From andre at andregarzia.com Fri Dec 17 07:08:45 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 17 Dec 2010 10:08:45 -0200 Subject: RevServer on OSX (Snow Leopard Server) In-Reply-To: <0C4879CD-7973-4550-B3EC-C99E62D68C5F@clarkeandclarke.co.uk> References: <46C045D1-C782-4620-8144-4F439C37BEFE@clarkeandclarke.co.uk> <3972C010-C0ED-4272-8AA2-DE64F520910F@clarkeandclarke.co.uk> <3995E7A6-3D36-4615-9FFC-4E161840D7A7@clarkeandclarke.co.uk> <4D0AA463.5030706@hyperactivesw.com> <0C4879CD-7973-4550-B3EC-C99E62D68C5F@clarkeandclarke.co.uk> Message-ID: Keith, After you write the cold feline ones, I will help with the linux... now, for something bold, I am trying to run RevServer under FreeBSD using Linux compatibility layer, if I can ever pull this one out it will be fun! Andre On Fri, Dec 17, 2010 at 6:12 AM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > Jaque, I intend to document how to tame the two 'subspecies' of Snow > Leopard - no, not 'uncia uncia uncia' and 'uncia uncia uncioides' but 'OSX > Server' and 'standard' OSX ;-) > > I'd love to be able to do the same for my Ubuntu subspecies of Linux (would > that be 'felis linux ubuntiodes'?) but that will have to wait as my current > VPS also lacks the libraries. It's running an Dapper Drake 6.06 LTS and > needs to move to 10.04 LTS (Lucid Lynx) LTS - if only to keep my nice cat > analogy going! > > (Indeed, one reason for investing in OSX Server for my home office is to > get all my development stuff off the VPS so that I can move my websites onto > a simpler, cheaper, newer platform.) > Best, > Keith.. > > On 16 Dec 2010, at 23:44, J. Landman Gay wrote: > > > On 12/16/10 4:20 PM, Keith Clarke wrote: > >> Devin, Thanks for your response and the files you sent for > >> comparison. I now have a revServer-enabled OSX Server! > > > > That's great! Are you still planning to write up a comparison for us > peons? That'd be helpful if you have time. I haven't yet been able to get it > running on my IP's server, something about missing libraries. > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From keith.clarke at clarkeandclarke.co.uk Fri Dec 17 07:18:48 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 17 Dec 2010 12:18:48 +0000 Subject: RevServer on OSX (Snow Leopard Server) In-Reply-To: References: <46C045D1-C782-4620-8144-4F439C37BEFE@clarkeandclarke.co.uk> <3972C010-C0ED-4272-8AA2-DE64F520910F@clarkeandclarke.co.uk> <3995E7A6-3D36-4615-9FFC-4E161840D7A7@clarkeandclarke.co.uk> <4D0AA463.5030706@hyperactivesw.com> <0C4879CD-7973-4550-B3EC-C99E62D68C5F@clarkeandclarke.co.uk> Message-ID: <2AF1DEB6-1213-4585-9468-4525E170519C@clarkeandclarke.co.uk> Andre, I'll leave you to tame that tiger (sorry - poor OSX pun). I'm already far too deep in smelly cat litter for my liking! ;-) On 17 Dec 2010, at 12:08, Andre Garzia wrote: > Keith, > > After you write the cold feline ones, I will help with the linux... now, for > something bold, I am trying to run RevServer under FreeBSD using Linux > compatibility layer, if I can ever pull this one out it will be fun! > > Andre > > On Fri, Dec 17, 2010 at 6:12 AM, Keith Clarke < > keith.clarke at clarkeandclarke.co.uk> wrote: > >> Jaque, I intend to document how to tame the two 'subspecies' of Snow >> Leopard - no, not 'uncia uncia uncia' and 'uncia uncia uncioides' but 'OSX >> Server' and 'standard' OSX ;-) >> >> I'd love to be able to do the same for my Ubuntu subspecies of Linux (would >> that be 'felis linux ubuntiodes'?) but that will have to wait as my current >> VPS also lacks the libraries. It's running an Dapper Drake 6.06 LTS and >> needs to move to 10.04 LTS (Lucid Lynx) LTS - if only to keep my nice cat >> analogy going! >> >> (Indeed, one reason for investing in OSX Server for my home office is to >> get all my development stuff off the VPS so that I can move my websites onto >> a simpler, cheaper, newer platform.) >> Best, >> Keith.. >> >> On 16 Dec 2010, at 23:44, J. Landman Gay wrote: >> >>> On 12/16/10 4:20 PM, Keith Clarke wrote: >>>> Devin, Thanks for your response and the files you sent for >>>> comparison. I now have a revServer-enabled OSX Server! >>> >>> That's great! Are you still planning to write up a comparison for us >> peons? That'd be helpful if you have time. I haven't yet been able to get it >> running on my IP's server, something about missing libraries. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bill at bluewatermaritime.com Fri Dec 17 08:17:35 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Fri, 17 Dec 2010 09:17:35 -0400 Subject: Help me with my inability to see a simple solution In-Reply-To: <4D0B23AD.5090601@tweedly.net> References: <4D0AB347.6060502@tweedly.net> <4D0B23AD.5090601@tweedly.net> Message-ID: But the data never produces missing numbers at the end. That would only happen if there was some maximum number it was supposed to reach, instead it is the last number entered that is the last number. There could be a last number that is a duplicate but I will certainly add your correction. I went through and looked at past voyages (each has over two hundred data sets of shipping bill of ladings) and found some errors. Those kind of errors are very difficult to see by any other method. On Fri, Dec 17, 2010 at 4:47 AM, Alex Tweedly wrote: > On 17/12/2010 00:59, william humphrey wrote: > >> Thanks Alex - tested working also. >> >> Only because our test data isn't hard enough :-) > It should have > > repeat with i = N+1 to pMax >> >> put i & comma after tMissingList >> end repeat >> > > inserted immediately before the return statement, to cover the case where > the missing numbers are at the end of the expected range. > > -- Alex. > > > > > > On Thu, Dec 16, 2010 at 8:48 PM, Alex Tweedly wrote: >> >> function other pMin, pMax, pList >>> >>>> put empty into tMissingList >>>> put empty into tDuplicateList >>>> >>>> -- sort the data if needed >>>> -- sort items of pList ascending numeric >>>> >>>> put pMin-1 into tLast >>>> repeat for each item N in pList >>>> if N = tLast+1 then >>>> put N into tLast >>>> next repeat >>>> end if >>>> if N = tLast then >>>> put N& comma after tDuplicateList >>>> next repeat >>>> end if >>>> repeat with i = tLast+1 to N-1 >>>> >>>> put i& comma after tMissingList >>>> end repeat >>>> put N into tLast >>>> >>>> end repeat >>>> return (char 1 to -2 of tMIssingList)&cr& \ >>>> (char 1 to -2 of tDuplicateList) >>>> end other >>>> >>> >>> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.bluewatermaritime.com From lists at mangomultimedia.com Fri Dec 17 08:47:44 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 17 Dec 2010 08:47:44 -0500 Subject: [data grid] How to get the dgText really empty? In-Reply-To: References: Message-ID: On Fri, Dec 17, 2010 at 5:22 AM, Andr? Bisseret wrote: > MY PROBLEM: > If I set the dgText of each dataGrid of card 1 and card 2 to empty (by > script) then, > If I click on the button of card 3, I get the recapitulation as if the data > grids of card 1 and 2 were still populated! > > I know that one gets a really empty data grid if one sets the > dgProp[columns] of the data grid as well as its dgText to empty. So that, it > is necessary to set again the dgProp[columns]. > > Is there a more simple way to get the dgText of a data grid really empty? > Are you specifically telling the dgText to return column names? put the dgText[true] of group "DataGrid" If so then you will always have at least one line that contains the column names. Either check if more than one line exists or pass in false rather than true. put the dgText[false] of group "DataGrid" -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From andre.bisseret at wanadoo.fr Fri Dec 17 12:02:37 2010 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Fri, 17 Dec 2010 18:02:37 +0100 Subject: [data grid] How to get the dgText really empty? In-Reply-To: References: Message-ID: <767AD670-A6D2-4365-B918-240E6A615248@wanadoo.fr> Bonjour Trevor, I just noticed that I was completely wrong! I was emptying my data grids but not a hidden field which is used as an intermediary where preprocessed data are kept, and which is used by the button which recapitulates the two data grids in the third one!!!! Thanks a lot for your reply and really sorry to have disturbed you with what was my mistake! Andr? Le 17 d?c. 2010 ? 14:47, Trevor DeVore a ?crit : > On Fri, Dec 17, 2010 at 5:22 AM, Andr? Bisseret > wrote: > >> MY PROBLEM: >> If I set the dgText of each dataGrid of card 1 and card 2 to empty (by >> script) then, >> If I click on the button of card 3, I get the recapitulation as if the data >> grids of card 1 and 2 were still populated! >> >> I know that one gets a really empty data grid if one sets the >> dgProp[columns] of the data grid as well as its dgText to empty. So that, it >> is necessary to set again the dgProp[columns]. >> >> Is there a more simple way to get the dgText of a data grid really empty? >> > > Are you specifically telling the dgText to return column names? > > put the dgText[true] of group "DataGrid" > > If so then you will always have at least one line that contains the column > names. Either check if more than one line exists or pass in false rather > than true. > > put the dgText[false] of group "DataGrid" > From rjb at robelko.com Fri Dec 17 14:00:18 2010 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 17 Dec 2010 20:00:18 +0100 Subject: Help me with my inability to see a simple solution In-Reply-To: References: Message-ID: On 16.12.2010 at 20:36 Uhr -0400 william humphrey apparently wrote: >function getMissingNumbers pNumberList > put empty into vOccurences > repeat for each item vNumber in pNumberList > add 1 to vOccurences[vNumber] > end repeat > get the keys of vOccurences > sort lines of it numeric > put line -1 of it into vLargestNumber > put empty into vMissing > repeat with i=1 to vLargestNumber > if vOccurences[i] is empty then put i & comma after vMissing > end repeat > delete char -1 of vMissing > return vMissing >end getMissingNumbers > >this returns a sequential list of all numbers, not just the missing numbers Just tested this and it works for me. May be you passed the data as multiple parameters instead of one. I mean sth like answer getMissingNumbers(3,4,5,6,6,7,8,9,10,12,13,13,14) instead of answer getMissingNumbers("3,4,5,6,6,7,8,9,10,12,13,13,14") This algorithm makes no assumption on the order of data except that it should contain numbers from 1 to the largest number in the set. Their order or repetition are irrelevant. Robert From bill at bluewatermaritime.com Fri Dec 17 14:47:58 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Fri, 17 Dec 2010 15:47:58 -0400 Subject: Help me with my inability to see a simple solution In-Reply-To: References: Message-ID: That's exactly what I did. A day doesn't go by that I find another way to make a mistake. Thanks for all your help. On Fri, Dec 17, 2010 at 3:00 PM, Robert Brenstein wrote: > On 16.12.2010 at 20:36 Uhr -0400 william humphrey apparently wrote: > >> function getMissingNumbers pNumberList >> put empty into vOccurences >> repeat for each item vNumber in pNumberList >> add 1 to vOccurences[vNumber] >> end repeat >> get the keys of vOccurences >> sort lines of it numeric >> put line -1 of it into vLargestNumber >> put empty into vMissing >> repeat with i=1 to vLargestNumber >> if vOccurences[i] is empty then put i & comma after vMissing >> end repeat >> delete char -1 of vMissing >> return vMissing >> end getMissingNumbers >> >> this returns a sequential list of all numbers, not just the missing >> numbers >> > > Just tested this and it works for me. May be you passed the data as > multiple parameters instead of one. I mean sth like > > answer getMissingNumbers(3,4,5,6,6,7,8,9,10,12,13,13,14) > > instead of > > answer getMissingNumbers("3,4,5,6,6,7,8,9,10,12,13,13,14") > > This algorithm makes no assumption on the order of data except that it > should contain numbers from 1 to the largest number in the set. Their order > or repetition are irrelevant. > > > Robert > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.bluewatermaritime.com From katir at hindu.org Fri Dec 17 15:12:01 2010 From: katir at hindu.org (Sivakatirswami) Date: Fri, 17 Dec 2010 10:12:01 -1000 Subject: Target Stack-Screen Rect for Cross Platform Apps Message-ID: <4D0BC411.6030100@hindu.org> I want to develop some edu things that will first and foremost end up running on a PC (win or mac mostly) and getting displayed on a projector in front of children. But we plan to build out these apps, so that they have considerable resources for a studious individual to dig into them on their own time... so that they could run in the future web plug in and also in an iPad. Even future tablets. The hot new tablet in India is only 800 X 600, which was a bit disappointing, but clearly they wanted to deliver something you could easily hold.. So I would be interested in any of your thoughts. I will probably lock it down to landscape since the design will be used on projectors... If we build for XGA then it will take the entire vertical space (768) but I'm thinking that's not a good idea as I'm learning there are still a lot of hot notebooks that are XGA screen rect and they will want to see their task bar...Also if you do it in a web browser plug in sometimes the browser is hogging as much as 100 pixel for the URL field and all the widgets running in IE -- I screen shared on Skype with a new PC users recently and it seemed like they almost had 150px of "stuff" at the top of their browser and they did not a) use any of those widgets and b) did not know how to turn off their appearance. So the stack diagrams I had made on Lucid Chart for them to look at were partly below their screen...(forcein them to scroll up and down) until I suggested they turn off all that stuff at the top of the browser window. The most conservative way to go would be to build at 800 X 600...it would still look pretty good on an iPad (but might not get accepted into the store because of the size?) but I'm itching to use more space... Any thoughts? From richmondmathewson at gmail.com Fri Dec 17 15:36:22 2010 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 17 Dec 2010 22:36:22 +0200 Subject: Target Stack-Screen Rect for Cross Platform Apps In-Reply-To: <4D0BC411.6030100@hindu.org> References: <4D0BC411.6030100@hindu.org> Message-ID: <4D0BC9C6.1080503@gmail.com> On 12/17/2010 10:12 PM, Sivakatirswami wrote: > I want to develop some edu things that will first and foremost end up > running on a PC (win or mac mostly) and getting displayed on a > projector in front of children. > > > But we plan to build out these apps, so that they have considerable > resources for a studious individual to dig into them on their own > time... so that they could run in the future web plug in and also in > an iPad. Even future tablets. > > The hot new tablet in India is only 800 X 600, which was a bit > disappointing, but clearly they wanted to deliver something you could > easily hold.. > > So I would be interested in any of your thoughts. I will probably lock > it down to landscape since the design will be used on projectors... > Bear in mind that the cheaper end (although one could hardly call data projectors 'cheap') of the projector marlet delivers a screen res of 800 x 600 as well as your tablets. > If we build for XGA then it will take the entire vertical space (768) > but I'm thinking that's not a good idea as I'm learning there are > still a lot of hot notebooks that are XGA screen rect and they will > want to see their task bar...Also if you do it in a web browser plug > in sometimes the browser is hogging as much as 100 pixel for the URL > field and all the widgets running in IE -- I screen shared on Skype > with a new PC users recently and it seemed like they almost had 150px > of "stuff" at the top of their browser and they did not a) use any of > those widgets and b) did not know how to turn off their appearance. So > the stack diagrams I had made on Lucid Chart for them to look at were > partly below their screen...(forcein them to scroll up and down) until > I suggested they turn off all that stuff at the top of the browser > window. > > The most conservative way to go would be to build at 800 X 600...it > would still look pretty good on an iPad (but might not get accepted > into the store because of the size?) but I'm itching to use more space... I'm sure you are; however more space is a luxury. It is a discipline to confine oneself to a smaller screen size. However, if one remembers what wonders were done with sub 640 x 480 screens, one will realise that a lot can be done in 800 x 600; just don't display the end result on some whopping-great screen as the pixelation will make your eyes go very funny indeed. > > Any thoughts? > From ambassador at fourthworld.com Fri Dec 17 21:08:13 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 17 Dec 2010 18:08:13 -0800 Subject: Windows error 32 Message-ID: <4D0C178D.7040100@fourthworld.com> I'm making an uninstaller for one of my apps on Windows, and everything's working swell except for one detail: I can delete all files and folders related to the install with ease, but when I try to delete the application folder sysError returns 32, which means it's in use by another process. Here's the setup: The uninstaller works as we're required to do on Windows: when launched it makes a copy of itself into the temp folder, and launches that copy after which the original quits. We have to do that because of course an app can't delete itself. The copy has the UI that the user clicks to start the uninstall. That copy in temp works great, and clears out everything, even the original uninstaller that launched it. The one thing it can't do is delete the folder the app was originally in, which is in the Program Files directory, e.g.: C:\Program Files\MyApp\ It seems weird to me that I can so easily delete all the contents of that folder, even all the nested subfolders that were in it, yet not the folder itself. And yes, I've checked: the folder is indeed empty. Even weirder, I can open LC afterward and run this in the Message Box: delete folder "C:/Program Files/MyApp/" ...and it deletes as expected without complaint. My first hunch was that since the original uninstaller app is launching the one doing the deleting, maybe I could add another layer of misdirection by having a copy of that app make another app in temp just to delete the damn folder. No go, same error 32. Any of you come across something like this before? How did you get around it? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From m.schonewille at economy-x-talk.com Fri Dec 17 21:18:34 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 18 Dec 2010 03:18:34 +0100 Subject: Windows error 32 In-Reply-To: <4D0C178D.7040100@fourthworld.com> References: <4D0C178D.7040100@fourthworld.com> Message-ID: <4FDC29D0-E3DF-4C72-A71E-7961CBBB4FA2@economy-x-talk.com> Hi Richard, All I know is that the Uninstaller created by the Installer Maker Plugin is able to remove the last folder if it is launched from the Add/Remove Programs control panel. Maybe that's the trick? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 18 dec 2010, at 03:08, Richard Gaskin wrote: > I'm making an uninstaller for one of my apps on Windows, and everything's working swell except for one detail: > > I can delete all files and folders related to the install with ease, but when I try to delete the application folder sysError returns 32, which means it's in use by another process. > > Here's the setup: > > The uninstaller works as we're required to do on Windows: when launched it makes a copy of itself into the temp folder, and launches that copy after which the original quits. We have to do that because of course an app can't delete itself. The copy has the UI that the user clicks to start the uninstall. > > That copy in temp works great, and clears out everything, even the original uninstaller that launched it. > > The one thing it can't do is delete the folder the app was originally in, which is in the Program Files directory, e.g.: > > C:\Program Files\MyApp\ > > It seems weird to me that I can so easily delete all the contents of that folder, even all the nested subfolders that were in it, yet not the folder itself. > > And yes, I've checked: the folder is indeed empty. > > Even weirder, I can open LC afterward and run this in the Message Box: > > delete folder "C:/Program Files/MyApp/" > > ...and it deletes as expected without complaint. > > My first hunch was that since the original uninstaller app is launching the one doing the deleting, maybe I could add another layer of misdirection by having a copy of that app make another app in temp just to delete the damn folder. No go, same error 32. > > Any of you come across something like this before? How did you get around it? > > -- > Richard Gaskin > Fourth World Media Corporation From chipp at chipp.com Fri Dec 17 21:20:19 2010 From: chipp at chipp.com (Chipp Walters) Date: Fri, 17 Dec 2010 20:20:19 -0600 Subject: Windows error 32 In-Reply-To: <4D0C178D.7040100@fourthworld.com> References: <4D0C178D.7040100@fourthworld.com> Message-ID: Hey Richard, Bummer. I've had situations in which a clean reboot STILL did not unlock a folder. Windows permissions are so difficult to manage, and sometimes they get stuck. Sorry I can't be of much help here, but there's a program which I use to try and determine what app is locking the folder: http://lockhunter.com/?ver=&vertype=pro&sm=main_window_64 I use it sometimes to help me figure out what's going on. HTH From ambassador at fourthworld.com Fri Dec 17 21:27:52 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 17 Dec 2010 18:27:52 -0800 Subject: Windows error 32 Message-ID: <4D0C1C28.7070603@fourthworld.com> Thanks for the input Mark, Chip. Mark Schonewille wrote: > All I know is that the Uninstaller created by the Installer > Maker Plugin is able to remove the last folder if it is > launched from the Add/Remove Programs control panel. Maybe > that's the trick? I haven't tried that yet, though if that's the only solution it's better than nothing. How does one let the system know where to find its uninstaller? I've previously used Wise Install, and provided a shortcut in the Start menu to uninstall. Wise Install's uninstaller works well from the app folder, using a method similar to the one I'm doing (but apparently just different enough that theirs doesn't get error 32 ). I'll look into your suggestion to limit uninstall to the control panel; any tips on providing the info to the system would be much appreciated (I'm assuming it's a reg key so it should be easy to turn up somewhere). In the meantime, if you have a way to allow uninstall to be run directly from the app's folder that would be great. Even if I tell them to use the control panel, changes are someone will find the uninstaller and try to run it directly from Program Files... -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From mwieder at ahsoftware.net Fri Dec 17 22:58:01 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 17 Dec 2010 19:58:01 -0800 Subject: Valentina db under Linux ??? In-Reply-To: References: Message-ID: <71752078.20101217195801@ahsoftware.net> Ruslan- Friday, December 17, 2010, 12:58:35 AM, you wrote: > I think better post to Valentina list > Or even to Ivan directly. I have CC to him Actually, I'll stay here. I'm concerned with LiveCode, not with Valentina. I did hear from Ivan, and followed up on his suggestions about deleting the symbolic links so that I could get to the next error phase. Typos in the install.sh file ("vserver" instead of "VServer"), links that didn't work until after a reboot, etc. Now I'm at the same place Warren's at trying to run any of the example files, with Valentina_Init() not found. So I tried this on Windows, thinking that if you can't get things together for linux, at least this ought to work on something more mainstream. Same problem - no Valentina_Init() found. And that's only after realizing that there's a second installer (install.rev) you have to run after you run the installer you download. And that fact isn't mentioned in the "updated" documentation rtf file that's displayed when you install the first time, nor is the folder "ADK_4" created, but "V4REV_4" instead. -- -Mark Wieder mwieder at ahsoftware.net From ruslan_zasukhin at valentina-db.com Sat Dec 18 02:33:51 2010 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Sat, 18 Dec 2010 09:33:51 +0200 Subject: Valentina db under Linux ??? In-Reply-To: <71752078.20101217195801@ahsoftware.net> Message-ID: On 12/18/10 5:58 AM, "Mark Wieder" wrote: Hi Mark, > So I tried this on Windows, thinking that if you can't get things > together for linux, at least this ought to work on something more > mainstream. Same problem - no Valentina_Init() found. And that's only > after realizing that there's a second installer (install.rev) you have > to run after you run the installer you download. And that fact isn't > mentioned in the "updated" documentation rtf file that's displayed > when you install the first time, nor is the folder "ADK_4" created, > but "V4REV_4" instead. Thank you for points on typos. We will check them. I think you need read a lots of docs in Valentina WIKI A) ROOT for V4REV http://www.valentina-db.com/dokuwiki/doku.php?id=valentina:products:adk:v4re v:v4rev B) Installation -- step by step with pictures http://www.valentina-db.com/dokuwiki/doku.php?id=valentina:products:adk:v4re v:manual:installation C) Databases from Zero http://www.valentina-db.com/dokuwiki/doku.php?id=valentina:products:adk:v4re v:howto:databases_from_zero:databases_from_zero D) Valentina SQL http://valentina-db.com/dokuwiki/doku.php?id=valentina:vcomponents:vsql:refe rence:reference E) ADK API in PDF and online form F) Valentina ENGINE descriptions and features - also in wiki G) Valentina Articles in WIKI - to get better understanding of Valentina features as RecID, ObjectPtr, Links, ... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From keith.clarke at clarkeandclarke.co.uk Sat Dec 18 04:07:52 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sat, 18 Dec 2010 09:07:52 +0000 Subject: Calling a revServer script from inside a .html page? Message-ID: Hi folks, Sorry if this has been discussed but I didn't strike upon the lucky search string! Is it possible to access the revServer engine via scripts in pages of mime-type other than .irev - such as .html - and if so, what is the trick? I have a test page of mime-type .irev working OK on my OSX Server machine but an embedded LiveCode script on the index.html page is ignored. To enable rev scripting within pages auto-generated by environments such as the OSX Wiki Server, it looks like there would need to be a way to embed LiveCode tags into pages (like Javascript) rather than scripted pages into sites (like PHP). Am I missing something obvious? Best Keith.. From psahores at free.fr Sat Dec 18 04:20:18 2010 From: psahores at free.fr (Pierre Sahores) Date: Sat, 18 Dec 2010 10:20:18 +0100 Subject: Calling a revServer script from inside a .html page? In-Reply-To: References: Message-ID: <2391F13D-C014-4DF8-8434-4178F688ECF8@free.fr> No way to do this directly but in mapping each .irev page to .html trough .htaccess rules, your page can be outputed as .html to the client's browser address bar. HTH, Le 18 d?c. 2010 ? 10:07, Keith Clarke a ?crit : > Hi folks, > Sorry if this has been discussed but I didn't strike upon the lucky search string! Is it possible to access the revServer engine via scripts in pages of mime-type other than .irev - such as .html - and if so, what is the trick? > > I have a test page of mime-type .irev working OK on my OSX Server machine but an embedded LiveCode script on the index.html page is ignored. > > To enable rev scripting within pages auto-generated by environments such as the OSX Wiki Server, it looks like there would need to be a way to embed LiveCode tags into pages (like Javascript) rather than scripted pages into sites (like PHP). Am I missing something obvious? > > Best > Keith.. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From harald at etcpp.de Sat Dec 18 04:21:50 2010 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Sat, 18 Dec 2010 10:21:50 +0100 Subject: iOS apps not getting past review due to crashing In-Reply-To: References: Message-ID: <07E5C44B-BD9E-4AAE-A0C5-16388606A741@etcpp.de> Just for your Info: LiveCOde 4.5.2 did work, no more errors while submitting. I'm really happy! Best regards, Harald. Am 14.12.2010 um 00:10 schrieb Harald M?ller: > Same here. No idea what more to try. > > Best regards, > Harald M?ller. > > > Am 14.12.2010 um 00:05 schrieb Brian Meriaho: > >> Hi, >> >> Has anyone else had a problem getting past the review step with iTunes >> Connect when submitting an app for Apple's App Store? I've built an >> app that runs on several iPhones, checked the certificates, checked >> the launch times, but still get rejected with a simple "it crashed". >> Not sure what is left to check. >> >> Regards, >> >> -Brian >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > From keith.clarke at clarkeandclarke.co.uk Sat Dec 18 05:39:43 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sat, 18 Dec 2010 10:39:43 +0000 Subject: Calling a revServer script from inside a .html page? In-Reply-To: <2391F13D-C014-4DF8-8434-4178F688ECF8@free.fr> References: <2391F13D-C014-4DF8-8434-4178F688ECF8@free.fr> Message-ID: <559A00FC-7ACE-40D3-AF65-D643D806D223@clarkeandclarke.co.uk> Pierre, Thanks for the clarification. Not quite the answer I was hoping as I want to rev-enable existing auto-generated pages where I can't change the page mime-type from html. Still, at least I can stop trying to rev-enable the OSX Wiki Server and get on with some development work! ;-) cordialement, Keith.. On 18 Dec 2010, at 09:20, Pierre Sahores wrote: > No way to do this directly but in mapping each .irev page to .html trough .htaccess rules, your page can be outputed as .html to the client's browser address bar. > > HTH, > > Le 18 d?c. 2010 ? 10:07, Keith Clarke a ?crit : > >> Hi folks, >> Sorry if this has been discussed but I didn't strike upon the lucky search string! Is it possible to access the revServer engine via scripts in pages of mime-type other than .irev - such as .html - and if so, what is the trick? >> >> I have a test page of mime-type .irev working OK on my OSX Server machine but an embedded LiveCode script on the index.html page is ignored. >> >> To enable rev scripting within pages auto-generated by environments such as the OSX Wiki Server, it looks like there would need to be a way to embed LiveCode tags into pages (like Javascript) rather than scripted pages into sites (like PHP). Am I missing something obvious? >> >> Best >> Keith.. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > -- > Pierre Sahores > mobile : (33) 6 03 95 77 70 > > www.woooooooords.com > www.sahores-conseil.com > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From davidocoker at gmail.com Sat Dec 18 08:13:56 2010 From: davidocoker at gmail.com (David C.) Date: Sat, 18 Dec 2010 07:13:56 -0600 Subject: Calling a revServer script from inside a .html page? In-Reply-To: References: Message-ID: > Hi folks, > Sorry if this has been discussed but I didn't strike upon the lucky search string! Is it possible to access the > revServer engine via scripts in pages of mime-type other than .irev - such as .html - and if so, what is the trick? > > I have a test page of mime-type .irev working OK on my OSX Server machine but an embedded LiveCode script > on the index.html page is ignored. > > To enable rev scripting within pages auto-generated by environments such as the OSX Wiki Server, it looks like > there would need to be a way to embed LiveCode tags into pages (like Javascript) rather than scripted pages > into sites (like PHP). Am I missing something obvious? Keith, I may be wrong, but I think that I read that what you need can be accomplished using Ralf Bitter's really cool revIgniter framework: http://revigniter.com/ Perhaps it might be of help to you in any case. Best regards, David C. From keith.clarke at clarkeandclarke.co.uk Sat Dec 18 09:09:05 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sat, 18 Dec 2010 14:09:05 +0000 Subject: Calling a revServer script from inside a .html page? In-Reply-To: References: Message-ID: <3D5C6D41-635B-4243-8B91-6706F821B308@clarkeandclarke.co.uk> ...OK, thanks David. I've had revIgniter nestling in my Downloads file whilst I grappled with getting revserver installed. So this might be the driver to learn, install & play (well, not necessarily in that order!) Best, Keith.. On 18 Dec 2010, at 13:13, David C. wrote: >> Hi folks, >> Sorry if this has been discussed but I didn't strike upon the lucky search string! Is it possible to access the >> revServer engine via scripts in pages of mime-type other than .irev - such as .html - and if so, what is the trick? >> >> I have a test page of mime-type .irev working OK on my OSX Server machine but an embedded LiveCode script >> on the index.html page is ignored. >> >> To enable rev scripting within pages auto-generated by environments such as the OSX Wiki Server, it looks like >> there would need to be a way to embed LiveCode tags into pages (like Javascript) rather than scripted pages >> into sites (like PHP). Am I missing something obvious? > > > Keith, > I may be wrong, but I think that I read that what you need can be > accomplished using Ralf Bitter's really cool revIgniter framework: > http://revigniter.com/ > > Perhaps it might be of help to you in any case. > > > Best regards, > David C. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Sat Dec 18 09:27:37 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 18 Dec 2010 07:27:37 -0700 Subject: Calling a revServer script from inside a .html page? In-Reply-To: <3D5C6D41-635B-4243-8B91-6706F821B308@clarkeandclarke.co.uk> References: <3D5C6D41-635B-4243-8B91-6706F821B308@clarkeandclarke.co.uk> Message-ID: Might look at what you can do with server side includes too. Though I think from your description, the section on enabling xbithack probably doesn't apply since it sound like you're dealing with generated pages rather than real. Still, worth a look. This won't let you embed rev scripts directly in the page, but you could do a to include content from an irev script. If you decide to experiment with this, make sure to pay special attention to the section on executing commands. Specifically the last paragraph that tells you how to disable that particular feature. Heres a link to the official SSI howto. http://httpd.apache.org/docs/current/howto/ssi.html On Sat, Dec 18, 2010 at 7:09 AM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > ...OK, thanks David. I've had revIgniter nestling in my Downloads file > whilst I grappled with getting revserver installed. So this might be the > driver to learn, install & play (well, not necessarily in that order!) > Best, > Keith.. > > On 18 Dec 2010, at 13:13, David C. wrote: > > >> Hi folks, > >> Sorry if this has been discussed but I didn't strike upon the lucky > search string! Is it possible to access the > >> revServer engine via scripts in pages of mime-type other than .irev - > such as .html - and if so, what is the trick? > >> > >> I have a test page of mime-type .irev working OK on my OSX Server > machine but an embedded LiveCode script > >> on the index.html page is ignored. > >> > >> To enable rev scripting within pages auto-generated by environments such > as the OSX Wiki Server, it looks like > >> there would need to be a way to embed LiveCode tags into pages (like > Javascript) rather than scripted pages > >> into sites (like PHP). Am I missing something obvious? > > > > > > Keith, > > I may be wrong, but I think that I read that what you need can be > > accomplished using Ralf Bitter's really cool revIgniter framework: > > http://revigniter.com/ > > > > Perhaps it might be of help to you in any case. > > > > > > Best regards, > > David C. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Sat Dec 18 09:59:14 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 18 Dec 2010 06:59:14 -0800 Subject: Calling a revServer script from inside a .html page? Message-ID: <4D0CCC42.8090305@fourthworld.com> Keith Clarke wrote: > Pierre, Thanks for the clarification. Not quite the answer I was > hoping as I want to rev-enable existing auto-generated pages where > I can't change the page mime-type from html. That's how just how Apache works with RevServer and AFAIK any other CGI-like process that you want the server to invoke for further processing. With mod-rewrite rules in a .htaccess file you can do all sorts of stuff. RevServer installs require this anyway; it's included by default with on-rev.com accounts, and to use RevServer on any other server you need to put those rules into a .htaccess file; without them, Apache would have no way to know to hand off those page requests to your CGI. Here's the one I use at livecodejournal.com: RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^(.+)\.irv$ /cgi-bin/irv.cgi?%{REQUEST_FILENAME} [L,NC,QSA] In brief, it says to take any request for a file ending in .irv and hand it over to /cgi-bin/irv.cgi for further processing before passing the results back to the requester. mod_rewrite is very powerful, and well worth the modest amount of time needed to become familiar with it. Like most Apache modules, it's well documented all over the web. The Apache docs are a good start: ...and there's a ton of other great examples and tutorials to be found. One challenge with using .html is that you may want to have some static pages there, and just replacing ".irv" with ".html" in the rules above will redirect all .html requests to your CGI, which can eat more processing time than necessary if you leave it up to your CGI to determine whether to do further processing or just hand the contents back to Apache. That's why most configs specify certain file types for specific additional processing (e.g., ".php" for PHP, ".asp" for Microsoft's DB setup, ".irev" for RevServer, etc.). But if you really want your CGI to process all .html requests, you can modify the rules above and drop it in a .htaccess file on your server and you're good to go. One useful thing to keep in mind is that any mod_rewrite rules in a .htaccess file affect only the directory that the .htaccess file is in and any subdirectories within it. So if you wanted to have one folder that gets preprocessed with a CGI while using other folders for static pages, just put your .htaccess file in the folder where you want the pages processed and the others will be left for Apache to handle by itself. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From ambassador at fourthworld.com Sat Dec 18 10:15:17 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 18 Dec 2010 07:15:17 -0800 Subject: Windows error 32 - SOLVED Message-ID: <4D0CD005.1010802@fourthworld.com> If any of you ever need to do anything like this, the solution turned out to be quite simple: I noticed that I could use the same "delete folder" command from within LC to delete the folder in question, just not from the app that originates in the problem folder. Since the OS error is 32 (obtained from LC's sysError function, a godsend for anything related to file I/O), it occurred to me that the issue is that the deletion process is beginning with an app that resides in that folder, and therefore is using that folder as the current working directory. Apparently, even though it quits before the copy in temp takes over, because the original copy in that application folder is what launched the app in temp, the current working directory had not changed, and the OS was simply doing its job of preserving objects in use. So the fix is a one-liner, added just before the original app launches the copy in the temp folder: set the directory to tTempFolder tTempFolder is obtained with LC's specialFolderPath("temporary"), and used to create the file name of the copy of the app that does the actual uninstall. By changing the working directory before launching the copy, the original folder in Program Files is now free to be deleted. Works a treat. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv Yesterday I wrote: > I'm making an uninstaller for one of my apps on Windows, and > everything's working swell except for one detail: > > I can delete all files and folders related to the install with ease, but > when I try to delete the application folder sysError returns 32, which > means it's in use by another process. > > Here's the setup: > > The uninstaller works as we're required to do on Windows: when launched > it makes a copy of itself into the temp folder, and launches that copy > after which the original quits. We have to do that because of course an > app can't delete itself. The copy has the UI that the user clicks to > start the uninstall. > > That copy in temp works great, and clears out everything, even the > original uninstaller that launched it. > > The one thing it can't do is delete the folder the app was originally > in, which is in the Program Files directory, e.g.: > > C:\Program Files\MyApp\ > > It seems weird to me that I can so easily delete all the contents of > that folder, even all the nested subfolders that were in it, yet not the > folder itself. > > And yes, I've checked: the folder is indeed empty. > > Even weirder, I can open LC afterward and run this in the Message Box: > > delete folder "C:/Program Files/MyApp/" > > ...and it deletes as expected without complaint. > > My first hunch was that since the original uninstaller app is launching > the one doing the deleting, maybe I could add another layer of > misdirection by having a copy of that app make another app in temp just > to delete the damn folder. No go, same error 32. > > Any of you come across something like this before? How did you get > around it? From keith.clarke at clarkeandclarke.co.uk Sat Dec 18 13:01:07 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sat, 18 Dec 2010 18:01:07 +0000 Subject: Calling a revServer script from inside a .html page? In-Reply-To: <4D0CCC42.8090305@fourthworld.com> References: <4D0CCC42.8090305@fourthworld.com> Message-ID: Richard, Thanks, for the clarification on how the CGI process works and how mod_rewrite & .htaccess can be used to tweak things. I'm not sure about these being essential to enable revServer - unless they do more than manage the script hand-off to the revServer engine. As I have full access to my server, I've adopted/adapted the virtual host scenario in this lesson http://lessons.runrev.com/spaces/lessons/buckets/814/lessons/16631-Getting-Up-and-Running-with-revServer And, plagiarising heavily from Devin Asay's OSX Server configuration, I was able to follow the Apache security recommendation of avoiding .htaccess files and overrides if possible. The CGI script handler and action directives are in my server's 'master' httpd.conf and so I have server-wide support for irev-script CGI calls for pages with a '.irev' mime-type suffix. I'll be publishing a how-to for revServer on OSX very shortly. However, the .htaccess workaround might be OK (and low-risk) for a low-traffic site on a non-production server - so it might allow me to rev-enable the OSX Wiki Server pages on my development box. I'll experiment with this - and if it works, I'll add it to my 'RevServer on OSX' How-to guide. Best, Keith.. On 18 Dec 2010, at 14:59, Richard Gaskin wrote: > Keith Clarke wrote: > > > Pierre, Thanks for the clarification. Not quite the answer I was > > hoping as I want to rev-enable existing auto-generated pages where > > I can't change the page mime-type from html. > > That's how just how Apache works with RevServer and AFAIK any other CGI-like process that you want the server to invoke for further processing. > > With mod-rewrite rules in a .htaccess file you can do all sorts of stuff. > > RevServer installs require this anyway; it's included by default with on-rev.com accounts, and to use RevServer on any other server you need to put those rules into a .htaccess file; without them, Apache would have no way to know to hand off those page requests to your CGI. > > Here's the one I use at livecodejournal.com: > > RewriteEngine On > RewriteBase / > RewriteCond %{REQUEST_FILENAME} -f > RewriteRule ^(.+)\.irv$ /cgi-bin/irv.cgi?%{REQUEST_FILENAME} [L,NC,QSA] > > In brief, it says to take any request for a file ending in .irv and hand it over to /cgi-bin/irv.cgi for further processing before passing the results back to the requester. > > mod_rewrite is very powerful, and well worth the modest amount of time needed to become familiar with it. Like most Apache modules, it's well documented all over the web. The Apache docs are a good start: > > > ...and there's a ton of other great examples and tutorials to be found. > > One challenge with using .html is that you may want to have some static pages there, and just replacing ".irv" with ".html" in the rules above will redirect all .html requests to your CGI, which can eat more processing time than necessary if you leave it up to your CGI to determine whether to do further processing or just hand the contents back to Apache. > > That's why most configs specify certain file types for specific additional processing (e.g., ".php" for PHP, ".asp" for Microsoft's DB setup, ".irev" for RevServer, etc.). > > But if you really want your CGI to process all .html requests, you can modify the rules above and drop it in a .htaccess file on your server and you're good to go. > > One useful thing to keep in mind is that any mod_rewrite rules in a .htaccess file affect only the directory that the .htaccess file is in and any subdirectories within it. So if you wanted to have one folder that gets preprocessed with a CGI while using other folders for static pages, just put your .htaccess file in the folder where you want the pages processed and the others will be left for Apache to handle by itself. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvg at mac.com Sat Dec 18 13:02:34 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 18 Dec 2010 19:02:34 +0100 Subject: Live liveCode code event #4 In-Reply-To: <0854226F-E213-4646-B558-7ABFDADE2267@mac.com> References: <0854226F-E213-4646-B558-7ABFDADE2267@mac.com> Message-ID: Hey guys Please note that the event starts within the hour, so don't forget to join chatrev: http://bjoernke.com?target=chatrev or: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" Have fun Bjoernke On 17 Dec 2010, at 02:42, Bj?rnke von Gierke wrote: > Hello you weird people > > We return for a last time this year, with David Bovill, as well as Chris Innanen, doing presentations. If there's enough time, I'll add a Q&A session, if you want to, you might assemble random questions for that. Furthermore, please be very sad that there'll be a pause after this event, because Nr. 5 is planned for the 8th January, giving everyone a deserved break. > > Unfortunately Da'vid did not tell me what he's planning (up to now), so I guess it'll be a surprise for everyone. He will be doing the first half hour (or a time period resembling that) on his channel: > http://livecode.tv/david/ > > Chris will be showing how to use LiveCode for one-off, rapidly thrown together tools for everyday data manipulation and automation. For example scraping a web site, converting a DVD or managing makfiles. Topics will include text manipulation, process handling and shell commands. Watch him during the second half hour (approximation) here: > http://livecode.tv/nonsanity/ > > Random BvG questioning might then happen, or not, depending on time: > http://livecode.tv/bvg/ > > > Please vote on your preferred days, if Saturday is not among your participating days: > http://qurl.tk/m1 > > Join us this Saturday: > Zurich: 20:00 > Buenos Aires: 16:00 > New York: 14:00 > San Francisco: 11:00 > Sydney: 06:00 > > > Make sure to us chatRev during the happening, because all the cool kids do: > http://bjoernke.com?target=chatrev > or: > go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" > > Have fun > Bjoernke > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at clarkeandclarke.co.uk Sat Dec 18 13:03:49 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sat, 18 Dec 2010 18:03:49 +0000 Subject: Calling a revServer script from inside a .html page? In-Reply-To: References: <3D5C6D41-635B-4243-8B91-6706F821B308@clarkeandclarke.co.uk> Message-ID: ...thanks Mike. I don't really understand much of this - but it's early days for me in hacking servers and Apache configs! Richard has provided a potential short-term work-around for my dev site, but I'll have a look SSIs again once I've learned a bit more and have maybe got part-way up the revIgniter learning curve - and then hopefully it might start to make sense :-) Best, Keith.. On 18 Dec 2010, at 14:27, Mike Bonner wrote: > Might look at what you can do with server side includes too. Though I think > from your description, the section on enabling xbithack probably doesn't > apply since it sound like you're dealing with generated pages rather than > real. Still, worth a look. This won't let you embed rev scripts directly in > the page, but you could do a > to include content from an irev script. > > If you decide to experiment with this, make sure to pay special attention to > the section on executing commands. Specifically the last paragraph that > tells you how to disable that particular feature. > > Heres a link to the official SSI howto. > http://httpd.apache.org/docs/current/howto/ssi.html > > On Sat, Dec 18, 2010 at 7:09 AM, Keith Clarke < > keith.clarke at clarkeandclarke.co.uk> wrote: > >> ...OK, thanks David. I've had revIgniter nestling in my Downloads file >> whilst I grappled with getting revserver installed. So this might be the >> driver to learn, install & play (well, not necessarily in that order!) >> Best, >> Keith.. >> >> On 18 Dec 2010, at 13:13, David C. wrote: >> >>>> Hi folks, >>>> Sorry if this has been discussed but I didn't strike upon the lucky >> search string! Is it possible to access the >>>> revServer engine via scripts in pages of mime-type other than .irev - >> such as .html - and if so, what is the trick? >>>> >>>> I have a test page of mime-type .irev working OK on my OSX Server >> machine but an embedded LiveCode script >>>> on the index.html page is ignored. >>>> >>>> To enable rev scripting within pages auto-generated by environments such >> as the OSX Wiki Server, it looks like >>>> there would need to be a way to embed LiveCode tags into pages (like >> Javascript) rather than scripted pages >>>> into sites (like PHP). Am I missing something obvious? >>> >>> >>> Keith, >>> I may be wrong, but I think that I read that what you need can be >>> accomplished using Ralf Bitter's really cool revIgniter framework: >>> http://revigniter.com/ >>> >>> Perhaps it might be of help to you in any case. >>> >>> >>> Best regards, >>> David C. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From iowahengst at mac.com Sat Dec 18 13:38:04 2010 From: iowahengst at mac.com (Randy Hengst) Date: Sat, 18 Dec 2010 12:38:04 -0600 Subject: iOS Orientation Problem Message-ID: Hi All, I continue to have an issue with getting iOS to lock the orientation.... whether it's landscape or portrait. I've contacted support and they are following up, but I thought I'd see if anyone has time to try and duplicate my problem. If so, I'll send details off list, but briefly..... I'm using the newest LC 4.5.3 on a Mac with 10.6.5. I also saw the problem with 4.5.2 I've been able to demonstrate this issue with three different apps on two iPods (iOS 4.1 iPod), one iPhone ( iOS 4.0.2) and one iPad ( iOS 3.2.2). I've completed the three steps outlined in the docs to lock orientation..... If you wish to lock your applications to a specific orientation (or set of orientations) on startup, then you must: ? set the initial orientation setting in the standalone builder appropriately ? configure the supported orientations setting in the standalone builder appropriately ? use the iphoneSetAllowedOrientations command in a startup handler to configure what orientations are allowed at runtime For each step I designated only portrait... Then, transfer the app to your iPod... If you open the app while holding the iPod in portrait orientation, all is well. It opens in portrait and stays there when you rotate the iPod... just like it should. But, when you open the app while holding your iPod in any orientation except portrait, the app will open in portrait and immediately rotate to the orientation that matches the iPod. Now, if you rotate the iPod to an orientation other than portrait, nothing will happen... when you rotate the app to portrait, it will then lock in... I have more detail... screen shots of my settings, a demo app I made based on the orientation demo included with LiveCode, and a video to show what I mean... but I'll send those off list when you have time to take a look. take care, randy hengst From mwieder at ahsoftware.net Sat Dec 18 13:44:21 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 18 Dec 2010 10:44:21 -0800 Subject: Valentina db under Linux ??? In-Reply-To: References: Message-ID: <19654932531.20101218104421@ahsoftware.net> Ruslan- Friday, December 17, 2010, 11:33:51 PM, you wrote: > Thank you for points on typos. We will check them. You might try testing the installers before releasing them. > I think you need read a lots of docs in Valentina WIKI Well, let's see... I went here http://www.valentina-db.com/en/revolution nothing there but marketing. So I went here http://www.valentina-db.com/en/downloads/valentina-for-runtime-revolution downloaded it and installed. Is there some reason that the installation directions (self-described as "updated") don't mention the fact that one needs to go to the wiki to find out how to install? Shouldn't this be in the *installer directions* that appear when you launch the first installer? and are in readme document? At any rate, yes, I did do all the installation steps in the wiki document. On both linux and Windows. To repeat, there is no "Valentina for Revolution" or anything like it (maybe it should say LiveCode?) in the externalPackages. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat Dec 18 14:21:42 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 18 Dec 2010 11:21:42 -0800 Subject: Valentina db under Linux ??? In-Reply-To: References: Message-ID: <19857172687.20101218112142@ahsoftware.net> Ruslan- Saturday, December 18, 2010, 10:56:04 AM, you wrote: > 1) once again .. Such issues about Valentina better discuss on Valentina > list. And again, it's LiveCode integration I'm concerned with, not Valentina as such. If it's not working for me in LiveCode then it's not working for others, and the process of working that out is germane to the LiveCode community. For that reason I'd want to keep this on list. > In ReadMe present link to WIKI. Yes, but not that it's necessary to read a specific page to know how to install. It's under the "Documentation" section, not the "Installation" section. There's nothing there that indicates that there might be more to installation than the included instructions. > We have history and reasons do this in such way. OK. > Yes, we know that Revolution was renamed to Livecode. > Thank you to mention this :-) I've been revising my code base lately as well > You have write many text, but for me not clear the most important: > Does it works for you NOW ? > when you know about second install step? No. I knew about the second installation step *before* I posted what didn't work. -- -Mark mwieder at ahsoftware.net From lfredricks at proactive-intl.com Sat Dec 18 14:38:14 2010 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sat, 18 Dec 2010 11:38:14 -0800 Subject: Valentina db under Linux ??? In-Reply-To: <19857172687.20101218112142@ahsoftware.net> References: <19857172687.20101218112142@ahsoftware.net> Message-ID: <0D668BFB0B194BB3A9898B2CD3A26C77@GATEWAY> Hi Mark, > > 1) once again .. Such issues about Valentina better discuss on > > Valentina list. > > And again, it's LiveCode integration I'm concerned with, not > Valentina as such. If it's not working for me in LiveCode > then it's not working for others, and the process of working > that out is germane to the LiveCode community. For that > reason I'd want to keep this on list. Thats fine - if you have an idea about how to make the process easier, we want to hear it. I think having a spash screen that explains the two step process sounds like a great idea. The two step way is a little problematic, and it would be nice if there was an easier way to install externals like this. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From mwieder at ahsoftware.net Sat Dec 18 15:59:25 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 18 Dec 2010 12:59:25 -0800 Subject: Valentina db under Linux ??? In-Reply-To: <0D668BFB0B194BB3A9898B2CD3A26C77@GATEWAY> References: <19857172687.20101218112142@ahsoftware.net> <0D668BFB0B194BB3A9898B2CD3A26C77@GATEWAY> Message-ID: <8763035843.20101218125925@ahsoftware.net> Lynn- Saturday, December 18, 2010, 11:38:14 AM, you wrote: > Thats fine - if you have an idea about how to make the process easier, we > want to hear it. I think having a spash screen that explains the two step > process sounds like a great idea. Now *that's* a topic I'd probably take offline since I think it's of less general interest. > The two step way is a little problematic, and it would be nice if there was > an easier way to install externals like this. What's the big deal? You copy the library into the user's Externals folder, restart the IDE, and you're set to go. However, the v4rev.dll library placed there by the valentina installer (I'm not at my linux computer right now, so I can't verify the library name there) doesn't show up in the externalpackages, leading me to asssume it's compiled wrong. Hard to believe this is ever gonna work. While I'm on the subject, the externalfunctions of stack "home" shows two (!) copies each of revdb_valentina(), revdb_valentinacursorref(), revdb_valentinadbref(), and revdb_valentinadbreftoconnection(), even without the valentina driver installed. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat Dec 18 16:50:31 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 18 Dec 2010 13:50:31 -0800 Subject: PowerDebug update Message-ID: <10566102046.20101218135031@ahsoftware.net> Now that we're approaching the winter soltice and the days are still getting shorter, I guess it's time to put out the word that the introductory pricing on PowerDebug will be expiring at the end of the year, so there's about two weeks left now. And I recently posted PowerTrace to revOnline, which lets you trap individual events from the messagewatcher and trigger the debugger when they occur. http://www.ahsoftware.net/PowerTools/BuyPowerDebug.irev demo revlet at http://www.ahsoftware.net/PowerTools/PowerDebug/PDDemo.html -- -Mark Wieder mwieder at ahsoftware.net From katir at hindu.org Sat Dec 18 16:57:01 2010 From: katir at hindu.org (Sivakatirswami) Date: Sat, 18 Dec 2010 11:57:01 -1000 Subject: cmd key modifier not working? Message-ID: <4D0D2E2D.2090503@hindu.org> OSX Livecode 4.5.2 I have this menu: Stop/1 Back Up/2 Forward/3 Resume/4 the menu appears with "cmd +1" as expected and I could have sworn that it used to work, but now when I hit the keys, nothing happens. The menu is OK.. if I go to the menu and pull down and choose the item.. it works. I'm in the IDE ...these same keys are slotted for card navigation; but I have the development tools suspended.... Any clues? Sivakatirswami From MikeKerner at roadrunner.com Sat Dec 18 16:57:10 2010 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 18 Dec 2010 16:57:10 -0500 Subject: closeField - Curious Message-ID: OK, if I understand previous threads correctly, closeField does not get send when you click on a button. So what happens if you click on a button that does something that causes the field to lose the focus - e.g. navigating to another card, putting different text in the field, selecting the text of another field, etc. what then? I guess I need a better explanation of when closeField does and does not get sent. From lfredricks at proactive-intl.com Sat Dec 18 17:22:01 2010 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sat, 18 Dec 2010 14:22:01 -0800 Subject: Valentina db under Linux ??? In-Reply-To: <8763035843.20101218125925@ahsoftware.net> References: <19857172687.20101218112142@ahsoftware.net><0D668BFB0B194BB3A9898B2CD3A26C77@GATEWAY> <8763035843.20101218125925@ahsoftware.net> Message-ID: > What's the big deal? You copy the library into the user's > Externals folder, restart the IDE, and you're set to go. > However, the v4rev.dll library placed there by the valentina > installer (I'm not at my linux computer right now, so I can't > verify the library name there) doesn't show up in the > externalpackages, leading me to asssume it's compiled wrong. > Hard to believe this is ever gonna work. Im not sure about it under Linux, but on Windows where Ive done the install several times. Maybe our installer guy is missing something, but my understanding is that it's a two stepper for a specific reason - because there has to be some bridge set up between the Valentina components and LiveCode, that couldn't be accomplished with the standard installer. I believe this set up was something different that what we did previously with Revolution, when you had the "roll back" system and multiple versions installed. > While I'm on the subject, the externalfunctions of stack > "home" shows two (!) copies each of revdb_valentina(), > revdb_valentinacursorref(), revdb_valentinadbref(), and > revdb_valentinadbreftoconnection(), even without the > valentina driver installed. I've cc'd to Ruslan to have someone check it out. I know he and our primarily Linux guy are whittling away on this. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From DunbarX at aol.com Sat Dec 18 18:02:45 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Sat, 18 Dec 2010 18:02:45 EST Subject: closeField - Curious Message-ID: <11e9.1c506747.3a3e9795@aol.com> CloseField is sent only when something in the field has changed. If you only have focus in a field, and click on a button that sends you to another card, trap exitfield instead. it is sent when focus is lost, and nothing has changed. But in either case, the appropriate message is sent. If you have focus in a field, and click on a button that sends you somewhere else, trap both messages with something that tells you which one was caught. You will find that the messages are sent. When the field loses focus, it tells you. Craig Newman From mwieder at ahsoftware.net Sat Dec 18 18:16:45 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 18 Dec 2010 15:16:45 -0800 Subject: Valentina db under Linux ??? In-Reply-To: References: <19857172687.20101218112142@ahsoftware.net><0D668BFB0B194BB3A9898B2CD3A26C77@GATEWAY> <8763035843.20101218125925@ahsoftware.net> Message-ID: <13871276453.20101218151645@ahsoftware.net> Lynn- Saturday, December 18, 2010, 2:22:01 PM, you wrote: > I believe this set up was something different that what we did previously > with Revolution, when you had the "roll back" system and multiple versions > installed. Ah. This is sounding less like a general-interest "here's how to get Valentina working with LiveCode" thing and more like something offline until it really *is* working. So let me put out the call... can *anyone* install Valentina and have it working from LiveCode? > I've cc'd to Ruslan to have someone check it out. I know he and our > primarily Linux guy are whittling away on this. OK. Has Valentina *ever* worked on linux? Is this a new build? -- -Mark Wieder mwieder at ahsoftware.net From pepetoo at cox.net Sat Dec 18 18:17:20 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sat, 18 Dec 2010 15:17:20 -0800 Subject: cmd key modifier not working? In-Reply-To: <4D0D2E2D.2090503@hindu.org> References: <4D0D2E2D.2090503@hindu.org> Message-ID: <1AC9CE5E-A3F6-4AFB-88C3-470F58D40038@cox.net> Hi Siva, I've been posting problems with command keys misbehaving with 4.5.2 for the past week, but no responses. Joe Lewis Wilkins Architect & Director of Product Development for GSI On Dec 18, 2010, at 1:57 PM, Sivakatirswami wrote: > OSX Livecode 4.5.2 > > I have this menu: > > Stop/1 > Back Up/2 > Forward/3 > Resume/4 > > the menu appears with "cmd +1" as expected and I could have sworn that it used to work, but now when I hit the keys, nothing happens. The menu is OK.. if I go to the menu and pull down and choose the item.. it works. > > I'm in the IDE ...these same keys are slotted for card navigation; but I have the development tools suspended.... > > Any clues? > > Sivakatirswami > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pepetoo at cox.net Sat Dec 18 18:21:37 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sat, 18 Dec 2010 15:21:37 -0800 Subject: cmd key modifier not working? In-Reply-To: <4D0D2E2D.2090503@hindu.org> References: <4D0D2E2D.2090503@hindu.org> Message-ID: <3BDD7746-8428-4008-85D7-0AA3DF5118A5@cox.net> Do you have "on commandkeydown" implemented either in the menu script or the stack script? You need that for the commandkeys to work. Joe Lewis Wilkins Architect & Director of Product Development for GSI On Dec 18, 2010, at 1:57 PM, Sivakatirswami wrote: > OSX Livecode 4.5.2 > > I have this menu: > > Stop/1 > Back Up/2 > Forward/3 > Resume/4 > > the menu appears with "cmd +1" as expected and I could have sworn that it used to work, but now when I hit the keys, nothing happens. The menu is OK.. if I go to the menu and pull down and choose the item.. it works. > > I'm in the IDE ...these same keys are slotted for card navigation; but I have the development tools suspended.... > > Any clues? > > Sivakatirswami > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harald at etcpp.de Sat Dec 18 18:31:32 2010 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Sun, 19 Dec 2010 00:31:32 +0100 Subject: iOS apps not getting past review due to crashing In-Reply-To: <07E5C44B-BD9E-4AAE-A0C5-16388606A741@etcpp.de> References: <07E5C44B-BD9E-4AAE-A0C5-16388606A741@etcpp.de> Message-ID: <2A4CF28C-43A9-40A5-8325-26CE0250D5A4@etcpp.de> And the second App is now also "ready for sale". After weeks of depression a breathless weekend. Apple seems to work 24 hours a day. Can't tell you how happy I am! If anyone wants to take a look http://www.youtube.com/user/appetcpp Best regards, Harald. Am 18.12.2010 um 10:21 schrieb Harald M?ller: > Just for your Info: LiveCOde 4.5.2 did work, no more > errors while submitting. I'm really happy! > > Best regards, > Harald. > > > Am 14.12.2010 um 00:10 schrieb Harald M?ller: > >> Same here. No idea what more to try. >> >> Best regards, >> Harald M?ller. >> >> >> Am 14.12.2010 um 00:05 schrieb Brian Meriaho: >> >>> Hi, >>> >>> Has anyone else had a problem getting past the review step with iTunes >>> Connect when submitting an app for Apple's App Store? I've built an >>> app that runs on several iPhones, checked the certificates, checked >>> the launch times, but still get rejected with a simple "it crashed". >>> Not sure what is left to check. >>> >>> Regards, >>> >>> -Brian >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Sat Dec 18 18:34:59 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 18 Dec 2010 15:34:59 -0800 Subject: iOS apps not getting past review due to crashing In-Reply-To: <2A4CF28C-43A9-40A5-8325-26CE0250D5A4@etcpp.de> References: <07E5C44B-BD9E-4AAE-A0C5-16388606A741@etcpp.de> <2A4CF28C-43A9-40A5-8325-26CE0250D5A4@etcpp.de> Message-ID: <14372370515.20101218153459@ahsoftware.net> Harald- "This channel is not available." -- -Mark Wieder mwieder at ahsoftware.net From warren at warrensweb.us Sat Dec 18 18:35:50 2010 From: warren at warrensweb.us (Warren Samples) Date: Sat, 18 Dec 2010 17:35:50 -0600 Subject: Valentina db under Linux ??? In-Reply-To: <13871276453.20101218151645@ahsoftware.net> References: <19857172687.20101218112142@ahsoftware.net> <0D668BFB0B194BB3A9898B2CD3A26C77@GATEWAY> <8763035843.20101218125925@ahsoftware.net> <13871276453.20101218151645@ahsoftware.net> Message-ID: <1292715350.2250.697.camel@mint-i7> On Sat, 2010-12-18 at 15:16 -0800, Mark Wieder wrote: > OK. Has Valentina *ever* worked on linux? Is this a new build? Hi Mark, Yes, I finally got v4rev installed and working in Linux, although I have to admit I'm a little nervous about installing the new build from today (the 18th) over the one I've got now :D. I haven't tried the 4.8 version in OS X or Windows. I have never had any trouble getting it working on those platforms in the past, though. I agree with you that the installation process is clumsy and especially that the docs are not as intuitively accessible as they should be, and that for first time installers it is a big issue. I know it was for me the first time I installed in OS X. It would be nice if the docs for attaching the vcomponents libs to standalones were also included in the original distribution. (Please, Ruslan... this really is a good idea!) Best, Warren From mwieder at ahsoftware.net Sat Dec 18 18:37:16 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 18 Dec 2010 15:37:16 -0800 Subject: new glx2 build Message-ID: <16972507093.20101218153716@ahsoftware.net> All- I've put a new build of the glx2 script editor up in the web repository. Fixed a few MetaCard things, a few linux things, and one annoying bug that I introduced myself just before announcing the open source project. Oh... and the preferences now work properly with LiveCode 4.5.2 and above. http://www.bitbucket.org/mwieder/glx2/downloads -- -Mark Wieder mwieder at ahsoftware.net From harald at etcpp.de Sat Dec 18 18:40:17 2010 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Sun, 19 Dec 2010 00:40:17 +0100 Subject: iOS apps not getting past review due to crashing In-Reply-To: <14372370515.20101218153459@ahsoftware.net> References: <07E5C44B-BD9E-4AAE-A0C5-16388606A741@etcpp.de> <2A4CF28C-43A9-40A5-8325-26CE0250D5A4@etcpp.de> <14372370515.20101218153459@ahsoftware.net> Message-ID: <0FC415A3-A25A-4083-80B7-6B874835DD88@etcpp.de> Thanks Mark, I made the channel private as long as I didn't knew whether I would reach my goal. Should work now. Best regards, Harald. Am 19.12.2010 um 00:34 schrieb Mark Wieder: > Harald- > > "This channel is not available." > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Sat Dec 18 18:41:03 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 18 Dec 2010 15:41:03 -0800 Subject: Valentina db under Linux ??? In-Reply-To: <1292715350.2250.697.camel@mint-i7> References: <19857172687.20101218112142@ahsoftware.net> <0D668BFB0B194BB3A9898B2CD3A26C77@GATEWAY> <8763035843.20101218125925@ahsoftware.net> <13871276453.20101218151645@ahsoftware.net> <1292715350.2250.697.camel@mint-i7> Message-ID: <18472734312.20101218154103@ahsoftware.net> Warren- Saturday, December 18, 2010, 3:35:50 PM, you wrote: > Yes, I finally got v4rev installed and working in Linux, although I have Thanks - that's very encouraging. I'll get back to my linux system on Monday and figure out what's going on. -- -Mark Wieder mwieder at ahsoftware.net From klaus at major.on-rev.com Sat Dec 18 18:41:53 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sun, 19 Dec 2010 00:41:53 +0100 Subject: iOS apps not getting past review due to crashing In-Reply-To: <2A4CF28C-43A9-40A5-8325-26CE0250D5A4@etcpp.de> References: <07E5C44B-BD9E-4AAE-A0C5-16388606A741@etcpp.de> <2A4CF28C-43A9-40A5-8325-26CE0250D5A4@etcpp.de> Message-ID: <872282FF-4E7F-4650-8EB1-9A0931C8431E@major.on-rev.com> Am 19.12.2010 um 00:31 schrieb Harald M?ller: > And the second App is now also "ready for sale". After weeks of depression > a breathless weekend. Apple seems to work 24 hours a day. Can't tell you > how happy I am! If anyone wants to take a look > > http://www.youtube.com/user/appetcpp Echt geil, Harald! :-) Congratulation! > Best regards, > Harald. Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From mwieder at ahsoftware.net Sat Dec 18 18:55:40 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 18 Dec 2010 15:55:40 -0800 Subject: iOS apps not getting past review due to crashing In-Reply-To: <0FC415A3-A25A-4083-80B7-6B874835DD88@etcpp.de> References: <07E5C44B-BD9E-4AAE-A0C5-16388606A741@etcpp.de> <2A4CF28C-43A9-40A5-8325-26CE0250D5A4@etcpp.de> <14372370515.20101218153459@ahsoftware.net> <0FC415A3-A25A-4083-80B7-6B874835DD88@etcpp.de> Message-ID: <15873611296.20101218155540@ahsoftware.net> Harald- Saturday, December 18, 2010, 3:40:17 PM, you wrote: > Thanks Mark, I made the channel private as long as I didn't knew > whether I would reach my goal. Should work now. Yay! -- -Mark Wieder mwieder at ahsoftware.net From MikeKerner at roadrunner.com Sat Dec 18 23:14:16 2010 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 18 Dec 2010 23:14:16 -0500 Subject: closeField - Curious In-Reply-To: <11e9.1c506747.3a3e9795@aol.com> References: <11e9.1c506747.3a3e9795@aol.com> Message-ID: ok, then riddle me this: I have a field, but instead of putting the closeField handler in the field, I put it in the card. On that card I have a button that goes to another card. In that case, the closeField message is not passed to the card, only if i have the closeField handler in the field. If I do not have a button that navigates off the card, but instead I just tab from field to field, the closeField message is received. So why isn't it passed up the hierarchy if I am going to navigate off the card, but it does if I stay on the card? From MikeKerner at roadrunner.com Sat Dec 18 23:18:44 2010 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 18 Dec 2010 23:18:44 -0500 Subject: closeField - Curious In-Reply-To: References: <11e9.1c506747.3a3e9795@aol.com> Message-ID: Hold up on that answer for a second. I have encountered something...odd...that I don't understand yet. Perhaps there's some other handler somewhere that I don't see because trapping this condition inconsistently demonstrates this problem. From pepetoo at cox.net Sat Dec 18 23:48:23 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sat, 18 Dec 2010 20:48:23 -0800 Subject: closeField - Curious In-Reply-To: References: <11e9.1c506747.3a3e9795@aol.com> Message-ID: <397CD9FC-CFB6-453E-B4F3-7AA9927DBDDF@cox.net> Hi Mike, First, you're not going to want to put a "closeField" handler anyplace other than the field to which it applies unless all of the fields on the card, or stack are going to implement something when that message is sent. Really unusual I should think. I would read the description of "closeField" very closely. All of these field commands are a bit odd. I've wanted to have something I typed into a field put into a bunch of other fields in other stacks when the user leaves the field, and found that difficult. Had it been all in the same stack, I could have just set the shared property to true and that would have taken care of my problem. Instead I had to dream up a kludge to do what I wanted. Joe Lewis Wilkins Architect & Director of Product Development for GSI On Dec 18, 2010, at 8:18 PM, Mike Kerner wrote: > Hold up on that answer for a second. I have encountered > something...odd...that I don't understand yet. Perhaps there's some other > handler somewhere that I don't see because trapping this condition > inconsistently demonstrates this problem. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Dec 19 00:02:52 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 18 Dec 2010 23:02:52 -0600 Subject: closeField - Curious In-Reply-To: References: <11e9.1c506747.3a3e9795@aol.com> Message-ID: <4D0D91FC.1000602@hyperactivesw.com> On 12/18/10 10:18 PM, Mike Kerner wrote: > Hold up on that answer for a second. I have encountered > something...odd...that I don't understand yet. Perhaps there's some other > handler somewhere that I don't see because trapping this condition > inconsistently demonstrates this problem. If you can't find the reason in your scripts, it might have to do with the message hierarchy. I've hit the same snag before and ended up adding a check for "the selectedfield" at the top of the button script that navigates. I.e.: if the selectedfield is not empty then send "closefield" to this card What I think could be happening is that the button gets a mouseup, the engine sends a few automatic messages like closefield as needed, then the button executes it's own script. Only one handler can execute at a time, so by the time the closefield passes to the card, the card has already changed and there is no closefield handler there to catch the message. Or if it does have one, you get the second card's closefield handler activating instead. At least, that's how it looks. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Dec 19 00:03:51 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 18 Dec 2010 23:03:51 -0600 Subject: iOS apps not getting past review due to crashing In-Reply-To: <2A4CF28C-43A9-40A5-8325-26CE0250D5A4@etcpp.de> References: <07E5C44B-BD9E-4AAE-A0C5-16388606A741@etcpp.de> <2A4CF28C-43A9-40A5-8325-26CE0250D5A4@etcpp.de> Message-ID: <4D0D9237.5050707@hyperactivesw.com> On 12/18/10 5:31 PM, Harald M?ller wrote: > And the second App is now also "ready for sale". After weeks of depression > a breathless weekend. Apple seems to work 24 hours a day. Can't tell you > how happy I am! If anyone wants to take a look > > http://www.youtube.com/user/appetcpp Bravo! I know you've been trying to finish this for a while. Congratulations! -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Dec 19 00:12:19 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 18 Dec 2010 23:12:19 -0600 Subject: cmd key modifier not working? In-Reply-To: <4D0D2E2D.2090503@hindu.org> References: <4D0D2E2D.2090503@hindu.org> Message-ID: <4D0D9433.9090908@hyperactivesw.com> On 12/18/10 3:57 PM, Sivakatirswami wrote: > OSX Livecode 4.5.2 > > I have this menu: > > Stop/1 > Back Up/2 > Forward/3 > Resume/4 > > the menu appears with "cmd +1" as expected and I could have sworn that > it used to work, but now when I hit the keys, nothing happens. The menu > is OK.. if I go to the menu and pull down and choose the item.. it works. > > I'm in the IDE ...these same keys are slotted for card navigation; but I > have the development tools suspended.... > > Any clues? Is the group set as the stack's menubar? You also need to have editmenus set to false, and the focus needs to be on your stack and not on one of the IDE's stacks. If any IDE stack is focused (toolbar, message box, etc,) the IDE takes over the system menu and catches the keyboard shortcuts. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pepetoo at cox.net Sun Dec 19 00:27:07 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sat, 18 Dec 2010 21:27:07 -0800 Subject: Strange phenomena Message-ID: <02123A61-07E7-4115-BEEA-B419E5C2FEDF@cox.net> Just built a windows version of my latest app with unusual results. I set the size of my cards in an openCard handler in the stacks' scripts. The Window's version makes the answer dialogs the same height as the windows. Huge! No problems with the Mac Version. Any one else encounter this anomaly? And what might have caused this? Earlier builds, when I was not routinely setting card size do not do this that I recall. Would this not be termed a bug? TIA, Joe Lewis Wilkins Architect & Director of Product Development for GSI From jacque at hyperactivesw.com Sun Dec 19 00:30:34 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 18 Dec 2010 23:30:34 -0600 Subject: cmd key modifier not working? In-Reply-To: <4D0D9433.9090908@hyperactivesw.com> References: <4D0D2E2D.2090503@hindu.org> <4D0D9433.9090908@hyperactivesw.com> Message-ID: <4D0D987A.8060508@hyperactivesw.com> On 12/18/10 11:12 PM, J. Landman Gay wrote: > On 12/18/10 3:57 PM, Sivakatirswami wrote: >> OSX Livecode 4.5.2 >> >> I have this menu: >> >> Stop/1 >> Back Up/2 >> Forward/3 >> Resume/4 >> >> the menu appears with "cmd +1" as expected and I could have sworn that >> it used to work, but now when I hit the keys, nothing happens. The menu >> is OK.. if I go to the menu and pull down and choose the item.. it works. >> >> I'm in the IDE ...these same keys are slotted for card navigation; but I >> have the development tools suspended.... >> >> Any clues? > > Is the group set as the stack's menubar? You also need to have editmenus > set to false, and the focus needs to be on your stack and not on one of > the IDE's stacks. If any IDE stack is focused (toolbar, message box, > etc,) the IDE takes over the system menu and catches the keyboard > shortcuts. > Oops, just re-read it. With dev tools suspended, the IDE isn't in the way so scratch that part. It should work. All I can think of is that there may be something else blocking the command key messages. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Dec 19 00:44:59 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 18 Dec 2010 23:44:59 -0600 Subject: Strange phenomena In-Reply-To: <02123A61-07E7-4115-BEEA-B419E5C2FEDF@cox.net> References: <02123A61-07E7-4115-BEEA-B419E5C2FEDF@cox.net> Message-ID: <4D0D9BDB.6010700@hyperactivesw.com> On 12/18/10 11:27 PM, Joe Lewis Wilkins wrote: > Just built a windows version of my latest app with unusual results. I > set the size of my cards in an openCard handler in the stacks' > scripts. The Window's version makes the answer dialogs the same > height as the windows. Huge! No problems with the Mac Version. Any > one else encounter this anomaly? And what might have caused this? > Earlier builds, when I was not routinely setting card size do not do > this that I recall. Would this not be termed a bug? Probably something in your scripts. Try referencing the stack by name when you set its size. If you're using "this stack" then depending on how your scripts are written, it could be resizing the wrong one. That's what it sounds like. But on Windows you shouldn't need to resize the stack. Windows stacks should be the same size as they are in the IDE. Check "the platform" and only resize if you're on MacOS. There was a long-standing bug in the engine that caused a bad stack resize on Macs but I thought it was fixed recently. The workaround was to just turn off destroystack and destroywindow and stacks would resize as expected without doing anything else. That's the preferred solution and I've used it. Another way to handle it is not to set the stack's menubar during development, just leave it at the top of the window. Then in a preopenstack handler, check "the environment" and if it is "standalone" then set the menubar of the stack to the group. That will automatically force a resize on Macs only and leave the Windows stack alone. That's what I've been doing with the last few standalones I've made. The down side of doing this is that keyboard command keys aren't available in the IDE, since the menubar isn't in the system menu while the IDE is running. The last solution goes something like this: on preOpenStack if the environment is "standalone" then set the menubar of this stack to "myMenuGroup" end preOpenStack -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From walter.h.brown at gmail.com Sun Dec 19 02:07:49 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Sun, 19 Dec 2010 02:07:49 -0500 Subject: Windows error 32 - SOLVED In-Reply-To: <4D0CD005.1010802@fourthworld.com> References: <4D0CD005.1010802@fourthworld.com> Message-ID: <4d0daf48.8e8de50a.4e63.3d7e@mx.google.com> I have run into many (non-LC) issues in Windows where various apps and OS components either take their time removing any flags on folders and files, or not at all. I think it has something to do with dynamic Registry settings and OS housekeeping - I am not an expert in that area, this is a hypothesis from observation... -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richard Gaskin Sent: Saturday, December 18, 2010 10:15 AM To: How to use LiveCode Subject: Re: Windows error 32 - SOLVED If any of you ever need to do anything like this, the solution turned out to be quite simple: I noticed that I could use the same "delete folder" command from within LC to delete the folder in question, just not from the app that originates in the problem folder. Since the OS error is 32 (obtained from LC's sysError function, a godsend for anything related to file I/O), it occurred to me that the issue is that the deletion process is beginning with an app that resides in that folder, and therefore is using that folder as the current working directory. Apparently, even though it quits before the copy in temp takes over, because the original copy in that application folder is what launched the app in temp, the current working directory had not changed, and the OS was simply doing its job of preserving objects in use. So the fix is a one-liner, added just before the original app launches the copy in the temp folder: set the directory to tTempFolder tTempFolder is obtained with LC's specialFolderPath("temporary"), and used to create the file name of the copy of the app that does the actual uninstall. By changing the working directory before launching the copy, the original folder in Program Files is now free to be deleted. Works a treat. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv Yesterday I wrote: > I'm making an uninstaller for one of my apps on Windows, and > everything's working swell except for one detail: > > I can delete all files and folders related to the install with ease, > but when I try to delete the application folder sysError returns 32, > which means it's in use by another process. > > Here's the setup: > > The uninstaller works as we're required to do on Windows: when > launched it makes a copy of itself into the temp folder, and launches > that copy after which the original quits. We have to do that because > of course an app can't delete itself. The copy has the UI that the > user clicks to start the uninstall. > > That copy in temp works great, and clears out everything, even the > original uninstaller that launched it. > > The one thing it can't do is delete the folder the app was originally > in, which is in the Program Files directory, e.g.: > > C:\Program Files\MyApp\ > > It seems weird to me that I can so easily delete all the contents of > that folder, even all the nested subfolders that were in it, yet not > the folder itself. > > And yes, I've checked: the folder is indeed empty. > > Even weirder, I can open LC afterward and run this in the Message Box: > > delete folder "C:/Program Files/MyApp/" > > ...and it deletes as expected without complaint. > > My first hunch was that since the original uninstaller app is > launching the one doing the deleting, maybe I could add another layer > of misdirection by having a copy of that app make another app in temp > just to delete the damn folder. No go, same error 32. > > Any of you come across something like this before? How did you get > around it? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ruslan_zasukhin at valentina-db.com Sun Dec 19 02:22:37 2010 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Sun, 19 Dec 2010 09:22:37 +0200 Subject: Vstudio for Linux uploaded In-Reply-To: <1292712274.2250.684.camel@mint-i7> Message-ID: On 12/19/10 12:44 AM, "Warren Samples" wrote: Hi Warren, > On Sat, 2010-12-18 at 21:01 +0200, Ruslan Zasukhin wrote: >> Hi All, >> >> We have upload 3 archives of vstudio for linux. > Hi Ruslan, > > I'm really excited about this, but it gives the warning about being able > to use it for only 10 minutes without a license. So first of all -- IT WORKS FOR YOU? Great! :-) > Are there demo licenses available? > Looking down the road, will those of us who have an actual > license for another platform be able to replace it with one for Linux, > since this wasn't an available option in the past? Yes, I know about the > perpetually free "beta license", but I'd be interested in doing this :D I think we have not yet work on Vstudio serials for linux side. Good point... Now it is time. It can take few days, because we need update also our store on web site to generate new serials. Then yes, I think we will provide some replacements for linux-fans. For now please test Vstudio Linux as good as possible :) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From pete at mollysrevenge.com Sun Dec 19 02:53:23 2010 From: pete at mollysrevenge.com (pete at mollysrevenge.com) Date: Sat, 18 Dec 2010 23:53:23 -0800 Subject: closeField - Curious In-Reply-To: References: Message-ID: <14deaa3973c8c2d3f14ef24e330c44a2.squirrel@www.mollysrevenge.com> Lots of input on this already but the bottom line is that closeField does not get sent unless the user, not a script, changes the contents of a field. In your example, if the script of your button changes the content of a field, no closeField event will be generated. I get round this by sending a closeField message to the field after I've set the contents by script. That way you can do whatever you want whether the user changes the contents or the script. Personally, I think this implementation is wrong. There are other events like this, selectionChanged for example, and I have not come across a single circumstance in any of my code where I did NOT want those events to be generated when I did things in a script rather than the user doing them. What I'd like to see is something similar to the menuHistory and label property of a button. Change the label of a button by script - menuPick doesn't happen. Change the menuHistory by script - menuPick does happen. Pete On Sat, December 18, 2010 1:57 pm, Mike Kerner wrote: > OK, if I understand previous threads correctly, closeField does not get > send > when you click on a button. So what happens if you click on a button that > does something that causes the field to lose the focus - e.g. navigating > to > another card, putting different text in the field, selecting the text of > another field, etc. what then? > > I guess I need a better explanation of when closeField does and does not > get > sent. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From harald at etcpp.de Sun Dec 19 04:10:36 2010 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Sun, 19 Dec 2010 10:10:36 +0100 Subject: iOS apps not getting past review due to crashing In-Reply-To: <4D0D9237.5050707@hyperactivesw.com> References: <07E5C44B-BD9E-4AAE-A0C5-16388606A741@etcpp.de> <2A4CF28C-43A9-40A5-8325-26CE0250D5A4@etcpp.de> <4D0D9237.5050707@hyperactivesw.com> Message-ID: <62676989-6DC0-44E7-B4B1-1150B1A49680@etcpp.de> Thanks Jacqueline, Klaus and Mark! Today I won't do more than smile around the clock :) Best regards Harald. Am 19.12.2010 um 06:03 schrieb J. Landman Gay: > On 12/18/10 5:31 PM, Harald M?ller wrote: >> And the second App is now also "ready for sale". After weeks of depression >> a breathless weekend. Apple seems to work 24 hours a day. Can't tell you >> how happy I am! If anyone wants to take a look >> >> http://www.youtube.com/user/appetcpp > > Bravo! I know you've been trying to finish this for a while. Congratulations! > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major.on-rev.com Sat Dec 18 18:41:53 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sun, 19 Dec 2010 00:41:53 +0100 Subject: iOS apps not getting past review due to crashing In-Reply-To: <2A4CF28C-43A9-40A5-8325-26CE0250D5A4@etcpp.de> References: <07E5C44B-BD9E-4AAE-A0C5-16388606A741@etcpp.de> <2A4CF28C-43A9-40A5-8325-26CE0250D5A4@etcpp.de> Message-ID: <872282FF-4E7F-4650-8EB1-9A0931C8431E@major.on-rev.com> Am 19.12.2010 um 00:31 schrieb Harald M?ller: > And the second App is now also "ready for sale". After weeks of depression > a breathless weekend. Apple seems to work 24 hours a day. Can't tell you > how happy I am! If anyone wants to take a look > > http://www.youtube.com/user/appetcpp Echt geil, Harald! :-) Congratulation! > Best regards, > Harald. Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From pmbrig at gmail.com Sun Dec 19 07:02:07 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Sun, 19 Dec 2010 07:02:07 -0500 Subject: cmd key modifier not working? In-Reply-To: <4D0D987A.8060508@hyperactivesw.com> References: <4D0D2E2D.2090503@hindu.org> <4D0D9433.9090908@hyperactivesw.com> <4D0D987A.8060508@hyperactivesw.com> Message-ID: <95979E7B-A22A-484E-B083-49BB1D8FCF31@gmail.com> On 12/18/10 3:57 PM, Sivakatirswami wrote: > OSX Livecode 4.5.2 > > I have this menu: > > Stop/1 > Back Up/2 > Forward/3 > Resume/4 > > the menu appears with "cmd +1" as expected and I could have sworn that > it used to work, but now when I hit the keys, nothing happens. The > menu > is OK.. if I go to the menu and pull down and choose the item.. it > works. > > I'm in the IDE ...these same keys are slotted for card navigation; > but I > have the development tools suspended.... > > Any clues? Where is the focus? If there is an insertion point in a field, or any other control has traversalOn = true and has the focus, and that control has a commandkeydown handler, then the commandkeydown message will be caught there and could be trapped. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From liste.revo at medard.on-rev.com Sun Dec 19 09:17:25 2010 From: liste.revo at medard.on-rev.com (Medard) Date: Sun, 19 Dec 2010 15:17:25 +0100 Subject: Getting a public IP address when connected to a router In-Reply-To: Message-ID: <1jtr6aq.1k4riwat0t09fM%liste.revo@medard.on-rev.com> Terry Judd wrote: > Does anyone have a LC routine (or tips on how to write one) that will enable > me to get a public IP address rather than the local one assigned by a > router? All the solutions given do work -- but think they will give a wrong one if they are NOT called locally i.e. in .irev file: you got the server IP (Texas) ;-) So, my question is: is it possible to get MY IP from within a .irev file, which runs on a distant server? From MikeKerner at roadrunner.com Sun Dec 19 09:18:44 2010 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 19 Dec 2010 09:18:44 -0500 Subject: closeField - Curious In-Reply-To: <397CD9FC-CFB6-453E-B4F3-7AA9927DBDDF@cox.net> References: <11e9.1c506747.3a3e9795@aol.com> <397CD9FC-CFB6-453E-B4F3-7AA9927DBDDF@cox.net> Message-ID: Thanks for chiming in, everyone! Joe I don't want to bore everyone with the details, but this is exactly what I want - a generic closeField handler. Thanks for looking out for my well being, though! Jacqui, After fiddling around for hours and hours, this is what I suspect as well. I just haven't gotten to the point of testing the exact circumstances. The next thing I'm going to try is exactly what you suggest, in the closeCard script, maybe to see if I can trap it and get the behavior I want. Pete I'm with you. I think the implementation could be wrong, or at least...not what I might expect. I thought about firing up HyperCard and seeing what it does, because I don't recall HC behaving this way, and I believe I've used this exact technique before. From m.schonewille at economy-x-talk.com Sun Dec 19 09:32:50 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 19 Dec 2010 15:32:50 +0100 Subject: Getting a public IP address when connected to a router In-Reply-To: <1jtr6aq.1k4riwat0t09fM%liste.revo@medard.on-rev.com> References: <1jtr6aq.1k4riwat0t09fM%liste.revo@medard.on-rev.com> Message-ID: Hi Medard, The RevServer should be able to do something like: put $_SERVER['REMOTE_ADDR'] into myRemoteIP -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 19 dec 2010, at 15:17, Medard wrote: > Terry Judd wrote: > >> Does anyone have a LC routine (or tips on how to write one) that will enable >> me to get a public IP address rather than the local one assigned by a >> router? > > All the solutions given do work > -- but think they will give a wrong one if they are NOT called locally > i.e. in .irev file: > you got the server IP (Texas) ;-) > > So, my question is: is it possible to get MY IP from within a .irev > file, which runs on a distant server? From bvlahos at mac.com Sun Dec 19 10:39:34 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 19 Dec 2010 07:39:34 -0800 Subject: closeField - Curious In-Reply-To: <14deaa3973c8c2d3f14ef24e330c44a2.squirrel@www.mollysrevenge.com> References: <14deaa3973c8c2d3f14ef24e330c44a2.squirrel@www.mollysrevenge.com> Message-ID: I agree completely. It would be good to have a message sent whenever the field changes for any reason. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Dec 18, 2010, at 11:53 PM, pete at mollysrevenge.com wrote: > Lots of input on this already but the bottom line is that closeField does > not get sent unless the user, not a script, changes the contents of a > field. In your example, if the script of your button changes the content > of a field, no closeField event will be generated. I get round this by > sending a closeField message to the field after I've set the contents by > script. That way you can do whatever you want whether the user changes > the contents or the script. > > Personally, I think this implementation is wrong. There are other events > like this, selectionChanged for example, and I have not come across a > single circumstance in any of my code where I did NOT want those events to > be generated when I did things in a script rather than the user doing > them. What I'd like to see is something similar to the menuHistory and > label property of a button. Change the label of a button by script - > menuPick doesn't happen. Change the menuHistory by script - menuPick does > happen. > > Pete > > On Sat, December 18, 2010 1:57 pm, Mike Kerner wrote: >> OK, if I understand previous threads correctly, closeField does not get >> send >> when you click on a button. So what happens if you click on a button that >> does something that causes the field to lose the focus - e.g. navigating >> to >> another card, putting different text in the field, selecting the text of >> another field, etc. what then? >> >> I guess I need a better explanation of when closeField does and does not >> get >> sent. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From liste.revo at medard.on-rev.com Sun Dec 19 11:19:46 2010 From: liste.revo at medard.on-rev.com (Medard) Date: Sun, 19 Dec 2010 17:19:46 +0100 Subject: A little surprise with LiveCode and On-Rev Message-ID: <1jtrbhf.1kem3b5las27M%liste.revo@medard.on-rev.com> Again, some musing with On-Rev ;-) I made a simple "blog" with my reading notes around the web [mostly in french] As for now I am putting together pieces to create one file, a head, a body, and a footer The body itself is made from concatenating html files included in a dedicated folder For the first times, I made that by hand. Now I am trying to build them via a dedicated LiveCode stack, and for now that works properly -- excepted for the accented chars, which are replaced by ;-> I took a look at the bottom of the TextWrangler page, to notice that the charset was not the good one, it was "Mac OS Roman"instead of "UTF-8 no BOM"! So, it seems that files written by LiveCode, at least on a Mac, have a "Mac OS Roman" charset by default... Maybe there is some Preference to fix that, but for now I don't where... From liste.revo at medard.on-rev.com Sun Dec 19 11:59:17 2010 From: liste.revo at medard.on-rev.com (Medard) Date: Sun, 19 Dec 2010 17:59:17 +0100 Subject: Getting a public IP address when connected to a router In-Reply-To: Message-ID: <1jtrdsr.1ypdv8l1s9igqzM%liste.revo@medard.on-rev.com> Mark Schonewille wrote: > The RevServer should be able to do something like: > > put $_SERVER['REMOTE_ADDR'] into myRemoteIP Yes -- but no ;-) By doing this, you get the IP address of the person who accesses the page -- sometimes that's me ;-) So I want to exclude myself from the referrers... From m.schonewille at economy-x-talk.com Sun Dec 19 12:09:53 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 19 Dec 2010 18:09:53 +0100 Subject: Getting a public IP address when connected to a router In-Reply-To: <1jtrdsr.1ypdv8l1s9igqzM%liste.revo@medard.on-rev.com> References: <1jtrdsr.1ypdv8l1s9igqzM%liste.revo@medard.on-rev.com> Message-ID: <73D38116-C8AE-4B16-B8A8-86115660FBDF@economy-x-talk.com> What's the problem, Medard? Just don't count your own IP address. if myIP is not "123.123.123.123" then... -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 19 dec 2010, at 17:59, Medard wrote: > Mark Schonewille wrote: > >> The RevServer should be able to do something like: >> >> put $_SERVER['REMOTE_ADDR'] into myRemoteIP > > Yes -- but no ;-) > > By doing this, you get the IP address of the person who accesses the > page -- sometimes that's me ;-) > > So I want to exclude myself from the referrers... From jmyepes at mac.com Sun Dec 19 16:43:42 2010 From: jmyepes at mac.com (JosepM) Date: Sun, 19 Dec 2010 13:43:42 -0800 (PST) Subject: How detect the object over other object is? Message-ID: <1292795022369-3094859.post@n4.nabble.com> Hi, I move a graphic over others graphics and I need to know the object ID or name over the moved object is. Like moving a chess pieces over the board. The user move one piece and I need to know over what is located. I see that I can check if the location of the moved piece is into the rect of the graphic, but I need to check all the posibles zones. Is this the way? Any idea how to deal with? Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-detect-the-object-over-other-object-is-tp3094859p3094859.html Sent from the Revolution - User mailing list archive at Nabble.com. From liste.revo at medard.on-rev.com Sun Dec 19 17:04:04 2010 From: liste.revo at medard.on-rev.com (Medard) Date: Sun, 19 Dec 2010 23:04:04 +0100 Subject: Getting a public IP address when connected to a router In-Reply-To: <73D38116-C8AE-4B16-B8A8-86115660FBDF@economy-x-talk.com> Message-ID: <1jtrrul.1odj9burukgpnM%liste.revo@medard.on-rev.com> Mark Schonewille wrote: > What's the problem, Medard? Just don't count your own IP address. > > if myIP is not "123.123.123.123" then... You're right, Mark... but a well known motto here in France is: "pourquoi faire simple, quand on peut faire compliqu?" (what's the need to make things simple, as it's so easy to make them complicated) joke apart, the problem is I don't have a fixed IP*, it may vary, within some limits * due to my ISP, Orange ;-) From rman at free.fr Sun Dec 19 17:11:47 2010 From: rman at free.fr (Robert Mann) Date: Sun, 19 Dec 2010 14:11:47 -0800 (PST) Subject: A little surprise with LiveCode and On-Rev In-Reply-To: <1jtrbhf.1kem3b5las27M%liste.revo@medard.on-rev.com> References: <1jtrbhf.1kem3b5las27M%liste.revo@medard.on-rev.com> Message-ID: <1292796707834-3094891.post@n4.nabble.com> Well.. I do the following : - write html and .irev files using on-rev editor (uses mac roman) - then edit the files with wrangler and saving the files using UTF8 no BOM - from then I can edit the html files on both (on-rev editor or wrangler) ==> no BOM is important otherwise you get a strange char at the begining of the file and the file may not be recognized as an irev file... Sure it would have been a little bit simpler to provide an on-rev editor working in UTF8 straight from the box! (bad news THERE IS NO PREF. TO SET ON the on-rev editor as far as char set is concerned) Now it also easy to make an ftp editori with livecode that can dialog in UTF 8 with on-rev straight ahead! have a good day, bonne journ?e.. et fetes! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/A-little-surprise-with-LiveCode-and-On-Rev-tp3094576p3094891.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Sun Dec 19 17:17:41 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 19 Dec 2010 23:17:41 +0100 Subject: Getting a public IP address when connected to a router In-Reply-To: <1jtrrul.1odj9burukgpnM%liste.revo@medard.on-rev.com> References: <1jtrrul.1odj9burukgpnM%liste.revo@medard.on-rev.com> Message-ID: <1EC6055D-96BC-44CC-A82C-4C6292AF5C12@economy-x-talk.com> Hi Medard, I'm sure there are many different ways to solve this little problem. For instance, you can make a little faceless application, which uploads your IP address to your server every time it changes. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 19 dec 2010, at 23:04, Medard wrote: > Mark Schonewille wrote: > >> What's the problem, Medard? Just don't count your own IP address. >> >> if myIP is not "123.123.123.123" then... > > You're right, Mark... > but a well known motto here in France is: > "pourquoi faire simple, quand on peut faire compliqu?" > (what's the need to make things simple, as it's so easy to make them > complicated) > > joke apart, the problem is I don't have a fixed IP*, it may vary, within > some limits > > > * due to my ISP, Orange ;-) From bonnmike at gmail.com Sun Dec 19 17:22:16 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 19 Dec 2010 15:22:16 -0700 Subject: Getting a public IP address when connected to a router In-Reply-To: <1jtrrul.1odj9burukgpnM%liste.revo@medard.on-rev.com> References: <73D38116-C8AE-4B16-B8A8-86115660FBDF@economy-x-talk.com> <1jtrrul.1odj9burukgpnM%liste.revo@medard.on-rev.com> Message-ID: Here are some possible ways to do what you want. I'm sure there are more. Have a specific entry address just for you that grabs your ip and stuffs it in a file. Then all your other pages that log IP can reference the file to know what IP to ignore. Or set a special cookie for yourself that basically says "Hey its me!" Or similar to the first option, check a get passed variable to designate that its you. (IE http://myaddress.com/page.html?isitme=yes) and either set the ip in a file, or just keep passing isitme each time you switch pages. The first choice better than the second, as you only have to grab your IP and say that it's you once per session. I'm sure there are better ways, but this should work. On Sun, Dec 19, 2010 at 3:04 PM, Medard wrote: > Mark Schonewille wrote: > > > What's the problem, Medard? Just don't count your own IP address. > > > > if myIP is not "123.123.123.123" then... > > You're right, Mark... > but a well known motto here in France is: > "pourquoi faire simple, quand on peut faire compliqu?" > (what's the need to make things simple, as it's so easy to make them > complicated) > > joke apart, the problem is I don't have a fixed IP*, it may vary, within > some limits > > > * due to my ISP, Orange ;-) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Sun Dec 19 17:22:48 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 19 Dec 2010 15:22:48 -0700 Subject: Getting a public IP address when connected to a router In-Reply-To: <1EC6055D-96BC-44CC-A82C-4C6292AF5C12@economy-x-talk.com> References: <1jtrrul.1odj9burukgpnM%liste.revo@medard.on-rev.com> <1EC6055D-96BC-44CC-A82C-4C6292AF5C12@economy-x-talk.com> Message-ID: Yeah, what mark said. Very similar ideas. On Sun, Dec 19, 2010 at 3:17 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Medard, > > I'm sure there are many different ways to solve this little problem. For > instance, you can make a little faceless application, which uploads your IP > address to your server every time it changes. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.5 for LiveCode here > http://qurl.tk/ce > > On 19 dec 2010, at 23:04, Medard wrote: > > > Mark Schonewille wrote: > > > >> What's the problem, Medard? Just don't count your own IP address. > >> > >> if myIP is not "123.123.123.123" then... > > > > You're right, Mark... > > but a well known motto here in France is: > > "pourquoi faire simple, quand on peut faire compliqu?" > > (what's the need to make things simple, as it's so easy to make them > > complicated) > > > > joke apart, the problem is I don't have a fixed IP*, it may vary, within > > some limits > > > > > > * due to my ISP, Orange ;-) > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rjb at robelko.com Sun Dec 19 19:04:29 2010 From: rjb at robelko.com (Robert Brenstein) Date: Mon, 20 Dec 2010 01:04:29 +0100 Subject: closeField - Curious In-Reply-To: <4D0D91FC.1000602@hyperactivesw.com> References: <11e9.1c506747.3a3e9795@aol.com> <4D0D91FC.1000602@hyperactivesw.com> Message-ID: On 18.12.2010 at 23:02 Uhr -0600 J. Landman Gay apparently wrote: >If you can't find the reason in your scripts, it might have to do >with the message hierarchy. I've hit the same snag before and ended >up adding a check for "the selectedfield" at the top of the button >script that navigates. I.e.: > > if the selectedfield is not empty > then send "closefield" to this card > >What I think could be happening is that the button gets a mouseup, >the engine sends a few automatic messages like closefield as needed, >then the button executes it's own script. Only one handler can >execute at a time, so by the time the closefield passes to the card, >the card has already changed and there is no closefield handler >there to catch the message. Or if it does have one, you get the >second card's closefield handler activating instead. > >At least, that's how it looks. > >-- >Jacqueline Landman Gay | jacque at hyperactivesw.com >HyperActive Software | http://www.hyperactivesw.com I can second this. I was hit a number of times by scripts executing on the wrong card when user action changed card. This has also to do with the order messages are sent and executed. Some times it is reasonable and possible to avoid actually changing the card but rather redesigning the stack so the card changes without a physical move to another card. Robert From keith.clarke at clarkeandclarke.co.uk Sun Dec 19 19:24:45 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Mon, 20 Dec 2010 00:24:45 +0000 Subject: Getting a public IP address when connected to a router In-Reply-To: References: <1jtrrul.1odj9burukgpnM%liste.revo@medard.on-rev.com> <1EC6055D-96BC-44CC-A82C-4C6292AF5C12@economy-x-talk.com> Message-ID: How about using a dynamic DNS service from dyndns.com, noip.com or similar to provide you with a fixed public host name with pseudo-fixed IP address? I use the free dyndns.com service to map a couple of host names to my home server, which sits behind a BT Home Hub router. The router contains a dynamic DNS client that advises the dyndns.com name server if my IP address is changed. The router maintains NAT to protect the IP addresses of client machines on my home LAN and its firewall has service/port forwarding to pass the specific http/https/FTP services through to my Mac Mini. If your router has no DDNS updater built-in - or if you just have a modem and single machine - you can install an update client app on your computer. HTH, Keith.. On 19 Dec 2010, at 22:22, Mike Bonner wrote: > Yeah, what mark said. Very similar ideas. > > On Sun, Dec 19, 2010 at 3:17 PM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > >> Hi Medard, >> >> I'm sure there are many different ways to solve this little problem. For >> instance, you can make a little faceless application, which uploads your IP >> address to your server every time it changes. >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> New: Download the Installer Maker Plugin 1.5 for LiveCode here >> http://qurl.tk/ce >> >> On 19 dec 2010, at 23:04, Medard wrote: >> >>> Mark Schonewille wrote: >>> >>>> What's the problem, Medard? Just don't count your own IP address. >>>> >>>> if myIP is not "123.123.123.123" then... >>> >>> You're right, Mark... >>> but a well known motto here in France is: >>> "pourquoi faire simple, quand on peut faire compliqu?" >>> (what's the need to make things simple, as it's so easy to make them >>> complicated) >>> >>> joke apart, the problem is I don't have a fixed IP*, it may vary, within >>> some limits >>> >>> >>> * due to my ISP, Orange ;-) >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From DunbarX at aol.com Sun Dec 19 19:44:02 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Sun, 19 Dec 2010 19:44:02 EST Subject: How detect the object over other object is? Message-ID: <11b652.717a1b1.3a4000d2@aol.com> Easy. Read about the "intersect" function in the dictionary. Craig Newman From mwieder at ahsoftware.net Sun Dec 19 19:50:59 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 19 Dec 2010 16:50:59 -0800 Subject: Getting a public IP address when connected to a router In-Reply-To: <1jtrrul.1odj9burukgpnM%liste.revo@medard.on-rev.com> References: <1jtrrul.1odj9burukgpnM%liste.revo@medard.on-rev.com> Message-ID: <65163329687.20101219165059@ahsoftware.net> Medard- Sunday, December 19, 2010, 2:04:04 PM, you wrote: > * due to my ISP, Orange ;-) Well, there's the problem. You're trying to compare Apples and Oranges. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Sun Dec 19 20:41:52 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 19 Dec 2010 19:41:52 -0600 Subject: Getting a public IP address when connected to a router In-Reply-To: <65163329687.20101219165059@ahsoftware.net> References: <1jtrrul.1odj9burukgpnM%liste.revo@medard.on-rev.com> <65163329687.20101219165059@ahsoftware.net> Message-ID: <4D0EB460.2030308@hyperactivesw.com> On 12/19/10 6:50 PM, Mark Wieder wrote: > Medard- > > Sunday, December 19, 2010, 2:04:04 PM, you wrote: > >> * due to my ISP, Orange ;-) > > Well, there's the problem. > You're trying to compare Apples and Oranges. > > Aw geez. You should be shot for that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rjb at robelko.com Sun Dec 19 20:25:52 2010 From: rjb at robelko.com (Robert Brenstein) Date: Mon, 20 Dec 2010 02:25:52 +0100 Subject: Getting a public IP address when connected to a router In-Reply-To: References: <73D38116-C8AE-4B16-B8A8-86115660FBDF@economy-x-talk.com> <1jtrrul.1odj9burukgpnM%liste.revo@medard.on-rev.com> Message-ID: On 19.12.2010 at 15:22 Uhr -0700 Mike Bonner apparently wrote: >Here are some possible ways to do what you want. I'm sure there are more. > >Have a specific entry address just for you that grabs your ip and stuffs it >in a file. Then all your other pages that log IP can reference the file to >know what IP to ignore. > >Or set a special cookie for yourself that basically says "Hey its me!" > >Or similar to the first option, check a get passed variable to designate >that its you. (IE http://myaddress.com/page.html?isitme=yes) and either set >the ip in a file, or just keep passing isitme each time you switch pages. >The first choice better than the second, as you only have to grab your IP >and say that it's you once per session. > >I'm sure there are better ways, but this should work. > Using an extra page as your private entry point or a cookie, as Mike suggests, are good approaches since in the scenario you describe (your using a dynamically assigned ip address) you want to exclude that address only for your current session. It might happen that the address you used on one day another user gets on another day and you would not want to exclude them necessarily. In order to do that, your system must either identify your connections as they come or log each of your sessions, in a file or in a database, so later analyses can exclude those connections. Robert From runrevplanet at smpcs.server101.com Sun Dec 19 21:46:45 2010 From: runrevplanet at smpcs.server101.com (RunRevPlanet) Date: Mon, 20 Dec 2010 13:46:45 +1100 Subject: [OT] Free 300 Windows Tips e-book In-Reply-To: References: Message-ID: <4D0EC395.2060601@smpcs.server101.com> Hi, Came across this link: and thought some Windows users may find it useful. -- Scott McDonald RunRevPlanet.com "Components, Stacks, Tools and Resources for LiveCode" From jmyepes at mac.com Mon Dec 20 02:41:05 2010 From: jmyepes at mac.com (JosepM) Date: Sun, 19 Dec 2010 23:41:05 -0800 (PST) Subject: How detect the object over other object is? In-Reply-To: <11b652.717a1b1.3a4000d2@aol.com> References: <1292795022369-3094859.post@n4.nabble.com> <11b652.717a1b1.3a4000d2@aol.com> Message-ID: <1292830865948-3095145.post@n4.nabble.com> Yes, but I need to check for each, isn't other way to do? Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-detect-the-object-over-other-object-is-tp3094859p3095145.html Sent from the Revolution - User mailing list archive at Nabble.com. From liste.revo at medard.on-rev.com Mon Dec 20 05:58:18 2010 From: liste.revo at medard.on-rev.com (Medard) Date: Mon, 20 Dec 2010 11:58:18 +0100 Subject: Getting a public IP address when connected to a router In-Reply-To: <4D0EB460.2030308@hyperactivesw.com> Message-ID: <1jtsmq3.1pa5d9v1qcr6w1M%liste.revo@medard.on-rev.com> J. Landman Gay wrote: > >> * due to my ISP, Orange ;-) > > > > Well, there's the problem. > > You're trying to compare Apples and Oranges. > > > > > > Aw geez. You should be shot for that. ;-> Orange? is the commercial name of France Telecom as a ISP They bought that name from a UK company they acquired... What a marmalade ;-) Away from big cities, there is not so much choice for a ISP! From liste.revo at medard.on-rev.com Mon Dec 20 05:58:19 2010 From: liste.revo at medard.on-rev.com (Medard) Date: Mon, 20 Dec 2010 11:58:19 +0100 Subject: Getting a public IP address when connected to a router In-Reply-To: Message-ID: <1jtsn10.1c7axiw1fbpjbxM%liste.revo@medard.on-rev.com> Keith Clarke wrote: > How about using a dynamic DNS service from dyndns.com, noip.com or > similar to provide you with a fixed public host name with pseudo-fixed > IP address? That's an idea, than you! From liste.revo at medard.on-rev.com Mon Dec 20 05:58:48 2010 From: liste.revo at medard.on-rev.com (Medard) Date: Mon, 20 Dec 2010 11:58:48 +0100 Subject: Getting a public IP address when connected to a router In-Reply-To: <1EC6055D-96BC-44CC-A82C-4C6292AF5C12@economy-x-talk.com> Message-ID: <1jtso7s.1gfbdv9iauim5M%liste.revo@medard.on-rev.com> Mark Schonewille wrote: > I'm sure there are many different ways to solve this little problem. > For instance, you can make a little faceless application, which uploads > your IP address to your server every time it changes. I had another idea... How about a "whois" query? I started with this: ===code=== get $_SERVER["REMOTE_ADDR"] put it into tip put "whois" && tip into tcde put shell(tcde) ===/code=== Now, a little grepping would help ;-) From liste.revo at medard.on-rev.com Mon Dec 20 05:58:48 2010 From: liste.revo at medard.on-rev.com (Medard) Date: Mon, 20 Dec 2010 11:58:48 +0100 Subject: A little surprise with LiveCode and On-Rev In-Reply-To: <1292796707834-3094891.post@n4.nabble.com> Message-ID: <1jtsrta.1ed0wxa1eg89jhM%liste.revo@medard.on-rev.com> Robert Mann wrote: > have a good day, bonne journ?e.. et fetes! "I wish you a Merry Christmas and Happy New Year" :-) Nonetheless, if Livecode could standardize on UTF-8... From liste.revo at medard.on-rev.com Mon Dec 20 05:58:48 2010 From: liste.revo at medard.on-rev.com (Medard) Date: Mon, 20 Dec 2010 11:58:48 +0100 Subject: A little surprise with LiveCode and On-Rev In-Reply-To: <1292796707834-3094891.post@n4.nabble.com> Message-ID: <1jtsrta.1ed0wxa1eg89jhM%liste.revo@medard.on-rev.com> Robert Mann wrote: > have a good day, bonne journ?e.. et fetes! "I wish you a Merry Christmas and Happy New Year" :-) Nonetheless, if Livecode could standardize on UTF-8... From jmyepes at mac.com Mon Dec 20 06:04:12 2010 From: jmyepes at mac.com (Josep M Yepes) Date: Mon, 20 Dec 2010 12:04:12 +0100 Subject: Nabble vs lists.runrev.com In-Reply-To: References: Message-ID: <412CADAE-9BF9-465A-9AE5-33384264CFB5@mac.com> Hi, Posting directly to Nabble is the same that reply to the list from Mail? I ever post directly to Nabble but I don't see my last post in the list now... It's correct? Salut, Josep From jmyepes at mac.com Mon Dec 20 06:46:02 2010 From: jmyepes at mac.com (Josep M Yepes) Date: Mon, 20 Dec 2010 12:46:02 +0100 Subject: Refer object with the value of a variable In-Reply-To: References: Message-ID: Hi, Why this code don't run? I want to assign the value of tX[tKey] to the fields that have the same name of the value. pLanguage is passed by the user. put "u" & pLanguage into tX repeat for each key tKey in the customproperties["u" & pLanguage] of this stack set the text of fld tKey to tX[tKey] end repeat Salut, Josep From ambassador at fourthworld.com Mon Dec 20 08:23:13 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 20 Dec 2010 05:23:13 -0800 Subject: FORUM POLL: Which Linux distro do you use? Message-ID: <4D0F58C1.9040601@fourthworld.com> I've been pleasantly surprised to see such a relatively large number of people here using Linux and I'm curious which distros you folks are running, so I just took advantage of the simple poll feature in the LiveCode Forum for this: POLL: Which Linux distro are you using? If you're not a forum member you'll need to create an account, but the forum is such a useful compliment to this list that IMO it's worth taking a minute to do that anyway. Thanks in advance to all you Linux fans here for voicing your disto preference. It'll be fun to see what you folks are using, and feel free to add any additional notes in a post there about what you like and don't like about running LiveCode on Linux. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From pmbrig at gmail.com Mon Dec 20 08:29:07 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Mon, 20 Dec 2010 08:29:07 -0500 Subject: Refer object with the value of a variable In-Reply-To: References: Message-ID: <9C2A78C5-C45A-4E79-BE29-9846F0547FB1@gmail.com> On Dec 20, 2010, at 6:46 AM, Josep M Yepes wrote: > Hi, > > Why this code don't run? > > I want to assign the value of tX[tKey] to the fields that have the > same name of the value. > > pLanguage is passed by the user. > > > put "u" & pLanguage into tX > > repeat for each key tKey in the customproperties["u" & pLanguage] > of this stack > set the text of fld tKey to tX[tKey] > end repeat I think you have to put the customprop into a variable first: put "u" & pLanguage into cSet put the customproperties[cSet] of this stack into tPropArray put the keys of tPropArray into keysList repeat for each item tKey in keysList set the text of fld tKey to tX[tKey] end repeat -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pmbrig at gmail.com Mon Dec 20 09:06:31 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Mon, 20 Dec 2010 09:06:31 -0500 Subject: Refer object with the value of a variable In-Reply-To: References: Message-ID: <46124A4A-75C0-49AC-ACC5-CD0A65E6681A@gmail.com> Whoops -- another problem, maybe the chief problem: it's the customproperty[cSet], not the customproperties[cSet], see below -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Dec 20, 2010, at 8:29 AM, Peter Brigham MD wrote: > On Dec 20, 2010, at 6:46 AM, Josep M Yepes wrote: > >> Hi, >> >> Why this code don't run? >> >> I want to assign the value of tX[tKey] to the fields that have the >> same name of the value. >> >> pLanguage is passed by the user. >> >> >> put "u" & pLanguage into tX >> >> repeat for each key tKey in the customproperties["u" & pLanguage] >> of this stack >> set the text of fld tKey to tX[tKey] >> end repeat > > I think you have to put the customprop into a variable first: > > put "u" & pLanguage into cSet put the customproperty[cSet] of this stack into tPropArray > put the keys of tPropArray into keysList > repeat for each item tKey in keysList > set the text of fld tKey to tX[tKey] > end repeat > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > From DunbarX at aol.com Mon Dec 20 11:00:57 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Mon, 20 Dec 2010 11:00:57 EST Subject: How detect the object over other object is? Message-ID: <519e5.6f29c32c.3a40d7b9@aol.com> Josep. If you have a particular target object, why not simply test whether it intersects with all other objects? In the target object script: on mouseup repeat with y = 1 to the number of controls put "control id" && the id of ("control" && y) into temp put temp && ":" && intersect(me,temp) into line y of accum end repeat answer accum end mouseup Good luck. Craig Newman From DunbarX at aol.com Mon Dec 20 12:14:27 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Mon, 20 Dec 2010 12:14:27 EST Subject: msg box Buggerers Message-ID: <57a19.4dba5c40.3a40e8f3@aol.com> Jacques. Deleted the preferences file like you suggested. No change in behavior. Interestingly, before I tried that, the msg box failed all of a sudden to do anything at all during an open session. Quitting and reopening LC brought me back to ordinary (!) behavior. But at least I can use it. Again, no issue with 4.5.0 or earlier versions. Craig In a message dated 12/16/10 10:28:32 PM, jacque at hyperactivesw.com writes: > r library/Preferences/RunRev/livecode.rev. > From jhurley0305 at sbcglobal.net Mon Dec 20 14:39:24 2010 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Mon, 20 Dec 2010 11:39:24 -0800 Subject: How detect the object over other object is? In-Reply-To: References: Message-ID: > > Message: 14 > Date: Sun, 19 Dec 2010 23:41:05 -0800 (PST) > From: JosepM > To: use-revolution at lists.runrev.com > Subject: Re: How detect the object over other object is? > Message-ID: <1292830865948-3095145.post at n4.nabble.com> > Content-Type: text/plain; charset=us-ascii > > > Yes, but I need to check for each, isn't other way to do? > > > Salut, > Josep > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-detect-the-object-over-other-object-is-tp3094859p3095145.html > Sent from the Revolution - User mailing list archive at Nabble.com. > With a slight variation on Craig's solution you can get a list of all controls intersecting all others with on mouseup put the number of controls into N repeat with i = 1 to N repeat with j = i+1 to N put intersect(control i, control j) into theyIntersect if theyIntersect then put the id of control i & " interects " & the id of control j & cr after tList end repeat end repeat answer tList end mouseup Although the following is redundant (that is if a intersects b, then b intersect a) it may be useful as well: on mouseup put the number of controls into N repeat with i = 1 to N repeat with j = 1 to N if i = j then next repeat --Self intersection put intersect(control i, control j) into theyIntersect if theyIntersect then put the id of control i & " interects " & the id of control j & cr after tList end repeat end repeat answer tList end mouseup From jacque at hyperactivesw.com Mon Dec 20 17:02:09 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 20 Dec 2010 16:02:09 -0600 Subject: msg box Buggerers In-Reply-To: <57a19.4dba5c40.3a40e8f3@aol.com> References: <57a19.4dba5c40.3a40e8f3@aol.com> Message-ID: <4D0FD261.20903@hyperactivesw.com> On 12/20/10 11:14 AM, DunbarX at aol.com wrote: > Jacques. > > Deleted the preferences file like you suggested. No change in behavior. > > Interestingly, before I tried that, the msg box failed all of a sudden to > do anything at all during an open session. Quitting and reopening LC brought > me back to ordinary (!) behavior. But at least I can use it. > > Again, no issue with 4.5.0 or earlier versions. Haven't a clue, I'm afraid. You could try reinstalling LiveCode, it's all I can think of. Either the message box has gone bad or (more likely) something else is interfering. Temporarily remove all third-party plugins before the reinstall and keep the IDE as pure vanilla as you can, then add things back in one at a time. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pepetoo at cox.net Mon Dec 20 17:03:25 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 20 Dec 2010 14:03:25 -0800 Subject: Where is the substack Message-ID: Anyone, please Yesterday, I created a sub-stack for a sub-stack. Put a lot of stuff in it, but neglected to change the name from "untitled" to anything else, though I saved it several times. Upon closing LC, I was unable to find it anywhere on my Mac. I thought, perhaps, it was because I had not named it, so I did the same thing today, creating but 2 cards, giving it a name and saving it. Closing LC, I expected to find the stack someplace; probably in the same folder as my main-stack. It is nowhere. Where is it. Joe Lewis Wilkins Architect & Director of Product Development for GSI From pepetoo at cox.net Mon Dec 20 17:13:34 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 20 Dec 2010 14:13:34 -0800 Subject: Where is the substack In-Reply-To: References: Message-ID: I found that I needed to move the sack someplace for it to be saved anywhere. Pretty unexpected. (smile) We should, at least be told that when we create a sub-stack to a sub-stack. Didn't have to do that when I created a sub-stack to the main-stack. Definitely needs to be fixed. I lost several hours of work by not knowing that. Others BEWARE!! Joe Lewis Wilkins Architect & Director of Product Development for GSI On Dec 20, 2010, at 2:03 PM, Joe Lewis Wilkins wrote: > Anyone, please > > Yesterday, I created a sub-stack for a sub-stack. Put a lot of stuff in it, but neglected to change the name from "untitled" to anything else, though I saved it several times. Upon closing LC, I was unable to find it anywhere on my Mac. I thought, perhaps, it was because I had not named it, so I did the same thing today, creating but 2 cards, giving it a name and saving it. Closing LC, I expected to find the stack someplace; probably in the same folder as my main-stack. It is nowhere. Where is it. > > Joe Lewis Wilkins > Architect & Director of Product Development for GSI > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Dec 20 17:50:25 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 20 Dec 2010 16:50:25 -0600 Subject: Where is the substack In-Reply-To: References: Message-ID: <4D0FDDB1.3010606@hyperactivesw.com> On 12/20/10 4:13 PM, Joe Lewis Wilkins wrote: > I found that I needed to move the sack someplace for it to be saved > anywhere. Pretty unexpected. (smile) We should, at least be told that > when we create a sub-stack to a sub-stack. Didn't have to do that > when I created a sub-stack to the main-stack. Definitely needs to be > fixed. I lost several hours of work by not knowing that. Others > BEWARE!! It's documented that substacks can't have substacks. You're only allowed one layer deep: a mainstack and any number of its substacks. I don't think the engine even checks to see if there's anything else. The IDE won't let you make a substack of a substack. You can try to do it from a script or the message box, though I never tried it. Now I know what happens. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pepetoo at cox.net Mon Dec 20 18:35:51 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 20 Dec 2010 15:35:51 -0800 Subject: Where is the substack In-Reply-To: <4D0FDDB1.3010606@hyperactivesw.com> References: <4D0FDDB1.3010606@hyperactivesw.com> Message-ID: <8A1B2A20-33AA-456B-AEDA-F43942413852@cox.net> Actually, Jacgui, it seems to be working after I selected file>move sub-stack to..., and set the stackfile for the first substack to the second substack. Or vice versa. We'll see what happens when I try to create the standalone. Maybe it won't work at that time; in which case I'll just move the second sub-stack up a level. Better try this before I invest too much more time with this. (smile) Interesting! Joe Lewis Wilkins Architect & Director of Product Development for GSI On Dec 20, 2010, at 2:50 PM, J. Landman Gay wrote: > On 12/20/10 4:13 PM, Joe Lewis Wilkins wrote: >> I found that I needed to move the sack someplace for it to be saved >> anywhere. Pretty unexpected. (smile) We should, at least be told that >> when we create a sub-stack to a sub-stack. Didn't have to do that >> when I created a sub-stack to the main-stack. Definitely needs to be >> fixed. I lost several hours of work by not knowing that. Others >> BEWARE!! > > It's documented that substacks can't have substacks. You're only allowed one layer deep: a mainstack and any number of its substacks. I don't think the engine even checks to see if there's anything else. > > The IDE won't let you make a substack of a substack. You can try to do it from a script or the message box, though I never tried it. Now I know what happens. ;) > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From runrev260805 at m-r-d.de Mon Dec 20 18:43:20 2010 From: runrev260805 at m-r-d.de (Matthias Rebbe) Date: Tue, 21 Dec 2010 00:43:20 +0100 Subject: Where is the substack In-Reply-To: <8A1B2A20-33AA-456B-AEDA-F43942413852@cox.net> References: <4D0FDDB1.3010606@hyperactivesw.com> <8A1B2A20-33AA-456B-AEDA-F43942413852@cox.net> Message-ID: <9E2934D8-5744-49F3-AA37-938D0507C9F3@m-r-d.de> Joe, are you already aware that the url www.glsisinc.com under your signature is not valid? Regards, Matthias Am 21.12.2010 um 00:35 schrieb Joe Lewis Wilkins: > Actually, Jacgui, it seems to be working after I selected file>move sub-stack to..., and set the stackfile for the first substack to the second substack. Or vice versa. We'll see what happens when I try to create the standalone. Maybe it won't work at that time; in which case I'll just move the second sub-stack up a level. Better try this before I invest too much more time with this. (smile) > > Interesting! > > Joe Lewis Wilkins > Architect & Director of Product Development for GSI > > > > > > > > On Dec 20, 2010, at 2:50 PM, J. Landman Gay wrote: > >> On 12/20/10 4:13 PM, Joe Lewis Wilkins wrote: >>> I found that I needed to move the sack someplace for it to be saved >>> anywhere. Pretty unexpected. (smile) We should, at least be told that >>> when we create a sub-stack to a sub-stack. Didn't have to do that >>> when I created a sub-stack to the main-stack. Definitely needs to be >>> fixed. I lost several hours of work by not knowing that. Others >>> BEWARE!! >> >> It's documented that substacks can't have substacks. You're only allowed one layer deep: a mainstack and any number of its substacks. I don't think the engine even checks to see if there's anything else. >> >> The IDE won't let you make a substack of a substack. You can try to do it from a script or the message box, though I never tried it. Now I know what happens. ;) >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pepetoo at cox.net Mon Dec 20 19:06:49 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 20 Dec 2010 16:06:49 -0800 Subject: Where is the substack In-Reply-To: <9E2934D8-5744-49F3-AA37-938D0507C9F3@m-r-d.de> References: <4D0FDDB1.3010606@hyperactivesw.com> <8A1B2A20-33AA-456B-AEDA-F43942413852@cox.net> <9E2934D8-5744-49F3-AA37-938D0507C9F3@m-r-d.de> Message-ID: <1F841317-EA19-447B-9D97-5C07F329C8F1@cox.net> Thanks, Matthias, I was not. Must be down being modified. I'll have to look into that. Joe Lewis Wilkins Architect & Director of Product Development for GSI On Dec 20, 2010, at 3:43 PM, Matthias Rebbe wrote: > Joe, > > are you already aware that the url www.glsisinc.com under your signature is not valid? > > Regards, > Matthias > > > Am 21.12.2010 um 00:35 schrieb Joe Lewis Wilkins: > >> Actually, Jacgui, it seems to be working after I selected file>move sub-stack to..., and set the stackfile for the first substack to the second substack. Or vice versa. We'll see what happens when I try to create the standalone. Maybe it won't work at that time; in which case I'll just move the second sub-stack up a level. Better try this before I invest too much more time with this. (smile) >> >> Interesting! >> >> Joe Lewis Wilkins >> Architect & Director of Product Development for GSI >> >> >> >> >> >> >> >> On Dec 20, 2010, at 2:50 PM, J. Landman Gay wrote: >> >>> On 12/20/10 4:13 PM, Joe Lewis Wilkins wrote: >>>> I found that I needed to move the sack someplace for it to be saved >>>> anywhere. Pretty unexpected. (smile) We should, at least be told that >>>> when we create a sub-stack to a sub-stack. Didn't have to do that >>>> when I created a sub-stack to the main-stack. Definitely needs to be >>>> fixed. I lost several hours of work by not knowing that. Others >>>> BEWARE!! >>> >>> It's documented that substacks can't have substacks. You're only allowed one layer deep: a mainstack and any number of its substacks. I don't think the engine even checks to see if there's anything else. >>> >>> The IDE won't let you make a substack of a substack. You can try to do it from a script or the message box, though I never tried it. Now I know what happens. ;) >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pepetoo at cox.net Mon Dec 20 19:14:25 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 20 Dec 2010 16:14:25 -0800 Subject: URL Typo Message-ID: <7688D8CE-97C8-4248-90E0-8367BD0BABDE@cox.net> Matthias, Just a typo. I told everyone my vision is poor. (smile) Try it now. Joe Lewis Wilkins Architect & Director of Product Development for GSI From mwieder at ahsoftware.net Mon Dec 20 21:20:01 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 20 Dec 2010 18:20:01 -0800 Subject: Where is the substack In-Reply-To: <8A1B2A20-33AA-456B-AEDA-F43942413852@cox.net> References: <4D0FDDB1.3010606@hyperactivesw.com> <8A1B2A20-33AA-456B-AEDA-F43942413852@cox.net> Message-ID: <104255071843.20101220182001@ahsoftware.net> Joe- It really can't be done (I know, I hate it when people tell me that too). I'd love to have substacks of substacks - I have whole workflow issues that could be solved that way, but you just can't. You end up throwing a 560 error : can't set mainstack (has substacks). -- -Mark Wieder mwieder at ahsoftware.net From pete at mollysrevenge.com Mon Dec 20 21:53:26 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Mon, 20 Dec 2010 18:53:26 -0800 Subject: Stack window/screen sizes Message-ID: I just installed my app on a computer other than the one it was developed on and breathed a sigh of relief when everything still worked... EXCEPT that the stack window sizes do not quite fit vertically on the new computer. I think this is because the screen resolution on the developing computer is 1680x1050 and on the computer I installed it on, it's 1280x800 (and there is no 1680x1050 res available). How do I deal with this? Is this what the Geometry manager is for and if so, is there good tutorial out there for it? Thanks, Pete Haworth From pepetoo at cox.net Mon Dec 20 22:05:23 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 20 Dec 2010 19:05:23 -0800 Subject: ABNORMAL ANSWER DIALOG HEIGHT Message-ID: <44C10CAD-492B-40EB-8E09-7705CEF1F49B@cox.net> Jacqui, I removed the handlers that set the height of my cards when opened but I was still getting abnormally tall answer dialogs - both OSX and Windows. So what property or global is used to set the height of Dialogs? HOWEVER, I commented the following out of the Main Stack script and the problem with the abnormal dialog heights disappeared. I can't see how this should have affected the answer dialogs, but... --on resumeStack -- lock messages -- set the height of this stack to 1092 -- set the top of this stack to 100 -- unlock messages -- set the backgroundcolor of this stack to "Beige" -- pass resumestack --end resumeStack Regarding the two level sub-stacks, it appears that LC just made the second level sub-stack another main stack, but it does get bundled with both the OSX and Window's versions and, to the point I have it developed, everything works as I expect it to. Joe Lewis Wilkins Architect & Director of Product Development for GSI From pepetoo at cox.net Mon Dec 20 22:11:05 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 20 Dec 2010 19:11:05 -0800 Subject: Stack window/screen sizes In-Reply-To: References: Message-ID: <64F8BBFA-82E5-490E-B21D-434BB8C533A8@cox.net> Hi Pete, I'm going to be running into the same problem eventually; mainly because my development screen is so large, but I'll deal with it. It's obviously going to require that the users set their resolution as high as possible. Fortunately, I'm using pretty large fonts for everything now. My own resolution is 1600x1200 stretched. Joe Lewis Wilkins Architect & Director of Product Development for GSI On Dec 20, 2010, at 6:53 PM, Peter Haworth wrote: > I just installed my app on a computer other than the one it was developed on and breathed a sigh of relief when everything still worked... EXCEPT that the stack window sizes do not quite fit vertically on the new computer. > > I think this is because the screen resolution on the developing computer is 1680x1050 and on the computer I installed it on, it's 1280x800 (and there is no 1680x1050 res available). How do I deal with this? Is this what the Geometry manager is for and if so, is there good tutorial out there for it? > > Thanks, > > Pete Haworth > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Mon Dec 20 22:30:06 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 20 Dec 2010 19:30:06 -0800 Subject: ABNORMAL ANSWER DIALOG HEIGHT In-Reply-To: <44C10CAD-492B-40EB-8E09-7705CEF1F49B@cox.net> References: <44C10CAD-492B-40EB-8E09-7705CEF1F49B@cox.net> Message-ID: <28259277359.20101220193006@ahsoftware.net> Joe- If your resume stack handler is in the mainstack script, then every substack will be executing it. You might try one of two things: A. move the resumestack handler to the script of the first card of the mainstack B. put the following at the start of the handler: on resumeStack if the short name of this stack is "myMainStack" then ... -- -Mark Wieder mwieder at ahsoftware.net From stephenREVOLUTION2 at barncard.com Tue Dec 21 01:49:28 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 21 Dec 2010 00:49:28 -0600 Subject: OT: Lunar Eclipse Message-ID: It's starting this hour.... *Andre* -- I saw this on the NASA site: "*Viewers in Brazil will see the moon set during totality. "* * * http://www.nasa.gov/connect/chat/lunar_eclipse.html * * that means it will be REAL BIG and ORANGE - enlarged by the atmosphere and lit by earthlight.. Straight overhead ( in Alabama at the moment) and the skies are clear. The moon is just starting to be obfuscated. Sorry Californians can't see it. Too much rain. sqb -- Stephen Barncard San Francisco Ca. USA more about sqb From jhj at jhj.com Tue Dec 21 02:00:01 2010 From: jhj at jhj.com (Jerry J) Date: Mon, 20 Dec 2010 23:00:01 -0800 Subject: OT: Lunar Eclipse In-Reply-To: References: Message-ID: <0E98F10C-BC19-4A58-A5D9-40CC82591FB5@jhj.com> Clear here in Portola Valley. About half gone. --Jerry On Dec 20, 2010, at 10:49 PM, stephen barncard wrote: > It's starting this hour.... *Andre* -- I saw this on the NASA site: > > "*Viewers in Brazil will see the moon set during totality. "* > * > * > http://www.nasa.gov/connect/chat/lunar_eclipse.html > * > * > that means it will be REAL BIG and ORANGE - enlarged by the atmosphere and > lit by earthlight.. > Straight overhead ( in Alabama at the moment) and the skies are clear. The > moon is just starting to be obfuscated. > > Sorry Californians can't see it. Too much rain. > > > sqb > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From davidocoker at gmail.com Tue Dec 21 02:54:29 2010 From: davidocoker at gmail.com (David C.) Date: Tue, 21 Dec 2010 01:54:29 -0600 Subject: OT: Lunar Eclipse In-Reply-To: <0E98F10C-BC19-4A58-A5D9-40CC82591FB5@jhj.com> References: <0E98F10C-BC19-4A58-A5D9-40CC82591FB5@jhj.com> Message-ID: On Tue, Dec 21, 2010 at 1:00 AM, Jerry J wrote: > Clear here in Portola Valley. About half gone. > --Jerry > > On Dec 20, 2010, at 10:49 PM, stephen barncard wrote: > >> It's starting this hour.... ? ?*Andre* -- I saw this on the NASA site: >> >> "*Viewers in Brazil will see the moon set during totality. "* >> * >> * >> http://www.nasa.gov/connect/chat/lunar_eclipse.html >> * >> * >> that means it will be REAL BIG and ORANGE - enlarged by the atmosphere and >> lit by earthlight.. >> Straight overhead ( in Alabama at the moment) and the skies are clear. ?The >> moon is just starting to be obfuscated. >> >> Sorry Californians can't see it. Too much rain. >> >> >> sqb Pretty nifty! Here in N.E.Oklahoma we were able to see the whole thing. Living in a rural area as we do, I was actually more (or at least equally) amazed at the reaction from the critters in the area... just about the exact minute it was a full eclipse, all of the coyotes in the area went crazy with their singing. A beautiful, haunting song it was, indeed. Best regards, David C. From smudge.andy at googlemail.com Tue Dec 21 04:57:42 2010 From: smudge.andy at googlemail.com (AndyP) Date: Tue, 21 Dec 2010 01:57:42 -0800 (PST) Subject: Stack window/screen sizes In-Reply-To: References: Message-ID: <1292925462224-3139096.post@n4.nabble.com> Hi Pete, One way to counter this type of situation is to detect the screen resolution and then have a set of rules to resize and position your objects according to the resolution returned. To make life easy you can have these read in from a text file which allows for more configurations to added in the future It's a fair amout of extra work but I've found it worthwile. Keep in mind that there are lots of NoteBooks out there with screen resolutions of 1024 * 768px. Also be aware that Tablet PCs are going to be big news next year (IOS, Android and Windows) and you may need to think about accommodating those in the future. ----- Andy Piddock My software never has bugs. It just develops random features. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Stack-window-screen-sizes-tp3118876p3139096.html Sent from the Revolution - User mailing list archive at Nabble.com. From smudge.andy at googlemail.com Tue Dec 21 05:16:55 2010 From: smudge.andy at googlemail.com (AndyP) Date: Tue, 21 Dec 2010 02:16:55 -0800 (PST) Subject: OT: Lunar Eclipse In-Reply-To: References: Message-ID: <1292926615711-3140409.post@n4.nabble.com> Shame, Completly clouded over here in snowy Deal, kent, UK. ----- Andy Piddock My software never has bugs. It just develops random features. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Lunar-Eclipse-tp3128333p3140409.html Sent from the Revolution - User mailing list archive at Nabble.com. From andre at andregarzia.com Tue Dec 21 06:00:47 2010 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 21 Dec 2010 09:00:47 -0200 Subject: OT: Lunar Eclipse In-Reply-To: References: Message-ID: I completely forgot the eclipse!!!! silly me... I love eclipses! On Tue, Dec 21, 2010 at 4:49 AM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > It's starting this hour.... *Andre* -- I saw this on the NASA site: > > "*Viewers in Brazil will see the moon set during totality. "* > * > * > http://www.nasa.gov/connect/chat/lunar_eclipse.html > * > * > that means it will be REAL BIG and ORANGE - enlarged by the atmosphere and > lit by earthlight.. > Straight overhead ( in Alabama at the moment) and the skies are clear. The > moon is just starting to be obfuscated. > > Sorry Californians can't see it. Too much rain. > > > sqb > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From keith.clarke at clarkeandclarke.co.uk Tue Dec 21 06:08:30 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Tue, 21 Dec 2010 11:08:30 +0000 Subject: OT: Lunar Eclipse In-Reply-To: References: Message-ID: <3A6F32C4-6B47-475C-9BA2-56130E2ED05D@clarkeandclarke.co.uk> No Anrde '...' is an ellipsis ;-) On 21 Dec 2010, at 11:00, Andre Garzia wrote: > I completely forgot the eclipse!!!! silly me... I love eclipses! > > On Tue, Dec 21, 2010 at 4:49 AM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > >> It's starting this hour.... *Andre* -- I saw this on the NASA site: >> >> "*Viewers in Brazil will see the moon set during totality. "* >> * >> * >> http://www.nasa.gov/connect/chat/lunar_eclipse.html >> * >> * >> that means it will be REAL BIG and ORANGE - enlarged by the atmosphere and >> lit by earthlight.. >> Straight overhead ( in Alabama at the moment) and the skies are clear. The >> moon is just starting to be obfuscated. >> >> Sorry Californians can't see it. Too much rain. >> >> >> sqb >> >> -- >> >> >> >> Stephen Barncard >> San Francisco Ca. USA >> >> more about sqb >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mblivecode at harbourhosting.co.uk Tue Dec 21 06:24:23 2010 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Tue, 21 Dec 2010 11:24:23 +0000 Subject: OT: Lunar Eclipse In-Reply-To: References: <0E98F10C-BC19-4A58-A5D9-40CC82591FB5@jhj.com> Message-ID: <4D108E67.4090003@harbourhosting.co.uk> On 21/12/2010 07:54, David C. wrote: > On Tue, Dec 21, 2010 at 1:00 AM, Jerry J wrote: >> Clear here in Portola Valley. About half gone. --Jerry >> >> On Dec 20, 2010, at 10:49 PM, stephen barncard wrote: >> >>> It's starting this hour.... *Andre* -- I saw this on the NASA >>> site: >>> >>> "*Viewers in Brazil will see the moon set during totality. "* * >>> * http://www.nasa.gov/connect/chat/lunar_eclipse.html * * that >>> means it will be REAL BIG and ORANGE - enlarged by the atmosphere >>> and lit by earthlight.. Straight overhead ( in Alabama at the >>> moment) and the skies are clear. The moon is just starting to be >>> obfuscated. >>> >>> Sorry Californians can't see it. Too much rain. >>> >>> >>> sqb > > Pretty nifty! Here in N.E.Oklahoma we were able to see the whole > thing. Living in a rural area as we do, I was actually more (or at > least equally) amazed at the reaction from the critters in the > area... just about the exact minute it was a full eclipse, all of the > coyotes in the area went crazy with their singing. A beautiful, > haunting song it was, indeed. > > Best regards, David C. > Wow, Thanks for posting that David. Beautiful image. Martin Baxter From bvg at mac.com Tue Dec 21 07:52:38 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 21 Dec 2010 13:52:38 +0100 Subject: Stack window/screen sizes In-Reply-To: References: Message-ID: <29FF935E-5E91-4606-A838-D8263AD3945B@mac.com> Basically, you set the positions and sizes of all your objects in the 'resizestack' message (Look it up in the dictionary). Beware that you need to use the 'width' and 'height' of the card, or the parameters supplied to the message, not the 'rectangle' of the stack (because the stack rect is relative to the 'screenrect'). Additionally on 'opencard', or on 'startup', you set the rect of the stack to something that fits onto the screen. People do expect you to keep their chosen window size between launches. If you save settings somewhere, you can simply save the rect of the stack there, and retrieve it from there again on 'openstack'. On 21 Dec 2010, at 03:53, Peter Haworth wrote: > I just installed my app on a computer other than the one it was developed on and breathed a sigh of relief when everything still worked... EXCEPT that the stack window sizes do not quite fit vertically on the new computer. > > I think this is because the screen resolution on the developing computer is 1680x1050 and on the computer I installed it on, it's 1280x800 (and there is no 1680x1050 res available). How do I deal with this? Is this what the Geometry manager is for and if so, is there good tutorial out there for it? > > Thanks, > > Pete Haworth > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Dec 21 08:53:58 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 21 Dec 2010 05:53:58 -0800 Subject: Stack window/screen sizes Message-ID: <4D10B176.8090903@fourthworld.com> AndyP wrote: > One way to counter this type of situation is to detect the screen resolution > and then have a set of rules to resize and position your objects according > to the resolution returned. To make life easy you can have these read in > from a text file which allows for more configurations to added in the future > > It's a fair amout of extra work but I've found it worthwile. Keep in mind > that there are lots of NoteBooks out there with screen resolutions of 1024 * > 768px. It may also be worth keeping netbooks in mind. Sure, tablets have begun to cut into the growth of the netbook segment, but netbooks are still seeing year-over-year growth and have remained one of the strongest categories for the last three years. I've included some links to market stats in this blog entry about netbook growth at LiveCode Journal: As a result of this growth, several million people are running a screen resolution of 1024x600. So if you're making your UIs adjustable down to 1024x768, it's usually a small thing to go just a few pixels smaller vertically to support windows that resize down to 600 gracefully. Most netbooks use Atom processors, and I gotta say I've been pleasantly surprised at how well they perform for the ultra-low power consumption. I have Atom in both my netbook and a nettop I use here in the office as a private cloud, and both machines do well running Ubuntu and even OpenOffice much more smoothly than I would have anticipated from the specs. The Atom's hyperthreading helps; it's a nice processor. So while netbooks may get overlooked in the current frenzy to explore the tablet form factor, there's been such a rush on them in the last few years that for many apps you'll have a good market available to you by just taking a little time to make sure your windows can be reduced another 168 pixels down. And that provides you with an excuse to get another toy so you can test. At <$300 for many good models, I found it too hard to resist. :) -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From pete at mollysrevenge.com Tue Dec 21 12:46:57 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Tue, 21 Dec 2010 09:46:57 -0800 Subject: Stack window/screen sizes In-Reply-To: <29FF935E-5E91-4606-A838-D8263AD3945B@mac.com> References: <29FF935E-5E91-4606-A838-D8263AD3945B@mac.com> Message-ID: Thanks to all for the replies. It sounds like I'm faced with a huge amount of work! Maybe I'm oversimplifying this but it sure would be nice to able to specify by script "reduce/enlarge all the controls on this card by x% horizontally and y% vertically". I'm still unclear as to whether the Geometry manager can help with this. I've never used it but the documentation seems to indicate that it takes effect when the user resizes a window. Does it come into play when the window size is changed by script? It seems that the geometry manager works at the individual control level so the next question in my mind is how to deal with all the controls hidden within datagrids which I don't have access to. I'm considering another approach to this. I asked a question on the list a couple of days ago about how to get scroll bars on a stack window and the answer was to group all the controls on the card together and specify scroll bars for the group. In some cases that would result in 3 or 4 levels of group nesting which is a pain to work with in the IDE but could be an acceptable workaround for the user. Pete Haworth On Dec 21, 2010, at 4:52 AM, Bj?rnke von Gierke wrote: > Basically, you set the positions and sizes of all your objects in > the 'resizestack' message (Look it up in the dictionary). Beware > that you need to use the 'width' and 'height' of the card, or the > parameters supplied to the message, not the 'rectangle' of the stack > (because the stack rect is relative to the 'screenrect'). > Additionally on 'opencard', or on 'startup', you set the rect of the > stack to something that fits onto the screen. > People do expect you to keep their chosen window size between > launches. If you save settings somewhere, you can simply save the > rect of the stack there, and retrieve it from there again on > 'openstack'. > > > On 21 Dec 2010, at 03:53, Peter Haworth wrote: > >> I just installed my app on a computer other than the one it was >> developed on and breathed a sigh of relief when everything still >> worked... EXCEPT that the stack window sizes do not quite fit >> vertically on the new computer. >> >> I think this is because the screen resolution on the developing >> computer is 1680x1050 and on the computer I installed it on, it's >> 1280x800 (and there is no 1680x1050 res available). How do I deal >> with this? Is this what the Geometry manager is for and if so, is >> there good tutorial out there for it? >> >> Thanks, >> >> Pete Haworth >> >> >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at mollysrevenge.com Tue Dec 21 13:13:02 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Tue, 21 Dec 2010 10:13:02 -0800 Subject: Geometry Manager Message-ID: Just started trying to figure out the geometry manager. It appears there is already a default for every control to scale it when the user resizes the window. Problem is, it doesn't happen. If I resize my window, all the controls on it that fall completely outside the boundary of the window disappear and any that are partially outside the window are cut off. I'd also add that I tried looking in the LC preferences to see if there was a setting to enable/disable the geometry manager and, with glx2 installed, the only preferences that I could get to were the glx2 ones, not the LC ones. Pete Haworth From rjb at robelko.com Tue Dec 21 13:36:25 2010 From: rjb at robelko.com (Robert Brenstein) Date: Tue, 21 Dec 2010 19:36:25 +0100 Subject: Geometry Manager In-Reply-To: References: Message-ID: On 21.12.2010 at 10:13 Uhr -0800 Peter Haworth apparently wrote: >Just started trying to figure out the geometry manager. It appears >there is already a default for every control to scale it when the >user resizes the window. Problem is, it doesn't happen. If I >resize my window, all the controls on it that fall completely >outside the boundary of the window disappear and any that are >partially outside the window are cut off. > >I'd also add that I tried looking in the LC preferences to see if >there was a setting to enable/disable the geometry manager and, with >glx2 installed, the only preferences that I could get to were the >glx2 ones, not the LC ones. > >Pete Haworth > As others suggested, rolling your own geometry management is recommended for more complex situations. The built-in geometry manager works but to a certain complexity only, and when it breaks, the time and effort invested in setting it up will got to waste. You have indicated that your stack is not simple, so going with the built-in manager is not recommended. Others have already hinted that geometry management is not that difficult to program. Typically, you will have on preOpenCard -- accommodate user-inflicted resizing which occured on another card myGeomMgr (the width of this cd),(the height of this cd) end preOpenCard on resizeStack pNewWidth,pNewHeight -- accommodate user-inflicted resizing on this card myGeomMgr pNewWidth,pNewHeight end resizeStack on myGeomMgr pNewWidth,pNewHeight -- card level geometry manager constant cMargin = 25 # do the magic with bg objects myBgGeomMgr pNewWidth,pNewHeight -- optional # do the magic with card groups myGrpGeomMgr pNewWidth,pNewHeight -- optional # do the magic with cd objects ... -- an example resizing a field set the width of fld kListFld to pNewWidth-2*cMargin set the left of fld kListFld to cMargin ... end myGeomMgr Such a setup allows you to call your geometry management also from scripts, and allows you to pass parameters between scripts, if needed. Normally, one positions/resizes objects relative to card edges and other objects, dealing with width and height of each object. The order of positioning/resizing is often critical. Robert From gbojsza at gmail.com Tue Dec 21 13:36:57 2010 From: gbojsza at gmail.com (Glen Bojsza) Date: Tue, 21 Dec 2010 11:36:57 -0700 Subject: Datagrid bug? Looks cheesy... Message-ID: Has anyone seen this before and is there a fix? Platform is Linux - Livecode 4.5.3 (dp1) The vertical scroll bar separates from the right side of the table (moving to the left) leaving a small gap that is quite noticeable. Easily reproduced by creating a new datagrid, and resizing the furthest visible right column as the first action. This makes it look a little cheesy in that it remains this way unless you create a new datagrid (not good for deployment). It would really be nice after the many years if Livecode / Rev would actually have implemented a true table (I think it was one the most requested items throughout the years). Though datagrid is better than before it still is not the ideal solution (IMHO). thanks, Glen From dam-pro.girard at laposte.net Tue Dec 21 13:47:38 2010 From: dam-pro.girard at laposte.net (Damien Girard) Date: Tue, 21 Dec 2010 19:47:38 +0100 Subject: Geometry Manager In-Reply-To: References: Message-ID: <000001cba13f$8ccd56b0$a6680410$@girard@laposte.net> You can also take a look at NativeGeometry that will handle for you all the geometry management ;) http://www.nativesoft.fr/nativegeometry Kind Regards, Damien Girard NativeSoft, France. -----Message d'origine----- De?: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] De la part de Robert Brenstein Envoy??: mardi 21 d?cembre 2010 19:36 ??: How to use LiveCode Objet?: Re: Geometry Manager On 21.12.2010 at 10:13 Uhr -0800 Peter Haworth apparently wrote: >Just started trying to figure out the geometry manager. It appears >there is already a default for every control to scale it when the >user resizes the window. Problem is, it doesn't happen. If I >resize my window, all the controls on it that fall completely >outside the boundary of the window disappear and any that are >partially outside the window are cut off. > >I'd also add that I tried looking in the LC preferences to see if >there was a setting to enable/disable the geometry manager and, with >glx2 installed, the only preferences that I could get to were the >glx2 ones, not the LC ones. > >Pete Haworth > As others suggested, rolling your own geometry management is recommended for more complex situations. The built-in geometry manager works but to a certain complexity only, and when it breaks, the time and effort invested in setting it up will got to waste. You have indicated that your stack is not simple, so going with the built-in manager is not recommended. Others have already hinted that geometry management is not that difficult to program. Typically, you will have on preOpenCard -- accommodate user-inflicted resizing which occured on another card myGeomMgr (the width of this cd),(the height of this cd) end preOpenCard on resizeStack pNewWidth,pNewHeight -- accommodate user-inflicted resizing on this card myGeomMgr pNewWidth,pNewHeight end resizeStack on myGeomMgr pNewWidth,pNewHeight -- card level geometry manager constant cMargin = 25 # do the magic with bg objects myBgGeomMgr pNewWidth,pNewHeight -- optional # do the magic with card groups myGrpGeomMgr pNewWidth,pNewHeight -- optional # do the magic with cd objects ... -- an example resizing a field set the width of fld kListFld to pNewWidth-2*cMargin set the left of fld kListFld to cMargin ... end myGeomMgr Such a setup allows you to call your geometry management also from scripts, and allows you to pass parameters between scripts, if needed. Normally, one positions/resizes objects relative to card edges and other objects, dealing with width and height of each object. The order of positioning/resizing is often critical. Robert _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Tue Dec 21 14:03:57 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Tue, 21 Dec 2010 11:03:57 -0800 Subject: Geometry Manager In-Reply-To: References: Message-ID: <82E7A08D-D7D6-4204-A22C-1C8BA63331A6@mollysrevenge.com> Thanks Robert. It does sound like I will need to do the resizing by script as you say. But I'm confused about the geometry manager. It doesn't appear to do anything right now even though all the objects I've looked at are set to scale when the window resizes (the default). If I write my own geomanager, do I have to do something to stop the LC geomanager doing things in addition to what I do in my own geomanager (even though it appears to do nothing right now)? The reason the geo management issue came up is to deal with different screen resolutions. What I need to do is figure out the screen resolution at startup and if it has changed since the last time the app was run, call my resizing handler to deal with the new screen resolution. If I do allow the user to change window sizes, I could of course use the same resizing handler but the main use right now is to deal with screen resolutions. There are other issues I'm sure, for example if I resize a field control, do I need to reset the font size? I guess it's the fear of the unknown that is making me consider just grouping all the objects on the card together and adding scroll bars to the group so the user can scroll around the window when necessary. It seems like that's pretty easy to implement but I would need to see it in action to know whether it would be acceptable to the user. Pete Haworth On Dec 21, 2010, at 10:36 AM, Robert Brenstein wrote: > On 21.12.2010 at 10:13 Uhr -0800 Peter Haworth apparently wrote: >> Just started trying to figure out the geometry manager. It appears >> there is already a default for every control to scale it when the >> user resizes the window. Problem is, it doesn't happen. If I >> resize my window, all the controls on it that fall completely >> outside the boundary of the window disappear and any that are >> partially outside the window are cut off. >> >> I'd also add that I tried looking in the LC preferences to see if >> there was a setting to enable/disable the geometry manager and, >> with glx2 installed, the only preferences that I could get to were >> the glx2 ones, not the LC ones. >> >> Pete Haworth >> > > As others suggested, rolling your own geometry management is > recommended for more complex situations. The built-in geometry > manager works but to a certain complexity only, and when it breaks, > the time and effort invested in setting it up will got to waste. You > have indicated that your stack is not simple, so going with the > built-in manager is not recommended. Others have already hinted that > geometry management is not that difficult to program. Typically, you > will have > > on preOpenCard > -- accommodate user-inflicted resizing which occured on another card > myGeomMgr (the width of this cd),(the height of this cd) > end preOpenCard > > on resizeStack pNewWidth,pNewHeight > -- accommodate user-inflicted resizing on this card > myGeomMgr pNewWidth,pNewHeight > end resizeStack > > on myGeomMgr pNewWidth,pNewHeight > -- card level geometry manager > constant cMargin = 25 > # do the magic with bg objects > myBgGeomMgr pNewWidth,pNewHeight -- optional > # do the magic with card groups > myGrpGeomMgr pNewWidth,pNewHeight -- optional > # do the magic with cd objects > ... > -- an example resizing a field > set the width of fld kListFld to pNewWidth-2*cMargin > set the left of fld kListFld to cMargin > ... > end myGeomMgr > > Such a setup allows you to call your geometry management also from > scripts, and allows you to pass parameters between scripts, if > needed. Normally, one positions/resizes objects relative to card > edges and other objects, dealing with width and height of each > object. The order of positioning/resizing is often critical. > > Robert > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at mollysrevenge.com Tue Dec 21 14:29:32 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Tue, 21 Dec 2010 11:29:32 -0800 Subject: Geometry Manager In-Reply-To: <000001cba13f$8ccd56b0$a6680410$@girard@laposte.net> References: <000001cba13f$8ccd56b0$a6680410$@girard@laposte.net> Message-ID: Thanks Damien. I've downloaded it and will give it a try. Pete Haworth On Dec 21, 2010, at 10:47 AM, Damien Girard wrote: > > You can also take a look at NativeGeometry that will handle for you > all the > geometry management ;) > > http://www.nativesoft.fr/nativegeometry > > Kind Regards, > > Damien Girard > NativeSoft, France. > > -----Message d'origine----- > De : use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] De la part de Robert > Brenstein > Envoy? : mardi 21 d?cembre 2010 19:36 > ? : How to use LiveCode > Objet : Re: Geometry Manager > > > On 21.12.2010 at 10:13 Uhr -0800 Peter Haworth apparently wrote: >> Just started trying to figure out the geometry manager. It appears >> there is already a default for every control to scale it when the >> user resizes the window. Problem is, it doesn't happen. If I >> resize my window, all the controls on it that fall completely >> outside the boundary of the window disappear and any that are >> partially outside the window are cut off. >> >> I'd also add that I tried looking in the LC preferences to see if >> there was a setting to enable/disable the geometry manager and, with >> glx2 installed, the only preferences that I could get to were the >> glx2 ones, not the LC ones. >> >> Pete Haworth >> > > As others suggested, rolling your own geometry management is > recommended for more complex situations. The built-in geometry > manager works but to a certain complexity only, and when it breaks, > the time and effort invested in setting it up will got to waste. You > have indicated that your stack is not simple, so going with the > built-in manager is not recommended. Others have already hinted that > geometry management is not that difficult to program. Typically, you > will have > > on preOpenCard > -- accommodate user-inflicted resizing which occured on another card > myGeomMgr (the width of this cd),(the height of this cd) > end preOpenCard > > on resizeStack pNewWidth,pNewHeight > -- accommodate user-inflicted resizing on this card > myGeomMgr pNewWidth,pNewHeight > end resizeStack > > on myGeomMgr pNewWidth,pNewHeight > -- card level geometry manager > constant cMargin = 25 > # do the magic with bg objects > myBgGeomMgr pNewWidth,pNewHeight -- optional > # do the magic with card groups > myGrpGeomMgr pNewWidth,pNewHeight -- optional > # do the magic with cd objects > ... > -- an example resizing a field > set the width of fld kListFld to pNewWidth-2*cMargin > set the left of fld kListFld to cMargin > ... > end myGeomMgr > > Such a setup allows you to call your geometry management also from > scripts, and allows you to pass parameters between scripts, if > needed. Normally, one positions/resizes objects relative to card > edges and other objects, dealing with width and height of each > object. The order of positioning/resizing is often critical. > > Robert > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From marc at multied.com Tue Dec 21 14:34:05 2010 From: marc at multied.com (Marc Schulman) Date: Tue, 21 Dec 2010 14:34:05 -0500 Subject: App Store Message-ID: Has anyone tried to submit an app made in Live Code to the Apple App Store? -- Marc Schulman Multimedia Historian http://www.multieducator.net From cmsheffield at gmail.com Tue Dec 21 15:01:15 2010 From: cmsheffield at gmail.com (Chris Sheffield) Date: Tue, 21 Dec 2010 13:01:15 -0700 Subject: Center a group in NativeGeometry (was Geometry Manager) In-Reply-To: <000001cba13f$8ccd56b0$a6680410$@girard@laposte.net> References: <000001cba13f$8ccd56b0$a6680410$@girard@laposte.net> Message-ID: <66430981-C305-4120-B008-2630A7C0D6E0@gmail.com> Hi Damien, Since you mentioned NativeGeometry, I just thought I'd take a minute to compliment you on some fine work. What a great tool! Wish I'd had it years ago. :-) I do have one question if you don't mind. I have a group of controls that I want to keep centered over a tab menu control when the stack resizes. How would I accomplish this? I'm struggling to figure it out, even though it's probably simple. So I don't want the group to resize, I just want it to reposition. Thanks, Chris Sheffield On Dec 21, 2010, at 11:47 AM, Damien Girard wrote: > > You can also take a look at NativeGeometry that will handle for you all the > geometry management ;) > > http://www.nativesoft.fr/nativegeometry > > Kind Regards, > > Damien Girard > NativeSoft, France. > > -----Message d'origine----- > De : use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] De la part de Robert > Brenstein > Envoy? : mardi 21 d?cembre 2010 19:36 > ? : How to use LiveCode > Objet : Re: Geometry Manager > > > -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From john at splash21.com Tue Dec 21 15:25:37 2010 From: john at splash21.com (John Craig) Date: Tue, 21 Dec 2010 20:25:37 +0000 Subject: App Store Message-ID: <4D110D41.4020708@splash21.com> > From: Marc Schulman > Subject: App Store > > Has anyone tried to submit an app made in Live Code to the Apple App Store? > > -- > Marc Schulman > Multimedia Historian Hi, Marc. I submitted a test app earlier today - it's at the 'Waiting for review' stage. JC From bvg at mac.com Tue Dec 21 17:36:33 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 21 Dec 2010 23:36:33 +0100 Subject: Geometry Manager Re: Stack window/screen sizes In-Reply-To: References: <000001cba13f$8ccd56b0$a6680410$%girard@laposte.net> Message-ID: <326DFBEB-A5E0-48EF-A01C-4974EBF32E15@mac.com> Hi Peter I made a lesson because of your confusion, maybe it helps? It's called "How to manage and position objects when a stack is resized". If you create the code by yourself, then you at least know who messed up your stack ;) http://tinyurl.com/2adxkwq (leads to runrev.com lesson site) As for the Geometry manager, it works by adding hidden customproperties to every object. A front- or backscript that is part of revGeneral will check for these properties, and adjusts the objects rectangle. revGeneral is a button that is part of the IDE, and also added by the application builder, whenever you build a standalone. The properties are hidden by the IDE, and they are also called revGeneral (note that there's other, non-geometry stuff stored there too, like standalone builder settings). As you found out, the geometry manager is not only highly unreliable, but also confusing and moving objects every which way almost instantly. I am sure this explanation doesn't help you tho. So rest assured that coding your own is not only less confusing, but also easier to maintain. So, to get rid of the geometry manager stuff, you just need to delete all of the cpropsets. For example, from the multiline message box, or some other script you can do the following (Warning: only do it this way if you do _not_ use custom properties yourself, and don't mind to set up the application builders settings from scratch): repeat for the number of cards add one to y repeat for the number of controls add one to x set the custompropertysets of control x of card y to "" end repeat set the custompropertysets of card y to "" end repeat set the custompropertysets of this stack to "" On 21 Dec 2010, at 20:29, Peter Haworth wrote: > Thanks Damien. I've downloaded it and will give it a try. > > Pete Haworth > > On Dec 21, 2010, at 10:47 AM, Damien Girard wrote: > >> >> You can also take a look at NativeGeometry that will handle for you all the >> geometry management ;) >> >> http://www.nativesoft.fr/nativegeometry >> >> Kind Regards, >> >> Damien Girard >> NativeSoft, France. >> >> -----Message d'origine----- >> De : use-livecode-bounces at lists.runrev.com >> [mailto:use-livecode-bounces at lists.runrev.com] De la part de Robert >> Brenstein >> Envoy? : mardi 21 d?cembre 2010 19:36 >> ? : How to use LiveCode >> Objet : Re: Geometry Manager >> >> >> On 21.12.2010 at 10:13 Uhr -0800 Peter Haworth apparently wrote: >>> Just started trying to figure out the geometry manager. It appears >>> there is already a default for every control to scale it when the >>> user resizes the window. Problem is, it doesn't happen. If I >>> resize my window, all the controls on it that fall completely >>> outside the boundary of the window disappear and any that are >>> partially outside the window are cut off. >>> >>> I'd also add that I tried looking in the LC preferences to see if >>> there was a setting to enable/disable the geometry manager and, with >>> glx2 installed, the only preferences that I could get to were the >>> glx2 ones, not the LC ones. >>> >>> Pete Haworth >>> >> >> As others suggested, rolling your own geometry management is >> recommended for more complex situations. The built-in geometry >> manager works but to a certain complexity only, and when it breaks, >> the time and effort invested in setting it up will got to waste. You >> have indicated that your stack is not simple, so going with the >> built-in manager is not recommended. Others have already hinted that >> geometry management is not that difficult to program. Typically, you >> will have >> >> on preOpenCard >> -- accommodate user-inflicted resizing which occured on another card >> myGeomMgr (the width of this cd),(the height of this cd) >> end preOpenCard >> >> on resizeStack pNewWidth,pNewHeight >> -- accommodate user-inflicted resizing on this card >> myGeomMgr pNewWidth,pNewHeight >> end resizeStack >> >> on myGeomMgr pNewWidth,pNewHeight >> -- card level geometry manager >> constant cMargin = 25 >> # do the magic with bg objects >> myBgGeomMgr pNewWidth,pNewHeight -- optional >> # do the magic with card groups >> myGrpGeomMgr pNewWidth,pNewHeight -- optional >> # do the magic with cd objects >> ... >> -- an example resizing a field >> set the width of fld kListFld to pNewWidth-2*cMargin >> set the left of fld kListFld to cMargin >> ... >> end myGeomMgr >> >> Such a setup allows you to call your geometry management also from >> scripts, and allows you to pass parameters between scripts, if >> needed. Normally, one positions/resizes objects relative to card >> edges and other objects, dealing with width and height of each >> object. The order of positioning/resizing is often critical. >> >> Robert >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Tue Dec 21 17:45:14 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 21 Dec 2010 14:45:14 -0800 Subject: Mobile UI Guideline Links Message-ID: Might be useful: a collection of UI guideline links from all the major players. Regards, Scott Rossi Creative Director Tactile Media, UX Design From jacque at hyperactivesw.com Tue Dec 21 18:00:15 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 21 Dec 2010 17:00:15 -0600 Subject: Geometry Manager In-Reply-To: <82E7A08D-D7D6-4204-A22C-1C8BA63331A6@mollysrevenge.com> References: <82E7A08D-D7D6-4204-A22C-1C8BA63331A6@mollysrevenge.com> Message-ID: <4D11317F.7060504@hyperactivesw.com> On 12/21/10 1:03 PM, Peter Haworth wrote: > But I'm confused about the geometry manager. It > doesn't appear to do anything right now even though all the objects I've > looked at are set to scale when the window resizes (the default). What you're seeing are just the default settings, but they haven't been applied to your controls yet. You need to go through every control and specifically set geometry on it. It isn't done automatically. There's an explanation of how the geometry manager works in the User Guide. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From harald at etcpp.de Tue Dec 21 18:23:02 2010 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Wed, 22 Dec 2010 00:23:02 +0100 Subject: List of fonts (Link) In-Reply-To: <07E5C44B-BD9E-4AAE-A0C5-16388606A741@etcpp.de> References: <07E5C44B-BD9E-4AAE-A0C5-16388606A741@etcpp.de> Message-ID: <5AE8AD3A-73C6-4F24-BAAF-00C8DFE2DFB6@etcpp.de> Don't know if this is of interest for anyone - I'm thinking visual and I like to see the list I knew before: http://iosfonts.com/ Best regards, Harald. From rjb at robelko.com Tue Dec 21 18:31:27 2010 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 22 Dec 2010 00:31:27 +0100 Subject: Geometry Manager In-Reply-To: <82E7A08D-D7D6-4204-A22C-1C8BA63331A6@mollysrevenge.com> References: <82E7A08D-D7D6-4204-A22C-1C8BA63331A6@mollysrevenge.com> Message-ID: On 21.12.2010 at 11:03 Uhr -0800 Peter Haworth apparently wrote: >Thanks Robert. It does sound like I will need to do the resizing by >script as you say. But I'm confused about the geometry manager. It >doesn't appear to do anything right now even though all the objects >I've looked at are set to scale when the window resizes (the >default). If I write my own geomanager, do I have to do something >to stop the LC geomanager doing things in addition to what I do in >my own geomanager (even though it appears to do nothing right now)? > >The reason the geo management issue came up is to deal with >different screen resolutions. What I need to do is figure out the >screen resolution at startup and if it has changed since the last >time the app was run, call my resizing handler to deal with the new >screen resolution. If I do allow the user to change window sizes, I >could of course use the same resizing handler but the main use right >now is to deal with screen resolutions. > >There are other issues I'm sure, for example if I resize a field >control, do I need to reset the font size? I guess it's the fear of >the unknown that is making me consider just grouping all the objects >on the card together and adding scroll bars to the group so the user >can scroll around the window when necessary. It seems like that's >pretty easy to implement but I would need to see it in action to >know whether it would be acceptable to the user. > >Pete Haworth The built-in geom mgr does not do anything with content, that is things like font sizes afaik. Whether you change font size or not, that is a GUI issue. Often, usually, this is best left for the user to decide what suits them. When supporting different screen resolutions, you can program a few distict geometry states, thus simplifying geometry management somewhat, but letting user resize the window to their liking is possibly advantageous and likely a better GUI. Note that you can set a minimum size of each stack (part of stack properties), so you can use that to define the smallest window. Rolling your geom mgr will let you be smarter about what you offer and do things that normal geom mgr can't (like changing alignment or arrangement of objects for very small or very large window sizes). Making a group with scrolbars is of course an alternative. Indeed makes things simnpler for you, but will the program's usability suffer? Without knowing your program, it is impossible to give any GUI-related advice. Robert PS Altuit has a plugin that allows to clear all IDE-set properties, including geom manager, so you can always clean this way. I haven't used the built-in feature for too long to remember how it works, but I seem to recall that it was being set for each object independently and removing its settings for that object in the property inspector should deactivate it for that object. From pete at mollysrevenge.com Tue Dec 21 18:34:47 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Tue, 21 Dec 2010 15:34:47 -0800 Subject: Geometry Manager Re: Stack window/screen sizes In-Reply-To: <326DFBEB-A5E0-48EF-A01C-4974EBF32E15@mac.com> References: <000001cba13f$8ccd56b0$a6680410$%girard@laposte.net> <326DFBEB-A5E0-48EF-A01C-4974EBF32E15@mac.com> Message-ID: Thank you! I just looked at the lesson and it odes indeed clarify things. I think I have a huge amount of work ahead of me though since I have many screens and some of them have a large number of objects that will need to be resized. I do use a lot of my own cprops so unfortunately won;t be able to use the code snippet you gave for getting rid of the Geometry manager properties. But if I am understanding the user guide correctly, if I don't pass the resizeStack message, the geometry manager will never see it and so won;t do anything. I am now thinking that I may be able to make use of my own custom properties along with some common code to implement all this. Without that, it sounds like thousands of lines of code. Alternatively, I'm naively hoping that I might be able to write some code that will simply adjust the size of controls and the distance between them based on the ratio between the old and new screen sizes. For example, if the user reduces the screen size by 10% horizontally, it seems like I should be able to reduce the width of all the controls and the horizontal distance between them by 10% and everything should fit. I'm sure I;d need a way to deal with exceptions (cprops?). Is that too simplistic? Pete Haworth On Dec 21, 2010, at 2:36 PM, Bj?rnke von Gierke wrote: > Hi Peter > > I made a lesson because of your confusion, maybe it helps? It's > called "How to manage and position objects when a stack is resized". > If you create the code by yourself, then you at least know who > messed up your stack ;) > > http://tinyurl.com/2adxkwq (leads to runrev.com lesson site) > > As for the Geometry manager, it works by adding hidden > customproperties to every object. A front- or backscript that is > part of revGeneral will check for these properties, and adjusts the > objects rectangle. revGeneral is a button that is part of the IDE, > and also added by the application builder, whenever you build a > standalone. The properties are hidden by the IDE, and they are also > called revGeneral (note that there's other, non-geometry stuff > stored there too, like standalone builder settings). As you found > out, the geometry manager is not only highly unreliable, but also > confusing and moving objects every which way almost instantly. > > I am sure this explanation doesn't help you tho. So rest assured > that coding your own is not only less confusing, but also easier to > maintain. So, to get rid of the geometry manager stuff, you just > need to delete all of the cpropsets. For example, from the multiline > message box, or some other script you can do the following (Warning: > only do it this way if you do _not_ use custom properties yourself, > and don't mind to set up the application builders settings from > scratch): > > repeat for the number of cards > add one to y > repeat for the number of controls > add one to x > set the custompropertysets of control x of card y to "" > end repeat > set the custompropertysets of card y to "" > end repeat > set the custompropertysets of this stack to "" > > On 21 Dec 2010, at 20:29, Peter Haworth wrote: > >> Thanks Damien. I've downloaded it and will give it a try. >> >> Pete Haworth >> >> On Dec 21, 2010, at 10:47 AM, Damien Girard wrote: >> >>> >>> You can also take a look at NativeGeometry that will handle for >>> you all the >>> geometry management ;) >>> >>> http://www.nativesoft.fr/nativegeometry >>> >>> Kind Regards, >>> >>> Damien Girard >>> NativeSoft, France. >>> >>> -----Message d'origine----- >>> De : use-livecode-bounces at lists.runrev.com >>> [mailto:use-livecode-bounces at lists.runrev.com] De la part de Robert >>> Brenstein >>> Envoy? : mardi 21 d?cembre 2010 19:36 >>> ? : How to use LiveCode >>> Objet : Re: Geometry Manager >>> >>> >>> On 21.12.2010 at 10:13 Uhr -0800 Peter Haworth apparently wrote: >>>> Just started trying to figure out the geometry manager. It appears >>>> there is already a default for every control to scale it when the >>>> user resizes the window. Problem is, it doesn't happen. If I >>>> resize my window, all the controls on it that fall completely >>>> outside the boundary of the window disappear and any that are >>>> partially outside the window are cut off. >>>> >>>> I'd also add that I tried looking in the LC preferences to see if >>>> there was a setting to enable/disable the geometry manager and, >>>> with >>>> glx2 installed, the only preferences that I could get to were the >>>> glx2 ones, not the LC ones. >>>> >>>> Pete Haworth >>>> >>> >>> As others suggested, rolling your own geometry management is >>> recommended for more complex situations. The built-in geometry >>> manager works but to a certain complexity only, and when it breaks, >>> the time and effort invested in setting it up will got to waste. You >>> have indicated that your stack is not simple, so going with the >>> built-in manager is not recommended. Others have already hinted that >>> geometry management is not that difficult to program. Typically, you >>> will have >>> >>> on preOpenCard >>> -- accommodate user-inflicted resizing which occured on another card >>> myGeomMgr (the width of this cd),(the height of this cd) >>> end preOpenCard >>> >>> on resizeStack pNewWidth,pNewHeight >>> -- accommodate user-inflicted resizing on this card >>> myGeomMgr pNewWidth,pNewHeight >>> end resizeStack >>> >>> on myGeomMgr pNewWidth,pNewHeight >>> -- card level geometry manager >>> constant cMargin = 25 >>> # do the magic with bg objects >>> myBgGeomMgr pNewWidth,pNewHeight -- optional >>> # do the magic with card groups >>> myGrpGeomMgr pNewWidth,pNewHeight -- optional >>> # do the magic with cd objects >>> ... >>> -- an example resizing a field >>> set the width of fld kListFld to pNewWidth-2*cMargin >>> set the left of fld kListFld to cMargin >>> ... >>> end myGeomMgr >>> >>> Such a setup allows you to call your geometry management also from >>> scripts, and allows you to pass parameters between scripts, if >>> needed. Normally, one positions/resizes objects relative to card >>> edges and other objects, dealing with width and height of each >>> object. The order of positioning/resizing is often critical. >>> >>> Robert >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at mollysrevenge.com Tue Dec 21 18:45:14 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Tue, 21 Dec 2010 15:45:14 -0800 Subject: Geometry Manager In-Reply-To: <4D11317F.7060504@hyperactivesw.com> References: <82E7A08D-D7D6-4204-A22C-1C8BA63331A6@mollysrevenge.com> <4D11317F.7060504@hyperactivesw.com> Message-ID: <586CD1BC-5926-41CD-BA2A-0942D90726ED@mollysrevenge.com> Yes, I read the description in the User Guide. Here's what I did. I selected a control that is over on the right of the card and set it to Scale, then clicked the grey bar in the link area to create an absolute link to the right edge of the window. Then I resized the width of the window. The control wasn't scaled and it didn't move relative to the right edge of the window, it was just cut off by the new right edge of the window. So I guess I'm not sure what else I need to do. Pete Haworth On Dec 21, 2010, at 3:00 PM, J. Landman Gay wrote: > On 12/21/10 1:03 PM, Peter Haworth wrote: >> But I'm confused about the geometry manager. It >> doesn't appear to do anything right now even though all the objects >> I've >> looked at are set to scale when the window resizes (the default). > > What you're seeing are just the default settings, but they haven't > been applied to your controls yet. You need to go through every > control and specifically set geometry on it. It isn't done > automatically. > > There's an explanation of how the geometry manager works in the User > Guide. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bryan at deepfoo.com Tue Dec 21 19:18:24 2010 From: bryan at deepfoo.com (Bryan McCormick) Date: Tue, 21 Dec 2010 19:18:24 -0500 Subject: Issue with Twitter search Message-ID: <4D1143D0.7070404@deepfoo.com> This is probably a bit less about livecode than it is about the Twitter API, but perhaps someone has done this already. I want to do some fairly deep searches into the Twitter archive. To do that requires being able to dance around the "search since" restriction on the number of entries returned, which is currently the last 15 since the time of your request. Apparently you have to use the Max_id to be able to step any further backwards than this. I can't see where this gets returned or how you would use it to iterate. As far as I can tell, though the API docs are a bit obtuse, this is a unique time identifier that goes down to milliseconds. Has anyone done this before in livecode/rev/mc? Anyone familiar with the API and its limits? Thanks. From bryan at deepfoo.com Tue Dec 21 19:25:46 2010 From: bryan at deepfoo.com (Bryan McCormick) Date: Tue, 21 Dec 2010 19:25:46 -0500 Subject: Finding local minima and maxima of a graph Message-ID: <4D11458A.2000105@deepfoo.com> Thanks to everyone who tossed in their thoughts and code samples. Francois, yes, it is a variation I suppose of wavelets, or a filtered wave. It makes perfect sense. The degree of variation is something that needs to be added as a function param so that significance can be selectable on a percentage basis. And sure, rate of change would be a good way to do that. From martinblackman at gmail.com Tue Dec 21 20:26:42 2010 From: martinblackman at gmail.com (Martin Blackman) Date: Wed, 22 Dec 2010 09:26:42 +0800 Subject: Geometry Manager Re: Stack window/screen sizes In-Reply-To: References: <000001cba13f$8ccd56b0$a6680410$%girard@laposte.net> <326DFBEB-A5E0-48EF-A01C-4974EBF32E15@mac.com> Message-ID: There is also a handy plug in for geometry management by altuit which i always use. Writes code for you. I dont know about your situation but i never bother to adjust anything with screen size. On 12/22/10, Peter Haworth wrote: > Thank you! I just looked at the lesson and it odes indeed clarify > things. I think I have a huge amount of work ahead of me though since > I have many screens and some of them have a large number of objects > that will need to be resized. > > I do use a lot of my own cprops so unfortunately won;t be able to use > the code snippet you gave for getting rid of the Geometry manager > properties. But if I am understanding the user guide correctly, if I > don't pass the resizeStack message, the geometry manager will never > see it and so won;t do anything. > > I am now thinking that I may be able to make use of my own custom > properties along with some common code to implement all this. Without > that, it sounds like thousands of lines of code. Alternatively, I'm > naively hoping that I might be able to write some code that will > simply adjust the size of controls and the distance between them based > on the ratio between the old and new screen sizes. For example, if > the user reduces the screen size by 10% horizontally, it seems like I > should be able to reduce the width of all the controls and the > horizontal distance between them by 10% and everything should fit. > I'm sure I;d need a way to deal with exceptions (cprops?). Is that > too simplistic? > > Pete Haworth > > On Dec 21, 2010, at 2:36 PM, Bj?rnke von Gierke wrote: > >> Hi Peter >> >> I made a lesson because of your confusion, maybe it helps? It's >> called "How to manage and position objects when a stack is resized". >> If you create the code by yourself, then you at least know who >> messed up your stack ;) >> >> http://tinyurl.com/2adxkwq (leads to runrev.com lesson site) >> >> As for the Geometry manager, it works by adding hidden >> customproperties to every object. A front- or backscript that is >> part of revGeneral will check for these properties, and adjusts the >> objects rectangle. revGeneral is a button that is part of the IDE, >> and also added by the application builder, whenever you build a >> standalone. The properties are hidden by the IDE, and they are also >> called revGeneral (note that there's other, non-geometry stuff >> stored there too, like standalone builder settings). As you found >> out, the geometry manager is not only highly unreliable, but also >> confusing and moving objects every which way almost instantly. >> >> I am sure this explanation doesn't help you tho. So rest assured >> that coding your own is not only less confusing, but also easier to >> maintain. So, to get rid of the geometry manager stuff, you just >> need to delete all of the cpropsets. For example, from the multiline >> message box, or some other script you can do the following (Warning: >> only do it this way if you do _not_ use custom properties yourself, >> and don't mind to set up the application builders settings from >> scratch): >> >> repeat for the number of cards >> add one to y >> repeat for the number of controls >> add one to x >> set the custompropertysets of control x of card y to "" >> end repeat >> set the custompropertysets of card y to "" >> end repeat >> set the custompropertysets of this stack to "" >> >> On 21 Dec 2010, at 20:29, Peter Haworth wrote: >> >>> Thanks Damien. I've downloaded it and will give it a try. >>> >>> Pete Haworth >>> >>> On Dec 21, 2010, at 10:47 AM, Damien Girard wrote: >>> >>>> >>>> You can also take a look at NativeGeometry that will handle for >>>> you all the >>>> geometry management ;) >>>> >>>> http://www.nativesoft.fr/nativegeometry >>>> >>>> Kind Regards, >>>> >>>> Damien Girard >>>> NativeSoft, France. >>>> >>>> -----Message d'origine----- >>>> De : use-livecode-bounces at lists.runrev.com >>>> [mailto:use-livecode-bounces at lists.runrev.com] De la part de Robert >>>> Brenstein >>>> Envoy? : mardi 21 d?cembre 2010 19:36 >>>> ? : How to use LiveCode >>>> Objet : Re: Geometry Manager >>>> >>>> >>>> On 21.12.2010 at 10:13 Uhr -0800 Peter Haworth apparently wrote: >>>>> Just started trying to figure out the geometry manager. It appears >>>>> there is already a default for every control to scale it when the >>>>> user resizes the window. Problem is, it doesn't happen. If I >>>>> resize my window, all the controls on it that fall completely >>>>> outside the boundary of the window disappear and any that are >>>>> partially outside the window are cut off. >>>>> >>>>> I'd also add that I tried looking in the LC preferences to see if >>>>> there was a setting to enable/disable the geometry manager and, >>>>> with >>>>> glx2 installed, the only preferences that I could get to were the >>>>> glx2 ones, not the LC ones. >>>>> >>>>> Pete Haworth >>>>> >>>> >>>> As others suggested, rolling your own geometry management is >>>> recommended for more complex situations. The built-in geometry >>>> manager works but to a certain complexity only, and when it breaks, >>>> the time and effort invested in setting it up will got to waste. You >>>> have indicated that your stack is not simple, so going with the >>>> built-in manager is not recommended. Others have already hinted that >>>> geometry management is not that difficult to program. Typically, you >>>> will have >>>> >>>> on preOpenCard >>>> -- accommodate user-inflicted resizing which occured on another card >>>> myGeomMgr (the width of this cd),(the height of this cd) >>>> end preOpenCard >>>> >>>> on resizeStack pNewWidth,pNewHeight >>>> -- accommodate user-inflicted resizing on this card >>>> myGeomMgr pNewWidth,pNewHeight >>>> end resizeStack >>>> >>>> on myGeomMgr pNewWidth,pNewHeight >>>> -- card level geometry manager >>>> constant cMargin = 25 >>>> # do the magic with bg objects >>>> myBgGeomMgr pNewWidth,pNewHeight -- optional >>>> # do the magic with card groups >>>> myGrpGeomMgr pNewWidth,pNewHeight -- optional >>>> # do the magic with cd objects >>>> ... >>>> -- an example resizing a field >>>> set the width of fld kListFld to pNewWidth-2*cMargin >>>> set the left of fld kListFld to cMargin >>>> ... >>>> end myGeomMgr >>>> >>>> Such a setup allows you to call your geometry management also from >>>> scripts, and allows you to pass parameters between scripts, if >>>> needed. Normally, one positions/resizes objects relative to card >>>> edges and other objects, dealing with width and height of each >>>> object. The order of positioning/resizing is often critical. >>>> >>>> Robert >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription >>>> preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Sent from my mobile device From rjb at robelko.com Tue Dec 21 20:27:15 2010 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 22 Dec 2010 02:27:15 +0100 Subject: Geometry Manager Re: Stack window/screen sizes In-Reply-To: References: <000001cba13f$8ccd56b0$a6680410$%girard@laposte.net> <326DFBEB-A5E0-48EF-A01C-4974EBF32E15@mac.com> Message-ID: On 21.12.2010 at 15:34 Uhr -0800 Peter Haworth apparently wrote: >I am now thinking that I may be able to make use of my own custom >properties along with some common code to implement all this. >Without that, it sounds like thousands of lines of code. >Alternatively, I'm naively hoping that I might be able to write some >code that will simply adjust the size of controls and the distance >between them based on the ratio between the old and new screen >sizes. For example, if the user reduces the screen size by 10% >horizontally, it seems like I should be able to reduce the width of >all the controls and the horizontal distance between them by 10% and >everything should fit. >I'm sure I;d need a way to deal with exceptions (cprops?). Is that >too simplistic? If there are any patterns, you can, of course, write functions to handle specific tasks or combinations of tasks for you. For example, I often have a series of buttons, a varying number of them, along the bottom edge of a window. They should be at a certain distance from the bottom and with certain offset to the right edge of the window and a fixed space between them. I have a function which gets long ids of those buttons, from rightmost to leftmost, and positions them automagically as user resizes a card. Same function is called on any card that has 1 or more such buttons. Robert From mwieder at ahsoftware.net Tue Dec 21 20:35:07 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 21 Dec 2010 17:35:07 -0800 Subject: Update: Re: Valentina db under Linux ??? In-Reply-To: <18472734312.20101218154103@ahsoftware.net> References: <19857172687.20101218112142@ahsoftware.net> <0D668BFB0B194BB3A9898B2CD3A26C77@GATEWAY> <8763035843.20101218125925@ahsoftware.net> <13871276453.20101218151645@ahsoftware.net> <1292715350.2250.697.camel@mint-i7> <18472734312.20101218154103@ahsoftware.net> Message-ID: <0338778281.20101221173507@ahsoftware.net> Saturday, December 18, 2010, 3:41:03 PM, I wrote: > Thanks - that's very encouraging. I'll get back to my linux system on > Monday and figure out what's going on. Update: I got this working on Fedora Core 13 today. I must have glossed over two errors the other day. Today they were glaring back at me. After the double installation (download the installer and run it in superuser mode, then navigate to the installer.rev file and run it in the IDE) there were still some broken links due to my having updated versions of a couple of necessary libraries. The installer insists on specific versions of libraries, so you're on your own if you have later versions. To get valentina library working on Fedora Core 13: ldd shows two broken symbolic links for older versions of libraries: libtiff.so.4 libssl.so.0.9.8 su - cd /usr/lib ln -s /usr/lib/libtiff.so.3.9.4 libtiff.so.4 ln -s /usr/lib/libssl.1.0.0c libssl.so.0.9.8 I'm not sure why the tiff library is needed, and both those symbolic links make me a bit uneasy, but they get me past the loading library phase and after that the Valentina external library is available to LiveCode. -- -Mark Wieder mwieder at ahsoftware.net From kray at sonsothunder.com Tue Dec 21 21:44:39 2010 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 21 Dec 2010 20:44:39 -0600 Subject: Help me with my inability to see a simple solution In-Reply-To: Message-ID: I know I'm kind of late, but here's another way to accomplish the same thing (it's also a bit shorter): on mouseUp put "3,4,5,6,6,7,8,9,10,12,13,13,14" into tData put MissingAndDupes(tData) into tResult -- line 1 of tResult will be empty or have a list of missing numbers -- line 2 of tResult will be empty or have a list of duped numbers end mouseUp function MissingAndDupes pData repeat for each item tItem in pData add 1 to tCount[tItem] end repeat repeat with x = 1 to max(pData) if tCount[x] = "" then put (x & ",") after tMissing if tCount[x] > 1 then put (x & ",") after tDupes end repeat delete char -1 of tMissing delete char -1 of tDupes return tMissing & cr & tDupes end MissingAndDupes Ken On 12/17/10 1:47 PM, "william humphrey" wrote: > That's exactly what I did. A day doesn't go by that I find another way to > make a mistake. > > Thanks for all your help. > > On Fri, Dec 17, 2010 at 3:00 PM, Robert Brenstein wrote: > >> On 16.12.2010 at 20:36 Uhr -0400 william humphrey apparently wrote: >> >>> function getMissingNumbers pNumberList >>> put empty into vOccurences >>> repeat for each item vNumber in pNumberList >>> add 1 to vOccurences[vNumber] >>> end repeat >>> get the keys of vOccurences >>> sort lines of it numeric >>> put line -1 of it into vLargestNumber >>> put empty into vMissing >>> repeat with i=1 to vLargestNumber >>> if vOccurences[i] is empty then put i & comma after vMissing >>> end repeat >>> delete char -1 of vMissing >>> return vMissing >>> end getMissingNumbers >>> >>> this returns a sequential list of all numbers, not just the missing >>> numbers >>> >> >> Just tested this and it works for me. May be you passed the data as >> multiple parameters instead of one. I mean sth like >> >> answer getMissingNumbers(3,4,5,6,6,7,8,9,10,12,13,13,14) >> >> instead of >> >> answer getMissingNumbers("3,4,5,6,6,7,8,9,10,12,13,13,14") >> >> This algorithm makes no assumption on the order of data except that it >> should contain numbers from 1 to the largest number in the set. Their order >> or repetition are irrelevant. >> >> >> Robert >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From liste.revo at medard.on-rev.com Wed Dec 22 04:01:41 2010 From: liste.revo at medard.on-rev.com (Medard) Date: Wed, 22 Dec 2010 10:01:41 +0100 Subject: Getting a public IP address when connected to a router In-Reply-To: <1jtso7s.1gfbdv9iauim5M%liste.revo@medard.on-rev.com> Message-ID: <1jtwbqb.tzro711dcj7maM%liste.revo@medard.on-rev.com> Medard wrote: > Now, a little grepping would help ;-) I went with a simpler solution... in the line beginning with "descr:" I can read that's me ;-) (the ADSL node, in gross) that's sufficient, since I don't have a bunch of readers in my small town ;-> From ruslan_zasukhin at valentina-db.com Wed Dec 22 05:46:01 2010 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Wed, 22 Dec 2010 12:46:01 +0200 Subject: App Store -- not only XCODE apps ? In-Reply-To: <4D110D41.4020708@splash21.com> Message-ID: On 12/21/10 10:25 PM, "John Craig" wrote: > Hi, Marc. I submitted a test app earlier today - it's at the 'Waiting > for review' stage. Guys, Please correct me if I am wrong. I believe in first days when was shown AppStore Guidliines I have read that only XCODE made apps can be accpeted. Yes I have see wave of letters about code signing on RB and REV lists. But I did not read them Something was changed by Apple? They now accept not only XCODE apps? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From bvg at mac.com Wed Dec 22 05:48:18 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 22 Dec 2010 11:48:18 +0100 Subject: App Store -- not only XCODE apps ? In-Reply-To: References: Message-ID: On 22 Dec 2010, at 11:46, Ruslan Zasukhin wrote: > They now accept not only XCODE apps? Correct. The USA government started to stir, so Steve backed down. From jmyepes at mac.com Wed Dec 22 09:13:49 2010 From: jmyepes at mac.com (Josep M Yepes) Date: Wed, 22 Dec 2010 15:13:49 +0100 Subject: How to use Apple Frameworks in External tutorial In-Reply-To: References: Message-ID: <7ADA9C48-9A29-4679-8167-0F07E7808205@mac.com> Hi, Someone have any experience about how use the Apple Frameworks to build a Externals? I don't have idea how to include the "xxxxx.h" into the XCode project and how prepare de environment. I followed the tutorial with exit, but now I want include some Frameworks inside. Any help or tip? Salut, Josep From jmyepes at mac.com Wed Dec 22 09:30:27 2010 From: jmyepes at mac.com (JosepM) Date: Wed, 22 Dec 2010 06:30:27 -0800 (PST) Subject: How to use Apple Frameworks in External tutorial In-Reply-To: <7ADA9C48-9A29-4679-8167-0F07E7808205@mac.com> References: <7ADA9C48-9A29-4679-8167-0F07E7808205@mac.com> Message-ID: <1293028227129-3160726.post@n4.nabble.com> Well, the correct question is: How to use Cocoa Framework to build a external for LiveCode. :) Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-use-Apple-Frameworks-in-External-tutorial-tp3160698p3160726.html Sent from the Revolution - User mailing list archive at Nabble.com. From rev at nonsanity.com Wed Dec 22 09:32:14 2010 From: rev at nonsanity.com (Nonsanity) Date: Wed, 22 Dec 2010 09:32:14 -0500 Subject: Help me with my inability to see a simple solution In-Reply-To: References: Message-ID: That's a very clean and simple solution, Ken. I've enjoyed looking at all the methods people have used for this simple task. I'd go with yours if speed wasn't an issue - that is, the lengths of data were about as long as the sample and not a megabyte or more of the stuff. I wrote mine with speed in mind. It makes only one pass through the of the data (1..N+number of dupes), despite the three repeat structures in it. ~ Chris Innanen ~ Nonsanity On Tue, Dec 21, 2010 at 9:44 PM, Ken Ray wrote: > I know I'm kind of late, but here's another way to accomplish the same > thing > (it's also a bit shorter): > > on mouseUp > put "3,4,5,6,6,7,8,9,10,12,13,13,14" into tData > put MissingAndDupes(tData) into tResult > -- line 1 of tResult will be empty or have a list of missing numbers > -- line 2 of tResult will be empty or have a list of duped numbers > end mouseUp > > function MissingAndDupes pData > repeat for each item tItem in pData > add 1 to tCount[tItem] > end repeat > repeat with x = 1 to max(pData) > if tCount[x] = "" then put (x & ",") after tMissing > if tCount[x] > 1 then put (x & ",") after tDupes > end repeat > delete char -1 of tMissing > delete char -1 of tDupes > return tMissing & cr & tDupes > end MissingAndDupes > > Ken > > On 12/17/10 1:47 PM, "william humphrey" > wrote: > > > That's exactly what I did. A day doesn't go by that I find another way to > > make a mistake. > > > > Thanks for all your help. > > > > On Fri, Dec 17, 2010 at 3:00 PM, Robert Brenstein > wrote: > > > >> On 16.12.2010 at 20:36 Uhr -0400 william humphrey apparently wrote: > >> > >>> function getMissingNumbers pNumberList > >>> put empty into vOccurences > >>> repeat for each item vNumber in pNumberList > >>> add 1 to vOccurences[vNumber] > >>> end repeat > >>> get the keys of vOccurences > >>> sort lines of it numeric > >>> put line -1 of it into vLargestNumber > >>> put empty into vMissing > >>> repeat with i=1 to vLargestNumber > >>> if vOccurences[i] is empty then put i & comma after vMissing > >>> end repeat > >>> delete char -1 of vMissing > >>> return vMissing > >>> end getMissingNumbers > >>> > >>> this returns a sequential list of all numbers, not just the missing > >>> numbers > >>> > >> > >> Just tested this and it works for me. May be you passed the data as > >> multiple parameters instead of one. I mean sth like > >> > >> answer getMissingNumbers(3,4,5,6,6,7,8,9,10,12,13,13,14) > >> > >> instead of > >> > >> answer getMissingNumbers("3,4,5,6,6,7,8,9,10,12,13,13,14") > >> > >> This algorithm makes no assumption on the order of data except that it > >> should contain numbers from 1 to the largest number in the set. Their > order > >> or repetition are irrelevant. > >> > >> > >> Robert > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bill at bluewatermaritime.com Wed Dec 22 10:17:25 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Wed, 22 Dec 2010 11:17:25 -0400 Subject: Help me with my inability to see a simple solution In-Reply-To: References: Message-ID: Ken that is too easy and simple. Even I can understand it at a glance. Can't possibly work. Thanks everyone for lots of excellent answers! From toolbook at kestner.de Wed Dec 22 11:36:13 2010 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 22 Dec 2010 17:36:13 +0100 Subject: any known LC bugs with handwriting pen input? Message-ID: <00a901cba1f6$5d027520$17075f60$@de> Hello, LC 4.2, Win 7 A customer of mine uses the handwriting recognition with pen input. When he enters a word into the handwriting recognition, hits enter to enter the recognized word into a field in my program, the field input has a space after each character of the word. Example, he writes "test", after entering the text in my field is "t e s t". I can't reproduce it here, because I don't have a pen input, but he says, that this behavior only occours in my (LC) program. All other programs behave "normal". So has anybody encountered this behavior with LC or has a clue, what is going on here? Thanks for any hint Tiemo From pete at mollysrevenge.com Wed Dec 22 12:34:45 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 22 Dec 2010 09:34:45 -0800 Subject: Geometry Manager Re: Stack window/screen sizes In-Reply-To: References: <000001cba13f$8ccd56b0$a6680410$%girard@laposte.net> <326DFBEB-A5E0-48EF-A01C-4974EBF32E15@mac.com> Message-ID: That's along the lines of what I have in mind. I've started to play around with some code to do this but I'm already finding lots of gotchas that I hadn't thought about, plus I still haven't figured out how to deal with font sizes. I'm definitely not a GUI expert but I'm thinking of providing 3 or 4 designs of the the cards that are affected by this problem to match the more common screen resolutions and displaying the appropriate one to the user. I'm pretty sure I could layout the cards for different resolutions a lot more quickly and a lot more aesthetically than relying on a script to do it. I would allow the user to resize the window but I would not scale or re-position the controls within it. I see lots of web sites that adopt that approach these days. I am definitely not a GUI expert and would like to learn more about it. Anyone got an recommendations on reading matter on this subject? Pete Haworth -------------- next part -------------- http://www.mollysrevenge.com http://www.sonicbids.com/MollysRevenge http://www.myspace.com/mollysrevengeband On Dec 21, 2010, at 5:27 PM, Robert Brenstein wrote: > On 21.12.2010 at 15:34 Uhr -0800 Peter Haworth apparently wrote: >> I am now thinking that I may be able to make use of my own custom >> properties along with some common code to implement all this. >> Without that, it sounds like thousands of lines of code. >> Alternatively, I'm naively hoping that I might be able to write >> some code that will simply adjust the size of controls and the >> distance between them based on the ratio between the old and new >> screen sizes. For example, if the user reduces the screen size by >> 10% horizontally, it seems like I should be able to reduce the >> width of all the controls and the horizontal distance between them >> by 10% and everything should fit. >> I'm sure I;d need a way to deal with exceptions (cprops?). Is that >> too simplistic? > > If there are any patterns, you can, of course, write functions to > handle specific tasks or combinations of tasks for you. For example, > I often have a series of buttons, a varying number of them, along > the bottom edge of a window. They should be at a certain distance > from the bottom and with certain offset to the right edge of the > window and a fixed space between them. I have a function which gets > long ids of those buttons, from rightmost to leftmost, and positions > them automagically as user resizes a card. Same function is called > on any card that has 1 or more such buttons. > > Robert > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From david at vaudevillecourt.tv Wed Dec 22 12:40:32 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Wed, 22 Dec 2010 17:40:32 +0000 Subject: Dispatch and send Message-ID: Anyone got a reason for this being Appropriate behavior? dispatch "beep" to this cd -- no beep > send "beep" to this cd -- a beep > From ambassador at fourthworld.com Wed Dec 22 12:56:37 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 22 Dec 2010 09:56:37 -0800 Subject: Dispatch and send Message-ID: <4D123BD5.8000906@fourthworld.com> David Bovill wrote: > Anyone got a reason for this being Appropriate behavior? > > dispatch "beep" to this cd -- no beep >> send "beep" to this cd -- a beep Interestingly, running this in the Message Box: dispatch "beep" to this cd; put it ...yields "unhandled" You get the same with any build-in command, e.g.: dispatch "go next" to this cd; put it Whether this is a weakness in the engine or the documentation is a question of intention: Is "dispatch" designed to handle only custom handlers? It appears to be, and if that's what's intended it's working fine and all that's needed is a note in the docs clarifying that. But if the intention was that it could be used for built-in commands too then there appears to be a bug in the engine. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From david at vaudevillecourt.tv Wed Dec 22 12:42:41 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Wed, 22 Dec 2010 17:42:41 +0000 Subject: mouseButtonNumber Message-ID: This is the param that mouseUp and mouseDown pass. From the docs: The mouseButtonNumber specifies which mouse button was pressed: * 1 is the mouse button on Mac OS systems and the left button on Windows and Unix systems. * 2 is the middle button on Unix systems. * 3 is the right button on Windows and Unix systems and Control-click on Mac OS systems. I want to emulate this in a script - is there a built in function, or does someone have a utility function for this that has been tested cross-platform? From stephenREVOLUTION2 at barncard.com Wed Dec 22 13:03:17 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 22 Dec 2010 12:03:17 -0600 Subject: Dispatch and send In-Reply-To: <4D123BD5.8000906@fourthworld.com> References: <4D123BD5.8000906@fourthworld.com> Message-ID: I've noticed that the message box world has been little strange for some commands. In the past, answer "Prompt" in the msg box would *not*show the dialog but answer "Prompt"; put it * does* show the answer dialog I have not checked this since 4.0 sqb On 22 December 2010 11:56, Richard Gaskin wrote: > David Bovill wrote: > > Anyone got a reason for this being Appropriate behavior? >> >> dispatch "beep" to this cd -- no beep >> >>> send "beep" to this cd -- a beep >>> >> > Interestingly, running this in the Message Box: > > dispatch "beep" to this cd; put it > > ...yields "unhandled" > > You get the same with any build-in command, e.g.: > > dispatch "go next" to this cd; put it > > Whether this is a weakness in the engine or the documentation is a question > of intention: > > Is "dispatch" designed to handle only custom handlers? It appears to be, > and if that's what's intended it's working fine and all that's needed is a > note in the docs clarifying that. > > But if the intention was that it could be used for built-in commands too > then there appears to be a bug in the engine. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From m.schonewille at economy-x-talk.com Wed Dec 22 13:07:25 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 22 Dec 2010 19:07:25 +0100 Subject: mouseButtonNumber In-Reply-To: References: Message-ID: <73531425-2A1E-4DDA-8666-00E229D9EEBF@economy-x-talk.com> Hi David, Do you mean this? dispatch "mouseUp" to btn x with 3 -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 22 dec 2010, at 18:42, David Bovill wrote: > This is the param that mouseUp and mouseDown pass. From the docs: > > The mouseButtonNumber specifies which mouse button was pressed: > * 1 is the mouse button on Mac OS systems and the left button on Windows > and Unix systems. > * 2 is the middle button on Unix systems. > * 3 is the right button on Windows and Unix systems and Control-click on > Mac OS systems. > > I want to emulate this in a script - is there a built in function, or does > someone have a utility function for this that has been tested > cross-platform? From pepetoo at cox.net Wed Dec 22 13:50:57 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Wed, 22 Dec 2010 10:50:57 -0800 Subject: window size Message-ID: Pete, In my opinion, it's a matter of determining your user base. With large and multiple screens all the vogue in my profession, I'm not worrying too much about all of this; just providing an initial caveat that a certain minimum sized screen, or multiple screens, will best service the program; realizing that this will reduce my potential market, perhaps sizably, but something with which I'm willing to live - for the time being. The ability to minimize and recall stacks from the Docks and Task Bar, make this an acceptable scenario. BTW, something on which I've been working since the early days of HC has finally been resolved using LC. I'm creating a set of stacks upon which I can position a variety of architectural details that may be accessed, one click copy, then go to the user's CAD or Drawing programs, Cmd pr Ctrl V to paste that detail on their drawings. Smooth, quick and really great. I started trying to do this when HC first came out, but the technology - software and hardware - just wasn't up to snuff yet. Now it is. My programs still have a teensy bit of polishing, but I'm 90% of the way to beta. My biggest concerns are how smoothly what I'm able to do on Macs works equally as well on Windows. My testing so far has only been with XP under Fusion Virtual. One of the other visions I had in the 80s was to have monitors - quite large - on every job site so that architects can post their plans, have them retrieved and used by the contractors for both input and output; saving tons of paper every year and providing excellent turn-around time for errata and up-dates, not to mention all of the gas that will be saved by not having to drive back and forth to job sites - even International. Things are beginning to fall in place. LC is helping it happen. Joe Lewis Wilkins Architect & Director of Product Development for GSI From DunbarX at aol.com Wed Dec 22 13:56:52 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 22 Dec 2010 13:56:52 EST Subject: Msg box outta here Message-ID: <43c45.bcf0066.3a43a3f4@aol.com> I know that it is only me, but now the msg box will simply fail to work at all. Went back to 4.5.0, where all is well. Crfaig Newman From david at vaudevillecourt.tv Wed Dec 22 14:16:09 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Wed, 22 Dec 2010 19:16:09 +0000 Subject: mouseButtonNumber In-Reply-To: <73531425-2A1E-4DDA-8666-00E229D9EEBF@economy-x-talk.com> References: <73531425-2A1E-4DDA-8666-00E229D9EEBF@economy-x-talk.com> Message-ID: Hi Mark, not quite. I have a handler - something like: command mimickMouseUp > put getMouseButtonNumber() into pMenuButtonNum > if pMenuButtonNum = 3 then > doSomething > end if > end mimickMouseUp > > function getMouseButtonNumber > -- ? > end getMouseButtonNumber > Assuming there is no built in handler I want a function that returns the same value (ie number), that you get with: on mouseUp pMenuButtonNum > if pMenuButtonNum = 3 then > doSomething > end if > end mouseUp > On 22 December 2010 18:07, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi David, > > Do you mean this? > > dispatch "mouseUp" to btn x with 3 > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.5 for LiveCode here > http://qurl.tk/ce > > On 22 dec 2010, at 18:42, David Bovill wrote: > > > This is the param that mouseUp and mouseDown pass. From the docs: > > > > The mouseButtonNumber specifies which mouse button was pressed: > > * 1 is the mouse button on Mac OS systems and the left button on > Windows > > and Unix systems. > > * 2 is the middle button on Unix systems. > > * 3 is the right button on Windows and Unix systems and Control-click > on > > Mac OS systems. > > > > I want to emulate this in a script - is there a built in function, or > does > > someone have a utility function for this that has been tested > > cross-platform? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From david at vaudevillecourt.tv Wed Dec 22 14:18:13 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Wed, 22 Dec 2010 19:18:13 +0000 Subject: Dispatch and send In-Reply-To: <4D123BD5.8000906@fourthworld.com> References: <4D123BD5.8000906@fourthworld.com> Message-ID: I'd say it's a bug? On 22 December 2010 17:56, Richard Gaskin wrote: > David Bovill wrote: > > Anyone got a reason for this being Appropriate behavior? >> >> dispatch "beep" to this cd -- no beep >> >>> send "beep" to this cd -- a beep >>> >> > Interestingly, running this in the Message Box: > > dispatch "beep" to this cd; put it > > ...yields "unhandled" > > You get the same with any build-in command, e.g.: > > dispatch "go next" to this cd; put it > > Whether this is a weakness in the engine or the documentation is a question > of intention: > > Is "dispatch" designed to handle only custom handlers? It appears to be, > and if that's what's intended it's working fine and all that's needed is a > note in the docs clarifying that. > > But if the intention was that it could be used for built-in commands too > then there appears to be a bug in the engine. > From jacque at hyperactivesw.com Wed Dec 22 14:23:04 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 22 Dec 2010 13:23:04 -0600 Subject: Msg box outta here In-Reply-To: <43c45.bcf0066.3a43a3f4@aol.com> References: <43c45.bcf0066.3a43a3f4@aol.com> Message-ID: <4D125018.2070803@hyperactivesw.com> On 12/22/10 12:56 PM, DunbarX at aol.com wrote: > I know that it is only me, but now the msg box will simply fail to work at > all. > > Went back to 4.5.0, where all is well. If you are up for some debugging you might be able to find what's wrong. Since you can't use the message box to issue the command, turn on "UI Elements in Lists" from the View menu, open the Application Browser, find the Message Box stack, select card 1, and on the right-side pane right-click on field "Message Field" to edit the field script. Place a debug breakpoint in the returnInField handler (near the top of the script) at the line that starts with "dispatch". Try to type something and hit the return key; see if it breaks. If not, something is interfering with sending keystrokes to the message box. If it does break, then try to step through the code and see where it fails. You may not be able to step through the dispatch command (I didn't try it) but if you can't, put a second breakpoint on the line just under it. If you never break there then the dispatch command is failing. My guess is that there's an error somewhere that is aborting the script, so you get nothing back. BTW, did you try reinstalling LiveCode? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From david at vaudevillecourt.tv Wed Dec 22 14:26:14 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Wed, 22 Dec 2010 19:26:14 +0000 Subject: Issue with Twitter search In-Reply-To: <4D1143D0.7070404@deepfoo.com> References: <4D1143D0.7070404@deepfoo.com> Message-ID: Hi Bryan, what is the function you want - maybe I can help... I've not updated my Twitter stuff since they turned off basic authentication, but the search apidoes not require any authentication any way. Maybe the Twitter api is a good candidate for the next Live Code TV session... anyway give us an idea of the function you want (maybe with some pseudo-code), and I'm happy to give it a go? On 22 December 2010 00:18, Bryan McCormick wrote: > This is probably a bit less about livecode than it is about the Twitter > API, but perhaps someone has done this already. > > I want to do some fairly deep searches into the Twitter archive. To do that > requires being able to dance around the "search since" restriction on the > number of entries returned, which is currently the last 15 since the time of > your request. > > Apparently you have to use the Max_id to be able to step any further > backwards than this. I can't see where this gets returned or how you would > use it to iterate. As far as I can tell, though the API docs are a bit > obtuse, this is a unique time identifier that goes down to milliseconds. > > Has anyone done this before in livecode/rev/mc? Anyone familiar with the > API and its limits? > > Thanks. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at mollysrevenge.com Wed Dec 22 14:33:25 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 22 Dec 2010 11:33:25 -0800 Subject: window size In-Reply-To: References: Message-ID: I agree, the user base and the design of the application should determine how you deal with window resizing. I guess it's such a new problem to me that I'm still trying to get my head around what needs to be done for my particular application. I'm trying out the NativeGeometry tool and I'm also thinking I might track down the IDE code that distributes objects horizontally and vertically when you select multiple objects and go to the Align Objects tab of the properties display. Great to be working on solutions to problems that are new to me! Pete Haworth On Dec 22, 2010, at 10:50 AM, Joe Lewis Wilkins wrote: > Pete, > > In my opinion, it's a matter of determining your user base. With > large and multiple screens all the vogue in my profession, I'm not > worrying too much about all of this; just providing an initial > caveat that a certain minimum sized screen, or multiple screens, > will best service the program; realizing that this will reduce my > potential market, perhaps sizably, but something with which I'm > willing to live - for the time being. The ability to minimize and > recall stacks from the Docks and Task Bar, make this an acceptable > scenario. > > BTW, something on which I've been working since the early days of HC > has finally been resolved using LC. I'm creating a set of stacks > upon which I can position a variety of architectural details that > may be accessed, one click copy, then go to the user's CAD or > Drawing programs, Cmd pr Ctrl V to paste that detail on their > drawings. Smooth, quick and really great. I started trying to do > this when HC first came out, but the technology - software and > hardware - just wasn't up to snuff yet. Now it is. My programs still > have a teensy bit of polishing, but I'm 90% of the way to beta. My > biggest concerns are how smoothly what I'm able to do on Macs works > equally as well on Windows. My testing so far has only been with XP > under Fusion Virtual. > > One of the other visions I had in the 80s was to have monitors - > quite large - on every job site so that architects can post their > plans, have them retrieved and used by the contractors for both > input and output; saving tons of paper every year and providing > excellent turn-around time for errata and up-dates, not to mention > all of the gas that will be saved by not having to drive back and > forth to job sites - even International. > > Things are beginning to fall in place. LC is helping it happen. > > Joe Lewis Wilkins > Architect & Director of Product Development for GSI > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pmbrig at gmail.com Wed Dec 22 14:44:19 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Wed, 22 Dec 2010 14:44:19 -0500 Subject: Dispatch and send In-Reply-To: <4D123BD5.8000906@fourthworld.com> References: <4D123BD5.8000906@fourthworld.com> Message-ID: On Dec 22, 2010, at 12:56 PM, Richard Gaskin wrote: > David Bovill wrote: > >> Anyone got a reason for this being Appropriate behavior? >> >> dispatch "beep" to this cd -- no beep >>> send "beep" to this cd -- a beep > > Interestingly, running this in the Message Box: > > dispatch "beep" to this cd; put it > > ...yields "unhandled" > > You get the same with any build-in command, e.g.: > > dispatch "go next" to this cd; put it > > Whether this is a weakness in the engine or the documentation is a > question of intention: > > Is "dispatch" designed to handle only custom handlers? It appears to > be, and if that's what's intended it's working fine and all that's > needed is a note in the docs clarifying that. Note to this effect submitted to the Dictionary entry on "dispatch". -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From kray at sonsothunder.com Wed Dec 22 15:14:43 2010 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 22 Dec 2010 14:14:43 -0600 Subject: mouseButtonNumber In-Reply-To: Message-ID: You can use the mouse() function, looking for a "down" result: if mouse(1) is "down" if mouse(2) is "down" if mouse(3) is "down" Ken On 12/22/10 1:16 PM, "David Bovill" wrote: > Hi Mark, not quite. I have a handler - something like: > > command mimickMouseUp >> put getMouseButtonNumber() into pMenuButtonNum >> if pMenuButtonNum = 3 then >> doSomething >> end if >> end mimickMouseUp >> >> function getMouseButtonNumber >> -- ? >> end getMouseButtonNumber >> > > Assuming there is no built in handler I want a function that returns the > same value (ie number), that you get with: > > on mouseUp pMenuButtonNum >> if pMenuButtonNum = 3 then >> doSomething >> end if >> end mouseUp >> > > > On 22 December 2010 18:07, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > >> Hi David, >> >> Do you mean this? >> >> dispatch "mouseUp" to btn x with 3 >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> New: Download the Installer Maker Plugin 1.5 for LiveCode here >> http://qurl.tk/ce >> >> On 22 dec 2010, at 18:42, David Bovill wrote: >> >>> This is the param that mouseUp and mouseDown pass. From the docs: >>> >>> The mouseButtonNumber specifies which mouse button was pressed: >>> * 1 is the mouse button on Mac OS systems and the left button on >> Windows >>> and Unix systems. >>> * 2 is the middle button on Unix systems. >>> * 3 is the right button on Windows and Unix systems and Control-click >> on >>> Mac OS systems. >>> >>> I want to emulate this in a script - is there a built in function, or >> does >>> someone have a utility function for this that has been tested >>> cross-platform? >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From revdev at pdslabs.net Wed Dec 22 16:10:03 2010 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 22 Dec 2010 13:10:03 -0800 Subject: any known LC bugs with handwriting pen input? In-Reply-To: <00a901cba1f6$5d027520$17075f60$@de> References: <00a901cba1f6$5d027520$17075f60$@de> Message-ID: <4D12692B.9060601@pdslabs.net> Is the text from pen input in a Unicode format? Maybe it will work if you handle it as UTF-8. (Just guessing) Best - Phil Davis On 12/22/10 8:36 AM, Tiemo Hollmann TB wrote: > Hello, > > LC 4.2, Win 7 > > A customer of mine uses the handwriting recognition with pen input. When he > enters a word into the handwriting recognition, hits enter to enter the > recognized word into a field in my program, the field input has a space > after each character of the word. Example, he writes "test", after entering > the text in my field is "t e s t". > > I can't reproduce it here, because I don't have a pen input, but he says, > that this behavior only occours in my (LC) program. All other programs > behave "normal". > > So has anybody encountered this behavior with LC or has a clue, what is > going on here? > > Thanks for any hint > > Tiemo > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From chipp at chipp.com Wed Dec 22 16:29:01 2010 From: chipp at chipp.com (Chipp Walters) Date: Wed, 22 Dec 2010 15:29:01 -0600 Subject: any known LC bugs with handwriting pen input? In-Reply-To: <00a901cba1f6$5d027520$17075f60$@de> References: <00a901cba1f6$5d027520$17075f60$@de> Message-ID: I assume you are talking about TabletPC? IIRC, LC never did have full support for TabletPC, so it would not surprise me if there are issues. On Wed, Dec 22, 2010 at 10:36 AM, Tiemo Hollmann TB wrote: > Hello, > > LC 4.2, Win 7 > > A customer of mine uses the handwriting recognition with pen input. When he > enters a word into the handwriting recognition, hits enter to enter the > recognized word into a field in my program, the field input has a space > after each character of the word. Example, he writes "test", after entering > the text in my field is "t e s t". > > I can't reproduce it here, because I don't have a pen input, but he says, > that this behavior only occours in my (LC) program. All other programs > behave "normal". > > So has anybody encountered this behavior with LC or has a clue, what is > going on here? > > Thanks for any hint > > Tiemo > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Chipp Walters CEO, Shafer Walters Group, Inc. From pete at mollysrevenge.com Wed Dec 22 17:29:03 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 22 Dec 2010 14:29:03 -0800 Subject: Card Vertical Scrollbars In-Reply-To: <2DFD904A-A90F-4A03-B187-5C2FD6C3772A@gmail.com> References: <9AE6F8CC-482B-4E73-AF96-738945CE44CC@mollysrevenge.com> <2DFD904A-A90F-4A03-B187-5C2FD6C3772A@gmail.com> Message-ID: I just tried this as a workaround for the screen resolution issues I've been having and ran into a number of problems. I used "select all" from the edit menu to select all the objects on the card, then grouped them and requested a vertical scrollbar. First problem - the group width did not go out to the right far enough to include a rectangle I have on the card so the scrollbar wasn't positioned correctly. No problem, grabbed the handle on the group and made it wider. Scrollbar didn;t move. Unchecked the vertical scrollbar and checked it again, now it's in the right place. The scrollbar isn't active because everything in the group fits in the window. So I resize the window and make it shorter - no change in the scrollbar, still not active. OK, maybe this only works in a standalone? I make a standalone and run it. Lo and behold, the resizing of the group I did has gone away and the scrollbar is in the wrong place. And it still doesn't scroll. OK, so this obviously isn't going to work for whatever reason. I go back to the IDE, select the group that includes everything and Ungroup it. Before I started all this, the card had 4 groups on it. After ungrouping, three of the groups are intact, the fourth one has disappeared and all the controls that were in it are now not grouped together - it happens to be the group with the most controls in it, some hidden, some grouped within it. Big mess, thank goodness for backups. Back to square one to find a solution to my screen resolution issues that doesn't take hours to implement. Most of the time, LC is the greatest thing since sliced bread but occasionally it's the most frustrating piece of software I've ever come across. Pete Haworth On Dec 15, 2010, at 10:40 PM, William de Smet wrote: > Yes, make a group and set the vertical scrollbar to true. > > Greetings! > > ----- > Verstuurd vanaf mijn iPhone! > > Op 16 dec. 2010 om 07:35 heeft Peter Haworth > het volgende geschreven: > >> Is it possible to have a vertical scrollbar on a card? I mean >> without having to write all the code to handle it? >> >> Pete Haworth >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From johnpatten at me.com Wed Dec 22 18:06:03 2010 From: johnpatten at me.com (JOHN PATTEN) Date: Wed, 22 Dec 2010 23:06:03 +0000 (GMT) Subject: Path Animation And Collision Detection? Message-ID: <66e9d192-1f91-45d3-eadf-890d4d67d748@me.com> Hi All... I'm wondering if anybody has an example of multiple graphic objects animated individually on?separate paths that will report back a collision between themselves? Could the intersect function be a solution? Eventually, I'm thinking about deploying on iPhone or iPad, so is it correct to assume that I should not look to use Malte's Animation Engine? I'm not familiar with iOS version at all, but I have a hunch since Animation Engine is an AddOn it's not compatible with iOS version...?? Thanks for any suggestions or examples! John Patten SUSD From DunbarX at aol.com Wed Dec 22 18:41:59 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 22 Dec 2010 18:41:59 EST Subject: Msg box outta here Message-ID: <3e144.3ce1c392.3a43e6c7@aol.com> Jacques. Tried fooling around per your suggestion. As usual with 4.5.2, I cannot make anything stick. As soon as I placed a breakpoint in the returnInField handler, msg started working. Tried a half dozen new sessions, new mainstack. No other software open. A command from msg such as "answer XX" produced "XX". Great. But, no returnInField message was ever trapped; the breakpoint may as well have not been there. Great. Closed down one more time. New session. No msg action. Opened application browser only. Msg works. Great. New session. Now cannot make msg do anything at all again. I am done with it. Back to 4.5.0. Everything is great. But thanks for taking the time... Craig From pete at mollysrevenge.com Wed Dec 22 21:23:02 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 22 Dec 2010 18:23:02 -0800 Subject: Datagrid Error in Standalone Message-ID: <981C6157-61E9-4AB7-8E46-5A50FBF9975E@mollysrevenge.com> Getting this error in a standalone, doesn't happen in the IDE: Type: Handler: error in statement Object: group 'TaskList' of group 'DB_Activities' of card 'DB_Activities' of stack 'Tasks' of stack '/Applications/BandTrak/ BandTrak.app/Contents/MacOS/BandTrak' Line: Line Num: 0 Hint: _table.DeleteDataControls After the error is reported, the data in the datagrid is corrupted. Pete Haworth From jacque at hyperactivesw.com Wed Dec 22 21:45:47 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 22 Dec 2010 20:45:47 -0600 Subject: Msg box outta here In-Reply-To: <3e144.3ce1c392.3a43e6c7@aol.com> References: <3e144.3ce1c392.3a43e6c7@aol.com> Message-ID: <4D12B7DB.9000003@hyperactivesw.com> On 12/22/10 5:41 PM, DunbarX at aol.com wrote: > But, no returnInField message was ever trapped; the breakpoint may as well > have not been there. Is Script Debug Mode checked in the Development menu? I wonder if that's what's wrong. Breakpoints won't break if that isn't checked. > I am done with it. I can understand why. Sorry I'm so curious, it's just such a bizarre set of symptoms. But don't mind me. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From Roger.E.Eller at sealedair.com Wed Dec 22 21:59:46 2010 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Wed, 22 Dec 2010 21:59:46 -0500 Subject: ChartsEngine - Copy chart to another stack Message-ID: This is my first time using ChartsEngine 1.0 (bought with a bundle a few years ago). Anyway, I modified the example line chart and had it working great. I copied all of the groups of the chart into another stack, and the copy gives me a 'hint' of an error. error: 347,0,0 76,1350,17 144,1350,1 490,1349,1 253,1348,1 Hint: chartsdelete Can someone provide a clue about this hint? Also, I want to use my chart in a revlet. How do I include ChartsEngine in the revlet? Thank you! ~Roger From Roger.E.Eller at sealedair.com Wed Dec 22 22:30:12 2010 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Wed, 22 Dec 2010 22:30:12 -0500 Subject: ChartsEngine - Copy chart to another stack In-Reply-To: Message-ID: I - Roger Eller wrote: > Hint: chartsdelete > > Can someone provide a clue about this hint? Also, I want to use my chart in a revlet. How do I include ChartsEngine in the revlet? Nevermind about the hint/error. After I closed the stack I copied the chart from, it was working again. I do still need to know how to use ChartsEngine in a revlet if any of you have done that before. Do I make it a substack of my app perhaps? Thanks. ~Roger From jacque at hyperactivesw.com Wed Dec 22 22:36:11 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 22 Dec 2010 21:36:11 -0600 Subject: Card Vertical Scrollbars In-Reply-To: References: <9AE6F8CC-482B-4E73-AF96-738945CE44CC@mollysrevenge.com> <2DFD904A-A90F-4A03-B187-5C2FD6C3772A@gmail.com> Message-ID: <4D12C3AB.5070904@hyperactivesw.com> On 12/22/10 4:29 PM, Peter Haworth wrote: > The scrollbar isn't active because everything in the group fits in the > window. So I resize the window and make it shorter - no change in the > scrollbar, still not active. OK, maybe this only works in a standalone? Whatever you see in the stack will be the same in a standalone, so you don't need to go to the trouble until you get it working in the stack. The group size (and therefore its scrollbar) did't change because it wasn't scripted to. > I make a standalone and run it. Lo and behold, the resizing of the group > I did has gone away and the scrollbar is in the wrong place. And it > still doesn't scroll. If the group's lockloc property is false, the group will resize to fit its content when it redraws, the same as images do. That happens on opencard, among other things, so when you launched the standalone, it redrew the group and adjusted the boundaries to fit. Because the controls then fit inside it, the scrollbar didn't activate. In your stack, adjust the group to the size you want it, and in the Size and Position pane, lock it down. That will prevent it from resizing on redraw. The group won't change size automatically regardless of its lockloc, it needs instructions. The geometry manager does this in its own way, and many of us write our own resizestack handlers to do it. Regardless of the method you use, you need to give instructions for every control on every card that needs to either move or change size. If your group were the same size as the card, you'd do something like this: on resizestack x,y set the rect of group "mygroup" to the rect of this cd end resizestack But often the group and the card aren't the same size and you need to do a little math -- get the group's rect, change the numbers in order to inset the group's borders, or move it down, or whatever. But the idea is to script the rectangle of the group to match the area it should cover. The controls inside the group will not change position when the size of their enclosing group changes. The group boundaries only define the area where the contained controls will be visible. So you also have to alter the object positions by script in your resizestack handler if you need them to move. There is no easy way to do it. The geometry manager tries to make it simpler by automating some of the process with a GUI, but you still need to set up every group and control individually. The Native Geometry add-on has its own method, but you still need to show it every control. Same for your own resizestack handler, each one needs at least a line or two of script. It's pretty much just plain grunt work. And that's why so many just design for the nearest common denominator monitor size, and require that as one of the specs for the program, just as we require a certain OS or memory footprint. But with tiny mobile screens and giant displays now available that's harder to do than it used to be. And even on desktops, you have to go through all that if you want to provide a window with a resize box on the corner. Basically there's no easy way to do it, you just roll up your sleeves and plunge in. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at mollysrevenge.com Thu Dec 23 01:48:16 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 22 Dec 2010 22:48:16 -0800 Subject: Card Vertical Scrollbars In-Reply-To: <4D12C3AB.5070904@hyperactivesw.com> References: <9AE6F8CC-482B-4E73-AF96-738945CE44CC@mollysrevenge.com> <2DFD904A-A90F-4A03-B187-5C2FD6C3772A@gmail.com> <4D12C3AB.5070904@hyperactivesw.com> Message-ID: <1C1C580D-29CF-4F62-AF0C-B8C2A01348EB@mollysrevenge.com> Thanks Jacquie. Is it so unreasonable to expect that a scrollbar on a group should just work? I don't have the time or the inclination to write volumes of code to implement what should be a standard feature. At least document what is required to make a scrollbar work. Datagrid scrollbars just work, I don't have to write any extra code. I want a tool that allows me to concentrate on the logic of my application and not have to deal with the distractions of every tiny detail of a GUI. As for the positioning of the scrollbar, if I I position something in the IDE, why wouldn't it stay that way in a standalone? There's no excuse for a GUI elemnt looking one way in the IDe and then changing when it is saved. Pete Haworth On Dec 22, 2010, at 7:36 PM, J. Landman Gay wrote: > On 12/22/10 4:29 PM, Peter Haworth wrote: > >> The scrollbar isn't active because everything in the group fits in >> the >> window. So I resize the window and make it shorter - no change in the >> scrollbar, still not active. OK, maybe this only works in a >> standalone? > > Whatever you see in the stack will be the same in a standalone, so > you don't need to go to the trouble until you get it working in the > stack. The group size (and therefore its scrollbar) did't change > because it wasn't scripted to. > >> I make a standalone and run it. Lo and behold, the resizing of the >> group >> I did has gone away and the scrollbar is in the wrong place. And it >> still doesn't scroll. > > If the group's lockloc property is false, the group will resize to > fit its content when it redraws, the same as images do. That happens > on opencard, among other things, so when you launched the > standalone, it redrew the group and adjusted the boundaries to fit. > Because the controls then fit inside it, the scrollbar didn't > activate. In your stack, adjust the group to the size you want it, > and in the Size and Position pane, lock it down. That will prevent > it from resizing on redraw. > > The group won't change size automatically regardless of its lockloc, > it needs instructions. The geometry manager does this in its own > way, and many of us write our own resizestack handlers to do it. > Regardless of the method you use, you need to give instructions for > every control on every card that needs to either move or change > size. If your group were the same size as the card, you'd do > something like this: > > on resizestack x,y > set the rect of group "mygroup" to the rect of this cd > end resizestack > > But often the group and the card aren't the same size and you need > to do a little math -- get the group's rect, change the numbers in > order to inset the group's borders, or move it down, or whatever. > But the idea is to script the rectangle of the group to match the > area it should cover. > > The controls inside the group will not change position when the size > of their enclosing group changes. The group boundaries only define > the area where the contained controls will be visible. So you also > have to alter the object positions by script in your resizestack > handler if you need them to move. > > There is no easy way to do it. The geometry manager tries to make it > simpler by automating some of the process with a GUI, but you still > need to set up every group and control individually. The Native > Geometry add-on has its own method, but you still need to show it > every control. Same for your own resizestack handler, each one needs > at least a line or two of script. It's pretty much just plain grunt > work. > > And that's why so many just design for the nearest common > denominator monitor size, and require that as one of the specs for > the program, just as we require a certain OS or memory footprint. > But with tiny mobile screens and giant displays now available that's > harder to do than it used to be. And even on desktops, you have to > go through all that if you want to provide a window with a resize > box on the corner. > > Basically there's no easy way to do it, you just roll up your > sleeves and plunge in. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From toolbook at kestner.de Thu Dec 23 03:22:10 2010 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 23 Dec 2010 09:22:10 +0100 Subject: AW: any known LC bugs with handwriting pen input? In-Reply-To: <4D12692B.9060601@pdslabs.net> References: <00a901cba1f6$5d027520$17075f60$@de> <4D12692B.9060601@pdslabs.net> Message-ID: <004301cba27a$82ff2460$88fd6d20$@de> Hi Phil, hmmm, I don't know if you can choose the coding with pen input, I will ask him Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Phil Davis > Gesendet: Mittwoch, 22. Dezember 2010 22:10 > An: How to use LiveCode > Betreff: Re: any known LC bugs with handwriting pen input? > > Is the text from pen input in a Unicode format? Maybe it will work if > you handle > it as UTF-8. (Just guessing) > > Best - > Phil Davis > > > On 12/22/10 8:36 AM, Tiemo Hollmann TB wrote: > > Hello, > > > > LC 4.2, Win 7 > > > > A customer of mine uses the handwriting recognition with pen input. > When he > > enters a word into the handwriting recognition, hits enter to enter > the > > recognized word into a field in my program, the field input has a > space > > after each character of the word. Example, he writes "test", after > entering > > the text in my field is "t e s t". > > > > I can't reproduce it here, because I don't have a pen input, but he > says, > > that this behavior only occours in my (LC) program. All other > programs > > behave "normal". > > > > So has anybody encountered this behavior with LC or has a clue, what > is > > going on here? > > > > Thanks for any hint > > > > Tiemo > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > Phil Davis > > PDS Labs > Professional Software Development > http://pdslabs.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Thu Dec 23 03:24:56 2010 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 23 Dec 2010 09:24:56 +0100 Subject: AW: any known LC bugs with handwriting pen input? In-Reply-To: References: <00a901cba1f6$5d027520$17075f60$@de> Message-ID: <004401cba27a$e5489480$afd9bd80$@de> Hi Chip, yes my customer has a tablet PC. But handwriting recognition is a standard feature of W7. Perhaps I'll buy a small graphic tablet trying to reproduce this behavior. Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Chipp Walters > Gesendet: Mittwoch, 22. Dezember 2010 22:29 > An: How to use LiveCode > Betreff: Re: any known LC bugs with handwriting pen input? > > I assume you are talking about TabletPC? > > IIRC, LC never did have full support for TabletPC, so it would not > surprise > me if there are issues. > > On Wed, Dec 22, 2010 at 10:36 AM, Tiemo Hollmann TB > wrote: > > > Hello, > > > > LC 4.2, Win 7 > > > > A customer of mine uses the handwriting recognition with pen input. > When he > > enters a word into the handwriting recognition, hits enter to enter > the > > recognized word into a field in my program, the field input has a > space > > after each character of the word. Example, he writes "test", after > entering > > the text in my field is "t e s t". > > > > I can't reproduce it here, because I don't have a pen input, but he > says, > > that this behavior only occours in my (LC) program. All other > programs > > behave "normal". > > > > So has anybody encountered this behavior with LC or has a clue, what > is > > going on here? > > > > Thanks for any hint > > > > Tiemo > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > Chipp Walters > CEO, Shafer Walters Group, Inc. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From runrev260805 at m-r-d.de Thu Dec 23 04:06:42 2010 From: runrev260805 at m-r-d.de (Matthias Rebbe) Date: Thu, 23 Dec 2010 10:06:42 +0100 Subject: OT: Sitepoint e-books for 7US$ each Message-ID: Hi, Sitepoint at http://sale.sitepoint.com/ is selling their e-books today on the 23rd for 7,--US$ each (limited to 5 books). Tought you might find this useful. I wish all of you a very happy holiday season. This list rocks! Matthias From david at vaudevillecourt.tv Thu Dec 23 06:17:25 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Thu, 23 Dec 2010 11:17:25 +0000 Subject: mouseButtonNumber In-Reply-To: References: Message-ID: Thanks Ken! On 22 December 2010 20:14, Ken Ray wrote: > You can use the mouse() function, looking for a "down" result: > > if mouse(1) is "down" > if mouse(2) is "down" > if mouse(3) is "down" > From david at vaudevillecourt.tv Thu Dec 23 06:34:36 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Thu, 23 Dec 2010 11:34:36 +0000 Subject: Recursion warning: what's the owner of a background? Message-ID: This one just caught me out. I have a script that checks a property of it's owner and returns the value. Specifically it checks the owner for a property of the same name to see when the local value is empty to see if it is defined higher up in the object hierarchy. I thought this would be a safe way of implementing object oriented stuff. But you get recursion when the control is a background, because the owner of a background is the card the background is on, but the card is actually below the background in the message hierarchy, so the background script gets triggered again when you look for it in the backgrounds owner. A recursive tongue twister maybe - but just remember a background's owner is itself in scripting terms! From pmbrig at gmail.com Thu Dec 23 07:54:13 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Thu, 23 Dec 2010 07:54:13 -0500 Subject: Recursion warning: what's the owner of a background? In-Reply-To: References: Message-ID: On Dec 23, 2010, at 6:34 AM, David Bovill wrote: > This one just caught me out. I have a script that checks a property > of it's > owner and returns the value. Specifically it checks the owner for a > property > of the same name to see when the local value is empty to see if it is > defined higher up in the object hierarchy. I thought this would be a > safe > way of implementing object oriented stuff. > > But you get recursion when the control is a background, because the > owner of > a background is the card the background is on, but the card is > actually > below the background in the message hierarchy, so the background > script gets > triggered again when you look for it in the backgrounds owner. > > A recursive tongue twister maybe - but just remember a background's > owner is > itself in scripting terms! On the other hand, this utility function works fine for me: function masterBG theObjectRef put the long id of the owner of theObjectRef into onr if word 1 of onr = "card" then return theObjectRef else return masterBG(onr) end if end masterBG It returns the highest level group a control belongs to. I have a stack with two major backgrounds (switch between making one or the other visible with a button). In my custom find function I need to know which master background the foundfield is part of, and it may be nested in lower level groups, so this tells me which bg to show when a string is found, and it works reliably without the recursion problem above. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From revolution at derbrill.de Thu Dec 23 08:11:05 2010 From: revolution at derbrill.de (Malte Brill) Date: Thu, 23 Dec 2010 14:11:05 +0100 Subject: Path Animation And Collision Detection? In-Reply-To: References: Message-ID: Hi John, AE works pretty well on iOS devices. As it stands now the only thing not working with the current version is the constraining functions, as those are coded to listen to mouseMove (which given there is no mouse on iP* devices will not work) these will be working in the next iteration of animationEngine, available very soon. :-) Hope this helps a bit, Malte From revolution at derbrill.de Thu Dec 23 08:12:53 2010 From: revolution at derbrill.de (Malte Brill) Date: Thu, 23 Dec 2010 14:12:53 +0100 Subject: ChartsEngine - Copy chart to another stack In-Reply-To: References: Message-ID: Hi Roger, yes, make chartsEngine a substack of your stack before you build the revlet. Then it should just work after issuing start using stack "chartsEngine" All the best, malte From jmyepes at mac.com Thu Dec 23 08:36:38 2010 From: jmyepes at mac.com (JosepM) Date: Thu, 23 Dec 2010 05:36:38 -0800 (PST) Subject: Path Animation And Collision Detection? In-Reply-To: References: <66e9d192-1f91-45d3-eadf-890d4d67d748@me.com> Message-ID: <1293111398912-3162060.post@n4.nabble.com> Hi Malte, This is a good new for iOS dev :) And about the initial question, one aproach could be send messages checking the collision? But, when to send it? After init the movement? If I want to repeat several times de same movement and other actions, like the user press the keys, the movement only is executed one time. I haven't see how to perform many actions at same time. Can you put some schema for or any tips? I'm sure that help to start to many of us. :) Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Path-Animation-And-Collision-Detection-tp3161392p3162060.html Sent from the Revolution - User mailing list archive at Nabble.com. From DunbarX at aol.com Thu Dec 23 08:38:12 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 23 Dec 2010 08:38:12 EST Subject: Msg box outta here Message-ID: Jacques. C'mon, Jackie. Yes it is. And thanks for the curiosity. In a message dated 12/22/10 9:48:05 PM, jacque at hyperactivesw.com writes: > Is Script Debug Mode checked in the Development menu? I wonder if that's > what's wrong. Breakpoints won't break if that isn't checked. > From john at splash21.com Thu Dec 23 08:41:51 2010 From: john at splash21.com (John Craig) Date: Thu, 23 Dec 2010 13:41:51 +0000 Subject: Livecode iOS app live in the app store Message-ID: <4D13519F.4020204@splash21.com> I created a small LC game for iPhone and it's now in the app store. If you search for 'splash21' or 'snowballer' you should be able to download. All feedback welcome - especially regarding how the app performs on different devices. The time scale to get into the app store looks promising as well - the app was created in iTunes connect on the 20th, the binary uploaded on the 21st and it's live today - much quicker than I had expected :) From viktoras at ekoinf.net Thu Dec 23 09:07:41 2010 From: viktoras at ekoinf.net (viktoras didziulis) Date: Thu, 23 Dec 2010 14:07:41 +0000 Subject: AW: any known LC bugs with handwriting pen input? In-Reply-To: <004401cba27a$e5489480$afd9bd80$@de> References: <00a901cba1f6$5d027520$17075f60$@de> <004401cba27a$e5489480$afd9bd80$@de> Message-ID: <4D1357AD.9020300@ekoinf.net> I just bought new Dell Inspiron Duo netbook-tablet. Looks like "iPad killer" - runs "normal" operating systems (I installed both Windows 7 and Ubuntu), has a dual-core Intel Atom 1.5 GHz CPU, capacitative touchscreen (iPad stylus should work too). The 3 main drawbacks - there is no output for a second monitor, so now I am looking for USB to HDMI converters, you will also need to get an external DVD drive and the 6 cells batery lasts only about 3 hours and can not be easily replaced :-(. Other charactersitics - 2 GB RAM, 320 GB 700 RPM HD. One could expect coming more devices like this in near future. 2 cents from Viktoras On 23/12/2010 08:24, Tiemo Hollmann TB wrote: > Hi Chip, > yes my customer has a tablet PC. > But handwriting recognition is a standard feature of W7. Perhaps I'll buy a > small graphic tablet trying to reproduce this behavior. > Thanks > Tiemo > >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- >> bounces at lists.runrev.com] Im Auftrag von Chipp Walters >> Gesendet: Mittwoch, 22. Dezember 2010 22:29 >> An: How to use LiveCode >> Betreff: Re: any known LC bugs with handwriting pen input? >> >> I assume you are talking about TabletPC? >> >> IIRC, LC never did have full support for TabletPC, so it would not >> surprise >> me if there are issues. >> >> On Wed, Dec 22, 2010 at 10:36 AM, Tiemo Hollmann TB >> wrote: >> >>> Hello, >>> >>> LC 4.2, Win 7 >>> >>> A customer of mine uses the handwriting recognition with pen input. >> When he >>> enters a word into the handwriting recognition, hits enter to enter >> the >>> recognized word into a field in my program, the field input has a >> space >>> after each character of the word. Example, he writes "test", after >> entering >>> the text in my field is "t e s t". >>> >>> I can't reproduce it here, because I don't have a pen input, but he >> says, >>> that this behavior only occours in my (LC) program. All other >> programs >>> behave "normal". >>> >>> So has anybody encountered this behavior with LC or has a clue, what >> is >>> going on here? >>> >>> Thanks for any hint >>> >>> Tiemo >>> >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> -- >> Chipp Walters >> CEO, Shafer Walters Group, Inc. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bill at fmpsolutions.com Thu Dec 23 09:15:45 2010 From: bill at fmpsolutions.com (William Roger Moseid) Date: Thu, 23 Dec 2010 06:15:45 -0800 Subject: An iPhone and iPad Christmas Concert Extravaganza! Message-ID: Mr. Jobs, The link below, graphically and audibly illustrates the extreme impact that your Apple products are beginning to exert, in this case the Music World. Incredible Christmas Concert by The North Point iBand This super cool video done by North Point Community Church - a full band performs some Christmas favorites without any "real" instruments. How do they do it you ask? Well, Watch to find out! Download that free music video from North Point -- Here Spread the Christmas cheer - share this with your team today! Enjoy, William modelmasters1 at cox.net __________ Information from ESET Smart Security, version of virus signature database 5727 (20101223) __________ The message was checked by ESET Smart Security. http://www.eset.com From lists at mangomultimedia.com Thu Dec 23 09:18:32 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 23 Dec 2010 09:18:32 -0500 Subject: Datagrid Error in Standalone In-Reply-To: <981C6157-61E9-4AB7-8E46-5A50FBF9975E@mollysrevenge.com> References: <981C6157-61E9-4AB7-8E46-5A50FBF9975E@mollysrevenge.com> Message-ID: On Wed, Dec 22, 2010 at 9:23 PM, Peter Haworth wrote: > Getting this error in a standalone, doesn't happen in the IDE: > > Type: Handler: error in statement > Object: group 'TaskList' of group 'DB_Activities' of card 'DB_Activities' > of stack 'Tasks' of stack > '/Applications/BandTrak/BandTrak.app/Contents/MacOS/BandTrak' > Line: > Line Num: 0 > Hint: _table.DeleteDataControls > Can you provide some context such as what is triggering the error? > After the error is reported, the data in the datagrid is corrupted. > The data or the display of the data? If you fetch the dgData of the data grid are values missing? -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From m.schonewille at economy-x-talk.com Thu Dec 23 09:29:07 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 23 Dec 2010 15:29:07 +0100 Subject: An iPhone and iPad Christmas Concert Extravaganza! In-Reply-To: References: Message-ID: Hi William, I believe that Steve's e-mail address is sjobs at apple.com and I don't see any links included in your mail :-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 23 dec 2010, at 15:15, William Roger Moseid wrote: > Mr. Jobs, > > The link below, graphically and audibly illustrates the extreme impact that your Apple products are beginning > to exert, in this case the Music World. > > Incredible Christmas Concert by The North Point iBand > This super cool video done by North Point Community Church - a full band performs > some Christmas favorites without any "real" instruments. > > How do they do it you ask? Well, Watch to find out! > Download that free music video from North Point -- Here > Spread the Christmas cheer - share this with your team today! > > Enjoy, > > William > modelmasters1 at cox.net > > > > __________ Information from ESET Smart Security, version of virus signature database 5727 (20101223) __________ > > The message was checked by ESET Smart Security. > > http://www.eset.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From niconiko at gmail.com Thu Dec 23 09:29:39 2010 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 23 Dec 2010 23:29:39 +0900 Subject: Livecode iOS app live in the app store In-Reply-To: <4D13519F.4020204@splash21.com> References: <4D13519F.4020204@splash21.com> Message-ID: John, Installed your splash21, aka "Doomsday". -- snowballer wasn't listed. Unfortunately, the app opened to a black screen with status bar, stayed that way for half a minute or so, and then closed itself. My iPhone is 3GS, running version 4.2.1, here in Japan. -- Nicolas Cueto From coiin at verizon.net Thu Dec 23 09:30:54 2010 From: coiin at verizon.net (Colin Holgate) Date: Thu, 23 Dec 2010 09:30:54 -0500 Subject: An iPhone and iPad Christmas Concert Extravaganza! In-Reply-To: References: Message-ID: On Dec 23, 2010, at 9:15 AM, William Roger Moseid wrote: > Mr. Jobs, > > The link below, graphically and audibly illustrates the extreme impact that your Apple products are beginning > to exert, in this case the Music Wor I don't know if the message we saw was the same as other recipients would have seen, but in our one there wasn't a link. Here's the video for anyone curious: http://www.youtube.com/watch?v=RzY7ksc6lls From coiin at verizon.net Thu Dec 23 09:39:03 2010 From: coiin at verizon.net (Colin Holgate) Date: Thu, 23 Dec 2010 09:39:03 -0500 Subject: An iPhone and iPad Christmas Concert Extravaganza! In-Reply-To: References: Message-ID: <898319BC-1A1E-40EE-845D-FA5BBDEE160E@verizon.net> This page also lists the apps that were used: http://gizmodo.com/5709283/rockin-around-the-christmas-tree-with-ipads From john at splash21.com Thu Dec 23 09:42:19 2010 From: john at splash21.com (John Craig) Date: Thu, 23 Dec 2010 14:42:19 +0000 Subject: Livecode iOS app live in the app store In-Reply-To: References: <4D13519F.4020204@splash21.com> Message-ID: <4D135FCB.3080505@splash21.com> Hi, Nicolas. That was my first test app (written in Xcode). The new LC app doesn't seem to show up yet for some people - apparently it can take up to 24 hours to appear :( On 23/12/2010 14:29, Nicolas Cueto wrote: > John, > > Installed your splash21, aka "Doomsday". -- snowballer wasn't listed. > Unfortunately, the app opened to a black screen with status bar, > stayed that way for half a minute or so, and then closed itself. > > My iPhone is 3GS, running version 4.2.1, here in Japan. > > -- > Nicolas Cueto > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From david at vaudevillecourt.tv Thu Dec 23 09:59:01 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Thu, 23 Dec 2010 14:59:01 +0000 Subject: Recursion warning: what's the owner of a background? In-Reply-To: References: Message-ID: Peter, not shure if I got you right? Why not take: word 1 to 3 of the long id of theObjectRef In my case I need to check each level of the inheritance... if forgot that using "pass" would get the same result in some cases (in mine I want to be able to define getprop handlers anywhere in the hierarchy to override default behavior). On 23 December 2010 12:54, Peter Brigham MD wrote: > On Dec 23, 2010, at 6:34 AM, David Bovill wrote: > > This one just caught me out. I have a script that checks a property of >> it's >> owner and returns the value. Specifically it checks the owner for a >> property >> of the same name to see when the local value is empty to see if it is >> defined higher up in the object hierarchy. I thought this would be a safe >> way of implementing object oriented stuff. >> >> But you get recursion when the control is a background, because the owner >> of >> a background is the card the background is on, but the card is actually >> below the background in the message hierarchy, so the background script >> gets >> triggered again when you look for it in the backgrounds owner. >> >> A recursive tongue twister maybe - but just remember a background's owner >> is >> itself in scripting terms! >> > > On the other hand, this utility function works fine for me: > > function masterBG theObjectRef > put the long id of the owner of theObjectRef into onr > if word 1 of onr = "card" then > return theObjectRef > else > return masterBG(onr) > end if > end masterBG > > It returns the highest level group a control belongs to. I have a stack > with two major backgrounds (switch between making one or the other visible > with a button). In my custom find function I need to know which master > background the foundfield is part of, and it may be nested in lower level > groups, so this tells me which bg to show when a string is found, and it > works reliably without the recursion problem above. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From shari at gypsyware.com Thu Dec 23 09:58:48 2010 From: shari at gypsyware.com (Shari) Date: Thu, 23 Dec 2010 09:58:48 -0500 Subject: Hypercard flash solution Message-ID: For those of you who remember the Hypercard "flash" command, I've come up with this solution. This works great on OSX and does not rely on creating a special graphic. I haven't tried it on the winMachine yet (and probably won't until the project is done and ready for testing over there). If you try it on WIN and it's happy, let us know! Could also be done via "put 3 into howMuch" and then "flasher howMuch" adding the repeat to the flasher handler. The card this is tested on has a lot of btns with graphic icons (I tend to prefer btn objects to img objects for most things even graphical.) It has fields with the backPattern set. The card itself has a backPattern and there are dozens of different objects. on mouseUp repeat 3 flasher end repeat end mouseUp on flasher lock screen repeat with x = 1 to the number of controls of this cd set the ink of control x of this cd to "notSrcCopy" end repeat unlock screen wait 3 ticks lock screen repeat with x = 1 to the number of controls of this cd set the ink of control x of this cd to "srcCopy" end repeat unlock screen wait 3 ticks end flasher -- Bad Dog Books http://books.gityasome.com Critters, humor, patriots and sports t-shirts http://www.villagetshirts.com WlND0WS and MAClNT0SH shareware http://www.gypsyware.com From coiin at verizon.net Thu Dec 23 10:06:07 2010 From: coiin at verizon.net (Colin Holgate) Date: Thu, 23 Dec 2010 10:06:07 -0500 Subject: Livecode iOS app live in the app store In-Reply-To: <4D135FCB.3080505@splash21.com> References: <4D13519F.4020204@splash21.com> <4D135FCB.3080505@splash21.com> Message-ID: On Dec 23, 2010, at 9:42 AM, John Craig wrote: > Hi, Nicolas. That was my first test app (written in Xcode). The new LC app doesn't seem to show up yet for some people - apparently it can take up to 24 hours to appear :( Doing a Search didn't show the app in the live updated list of names, but telling it to actually do the search did show the app. I scored 9240. Not sure what you should do about this, but it was confusing for a while why it was that snowballs would pass through snowmen without causing any damage. Maybe you could do a perspective change, to suggest an arc through the air? From jonathandlynch at gmail.com Thu Dec 23 10:07:07 2010 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Thu, 23 Dec 2010 10:07:07 -0500 Subject: Recursion warning: what's the owner of a background? In-Reply-To: References: Message-ID: This might or might not relate - but, in case it helps... You can get the long name of an object... Then replace " of " with "|" or any other character you want to use as an item delimiter Then you can count the number of items, or use the first word of each item to determine the type of object (group or card) that owns a given control. On Thu, Dec 23, 2010 at 9:59 AM, David Bovill wrote: > Peter, not shure if I got you right? Why not take: > > word 1 to 3 of the long id of theObjectRef > > In my case I need to check each level of the inheritance... if forgot that > using "pass" would get the same result in some cases (in mine I want to be > able to define getprop handlers anywhere in the hierarchy to override > default behavior). > > > On 23 December 2010 12:54, Peter Brigham MD wrote: > > > On Dec 23, 2010, at 6:34 AM, David Bovill wrote: > > > > This one just caught me out. I have a script that checks a property of > >> it's > >> owner and returns the value. Specifically it checks the owner for a > >> property > >> of the same name to see when the local value is empty to see if it is > >> defined higher up in the object hierarchy. I thought this would be a > safe > >> way of implementing object oriented stuff. > >> > >> But you get recursion when the control is a background, because the > owner > >> of > >> a background is the card the background is on, but the card is actually > >> below the background in the message hierarchy, so the background script > >> gets > >> triggered again when you look for it in the backgrounds owner. > >> > >> A recursive tongue twister maybe - but just remember a background's > owner > >> is > >> itself in scripting terms! > >> > > > > On the other hand, this utility function works fine for me: > > > > function masterBG theObjectRef > > put the long id of the owner of theObjectRef into onr > > if word 1 of onr = "card" then > > return theObjectRef > > else > > return masterBG(onr) > > end if > > end masterBG > > > > It returns the highest level group a control belongs to. I have a stack > > with two major backgrounds (switch between making one or the other > visible > > with a button). In my custom find function I need to know which master > > background the foundfield is part of, and it may be nested in lower level > > groups, so this tells me which bg to show when a string is found, and it > > works reliably without the recursion problem above. > > > > -- Peter > > > > Peter M. Brigham > > pmbrig at gmail.com > > http://home.comcast.net/~pmbrig > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Do all things with love From m.schonewille at economy-x-talk.com Thu Dec 23 10:25:27 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 23 Dec 2010 16:25:27 +0100 Subject: Hypercard flash solution In-Reply-To: References: Message-ID: Hi Shari, Run this in the AppleScript editor. tell application "System Events" tell application processes repeat 2 times key code 28 using {command down, option down, control down} end repeat end tell end tell You could also store the script in a custom property and use the do as AppleScript command to run it. Enjoy :-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 23 dec 2010, at 15:58, Shari wrote: > For those of you who remember the Hypercard "flash" command, I've come up with this solution. > > This works great on OSX and does not rely on creating a special graphic. I haven't tried it on the winMachine yet (and probably won't until the project is done and ready for testing over there). If you try it on WIN and it's happy, let us know! Could also be done via "put 3 into howMuch" and then "flasher howMuch" adding the repeat to the flasher handler. > > The card this is tested on has a lot of btns with graphic icons (I tend to prefer btn objects to img objects for most things even graphical.) It has fields with the backPattern set. The card itself has a backPattern and there are dozens of different objects. > > on mouseUp > repeat 3 > flasher > end repeat > end mouseUp > > on flasher > lock screen > repeat with x = 1 to the number of controls of this cd > set the ink of control x of this cd to "notSrcCopy" > end repeat > unlock screen > wait 3 ticks > lock screen > repeat with x = 1 to the number of controls of this cd > set the ink of control x of this cd to "srcCopy" > end repeat > unlock screen > wait 3 ticks > end flasher > > -- > Bad Dog Books > http://books.gityasome.com > Critters, humor, patriots and sports t-shirts > http://www.villagetshirts.com > WlND0WS and MAClNT0SH shareware > http://www.gypsyware.com From niconiko at gmail.com Thu Dec 23 10:27:37 2010 From: niconiko at gmail.com (Nicolas Cueto) Date: Fri, 24 Dec 2010 00:27:37 +0900 Subject: Livecode iOS app live in the app store In-Reply-To: <4D135FCB.3080505@splash21.com> References: <4D13519F.4020204@splash21.com> <4D135FCB.3080505@splash21.com> Message-ID: John, Snowballer finally got listed here. It works. Congratulations on successfully passing the submission process with an LC app. -- Nicolas Cueto From john at splash21.com Thu Dec 23 10:31:14 2010 From: john at splash21.com (John Craig) Date: Thu, 23 Dec 2010 15:31:14 +0000 Subject: Livecode iOS app live in the app store In-Reply-To: References: <4D13519F.4020204@splash21.com> <4D135FCB.3080505@splash21.com> Message-ID: <4D136B42.5020300@splash21.com> The snowball grows as it is thrown to indicate that it is rising, then starts to return to normal size as it descends - maybe the effect isn't obvious enough, so I could exaggerate it more. I've noticed a few bugs to be ironed out when buttons are pressed more than once, but it's just a test app and I was keen to get it in the store to see how long the process would take and if there were any problems along the way. :) On 23/12/2010 15:06, Colin Holgate wrote: > On Dec 23, 2010, at 9:42 AM, John Craig wrote: > >> Hi, Nicolas. That was my first test app (written in Xcode). The new LC app doesn't seem to show up yet for some people - apparently it can take up to 24 hours to appear :( > Doing a Search didn't show the app in the live updated list of names, but telling it to actually do the search did show the app. I scored 9240. > > Not sure what you should do about this, but it was confusing for a while why it was that snowballs would pass through snowmen without causing any damage. Maybe you could do a perspective change, to suggest an arc through the air? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Thu Dec 23 10:36:46 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Dec 2010 07:36:46 -0800 Subject: AW: any known LC bugs with handwriting pen input? Message-ID: <4D136C8E.5000804@fourthworld.com> viktoras wrote: > I just bought new Dell Inspiron Duo netbook-tablet. Looks like "iPad > killer" - runs "normal" operating systems (I installed both Windows 7 > and Ubuntu), has a dual-core Intel Atom 1.5 GHz CPU, capacitative > touchscreen (iPad stylus should work too). The 3 main drawbacks - there > is no output for a second monitor, so now I am looking for USB to HDMI > converters, you will also need to get an external DVD drive and the 6 > cells batery lasts only about 3 hours and can not be easily replaced > :-(. Other charactersitics - 2 GB RAM, 320 GB 700 RPM HD. > > One could expect coming more devices like this in near future. Congrats on the new gadget. I'm so glad you got a Duo - please keep us posted with how well it runs LiveCode. Seems like a perfect blend to have a tablet that doubles as a laptop, esp. for a LiveCode addict like me where I tend to do a lot of typing on even my smallest machines. As I wrote here a couple days ago, I've been very impressed with the Atom processor, and the form factor of the Dell Duo is as attractive as it is versatile - it's been the talk of the town in the Ubuntu forums for weeks. With Ubuntu Netbook Remix 10.10's uTouch interface, the Duo seems a hand-in-glove fit for the new OS - video and notes on uTouch here: I hope your LiveCode experience on the Duo turns out to be a great one. I look forward to hearing more about how it works for you. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From bill at bluewatermaritime.com Thu Dec 23 10:39:48 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Thu, 23 Dec 2010 11:39:48 -0400 Subject: how many computers can I work on? Message-ID: This is why I love Apple software. I have a laptop and a desk machine and I can copy my Apple software between them and not worry about licensing. I just tried to install a copy of LiveCode on my laptop and it is asking for my email and passphrase. My question is how many computers does the livecode license allow us to work on? No one works on just one computer. From stephenREVOLUTION2 at barncard.com Thu Dec 23 10:39:55 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 23 Dec 2010 09:39:55 -0600 Subject: AW: any known LC bugs with handwriting pen input? In-Reply-To: <4D1357AD.9020300@ekoinf.net> References: <00a901cba1f6$5d027520$17075f60$@de> <004401cba27a$e5489480$afd9bd80$@de> <4D1357AD.9020300@ekoinf.net> Message-ID: It's not an "iPad killer" with battery specs like that. Intel better get cooking. On 23 December 2010 08:07, viktoras didziulis wrote: > I just bought new Dell Inspiron Duo netbook-tablet. Looks like "iPad > killer" - runs "normal" operating systems (I installed both Windows 7 and > Ubuntu), has a dual-core Intel Atom 1.5 GHz CPU, capacitative touchscreen > (iPad stylus should work too). The 3 main drawbacks - there is no output for > a second monitor, so now I am looking for USB to HDMI converters, you will > also need to get an external DVD drive and the 6 cells batery lasts only > about 3 hours and can not be easily replaced :-(. Other charactersitics - 2 > GB RAM, 320 GB 700 RPM HD. > > One could expect coming more devices like this in near future. > > 2 cents from > Viktoras > > > On 23/12/2010 08:24, Tiemo Hollmann TB wrote: > >> Hi Chip, >> yes my customer has a tablet PC. >> But handwriting recognition is a standard feature of W7. Perhaps I'll buy >> a >> small graphic tablet trying to reproduce this behavior. >> Thanks >> Tiemo >> >> -----Urspr?ngliche Nachricht----- >>> Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- >>> bounces at lists.runrev.com] Im Auftrag von Chipp Walters >>> Gesendet: Mittwoch, 22. Dezember 2010 22:29 >>> An: How to use LiveCode >>> Betreff: Re: any known LC bugs with handwriting pen input? >>> >>> I assume you are talking about TabletPC? >>> >>> IIRC, LC never did have full support for TabletPC, so it would not >>> surprise >>> me if there are issues. >>> >>> On Wed, Dec 22, 2010 at 10:36 AM, Tiemo Hollmann TB >>> wrote: >>> >>> Hello, >>>> >>>> LC 4.2, Win 7 >>>> >>>> A customer of mine uses the handwriting recognition with pen input. >>>> >>> When he >>> >>>> enters a word into the handwriting recognition, hits enter to enter >>>> >>> the >>> >>>> recognized word into a field in my program, the field input has a >>>> >>> space >>> >>>> after each character of the word. Example, he writes "test", after >>>> >>> entering >>> >>>> the text in my field is "t e s t". >>>> >>>> I can't reproduce it here, because I don't have a pen input, but he >>>> >>> says, >>> >>>> that this behavior only occours in my (LC) program. All other >>>> >>> programs >>> >>>> behave "normal". >>>> >>>> So has anybody encountered this behavior with LC or has a clue, what >>>> >>> is >>> >>>> going on here? >>>> >>>> Thanks for any hint >>>> >>>> Tiemo >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> >>> -- >>> Chipp Walters >>> CEO, Shafer Walters Group, Inc. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From m.schonewille at economy-x-talk.com Thu Dec 23 10:49:00 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 23 Dec 2010 16:49:00 +0100 Subject: how many computers can I work on? In-Reply-To: References: Message-ID: Hi William, I might be mistaken, but I believe you can install it on as many computers as you like, as long as you are the only person using it. At least, this was the case with the Enterprise license (which makes sense, because cross-platform implies multiple computers). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 23 dec 2010, at 16:39, william humphrey wrote: > This is why I love Apple software. I have a laptop and a desk machine and I > can copy my Apple software between them and not worry about licensing. I > just tried to install a copy of LiveCode on my laptop and it is asking for > my email and passphrase. My question is how many computers does the livecode > license allow us to work on? No one works on just one computer. From ludovic.thebault at laposte.net Thu Dec 23 10:54:10 2010 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Thu, 23 Dec 2010 16:54:10 +0100 Subject: Livecode iOS app live in the app store In-Reply-To: <4D135FCB.3080505@splash21.com> References: <4D13519F.4020204@splash21.com> <4D135FCB.3080505@splash21.com> Message-ID: <0886C349-90F5-4B14-8DD0-E29CA1634E3C@laposte.net> Le 23 d?c. 2010 ? 15:42, John Craig a ?crit : > > Hi, Nicolas. That was my first test app (written in Xcode). The new LC app doesn't seem to show up yet for some people - apparently it can take up to 24 hours to appear :( > Hello, i've found it (french store). My score was 2050 ! From jacque at hyperactivesw.com Thu Dec 23 10:55:34 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 23 Dec 2010 09:55:34 -0600 Subject: Card Vertical Scrollbars In-Reply-To: <1C1C580D-29CF-4F62-AF0C-B8C2A01348EB@mollysrevenge.com> References: <9AE6F8CC-482B-4E73-AF96-738945CE44CC@mollysrevenge.com> <2DFD904A-A90F-4A03-B187-5C2FD6C3772A@gmail.com> <4D12C3AB.5070904@hyperactivesw.com> <1C1C580D-29CF-4F62-AF0C-B8C2A01348EB@mollysrevenge.com> Message-ID: <4D1370F6.3000703@hyperactivesw.com> On 12/23/10 12:48 AM, Peter Haworth wrote: > Thanks Jacquie. Is it so unreasonable to expect that a scrollbar on a > group should just work? I don't have the time or the inclination to > write volumes of code to implement what should be a standard feature. At > least document what is required to make a scrollbar work. I probably overwhelmed you with too much detail. Scrollbars do just work, and if all you want to do is scroll the group there's nothing you need to do except set the lockloc of the group to true so it won't resize. That's the same behavior images have. Lockloc controls whether the engine automatically resizes the group when it is redrawn. > As for the positioning of the scrollbar, if I I position something in > the IDE, why wouldn't it stay that way in a standalone? It does. The reason it didn't stay put for you is (I assume) because the group wasn't locked, so it automatically resized to fit its content when the card opened in your standalone. Just manually size the group the way you want it, lock it, and that's all you need to do. If you want the group's size to change when the user resizes the window, then you do need to write a short resizestack handler to reset the group size. But that should be all. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From shari at gypsyware.com Thu Dec 23 10:59:40 2010 From: shari at gypsyware.com (Shari) Date: Thu, 23 Dec 2010 10:59:40 -0500 Subject: Moving a Hypercard project forward Message-ID: This hasn't been the easiest task but here's a few tricks I've learned: For some reason the original Hypercard stack would not open with the current Revolution nor most of the previous versions. I was able to open it using Metacard 2.4.3 and then resave it, whereas Revolution would then open it. Very early versions of Rev may have opened it but I did not try back that far. Others said it may have been as simple as compressing the stack before opening, but without Hypercard to do that with, I had to find the other way. Since I no longer have an OS that runs Hypercard, or even Hypercard itself, I'm not able to use the original stack to refresh on how it was supposed to work. (Folks suggested getting one of the programs that allow you to emulate the old classic OS, but as I'd found alternate ways to get the data out, I did not end up needing that solution.) Even the documentation I'd written which was many pages long was in a DocMaker format which is also not supported on OSX nor did I find a program that would access the old files. I did find a workaround. An application called Rezilla allowed me into the Resource Fork of the DocMaker files, where I could copy and paste the How To manual I'd written for the game and paste it into my Apple Pages program where I could revise it and give thought to how to incorporate it into the revised game. Reading the game manual also helped me to get back up to speed on how the game worked. It was all stored in TEXT resources. Also, Rezilla was a godsend that allowed me into the Resource Fork of the original Hypercard stack, which was where all the graphics and sounds were stored. While I did not use the original graphics and sounds, I was able to copy them as files and put them in a folder that I could later go thru, image by image, and come up with newer better replacement graphics. At least with Rezilla I could see what graphics/sounds I needed to have to revamp this game. Also, I'd used quite a few externals such as CreditsDialog. Looking at the code told me nothing about what the CreditsDialog call should pull up. But studying the Resource Fork with Rezllla showed me what the CreditsDialog external was displaying so I knew what images to replace those segments of code with. I had used that to display graphical good news/bad news windows during the game. Whenever you reach a milestone a window pops up with an image and message. So unlike the name which would lead you to believe it was simply used for "About this program...) the CreditsDialog was an integral part of the game experience. Another external I'd used in the original game was Listoid, which allowed the creation of a bunch of little palette windows with information displayed. That was easier to recreate in Rev since I just made sub-stacks for this. The "Find Folder" external was no longer necessary having the built in Rev "specialFolderPath" function. Of course all the AddColor calls, which were sprinkled like salt and pepper thru every piece of the code, all needed to be replaced. As most of them included visual effects the replace was simply "lock screen, show/hide/update whatever, unlock with visual effect" Another issue I encountered was with the visual effects. Hypercard had effects that are missing in Rev. I had before created a simple stack that allowed me to create an effect in Quicktime and copy the raw data for the effect. I created various effects and pasted them as raw data into Custom Properties. On preOpenStack it put those Custom Properties into globals. "put the coolEffect of this stack into jaws" (jaws being a global) Then I could call those custom effects just as with the built in effects. I did have to have the program check for the availabilty of certain types of effects on each machine and use built in options if they were missing, but at least some folks would get the cooler effects. Have not tackled the sound issue yet beyond discovering that this also will not be a simple issue. Perhaps business projects make the transition easily but games, not so much. I do know that multiple sounds was an integral part of the game, and the ability to randomize them so that it was not the same all the time. -- Bad Dog Books http://books.gityasome.com Critters, humor, patriots and sports t-shirts http://www.villagetshirts.com WlND0WS and MAClNT0SH shareware http://www.gypsyware.com From ambassador at fourthworld.com Thu Dec 23 11:27:24 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Dec 2010 08:27:24 -0800 Subject: Card Vertical Scrollbars Message-ID: <4D13786C.1090305@fourthworld.com> Peter Haworth wrote: > Thanks Jacquie. Is it so unreasonable to expect that a scrollbar on a > group should just work? I don't have the time or the inclination to > write volumes of code to implement what should be a standard feature. > At least document what is required to make a scrollbar work. Having been down this road when I was getting started with MC/Rev/LiveCode, I can appreciate the frustration. Retrofitting resizing to accommodate the variety of display we want to support takes a bit of work, and more so if you're doing it after you've laid out your UI rather than building the UI for resizing as you go. Frustrating as this may be at first, I'm confident that as you spend more time on such tasks you'll come to appreciate the flexibility groups provide, even if the cost for that flexibility is a little bit of your time. Many times the automatic resizing of groups is exactly what I want, for the group to surround my controls with its margins set as I want them. But other times I want the group to be resized as the stack resizes, and thankfully I can do that by setting one property and writing one line of code in a resizeStack handler (more on that below). Still, as a fundamentally lazy person I'm always keen to find ways to simplify layout tasks, so I'd be interested in learning more about how you would envision an ideal group object to work. It may be possible for one of us to craft a behavior script that provides the functionality you're looking for. How would you ideally like group objects to behave? > Datagrid scrollbars just work, I don't have to write any extra code. ...because Trevor diligently wrote more than a quarter-MB of code for us. :) But even then, the DG won't automatically resize itself to fit your card. As with any group, how and when a DG is resized is up to us, and that's a good thing because the DG is flexible enough to be used in a nearly infinite variety of layouts. > I want a tool that allows me to concentrate on the logic of my application > and not have to deal with the distractions of every tiny detail of a GUI. I think that's what we're all looking for, but there's a challenge in providing a balance between prefab behavior and flexibility. Ideally there would be a Make Application button in the IDE, and whatever you want to build would be built for you with one click. But until the engine gets the PsychicLayout property implemented , GUI designers will still have to make decisions about how layout elements are best handled, and those decisions will require a little code to realize them just as the rest of an app's functionality does. Having done this sort of work in Pascal, C, and nearly every other xTalk ever made, I find LiveCode requires me to work at least a little less hard to implement these decisions (sometimes a LOT less hard; I've been following a conversation in the SuperCard forums about implementing a Finder-like Search window with multi-row criteria inputs, and since that tool doesn't have groups the way LC does it's a LOT more work, even in such an otherwise-graceful tool as SC). > As for the positioning of the scrollbar, if I I position something in > the IDE, why wouldn't it stay that way in a standalone? There's no > excuse for a GUI elemnt looking one way in the IDe and then changing > when it is saved. In my 12 years with the engine I've seen no change between the IDE and a standalone with regard to group positioning. I believe what you're seeing is as Jacque explained, that re-opening a card with an unlocked group will cause the group's rect to fit its content, just as re-opening a card with unlocked image will resize the object to fit its bitmap contents. You should see such resizing happening in the IDE as well when you reopen the stack. Set the lockLoc of the group to true and that's done. To handle the resizing, Jacque's one-liner is the answer: on resizestack x,y set the rect of group "mygroup" to the rect of this cd end resizestack If you have nested groups in your layout it may require a little more scripting to do what you want on resizeStack, but with LC 3.5 and later groups now get two messages that can be helpful: preOpenControl: sent just before the object is rendered, similar to preOpenCard, so you can do adjustments there before the user sees it. resizeControl: sent to other controls only when the user interactively changes the object's rect with the pointer tool, but with groups this is now sent whenever any script causes the group's rect to change, allowing you to handle your resizing code directly in the group object or within a behavior assigned to it. Tip for those making custom controls with groups: groups also have their own selectGroupedControls property. While it defaults to true so it honors the global property of the same name, you can set it to false so you can deliver custom controls whose contents can't be modified with the pointer tool. VERY handy stuff. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From toolbook at kestner.de Thu Dec 23 11:49:18 2010 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 23 Dec 2010 17:49:18 +0100 Subject: AW: AW: any known LC bugs with handwriting pen input? In-Reply-To: <4D1357AD.9020300@ekoinf.net> References: <00a901cba1f6$5d027520$17075f60$@de> <004401cba27a$e5489480$afd9bd80$@de> <4D1357AD.9020300@ekoinf.net> Message-ID: <007601cba2c1$5b8df950$12a9ebf0$@de> Labas Viktoras, perhaps you can test some day a LC program and see, if you can reproduce this behavior with pen handwriting. Merry Christmas Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von viktoras didziulis > Gesendet: Donnerstag, 23. Dezember 2010 15:08 > An: use-livecode at lists.runrev.com > Betreff: Re: AW: any known LC bugs with handwriting pen input? > > I just bought new Dell Inspiron Duo netbook-tablet. Looks like "iPad > killer" - runs "normal" operating systems (I installed both Windows 7 > and Ubuntu), has a dual-core Intel Atom 1.5 GHz CPU, capacitative > touchscreen (iPad stylus should work too). The 3 main drawbacks - there > is no output for a second monitor, so now I am looking for USB to HDMI > converters, you will also need to get an external DVD drive and the 6 > cells batery lasts only about 3 hours and can not be easily replaced > :-(. Other charactersitics - 2 GB RAM, 320 GB 700 RPM HD. > > One could expect coming more devices like this in near future. > > 2 cents from > Viktoras > > On 23/12/2010 08:24, Tiemo Hollmann TB wrote: > > Hi Chip, > > yes my customer has a tablet PC. > > But handwriting recognition is a standard feature of W7. Perhaps I'll > buy a > > small graphic tablet trying to reproduce this behavior. > > Thanks > > Tiemo > > From pete at mollysrevenge.com Thu Dec 23 12:27:52 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 23 Dec 2010 09:27:52 -0800 Subject: Card Vertical Scrollbars In-Reply-To: <4D13786C.1090305@fourthworld.com> References: <4D13786C.1090305@fourthworld.com> Message-ID: <0D475258-BE9E-4987-BA2C-4C2C24EF255E@mollysrevenge.com> Thank you Richard and Jacquie. Yes my frustrations are making a little too judgemental, good job this list is providing an outlet for that! Just to be clear, I'm not trying to resize a group. I don;t even really want to use a group. This all started when I discovered that my stack windows don;t fit vertically on a computer with a lower resolution screen than the one I developed on. I looked at the geometry manager and a couple of third party tools but they all felt like hours of work to implement due to the hundreds of controls on the 4 or 5 cards in question, plus I got the distinct impression from people on this list that the Geometry Manager doesn't work very well. Someone on the list gave me the idea of grouping all the objects on the card together and placing a scrollbar on the group so that the user on the lower resolution screen would be able to scroll the contents of the card. Which begs the question of why cards can't have scrollbars but that's a different discussion. I planned to detect the screen resolution on startup and resize the windows by script as necessary to fit on the screen. I have no desire to resize the group or any controls on the card. I just want the contents of the group to be scrollable when either the user or a script resizes the window in a way that not all of the contents of the group are visible. This is an acceptable solution for my particular app although it may not be for others. I will try the lockloc property and see if that makes the group scroll. Pete Haworth On Dec 23, 2010, at 8:27 AM, Richard Gaskin wrote: > Peter Haworth wrote: > >> Thanks Jacquie. Is it so unreasonable to expect that a scrollbar >> on a >> group should just work? I don't have the time or the inclination to >> write volumes of code to implement what should be a standard feature. >> At least document what is required to make a scrollbar work. > > Having been down this road when I was getting started with MC/Rev/ > LiveCode, I can appreciate the frustration. Retrofitting resizing > to accommodate the variety of display we want to support takes a bit > of work, and more so if you're doing it after you've laid out your > UI rather than building the UI for resizing as you go. > > Frustrating as this may be at first, I'm confident that as you spend > more time on such tasks you'll come to appreciate the flexibility > groups provide, even if the cost for that flexibility is a little > bit of your time. > > Many times the automatic resizing of groups is exactly what I want, > for the group to surround my controls with its margins set as I want > them. > > But other times I want the group to be resized as the stack resizes, > and thankfully I can do that by setting one property and writing one > line of code in a resizeStack handler (more on that below). > > Still, as a fundamentally lazy person I'm always keen to find ways > to simplify layout tasks, so I'd be interested in learning more > about how you would envision an ideal group object to work. > > It may be possible for one of us to craft a behavior script that > provides the functionality you're looking for. > > How would you ideally like group objects to behave? > > >> Datagrid scrollbars just work, I don't have to write any extra code. > > ...because Trevor diligently wrote more than a quarter-MB of code > for us. :) > > But even then, the DG won't automatically resize itself to fit your > card. As with any group, how and when a DG is resized is up to us, > and that's a good thing because the DG is flexible enough to be used > in a nearly infinite variety of layouts. > > >> I want a tool that allows me to concentrate on the logic of my >> application >> and not have to deal with the distractions of every tiny detail of >> a GUI. > > I think that's what we're all looking for, but there's a challenge > in providing a balance between prefab behavior and flexibility. > > Ideally there would be a Make Application button in the IDE, and > whatever you want to build would be built for you with one click. > > But until the engine gets the PsychicLayout property implemented > , GUI designers will still have to make decisions about how > layout elements are best handled, and those decisions will require a > little code to realize them just as the rest of an app's > functionality does. > > Having done this sort of work in Pascal, C, and nearly every other > xTalk ever made, I find LiveCode requires me to work at least a > little less hard to implement these decisions (sometimes a LOT less > hard; I've been following a conversation in the SuperCard forums > about implementing a Finder-like Search window with multi-row > criteria inputs, and since that tool doesn't have groups the way LC > does it's a LOT more work, even in such an otherwise-graceful tool > as SC). > > >> As for the positioning of the scrollbar, if I I position something in >> the IDE, why wouldn't it stay that way in a standalone? There's no >> excuse for a GUI elemnt looking one way in the IDe and then changing >> when it is saved. > > In my 12 years with the engine I've seen no change between the IDE > and a standalone with regard to group positioning. I believe what > you're seeing is as Jacque explained, that re-opening a card with an > unlocked group will cause the group's rect to fit its content, just > as re-opening a card with unlocked image will resize the object to > fit its bitmap contents. You should see such resizing happening in > the IDE as well when you reopen the stack. > > Set the lockLoc of the group to true and that's done. > > To handle the resizing, Jacque's one-liner is the answer: > > on resizestack x,y > set the rect of group "mygroup" to the rect of this cd > end resizestack > > If you have nested groups in your layout it may require a little > more scripting to do what you want on resizeStack, but with LC 3.5 > and later groups now get two messages that can be helpful: > > preOpenControl: sent just before the object is rendered, similar to > preOpenCard, so you can do adjustments there before the user > sees it. > > resizeControl: sent to other controls only when the user interactively > changes the object's rect with the pointer tool, but with groups > this is now sent whenever any script causes the group's rect to > change, allowing you to handle your resizing code directly in > the group object or within a behavior assigned to it. > > > Tip for those making custom controls with groups: groups also have > their own selectGroupedControls property. While it defaults to true > so it honors the global property of the same name, you can set it to > false so you can deliver custom controls whose contents can't be > modified with the pointer tool. VERY handy stuff. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From david at vaudevillecourt.tv Thu Dec 23 12:59:00 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Thu, 23 Dec 2010 17:59:00 +0000 Subject: Datagrid tables: which column is a clicked cell belong to? Message-ID: I can do this with a table header, but there seems to be no easy way to find out the number of the column - I can do it by defining the behavior of a column template - then work things out using the templates name or a property I manually define - but am wandering if there is a built in way to do this? ColumnControlOfIndex (pColumnName, pIndex) sort of does this in reverse? From pete at mollysrevenge.com Thu Dec 23 13:07:53 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 23 Dec 2010 10:07:53 -0800 Subject: Datagrid Error in Standalone In-Reply-To: References: <981C6157-61E9-4AB7-8E46-5A50FBF9975E@mollysrevenge.com> Message-ID: <7629276E-31BD-4393-9FD6-FED97FEE9474@mollysrevenge.com> I'll try. A little difficult since the error doesn't occur in the IDE although the datagrid corruption does. I have the following code in the script for the datagrid. on selectionChanged put "menuPick" && the label of button "DB_ContactInfoType" into myMessage send myMessage to button "DB_ContactInfoType" put "menuPick" && the label of button "DB_Type" into myMessage send myMessage to button "DB_Type" end selectionChanged As far as I can tell, the problem occurs when the "send myMessage to button "DB_Type" statement is executed (the button is an option menu). There's something else strange going on because I have a breakpoint set at the start of the menuPick handler for that button but it doesn't always trigger. The code in the menuPick handler does no dg manipulation, just resizes the window depending on the label of the button. The dg corruption goes away if Refresh the datagrid from its property inspector. Pete Haworth On Dec 23, 2010, at 6:18 AM, Trevor DeVore wrote: > On Wed, Dec 22, 2010 at 9:23 PM, Peter Haworth > wrote: > >> Getting this error in a standalone, doesn't happen in the IDE: >> >> Type: Handler: error in statement >> Object: group 'TaskList' of group 'DB_Activities' of card >> 'DB_Activities' >> of stack 'Tasks' of stack >> '/Applications/BandTrak/BandTrak.app/Contents/MacOS/BandTrak' >> Line: >> Line Num: 0 >> Hint: _table.DeleteDataControls >> > > Can you provide some context such as what is triggering the error? > > >> After the error is reported, the data in the datagrid is corrupted. >> > > The data or the display of the data? If you fetch the dgData of the > data > grid are values missing? > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Releasable Revolution Resources for Developers: > http://revolution.bluemangolearning.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Thu Dec 23 13:34:23 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 23 Dec 2010 12:34:23 -0600 Subject: Card Vertical Scrollbars In-Reply-To: <0D475258-BE9E-4987-BA2C-4C2C24EF255E@mollysrevenge.com> References: <4D13786C.1090305@fourthworld.com> <0D475258-BE9E-4987-BA2C-4C2C24EF255E@mollysrevenge.com> Message-ID: <4D13962F.7020902@hyperactivesw.com> On 12/23/10 11:27 AM, Peter Haworth wrote: > Thank you Richard and Jacquie. Yes my frustrations are making a little > too judgemental, good job this list is providing an outlet for that! Hey, that's why we're here. And there are lots of other people out there who will read these responses and find help, so you are doing a public service by asking. :) > > Just to be clear, I'm not trying to resize a group. I know, not specifically, but you will have to in order to get the results you're after. > Someone on the list gave me the idea of grouping all the objects on the > card together and placing a scrollbar on the group so that the user on > the lower resolution screen would be able to scroll the contents of the > card. Which begs the question of why cards can't have scrollbars but > that's a different discussion. It's the easiest and best solution, so you are on the right track. BTW, no operating system provides scrollable windows. What look like scrollable windows in other apps are exactly what you're implementing -- scrollable content in a fixed window. > I planned to detect the screen resolution > on startup and resize the windows by script as necessary to fit on the > screen. I have no desire to resize the group or any controls on the > card. I just want the contents of the group to be scrollable when either > the user or a script resizes the window in a way that not all of the > contents of the group are visible. Ok, in that case it's easy. When your script resizes the window, have it also resize the group. You need to do that because the locked group (it must be locked) will not change size automatically, it has to be told to fit the window. If the group's contents exceed the group's size, the scrollbars will activate automatically. If the group is large enough to accomodate all its contents, scrollbars will disable automatically. The one liner I mentioned should be all you need in your own handler and/or a resizestack handler. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pepetoo at cox.net Thu Dec 23 13:51:57 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Thu, 23 Dec 2010 10:51:57 -0800 Subject: Card Vertical Scrollbars In-Reply-To: <4D13962F.7020902@hyperactivesw.com> References: <4D13786C.1090305@fourthworld.com> <0D475258-BE9E-4987-BA2C-4C2C24EF255E@mollysrevenge.com> <4D13962F.7020902@hyperactivesw.com> Message-ID: <3A7DBADC-3804-49BC-BBD1-A16E83FFA313@cox.net> Pete, I'd seriously consider "reconsidering" your design concept. The speed with which LC goes to new cards makes the use of scrolling anything other than a text field not a very plausible solution. A really good navigation concept that judiciously provides connections between associated and related answers/solutions/queries makes for something far more useful in an application than interminable "scrolling" gobs of "things" that the user has to scrutinize in order to proceed with whatever it is they are doing or trying to do. A well thought-out application resolves all of these issues for the user. These are decisions that you should be making "for" the user; not just slapping up a lot of information/data that they have to process. You should do the processing. You're the expert of your application. Obviously, I'm not talking about applications designed for the purpose of the user creating content. They should just be providing information that allows your application to make decisions for alternatives in processing; otherwise, there is no point in your creating the application in the first place. Frankly, I'm also against the entire concept of allowing the resizing of windows. When we were dealing with 9" and 12" screens, that was obligatory. Not so now. Obviously, IMHO! Now, off of my soap-box! (smile) Good luck. Joe Lewis Wilkins Architect & Director of Product Development for GSI On Dec 23, 2010, at 10:34 AM, J. Landman Gay wrote: > On 12/23/10 11:27 AM, Peter Haworth wrote: >> Thank you Richard and Jacquie. Yes my frustrations are making a little >> too judgemental, good job this list is providing an outlet for that! > > Hey, that's why we're here. And there are lots of other people out there who will read these responses and find help, so you are doing a public service by asking. :) > >> >> Just to be clear, I'm not trying to resize a group. > > I know, not specifically, but you will have to in order to get the results you're after. > >> Someone on the list gave me the idea of grouping all the objects on the >> card together and placing a scrollbar on the group so that the user on >> the lower resolution screen would be able to scroll the contents of the >> card. Which begs the question of why cards can't have scrollbars but >> that's a different discussion. > > It's the easiest and best solution, so you are on the right track. BTW, no operating system provides scrollable windows. What look like scrollable windows in other apps are exactly what you're implementing -- scrollable content in a fixed window. > >> I planned to detect the screen resolution >> on startup and resize the windows by script as necessary to fit on the >> screen. I have no desire to resize the group or any controls on the >> card. I just want the contents of the group to be scrollable when either >> the user or a script resizes the window in a way that not all of the >> contents of the group are visible. > > Ok, in that case it's easy. When your script resizes the window, have it also resize the group. You need to do that because the locked group (it must be locked) will not change size automatically, it has to be told to fit the window. If the group's contents exceed the group's size, the scrollbars will activate automatically. If the group is large enough to accomodate all its contents, scrollbars will disable automatically. > > The one liner I mentioned should be all you need in your own handler and/or a resizestack handler. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From zryip.theslug at gmail.com Thu Dec 23 14:09:54 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Thu, 23 Dec 2010 20:09:54 +0100 Subject: Datagrid tables: which column is a clicked cell belong to? In-Reply-To: References: Message-ID: On Thu, Dec 23, 2010 at 6:59 PM, David Bovill wrote: > I can do this with a table header, but there seems to be no easy way to find > out the number of the column - I can do it by defining the behavior of a > column template - then work things out using the templates name or a > property I manually define - but am wandering if there is a built in way to > do this? > > ColumnControlOfIndex (pColumnName, pIndex) Hi David, In the script of the datagrid group: on mouseUp put the dgColumn of the dgDataControl of the target end mouseUp Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From pete at mollysrevenge.com Thu Dec 23 14:12:31 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 23 Dec 2010 11:12:31 -0800 Subject: Card Vertical Scrollbars In-Reply-To: <3A7DBADC-3804-49BC-BBD1-A16E83FFA313@cox.net> References: <4D13786C.1090305@fourthworld.com> <0D475258-BE9E-4987-BA2C-4C2C24EF255E@mollysrevenge.com> <4D13962F.7020902@hyperactivesw.com> <3A7DBADC-3804-49BC-BBD1-A16E83FFA313@cox.net> Message-ID: Thanks Joe, you make some good points. I haven't yet seen the scrolling in action so I can't make a judgement on how good or bad it is for the user. Just to repeat, I'm trying to deal with resizing the window by script to deal with different resolution screens, not the user re-sizing the window. I had a prior iteration of my app written with a different development product and it did indeed make use of multiple windows to display the data that is now all in one window. I eventually found it more frustrating to keep switching between windows to see all the information I needed so decided to go with purring all the info in one window. I personally find the app easier to use that way but I think that's one of the difficulties in GUI design - what works for one person doesn't necessarily work for another. I'll admit that the scrolling is an easy workaround to a last minute problem (if it works smoothly) and I may have to bite the bullet and deal with resizing/re-positioning all the controls to make them fit on the card when I resize it. Pete Haworth On Dec 23, 2010, at 10:51 AM, Joe Lewis Wilkins wrote: > Pete, > > I'd seriously consider "reconsidering" your design concept. The > speed with which LC goes to new cards makes the use of scrolling > anything other than a text field not a very plausible solution. A > really good navigation concept that judiciously provides connections > between associated and related answers/solutions/queries makes for > something far more useful in an application than interminable > "scrolling" gobs of "things" that the user has to scrutinize in > order to proceed with whatever it is they are doing or trying to do. > A well thought-out application resolves all of these issues for the > user. These are decisions that you should be making "for" the user; > not just slapping up a lot of information/data that they have to > process. You should do the processing. You're the expert of your > application. Obviously, I'm not talking about applications designed > for the purpose of the user creating content. They should just be > providing information that allows your application to make decisions > for alternatives in processing; otherwise, there is no point in your > creating the application in the first place. > > Frankly, I'm also against the entire concept of allowing the > resizing of windows. When we were dealing with 9" and 12" screens, > that was obligatory. Not so now. Obviously, IMHO! > > Now, off of my soap-box! (smile) Good luck. > > Joe Lewis Wilkins > Architect & Director of Product Development for GSI > > > > On Dec 23, 2010, at 10:34 AM, J. Landman Gay wrote: > >> On 12/23/10 11:27 AM, Peter Haworth wrote: >>> Thank you Richard and Jacquie. Yes my frustrations are making a >>> little >>> too judgemental, good job this list is providing an outlet for that! >> >> Hey, that's why we're here. And there are lots of other people out >> there who will read these responses and find help, so you are doing >> a public service by asking. :) >> >>> >>> Just to be clear, I'm not trying to resize a group. >> >> I know, not specifically, but you will have to in order to get the >> results you're after. >> >>> Someone on the list gave me the idea of grouping all the objects >>> on the >>> card together and placing a scrollbar on the group so that the >>> user on >>> the lower resolution screen would be able to scroll the contents >>> of the >>> card. Which begs the question of why cards can't have scrollbars but >>> that's a different discussion. >> >> It's the easiest and best solution, so you are on the right track. >> BTW, no operating system provides scrollable windows. What look >> like scrollable windows in other apps are exactly what you're >> implementing -- scrollable content in a fixed window. >> >>> I planned to detect the screen resolution >>> on startup and resize the windows by script as necessary to fit on >>> the >>> screen. I have no desire to resize the group or any controls on the >>> card. I just want the contents of the group to be scrollable when >>> either >>> the user or a script resizes the window in a way that not all of the >>> contents of the group are visible. >> >> Ok, in that case it's easy. When your script resizes the window, >> have it also resize the group. You need to do that because the >> locked group (it must be locked) will not change size >> automatically, it has to be told to fit the window. If the group's >> contents exceed the group's size, the scrollbars will activate >> automatically. If the group is large enough to accomodate all its >> contents, scrollbars will disable automatically. >> >> The one liner I mentioned should be all you need in your own >> handler and/or a resizestack handler. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pmbrig at gmail.com Thu Dec 23 14:30:33 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Thu, 23 Dec 2010 14:30:33 -0500 Subject: Recursion warning: what's the owner of a background? In-Reply-To: References: Message-ID: <88D42849-1C54-49C1-82F2-7CAB20FD6FD8@gmail.com> On Dec 23, 2010, at 9:59 AM, David Bovill wrote: > Peter, not shure if I got you right? Why not take: > > word 1 to 3 of the long id of theObjectRef Well, word 1 to 3 of theObjectRef gives: field id 1072 since theObjectRef looks something like: field id 1072 of group id 1052 of group id 1057 of group id 1004 of card id 1009 of stack "PDdata" of stack "/Users/pmbrig/Documents/ Revolution stacks/ PtData-rev/ Psychopharmica.rev" but I want to extract the short name of group id 1004, the last one before the card. I could have parsed the long id by replacing " of " with comma, finding the itemoffset of "card id" and subtracting 1, but for whatever reason at the time* I chose a recursive function, and it works fine. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig * alas, I too often find myself saying, "It seemed like a good idea at the time...." Story of my life, in scripting, at least. From pete at mollysrevenge.com Thu Dec 23 14:38:38 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 23 Dec 2010 11:38:38 -0800 Subject: One More Datagrid Problem Message-ID: <422DFFDC-DCCF-4BC1-86A9-B53445948986@mollysrevenge.com> Ever wished you just hadn't switched on the computer today! One of my datagrids is displaying data in a way which looks like it's trying to display two sets of data on top of each other, kinda hard to describe. Here's a scenario which might explain it better. I can fix the problem by refreshing the datagrid from its property inspector window and all looks fine. I then do something in my app which causes a different set of data with less rows to be displayed in the datagrid. Lets say there were 20 rows in the original data and 10 in the new data. Rows 1-10 appear as if the old and new data is displayed on top of each other and rows 11-20 are displayed cleanly but from the old data. The data is put into the datagrid by setting its dgText. If I display the dgText in the message box, it looks perfect with only the new data showing. This is only happening in this one datagrid. I've set breakpoints in the code that loads the data and stepped through every line but can't see what might be causing this to happen. The code is in a common routine that loads data into any datagrid in my app by executing an SQL SELECT then setting the dgText. Pete Haworth From lists at mangomultimedia.com Thu Dec 23 14:42:05 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 23 Dec 2010 14:42:05 -0500 Subject: Datagrid Error in Standalone In-Reply-To: <7629276E-31BD-4393-9FD6-FED97FEE9474@mollysrevenge.com> References: <981C6157-61E9-4AB7-8E46-5A50FBF9975E@mollysrevenge.com> <7629276E-31BD-4393-9FD6-FED97FEE9474@mollysrevenge.com> Message-ID: On Thu, Dec 23, 2010 at 1:07 PM, Peter Haworth wrote: > I'll try. A little difficult since the error doesn't occur in the IDE > although the datagrid corruption does. > The IDE is probably suppressing the error message. You can wrap your code in a try/catch statement and report the error that way: on selectionChanged try ... catch e answer "oops, an error:" && e end try end selectionChanged Is the error any different from that reported in the standalone? -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From lists at mangomultimedia.com Thu Dec 23 14:48:06 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 23 Dec 2010 14:48:06 -0500 Subject: One More Datagrid Problem In-Reply-To: <422DFFDC-DCCF-4BC1-86A9-B53445948986@mollysrevenge.com> References: <422DFFDC-DCCF-4BC1-86A9-B53445948986@mollysrevenge.com> Message-ID: On Thu, Dec 23, 2010 at 2:38 PM, Peter Haworth wrote: > Ever wished you just hadn't switched on the computer today! > > One of my datagrids is displaying data in a way which looks like it's > trying to display two sets of data on top of each other, kinda hard to > describe. > As with the other problem I would check to see if the IDE is suppressing an error message. Wrap the setting of the dgText property in a try/catch statement and see if anything is reported in the catch block. The IDE suppresses messages generated by stacks that start with "rev". The data grid tries to work around this and let you know that an error occurred but may not be succeeding. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From ambassador at fourthworld.com Thu Dec 23 15:06:00 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Dec 2010 12:06:00 -0800 Subject: Card Vertical Scrollbars Message-ID: <4D13ABA8.6060808@fourthworld.com> Joe Lewis Wilkins wrote: > Frankly, I'm also against the entire concept of allowing the > resizing of windows. When we were dealing with 9" and 12" > screens, that was obligatory. Not so now. Obviously, IMHO! The problem with absolutes is that they inevitably run into exceptions. :) Can you imagine a text editor that limited you to one screen's worth of data? Or a page layout program that only supported page sizes that happen the match the monitor you're currently using? Or an Automator that only allowed as many actions as your current screen can display? And what to do about the busy professional who uses a 1600x1200 display at work, 1366x768 at home, and 1024x600 on her netbook when she's traveling? And what do you do for the person who wants to open two documents side by side or above and below one another? There are many good reasons why so many thousands of app provide scrolling.... -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From pete at mollysrevenge.com Thu Dec 23 15:07:35 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 23 Dec 2010 12:07:35 -0800 Subject: Datagrid Error in Standalone In-Reply-To: References: <981C6157-61E9-4AB7-8E46-5A50FBF9975E@mollysrevenge.com> <7629276E-31BD-4393-9FD6-FED97FEE9474@mollysrevenge.com> Message-ID: Hi Trevor, The try/catch did come up with the same error that I see in the standalone. Here's what was displayed: 347,0,0 76,3561,13 144,3561,1 490,3560,1 490,3555,1 241,3555,1,_table.DeleteDataControls 353,0,0,button id 1005 of group id 1004 of card id 1002 of stack "/ Applications/LiveCode 4.5.1.app/Contents/Tools/Toolset/ revdatagridlibrary.rev" 573,2337,1 587,2335,1 241,2335,1,_DeleteDataControls 353,0,0,button id 1005 of group id 1004 of card id 1002 of stack "/ Applications/LiveCode 4.5.1.app/Contents/Tools/Toolset/ revdatagridlibrary.rev" 573,2071,1 241,2071,1,_ResetData 353,0,0,button id 1005 of group id 1004 of card id 1002 of stack "/ Applications/LiveCode 4.5.1.app/Contents/Tools/Toolset/ revdatagridlibrary.rev" 573,4724,1 241,4724,1,dgData 353,0,0,button id 1005 of group id 1004 of card id 1002 of stack "/ Applications/LiveCode 4.5.1.app/Contents/Tools/Toolset/ revdatagridlibrary.rev" 449,3383,5 535,3383,1 241,3383,1,_table.SetText 353,0,0,button id 1005 of group id 1004 of card id 1002 of stack "/ Applications/LiveCode 4.5.1.app/Contents/Tools/Toolset/ revdatagridlibrary.rev" 573,4648,1 587,4646,1 Pete Haworth On Dec 23, 2010, at 11:42 AM, Trevor DeVore wrote: > On Thu, Dec 23, 2010 at 1:07 PM, Peter Haworth > wrote: > >> I'll try. A little difficult since the error doesn't occur in the >> IDE >> although the datagrid corruption does. >> > > The IDE is probably suppressing the error message. You can wrap your > code in > a try/catch statement and report the error that way: > > on selectionChanged > try > ... > catch e > answer "oops, an error:" && e > end try > end selectionChanged > > Is the error any different from that reported in the standalone? > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Releasable Revolution Resources for Developers: > http://revolution.bluemangolearning.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at mollysrevenge.com Thu Dec 23 15:08:15 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 23 Dec 2010 12:08:15 -0800 Subject: One More Datagrid Problem In-Reply-To: References: <422DFFDC-DCCF-4BC1-86A9-B53445948986@mollysrevenge.com> Message-ID: <58227357-EF91-4024-A20C-AD0E13E6AF64@mollysrevenge.com> Hi Trevor, In this case, no error was thrown by the try/catch Pete Haworth On Dec 23, 2010, at 11:48 AM, Trevor DeVore wrote: > On Thu, Dec 23, 2010 at 2:38 PM, Peter Haworth > wrote: > >> Ever wished you just hadn't switched on the computer today! >> >> One of my datagrids is displaying data in a way which looks like it's >> trying to display two sets of data on top of each other, kinda hard >> to >> describe. >> > > As with the other problem I would check to see if the IDE is > suppressing an > error message. Wrap the setting of the dgText property in a try/catch > statement and see if anything is reported in the catch block. > > The IDE suppresses messages generated by stacks that start with > "rev". The > data grid tries to work around this and let you know that an error > occurred > but may not be succeeding. > > -- > > Trevor DeVore > > Blue Mango Learning Systems > > ScreenSteps: http://www.screensteps.com > > Releasable Revolution Resources for Developers: > http://revolution.bluemangolearning.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mcgrath3 at mac.com Thu Dec 23 15:34:14 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 23 Dec 2010 15:34:14 -0500 Subject: Livecode iOS app live in the app store In-Reply-To: <4D135FCB.3080505@splash21.com> References: <4D13519F.4020204@splash21.com> <4D135FCB.3080505@splash21.com> Message-ID: <05870FF9-BFA0-41BB-ADA4-142AAD01FE2F@mac.com> John, Downloaded the snowball app on my iPad and iPhone and it works great. Nice holiday idea. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Dec 23, 2010, at 9:42 AM, John Craig wrote: > Hi, Nicolas. That was my first test app (written in Xcode). The new LC app doesn't seem to show up yet for some people - apparently it can take up to 24 hours to appear :( > > On 23/12/2010 14:29, Nicolas Cueto wrote: >> John, >> >> Installed your splash21, aka "Doomsday". -- snowballer wasn't listed. >> Unfortunately, the app opened to a black screen with status bar, >> stayed that way for half a minute or so, and then closed itself. >> >> My iPhone is 3GS, running version 4.2.1, here in Japan. >> >> -- >> Nicolas Cueto >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lists at mangomultimedia.com Thu Dec 23 15:36:46 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 23 Dec 2010 15:36:46 -0500 Subject: Datagrid Error in Standalone In-Reply-To: References: <981C6157-61E9-4AB7-8E46-5A50FBF9975E@mollysrevenge.com> <7629276E-31BD-4393-9FD6-FED97FEE9474@mollysrevenge.com> Message-ID: On Thu, Dec 23, 2010 at 3:07 PM, Peter Haworth wrote: > Hi Trevor, > The try/catch did come up with the same error that I see in the standalone. > Here's what was displayed: > It looks like you are doing more than just resizing the window. This error report was caused by setting the dgData of the data grid. This is occurring while you are processing the selectionChanged message in the data grid. The engine will complain if you try to delete the control that is the target of the current event which I think is what is happening. Can you trying using send in time to see if it fixes the issue? send myMessage to button "DB_Type" in 0 milliseconds -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From lists at mangomultimedia.com Thu Dec 23 15:41:27 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 23 Dec 2010 15:41:27 -0500 Subject: One More Datagrid Problem In-Reply-To: <58227357-EF91-4024-A20C-AD0E13E6AF64@mollysrevenge.com> References: <422DFFDC-DCCF-4BC1-86A9-B53445948986@mollysrevenge.com> <58227357-EF91-4024-A20C-AD0E13E6AF64@mollysrevenge.com> Message-ID: On Thu, Dec 23, 2010 at 3:08 PM, Peter Haworth wrote: > Hi Trevor, > In this case, no error was thrown by the try/catch > Hmm, can you narrow this down to a particular set of data that causes the problem? -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From mcgrath3 at mac.com Thu Dec 23 15:56:27 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 23 Dec 2010 15:56:27 -0500 Subject: What with all it's features and platforms I sometimes forget Message-ID: What with all of Live Codes features and platforms I sometimes forget just how powerful it is. I am working on a project that has previously cost two people their jobs (one quit and one was let go). The project is complex and requires 'hacking' into our companies hardware devices to extract pertinent information and resources and then to be able to use that information in useful ways. Well first of all LC has lived up to every challenge I have thrown at it and secondly it is amazingly fast. I mean really fast. I have a counter part working on something similar but different and when he came in and saw how fast my version was he immediately had to ask "What did you write it in?" When I humbly told him LiveCode by RunRev he said "Huh?" So I had to pull out the old "It uses a higher level scripting language, sorta like Hypercard, but much better, much faster and cross-platform." Then I showed him the Windows version and he was impressed and then I showed him the iPad version. His mouth dropped to the floor. What was he using? -- C+ (Windows only version) that could only do half of what my version could do and which seemed to chug on the 27,000 entries at times. LC is blazingly fast and responsive and feels like a rock. I then showed him how I cold also write the files back into our system after major editing ( which until now was thought to be impossible or at least impractical ) and it all took less than a second. He is now trying to learn more about LC and there are whispers around the company like "Did you see what Tom is doing?" "Yeah, he is live coding or something. But i hear it is really powerful and fast." Now, I'm not saying I won't also get fired over this project as well since it seems to be cursed, but at least I am having fun and making big changes to what we can do. And did I mention how fast LC is? Well, if I didn't, let me tell you "It is really fast." Happy Holidays to all and to all a good night. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net From richmondmathewson at gmail.com Thu Dec 23 16:15:00 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 23 Dec 2010 23:15:00 +0200 Subject: pListed-off Message-ID: <4D13BBD4.4040000@gmail.com> Most of you probably know this already; but goofy Richmond didn't until just now, and he feels it is worth repeating: Submitted the latest version of my Devawriter Pro to MacUpdate: http://www.macupdate.com/app/mac/34195/devawriter-pro and got this back from the macUpdate people: "I noticed that you submitted Devawriter Pro and that the version strings are showing 4.0.0.950 rather than the version number you've designated (1.0.0.RC3). Would you mind updating the version strings so that our listing can match the information that appears in Finder? . . . . . . It's really easy to fix the conflict between the version # of the runtime and the version # of your app. Just edit the file in /Contents/Info.plist file so that the CFBundleVersion value is changed from whatever it is (4.0.0.950 right now) to the version # for the Devawriter Pro." Love, Richmond. From DunbarX at aol.com Thu Dec 23 16:18:58 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 23 Dec 2010 16:18:58 EST Subject: What with all it's features and platforms I sometimes forget Message-ID: <2ed10.2bb4bfe6.3a4516c2@aol.com> Tony. This is both wonderful and disturbing news. What would it take for the rest of the world to give LC a fair look? Shackles? Those eye-popping gadgets that were placed on Malcom McDowell in "A Clockwork Orange"? Both? Craig From richmondmathewson at gmail.com Thu Dec 23 16:20:09 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 23 Dec 2010 23:20:09 +0200 Subject: [OT] Another Microsoft Achievement Message-ID: <4D13BD09.1030201@gmail.com> http://www.bbc.co.uk/news/technology-12067295 Wow! From richmondmathewson at gmail.com Thu Dec 23 16:21:39 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 23 Dec 2010 23:21:39 +0200 Subject: What with all it's features and platforms I sometimes forget In-Reply-To: <2ed10.2bb4bfe6.3a4516c2@aol.com> References: <2ed10.2bb4bfe6.3a4516c2@aol.com> Message-ID: <4D13BD63.5060108@gmail.com> On 12/23/2010 11:18 PM, DunbarX at aol.com wrote: > Tony. > > This is both wonderful and disturbing news. What would it take for the rest > of the world to give LC a fair look? Shackles? Those eye-popping gadgets > that were placed on Malcom McDowell in "A Clockwork Orange"? > > Both? > > Craig > _______________________________________________ Probably the best thing would be a web-page showing the vast range of things that people have made with Livecode. From bill at fmpsolutions.com Thu Dec 23 16:23:45 2010 From: bill at fmpsolutions.com (William Roger Moseid) Date: Thu, 23 Dec 2010 13:23:45 -0800 Subject: An iPhone and iPad Christmas Concert Extravaganza! (Link Added) Message-ID: <286B1F8E42C84422B86A268349E81558@BillPC> Soory folks the link in "Here" did not make it to the list. Please see the full URL below: Mr. Jobs, The link below, graphically and audibly illustrates the extreme impact that your Apple products are beginning to exert, in this case the Music World. Incredible Christmas Concert by The North Point iBand This super cool video done by North Point Community Church - a full band performs some Christmas favorites without any "real" instruments. How do they do it you ask? Well, Watch to find out! Download that free music video from North Point -- Here => http://www.godtube.com/watch/?v=9M9MCMNU Spread the Christmas cheer - share this with your team today! Enjoy, William modelmasters1 at cox.net __________ Information from ESET Smart Security, version of virus signature database 5728 (20101223) __________ The message was checked by ESET Smart Security. http://www.eset.com From davidocoker at gmail.com Thu Dec 23 16:26:10 2010 From: davidocoker at gmail.com (David C.) Date: Thu, 23 Dec 2010 15:26:10 -0600 Subject: Livecode iOS app live in the app store In-Reply-To: <4D13519F.4020204@splash21.com> References: <4D13519F.4020204@splash21.com> Message-ID: John, I'm not much of a gamer and in fact, that's the first and only game I've ever installed on my original iPhone... Kudos to ya... that's just fun stuff. :) Best regards, David C. From DunbarX at aol.com Thu Dec 23 16:27:12 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 23 Dec 2010 16:27:12 EST Subject: What with all it's features and platforms I sometimes forget Message-ID: <2f4b0.448a265.3a4518b0@aol.com> Richmond: I don't know, it is much more the process, not the results. It has to be seen as accessable, fun, intuitive, easy, startling. It also has to be seen as utterly capable; I get that. But those first things first. Craig In a message dated 12/23/10 4:23:12 PM, richmondmathewson at gmail.com writes: > Probably the best thing would be a web-page showing the vast range of > things that > people have made with Livecode. > From scott at tactilemedia.com Thu Dec 23 16:33:10 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 23 Dec 2010 13:33:10 -0800 Subject: Livecode iOS app live in the app store In-Reply-To: <4D13519F.4020204@splash21.com> Message-ID: Recently, John Craig wrote: > I created a small LC game for iPhone and it's now in the app store. If > you search for 'splash21' or 'snowballer' you should be able to > download. Great John. It runs OK here on a gen 3 iPod Touch. I especially like the targeting mechanism, but I can't tell if the left-to-right angle calcs are a bit too sensitive or I'm just lame (probably the latter). (Ooo, just got 3 santas. My hi score = 23220). Perhaps you should have named it Angry Snowmen. :-) Regards, Scott Rossi Creative Director Tactile Media, UX Design From pete at mollysrevenge.com Thu Dec 23 17:30:47 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 23 Dec 2010 14:30:47 -0800 Subject: Datagrid Error in Standalone In-Reply-To: References: <981C6157-61E9-4AB7-8E46-5A50FBF9975E@mollysrevenge.com> <7629276E-31BD-4393-9FD6-FED97FEE9474@mollysrevenge.com> Message-ID: Actually I was sending in time at one point (with the same problem) but removed it to see if it made any difference. Now that I know it's something to do with setting dgData, I'll check through the code more carefully and see what I can find. Pete Haworth On Dec 23, 2010, at 12:36 PM, Trevor DeVore wrote: > On Thu, Dec 23, 2010 at 3:07 PM, Peter Haworth > wrote: > >> Hi Trevor, >> The try/catch did come up with the same error that I see in the >> standalone. >> Here's what was displayed: >> > > It looks like you are doing more than just resizing the window. This > error > report was caused by setting the dgData of the data grid. This is > occurring > while you are processing the selectionChanged message in the data > grid. The > engine will complain if you try to delete the control that is the > target of > the current event which I think is what is happening. > > Can you trying using send in time to see if it fixes the issue? > > send myMessage to button "DB_Type" in 0 milliseconds > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Releasable Revolution Resources for Developers: > http://revolution.bluemangolearning.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at mollysrevenge.com Thu Dec 23 17:48:48 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 23 Dec 2010 14:48:48 -0800 Subject: Datagrid Error in Standalone In-Reply-To: References: <981C6157-61E9-4AB7-8E46-5A50FBF9975E@mollysrevenge.com> <7629276E-31BD-4393-9FD6-FED97FEE9474@mollysrevenge.com> Message-ID: <2CBAB89E-BC53-4699-ADF4-49258D937630@mollysrevenge.com> OK, figured this out Trevor. I forgot that I have a frontScript menuPick handler that does some stuff which could result in the datagrid being updated. I have a global that controls some of that stuff and once I set it appropriately, all works perfectly. Thanks for putting me on the right path. Still trying to track down the other problem with doub display of data. Pete Haworth On Dec 23, 2010, at 12:36 PM, Trevor DeVore wrote: > On Thu, Dec 23, 2010 at 3:07 PM, Peter Haworth > wrote: > >> Hi Trevor, >> The try/catch did come up with the same error that I see in the >> standalone. >> Here's what was displayed: >> > > It looks like you are doing more than just resizing the window. This > error > report was caused by setting the dgData of the data grid. This is > occurring > while you are processing the selectionChanged message in the data > grid. The > engine will complain if you try to delete the control that is the > target of > the current event which I think is what is happening. > > Can you trying using send in time to see if it fixes the issue? > > send myMessage to button "DB_Type" in 0 milliseconds > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Releasable Revolution Resources for Developers: > http://revolution.bluemangolearning.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From iowahengst at mac.com Thu Dec 23 18:38:51 2010 From: iowahengst at mac.com (Randy Hengst) Date: Thu, 23 Dec 2010 17:38:51 -0600 Subject: LiveCode iOS app Just the Facts Message-ID: Hi All, I just had my first iOS iPod/iPhone app accepted today... Just the Facts... practice for addition, subtraction, multiplication, and division facts to 10. I set it for 99 cents, but have about a dozen promo codes left to give away if anyone has a youngster practicing the basic facts. Email me off list and I'll send one off to you. take care, randy hengst From bill at bluewatermaritime.com Thu Dec 23 21:43:10 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Thu, 23 Dec 2010 22:43:10 -0400 Subject: How to make a stack transparent but the fields and images on it a different blend level Message-ID: * We can do something like the following to get around the limitation of making an entire stack transparent (in order to have the fields and images on the stack be darker than the transparent "stack" image behind).* * * ** * on doRectCapture * *get* the rect of this stack *hide* this stack *repeat* with x = the number of images in stack "Splash" down to 1 *if* the short name of img x is "temp" *then* *delete* img x *end* *repeat* *hide* img "logo" of card id 1002 of stack "Splash" *hide* fld 1 of card id 1002 of stack "Splash" *hide* fld 2 of card id 1002 of stack "Splash" *import* snapshot from rect it *set* the name of last img of this stack to "temp" *set* the layer of img "temp" to 2 *set* the blendlevel of image "temp" to 50 *set* the decorations of this stack to empty *show* this stack *send* "revealLogo" to stack "Splash" *end* doRectCapture But the problem with this is that you can't move this stack around without immediately revealing that the transparent rect image is static. Is there some way (without keep getting a new rect to put in the background as that is too "jerky") to make a stack and it's background transparent but the groups or fields on it not transparent? From pete at mollysrevenge.com Thu Dec 23 22:15:10 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 23 Dec 2010 19:15:10 -0800 Subject: Card Vertical Scrollbars In-Reply-To: <4D13962F.7020902@hyperactivesw.com> References: <4D13786C.1090305@fourthworld.com> <0D475258-BE9E-4987-BA2C-4C2C24EF255E@mollysrevenge.com> <4D13962F.7020902@hyperactivesw.com> Message-ID: <23F0F401-14A3-4619-B370-58851BD83303@mollysrevenge.com> OK, nearly there. All works as you said. The only problem I have is that when the scrollbar becomes active, I see an arrow at the top of it to scroll up but there is no arrow at the bottom of it to scroll down. I have my Mac system preferences set to have the arrows at the top and bottom of the scrollbar rather than the default of both of them being at the bottom of the scrollbar. I have boticed this before in the IDE, eg in the Search results display, the same thing happens. Any ideas? Pete Haworth On Dec 23, 2010, at 10:34 AM, J. Landman Gay wrote: > On 12/23/10 11:27 AM, Peter Haworth wrote: >> Thank you Richard and Jacquie. Yes my frustrations are making a >> little >> too judgemental, good job this list is providing an outlet for that! > > Hey, that's why we're here. And there are lots of other people out > there who will read these responses and find help, so you are doing > a public service by asking. :) > >> >> Just to be clear, I'm not trying to resize a group. > > I know, not specifically, but you will have to in order to get the > results you're after. > >> Someone on the list gave me the idea of grouping all the objects on >> the >> card together and placing a scrollbar on the group so that the user >> on >> the lower resolution screen would be able to scroll the contents of >> the >> card. Which begs the question of why cards can't have scrollbars but >> that's a different discussion. > > It's the easiest and best solution, so you are on the right track. > BTW, no operating system provides scrollable windows. What look like > scrollable windows in other apps are exactly what you're > implementing -- scrollable content in a fixed window. > >> I planned to detect the screen resolution >> on startup and resize the windows by script as necessary to fit on >> the >> screen. I have no desire to resize the group or any controls on the >> card. I just want the contents of the group to be scrollable when >> either >> the user or a script resizes the window in a way that not all of the >> contents of the group are visible. > > Ok, in that case it's easy. When your script resizes the window, > have it also resize the group. You need to do that because the > locked group (it must be locked) will not change size automatically, > it has to be told to fit the window. If the group's contents exceed > the group's size, the scrollbars will activate automatically. If the > group is large enough to accomodate all its contents, scrollbars > will disable automatically. > > The one liner I mentioned should be all you need in your own handler > and/or a resizestack handler. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Thu Dec 23 22:18:16 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 23 Dec 2010 19:18:16 -0800 Subject: How to make a stack transparent but the fields and images on it a different blend level In-Reply-To: Message-ID: Recently, william humphrey wrote: > But the problem with this is that you can't move this stack around without > immediately revealing that the transparent rect image is static. Is there > some way (without keep getting a new rect to put in the background as that > is too "jerky") to make a stack and it's background transparent but the > groups or fields on it not transparent? One way to do this is to create a stack with a custom windowShape that has the control regions opaque and the unoccupied regions translucent. It's not convenient, but it's possible. I posted a stack some time ago that dynamically creates the mask image at startup and applies the windowShape to the stack. In your message box: go url "http://www.tactilemedia.com/site_files/downloads/transtack2.rev" Keep in mind that this method doesn't automatically work for irregular shaped objects like sliders, and even checkboxes suffer a bit because the check extends beyond the rect of the box. You'll need a compromise like adding a graphic behind each irregular control whose rect "fits" the entire region needed to accommodate the control. It's a bit of work, but with a little planning, you can indeed create a stack that has opaque controls with a translucent background. Regards, Scott Rossi Creative Director Tactile Media, UX Design From bill at bluewatermaritime.com Thu Dec 23 22:23:56 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Thu, 23 Dec 2010 23:23:56 -0400 Subject: How to make a stack transparent but the fields and images on it a different blend level In-Reply-To: References: Message-ID: That's pretty cool alright. On Thu, Dec 23, 2010 at 11:18 PM, Scott Rossi wrote: > go url "http://www.tactilemedia.com/site_files/downloads/transtack2.rev" > -- http://www.bluewatermaritime.com From tsj at unimelb.edu.au Thu Dec 23 22:40:42 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 24 Dec 2010 14:40:42 +1100 Subject: Problem with launch on OSX 10.5 Message-ID: I have a big problem with the launch command on OSX 10.5. I have a bunch of old Director executables that I?m trying to launch from LiveCode that refuse to launch using the launch command while I?m running 10.5 but work fine under 10.6. Interestingly I can?t get them to ?activate? via applescript either when running 10.5 (is this what launch uses?). They all run perfectly when double-clicked in the Finder. Anyone got any ideas on how I might work around this? -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From warren at warrensweb.us Thu Dec 23 22:59:16 2010 From: warren at warrensweb.us (Warren Samples) Date: Thu, 23 Dec 2010 21:59:16 -0600 Subject: Problem with launch on OSX 10.5 In-Reply-To: References: Message-ID: <1293163156.2110.193.camel@mint-i7> On Fri, 2010-12-24 at 14:40 +1100, Terry Judd wrote: > I have a big problem with the launch command on OSX 10.5. I have a bunch of > old Director executables that I?m trying to launch from LiveCode that refuse > to launch using the launch command while I?m running 10.5 but work fine > under 10.6. Interestingly I can?t get them to ?activate? via applescript > either when running 10.5 (is this what launch uses?). They all run perfectly > when double-clicked in the Finder. > > Anyone got any ideas on how I might work around this? > Might "shell(open -a )" work? You could also look into "launch" for OS X here: http://sabi.net/nriley/software/ Good luck! Warren From tsj at unimelb.edu.au Thu Dec 23 23:19:10 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 24 Dec 2010 15:19:10 +1100 Subject: Problem with launch on OSX 10.5 In-Reply-To: <1293163156.2110.193.camel@mint-i7> Message-ID: Thanks Warren - I'll give the shell command a try. Terry... On 24/12/10 2:59 PM, "Warren Samples" wrote: > On Fri, 2010-12-24 at 14:40 +1100, Terry Judd wrote: > I have a big problem > with the launch command on OSX 10.5. I have a bunch of > old Director > executables that I??m trying to launch from LiveCode that refuse > to launch > using the launch command while I??m running 10.5 but work fine > under 10.6. > Interestingly I can??t get them to ?activate?? via applescript > either when > running 10.5 (is this what launch uses?). They all run perfectly > when > double-clicked in the Finder. > > Anyone got any ideas on how I might work > around this? > Might "shell(open -a )" work? You could also > look into "launch" for OS X here: http://sabi.net/nriley/software/ Good > luck! Warren _______________________________________________ use-livecode > mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, > unsubscribe and manage your subscription > preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From tsj at unimelb.edu.au Thu Dec 23 23:33:28 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 24 Dec 2010 15:33:28 +1100 Subject: Problem with launch on OSX 10.5 In-Reply-To: Message-ID: Hmm - same result - works on 10.6 but not 10.5. Looks like it's something to do with the Director builds (I have some Director apps that work and some that don't - built with the same version of Director but at different times and on different Macs). Looks like I'm not going to solve this today - time for some holidays. Terry... On 24/12/10 3:19 PM, "Terry Judd" wrote: > Thanks Warren - I'll give the shell command a try. > > Terry... > > > On 24/12/10 2:59 PM, "Warren Samples" wrote: > >> On Fri, 2010-12-24 at 14:40 +1100, Terry Judd wrote: >> I have a big problem >> with the launch command on OSX 10.5. I have a bunch of >> old Director >> executables that I??m trying to launch from LiveCode that refuse >> to launch >> using the launch command while I??m running 10.5 but work fine >> under 10.6. >> Interestingly I can??t get them to ?activate?? via applescript >> either when >> running 10.5 (is this what launch uses?). They all run perfectly >> when >> double-clicked in the Finder. >> >> Anyone got any ideas on how I might work >> around this? >> > > Might "shell(open -a )" work? You could also >> look into > "launch" for OS X here: http://sabi.net/nriley/software/ > > Good >> luck! > > Warren > > > > > _______________________________________________ > use-livecode >> mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, >> unsubscribe and manage your subscription >> preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Dr Terry Judd | Senior Lecturer in Medical Education > Medical Education Unit > Melbourne Medical School > The University of Melbourne > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From ambassador at fourthworld.com Thu Dec 23 23:46:20 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Dec 2010 20:46:20 -0800 Subject: Card Vertical Scrollbars Message-ID: <4D14259C.7060109@fourthworld.com> Peter Haworth wrote: > OK, nearly there. All works as you said. The only problem I have is > that when the scrollbar becomes active, I see an arrow at the top of > it to scroll up but there is no arrow at the bottom of it to scroll > down. I have my Mac system preferences set to have the arrows at the > top and bottom of the scrollbar rather than the default of both of > them being at the bottom of the scrollbar. I have boticed this before > in the IDE, eg in the Search results display, the same thing happens. IIRC this was a known issue in earlier versions of the engine, but I couldn't find an open report against it and I just checked in v4.0, 4.5, and 4.5.1 and the scrollbars on both fields and groups adapt to the current setting in System Prefs. Which version are you using? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From pete at mollysrevenge.com Fri Dec 24 00:50:25 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 23 Dec 2010 21:50:25 -0800 Subject: Card Vertical Scrollbars In-Reply-To: <4D14259C.7060109@fourthworld.com> References: <4D14259C.7060109@fourthworld.com> Message-ID: LC 4.5.1. Another twist on this. If I request a horizontal scrollbar as well as a vertical one, the vertical scrollbar arrows both show up fine (as do the horizontal scrollbar arrows. It's only when there is a vertical scrollbar and no horizontal one that I see this issue. I'd like to add that, in my opinion, the scrollbar approach works just fine for window resizing whether by script or by the user. That's in the context of my application of course; it may not be appropriate for other apps. Pete Haworth On Dec 23, 2010, at 8:46 PM, Richard Gaskin wrote: > Peter Haworth wrote: > >> OK, nearly there. All works as you said. The only problem I have is >> that when the scrollbar becomes active, I see an arrow at the top of >> it to scroll up but there is no arrow at the bottom of it to scroll >> down. I have my Mac system preferences set to have the arrows at the >> top and bottom of the scrollbar rather than the default of both of >> them being at the bottom of the scrollbar. I have boticed this >> before >> in the IDE, eg in the Search results display, the same thing happens. > > IIRC this was a known issue in earlier versions of the engine, but I > couldn't find an open report against it and I just checked in v4.0, > 4.5, and 4.5.1 and the scrollbars on both fields and groups adapt to > the current setting in System Prefs. > > Which version are you using? > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at mollysrevenge.com Fri Dec 24 00:52:04 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 23 Dec 2010 21:52:04 -0800 Subject: One More Datagrid Problem In-Reply-To: References: <422DFFDC-DCCF-4BC1-86A9-B53445948986@mollysrevenge.com> <58227357-EF91-4024-A20C-AD0E13E6AF64@mollysrevenge.com> Message-ID: Still trying to track this down. One thought - are NULL characters a problem in dgText? I've had various problems with NULLs in the SQLite/ LC context but LC has fixed some issues regarding yhat in 4.5.1 Pete Haworth On Dec 23, 2010, at 12:41 PM, Trevor DeVore wrote: > On Thu, Dec 23, 2010 at 3:08 PM, Peter Haworth > wrote: > >> Hi Trevor, >> In this case, no error was thrown by the try/catch >> > > Hmm, can you narrow this down to a particular set of data that > causes the > problem? > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Releasable Revolution Resources for Developers: > http://revolution.bluemangolearning.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From shaosean at wehostmacs.com Fri Dec 24 01:42:13 2010 From: shaosean at wehostmacs.com (Shao Sean) Date: Fri, 24 Dec 2010 01:42:13 -0500 Subject: How to make a stack transparent but the fields and images on it a different blend level Message-ID: <1E91AEE2-2DFC-488E-9674-0BF25CEE69D6@wehostmacs.com> In theory this should be doable as the system allows for it (I have an external for Windows that does it) but cannot get it to work correctly on Mac OS X From jacque at hyperactivesw.com Fri Dec 24 02:03:17 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Dec 2010 01:03:17 -0600 Subject: Card Vertical Scrollbars In-Reply-To: References: <4D14259C.7060109@fourthworld.com> Message-ID: <4D1445B5.9090008@hyperactivesw.com> On 12/23/10 11:50 PM, Peter Haworth wrote: > LC 4.5.1. Another twist on this. If I request a horizontal scrollbar as > well as a vertical one, the vertical scrollbar arrows both show up fine > (as do the horizontal scrollbar arrows. It's only when there is a > vertical scrollbar and no horizontal one that I see this issue. It sounds like you'll have to subtract a little bit from the bottom of the group's size. You shouldn't have to, but if there really is a bug in your version then that would be a workaround. If you kludge it that way, you may have to un-work-around it if you upgrade. Or you could just upgrade... Anyway: put the rect of this cd into tRect subtract 16 from item 4 of it set the rect of grp "myGroup" to it -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From walter.h.brown at gmail.com Fri Dec 24 02:39:49 2010 From: walter.h.brown at gmail.com (Walt Brown) Date: Fri, 24 Dec 2010 02:39:49 -0500 Subject: What with all it's features and platforms I sometimes forget In-Reply-To: <4D13BD63.5060108@gmail.com> References: <2ed10.2bb4bfe6.3a4516c2@aol.com> <4D13BD63.5060108@gmail.com> Message-ID: <4d144e48.8c8ee50a.28a9.fffffd8b@mx.google.com> I would love to see a list of published apps created with LC beyond the 2-3 poster children. Walt -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richmond Sent: Thursday, December 23, 2010 4:22 PM To: How to use LiveCode Subject: Re: What with all it's features and platforms I sometimes forget On 12/23/2010 11:18 PM, DunbarX at aol.com wrote: > Tony. > > This is both wonderful and disturbing news. What would it take for the > rest of the world to give LC a fair look? Shackles? Those eye-popping > gadgets that were placed on Malcom McDowell in "A Clockwork Orange"? > > Both? > > Craig > _______________________________________________ Probably the best thing would be a web-page showing the vast range of things that people have made with Livecode. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Dec 24 03:41:16 2010 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 24 Dec 2010 10:41:16 +0200 Subject: What with all it's features and platforms I sometimes forget In-Reply-To: <2f4b0.448a265.3a4518b0@aol.com> References: <2f4b0.448a265.3a4518b0@aol.com> Message-ID: <4D145CAC.5060007@gmail.com> On 12/23/2010 11:27 PM, DunbarX at aol.com wrote: > Richmond: > > I don't know, it is much more the process, not the results. It has to be > seen as accessable, fun, intuitive, easy, startling. Yes; but to me that sounds like all the cheap crap they rabbit on about everywhere; everything has to be 'fun', 'easy' and so on. Well; good, effective programming is rarely either EASY or FUN; and more often than not involves a lot of prolonged effort, thought, and hard work. Half of today's problems revolve around the totally crapulous idea that one can have something for nothing; the "I want it now" brigade with their vacuous, thought-quenching non sequiturs such as 'accessible', 'intuitive' and 'startling' (and that is NOT an attack on you) who suffer from very short attention spans. I have been working with RunRev/Livecode for about 9-10 years now, and prior to that with Hypercard and ToolBook. I still have great difficulty in some areas and find some parts of Livecode quite counter-intuitive, fairly 'un'fun and hard. But that is because word such as 'intuitive', 'fun' and 'easy' are subjective, and anybody with a half-working brain, realising that, will not take advertising involving those words seriously. > It also has to be seen as utterly capable; I get that. But those first > things first. > Livecode can be utterly capable in the hands of an experienced programmer; rather like a Fugu fish can NOT give you 'tummy ache' in the hands of an experienced chef. But one can become bogged down with Livecode if one does not understand the underlying principles and how computer code works. To tell would-be end-users that they can create wonderful things without a fairly serious investment of time and effort is simply disingenuous. > Craig > > In a message dated 12/23/10 4:23:12 PM, richmondmathewson at gmail.com writes: > >> Probably the best thing would be a web-page showing the vast range of >> things that >> people have made with Livecode. >> From keith.clarke at clarkeandclarke.co.uk Fri Dec 24 04:26:47 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 24 Dec 2010 09:26:47 +0000 Subject: Planning/design/estimating checklists Message-ID: <28B6AF64-DB68-4287-9F66-04E4E8D375E5@clarkeandclarke.co.uk> Hi folks, I want to get smarter at solving issues earlier in the design stage, as my coding skills (or lack thereof) makes the repeated, radical reworking of code - each time I realise I've forgotten something basic - both unproductive and a real bore. Are there any basic 'Do/Don't/Consider' checklists to use when planning/design/estimating a new application, stack, card, script. library, etc. Best, Keith.. From andre at andregarzia.com Fri Dec 24 08:12:23 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 24 Dec 2010 11:12:23 -0200 Subject: LiveCode iOS app Just the Facts In-Reply-To: References: Message-ID: I want to see screenshots! :-D On Thu, Dec 23, 2010 at 9:38 PM, Randy Hengst wrote: > Hi All, > > I just had my first iOS iPod/iPhone app accepted today... Just the Facts... > practice for addition, subtraction, multiplication, and division facts to > 10. > > I set it for 99 cents, but have about a dozen promo codes left to give away > if anyone has a youngster practicing the basic facts. Email me off list and > I'll send one off to you. > > > take care, > randy hengst > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From iowahengst at mac.com Fri Dec 24 09:12:24 2010 From: iowahengst at mac.com (Randy Hengst) Date: Fri, 24 Dec 2010 08:12:24 -0600 Subject: LiveCode iOS app Just the Facts In-Reply-To: References: Message-ID: Andre, With my rookie status I wasn't able to figure out how to add more than the one screen shot... I have several ready... I'm still not sure how I messed that up. Anyway, take a look here.... http://www.classroomfocusedsoftware.com/ take care, randy ----- On Dec 24, 2010, at 7:12 AM, Andre Garzia wrote: > I want to see screenshots! :-D > > On Thu, Dec 23, 2010 at 9:38 PM, Randy Hengst wrote: > >> Hi All, >> >> I just had my first iOS iPod/iPhone app accepted today... Just the Facts... >> practice for addition, subtraction, multiplication, and division facts to >> 10. >> >> I set it for 99 cents, but have about a dozen promo codes left to give away >> if anyone has a youngster practicing the basic facts. Email me off list and >> I'll send one off to you. >> >> >> take care, >> randy hengst >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Fri Dec 24 10:40:55 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 24 Dec 2010 16:40:55 +0100 Subject: Planning/design/estimating checklists In-Reply-To: <28B6AF64-DB68-4287-9F66-04E4E8D375E5@clarkeandclarke.co.uk> References: <28B6AF64-DB68-4287-9F66-04E4E8D375E5@clarkeandclarke.co.uk> Message-ID: <06B57B2F-8CC7-4242-8162-138411B524A7@economy-x-talk.com> Hi Keith, Look like you are looking for the holy Grail but I think it is the wrong season for that :) I don't have any generally applicable advice except that experience will eventually tell you what is sensible and what isn't. Over the years I have come to the conclusion that one should never assume that any combination of features works. If A works and B works, A+B may still fail. Before you start a new big project in LiveCode, make sure that you have tested all combinations of required features. -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com Op 24 dec. 2010 om 10:26 heeft Keith Clarke het volgende geschreven: > Hi folks, > I want to get smarter at solving issues earlier in the design stage, as my coding skills (or lack thereof) makes the repeated, radical reworking of code - each time I realise I've forgotten something basic - both unproductive and a real bore. > Are there any basic 'Do/Don't/Consider' checklists to use when planning/design/estimating a new application, stack, card, script. library, etc. > Best, > Keith.. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kee at kagi.com Fri Dec 24 11:22:35 2010 From: kee at kagi.com (Kee Nethery) Date: Fri, 24 Dec 2010 08:22:35 -0800 Subject: Planning/design/estimating checklists In-Reply-To: <28B6AF64-DB68-4287-9F66-04E4E8D375E5@clarkeandclarke.co.uk> References: <28B6AF64-DB68-4287-9F66-04E4E8D375E5@clarkeandclarke.co.uk> Message-ID: <02C784A7-08A6-4863-B7DE-5AD20015D1D5@kagi.com> I include a script in every card I ever create: on sanitize -- reset everything to the state I want it to be when it gets distributed end sanitize I've heard of another doing the same thing with on stripandship Then on the very first card I have two scripts that are on sanitize sanitizeFirst repeat with x = 2 to the number of cards go to card x sanitize end repeat end sanitize on sanitizeFirst -- reset everything to the state I want it to be when it gets distributed end sanitizeFirst Several things happen with this. 1. I am assured that I reset things the way I want them 2. I can test each card's sanitize script independently to make sure it does everything I want 3. If a card does not have a sanitize script, I get an error and I make a sanitize script for it 4. I don't have to remember anything other than when I create a new field or button, I need to add it to the sanitize script so that it gets set appropriately before I distribute it. Works for me. From scott at tactilemedia.com Fri Dec 24 11:40:11 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 24 Dec 2010 08:40:11 -0800 Subject: LiveCode iOS app Just the Facts In-Reply-To: References: Message-ID: <1FCCC9A4-FC39-4256-9CC3-2425DB26B92A@tactilemedia.com> Looks good Randy. And a pretty cool logo you've got there too :-) Happy Holidays, Scott Rossi Creative Director Tactile Media, UX Design On Dec 24, 2010, at 6:12 AM, Randy Hengst wrote: > Andre, > > With my rookie status I wasn't able to figure out how to add more than the one screen shot... I have several ready... I'm still not sure how I messed that up. > > Anyway, take a look here.... http://www.classroomfocusedsoftware.com/ > > take care, > randy > ----- > On Dec 24, 2010, at 7:12 AM, Andre Garzia wrote: > >> I want to see screenshots! :-D >> >> On Thu, Dec 23, 2010 at 9:38 PM, Randy Hengst wrote: >> >>> Hi All, >>> >>> I just had my first iOS iPod/iPhone app accepted today... Just the Facts... >>> practice for addition, subtraction, multiplication, and division facts to >>> 10. >>> >>> I set it for 99 cents, but have about a dozen promo codes left to give away >>> if anyone has a youngster practicing the basic facts. Email me off list and >>> I'll send one off to you. >>> >>> >>> take care, >>> randy hengst >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> >> -- >> http://www.andregarzia.com All We Do Is Code. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Fri Dec 24 12:49:19 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 24 Dec 2010 09:49:19 -0800 Subject: Planning/design/estimating checklists Message-ID: <4D14DD1F.8060006@fourthworld.com> Keith Clarke wrote: > I want to get smarter at solving issues earlier in the design stage, > as my coding skills (or lack thereof) makes the repeated, radical > reworking of code - each time I realise I've forgotten something > basic - both unproductive and a real bore. > Are there any basic 'Do/Don't/Consider' checklists to use when > planning/design/estimating a new application, stack, card, script. > library, etc. While not LiveCode-specific, I can't say enough good things about Steven McConnell's book "Rapid Development". -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From pete at mollysrevenge.com Fri Dec 24 12:51:53 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 24 Dec 2010 09:51:53 -0800 Subject: Card Vertical Scrollbars In-Reply-To: <4D1445B5.9090008@hyperactivesw.com> References: <4D14259C.7060109@fourthworld.com> <4D1445B5.9090008@hyperactivesw.com> Message-ID: Thanks. I'll try 4.5.2 first to see if the problem remains. Should I submit a bug report if the problem remains in 4.5.2? Actually I think I will leave the horizontal scrollbars on the group as well as the vertical ones so the user can resize in either dimension in addition to whatever I do to deal with screen resolution. Pete Haworth On Dec 23, 2010, at 11:03 PM, J. Landman Gay wrote: > On 12/23/10 11:50 PM, Peter Haworth wrote: >> LC 4.5.1. Another twist on this. If I request a horizontal >> scrollbar as >> well as a vertical one, the vertical scrollbar arrows both show up >> fine >> (as do the horizontal scrollbar arrows. It's only when there is a >> vertical scrollbar and no horizontal one that I see this issue. > > It sounds like you'll have to subtract a little bit from the bottom > of the group's size. You shouldn't have to, but if there really is a > bug in your version then that would be a workaround. If you kludge > it that way, you may have to un-work-around it if you upgrade. Or > you could just upgrade... > > Anyway: > > put the rect of this cd into tRect > subtract 16 from item 4 of it > set the rect of grp "myGroup" to it > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From iowahengst at mac.com Fri Dec 24 13:45:40 2010 From: iowahengst at mac.com (Randy Hengst) Date: Fri, 24 Dec 2010 12:45:40 -0600 Subject: LiveCode iOS app Just the Facts In-Reply-To: <1FCCC9A4-FC39-4256-9CC3-2425DB26B92A@tactilemedia.com> References: <1FCCC9A4-FC39-4256-9CC3-2425DB26B92A@tactilemedia.com> Message-ID: Hi Scott, Thanks... and without a doubt, the logo is the best graphic included in the whole project! An FYI for the list... Scott did the classroom focused software logo art. take care, randy ----- On Dec 24, 2010, at 10:40 AM, Scott Rossi wrote: > Looks good Randy. And a pretty cool logo you've got there too :-) > > Happy Holidays, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > On Dec 24, 2010, at 6:12 AM, Randy Hengst wrote: > >> Andre, >> >> With my rookie status I wasn't able to figure out how to add more than the one screen shot... I have several ready... I'm still not sure how I messed that up. >> >> Anyway, take a look here.... http://www.classroomfocusedsoftware.com/ >> >> take care, >> randy >> ----- >> On Dec 24, 2010, at 7:12 AM, Andre Garzia wrote: >> >>> I want to see screenshots! :-D >>> >>> On Thu, Dec 23, 2010 at 9:38 PM, Randy Hengst wrote: >>> >>>> Hi All, >>>> >>>> I just had my first iOS iPod/iPhone app accepted today... Just the Facts... >>>> practice for addition, subtraction, multiplication, and division facts to >>>> 10. >>>> >>>> I set it for 99 cents, but have about a dozen promo codes left to give away >>>> if anyone has a youngster practicing the basic facts. Email me off list and >>>> I'll send one off to you. >>>> >>>> >>>> take care, >>>> randy hengst >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> >>> -- >>> http://www.andregarzia.com All We Do Is Code. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lvhdgc7 at gmail.com Fri Dec 24 14:30:57 2010 From: lvhdgc7 at gmail.com (tbodine) Date: Fri, 24 Dec 2010 11:30:57 -0800 (PST) Subject: LiveCode iOS app Just the Facts In-Reply-To: References: Message-ID: <1293219057199-3163466.post@n4.nabble.com> Randy Hengst wrote: > > I just had my first iOS iPod/iPhone app accepted today... Just the > Facts... practice for addition, subtraction, multiplication, and division > facts to 10. > Congrats! How was the Apple app approval process? Any advice for others heading this route? Thanks, Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-iOS-app-Just-the-Facts-tp3162741p3163466.html Sent from the Revolution - User mailing list archive at Nabble.com. From iowahengst at mac.com Fri Dec 24 15:37:36 2010 From: iowahengst at mac.com (Randy Hengst) Date: Fri, 24 Dec 2010 14:37:36 -0600 Subject: LiveCode iOS app Just the Facts In-Reply-To: <1293219057199-3163466.post@n4.nabble.com> References: <1293219057199-3163466.post@n4.nabble.com> Message-ID: <044958D4-60A6-4E3F-AD5F-0A8368ACC6AD@mac.com> Tom, The process went well... when I messed up a step... like leaving spaces in the name of the zipped file during the upload process... the explanation of the problem was clear. I do suggest getting all the contract stuff out of the way if you've not done so already... and banking info if you're selling ... before doing anything else. The only thing I really messed up was including multiple screen shots of the app.... I had several ready, but must have pressed the wrong button after uploading the first one. The iOS app built went smoothly in LiveCode. take care, randy ----- On Dec 24, 2010, at 1:30 PM, tbodine wrote: > > > Randy Hengst wrote: >> >> I just had my first iOS iPod/iPhone app accepted today... Just the >> Facts... practice for addition, subtraction, multiplication, and division >> facts to 10. >> > > Congrats! > > How was the Apple app approval process? Any advice for others heading this > route? > > Thanks, > Tom Bodine > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-iOS-app-Just-the-Facts-tp3162741p3163466.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Fri Dec 24 18:39:43 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 24 Dec 2010 15:39:43 -0800 (PST) Subject: Looking for advice and references... Message-ID: <1293233983089-3163573.post@n4.nabble.com> Hi all, Recently, I have been contacted by some friends (who are school teachers from 6th to 12th grades) to help them to create an Introductory Course about Software programming for their students. That means, a course adapted (as much as possible) to students knowledge level using exercises and examples useful and relevant to their daily experience. (Actual courses provided by diverse sources do not fill these requisites) Notice that most computer courses available for their students are about learning Word, PowerPoint, Excel and Windows OS. Please, if you know about some resources (text, images, video, audio) available on the internet post this information here, and hopefully, it would be an useful reference for future developments. For example, my recommendation for a first lesson would be to create a Timer, that starts (or stop, if they are running) sounds, messages on the screen, launch or quit other programs, etc, etc. Your advice and ideas are welcome. Thanks in advance. Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Looking-for-advice-and-references-tp3163573p3163573.html Sent from the Revolution - User mailing list archive at Nabble.com. From massung at gmail.com Sat Dec 25 01:59:38 2010 From: massung at gmail.com (Jeffrey Massung) Date: Fri, 24 Dec 2010 23:59:38 -0700 Subject: Merry Christmas (or Happy Holidays) with LiveCode fun! Message-ID: <68023591-51C1-4D92-A223-22F9BD052FDD@gmail.com> I decided to put together a little fun stack for everyone here to play with. It's something I do in my spare time (yeah, what's that?!) for fun: genetic algorithms. I've done all sorts for random experiments, but today on Reddit I saw that someone had made a decent tutorial of them, and I thought to myself, why not toss something together for the Rev community using LiveCode real fast and see how it turns out? Well, below is a link to the stack that's made. It's dead simple (nothing flashy or fancy), but it gets the point across. * All the "interesting code" and comments is in the card script. Just open it up, have a look, and enjoy. Try making some changes and see what happens! * The top field is the "target" - that's the problem the computer will be trying to solve (reproduce that phrase). It's pre-seeded with some holiday cheer, but feel free to make it whatever you want. * Click "clear" to start over. * Click "step" if you'd like to see the algorithm work generation by generation. Keep in mind, evolution takes time, so aside from the first few clicks, or some steps later on in the process, this will generally be uninteresting to watch. * Click "run" to continue from where-ever you are and continually step the generations. You can pause at any time (click the "run" button again) and continue stepping, and continue running again. * I make no guarantees about odd targets (like empty ones) or what would happen if you change the target in the middle of running (although I have tried it and it is kinda funny to watch!). * Please don't credit me and do feel free to use any of this code or anything you find it in within your own work. I learned everything I have with the help of many others, and none of this code is hardly special. * ENJOY! AND MERRY CHRISTMAS/HAPPY HOLIDAYS! http://www.sqwerly.com/files/genetic_algorithm.livecode Jeff M. From jacques.hausser at unil.ch Sat Dec 25 04:47:58 2010 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Sat, 25 Dec 2010 10:47:58 +0100 Subject: Merry Christmas (or Happy Holidays) with LiveCode fun! In-Reply-To: <68023591-51C1-4D92-A223-22F9BD052FDD@gmail.com> References: <68023591-51C1-4D92-A223-22F9BD052FDD@gmail.com> Message-ID: <3F835B7B-F8CA-45FA-BA69-A1A8D57BB1BB@unil.ch> Many thanks, Jeffrey. I was really pleased to look at your code. A good demonstration of the power of natural selection ! I did something similar some years ago, a little standalone for my students I called "Weasel", but your code is better organised, more elegant, and it's some sex in it (my "animals" were haploids and had asexual reproduction like bacteria). Why "Weasel" ? It stems from Richard Dawkins' "the blind watchmaker" (1986). Quotation: "I don't know who it was first pointed out that, given enough time, a monkey bashing away at random on a typewriter could produce all the works of Shakespeare. The operative phrase is, of course, given enough time. Let us limit the task facing our monkey somewhat. Suppose that he has to produce, not the complete works of Shakespeare but just the short sentence 'Methinks it is like a weasel', and we shall make it relatively easy by giving him a typewriter with a restricted keyboard, one with just the 26 (capital) letters, and a space bar. How long will he take to write this one little sentence?" I had the pleasure to hear Dawkins demonstrating his version of the algorithm at the CERN, Geneva. Merry Christmas and happy new year Jacques ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From mkoob at rogers.com Sat Dec 25 10:10:22 2010 From: mkoob at rogers.com (Martin Koob) Date: Sat, 25 Dec 2010 07:10:22 -0800 (PST) Subject: Livecode iOS app live in the app store In-Reply-To: <4D136B42.5020300@splash21.com> References: <4D13519F.4020204@splash21.com> <4D135FCB.3080505@splash21.com> <4D136B42.5020300@splash21.com> Message-ID: <1293289822515-3163794.post@n4.nabble.com> I just downloaded it tried it game is great, I am not so great, I only got a score of 880. One way you could show the effect of rising and falling is by adding a shadow that moves away from the snowball(and gets bigger) the higher it is. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Livecode-iOS-app-live-in-the-app-store-tp3162068p3163794.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Sat Dec 25 10:33:45 2010 From: coiin at verizon.net (Colin Holgate) Date: Sat, 25 Dec 2010 10:33:45 -0500 Subject: Livecode iOS app live in the app store In-Reply-To: <1293289822515-3163794.post@n4.nabble.com> References: <4D13519F.4020204@splash21.com> <4D135FCB.3080505@splash21.com> <4D136B42.5020300@splash21.com> <1293289822515-3163794.post@n4.nabble.com> Message-ID: <73CD54CE-3570-48A6-929D-159180D1F289@verizon.net> On Dec 25, 2010, at 10:10 AM, Martin Koob wrote: > One way you could show the effect of rising and falling is by adding a > shadow that moves away from the snowball(and gets bigger) the higher it is. > The shadow shouldn't change size, but the gap from the snowball could increase. From rev at nonsanity.com Sat Dec 25 11:27:17 2010 From: rev at nonsanity.com (Nonsanity) Date: Sat, 25 Dec 2010 11:27:17 -0500 Subject: Livecode iOS app live in the app store In-Reply-To: <4D13519F.4020204@splash21.com> References: <4D13519F.4020204@splash21.com> Message-ID: I want to suggest a change. When you tap and hold the snowball for the pullback, you seem to be using the diff between the start of the tap and the current dragged position to adjust the snowball launcher. But this means releasing from the same place on the screen can give different results. I'd suggest using the offset from a set position (center of the snowball, perhaps, or a little farther forward) instead of the tap position. That way, variations on where you first put your finger won't throw off your aim. I was finding that if I touched too low on the snowball, I couldn't even hit the back row. There wasn't enough pullback room on the screen. One might be tempted to say it adds some challenge to the game, but the interface should always be on the user's side. :) ~ Chris Innanen ~ Nonsanity ~ Ex-Game Interface Programmer (Elder Scrolls 3 & 4, Fallout 3) On Thu, Dec 23, 2010 at 8:41 AM, John Craig wrote: > I created a small LC game for iPhone and it's now in the app store. If you > search for 'splash21' or 'snowballer' you should be able to download. All > feedback welcome - especially regarding how the app performs on different > devices. The time scale to get into the app store looks promising as well - > the app was created in iTunes connect on the 20th, the binary uploaded on > the 21st and it's live today - much quicker than I had expected :) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Sat Dec 25 12:17:27 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 25 Dec 2010 09:17:27 -0800 Subject: Livecode iOS app live in the app store In-Reply-To: <73CD54CE-3570-48A6-929D-159180D1F289@verizon.net> Message-ID: Recently, Colin Holgate wrote: >> One way you could show the effect of rising and falling is by adding a >> shadow that moves away from the snowball(and gets bigger) the higher it is. >> > > The shadow shouldn't change size, but the gap from the snowball could > increase. Actually, the shadow would get smaller and lighter since the snowball is moving away from the ground :-) Regards, Scott Rossi Creative Director Tactile Media, UX Design From coiin at verizon.net Sat Dec 25 12:26:49 2010 From: coiin at verizon.net (Colin Holgate) Date: Sat, 25 Dec 2010 12:26:49 -0500 Subject: Livecode iOS app live in the app store In-Reply-To: References: Message-ID: On Dec 25, 2010, at 12:17 PM, Scott Rossi wrote: >> The shadow shouldn't change size, but the gap from the snowball could >> increase. > > Actually, the shadow would get smaller and lighter since the snowball is > moving away from the ground :-) Of course I know that, but the amount it would vary wouldn't be enough to be worth matching. From gcanyon+rev at gmail.com Sat Dec 25 13:35:51 2010 From: gcanyon+rev at gmail.com (Geoff Canyon Rev) Date: Sat, 25 Dec 2010 10:35:51 -0800 Subject: Livecode iOS app live in the app store In-Reply-To: References: <73CD54CE-3570-48A6-929D-159180D1F289@verizon.net> Message-ID: Not arguing what will look good -- in that I would always defer to Scott -- in real life shadows from the sun do not change size in any appreciable way no matter how high something is, because compared to 93 million miles, 1 foot above the ground is much the same as 1000 feet above the ground. Congratulations, John, the game looks good! gc From jacque at hyperactivesw.com Sat Dec 25 14:45:29 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 25 Dec 2010 13:45:29 -0600 Subject: Card Vertical Scrollbars In-Reply-To: References: <4D14259C.7060109@fourthworld.com> <4D1445B5.9090008@hyperactivesw.com> Message-ID: <4D1649D9.5090206@hyperactivesw.com> On 12/24/10 11:51 AM, Peter Haworth wrote: > Thanks. I'll try 4.5.2 first to see if the problem remains. Should I > submit a bug report if the problem remains in 4.5.2? Yes, I would. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From keith.clarke at clarkeandclarke.co.uk Sat Dec 25 14:57:10 2010 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sat, 25 Dec 2010 19:57:10 +0000 Subject: Planning/design/estimating checklists In-Reply-To: <02C784A7-08A6-4863-B7DE-5AD20015D1D5@kagi.com> References: <28B6AF64-DB68-4287-9F66-04E4E8D375E5@clarkeandclarke.co.uk> <02C784A7-08A6-4863-B7DE-5AD20015D1D5@kagi.com> Message-ID: Thanks, Kee, Mark and Richard for the responses. Kee's feedback is exactly the kind of 'top tip' that I was thinking about. It is specific to LiveCode and with very clear 'Why", 'What', 'Where', 'When' and 'How'. I'm sure that a couple of top tips from the experts here would go along way towards creating some checklists for folks moving from high-level design or pseudo-code to actual LiveCode stacks, cards, etc. Best, Keith.. On 24 Dec 2010, at 16:22, Kee Nethery wrote: > I include a script in every card I ever create: > > on sanitize > -- reset everything to the state I want it to be when it gets distributed > end sanitize > > I've heard of another doing the same thing with > > on stripandship > > Then on the very first card I have two scripts that are > > on sanitize > sanitizeFirst > repeat with x = 2 to the number of cards > go to card x > sanitize > end repeat > end sanitize > > on sanitizeFirst > -- reset everything to the state I want it to be when it gets distributed > end sanitizeFirst > > Several things happen with this. > 1. I am assured that I reset things the way I want them > 2. I can test each card's sanitize script independently to make sure it does everything I want > 3. If a card does not have a sanitize script, I get an error and I make a sanitize script for it > 4. I don't have to remember anything other than when I create a new field or button, I need to add it to the sanitize script so that it gets set appropriately before I distribute it. > > Works for me. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jimaultwins at yahoo.com Sat Dec 25 15:23:06 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Sat, 25 Dec 2010 12:23:06 -0800 Subject: Livecode iOS app live in the app store In-Reply-To: References: <73CD54CE-3570-48A6-929D-159180D1F289@verizon.net> Message-ID: If the goal is photo-realism on Earth in daylight with few clouds you would need to add the scattered light contribution. The scattering factor is dependent on the wave length of light, thus blue light is scattered most and will soften a distinct shadow, as well as make it appear smaller. You could use a 3D rendering program to capture jpg's of various shadows if you wanted to. Most any will accurately render the effect of sun, sky, ambient light, and radiosity. Some even have algorithms for longitude, latitude, time of day, time of year to capture the correct sun conditions anywhere on the globe, such as Cheetah 3D. On the moon or other planet without atmosphere or clouds, there would be no reflection or scattering, thus long shadows remain distinct. On Dec 25, 2010, at 10:35 AM, Geoff Canyon Rev wrote: > Not arguing what will look good -- in that I would always defer to > Scott -- > in real life shadows from the sun do not change size in any > appreciable way > no matter how high something is, because compared to 93 million > miles, 1 > foot above the ground is much the same as 1000 feet above the ground. > > Congratulations, John, the game looks good! > Jim Ault Las Vegas From coiin at verizon.net Sat Dec 25 15:31:36 2010 From: coiin at verizon.net (Colin Holgate) Date: Sat, 25 Dec 2010 15:31:36 -0500 Subject: Livecode iOS app live in the app store In-Reply-To: References: <73CD54CE-3570-48A6-929D-159180D1F289@verizon.net> Message-ID: <5959AF5C-2B91-4A2D-909D-8FEE3E12B84C@verizon.net> The kinds of shadows could be perfected, but I think that initially we were only talking about there being shadows versus no shadows. I just looked at the game, it it does size the snowball well enough, but I notice that the frame rate is low. If the frame rate was higher then the sizing of the ball would be more noticeable. From RevList at CreaTECHSol.com Sat Dec 25 19:48:24 2010 From: RevList at CreaTECHSol.com (RevList) Date: Sat, 25 Dec 2010 16:48:24 -0800 Subject: Option MenuPick in iOS Message-ID: I am working on my first app for iOS and have an option menu button that works fine in the IDE but not in the Simulator. When the card loads, it populates the menu options of the option menu button from values in a field on the card put empty into button SiteList put "Select Site" into line 1 of button SiteList Put "New Site" into line 2 of button SiteList repeat with i = 3 to the number of Lines in fld SiteData + 2 put Item 1 of line i-2 of field SiteData into line i of button SiteList end repeat set the label of btn SiteList to "Select Site" That works fine. When I select one of the menu items it should then populate other fields on the card and this works fine in the IDE, but not in the simulator. It appears as the menuPick is not recognized at all. Any ideas? on menuPick pItemName Put the MenuHistory of button "SiteList" into theLine if theLine > 2 then Put pItemName into field "SiteName" Put item 2 of line theLine - 2 of field "SiteData" into field "Lat" Put item 3 of line theLine - 2 of field "SiteData" into field "Long" End If end menuPick ****************************************** Stewart Lynch CreaTECH Solutions slynch at CreaTECHSol.com 604.484.8499 Skype:StewartLynch There are only 10 kinds of people. Those who understand binary and those who don't. ****************************************** From stgoldberg at aol.com Sun Dec 26 08:05:14 2010 From: stgoldberg at aol.com (stgoldberg at aol.com) Date: Sun, 26 Dec 2010 08:05:14 -0500 Subject: QTVR and 64-bit Windows issue In-Reply-To: References: Message-ID: <8CD7314AB82588F-10C0-28DF6@webmail-m012.sysops.aol.com> I understand that QTVR will not work on 64-bit Windows computers. Does anyone know if there is a workaround in which panoramas will show in Livecode, or if Apple plans to correct the issue? Is QTVR obsolete? Thanks. Stephen Goldberg From niggemann at uni-wh.de Sun Dec 26 09:18:41 2010 From: niggemann at uni-wh.de (BNig) Date: Sun, 26 Dec 2010 06:18:41 -0800 (PST) Subject: Option MenuPick in iOS In-Reply-To: References: Message-ID: <1293373121332-3164264.post@n4.nabble.com> Hi Stewart, menupick works in 4.5.3 RC-3 as does the 'Result' from a Pickwheel. So I expect it to work in Livecode 4.5.3 Should not be too long to arrive. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Option-MenuPick-in-iOS-tp3164048p3164264.html Sent from the Revolution - User mailing list archive at Nabble.com. From mkoob at rogers.com Sun Dec 26 09:50:25 2010 From: mkoob at rogers.com (Martin Koob) Date: Sun, 26 Dec 2010 06:50:25 -0800 (PST) Subject: Livecode iOS app live in the app store In-Reply-To: References: <4D13519F.4020204@splash21.com> <4D135FCB.3080505@splash21.com> <4D136B42.5020300@splash21.com> <1293289822515-3163794.post@n4.nabble.com> <73CD54CE-3570-48A6-929D-159180D1F289@verizon.net> Message-ID: <1293375025595-3164273.post@n4.nabble.com> But, if your goal is realism in a snowballer-o-rama domed areana with climate controlled conditions to permit snowballering year round... and if the arena had a single point light located not far above the play area... and the roof the light was attached to was low enough.... then the shadow would get bigger?.... : ) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Livecode-iOS-app-live-in-the-app-store-tp3162068p3164273.html Sent from the Revolution - User mailing list archive at Nabble.com. From mkoob at rogers.com Sun Dec 26 10:32:52 2010 From: mkoob at rogers.com (Martin Koob) Date: Sun, 26 Dec 2010 07:32:52 -0800 (PST) Subject: How to make a stack transparent but the fields and images on it a different blend level In-Reply-To: <1E91AEE2-2DFC-488E-9674-0BF25CEE69D6@wehostmacs.com> References: <1E91AEE2-2DFC-488E-9674-0BF25CEE69D6@wehostmacs.com> Message-ID: <1293377572881-3164292.post@n4.nabble.com> I had tried to do this to make a floating window with a translucent boarder and text boxes that were opaque by having no blend on the text boxes and buttons and a blend on the stack It did not work. All of the objects were translucent as well. Is seems in Live Code that the Stack blend adds to all of the blends on the objects in the stack. The way you could do it would be to use a window shape which can have different levels of transparency. You would need to make a png image that has areas that you want opaque with no opacity and then the other areas with opacity or holes in the stack There is an article in revup newsletter by Scott Rossi explaining how to do this. http://www.runrev.com/newsletter/may/issue70/newsletter3.php Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Re-How-to-make-a-stack-transparent-but-the-fields-and-images-on-it-a-different-blend-level-tp3162982p3164292.html Sent from the Revolution - User mailing list archive at Nabble.com. From bill at bluewatermaritime.com Sun Dec 26 12:11:37 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Sun, 26 Dec 2010 13:11:37 -0400 Subject: How to make a stack transparent but the fields and images on it a different blend level In-Reply-To: <1293377572881-3164292.post@n4.nabble.com> References: <1E91AEE2-2DFC-488E-9674-0BF25CEE69D6@wehostmacs.com> <1293377572881-3164292.post@n4.nabble.com> Message-ID: Hi Martin Thanks. Scott pointed me to his example stack. He didn't also mention the article he wrote. I thought I read all those. On Sun, Dec 26, 2010 at 11:32 AM, Martin Koob wrote: > > I had tried to do this to make a floating window with a translucent boarder > and text boxes that were opaque by having no blend on the text boxes and > buttons and a blend on the stack It did not work. All of the objects were > translucent as well. Is seems in Live Code that the Stack blend adds to > all of the blends on the objects in the stack. > > The way you could do it would be to use a window shape which can have > different levels of transparency. You would need to make a png image that > has areas that you want opaque with no opacity and then the other areas > with > opacity or holes in the stack > > There is an article in revup newsletter by Scott Rossi explaining how to do > this. > > http://www.runrev.com/newsletter/may/issue70/newsletter3.php > > Martin > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Re-How-to-make-a-stack-transparent-but-the-fields-and-images-on-it-a-different-blend-level-tp3162982p3164292.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.bluewatermaritime.com From bill at bluewatermaritime.com Sun Dec 26 12:17:04 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Sun, 26 Dec 2010 13:17:04 -0400 Subject: Changing icons in project "on the fly" Message-ID: If you have all your custom icons on a card in your project and you want to change all occurrences of a particular icon with a new one it is as easy as changing the icon "ID" for the new icon to the same icon "ID" as the old icon (and changing the old icon ID to something else or deleting it). I notice that you have to close and re-start livecode to see the changes also. But what if you use a "system" icon for a lot of stuff. Those have ID's like 200086, so if your project has like twenty icons with the ID 200086 and you want to change it to a custom icon that is ID 1600 or such like can you change the system icon to that and delete it or something or do you have to go through and edit every occurrence or you icon on every different stack and card? I like having that special card with all my icons and graphics. Someone on that list suggested it and it is a great idea. From scott at tactilemedia.com Sun Dec 26 12:47:20 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 26 Dec 2010 09:47:20 -0800 Subject: QTVR and 64-bit Windows issue In-Reply-To: <8CD7314AB82588F-10C0-28DF6@webmail-m012.sysops.aol.com> References: <8CD7314AB82588F-10C0-28DF6@webmail-m012.sysops.aol.com> Message-ID: Apple still offers a download of QT 7 to accommodate things that don't work in QT X, but I don't know if this version will work on 64 bit systems. Worth a test? Scott Rossi Creative Director Tactile Media, UX Design On Dec 26, 2010, at 5:05 AM, "stgoldberg at aol.com" wrote: > I understand that QTVR will not work on 64-bit Windows computers. Does anyone know if there is a workaround in which panoramas will show in Livecode, or if Apple plans to correct the issue? Is QTVR obsolete? Thanks. > Stephen Goldberg > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bill at bluewatermaritime.com Sun Dec 26 13:34:00 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Sun, 26 Dec 2010 14:34:00 -0400 Subject: Help me with my inability to see a simple solution In-Reply-To: References: Message-ID: I just found out that the number set: (001,002,003,005,006,007,008,009,5,6) wrecks most of the solutions. It was because SQL was sorting a way that included the zeros in the sort so the sort would come out looking like the above. I didn't notice what was causing the problem until I scrolled way down the list and saw the numbers without the zeros in front of them. On Wed, Dec 22, 2010 at 11:17 AM, william humphrey < bill at bluewatermaritime.com> wrote: > Ken that is too easy and simple. Even I can understand it at a glance. > Can't possibly work. Thanks everyone for lots of excellent answers! -- http://www.bluewatermaritime.com From scott at tactilemedia.com Sun Dec 26 13:44:20 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 26 Dec 2010 10:44:20 -0800 Subject: Changing icons in project "on the fly" In-Reply-To: Message-ID: Recently, william humphrey wrote: > If you have all your custom icons on a card in your project and you want to > change all occurrences of a particular icon with a new one it is as easy as > changing the icon "ID" for the new icon to the same icon "ID" as the old > icon (and changing the old icon ID to something else or deleting it). I > notice that you have to close and re-start livecode to see the changes also. Unless there's a need to actually change the ID number, I would instead set the text property of the old icon to the text of the new icon and all instances will update automatically. This way you update the visual content of the icon, but all references to the icon's ID remain unchanged. > But what if you use a "system" icon for a lot of stuff. Those have ID's > like 200086, so if your project has like twenty icons with the ID 200086 and > you want to change it to a custom icon that is ID 1600 or such like can you > change the system icon to that and delete it or something or do you have to > go through and edit every occurrence or you icon on every different stack > and card? I believe there's a stack that contains all the system icons, which in theory you could edit, but unless you want those edits to carry over to every project you create with LiveCode, I think you'll need to update all the ID references in your stack. Regards, Scott Rossi Creative Director Tactile Media, UX Design From bill at bluewatermaritime.com Sun Dec 26 13:54:44 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Sun, 26 Dec 2010 14:54:44 -0400 Subject: Help me with my inability to see a simple solution In-Reply-To: References: Message-ID: I fixed it by checking to make sure every number was formatted as three characters first. It's funny what you don't see... On Sun, Dec 26, 2010 at 2:34 PM, william humphrey < bill at bluewatermaritime.com> wrote: > I just found out that the number set: > > (001,002,003,005,006,007,008,009,5,6) > > wrecks most of the solutions. It was because SQL was sorting a way that > included the zeros in the sort so the sort would come out looking like the > above. I didn't notice what was causing the problem until I scrolled way > down the list and saw the numbers without the zeros in front of them. > > On Wed, Dec 22, 2010 at 11:17 AM, william humphrey < > bill at bluewatermaritime.com> wrote: > >> Ken that is too easy and simple. Even I can understand it at a glance. >> Can't possibly work. Thanks everyone for lots of excellent answers! > > > > > -- > http://www.bluewatermaritime.com > -- http://www.bluewatermaritime.com From pete at mollysrevenge.com Sun Dec 26 14:38:05 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Sun, 26 Dec 2010 11:38:05 -0800 Subject: One More Datagrid Problem In-Reply-To: References: <422DFFDC-DCCF-4BC1-86A9-B53445948986@mollysrevenge.com> <58227357-EF91-4024-A20C-AD0E13E6AF64@mollysrevenge.com> Message-ID: <24529847-DC7B-4A07-BEB1-CDAC0D22DD63@mollysrevenge.com> I finally fixed tis problem by unchecking the Persistant Data property. I'm happy that fixed the problem bu I have no idea why it did. That property is checked in all my other datagrids and they all work fine. Pete Haworth On Dec 23, 2010, at 12:41 PM, Trevor DeVore wrote: > On Thu, Dec 23, 2010 at 3:08 PM, Peter Haworth > wrote: > >> Hi Trevor, >> In this case, no error was thrown by the try/catch >> > > Hmm, can you narrow this down to a particular set of data that > causes the > problem? > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Releasable Revolution Resources for Developers: > http://revolution.bluemangolearning.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rev at nonsanity.com Sun Dec 26 15:05:44 2010 From: rev at nonsanity.com (Nonsanity) Date: Sun, 26 Dec 2010 15:05:44 -0500 Subject: Help me with my inability to see a simple solution In-Reply-To: References: Message-ID: Doing a numeric sort before processing would solve it on the LC side. ~ Chris Innanen ~ Nonsanity On Sun, Dec 26, 2010 at 1:54 PM, william humphrey < bill at bluewatermaritime.com> wrote: > I fixed it by checking to make sure every number was formatted as three > characters first. It's funny what you don't see... > > On Sun, Dec 26, 2010 at 2:34 PM, william humphrey < > bill at bluewatermaritime.com> wrote: > > > I just found out that the number set: > > > > (001,002,003,005,006,007,008,009,5,6) > > > > wrecks most of the solutions. It was because SQL was sorting a way that > > included the zeros in the sort so the sort would come out looking like > the > > above. I didn't notice what was causing the problem until I scrolled way > > down the list and saw the numbers without the zeros in front of them. > > > > On Wed, Dec 22, 2010 at 11:17 AM, william humphrey < > > bill at bluewatermaritime.com> wrote: > > > >> Ken that is too easy and simple. Even I can understand it at a glance. > >> Can't possibly work. Thanks everyone for lots of excellent answers! > > > > > > > > > > -- > > http://www.bluewatermaritime.com > > > > > > -- > http://www.bluewatermaritime.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bill at bluewatermaritime.com Sun Dec 26 16:10:50 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Sun, 26 Dec 2010 17:10:50 -0400 Subject: Changing icons in project "on the fly" In-Reply-To: References: Message-ID: How do you set the text property of an image? On Sun, Dec 26, 2010 at 2:44 PM, Scott Rossi wrote: > Unless there's a need to actually change the ID number, I would instead set > the text property of the old icon to the text of the new icon and all > instances will update automatically. This way you update the visual > content > of the icon, but all references to the icon's ID remain unchanged > -- http://www.bluewatermaritime.com From scott at tactilemedia.com Sun Dec 26 16:21:37 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 26 Dec 2010 13:21:37 -0800 Subject: Changing icons in project "on the fly" In-Reply-To: References: Message-ID: <45A6CB6C-36E9-4FD0-91EC-00FC8F7E2ADA@tactilemedia.com> set the text of img 1 to the text of img 2 set the text of img 1 to the text of the last img The property name doesn't make a lot of sense, but you can use it to transfer the content of one image to another. Regards, Scott Rossi Creative Director Tactile Media, UX Design On Dec 26, 2010, at 1:10 PM, william humphrey wrote: > How do you set the text property of an image? > > On Sun, Dec 26, 2010 at 2:44 PM, Scott Rossi wrote: > >> Unless there's a need to actually change the ID number, I would instead set >> the text property of the old icon to the text of the new icon and all >> instances will update automatically. This way you update the visual >> content >> of the icon, but all references to the icon's ID remain unchanged >> > > > > -- > http://www.bluewatermaritime.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bill at bluewatermaritime.com Sun Dec 26 16:49:01 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Sun, 26 Dec 2010 17:49:01 -0400 Subject: Changing icons in project "on the fly" In-Reply-To: <45A6CB6C-36E9-4FD0-91EC-00FC8F7E2ADA@tactilemedia.com> References: <45A6CB6C-36E9-4FD0-91EC-00FC8F7E2ADA@tactilemedia.com> Message-ID: Thanks. Isn't that nice how life, as programming, has many things which we do that don't make any sense? On Sun, Dec 26, 2010 at 5:21 PM, Scott Rossi wrote: > set the text of img 1 to the text of img 2 > set the text of img 1 to the text of the last img > > The property name doesn't make a lot of sense, but you can use it to > transfer the content of one image to another. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > On Dec 26, 2010, at 1:10 PM, william humphrey > wrote: > > > How do you set the text property of an image? > > > > On Sun, Dec 26, 2010 at 2:44 PM, Scott Rossi > wrote: > > > >> Unless there's a need to actually change the ID number, I would instead > set > >> the text property of the old icon to the text of the new icon and all > >> instances will update automatically. This way you update the visual > >> content > >> of the icon, but all references to the icon's ID remain unchanged > >> > > > > > > > > -- > > http://www.bluewatermaritime.com > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.bluewatermaritime.com From stgoldberg at aol.com Sun Dec 26 17:09:20 2010 From: stgoldberg at aol.com (stgoldberg at aol.com) Date: Sun, 26 Dec 2010 17:09:20 -0500 Subject: use-livecode Digest, Vol 87, Issue 61 In-Reply-To: References: Message-ID: <8CD7360ADBD2E92-10F4-37132@webmail-d038.sysops.aol.com> Scott, You are correct that QTVRs will work on Apple computers provided that QT 7 is still installed. However, QTVRs do not appear to work on 64 bit Windows computers, regardless of the Quicktime version that is installed. Others (non-LiveCode users) have suggested substituting other kinds of players instead of Quicktime (Flash Panorama Player, Krpano, Pano2VR, PanSalado). However, I don't know if any of these would be useful for presenting via a LiveCode stack or standalone. If not, then unless Apple fixes the problem, or LiveCode finds a way around the problem, it seems that it is no longer possible to present QTVRs via (any version of) LiveCode on 64-bit Windows computers. If anyone finds a way around this, I sure would like to know, since I've spent a lot of time creating QTVRs. Thanks, and happy holidays to all. Steve Goldberg Date: Sun, 26 Dec 2010 09:47:20 -0800 From: Scott Rossi To: How to use LiveCode Subject: Re: QTVR and 64-bit Windows issue Message-ID: Content-Type: text/plain; charset=us-ascii Apple still offers a download of QT 7 to accommodate things that don't work in QT X, but I don't know if this version will work on 64 bit systems. Worth a test? Scott Rossi Creative Director Tactile Media, UX Design On Dec 26, 2010, at 5:05 AM, "stgoldberg at aol.com" wrote: > I understand that QTVR will not work on 64-bit Windows computers. Does anyone know if there is a workaround in which panoramas will show in Livecode, or if Apple plans to correct the issue? Is QTVR obsolete? Thanks. > Stephen Goldberg From niggemann at uni-wh.de Sun Dec 26 17:36:35 2010 From: niggemann at uni-wh.de (BNig) Date: Sun, 26 Dec 2010 14:36:35 -0800 (PST) Subject: use-livecode Digest, Vol 87, Issue 61 In-Reply-To: <8CD7360ADBD2E92-10F4-37132@webmail-d038.sysops.aol.com> References: <8CD7360ADBD2E92-10F4-37132@webmail-d038.sysops.aol.com> Message-ID: <1293402995230-3164539.post@n4.nabble.com> Hi Stephen, have a look at this revlet on a 64 bit Windows computers. http://berndniggemann.on-rev.com/qtvr/ I wonder if this revlet runs. If it does then you might try this. It is a livecode scripted QTVR presentation. It was needed since revlets dont support QTVR but Quicktime movies. If they are QTVR you can present them like this. regard Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Re-use-livecode-Digest-Vol-87-Issue-61-tp3164527p3164539.html Sent from the Revolution - User mailing list archive at Nabble.com. From john at splash21.com Sun Dec 26 18:29:11 2010 From: john at splash21.com (John Craig) Date: Sun, 26 Dec 2010 23:29:11 +0000 Subject: Livecode iOS app live in the app store In-Reply-To: References: <4D13519F.4020204@splash21.com> Message-ID: <4D17CFC7.70903@splash21.com> Thanks to everyone for all the feedback - especially liked the technical shadow discussion ;P The game seems playable enough to develop a bit further, so I added the shadow and smoothed out the animation a bit. Nonsanity was also right about the offset - I was thinking 'mouse' when I should have been thinking 'finger'. A few small changes here and there make quite a difference - I'll upload the modified version ASAP. The biggest surprise for me is how fast it runs on the iPad - even compared to the iPhone4 - it's comparable to running it in the simulator! JC From john at splash21.com Sun Dec 26 18:39:17 2010 From: john at splash21.com (John Craig) Date: Sun, 26 Dec 2010 23:39:17 +0000 Subject: LiveCode iOS app Just the Facts In-Reply-To: References: Message-ID: <4D17D225.2050301@splash21.com> Looks great, Randy - such a good idea for kids to be able to practice anywhere. On 23/12/2010 23:38, Randy Hengst wrote: > Hi All, > > I just had my first iOS iPod/iPhone app accepted today... Just the Facts... practice for addition, subtraction, multiplication, and division facts to 10. > > I set it for 99 cents, but have about a dozen promo codes left to give away if anyone has a youngster practicing the basic facts. Email me off list and I'll send one off to you. > > > take care, > randy hengst > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bill at bluewatermaritime.com Sun Dec 26 20:25:01 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Sun, 26 Dec 2010 21:25:01 -0400 Subject: revMail and Bcc In-Reply-To: References: <36DEA5A0-F135-4A5C-8D93-93ED9A0F3EBD@inria.fr> Message-ID: The *revGoURL* command is deprecated and should not be used in new code. But RevMail does not allow for BCC revMail address[,ccAddress[,mailSubject[,messageBody]]] Is there another way to send an email with a BCC field? Thanks, Bill On Fri, May 30, 2008 at 9:41 AM, Klaus Major wrote: > Hi Sarah, > > > On Fri, May 30, 2008 at 7:45 PM, Andre.Bisseret >> wrote: >> >>> Hi, >>> I would like to create e-mails to be sent to a liste of e-mail addresses >>> in >>> blind carbon copy (Bcc). >>> It is not possible with the revMail command, where there is places only >>> for >>> address and ccAddress. >>> Is there another way to put addresses (by program) in the Bcc field? or >>> should I ask users to manually cut and paste the addresses from "To" to >>> Bcc >>> before sending the e-mail? :-(( >>> >> At least on a Mac, this works: >> >> revGoURL "mailto:?Subject=BCC >> test&BCC=sarah.reichelt at gmail.com,sarah at another.com&Body=Here is a BCC >> email." >> > > Great thanks! > > Do you or anyone else know where to add a file attachment into this string? > Know what I mean? > > I lalready found out that is a string that "revMail" produces and then > "revMail" fires a > "launch url" with tha tnamely string, so one could add items like > attachment that "revMail" > does not supply. > > Thanks a lot in advance! > > Cheers, >> Sarah >> > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.bluewatermaritime.com From niconiko at gmail.com Mon Dec 27 01:02:10 2010 From: niconiko at gmail.com (Nicolas Cueto) Date: Mon, 27 Dec 2010 15:02:10 +0900 Subject: "Faces" App error Message-ID: In case someone at LC is reading... When starting-up on iPad and iPhone 3G the "Faces" app available at LC's "BuildAnApp" blog entry, this error comes up: "DB Error: Error executing sql. Duplicate entry '2147483647' for key 1". Happens every time, and cannot get the app to do anything after that. iOs, SDK and LC versions are the latest. -- Nicolas Cueto From RevList at CreaTECHSol.com Mon Dec 27 02:45:05 2010 From: RevList at CreaTECHSol.com (RevList) Date: Sun, 26 Dec 2010 23:45:05 -0800 Subject: iOS Interface Design Message-ID: I have been coding my app for the iPhone and things are going reasonably well on the coding side now that I am running 4.5.3 (rc3) Coding right now is not the issue, though I am sure I will run into all sorts of issues soon as I start to add more functionality. What I am really struggling with is how to make my controls look like native controls. Right now, the app looks like it was designed for Windows 3.1 or Mac OS 6. I know that I can start adding graphics as a background, but what about some of the native LiveCode controls like scrolling text fields and Option Buttons that bring up the picker? How are people getting those controls to look like native iOS controls. Are there sample files for this or a white paper on best practice on how to simulate this? If my app was just a bunch of buttons and static text like I see on the turorials, then not a problem, but what about the other controls? It would be great if Rev/LiveCode could produce a few sample apps that would focus on the UI and how to make the apps look professional. BTW, what ever happened to the "Build an App" series that was started on the company blog. It has stalled on Day 3/4. ****************************************** Stewart Lynch CreaTECH Solutions slynch at CreaTECHSol.com 604.484.8499 Skype:StewartLynch There are only 10 kinds of people. Those who understand binary and those who don't. ****************************************** From gcanyon+rev at gmail.com Mon Dec 27 03:06:17 2010 From: gcanyon+rev at gmail.com (Geoff Canyon Rev) Date: Mon, 27 Dec 2010 00:06:17 -0800 Subject: What with all it's features and platforms I sometimes forget In-Reply-To: <4D145CAC.5060007@gmail.com> References: <2f4b0.448a265.3a4518b0@aol.com> <4D145CAC.5060007@gmail.com> Message-ID: On Fri, Dec 24, 2010 at 12:41 AM, Richmond wrote: > > Well; good, effective programming is rarely either EASY or FUN; and more > often > than not involves a lot of prolonged effort, thought, and hard work. > Programming is like playing tennis. I'm sure there are professional tennis players who don't enjoy playing the game. They've either grown tired of it, or they simply discovered they had the knack, or fell into it somehow and now they're stuck. But in general, good players like the game, or even love it. It's just so much easier to be good at something you enjoy doing, and it is absolutely possible to find programming fun, even when it's hard. To tell would-be end-users that they can create wonderful things without a > fairly serious > investment of time and effort is simply disingenuous. I disagree. Granted I have more than a few years invested, but most of the things I've created over the years have been quick and simple. LC's advantage over other languages/environments starts near infinity, and drops to zero or even negative as the size of the project grows. At the one extreme is the fact that I can create a workable program and compile it for several platforms in five minutes or less. In the middle, I have many times prototyped something in less than an hour or two that dropped jaws. At the other extreme there are the times I would kill or die for real handler-level integrated source control. Or macros -- what I'd give for macros. gc From psahores at free.fr Mon Dec 27 03:33:23 2010 From: psahores at free.fr (Pierre Sahores) Date: Mon, 27 Dec 2010 09:33:23 +0100 Subject: "Faces" App error In-Reply-To: References: Message-ID: Hi Nicolas, This message is not from LC but from the backend db you use as the result of your query. It means that you try to use the same value to index 2 different table records and this is forbidden as expected. As soon a you will replace the duplicate indexed value by one different value per indexable column, your db will become able to replace the error message by the values you expected to get back. HTH, Le 27 d?c. 2010 ? 07:02, Nicolas Cueto a ?crit : > In case someone at LC is reading... > > When starting-up on iPad and iPhone 3G the "Faces" app available at > LC's "BuildAnApp" blog entry, this error comes up: > > "DB Error: Error executing sql. Duplicate entry '2147483647' for key 1". > > Happens every time, and cannot get the app to do anything after that. > iOs, SDK and LC versions are the latest. > > -- > Nicolas Cueto > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From psahores at free.fr Mon Dec 27 03:37:09 2010 From: psahores at free.fr (Pierre Sahores) Date: Mon, 27 Dec 2010 09:37:09 +0100 Subject: revMail and Bcc In-Reply-To: References: <36DEA5A0-F135-4A5C-8D93-93ED9A0F3EBD@inria.fr> Message-ID: <089AEDE5-0B02-4CB4-BB57-1A8552ECEA8C@free.fr> Hi William, See the lesson RunRev wrote for us about this at : Best, Pierre Le 27 d?c. 2010 ? 02:25, william humphrey a ?crit : > The *revGoURL* command is deprecated and should not be used in new code. > > > But RevMail does not allow for BCC > > > revMail address[,ccAddress[,mailSubject[,messageBody]]] > > > Is there another way to send an email with a BCC field? > > > Thanks, > > > Bill > > > On Fri, May 30, 2008 at 9:41 AM, Klaus Major wrote: > >> Hi Sarah, >> >> >> On Fri, May 30, 2008 at 7:45 PM, Andre.Bisseret >>> wrote: >>> >>>> Hi, >>>> I would like to create e-mails to be sent to a liste of e-mail addresses >>>> in >>>> blind carbon copy (Bcc). >>>> It is not possible with the revMail command, where there is places only >>>> for >>>> address and ccAddress. >>>> Is there another way to put addresses (by program) in the Bcc field? or >>>> should I ask users to manually cut and paste the addresses from "To" to >>>> Bcc >>>> before sending the e-mail? :-(( >>>> >>> At least on a Mac, this works: >>> >>> revGoURL "mailto:?Subject=BCC >>> test&BCC=sarah.reichelt at gmail.com,sarah at another.com&Body=Here is a BCC >>> email." >>> >> >> Great thanks! >> >> Do you or anyone else know where to add a file attachment into this string? >> Know what I mean? >> >> I lalready found out that is a string that "revMail" produces and then >> "revMail" fires a >> "launch url" with tha tnamely string, so one could add items like >> attachment that "revMail" >> does not supply. >> >> Thanks a lot in advance! >> >> Cheers, >>> Sarah >>> >> >> Regards >> >> Klaus Major >> klaus at major-k.de >> http://www.major-k.de >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > http://www.bluewatermaritime.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From psahores at free.fr Mon Dec 27 04:03:04 2010 From: psahores at free.fr (Pierre Sahores) Date: Mon, 27 Dec 2010 10:03:04 +0100 Subject: What with all it's features and platforms I sometimes forget In-Reply-To: References: <2f4b0.448a265.3a4518b0@aol.com> <4D145CAC.5060007@gmail.com> Message-ID: <48CB33E0-CA81-414F-9728-EFEA65B9C5BF@free.fr> Geoff, I really like the way you describe things and follow you on this at 100%. About the second part of your post, i would like to precise that, because its semantic consistent syntax, LC let always us reduce the complexity of our code to its best level (best readability, best execution speed, less errors). I always mind about LC as the best Turing's machine ever after the original one and it's not a joke. The chink in the armor is obviously the sole fact that if the ideas are not clear, the developer will soon be blocked on the spot if (s)he use C, C + +, PHP, Java, etc... while LC will let (s)he turnaround the pot longer before (s)he finish to see clearly (or not) in its own ideas. Kind Regards, Pierre Le 27 d?c. 2010 ? 09:06, Geoff Canyon Rev a ?crit : > On Fri, Dec 24, 2010 at 12:41 AM, Richmond wrote: > >> >> Well; good, effective programming is rarely either EASY or FUN; and more >> often >> than not involves a lot of prolonged effort, thought, and hard work. >> > > Programming is like playing tennis. I'm sure there are professional tennis > players who don't enjoy playing the game. They've either grown tired of it, > or they simply discovered they had the knack, or fell into it somehow and > now they're stuck. But in general, good players like the game, or even love > it. It's just so much easier to be good at something you enjoy doing, and it > is absolutely possible to find programming fun, even when it's hard. > > To tell would-be end-users that they can create wonderful things without a >> fairly serious >> investment of time and effort is simply disingenuous. > > > I disagree. Granted I have more than a few years invested, but most of the > things I've created over the years have been quick and simple. LC's > advantage over other languages/environments starts near infinity, and drops > to zero or even negative as the size of the project grows. At the one > extreme is the fact that I can create a workable program and compile it for > several platforms in five minutes or less. In the middle, I have many times > prototyped something in less than an hour or two that dropped jaws. At the > other extreme there are the times I would kill or die for real handler-level > integrated source control. Or macros -- what I'd give for macros. > > gc > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From richmondmathewson at gmail.com Mon Dec 27 05:53:23 2010 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 27 Dec 2010 12:53:23 +0200 Subject: iOS Interface Design In-Reply-To: References: Message-ID: <4D187023.6020701@gmail.com> On 12/27/2010 09:45 AM, RevList wrote: > I have been coding my app for the iPhone and things are going reasonably > well on the coding side now that I am running 4.5.3 (rc3) > > Coding right now is not the issue, though I am sure I will run into all > sorts of issues soon as I start to add more functionality. > What I am really struggling with is how to make my controls look like > native controls. Right now, the app looks like it was designed for > Windows 3.1 or Mac OS 6. What was wrong with Mac OS 6 as far as GUI was concerned? Far, far better than Windows 3.1 at the very least . . . :) -------------------------------------------------------------------------------------- I am not convinced by the "unified GUI" theory: i.e. that very program has to look as if it were designed by one person with one set of ideas how a GUI should look. Discuss . . . From richmondmathewson at gmail.com Mon Dec 27 06:10:02 2010 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 27 Dec 2010 13:10:02 +0200 Subject: What with all it's features and platforms I sometimes forget In-Reply-To: References: <2f4b0.448a265.3a4518b0@aol.com> <4D145CAC.5060007@gmail.com> Message-ID: <4D18740A.8010906@gmail.com> On 12/27/2010 10:06 AM, Geoff Canyon Rev wrote: > On Fri, Dec 24, 2010 at 12:41 AM, Richmondwrote: >> Well; good, effective programming is rarely either EASY or FUN; and more >> often >> than not involves a lot of prolonged effort, thought, and hard work. >> > Programming is like playing tennis. I'm sure there are professional tennis > players who don't enjoy playing the game. They've either grown tired of it, > or they simply discovered they had the knack, or fell into it somehow and > now they're stuck. But in general, good players like the game, or even love > it. I love working with Livecode, and have done ever since day #1. But the word 'fun' has be come burdened with the semantics of effortless enjoyment. Programming can and should be pleasurable with Livecode, but effortless it is not. To my mind, at least, half the pleasure of working with Livecode is putting a bit of effort into something and seeing the wonderful results of the combined efforts of the 'heavy chaps' in Edinburgh (without whom we would be lost) and our own work. If I could achieve the sort of results I do without any effort at all they would be virtually valueless as anybody could belt off whatever, whenever, and both Thee and Me would be out of a job! > It's just so much easier to be good at something you enjoy doing, and it > is absolutely possible to find programming fun, even when it's hard. > > To tell would-be end-users that they can create wonderful things without a >> fairly serious >> investment of time and effort is simply disingenuous. >> >> I disagree. Granted I have more than a few years invested, but most of the >> things I've created over the years have been quick and simple. LC's >> advantage over other languages/environments starts near infinity, and drops >> to zero or even negative as the size of the project grows. I agree with you about what you say about Livecode; when I compare it with other languages/environments it really does beat them into a cocked hat. However, to maximise Livecode's full potential (and, WOW! what a potential) does take quite a bit of effort. While it may take more effort to achieve the same sort of things in other languages/environments it does not mean that doing something in Livecode is exactly "Easy-Peasy-Lemon-Squeezy" either. >> At the one >> extreme is the fact that I can create a workable program and compile it for >> several platforms in five minutes or less. I think the word 'workable' is the one we need to focus on here. Most of us, even those of us fresh to Livecode, can produce something 'workable' very quickly indeed. However, 'workable' is not quite the same as 'resource efficient' and so on. >> In the middle, I have many times >> prototyped something in less than an hour or two that dropped jaws. Of course. >> At the >> other extreme there are the times I would kill or die for real handler-level >> integrated source control. Or macros -- what I'd give for macros. >> The ability to produce something 'workable' very quickly, and its use for rapid prototyping are strengths that the folks at RunRev should be shouting from the rooftops. I believe that words such as 'easy' and 'fun', however, make Livecode sound a bit too simplistic and could detract from Livecode's rich complexity which allows its leverage for extremely complex stuff. From richmondmathewson at gmail.com Mon Dec 27 06:13:01 2010 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 27 Dec 2010 13:13:01 +0200 Subject: Interface design Message-ID: <4D1874BD.5030203@gmail.com> Surely . . . Much more than worrying whether our killer app conforms to the general GUI of an OS . . . We should worry about end-user usability . . . These 2 may coincide, but not necessarily. From lists at mangomultimedia.com Mon Dec 27 07:42:25 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 27 Dec 2010 07:42:25 -0500 Subject: QTVR and 64-bit Windows issue In-Reply-To: <8CD7314AB82588F-10C0-28DF6@webmail-m012.sysops.aol.com> References: <8CD7314AB82588F-10C0-28DF6@webmail-m012.sysops.aol.com> Message-ID: On Sun, Dec 26, 2010 at 8:05 AM, stgoldberg at aol.com wrote: > I understand that QTVR will not work on 64-bit Windows computers. Does > anyone know if there is a workaround in which panoramas will show in > Livecode, or if Apple plans to correct the issue? Is QTVR obsolete? Thanks. That latest version of QuickTime for Windows should fix this issue. It did for my customers who were experiencing problems with QTVR on 64-bit Windows. -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From stephenREVOLUTION2 at barncard.com Mon Dec 27 07:52:36 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 27 Dec 2010 06:52:36 -0600 Subject: "Faces" App error In-Reply-To: References: Message-ID: consider auto incrementing the key when adding records, or build a handler to deal with incrementing the key value. On 27 December 2010 00:02, Nicolas Cueto wrote: > In case someone at LC is reading... > > When starting-up on iPad and iPhone 3G the "Faces" app available at > LC's "BuildAnApp" blog entry, this error comes up: > > "DB Error: Error executing sql. Duplicate entry '2147483647' for key 1". > > Happens every time, and cannot get the app to do anything after that. > iOs, SDK and LC versions are the latest. > > -- > Nicolas Cueto > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From stephenREVOLUTION2 at barncard.com Mon Dec 27 07:57:06 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 27 Dec 2010 06:57:06 -0600 Subject: iOS Interface Design In-Reply-To: <4D187023.6020701@gmail.com> References: <4D187023.6020701@gmail.com> Message-ID: however, iPhone users do have an expectation on how things work, and especially with a device of this type most users "just want it to work" without confusion. Not much room for creative variation, but that's the way it is. On 27 December 2010 04:53, Richmond wrote: > On 12/27/2010 09:45 AM, RevList wrote: > >> I have been coding my app for the iPhone and things are going reasonably >> well on the coding side now that I am running 4.5.3 (rc3) >> >> Coding right now is not the issue, though I am sure I will run into all >> sorts of issues soon as I start to add more functionality. >> What I am really struggling with is how to make my controls look like >> native controls. Right now, the app looks like it was designed for >> Windows 3.1 or Mac OS 6. >> > > What was wrong with Mac OS 6 as far as GUI was concerned? > > Far, far better than Windows 3.1 at the very least . . . :) > > > -------------------------------------------------------------------------------------- > > I am not convinced by the "unified GUI" theory: i.e. that very > program has to look as if it were designed by one person > with one set of ideas how a GUI should look. > > Discuss . . . > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From jmyepes at mac.com Mon Dec 27 08:04:07 2010 From: jmyepes at mac.com (JosepM) Date: Mon, 27 Dec 2010 05:04:07 -0800 (PST) Subject: Join many PDF into one Message-ID: <1293455047868-3164964.post@n4.nabble.com> Hi, I want to join many PDF files from a folder into one. I found some automator files for do that but I need call it from LiveCode. Any idea how to do this? Salut, Josep M -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Join-many-PDF-into-one-tp3164964p3164964.html Sent from the Revolution - User mailing list archive at Nabble.com. From stephenREVOLUTION2 at barncard.com Mon Dec 27 08:09:12 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 27 Dec 2010 07:09:12 -0600 Subject: Join many PDF into one In-Reply-To: <1293455047868-3164964.post@n4.nabble.com> References: <1293455047868-3164964.post@n4.nabble.com> Message-ID: Aren't the automator files just Applescript inside? Can't you put the Applescript into a field and do field xxx as Applescript ?? On 27 December 2010 07:04, JosepM wrote: > > Hi, > > I want to join many PDF files from a folder into one. I found some > automator > files for do that but I need call it from LiveCode. > > Any idea how to do this? > > > > > Salut, > Josep M > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Join-many-PDF-into-one-tp3164964p3164964.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From jmyepes at mac.com Mon Dec 27 08:19:43 2010 From: jmyepes at mac.com (JosepM) Date: Mon, 27 Dec 2010 05:19:43 -0800 (PST) Subject: Join many PDF into one In-Reply-To: References: <1293455047868-3164964.post@n4.nabble.com> Message-ID: <1293455983694-3164985.post@n4.nabble.com> Maybe, well with Applescript will be not a problem, but Automator is "compiled" as I understand, is a "app" that you launch. I need perform that without any user action... Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Join-many-PDF-into-one-tp3164964p3164985.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Mon Dec 27 08:28:47 2010 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 27 Dec 2010 15:28:47 +0200 Subject: A funny thing happened on the way to market. Message-ID: <4D18948F.4090401@gmail.com> Needed about 4000 images with Unicode chars on them . . . http://andregarzia.on-rev.com/richmond/numCharrer.rev.zip pretty raw, functional go and get it! From niconiko at gmail.com Mon Dec 27 09:08:56 2010 From: niconiko at gmail.com (Nicolas Cueto) Date: Mon, 27 Dec 2010 23:08:56 +0900 Subject: "Faces" App error In-Reply-To: References: Message-ID: > This message is not from LC but from the backend db you use as the result of your query. Thanks Pierre. The db is actually on the LC server, to which of course I have no access. So, like I wrote, hope the LC people who made the "Faces" app are listening in... at least after the New Year's holidays! -- Nicolas Cueto From mkoob at rogers.com Mon Dec 27 09:15:50 2010 From: mkoob at rogers.com (Martin Koob) Date: Mon, 27 Dec 2010 06:15:50 -0800 (PST) Subject: Join many PDF into one In-Reply-To: <1293455047868-3164964.post@n4.nabble.com> References: <1293455047868-3164964.post@n4.nabble.com> Message-ID: <1293459350773-3165030.post@n4.nabble.com> I found a page that explains how Automator actually joins PDFs and it explains how to use the same method. http://hints.macworld.com/article.php?story=20060327192826493 It used a python command. #! /usr/bin/python # # join # Joing pages from a a collection of PDF files into a single PDF file. # # join [--output ] [--append] [--shuffle] [--preview] [--verbose]" # # Parameter: # # --shuffle # Take a page from each PDF input file in turn before taking another from each file. # If this option is not specified then all of the pages from a PDF file are appended # to the output PDF file before the next input PDF file is processed. # # --verbose # Write information about the doings of this tool to stderr. # The author used the following as a prototype for the command. python '/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py' -o '/path/to/output.pdf' '/path/to/input1.pdf' '/path/to/input2.pdf' I tried this out by putting 2 PDFs (pg1.pdf & pg2.pdf in a directory) then in terminal changed directory to that directory. And did the following command in the terminal. Martin-Koobs-MacBook-Pro:PDF joins MartinLdrive$ python '/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py' -o 'combined.pdf' 'pg1.pdf' 'pg2.pdf' This successfully created a PDF combined.pdf in the working directory but generated an error as you can see from the terminal output below. Mon Dec 27 08:34:54 Martin-Koobs-MacBook-Pro.local Python[310] : The function `CGPDFDocumentGetMediaBox' is obsolete and will be removed in an upcoming update. Unfortunately, this application, or a library it uses, is using this obsolete function, and is thereby contributing to an overall degradation of system performance. Please use `CGPDFPageGetBoxRect' instead. Martin-Koobs-MacBook-Pro:PDF joins MartinLdrive$ This was done in Mac OS X 10.5.8 I don't know if they changed the python command in 10.6 so if they did this may not work. Any way I think you could use that as a shell command in LiveCode. I haven't tried it though. You would have to construct the command using variables to insert your file paths then do it as a shell command. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Join-many-PDF-into-one-tp3164964p3165030.html Sent from the Revolution - User mailing list archive at Nabble.com. From mcgrath3 at mac.com Mon Dec 27 09:29:15 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 27 Dec 2010 09:29:15 -0500 Subject: What with all it's features and platforms I sometimes forget In-Reply-To: <4D18740A.8010906@gmail.com> References: <2f4b0.448a265.3a4518b0@aol.com> <4D145CAC.5060007@gmail.com> <4D18740A.8010906@gmail.com> Message-ID: WOW. I had a great holiday and then came back to a semantic argument over fun as in easy or no effort versus fun as in enjoyable and a delight to do. "It's just so much easier to be good at something you enjoy doing, and it is absolutely possible to find programming fun, even when it's hard." For me it's fun especially when it's hard. I love the challenge of coaxing an idea into reality and hitting a wall either in concept, design or execution and then struggling for a while and maybe having to ask for help and eventually coming up with a solution and finally successfully completing a project and seeing it work. This is FUN to me, it is exhilarating, it makes getting up in the morning worth doing. I love the challenge and the reward, the struggle and the feeling of accomplishment. My work, effective or not by the standards of someone else, has helped thousands of people who otherwise could not speak to be able to not only speak but to communicate in a meaningful way with their loved ones this holiday season and beyond. There are systems out there that allow people to speak i.e. "I like Brownies" when they push a button and each time they push that button they will say "I like Brownies" but if they decide they don't and wan't to say "I don't like Brownies" they can't unless they painstakingly spell it out or a parent/caretaker enters it for them but this is not the same as giving them a way to truly communicate what they actually want to say, which is what I do. So I do consider my coding and the result very effective. And I have a lot of fun doing it. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Dec 27, 2010, at 6:10 AM, Richmond wrote: > On 12/27/2010 10:06 AM, Geoff Canyon Rev wrote: >> On Fri, Dec 24, 2010 at 12:41 AM, Richmondwrote: >>> Well; good, effective programming is rarely either EASY or FUN; and more >>> often >>> than not involves a lot of prolonged effort, thought, and hard work. >>> >> Programming is like playing tennis. I'm sure there are professional tennis >> players who don't enjoy playing the game. They've either grown tired of it, >> or they simply discovered they had the knack, or fell into it somehow and >> now they're stuck. But in general, good players like the game, or even love >> it. > > I love working with Livecode, and have done ever since day #1. But the word 'fun' > has be come burdened with the semantics of effortless enjoyment. Programming > can and should be pleasurable with Livecode, but effortless it is not. > > To my mind, at least, half the pleasure of working with Livecode is putting > a bit of effort into something and seeing the wonderful results of the > combined efforts of the 'heavy chaps' in Edinburgh (without whom we > would be lost) and our own work. If I could achieve the sort of results I do > without any effort at all they would be virtually valueless as anybody > could belt off whatever, whenever, and both Thee and Me would be out > of a job! > >> It's just so much easier to be good at something you enjoy doing, and it >> is absolutely possible to find programming fun, even when it's hard. >> >> To tell would-be end-users that they can create wonderful things without a >>> fairly serious >>> investment of time and effort is simply disingenuous. >>> >>> I disagree. Granted I have more than a few years invested, but most of the >>> things I've created over the years have been quick and simple. LC's >>> advantage over other languages/environments starts near infinity, and drops >>> to zero or even negative as the size of the project grows. > > I agree with you about what you say about Livecode; when I compare it with > other languages/environments it really does beat them into a cocked hat. > > However, to maximise Livecode's full potential (and, WOW! what a potential) > does take quite a bit of effort. > > While it may take more effort to achieve the same sort of things in other > languages/environments it does not mean that doing something in Livecode > is exactly "Easy-Peasy-Lemon-Squeezy" either. > >>> At the one >>> extreme is the fact that I can create a workable program and compile it for >>> several platforms in five minutes or less. > I think the word 'workable' is the one we need to focus on here. Most of us, > even those of us fresh to Livecode, can produce something 'workable' very > quickly indeed. > > However, 'workable' is not quite the same as 'resource efficient' and so on. >>> In the middle, I have many times >>> prototyped something in less than an hour or two that dropped jaws. > > Of course. > >>> At the >>> other extreme there are the times I would kill or die for real handler-level >>> integrated source control. Or macros -- what I'd give for macros. >>> > The ability to produce something 'workable' very quickly, and its use for > rapid prototyping are strengths that the folks at RunRev should be shouting from the rooftops. > > I believe that words such as 'easy' and 'fun', however, make Livecode sound a bit too > simplistic and could detract from Livecode's rich complexity which allows its > leverage for extremely complex stuff. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Mon Dec 27 09:42:36 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 27 Dec 2010 08:42:36 -0600 Subject: What with all it's features and platforms I sometimes forget In-Reply-To: References: <2f4b0.448a265.3a4518b0@aol.com> <4D145CAC.5060007@gmail.com> <4D18740A.8010906@gmail.com> Message-ID: Exactly. I mean no bad will to our friend Jerry Daniels, but this is the difficulty I have with his amazing Rodeo app builder - it may be too easy! I feel with all the components already made, I'm not really creating anything, but just paint by numbers and hooking it up to data. (actually I find it baffling, because it's like no other programming process I've ever used ) On 27 December 2010 08:29, Thomas McGrath III wrote: > WOW. I had a great holiday and then came back to a semantic argument over > fun as in easy or no effort versus fun as in enjoyable and a delight to do. > > "It's just so much easier to be good at something you enjoy doing, and it > is absolutely possible to find programming fun, even when it's hard." > > For me it's fun especially when it's hard. I love the challenge of coaxing > an idea into reality and hitting a wall either in concept, design or > execution and then struggling for a while and maybe having to ask for help > and eventually coming up with a solution and finally successfully completing > a project and seeing it work. This is FUN to me, it is exhilarating, it > makes getting up in the morning worth doing. I love the challenge and the > reward, the struggle and the feeling of accomplishment. > > My work, effective or not by the standards of someone else, has helped > thousands of people who otherwise could not speak to be able to not only > speak but to communicate in a meaningful way with their loved ones this > holiday season and beyond. There are systems out there that allow people to > speak i.e. "I like Brownies" when they push a button and each time they push > that button they will say "I like Brownies" but if they decide they don't > and wan't to say "I don't like Brownies" they can't unless they > painstakingly spell it out or a parent/caretaker enters it for them but this > is not the same as giving them a way to truly communicate what they actually > want to say, which is what I do. So I do consider my coding and the result > very effective. And I have a lot of fun doing it. > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Dec 27, 2010, at 6:10 AM, Richmond wrote: > > > On 12/27/2010 10:06 AM, Geoff Canyon Rev wrote: > >> On Fri, Dec 24, 2010 at 12:41 AM, Richmond >wrote: > >>> Well; good, effective programming is rarely either EASY or FUN; and > more > >>> often > >>> than not involves a lot of prolonged effort, thought, and hard work. > >>> > >> Programming is like playing tennis. I'm sure there are professional > tennis > >> players who don't enjoy playing the game. They've either grown tired of > it, > >> or they simply discovered they had the knack, or fell into it somehow > and > >> now they're stuck. But in general, good players like the game, or even > love > >> it. > > > > I love working with Livecode, and have done ever since day #1. But the > word 'fun' > > has be come burdened with the semantics of effortless enjoyment. > Programming > > can and should be pleasurable with Livecode, but effortless it is not. > > > > To my mind, at least, half the pleasure of working with Livecode is > putting > > a bit of effort into something and seeing the wonderful results of the > > combined efforts of the 'heavy chaps' in Edinburgh (without whom we > > would be lost) and our own work. If I could achieve the sort of results I > do > > without any effort at all they would be virtually valueless as anybody > > could belt off whatever, whenever, and both Thee and Me would be out > > of a job! > > > >> It's just so much easier to be good at something you enjoy doing, and > it > >> is absolutely possible to find programming fun, even when it's hard. > >> > >> To tell would-be end-users that they can create wonderful things without > a > >>> fairly serious > >>> investment of time and effort is simply disingenuous. > >>> > >>> I disagree. Granted I have more than a few years invested, but most of > the > >>> things I've created over the years have been quick and simple. LC's > >>> advantage over other languages/environments starts near infinity, and > drops > >>> to zero or even negative as the size of the project grows. > > > > I agree with you about what you say about Livecode; when I compare it > with > > other languages/environments it really does beat them into a cocked hat. > > > > However, to maximise Livecode's full potential (and, WOW! what a > potential) > > does take quite a bit of effort. > > > > While it may take more effort to achieve the same sort of things in other > > languages/environments it does not mean that doing something in Livecode > > is exactly "Easy-Peasy-Lemon-Squeezy" either. > > > >>> At the one > >>> extreme is the fact that I can create a workable program and compile it > for > >>> several platforms in five minutes or less. > > I think the word 'workable' is the one we need to focus on here. Most of > us, > > even those of us fresh to Livecode, can produce something 'workable' very > > quickly indeed. > > > > However, 'workable' is not quite the same as 'resource efficient' and so > on. > >>> In the middle, I have many times > >>> prototyped something in less than an hour or two that dropped jaws. > > > > Of course. > > > >>> At the > >>> other extreme there are the times I would kill or die for real > handler-level > >>> integrated source control. Or macros -- what I'd give for macros. > >>> > > The ability to produce something 'workable' very quickly, and its use for > > rapid prototyping are strengths that the folks at RunRev should be > shouting from the rooftops. > > > > I believe that words such as 'easy' and 'fun', however, make Livecode > sound a bit too > > simplistic and could detract from Livecode's rich complexity which allows > its > > leverage for extremely complex stuff. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From pepetoo at cox.net Mon Dec 27 10:01:08 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 27 Dec 2010 07:01:08 -0800 Subject: New Version of LC? Message-ID: Did I notice someone saying they are using 4.5.3? Joe Lewis Wilkins Architect & Director of Product Development for GSI From psahores at free.fr Mon Dec 27 10:02:13 2010 From: psahores at free.fr (Pierre Sahores) Date: Mon, 27 Dec 2010 16:02:13 +0100 Subject: "Faces" App error In-Reply-To: References: Message-ID: <9F44F50E-D8F8-4124-9944-CA2E5F4F5240@free.fr> Hi Nicolas, What is this "Faces" app ? Any URL available to see how it looks like ? Best, Pierre Le 27 d?c. 2010 ? 15:08, Nicolas Cueto a ?crit : >> This message is not from LC but from the backend db you use as the result of your query. > > Thanks Pierre. The db is actually on the LC server, to which of course > I have no access. > > So, like I wrote, hope the LC people who made the "Faces" app are > listening in... at least after the New Year's holidays! > > -- > Nicolas Cueto > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From coiin at verizon.net Mon Dec 27 10:09:47 2010 From: coiin at verizon.net (Colin Holgate) Date: Mon, 27 Dec 2010 10:09:47 -0500 Subject: iOS Interface Design In-Reply-To: References: Message-ID: <535AC6D1-2A82-4384-A1F9-04DAF4D32E53@verizon.net> On Dec 27, 2010, at 2:45 AM, RevList wrote: > I have been coding my app for the iPhone and things are going reasonably > well on the coding side now that I am running 4.5.3 (rc3) Where do you go to get the 4.5.3 builds? For making your interface more iPhone like, you could use the elements in the Photoshop file on this page: http://www.teehanlax.com/blog/2010/06/14/iphone-gui-psd-v4/ The regular iPhone one is free, and for the Retina display version that suggest a "Pay Watcha' Like" amount. They are due to do an iPad one too. From coiin at verizon.net Mon Dec 27 10:10:50 2010 From: coiin at verizon.net (Colin Holgate) Date: Mon, 27 Dec 2010 10:10:50 -0500 Subject: New Version of LC? In-Reply-To: References: Message-ID: On Dec 27, 2010, at 10:01 AM, Joe Lewis Wilkins wrote: > Did I notice someone saying they are using 4.5.3? At two persons so far. I don't see where you get those now, there used to be a menu item for it, or you might go to your account page, except that still has 4.5.2. From pepetoo at cox.net Mon Dec 27 10:13:56 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 27 Dec 2010 07:13:56 -0800 Subject: New Version of LC? In-Reply-To: References: Message-ID: <2C5288FE-B6BC-4629-AB87-EA7164E12FEC@cox.net> Colin, my experience as well. Thanks. Maybe some typos. Joe Lewis Wilkins Architect & Director of Product Development for GSI On Dec 27, 2010, at 7:10 AM, Colin Holgate wrote: > > On Dec 27, 2010, at 10:01 AM, Joe Lewis Wilkins wrote: > >> Did I notice someone saying they are using 4.5.3? > > At two persons so far. I don't see where you get those now, there used to be a menu item for it, or you might go to your account page, except that still has 4.5.2. From coiin at verizon.net Mon Dec 27 10:18:13 2010 From: coiin at verizon.net (Colin Holgate) Date: Mon, 27 Dec 2010 10:18:13 -0500 Subject: New Version of LC? In-Reply-To: <2C5288FE-B6BC-4629-AB87-EA7164E12FEC@cox.net> References: <2C5288FE-B6BC-4629-AB87-EA7164E12FEC@cox.net> Message-ID: <6E777BC6-2824-4A60-95D5-B7950F6A2087@verizon.net> On Dec 27, 2010, at 10:13 AM, Joe Lewis Wilkins wrote: > Colin, my experience as well. Thanks. Maybe some typos. I don't think so, with a phrase like "now that I'm running 4.5.3 (rc3)" that suggests a version later than the one he was previously using, and "rc3" sounds a bit like release candidate 3. From harald at etcpp.de Mon Dec 27 10:19:34 2010 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Mon, 27 Dec 2010 16:19:34 +0100 Subject: New Version of LC? In-Reply-To: <2C5288FE-B6BC-4629-AB87-EA7164E12FEC@cox.net> References: <2C5288FE-B6BC-4629-AB87-EA7164E12FEC@cox.net> Message-ID: As far as I know you have to be part of the developer program to get early builds of coming versions: http://www.runrev.com/products/livecode-developer-program/ Best regards, Harald M?ller. Am 27.12.2010 um 16:13 schrieb Joe Lewis Wilkins: > Colin, my experience as well. Thanks. Maybe some typos. > > Joe Lewis Wilkins > Architect & Director of Product Development for GSI > > > > On Dec 27, 2010, at 7:10 AM, Colin Holgate wrote: > >> >> On Dec 27, 2010, at 10:01 AM, Joe Lewis Wilkins wrote: >> >>> Did I notice someone saying they are using 4.5.3? >> >> At two persons so far. I don't see where you get those now, there used to be a menu item for it, or you might go to your account page, except that still has 4.5.2. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From niconiko at gmail.com Mon Dec 27 10:19:49 2010 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 28 Dec 2010 00:19:49 +0900 Subject: "Faces" App error In-Reply-To: <9F44F50E-D8F8-4124-9944-CA2E5F4F5240@free.fr> References: <9F44F50E-D8F8-4124-9944-CA2E5F4F5240@free.fr> Message-ID: > What is this "Faces" app ? Any URL available to see how it looks like ? It's part of LiveCode's app-building tutorial for iOS on their blog site, and the link is inside their blog page at: http://www.runrev.com/company/runrev-blog/ -- Nicolas Cueto From mkoob at rogers.com Mon Dec 27 10:31:12 2010 From: mkoob at rogers.com (Martin Koob) Date: Mon, 27 Dec 2010 07:31:12 -0800 (PST) Subject: iOS Interface Design In-Reply-To: References: <4D187023.6020701@gmail.com> Message-ID: <1293463872765-3165119.post@n4.nabble.com> I have been trying to get my head around what is unified about the interface in iOS that just makes it work. Apple, which has been very strict about the look and feel of its UI in Mac OS and Mac OS X, seemed to abandon that in iOS--other than of course a few standard controls. App developers can use whatever they want for controls within their apps. However, in the apps I have tried so far I am able to 'just get it to work'. My thought is that there is still a unification in the way a user interacts with the app but I think now it is more the feel than the look. Mostly it seems to me the feel is based around real world physics and I think that is influenced by the fact that you interact with the device using physical forces like touch, momentum and gravity. The feel is codified in the gestures like touch, drag, pinch, shake, tilt etc. You can be creative as you want unless you want to use a gesture that is not supported, for example pressure sensitive touch. ie. http://www.tuaw.com/2010/07/02/pressure-sensitive-drawing-on-the-ipad/ I have been thinking about this because I am thinking about moving parts of a Mac OS X app made with Livecode to iPad and it means rethinking my controls. Because of my years of trying to adhere to the UI guidelines for Mac I feel a little lost when thinking about iOS. I don't want to simply try to recreate Mac OS controls on the iPad version. I am also thinking that with Mac OS X Lion coming out which promises to borrow from iOS I have the instinct to redesign the desktop app as well to have a consistent look and feel between the two but maybe that is misguided. It will be interesting to see what gets ported over to Mac OS X from iOS as far as UI philosophy. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-Interface-Design-tp3164758p3165119.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Mon Dec 27 10:31:23 2010 From: coiin at verizon.net (Colin Holgate) Date: Mon, 27 Dec 2010 10:31:23 -0500 Subject: New Version of LC? In-Reply-To: References: <2C5288FE-B6BC-4629-AB87-EA7164E12FEC@cox.net> Message-ID: On Dec 27, 2010, at 10:19 AM, Harald M?ller wrote: > As far as I know you have to be part of the developer program > to get early builds of coming versions: > > http://www.runrev.com/products/livecode-developer-program/ Thanks, that helped. It used to be that the Enterprise version gave you access to early builds. From stephenREVOLUTION2 at barncard.com Mon Dec 27 10:59:29 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 27 Dec 2010 09:59:29 -0600 Subject: New Version of LC? In-Reply-To: References: <2C5288FE-B6BC-4629-AB87-EA7164E12FEC@cox.net> Message-ID: When one's update pack is up to date. On 27 December 2010 09:31, Colin Holgate wrote: > > On Dec 27, 2010, at 10:19 AM, Harald M?ller wrote: > > > As far as I know you have to be part of the developer program > > to get early builds of coming versions: > > > > http://www.runrev.com/products/livecode-developer-program/ > > > Thanks, that helped. It used to be that the Enterprise version gave you > access to early builds. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From coiin at verizon.net Mon Dec 27 11:06:35 2010 From: coiin at verizon.net (Colin Holgate) Date: Mon, 27 Dec 2010 11:06:35 -0500 Subject: New Version of LC? In-Reply-To: References: <2C5288FE-B6BC-4629-AB87-EA7164E12FEC@cox.net> Message-ID: <5C38D4A0-CE95-438F-BDDF-8A9DB866DBC6@verizon.net> On Dec 27, 2010, at 10:59 AM, stephen barncard wrote: > When one's update pack is up to date. Mine is good until sometime in 2012, but I see no option for a 4.5.3. Not that I'm in a huge hurry, I am working on an iPad app, but not expecting to finish it for a little while. From jmyepes at mac.com Mon Dec 27 11:15:27 2010 From: jmyepes at mac.com (JosepM) Date: Mon, 27 Dec 2010 08:15:27 -0800 (PST) Subject: Join many PDF into one In-Reply-To: <1293459350773-3165030.post@n4.nabble.com> References: <1293455047868-3164964.post@n4.nabble.com> <1293459350773-3165030.post@n4.nabble.com> Message-ID: <1293466527678-3165189.post@n4.nabble.com> Hi Martin, Thanks for you help, I get the same error, but now I have one way to explore... :) The join command is the same that use the pyton call? Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Join-many-PDF-into-one-tp3164964p3165189.html Sent from the Revolution - User mailing list archive at Nabble.com. From bill at bluewatermaritime.com Mon Dec 27 11:25:13 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Mon, 27 Dec 2010 12:25:13 -0400 Subject: revMail and Bcc In-Reply-To: <089AEDE5-0B02-4CB4-BB57-1A8552ECEA8C@free.fr> References: <36DEA5A0-F135-4A5C-8D93-93ED9A0F3EBD@inria.fr> <089AEDE5-0B02-4CB4-BB57-1A8552ECEA8C@free.fr> Message-ID: The problem with that lesson is that it is for a running server. So if you're just running your regular old computer the shell commands do nothing. At least the RunRev folks see that BCC is important. From psahores at free.fr Mon Dec 27 11:27:15 2010 From: psahores at free.fr (Pierre Sahores) Date: Mon, 27 Dec 2010 17:27:15 +0100 Subject: "Faces" App error In-Reply-To: References: <9F44F50E-D8F8-4124-9944-CA2E5F4F5240@free.fr> Message-ID: <24775811-FC73-48E9-9BCE-E16E64013D78@free.fr> Ah ! I did't start to use my LC iOS pack for yet... ;-) Best, Pierre Le 27 d?c. 2010 ? 16:19, Nicolas Cueto a ?crit : >> What is this "Faces" app ? Any URL available to see how it looks like ? > > It's part of LiveCode's app-building tutorial for iOS on their blog > site, and the link is inside their blog page at: > > http://www.runrev.com/company/runrev-blog/ > > -- > Nicolas Cueto > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From psahores at free.fr Mon Dec 27 11:35:22 2010 From: psahores at free.fr (Pierre Sahores) Date: Mon, 27 Dec 2010 17:35:22 +0100 Subject: revMail and Bcc In-Reply-To: References: <36DEA5A0-F135-4A5C-8D93-93ED9A0F3EBD@inria.fr> <089AEDE5-0B02-4CB4-BB57-1A8552ECEA8C@free.fr> Message-ID: <32FD9352-E4A9-4FAC-B6C4-8B2C5D2A88B2@free.fr> If mail is installed (need to be !), it can work from your own (OSX or Linux) box as well. Best, Pierre Le 27 d?c. 2010 ? 17:25, william humphrey a ?crit : > The problem with that lesson is that it is for a running server. So if > you're just running your regular old computer the shell commands do nothing. > At least the RunRev folks see that BCC is important. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From psahores at free.fr Mon Dec 27 11:39:57 2010 From: psahores at free.fr (Pierre Sahores) Date: Mon, 27 Dec 2010 17:39:57 +0100 Subject: Fwd: revMail and Bcc References: <32FD9352-E4A9-4FAC-B6C4-8B2C5D2A88B2@free.fr> Message-ID: <90478A6B-3656-41FA-9030-35D7C45478BA@free.fr> I should have say "SendMail" the unix demon, not (Apple) Mail at all... D?but du message r?exp?di? : > De : Pierre Sahores > Date : 27 d?cembre 2010 17:35:22 HNEC > ? : How to use LiveCode > Cc : Pierre Sahores > Objet : R?p : revMail and Bcc > > If mail is installed (need to be !), it can work from your own (OSX or Linux) box as well. > > Best, > > Pierre > > Le 27 d?c. 2010 ? 17:25, william humphrey a ?crit : > >> The problem with that lesson is that it is for a running server. So if >> you're just running your regular old computer the shell commands do nothing. >> At least the RunRev folks see that BCC is important. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > -- > Pierre Sahores > mobile : (33) 6 03 95 77 70 > > www.woooooooords.com > www.sahores-conseil.com > > > > > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From bill at bluewatermaritime.com Mon Dec 27 11:42:50 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Mon, 27 Dec 2010 12:42:50 -0400 Subject: revMail and Bcc In-Reply-To: <90478A6B-3656-41FA-9030-35D7C45478BA@free.fr> References: <32FD9352-E4A9-4FAC-B6C4-8B2C5D2A88B2@free.fr> <90478A6B-3656-41FA-9030-35D7C45478BA@free.fr> Message-ID: Thank you. I will search on the internet for this except that it isn't really a solution because then everyone that uses my program would also have to install this unix thing. It would be easier if RevMail just had another parameter for the BCC. On Mon, Dec 27, 2010 at 12:39 PM, Pierre Sahores wrote: > I should have say "SendMail" the unix demon, not (Apple) Mail at all... > > D?but du message r?exp?di? : > > > De : Pierre Sahores > > Date : 27 d?cembre 2010 17:35:22 HNEC > > ? : How to use LiveCode > > Cc : Pierre Sahores > > Objet : R?p : revMail and Bcc > > > > If mail is installed (need to be !), it can work from your own (OSX or > Linux) box as well. > > > > Best, > > > > Pierre > > > > Le 27 d?c. 2010 ? 17:25, william humphrey a ?crit : > > > >> The problem with that lesson is that it is for a running server. So if > >> you're just running your regular old computer the shell commands do > nothing. > >> At least the RunRev folks see that BCC is important. > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > -- > > Pierre Sahores > > mobile : (33) 6 03 95 77 70 > > > > www.woooooooords.com > > www.sahores-conseil.com > > > > > > > > > > > > -- > Pierre Sahores > mobile : (33) 6 03 95 77 70 > > www.woooooooords.com > www.sahores-conseil.com > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.bluewatermaritime.com From stgoldberg at aol.com Mon Dec 27 12:32:00 2010 From: stgoldberg at aol.com (stgoldberg at aol.com) Date: Mon, 27 Dec 2010 12:32:00 -0500 Subject: QTVR on 64-bit Windows computers In-Reply-To: References: Message-ID: <8CD740319FD61D8-F10-408BE@webmail-d024.sysops.aol.com> Trevore DeVore to the rescue again! I downloaded the latest version of QuickTime for Windows, and now QTVRs show up in rev applications on Windows 64-bit computers. I am very appreciative, since I've created a lot of QTVRs for Rev and otherwise would not be able to use them. I could not, however, get a QTVR to work from a revlet on the Internet. It would be nice to know if others are successful in viewing QTVRs from a revlet on Windows-64 computers. Thanks. Steve Goldberg Date: Mon, 27 Dec 2010 07:42:25 -0500 rom: Trevor DeVore o: How to use LiveCode ubject: Re: QTVR and 64-bit Windows issue essage-ID: ontent-Type: text/plain; charset=ISO-8859-1 On Sun, Dec 26, 2010 at 8:05 AM, stgoldberg at aol.com wrote: > I understand that QTVR will not work on 64-bit Windows computers. Does anyone know if there is a workaround in which panoramas will show in Livecode, or if Apple plans to correct the issue? Is QTVR obsolete? Thanks. hat latest version of QuickTime for Windows should fix this issue. It did or my customers who were experiencing problems with QTVR on 64-bit Windows. -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com ******************************************** From mkoob at rogers.com Mon Dec 27 14:44:52 2010 From: mkoob at rogers.com (Martin Koob) Date: Mon, 27 Dec 2010 11:44:52 -0800 (PST) Subject: Join many PDF into one In-Reply-To: <1293466527678-3165189.post@n4.nabble.com> References: <1293455047868-3164964.post@n4.nabble.com> <1293459350773-3165030.post@n4.nabble.com> <1293466527678-3165189.post@n4.nabble.com> Message-ID: <1293479092698-3165386.post@n4.nabble.com> I don't understand python so I don't know what commands in the join.py file carries out the action of joining the PDFs. I think that this person's approach is just to use the action that Automator uses which is executing that join.py program. You can open that program in a text editor at the following location /System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py and poke around and see how it works. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Join-many-PDF-into-one-tp3164964p3165386.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Mon Dec 27 15:06:38 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 27 Dec 2010 14:06:38 -0600 Subject: iOS Interface Design In-Reply-To: <535AC6D1-2A82-4384-A1F9-04DAF4D32E53@verizon.net> References: <535AC6D1-2A82-4384-A1F9-04DAF4D32E53@verizon.net> Message-ID: <4D18F1CE.2000804@hyperactivesw.com> Colin Holgate wrote: > Where do you go to get the 4.5.3 builds? If you are on the developer list they are announced there with links. Only the final releases show up in your account. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jmyepes at mac.com Mon Dec 27 17:24:52 2010 From: jmyepes at mac.com (JosepM) Date: Mon, 27 Dec 2010 14:24:52 -0800 (PST) Subject: Join many PDF into one In-Reply-To: <1293479092698-3165386.post@n4.nabble.com> References: <1293455047868-3164964.post@n4.nabble.com> <1293459350773-3165030.post@n4.nabble.com> <1293466527678-3165189.post@n4.nabble.com> <1293479092698-3165386.post@n4.nabble.com> Message-ID: <1293488692524-3165543.post@n4.nabble.com> Thanks Martin :) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Join-many-PDF-into-one-tp3164964p3165543.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Mon Dec 27 18:07:27 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 28 Dec 2010 00:07:27 +0100 Subject: Join many PDF into one In-Reply-To: <1293479092698-3165386.post@n4.nabble.com> References: <1293455047868-3164964.post@n4.nabble.com> <1293459350773-3165030.post@n4.nabble.com> <1293466527678-3165189.post@n4.nabble.com> <1293479092698-3165386.post@n4.nabble.com> Message-ID: Hi, I have a little app created with Automator. It runs as a standalone app and joins one-page PDF files (and any other one-page picture files) into 1 PDF file. Send me an e-mail and I'll send it in a reply. You should be able to tell the Finder to open a number of files with this app from within Revolution. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 27 dec 2010, at 20:44, Martin Koob wrote: > > I don't understand python so I don't know what commands in the join.py file > carries out the action of joining the PDFs. I think that this person's > approach is just to use the action that Automator uses which is executing > that join.py program. You can open that program in a text editor at the > following location > /System/Library/Automator/Combine PDF > Pages.action/Contents/Resources/join.py > and poke around and see how it works. > > Martin From revdev at pdslabs.net Tue Dec 28 04:55:10 2010 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 28 Dec 2010 01:55:10 -0800 Subject: RevOnline: New version of Shell Command Help Message-ID: <4D19B3FE.4040907@pdslabs.net> Hi folks, I just uploaded a new version of the Shell() Command Help plugin. New features: - Search for words in the displayed help text. - Print the displayed help text. - Use arrow keys to retrieve previous commands (like the LC message box). Enjoy! -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From bill at bluewatermaritime.com Tue Dec 28 07:38:47 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Tue, 28 Dec 2010 08:38:47 -0400 Subject: Was: revMail and Bcc - now: How do you contact the mothership? Message-ID: I was thinking about my problem with the livecode command revmail not having the ability to "BCC" and the livecode command revGOURL which it says in the dictionary that we shouldn't use and my question is how do you contact the mother ship? How do you let the people who we bought livecode from know that maybe revMail should have the ability to "BCC"? I use another program "Valentina" and the owners of that company personally answer emails and make changes in the code for the next release if someone makes a request. They even have a special repository of suggestions for the program (Mantis). I don't think we should have to pay extra money for that privilege either (I've received all the emails requesting that I send money to be part of a developer program). Don't get me wrong though, I love RunRev and this list but I was just wondering... On Mon, Dec 27, 2010 at 12:42 PM, william humphrey < bill at bluewatermaritime.com> wrote: > Thank you. I will search on the internet for this except that it isn't > really a solution because then everyone that uses my program would also have > to install this unix thing. It would be easier if RevMail just had another > parameter for the BCC. > > > On Mon, Dec 27, 2010 at 12:39 PM, Pierre Sahores wrote: > >> I should have say "SendMail" the unix demon, not (Apple) Mail at all... >> >> D?but du message r?exp?di? : >> >> > De : Pierre Sahores >> > Date : 27 d?cembre 2010 17:35:22 HNEC >> > ? : How to use LiveCode >> > Cc : Pierre Sahores >> > Objet : R?p : revMail and Bcc >> > >> > If mail is installed (need to be !), it can work from your own (OSX or >> Linux) box as well. >> > >> > Best, >> > >> > Pierre >> > >> > Le 27 d?c. 2010 ? 17:25, william humphrey a ?crit : >> > >> >> The problem with that lesson is that it is for a running server. So if >> >> you're just running your regular old computer the shell commands do >> nothing. >> >> At least the RunRev folks see that BCC is important. >> >> _______________________________________________ >> >> use-livecode mailing list >> >> use-livecode at lists.runrev.com >> >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> > >> > -- >> > Pierre Sahores >> > mobile : (33) 6 03 95 77 70 >> > >> > www.woooooooords.com >> > www.sahores-conseil.com >> > >> > >> > >> > >> > >> >> -- >> Pierre Sahores >> mobile : (33) 6 03 95 77 70 >> >> www.woooooooords.com >> www.sahores-conseil.com >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.bluewatermaritime.com > -- http://www.bluewatermaritime.com From shaosean at wehostmacs.com Tue Dec 28 12:50:26 2010 From: shaosean at wehostmacs.com (Shao Sean) Date: Tue, 28 Dec 2010 12:50:26 -0500 Subject: Was: revMail and Bcc - now: How do you contact the mothership? Message-ID: <3AB9C446-DB8B-419B-98B7-9E546A3953A4@wehostmacs.com> support at runrev.com From jimschaubeck at yahoo.com Tue Dec 28 14:21:41 2010 From: jimschaubeck at yahoo.com (Jim Schaubeck) Date: Tue, 28 Dec 2010 11:21:41 -0800 Subject: Join many PDF into one In-Reply-To: References: <1293455047868-3164964.post@n4.nabble.com> <1293459350773-3165030.post@n4.nabble.com> <1293466527678-3165189.post@n4.nabble.com> <1293479092698-3165386.post@n4.nabble.com> Message-ID: <4D1A38C5.5070901@yahoo.com> Nice app...I could *really* use that capability (to combine scans) but my stores are Windows :-) ______________________________________________ jim schaubeck 714-321-4499 On 12/27/2010 3:07 PM, Mark Schonewille wrote: > Hi, > > I have a little app created with Automator. It runs as a standalone app and joins one-page PDF files (and any other one-page picture files) into 1 PDF file. Send me an e-mail and I'll send it in a reply. You should be able to tell the Finder to open a number of files with this app from within Revolution. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce > > On 27 dec 2010, at 20:44, Martin Koob wrote: > >> I don't understand python so I don't know what commands in the join.py file >> carries out the action of joining the PDFs. I think that this person's >> approach is just to use the action that Automator uses which is executing >> that join.py program. You can open that program in a text editor at the >> following location >> /System/Library/Automator/Combine PDF >> Pages.action/Contents/Resources/join.py >> and poke around and see how it works. >> >> Martin > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bill at bluewatermaritime.com Tue Dec 28 14:40:24 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Tue, 28 Dec 2010 15:40:24 -0400 Subject: Was: revMail and Bcc - now: How do you contact the mothership? In-Reply-To: <3AB9C446-DB8B-419B-98B7-9E546A3953A4@wehostmacs.com> References: <3AB9C446-DB8B-419B-98B7-9E546A3953A4@wehostmacs.com> Message-ID: Thanks. I've never tried it. I'll send them a suggestion for the revMail function to be more useful. On Tue, Dec 28, 2010 at 1:50 PM, Shao Sean wrote: > support at runrev.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.bluewatermaritime.com From sarah.reichelt at gmail.com Tue Dec 28 17:11:54 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 29 Dec 2010 08:11:54 +1000 Subject: Was: revMail and Bcc - now: How do you contact the mothership? In-Reply-To: References: Message-ID: <294E8151-2124-45B9-84AC-45547FE70E07@gmail.com> The new command to use instead of revGoURL is launch URL. Try this with a mailto link and see if it does what you heed. Cheers, Sarah Sent from my iPad On 28/12/2010, at 10:38 PM, william humphrey wrote: > I was thinking about my problem with the livecode command revmail not having > the ability to "BCC" and the livecode command revGOURL which it says in the > dictionary that we shouldn't use and my question is how do you contact the > mother ship? How do you let the people who we bought livecode from know that > maybe revMail should have the ability to "BCC"? I use another program > "Valentina" and the owners of that company personally answer emails and make > changes in the code for the next release if someone makes a request. They > even have a special repository of suggestions for the program (Mantis). > > I don't think we should have to pay extra money for that privilege either > (I've received all the emails requesting that I send money to be part of a > developer program). Don't get me wrong though, I love RunRev and this list > but I was just wondering... From mcgrath3 at mac.com Tue Dec 28 17:58:21 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 28 Dec 2010 17:58:21 -0500 Subject: extract by delimiter Message-ID: I am stuck. I've been trying to extract text from an RSS feed and so far I have the information I need but am stuck at extracting it into a better format. Here is what I have so far: location city="Bethel Park" region="PA" country="United States" units temperature="F" distance="mi" pressure="in" speed="mph" wind chill="21" direction="250" speed="10" atmosphere humidity="51" visibility="10" pressure="30.04" rising="1" astronomy sunrise="7:39 am" sunset="4:58 pm" condition text="Cloudy" code="26" temp="30" date="Tue, 28 Dec 2010 4:52 pm EST" forecast day="Tue" date="28 Dec 2010" low="22" high="30" text="Mostly Cloudy" code="27" forecast day="Wed" date="29 Dec 2010" low="25" high="32" text="Mostly Cloudy" code="28" I can't delimit with space as "location city" has a space in it. I can't use = because then I get " "Bethel Park" region" instead of just "Bethel Park" I am trying to figure out how to exclude items in between " " and then replace space with "_" and then use space to delimit. Any ideas on how to exclude between " "s ? Thanks for your help, -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net From psahores at free.fr Tue Dec 28 18:15:04 2010 From: psahores at free.fr (Pierre Sahores) Date: Wed, 29 Dec 2010 00:15:04 +0100 Subject: extract by delimiter In-Reply-To: References: Message-ID: <91B7A318-CCD2-4698-A29B-420FC0B4789F@free.fr> Tom, Did you try to open your RSS feed source in using TextWrangler (free) and test what can be seen in picking the "show tab stops" and "show invisibles" items from the "text options" menu item ? There is certainly something used as an (invisible?) delimiter by the RSS readers... HTH Pierre Le 28 d?c. 2010 ? 23:58, Thomas McGrath III a ?crit : > I am stuck. I've been trying to extract text from an RSS feed and so far I have the information I need but am stuck at extracting it into a better format. Here is what I have so far: > > location city="Bethel Park" region="PA" country="United States" > units temperature="F" distance="mi" pressure="in" speed="mph" > wind chill="21" direction="250" speed="10" > atmosphere humidity="51" visibility="10" pressure="30.04" rising="1" > astronomy sunrise="7:39 am" sunset="4:58 pm" > condition text="Cloudy" code="26" temp="30" date="Tue, 28 Dec 2010 4:52 pm EST" > forecast day="Tue" date="28 Dec 2010" low="22" high="30" text="Mostly Cloudy" code="27" > forecast day="Wed" date="29 Dec 2010" low="25" high="32" text="Mostly Cloudy" code="28" > > I can't delimit with space as "location city" has a space in it. > I can't use = because then I get " "Bethel Park" region" instead of just "Bethel Park" > > I am trying to figure out how to exclude items in between " " and then replace space with "_" and then use space to delimit. > > Any ideas on how to exclude between " "s ? > > Thanks for your help, > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From DunbarX at aol.com Tue Dec 28 18:19:02 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Tue, 28 Dec 2010 18:19:02 EST Subject: extract by delimiter Message-ID: Tony. Isnt every complex "item" here delimited by the second quote? I t seems you could parse the data that way. Craig From warren at warrensweb.us Tue Dec 28 18:21:03 2010 From: warren at warrensweb.us (Warren Samples) Date: Tue, 28 Dec 2010 17:21:03 -0600 Subject: extract by delimiter In-Reply-To: References: Message-ID: <1293578463.5218.38.camel@mint-i7> On Tue, 2010-12-28 at 17:58 -0500, Thomas McGrath III wrote: > I am stuck. I've been trying to extract text from an RSS feed and so far I have the information I need but am stuck at extracting it into a better format. Here is what I have so far: > > location city="Bethel Park" region="PA" country="United States" > units temperature="F" distance="mi" pressure="in" speed="mph" > wind chill="21" direction="250" speed="10" > atmosphere humidity="51" visibility="10" pressure="30.04" rising="1" > astronomy sunrise="7:39 am" sunset="4:58 pm" > condition text="Cloudy" code="26" temp="30" date="Tue, 28 Dec 2010 4:52 pm EST" > forecast day="Tue" date="28 Dec 2010" low="22" high="30" text="Mostly Cloudy" code="27" > forecast day="Wed" date="29 Dec 2010" low="25" high="32" text="Mostly Cloudy" code="28" > > I can't delimit with space as "location city" has a space in it. > I can't use = because then I get " "Bethel Park" region" instead of just "Bethel Park" > > I am trying to figure out how to exclude items in between " " and then replace space with "_" and then use space to delimit. > > Any ideas on how to exclude between " "s ? > > Thanks for your help, > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net You could set the itemDel to " and add a counter to track odd/even and delete/modify as appropriate using for each line and for each item. Not sure how efficient this is, but it's an idea :) Warren From coiin at verizon.net Tue Dec 28 18:25:58 2010 From: coiin at verizon.net (Colin Holgate) Date: Tue, 28 Dec 2010 18:25:58 -0500 Subject: extract by delimiter In-Reply-To: References: Message-ID: <8656F695-7435-4822-9CDA-F64AC7CF091D@verizon.net> Can you say where the RSS feed is located? It almost looks like the problem could have been fixed at an earlier stage. From revmaillist at positivme.com Tue Dec 28 18:32:41 2010 From: revmaillist at positivme.com (Thunder) Date: Tue, 28 Dec 2010 15:32:41 -0800 (PST) Subject: glx2 In-Reply-To: References: Message-ID: <1293579161445-3166611.post@n4.nabble.com> Some Info : http://runrev.com/newsletter/november/issue37/newsletter4.php http://runrev.com/newsletter/october/issue35/newsletter2.php http://runrev.com/newsletter/september/issue33/newsletter1.php -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/glx2-tp3082801p3166611.html Sent from the Revolution - User mailing list archive at Nabble.com. From DunbarX at aol.com Tue Dec 28 18:35:29 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Tue, 28 Dec 2010 18:35:29 EST Subject: extract by delimiter Message-ID: <1647.a86a296.3a4bce41@aol.com> Tony, If you have a field "data" with your text, and a fld "accum", then in a button somewhere: on mouseUp put fld "data" into temp set the itemdelimiter to quote repeat with y = 1 to the number of lines of temp put item 1 to 2 of line y of temp & ":" & item 3 to 4 of line y of temp & ":" & item 5 to 6 of line y of temp into line y of accum end repeat replace quote with empty in accum put accum into fld "accum" end mouseUp You get your data parsed with colons. I tried to parse it with Colins, but that feature is not yet supported. Craig From coiin at verizon.net Tue Dec 28 18:41:51 2010 From: coiin at verizon.net (Colin Holgate) Date: Tue, 28 Dec 2010 18:41:51 -0500 Subject: extract by delimiter In-Reply-To: <1647.a86a296.3a4bce41@aol.com> References: <1647.a86a296.3a4bce41@aol.com> Message-ID: On Dec 28, 2010, at 6:35 PM, DunbarX at aol.com wrote: > You get your data parsed with colons. I tried to parse it with Colins, but > that feature is not yet supported. Being not so tall, I'm a semicolin. From DunbarX at aol.com Tue Dec 28 18:42:42 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Tue, 28 Dec 2010 18:42:42 EST Subject: extract by delimiter Message-ID: <1a7c.45b5bbec.3a4bcff2@aol.com> I see that more items need to be extracted in some lines. I see that leading spaces in some of the colon delimited items need to be removed. But the question is this: What is the best way to attack? The fun data crunching LC way, or trying, as almost everyone else has suggested, looking at the source data in a differently? I like the first, but that is because I am a hobbyist. Craig Newman From mwieder at ahsoftware.net Tue Dec 28 18:59:44 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 28 Dec 2010 15:59:44 -0800 Subject: extract by delimiter In-Reply-To: References: <1647.a86a296.3a4bce41@aol.com> Message-ID: <168937860109.20101228155944@ahsoftware.net> Colin- Tuesday, December 28, 2010, 3:41:51 PM, you wrote: > On Dec 28, 2010, at 6:35 PM, DunbarX at aol.com wrote: >> You get your data parsed with colons. I tried to parse it with Colins, but >> that feature is not yet supported. > Being not so tall, I'm a semicolin. If you were supported you'd be taller. -- -Mark Wieder mwieder at ahsoftware.net From coiin at verizon.net Tue Dec 28 19:00:47 2010 From: coiin at verizon.net (Colin Holgate) Date: Tue, 28 Dec 2010 19:00:47 -0500 Subject: extract by delimiter In-Reply-To: References: Message-ID: <70AE9F52-03B2-4193-ACA3-FC62826C6354@verizon.net> Try this as a starting point: replace quote&space with quote&return in fld 1 Now, with = as the itemdelimiter, the first item on each line is the label, and the second item is the value. From rev at nonsanity.com Tue Dec 28 19:00:29 2010 From: rev at nonsanity.com (Nonsanity) Date: Tue, 28 Dec 2010 19:00:29 -0500 Subject: extract by delimiter In-Reply-To: References: Message-ID: If that's the block of text you have to work with, set itemdel to quote and use the odd items (delete last char) for the keys of an array, and the even items as the values. set itemdel to quote repeat with a = 1 to the number of items in mydata step 2 put word 1 to -1 of item a of mydata into thekey delete last char of thekey put item a+1 of mydata into myarray[ thekey ] end repeat This code doesn't handle the keys that are the same, but it should give you the idea. ~ Chris Innanen ~ Nonsanity On Tue, Dec 28, 2010 at 5:58 PM, Thomas McGrath III wrote: > I am stuck. I've been trying to extract text from an RSS feed and so far I > have the information I need but am stuck at extracting it into a better > format. Here is what I have so far: > > location city="Bethel Park" region="PA" country="United States" > units temperature="F" distance="mi" pressure="in" speed="mph" > wind chill="21" direction="250" speed="10" > atmosphere humidity="51" visibility="10" pressure="30.04" rising="1" > astronomy sunrise="7:39 am" sunset="4:58 pm" > condition text="Cloudy" code="26" temp="30" date="Tue, 28 Dec 2010 4:52 > pm EST" > forecast day="Tue" date="28 Dec 2010" low="22" high="30" text="Mostly > Cloudy" code="27" > forecast day="Wed" date="29 Dec 2010" low="25" high="32" text="Mostly > Cloudy" code="28" > > I can't delimit with space as "location city" has a space in it. > I can't use = because then I get " "Bethel Park" region" instead of just > "Bethel Park" > > I am trying to figure out how to exclude items in between " " and then > replace space with "_" and then use space to delimit. > > Any ideas on how to exclude between " "s ? > > Thanks for your help, > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jimaultwins at yahoo.com Tue Dec 28 19:11:10 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Tue, 28 Dec 2010 16:11:10 -0800 Subject: extract by delimiter In-Reply-To: References: Message-ID: <1EB7E9B9-606C-4CE8-BBF7-EEF5AE2C3A45@yahoo.com> Try this approach, since this is an XML-like format that you need to unwind to database style. every line begins with word 1 as a category then a string of attributes as attrib="string with spaces" --------- working code --------------- on parseToArray put fld 1 into block --your data set the itemDel to "=" repeat for each line LNN in block put word 1 of LNN into cat put word 2 to -1 of LNN into attributes replace (quote&space) with (quote&cr) in attributes --because it is like XML, we need to... if cat = "forecast" then get line 1 of attributes put char 2 to -2 of item 2 of IT after cat --making cat unique for an array delete line 1 of attributes end if -- now every pair is on a separate line --build an array of unique keys using 'cat' repeat for each line ATR in attributes put char 2 to -2 of item 2 of ATR into arrayStor[ (cat && word 1 of item 1 of ATR) ] end repeat end repeat combine arrayStor using cr and "^" ;put arrayStor end parseToArray ------------------------- output astronomy sunrise^7:39 am astronomy sunset^4:58 pm atmosphere humidity^51 atmosphere pressure^30.04 atmosphere rising^1 atmosphere visibility^10 condition code^26 condition date^Tue, 28 Dec 2010 4:52 pm EST condition temp^30 condition text^Cloudy forecastTue code^27 forecastTue date^28 Dec 2010 forecastTue high^30 forecastTue low^22 forecastTue text^Mostly Cloudy forecastWed code^28 forecastWed date^29 Dec 2010 forecastWed high^32 forecastWed low^25 forecastWed text^Mostly Cloudy location city^Bethel Park location country^United States location region^PA units distance^mi units pressure^in units speed^mph units temperature^F wind chill^21 wind direction^250 wind speed^10 On Dec 28, 2010, at 2:58 PM, Thomas McGrath III wrote: > I am stuck. I've been trying to extract text from an RSS feed and so > far I have the information I need but am stuck at extracting it into > a better format. Here is what I have so far: > > location city="Bethel Park" region="PA" country="United States" > units temperature="F" distance="mi" pressure="in" speed="mph" > wind chill="21" direction="250" speed="10" > atmosphere humidity="51" visibility="10" pressure="30.04" > rising="1" > astronomy sunrise="7:39 am" sunset="4:58 pm" > condition text="Cloudy" code="26" temp="30" date="Tue, 28 Dec > 2010 4:52 pm EST" > forecast day="Tue" date="28 Dec 2010" low="22" high="30" > text="Mostly Cloudy" code="27" > forecast day="Wed" date="29 Dec 2010" low="25" high="32" > text="Mostly Cloudy" code="28" > > I can't delimit with space as "location city" has a space in it. > I can't use = because then I get " "Bethel Park" region" instead of > just "Bethel Park" Jim Ault Las Vegas From bonnmike at gmail.com Tue Dec 28 19:11:44 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 28 Dec 2010 17:11:44 -0700 Subject: extract by delimiter In-Reply-To: <8656F695-7435-4822-9CDA-F64AC7CF091D@verizon.net> References: <8656F695-7435-4822-9CDA-F64AC7CF091D@verizon.net> Message-ID: Its not pretty, but will this help? put field 1 into tText -- where I put your sample data put "=" & quote into tReplace replace tReplace with "=" in tText replace quote with cr in tText filter tText without empty if the last char of tText is cr then delete the last char of tText -- at this point tText should have a much easier to parse set of lines -- depending on what you want to do with it, might need to remove pre-spaces but thats easy enough On Tue, Dec 28, 2010 at 4:25 PM, Colin Holgate wrote: > Can you say where the RSS feed is located? It almost looks like the problem > could have been fixed at an earlier stage. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Tue Dec 28 19:12:49 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 28 Dec 2010 17:12:49 -0700 Subject: extract by delimiter In-Reply-To: References: <8656F695-7435-4822-9CDA-F64AC7CF091D@verizon.net> Message-ID: Wow, 300 replies while I was typing! On Tue, Dec 28, 2010 at 5:11 PM, Mike Bonner wrote: > Its not pretty, but will this help? > > put field 1 into tText -- where I put your sample data > put "=" & quote into tReplace > replace tReplace with "=" in tText > replace quote with cr in tText > filter tText without empty > if the last char of tText is cr then delete the last char of tText > > -- at this point tText should have a much easier to parse set of lines > -- depending on what you want to do with it, might need to remove > pre-spaces but thats easy enough > > On Tue, Dec 28, 2010 at 4:25 PM, Colin Holgate wrote: > >> Can you say where the RSS feed is located? It almost looks like the >> problem could have been fixed at an earlier stage. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From massung at gmail.com Tue Dec 28 19:47:02 2010 From: massung at gmail.com (Jeffrey Massung) Date: Tue, 28 Dec 2010 17:47:02 -0700 Subject: extract by delimiter In-Reply-To: References: Message-ID: <3C1F908F-BA0D-4508-AAB2-7284BC3FEB05@gmail.com> On Dec 28, 2010, at 3:58 PM, Thomas McGrath III wrote: > I am stuck. I've been trying to extract text from an RSS feed and so far I have the information I need but am stuck at extracting it into a better format. Here is what I have so far: > > location city="Bethel Park" region="PA" country="United States" So, most others have sent you excellent suggestions. I just find it funny that the little town you mention just happened to be the place I was born. ;-) Jeff M. From mwieder at ahsoftware.net Tue Dec 28 19:50:33 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 28 Dec 2010 16:50:33 -0800 Subject: extract by delimiter In-Reply-To: <3C1F908F-BA0D-4508-AAB2-7284BC3FEB05@gmail.com> References: <3C1F908F-BA0D-4508-AAB2-7284BC3FEB05@gmail.com> Message-ID: <75940908890.20101228165033@ahsoftware.net> Jeff- Tuesday, December 28, 2010, 4:47:02 PM, you wrote: > So, most others have sent you excellent suggestions. I just find > it funny that the little town you mention just happened to be the > place I was born. ;-) You could probably save Tom a lot of trouble if you just tell him what the weather's like... -- -Mark Wieder mwieder at ahsoftware.net From lfredricks at proactive-intl.com Tue Dec 28 19:56:28 2010 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue, 28 Dec 2010 16:56:28 -0800 Subject: Update Your Megabundle 2009 - Limited Time Offer Message-ID: <216963F67C654557B4A583280C3508A1@GATEWAY> Hello all, If you participated in the Megabundle 2009 and didn't get our heads up note, well, take note :-) We are running a special offer on franklin3d.com to do the following, which includes 12 months of updates for each product: - Update Your Valentina for LiveCode to ADK+. This adds Valentina for LiveCode (Linux) plus a license for Valentina Admin. - Updates Your Franklin 3D Pro for 12 Months. 12 months worth of updates. We did a massive 1.7.1 update a few months ago, more will come in 2011. - Franklin Audio Pro. We've been including this with Franklin 3D Pro, so now you can get it with this update. - Valentina Office Server (Unlimited Connections). This is our office server product, no limits on number of simultaneous connections. VoS incorporates Valentina Reports, so its possible to create very sophisticated web applications that generate graphical reports from your data. VoS Unlimited includes a free copy of Valentina Studio Pro ($199 value). This is a very limited time offer - all these products new would cost over $2196, but in the spirit of '09, it only costs $299. Additional Info: http://www.franklin3d.com/news/110-livecode-megabundle-2009-update Order Info: http://franklin3d.com/store?page=shop.product_details&flypage=flypage.tpl&pr oduct_id=43&category_id=16 Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From RevList at CreaTECHSol.com Tue Dec 28 21:21:21 2010 From: RevList at CreaTECHSol.com (RevList) Date: Tue, 28 Dec 2010 18:21:21 -0800 Subject: URL(tUrl) inconsitencies in iOS Simulator Message-ID: I am working on an application for tracking mileage. In my app I determine the longitude and latitude of a site and then calclulate the driving distance between them using the GoogleMaps API. A snippet of the code is like this, with a populated pOrigin and pDestination This works 100% of the time in the IDE, but only occasionally when I simulate the operation If I replace the first two lines of code with Put fld OriginLat & comma & fld OriginLong into pOrigin Put fld DestinationLat & comma & fld DestinationLong into pDestination it Never works in the simulator, but 100% of the time in the IDE. Any ideas? I am at a road block now Put "49.3447,-123.08076" into pOrigin Put "49.881421,-119.44365" into pDestination Put "http://maps.googleapis.com/maps/api/directions/xml?origin=" & pOrigin & "&destination=" & pDestination & "&sensor=false" into tUrl PUT URL(tUrl) into tReply Put tReply ****************************************** Stewart Lynch CreaTECH Solutions slynch at CreaTECHSol.com 604.484.8499 Skype:StewartLynch There are only 10 kinds of people. Those who understand binary and those who don't. ****************************************** From coiin at verizon.net Tue Dec 28 21:32:10 2010 From: coiin at verizon.net (Colin Holgate) Date: Tue, 28 Dec 2010 21:32:10 -0500 Subject: URL(tUrl) inconsitencies in iOS Simulator In-Reply-To: References: Message-ID: <322A29FD-92F4-44CF-9067-43654D8C218C@verizon.net> Are you using your Google Maps API key? The query will work in a browser, or I guess from the message box, but I think that for it to be from an application you would need to be using the key that you were given in some way. From mcgrath3 at mac.com Tue Dec 28 22:32:26 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 28 Dec 2010 22:32:26 -0500 Subject: extract by delimiter In-Reply-To: <8656F695-7435-4822-9CDA-F64AC7CF091D@verizon.net> References: <8656F695-7435-4822-9CDA-F64AC7CF091D@verizon.net> Message-ID: <5887A905-C60F-4F05-A95F-6EEAF96CE7A8@mac.com> put url "http://weather.yahooapis.com/forecastrss?w=22664069&u=f" into field 1 gets an xml like page of data. So I just extracted the yweather: info I needed: example: Then I replace "<" with "" in field 1 etc till I got the data that I was left with before -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Dec 28, 2010, at 6:25 PM, Colin Holgate wrote: > Can you say where the RSS feed is located? It almost looks like the problem could have been fixed at an earlier stage. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Tue Dec 28 22:45:58 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 28 Dec 2010 22:45:58 -0500 Subject: extract by delimiter In-Reply-To: <1a7c.45b5bbec.3a4bcff2@aol.com> References: <1a7c.45b5bbec.3a4bcff2@aol.com> Message-ID: YES, that did extract what I needed and I can easily clean up the spaces and extra data. I had to read thru that five times before I saw the pattern and why it was working. At first it was like magic.... Now I have what I need: location city="Bethel Park" region="PA" country="United States" units temperature="F" distance="mi" pressure="in" wind chill="21" direction="250" speed="10" atmosphere humidity="51" visibility="10" pressure="30.04" astronomy sunrise="7:39 am" sunset="4:58 pm" condition text="Cloudy" code="26" temp="30" forecast day="Tue" date="28 Dec 2010" low="22" forecast day="Wed" date="29 Dec 2010" low="25" Now I can do something with this data. Thanks so much Craig and everyone else for the suggestions. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Dec 28, 2010, at 6:42 PM, dunbarx at aol.com wrote: > I see that more items need to be extracted in some lines. I see that > leading spaces in some of the colon delimited items need to be removed. > > But the question is this: What is the best way to attack? The fun data > crunching LC way, or trying, as almost everyone else has suggested, looking at > the source data in a differently? I like the first, but that is because I am > a hobbyist. > > Craig Newman > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Tue Dec 28 22:58:50 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 28 Dec 2010 22:58:50 -0500 Subject: extract by delimiter In-Reply-To: <3C1F908F-BA0D-4508-AAB2-7284BC3FEB05@gmail.com> References: <3C1F908F-BA0D-4508-AAB2-7284BC3FEB05@gmail.com> Message-ID: Jeff, That's awesome. I live there now. Where do you live now? (Don't tell me NJ ? I grew up in Jersey 30 years ago) -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Dec 28, 2010, at 7:47 PM, Jeffrey Massung wrote: > > On Dec 28, 2010, at 3:58 PM, Thomas McGrath III wrote: > >> I am stuck. I've been trying to extract text from an RSS feed and so far I have the information I need but am stuck at extracting it into a better format. Here is what I have so far: >> >> location city="Bethel Park" region="PA" country="United States" > > > > So, most others have sent you excellent suggestions. I just find it funny that the little town you mention just happened to be the place I was born. ;-) > > Jeff M. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Tue Dec 28 23:12:08 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 28 Dec 2010 23:12:08 -0500 Subject: extract by delimiter In-Reply-To: <75940908890.20101228165033@ahsoftware.net> References: <3C1F908F-BA0D-4508-AAB2-7284BC3FEB05@gmail.com> <75940908890.20101228165033@ahsoftware.net> Message-ID: <5D25C32E-A595-485F-9184-3C3D262F941F@mac.com> By the way I tried all of the examples posted to better see what I was missing. I'm a visual oriented person and so I went with steps I could see. Only one problem in removing leading spaces, I took the lazy way out after getting confused again with multiple repeat loops etc. So here is what I decided to use for now: on mouseUp put "http://weather.yahooapis.com/forecastrss?w=22664069&u=f" into tTempURL put url tTempURL into field "Source" put field 1 into tTemp filter tTemp with "*yweather:*" replace "<" with "" in tTemp replace "/>" with "" in tTemp replace "yweather:" with "" in tTemp replace quote&space with quote&cr in tTemp -- Did the trick repeat for 5 -- Lazy way to catch leading spaces repeat with x = 1 to the number of lines in tTemp if char 1 of line x of tTemp is space then delete char 1 of line x of tTemp if line x of tTemp is quote then delete line x of tTemp if line x of tTemp is "" then delete line x of tTemp end repeat end repeat if last line of tTemp is "" then delete last line of tTemp put tTemp into field "Result" end mouseUp I don't mind the quotes in the Result for my other code and I get a nice list of the info I need. Now I need to write a LAT LON converter to WOEID and or a ZIP Code to WOEID (Yahoo ID scheme) w=22664069 is for Bethel Park PA -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Dec 28, 2010, at 7:50 PM, Mark Wieder wrote: > Jeff- > > Tuesday, December 28, 2010, 4:47:02 PM, you wrote: > >> So, most others have sent you excellent suggestions. I just find >> it funny that the little town you mention just happened to be the >> place I was born. ;-) > > You could probably save Tom a lot of trouble if you just tell him what > the weather's like... > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Tue Dec 28 23:26:22 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 28 Dec 2010 23:26:22 -0500 Subject: URL(tUrl) inconsitencies in iOS Simulator In-Reply-To: <322A29FD-92F4-44CF-9067-43654D8C218C@verizon.net> References: <322A29FD-92F4-44CF-9067-43654D8C218C@verizon.net> Message-ID: <018BFEBC-0D38-4F7E-9354-6BE735336C9D@mac.com> Also check the letter case since iOS is case sensitive. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Dec 28, 2010, at 9:32 PM, Colin Holgate wrote: > Are you using your Google Maps API key? The query will work in a browser, or I guess from the message box, but I think that for it to be from an application you would need to be using the key that you were given in some way. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From RevList at CreaTECHSol.com Tue Dec 28 23:53:16 2010 From: RevList at CreaTECHSol.com (RevList) Date: Tue, 28 Dec 2010 20:53:16 -0800 Subject: URL(tUrl) inconsitencies in iOS Simulator In-Reply-To: <322A29FD-92F4-44CF-9067-43654D8C218C@verizon.net> References: <322A29FD-92F4-44CF-9067-43654D8C218C@verizon.net> Message-ID: How to use LiveCode on December 28, 2010 at 6:32 PM -0800 wrote: >Are you using your Google Maps API key? The query will work in a browser, >or I guess from the message box, but I think that for it to be from an >application you would need to be using the key that you were given in >some way. I didn't think I needed a key. Works all the time from the LiveCode IDE. I use a Yahoo Maps API for another portion of my desktop app that does require a key, but the GoogleMaps API does not. Perhaps there is something about the iPhone simulator that requiires a GoogleMaps API key. I think I might see if I can do the same thing with the YahooMaps key. How can I find any errors when running the simulator? I get nothing so I don't know where it is choking. ****************************************** Stewart Lynch CreaTECH Solutions slynch at CreaTECHSol.com 604.484.8499 Skype:StewartLynch There are only 10 kinds of people. Those who understand binary and those who don't. ****************************************** From RevList at CreaTECHSol.com Tue Dec 28 23:54:40 2010 From: RevList at CreaTECHSol.com (RevList) Date: Tue, 28 Dec 2010 20:54:40 -0800 Subject: URL(tUrl) inconsitencies in iOS Simulator In-Reply-To: <018BFEBC-0D38-4F7E-9354-6BE735336C9D@mac.com> References: <018BFEBC-0D38-4F7E-9354-6BE735336C9D@mac.com> Message-ID: How to use LiveCode on December 28, 2010 at 8:26 PM -0800 wrote: >Also check the letter case since iOS is case sensitive. Yes, I am aware of that and have checked all cases. Strange that it works once and not again. Perhaps it does have something to do with a missing API key. I will investigate further. ****************************************** Stewart Lynch CreaTECH Solutions slynch at CreaTECHSol.com 604.484.8499 Skype:StewartLynch There are only 10 kinds of people. Those who understand binary and those who don't. ****************************************** From rev at nonsanity.com Wed Dec 29 00:12:19 2010 From: rev at nonsanity.com (Nonsanity) Date: Wed, 29 Dec 2010 00:12:19 -0500 Subject: extract by delimiter In-Reply-To: <5D25C32E-A595-485F-9184-3C3D262F941F@mac.com> References: <3C1F908F-BA0D-4508-AAB2-7284BC3FEB05@gmail.com> <75940908890.20101228165033@ahsoftware.net> <5D25C32E-A595-485F-9184-3C3D262F941F@mac.com> Message-ID: I've tested both Yahoo and Google's (undocumented) REST APIs for weather, but settled on NOAA's: http://www.weather.gov/forecasts/xml/sample_products/browser_interface/ndfdXMLclient.php?lat=38.99&lon=-77.01&product=glance&begin=2010-12-28T00:00:00&end=2011-01-03T00:00:00<%20http://www.weather.gov/forecasts/xml/sample_products/browser_interface/ndfdXMLclient.php?lat=38.99&lon=-77.01&product=glance&begin=2010-12-28T00:00:00&end=2011-01-03T00:00:00> Note that first the output defines one or more time series with a name like "k-p24h-n5-1", then has sections for each of the results. The URL above uses the "glance" setting, so it always gives the same result categories. The NOAA page on the API goes into more detail about what other data types you can fetch. The thing to note is that the time series name is human readable. "p24h" means 24 hours per sample, and "n5" means 5 samples. Nice thing is, it takes raw lat/lon. No conversion to zip code or other location metric. I've already got a nice temp chart going. Just don't fetch the data more than once an hour in the final product - There's no point, as it only updates once per hour on the 45's. ~ Chris Innanen ~ Nonsanity On Tue, Dec 28, 2010 at 11:12 PM, Thomas McGrath III wrote: > By the way I tried all of the examples posted to better see what I was > missing. I'm a visual oriented person and so I went with steps I could see. > Only one problem in removing leading spaces, I took the lazy way out after > getting confused again with multiple repeat loops etc. > > So here is what I decided to use for now: > > on mouseUp > put "http://weather.yahooapis.com/forecastrss?w=22664069&u=f" into > tTempURL > put url tTempURL into field "Source" > put field 1 into tTemp > filter tTemp with "*yweather:*" > replace "<" with "" in tTemp > replace "/>" with "" in tTemp > replace "yweather:" with "" in tTemp > replace quote&space with quote&cr in tTemp -- Did the trick > repeat for 5 -- Lazy way to catch leading spaces > repeat with x = 1 to the number of lines in tTemp > if char 1 of line x of tTemp is space then delete > char 1 of line x of tTemp > if line x of tTemp is quote then delete line x of > tTemp > if line x of tTemp is "" then delete line x of tTemp > end repeat > end repeat > if last line of tTemp is "" then delete last line of tTemp > put tTemp into field "Result" > end mouseUp > > I don't mind the quotes in the Result for my other code and I get a nice > list of the info I need. > > Now I need to write a LAT LON converter to WOEID and or a ZIP Code to WOEID > (Yahoo ID scheme) > > w=22664069 is for Bethel Park PA > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Dec 28, 2010, at 7:50 PM, Mark Wieder wrote: > > > Jeff- > > > > Tuesday, December 28, 2010, 4:47:02 PM, you wrote: > > > >> So, most others have sent you excellent suggestions. I just find > >> it funny that the little town you mention just happened to be the > >> place I was born. ;-) > > > > You could probably save Tom a lot of trouble if you just tell him what > > the weather's like... > > > > -- > > -Mark Wieder > > mwieder at ahsoftware.net > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jimaultwins at yahoo.com Wed Dec 29 01:02:40 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Tue, 28 Dec 2010 22:02:40 -0800 Subject: extract by delimiter In-Reply-To: <5D25C32E-A595-485F-9184-3C3D262F941F@mac.com> References: <3C1F908F-BA0D-4508-AAB2-7284BC3FEB05@gmail.com> <75940908890.20101228165033@ahsoftware.net> <5D25C32E-A595-485F-9184-3C3D262F941F@mac.com> Message-ID: <360BCAA2-2F4F-4321-88FA-67119A1CF32D@yahoo.com> To remove leading and trailing white space (space, tab...) > repeat with x = 1 to the number of lines in tTemp put word 1 to -1 of line x of tTemp into line x of tTemp > end repeat > if line x of tTemp is quote then delete line x of tTemp [use] filter tTemp without quote > if line x of tTemp is "" then delete line x of tTemp [use] filter tTemp without empty > By the way I tried all of the examples posted to better see what I > was missing. I'm a visual oriented person and so I went with steps I > could see. Only one problem in removing leading spaces, I took the > lazy way out after getting confused again with multiple repeat loops > etc. > > So here is what I decided to use for now: > > on mouseUp > put "http://weather.yahooapis.com/forecastrss?w=22664069&u=f" into > tTempURL > put url tTempURL into field "Source" > put field 1 into tTemp > filter tTemp with "*yweather:*" > replace "<" with "" in tTemp > replace "/>" with "" in tTemp > replace "yweather:" with "" in tTemp > replace quote&space with quote&cr in tTemp -- Did the trick > repeat for 5 -- Lazy way to catch leading spaces > repeat with x = 1 to the number of lines in tTemp > if char 1 of line x of tTemp is space then delete char 1 of line > x of tTemp > if line x of tTemp is quote then delete line x of tTemp > if line x of tTemp is "" then delete line x of tTemp > end repeat > end repeat > if last line of tTemp is "" then delete last line of tTemp > put tTemp into field "Result" > end mouseUp > > I don't mind the quotes in the Result for my other code and I get a > nice list of the info I need. > Jim Ault Las Vegas From mcgrath3 at mac.com Wed Dec 29 01:13:17 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 29 Dec 2010 01:13:17 -0500 Subject: extract by delimiter In-Reply-To: <360BCAA2-2F4F-4321-88FA-67119A1CF32D@yahoo.com> References: <3C1F908F-BA0D-4508-AAB2-7284BC3FEB05@gmail.com> <75940908890.20101228165033@ahsoftware.net> <5D25C32E-A595-485F-9184-3C3D262F941F@mac.com> <360BCAA2-2F4F-4321-88FA-67119A1CF32D@yahoo.com> Message-ID: Very nice Jim. Thanks for the tips. I still get hung up sometimes with the 1 to -1 . It's like my mind says isn't that like 0? Ha, and then I laugh and put it in anyway, but it is not the first thing that comes to mind. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Dec 29, 2010, at 1:02 AM, Jim Ault wrote: > To remove leading and trailing white space (space, tab...) > >> repeat with x = 1 to the number of lines in tTemp > > put word 1 to -1 of line x of tTemp into line x of tTemp >> end repeat > > >> if line x of tTemp is quote then delete line x of tTemp > [use] filter tTemp without quote > >> if line x of tTemp is "" then delete line x of tTemp > [use] filter tTemp without empty > > >> By the way I tried all of the examples posted to better see what I was missing. I'm a visual oriented person and so I went with steps I could see. Only one problem in removing leading spaces, I took the lazy way out after getting confused again with multiple repeat loops etc. >> >> So here is what I decided to use for now: >> >> on mouseUp >> put "http://weather.yahooapis.com/forecastrss?w=22664069&u=f" into tTempURL >> put url tTempURL into field "Source" >> put field 1 into tTemp >> filter tTemp with "*yweather:*" >> replace "<" with "" in tTemp >> replace "/>" with "" in tTemp >> replace "yweather:" with "" in tTemp >> replace quote&space with quote&cr in tTemp -- Did the trick >> repeat for 5 -- Lazy way to catch leading spaces >> repeat with x = 1 to the number of lines in tTemp >> if char 1 of line x of tTemp is space then delete char 1 of line x of tTemp >> if line x of tTemp is quote then delete line x of tTemp >> if line x of tTemp is "" then delete line x of tTemp >> end repeat >> end repeat >> if last line of tTemp is "" then delete last line of tTemp >> put tTemp into field "Result" >> end mouseUp >> >> I don't mind the quotes in the Result for my other code and I get a nice list of the info I need. >> > > Jim Ault > Las Vegas > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Wed Dec 29 01:18:07 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 29 Dec 2010 01:18:07 -0500 Subject: extract by delimiter In-Reply-To: References: <3C1F908F-BA0D-4508-AAB2-7284BC3FEB05@gmail.com> <75940908890.20101228165033@ahsoftware.net> <5D25C32E-A595-485F-9184-3C3D262F941F@mac.com> Message-ID: <7AC5E950-AE42-45C2-8DC8-773D79578E5A@mac.com> Chris, I was doing just that. Testing Yahoo and then Google's api. I will check into the NOAA next. Thanks for the heads up. It puts out a lot of data over the others. I like the raw lat/long concept. It won't be more than once an hour, so that's ok. I did find the way to skip the WOEIDs and go right to the zip code with yahoo. Weather Bug Geo didn't work for me although I like their accuracy the best - the API is weak and doesn't always work. I had problems with it anyway. So now I will check the NOAA THanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Dec 29, 2010, at 12:12 AM, Nonsanity wrote: > I've tested both Yahoo and Google's (undocumented) REST APIs for weather, > but settled on NOAA's: > > http://www.weather.gov/forecasts/xml/sample_products/browser_interface/ndfdXMLclient.php?lat=38.99&lon=-77.01&product=glance&begin=2010-12-28T00:00:00&end=2011-01-03T00:00:00<%20http://www.weather.gov/forecasts/xml/sample_products/browser_interface/ndfdXMLclient.php?lat=38.99&lon=-77.01&product=glance&begin=2010-12-28T00:00:00&end=2011-01-03T00:00:00> > > Note that first the output defines one or more time series with a name like > "k-p24h-n5-1", then has sections for each of the results. The URL above uses > the "glance" setting, so it always gives the same result categories. The NOAA > page on the API goes into > more detail about what other data types you can fetch. > > The thing to note is that the time series name is human readable. "p24h" > means 24 hours per sample, and "n5" means 5 samples. > > Nice thing is, it takes raw lat/lon. No conversion to zip code or other > location metric. I've already got a nice temp chart going. Just don't fetch > the data more than once an hour in the final product - There's no point, as > it only updates once per hour on the 45's. > > ~ Chris Innanen > ~ Nonsanity > > > > On Tue, Dec 28, 2010 at 11:12 PM, Thomas McGrath III wrote: > >> By the way I tried all of the examples posted to better see what I was >> missing. I'm a visual oriented person and so I went with steps I could see. >> Only one problem in removing leading spaces, I took the lazy way out after >> getting confused again with multiple repeat loops etc. >> >> So here is what I decided to use for now: >> >> on mouseUp >> put "http://weather.yahooapis.com/forecastrss?w=22664069&u=f" into >> tTempURL >> put url tTempURL into field "Source" >> put field 1 into tTemp >> filter tTemp with "*yweather:*" >> replace "<" with "" in tTemp >> replace "/>" with "" in tTemp >> replace "yweather:" with "" in tTemp >> replace quote&space with quote&cr in tTemp -- Did the trick >> repeat for 5 -- Lazy way to catch leading spaces >> repeat with x = 1 to the number of lines in tTemp >> if char 1 of line x of tTemp is space then delete >> char 1 of line x of tTemp >> if line x of tTemp is quote then delete line x of >> tTemp >> if line x of tTemp is "" then delete line x of tTemp >> end repeat >> end repeat >> if last line of tTemp is "" then delete last line of tTemp >> put tTemp into field "Result" >> end mouseUp >> >> I don't mind the quotes in the Result for my other code and I get a nice >> list of the info I need. >> >> Now I need to write a LAT LON converter to WOEID and or a ZIP Code to WOEID >> (Yahoo ID scheme) >> >> w=22664069 is for Bethel Park PA >> >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> 3mcgrath at comcast.net >> >> On Dec 28, 2010, at 7:50 PM, Mark Wieder wrote: >> >>> Jeff- >>> >>> Tuesday, December 28, 2010, 4:47:02 PM, you wrote: >>> >>>> So, most others have sent you excellent suggestions. I just find >>>> it funny that the little town you mention just happened to be the >>>> place I was born. ;-) >>> >>> You could probably save Tom a lot of trouble if you just tell him what >>> the weather's like... >>> >>> -- >>> -Mark Wieder >>> mwieder at ahsoftware.net >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From massung at gmail.com Wed Dec 29 01:55:06 2010 From: massung at gmail.com (Jeffrey Massung) Date: Tue, 28 Dec 2010 23:55:06 -0700 Subject: extract by delimiter In-Reply-To: References: <3C1F908F-BA0D-4508-AAB2-7284BC3FEB05@gmail.com> Message-ID: <2E554E33-B0EF-4C96-AAA0-749738C3C5DD@gmail.com> Salt Lake City, UT of all places. Been to Jersey once, never want to revisit that experience if I can help it. I miss PA. ;-) On Dec 28, 2010, at 8:58 PM, Thomas McGrath III wrote: > Jeff, That's awesome. I live there now. Where do you live now? (Don't tell me NJ ? I grew up in Jersey 30 years ago) > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Dec 28, 2010, at 7:47 PM, Jeffrey Massung wrote: > >> >> On Dec 28, 2010, at 3:58 PM, Thomas McGrath III wrote: >> >>> I am stuck. I've been trying to extract text from an RSS feed and so far I have the information I need but am stuck at extracting it into a better format. Here is what I have so far: >>> >>> location city="Bethel Park" region="PA" country="United States" >> >> >> >> So, most others have sent you excellent suggestions. I just find it funny that the little town you mention just happened to be the place I was born. ;-) >> >> Jeff M. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From janschenkel at yahoo.com Wed Dec 29 02:54:21 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 28 Dec 2010 23:54:21 -0800 (PST) Subject: extract by delimiter In-Reply-To: <5887A905-C60F-4F05-A95F-6EEAF96CE7A8@mac.com> Message-ID: <813707.58467.qm@web65404.mail.ac4.yahoo.com> --- On Tue, 12/28/10, Thomas McGrath III wrote: > > put url "http://weather.yahooapis.com/forecastrss?w=22664069&u=f" > into field 1 > > gets an xml like page of data. So I just extracted the > yweather: info I needed: > > example: > region="PA"???country="United States"/> > > Then I replace "<" with "" in field 1 > etc till I got the data that I was left with before > If it's an XML to begin with, why not use the revXML external library to parse it? Unless you're building an iOS app, of course, as this has no externals support - but then you could use Ken Ray's stsXmlLib: HTH, Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From effendi at wanadoo.fr Wed Dec 29 04:36:58 2010 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Wed, 29 Dec 2010 10:36:58 +0100 Subject: URL(tUrl) inconsitencies in iOS Simulator Message-ID: Hi from Beautiful Brittany, > I am working on an application for tracking mileage. If you can't climb over a problem, then go round it ! Why use GoogleMaps ? Convert your Long and Lat coordinates to radians And use a simple Haversine formula in Livecode to calculate the distance. -Francis P.S. I can send it to you if you don't know how. From janschenkel at yahoo.com Wed Dec 29 05:40:44 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 29 Dec 2010 02:40:44 -0800 (PST) Subject: Join many PDF into one In-Reply-To: <1293455047868-3164964.post@n4.nabble.com> Message-ID: <38052.12788.qm@web65405.mail.ac4.yahoo.com> --- On Mon, 12/27/10, JosepM wrote: > > Hi, > > I want to join many PDF files from a folder into one. I > found some automator > files for do that but I need call it from LiveCode. > > Any idea how to do this? > > Salut, > Josep M > Hi Josep, If you want a cross-platform solution, you can use Java and the iText library to do just that - see my blog post: HTH, Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From lists at mangomultimedia.com Wed Dec 29 07:19:10 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 29 Dec 2010 07:19:10 -0500 Subject: One More Datagrid Problem In-Reply-To: <24529847-DC7B-4A07-BEB1-CDAC0D22DD63@mollysrevenge.com> References: <422DFFDC-DCCF-4BC1-86A9-B53445948986@mollysrevenge.com> <58227357-EF91-4024-A20C-AD0E13E6AF64@mollysrevenge.com> <24529847-DC7B-4A07-BEB1-CDAC0D22DD63@mollysrevenge.com> Message-ID: On Sun, Dec 26, 2010 at 2:38 PM, Peter Haworth wrote: > I finally fixed tis problem by unchecking the Persistant Data property. > I'm happy that fixed the problem bu I have no idea why it did. That > property is checked in all my other datagrids and they all work fine. > I'm not sure why it would fix the problem either. You could try passing in some dummy data that contains the NULL character and seeing if that causes a similar problem. Maybe there was some data with a NULL character stored in the data grid that was messing things up? -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From lists at mangomultimedia.com Wed Dec 29 07:46:31 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 29 Dec 2010 07:46:31 -0500 Subject: QTVR on 64-bit Windows computers In-Reply-To: <8CD740319FD61D8-F10-408BE@webmail-d024.sysops.aol.com> References: <8CD740319FD61D8-F10-408BE@webmail-d024.sysops.aol.com> Message-ID: On Mon, Dec 27, 2010 at 12:32 PM, stgoldberg at aol.com wrote: > > I could not, however, get a QTVR to work from a revlet on the Internet. It > would be nice to know if others are successful in viewing QTVRs from a > revlet on Windows-64 computers. > Glad you got it working. I don't have any experience with QTVR in revlets so I can't provide any help with that one. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From rolf.kocherhans at id.uzh.ch Wed Dec 29 07:57:17 2010 From: rolf.kocherhans at id.uzh.ch (Rolf Kocherhans) Date: Wed, 29 Dec 2010 13:57:17 +0100 Subject: [OT] Apple publishes six free e-books for developers Message-ID: <86CECEEB-0C94-483B-B669-EDAF22CD0671@id.uzh.ch> If you develop for iOS and missed this, have a look :-) http://www.macworld.com/article/156499/2010/12/apple_developer_ebooks.html Cheers Rolf From jim at d-film.com Wed Dec 29 09:00:15 2010 From: jim at d-film.com (Jim Kanter) Date: Wed, 29 Dec 2010 09:00:15 -0500 Subject: [OT] Apple publishes six free e-books for developers In-Reply-To: <86CECEEB-0C94-483B-B669-EDAF22CD0671@id.uzh.ch> References: <86CECEEB-0C94-483B-B669-EDAF22CD0671@id.uzh.ch> Message-ID: If you're a member of the ADC (Apple Developers, including the free membership) you can download these as PDFs and read them on your larger computer screen. On Wed, Dec 29, 2010 at 7:57 AM, Rolf Kocherhans wrote: > If you develop for iOS and missed this, have a look :-) > > http://www.macworld.com/article/156499/2010/12/apple_developer_ebooks.html From runrevron at gmail.com Wed Dec 29 10:12:21 2010 From: runrevron at gmail.com (ron barber) Date: Thu, 30 Dec 2010 00:12:21 +0900 Subject: Video player messages Message-ID: Hi, Simple task but I can't figure out how to get the info I need. I want to hilite lines of text based on the time elapsed of a movie in a player. For example, when the video is at 2000, line 3 of the text is selected. I can handle text but I'm new to video. My problem is lack of familiarity with the player - I see messages sent to the player but can't figure out how to find out the elapsed time of the movie. I have tried various approaches with callbacks and other messages but can't find the right combination. So how do I get the elapsed time of the movie in a player as it is playing? Thanks Ron From coiin at verizon.net Wed Dec 29 10:17:53 2010 From: coiin at verizon.net (Colin Holgate) Date: Wed, 29 Dec 2010 10:17:53 -0500 Subject: URL(tUrl) inconsitencies in iOS Simulator In-Reply-To: References: Message-ID: On Dec 29, 2010, at 4:36 AM, Francis Nugent Dixon wrote: > Why use GoogleMaps ? > > Convert your Long and Lat coordinates to radians > > And use a simple Haversine formula in Livecode to > calculate the distance. Would that give you the driving distance? From dixonja at hotmail.co.uk Wed Dec 29 10:20:45 2010 From: dixonja at hotmail.co.uk (John Dixon) Date: Wed, 29 Dec 2010 15:20:45 +0000 Subject: Video player messages In-Reply-To: References: Message-ID: Have a look at 'currentTime' & 'currentTimeChanged' in the dictionary > Hi, > Simple task but I can't figure out how to get the info I need. I want > to hilite lines of text based on the time elapsed of a movie in a > player. For example, when the video is at 2000, line 3 of the text is > selected. I can handle text but I'm new to video. > > My problem is lack of familiarity with the player - I see messages > sent to the player but can't figure out how to find out the elapsed > time of the movie. I have tried various approaches with callbacks and > other messages but can't find the right combination. So how do I get > the elapsed time of the movie in a player as it is playing? > > > Thanks > Ron From klaus at major.on-rev.com Wed Dec 29 10:40:53 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 29 Dec 2010 16:40:53 +0100 Subject: Video player messages In-Reply-To: References: Message-ID: <5B1318BD-2513-4CDF-855C-D13DEC9F9F1F@major.on-rev.com> Hi Ron, > Hi, > Simple task but I can't figure out how to get the info I need. I want > to hilite lines of text based on the time elapsed of a movie in a > player. For example, when the video is at 2000, line 3 of the text is > selected. I can handle text but I'm new to video. > > My problem is lack of familiarity with the player - I see messages > sent to the player but can't figure out how to find out the elapsed > time of the movie. I have tried various approaches with callbacks and > other messages but can't find the right combination. Hmm, "callbacks" look like the best candidate for this job! What did you try, what did not work? > So how do I get the elapsed time of the movie in a player as it is playing? You can query "the currenttime of player X" while it is playing, or "scroll" manually in the video and then query "the currenttime of player X". > Thanks > Ron Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From pete at mollysrevenge.com Wed Dec 29 12:50:53 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 29 Dec 2010 09:50:53 -0800 Subject: One More Datagrid Problem In-Reply-To: References: <422DFFDC-DCCF-4BC1-86A9-B53445948986@mollysrevenge.com> <58227357-EF91-4024-A20C-AD0E13E6AF64@mollysrevenge.com> <24529847-DC7B-4A07-BEB1-CDAC0D22DD63@mollysrevenge.com> Message-ID: <34578810-3F03-4AD9-9E79-86F15E8FC27C@mollysrevenge.com> I guess I'm OK with it just being fixed! Actually, it made me realise that none of my datagrids need persistent data since I repopulate them very time the card(s) they are on are opened, so I've probably saved myself a fair amount of internal memory by inadvertently coming across this solution. Pete Haworth On Dec 29, 2010, at 4:19 AM, Trevor DeVore wrote: > On Sun, Dec 26, 2010 at 2:38 PM, Peter Haworth > wrote: > >> I finally fixed tis problem by unchecking the Persistant Data >> property. >> I'm happy that fixed the problem bu I have no idea why it did. That >> property is checked in all my other datagrids and they all work fine. >> > > I'm not sure why it would fix the problem either. You could try > passing in > some dummy data that contains the NULL character and seeing if that > causes a > similar problem. Maybe there was some data with a NULL character > stored in > the data grid that was messing things up? > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Releasable Revolution Resources for Developers: > http://revolution.bluemangolearning.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at mollysrevenge.com Wed Dec 29 12:55:08 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 29 Dec 2010 09:55:08 -0800 Subject: URL(tUrl) inconsitencies in iOS Simulator In-Reply-To: References: Message-ID: Hi Colin, I have a need to calculate driving distances between two points (not in iOS but OSX) and didn't know about the Google maps API, I hope you get it working. How did you get the initial latitude and longitude of the start and end points? Is that available through Google maps API as well? Pete Haworth On Dec 28, 2010, at 6:21 PM, RevList wrote: > I am working on an application for tracking mileage. > In my app I determine the longitude and latitude of a site and then > calclulate the driving distance between them using the GoogleMaps API. > > A snippet of the code is like this, with a populated pOrigin and > pDestination > This works 100% of the time in the IDE, but only occasionally when I > simulate the operation > If I replace the first two lines of code with > Put fld OriginLat & comma & fld OriginLong into pOrigin > Put fld DestinationLat & comma & fld DestinationLong into > pDestination > > it Never works in the simulator, but 100% of the time in the IDE. > Any ideas? I am at a road block now > > Put "49.3447,-123.08076" into pOrigin > Put "49.881421,-119.44365" into pDestination > Put "http://maps.googleapis.com/maps/api/directions/xml?origin=" & > pOrigin & "&destination=" & pDestination & "&sensor=false" into tUrl > PUT URL(tUrl) into tReply > Put tReply > > > ****************************************** > Stewart Lynch > CreaTECH Solutions > slynch at CreaTECHSol.com > 604.484.8499 > Skype:StewartLynch > > There are only 10 kinds of people. Those who understand binary and > those > who don't. > ****************************************** > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rev at nonsanity.com Wed Dec 29 13:02:21 2010 From: rev at nonsanity.com (Nonsanity) Date: Wed, 29 Dec 2010 13:02:21 -0500 Subject: URL(tUrl) inconsitencies in iOS Simulator In-Reply-To: References: Message-ID: No, that will give you distance as-the-crow-flies strait (great circle) lines. If you want distance as a function of driving directions, you're going the right route. (pun intended, now that I've written it) ~ Chris Innanen ~ Nonsanity On Wed, Dec 29, 2010 at 10:17 AM, Colin Holgate wrote: > > On Dec 29, 2010, at 4:36 AM, Francis Nugent Dixon wrote: > > > Why use GoogleMaps ? > > > > Convert your Long and Lat coordinates to radians > > > > And use a simple Haversine formula in Livecode to > > calculate the distance. > > > Would that give you the driving distance? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jmyepes at mac.com Wed Dec 29 15:20:55 2010 From: jmyepes at mac.com (JosepM) Date: Wed, 29 Dec 2010 12:20:55 -0800 (PST) Subject: Join many PDF into one In-Reply-To: <38052.12788.qm@web65405.mail.ac4.yahoo.com> References: <1293455047868-3164964.post@n4.nabble.com> <38052.12788.qm@web65405.mail.ac4.yahoo.com> Message-ID: <1293654055453-3167568.post@n4.nabble.com> Thanks to all for the info. Now I send the email and check the Blog :) Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Join-many-PDF-into-one-tp3164964p3167568.html Sent from the Revolution - User mailing list archive at Nabble.com. From mkoob at rogers.com Wed Dec 29 16:47:01 2010 From: mkoob at rogers.com (Martin Koob) Date: Wed, 29 Dec 2010 13:47:01 -0800 (PST) Subject: Video player messages In-Reply-To: References: Message-ID: <1293659221205-3167653.post@n4.nabble.com> If you want to fire messages at predetermined times then use callbacks. First make a list with your callbacks with the format time,message ie. 2000,mySelectline 3000,mySelectline 4000,mySelectline then you set the callbacks of your player to that list. then when your player plays it will send the mySelectline message with the time as a parameter when it encounters the times in the list. you then need a mySelectline handler in your player or card or stack to handle the message. ie. on mySelectline thetime select line whatsmyline(thetime) of field "myfield" end my selectline in that handler you need a way to associate the time value with the line that you want to select you could put that in the whatsmyline handler. This will only work however when playing. If you want to have the lines selected when scrubbing to points in the movie you will have to get the currenttime or handle the currenttimechanged message to determine where you are in the movie relative to your callback time points. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Video-player-messages-tp3167226p3167653.html Sent from the Revolution - User mailing list archive at Nabble.com. From david at vaudevillecourt.tv Wed Dec 29 17:27:49 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Wed, 29 Dec 2010 22:27:49 +0000 Subject: Some things about backgrounds i never knew Message-ID: I thought things were fairly simple - a background is a group with the background behavior set to true, well at least as long as it is a toplevel group and not a nested group - this definition works with the way that "the backgroundids of stack" works. The thing that throws me is that - what you really want to know is if a group is the same object - that is if you change it's properties, colour position etc - that these changes are reflected on other cards that share this group. This equates to the groups having the same id = they are the same object, and it turns out that this is not at all the same thing as the definition above. To test this all you need to do is create a group with "the backgroundBehavior" set to true - create a few cards then turn "the backgroundBehavior" off (set it to false). Now "the backgroundids of stack" returns empty, but all the groups are the same id and therefore are and behave as a background. It seems therefore that every toplevel group is a potential background. So the question is how do I find out what groups in a stack are in fact backgrounds other than going through every card and checking the toplevel ids of the groups to look for duplicates (and I guess "the backgroundids of stack"). The LiveCode IDE's menu figures this out - but I guess only by checking each card? Or is there a command to do this that I've missed? From david at vaudevillecourt.tv Wed Dec 29 19:02:13 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Thu, 30 Dec 2010 00:02:13 +0000 Subject: Some things about backgrounds i never knew In-Reply-To: References: Message-ID: Now I'm lost... You can even create backgrounds that are (almost) impossible to detect. If you create a top level group called "Hidden background" and then "remove" it from the card - it will appear in the backgroundids / backgroundnames of the stack even though it is not visible on any cards. However if you then: set the backgroundbehavior of bg "Hidden background" to false it will not only not be visible, it won't show up in the 'backgroundids / backgroundnames of the stack". Looping through each background number by using "the number of backgrounds of stack" gives a completely different result, which at the moment is making no sense... for instance I have go a test stack with two shared groups - both of which I've turned off the backgroundbehavior (so the backgroundnames is empty) - no bg 1 of stack is the first group, but bg 2 of stack is an inner group and not the second shared group.... maybe it will make sense in the morning.... From runrevron at gmail.com Wed Dec 29 19:05:41 2010 From: runrevron at gmail.com (ron barber) Date: Thu, 30 Dec 2010 09:05:41 +0900 Subject: Video player messages Message-ID: Thanks John, Klaus and Martin This is just what I needed. ======= Martin said: First make a list with your callbacks with the format time,message then you set the callbacks of your player to that list. then when your player plays it will send the mySelectline message with the time as a parameter when it encounters the times in the list. you then need a mySelectline handler in your player or card or stack to handle the message. ======== My misstep was in placing the handler in the wrong place and the wrong form. Once I got that I was back into familiar territory and can move forward. Thank you very much for your help. Ron From jmyepes at mac.com Wed Dec 29 19:58:16 2010 From: jmyepes at mac.com (JosepM) Date: Wed, 29 Dec 2010 16:58:16 -0800 (PST) Subject: datagrid: add rows in CloseFieldEditor Message-ID: <1293670696908-3167836.post@n4.nabble.com> Hi, I need add X rows depending of the values entered by the user into a cell. I check the values in "on CloseFieldEditor", but I can't add additional rows... These additional rows must be filled with data from the "on CloseFieldEditor" Example: The user pick a code that have a extended description, I need add the extended description in the next row automatically. It's posible? Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/datagrid-add-rows-in-CloseFieldEditor-tp3167836p3167836.html Sent from the Revolution - User mailing list archive at Nabble.com. From RevList at CreaTECHSol.com Wed Dec 29 20:37:34 2010 From: RevList at CreaTECHSol.com (RevList) Date: Wed, 29 Dec 2010 17:37:34 -0800 Subject: URL(tUrl) inconsitencies in iOS Simulator In-Reply-To: References: Message-ID: Pete Haworth on December 29, 2010 at 9:55 AM -0800 wrote: >Hi Colin, >I have a need to calculate driving distances between two points (not >in iOS but OSX) and didn't know about the Google maps API, I hope you >get it working. How did you get the initial latitude and longitude of >the start and end points? Is that available through Google maps API >as well? On the iPhone I just used the built in Core Location data to grab the Latitude and Longitude. I also use the YahooMaps API to get the same information from an address. I couldn't find it from the GoogleMaps API but it was pretty straight forward to get it from YahooMaps API once I registered and got a key. It is the Web services API that I used. Then, using the XML parser I could get the information I needed. On the iPhone without the XML parser available, it was pretty easy to filter the returned data to get what I wanted. ****************************************** Stewart Lynch CreaTECH Solutions slynch at CreaTECHSol.com 604.484.8499 Skype:StewartLynch There are only 10 kinds of people. Those who understand binary and those who don't. ****************************************** From mcgrath3 at mac.com Wed Dec 29 21:49:04 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 29 Dec 2010 21:49:04 -0500 Subject: extract by delimiter In-Reply-To: <2E554E33-B0EF-4C96-AAA0-749738C3C5DD@gmail.com> References: <3C1F908F-BA0D-4508-AAB2-7284BC3FEB05@gmail.com> <2E554E33-B0EF-4C96-AAA0-749738C3C5DD@gmail.com> Message-ID: <3CF38090-3662-422A-9AF8-DFFB5288A988@mac.com> Well I'll say hello to PA for ya! It's been typical PA weather. And the Governor is not done screwing us all yet. But other than that we have the Winter Classic coming up this weekend and the Penguins are doing pretty good and so are the Steelers but not as good as a few years ago. It's a small world but we knew that. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Dec 29, 2010, at 1:55 AM, Jeffrey Massung wrote: > Salt Lake City, UT of all places. Been to Jersey once, never want to revisit that experience if I can help it. I miss PA. ;-) > > On Dec 28, 2010, at 8:58 PM, Thomas McGrath III wrote: > >> Jeff, That's awesome. I live there now. Where do you live now? (Don't tell me NJ ? I grew up in Jersey 30 years ago) >> >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> 3mcgrath at comcast.net >> >> On Dec 28, 2010, at 7:47 PM, Jeffrey Massung wrote: >> >>> >>> On Dec 28, 2010, at 3:58 PM, Thomas McGrath III wrote: >>> >>>> I am stuck. I've been trying to extract text from an RSS feed and so far I have the information I need but am stuck at extracting it into a better format. Here is what I have so far: >>>> >>>> location city="Bethel Park" region="PA" country="United States" >>> >>> >>> >>> So, most others have sent you excellent suggestions. I just find it funny that the little town you mention just happened to be the place I was born. ;-) >>> >>> Jeff M. >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Wed Dec 29 22:29:39 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 29 Dec 2010 22:29:39 -0500 Subject: [OT] Apple publishes six free e-books for developers In-Reply-To: References: <86CECEEB-0C94-483B-B669-EDAF22CD0671@id.uzh.ch> Message-ID: Or if you already downloaded them onto your iPad you can use PhoneView to extract them and then view the epub in Adobe Digital Editions full screen on your desktop. I use phoneview to extract all of 'my' files off the iPhone and iPad. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Dec 29, 2010, at 9:00 AM, Jim Kanter wrote: > If you're a member of the ADC (Apple Developers, including the free > membership) you can download these as PDFs and read them on your > larger computer screen. > > On Wed, Dec 29, 2010 at 7:57 AM, Rolf Kocherhans > wrote: >> If you develop for iOS and missed this, have a look :-) >> >> http://www.macworld.com/article/156499/2010/12/apple_developer_ebooks.html > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From effendi at wanadoo.fr Thu Dec 30 03:58:38 2010 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Thu, 30 Dec 2010 09:58:38 +0100 Subject: URL(tUrl) inconsistencies in iOS Simulator Message-ID: Hi Colin, > On Dec 29, 2010, at 4:36 AM, Francis Nugent Dixon wrote: > >> Why use GoogleMaps ? >> >> Convert your Long and Lat coordinates to radians >> >> And use a simple Haversine formula in Livecode to >> calculate the distance. > > > Would that give you the driving distance? My mechanism was designed for plane flights only, so crow-fly distance. Also, I start with a data base of 10,000 cities and towns, by name, with their long and lat positions. But I imagine that GoogleMaps could offer you : a - Shortest route ? b - Time-saver route ? c - Toll-roads or not ? And I don't see you giving that request in a call to Googlemaps. So what answer do you get ? Also my system allows for trips such as : Boston -> New York (via Los Angeles and Calgary) with up to 9 stop-overs. So I admit I solve a different problem. Sorry I can't help. Best Regards -Francis From david at vaudevillecourt.tv Thu Dec 30 04:31:41 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Thu, 30 Dec 2010 09:31:41 +0000 Subject: Some things about backgrounds i never knew In-Reply-To: References: Message-ID: OK - it's morning and I still don't get it. In my simple test stack, I have 3 groups and 3 cards. One of the groups (group "Inner") is inside another, and both top level groups (group "First background" and group "Second Nested Background") are on the first card and the last card, all though they have had their background behavior set to false. The following are all true: - put the backgroundnames of this stack = empty - put the number of bgs of this stack = 2 - put the short name of background 1 of this stack = "First background" - put the short name of background 2 of this stack = "Inner" It makes no sense that "the backgroundnames" is empty and the number of bgs = 2. It also makes no sense that the second bg is not the second top level group that is shared across several cards, but is an inner "group" of a nested background. Can anyone make sense of this? I'm sure a bug like this would have been spotted before? On 30 December 2010 00:02, David Bovill wrote: > Now I'm lost... > > You can even create backgrounds that are (almost) impossible to detect. If > you create a top level group called "Hidden background" and then "remove" it > from the card - it will appear in the backgroundids / backgroundnames of the > stack even though it is not visible on any cards. > > However if you then: > > set the backgroundbehavior of bg "Hidden background" to false > > it will not only not be visible, it won't show up in the 'backgroundids / > backgroundnames of the stack". > > Looping through each background number by using "the number of backgrounds > of stack" gives a completely different result, which at the moment is making > no sense... for instance I have go a test stack with two shared groups - > both of which I've turned off the backgroundbehavior (so the backgroundnames > is empty) - no bg 1 of stack is the first group, but bg 2 of stack is an > inner group and not the second shared group.... maybe it will make sense in > the morning.... > From jimaultwins at yahoo.com Thu Dec 30 05:37:06 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Thu, 30 Dec 2010 02:37:06 -0800 Subject: Some things about backgrounds i never knew In-Reply-To: References: Message-ID: I don't have a specific answer for this set of questions, but durning a holiday week few may be available to answer.. so here goes. I rarely use groups as backgrounds for my projects. You may be in the land of synonyms backward compatible to HCard oddities of groups message path priorities Note: (from the dictionary) When referring to a group using the synonyms background, bkgnd, or bg, the reference is to one among the groups in a stack, rather than to one among the groups on a card. For example, the object reference background 1 indicates the first group in the current stack, not the lowest-layered group on the current card. ----- In my mind, 'behave like a background' does not mean become a background object. Groups can be shared, placed, and removed from any card in the stack that contains the group. The groups reside in the stack ... thus > - put the number of bgs of this stack = 2 is the same thing as saying - put the number of groups of this stack = 2 (which is true in your case) The other part of 'background' that is important is the message path. Setting behavior to true should mean that its script is placed after the card, rather than before the card. This is critical when designing complex user interfaces. Others have discussed 'oddities' when using nested groups and the message path. Perhaps they can chime with their discoveries and techniques. If all of the groups have their behavior set to false, then backgroundnames = empty Again, synonyms of 'group' There can be 20 groups defined in a stack and not one of them placed on any of the cards. There can be 8 groups defined in a stack, all of them placed on every card, but none of them specified as "background behavior" and none of their scripts will occur after any of the card scripts. Hope this leads you to clarity. On Dec 30, 2010, at 1:31 AM, David Bovill wrote: > OK - it's morning and I still don't get it. > > In my simple test stack, I have 3 groups and 3 cards. One of the > groups > (group "Inner") is inside another, and both top level groups (group > "First > background" and group "Second Nested Background") are on the first > card and > the last card, all though they have had their background behavior > set to > false. > > The following are all true: > > - put the backgroundnames of this stack = empty > - put the number of bgs of this stack = 2 > - put the short name of background 1 of this stack = "First > background" > - put the short name of background 2 of this stack = "Inner" > > It makes no sense that "the backgroundnames" is empty and the number > of bgs > = 2. It also makes no sense that the second bg is not the second top > level > group that is shared across several cards, but is an inner "group" > of a > nested background. > > Can anyone make sense of this? I'm sure a bug like this would have > been > spotted before? > > On 30 December 2010 00:02, David Bovill > wrote: > >> Now I'm lost... >> >> You can even create backgrounds that are (almost) impossible to >> detect. If >> you create a top level group called "Hidden background" and then >> "remove" it >> from the card - it will appear in the backgroundids / >> backgroundnames of the >> stack even though it is not visible on any cards. >> >> However if you then: >> >> set the backgroundbehavior of bg "Hidden background" to false >> >> it will not only not be visible, it won't show up in the >> 'backgroundids / >> backgroundnames of the stack". >> >> Looping through each background number by using "the number of >> backgrounds >> of stack" gives a completely different result, which at the moment >> is making >> no sense... for instance I have go a test stack with two shared >> groups - >> both of which I've turned off the backgroundbehavior (so the >> backgroundnames >> is empty) - no bg 1 of stack is the first group, but bg 2 of stack >> is an >> inner group and not the second shared group.... maybe it will make >> sense in >> the morning.... >> Jim Ault Las Vegas From andre.bisseret at wanadoo.fr Thu Dec 30 05:38:49 2010 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Thu, 30 Dec 2010 11:38:49 +0100 Subject: Some things about backgrounds i never knew In-Reply-To: References: Message-ID: Bonjour David, Look at "backgroundNames" in the doc: --------------------- Comments: The backgroundNames is the list of all backgrounds in the stack whose backgroundBehavior property is set to true, whether they appear on the current card or not. If a group in the stack contains groups, only the top-level groups are reported. To find out which groups are placed on a card, use the groupNames property. --------------------- HTH Best regards from Grenoble Andr? Le 30 d?c. 2010 ? 10:31, David Bovill a ?crit : > OK - it's morning and I still don't get it. > > In my simple test stack, I have 3 groups and 3 cards. One of the groups > (group "Inner") is inside another, and both top level groups (group "First > background" and group "Second Nested Background") are on the first card and > the last card, all though they have had their background behavior set to > false. > > The following are all true: > > - put the backgroundnames of this stack = empty > - put the number of bgs of this stack = 2 > - put the short name of background 1 of this stack = "First background" > - put the short name of background 2 of this stack = "Inner" > > It makes no sense that "the backgroundnames" is empty and the number of bgs > = 2. It also makes no sense that the second bg is not the second top level > group that is shared across several cards, but is an inner "group" of a > nested background. > > Can anyone make sense of this? I'm sure a bug like this would have been > spotted before? > > On 30 December 2010 00:02, David Bovill wrote: > >> Now I'm lost... >> >> You can even create backgrounds that are (almost) impossible to detect. If >> you create a top level group called "Hidden background" and then "remove" it >> from the card - it will appear in the backgroundids / backgroundnames of the >> stack even though it is not visible on any cards. >> >> However if you then: >> >> set the backgroundbehavior of bg "Hidden background" to false >> >> it will not only not be visible, it won't show up in the 'backgroundids / >> backgroundnames of the stack". >> >> Looping through each background number by using "the number of backgrounds >> of stack" gives a completely different result, which at the moment is making >> no sense... for instance I have go a test stack with two shared groups - >> both of which I've turned off the backgroundbehavior (so the backgroundnames >> is empty) - no bg 1 of stack is the first group, but bg 2 of stack is an >> inner group and not the second shared group.... maybe it will make sense in >> the morning.... >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david at vaudevillecourt.tv Thu Dec 30 06:13:43 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Thu, 30 Dec 2010 11:13:43 +0000 Subject: Some things about backgrounds i never knew In-Reply-To: References: Message-ID: Thanks for the replies Andre and Jim! On 30 December 2010 10:38, Andr? Bisseret wrote: > > Look at "backgroundNames" in the doc: > --------------------- > Comments: > The backgroundNames is the list of all backgrounds in the stack whose > backgroundBehavior property is set to true, whether they appear on the > current card or not. If a group in the stack contains groups, only the > top-level groups are reported. > > To find out which groups are placed on a card, use the groupNames property. > Yes - this is what I thought. What i did not get is that what is happening here is such a hack, that is there are two important concepts / behaviors of backgrounds: 1. It is shared across many cards and changing a property of one changes the property of all ie they are the same object and have the smae id) 2. The message path is different These seem however not to be linked, or related directly to the various built in functions ie backgroundbehavior / backgroundnames / backgroundids - so in the examples mentioned in previous posts you can have a background shared across serveral cards that has it' background behavior turned off and therefore does not show up in the backgroundnames / backgroundids. This is problematic in the handlers I am writing now - as I want to know whether to export the background or not, so I can;t rely on any of the built in functions. On 30 December 2010 10:37, Jim Ault wrote: > > In my mind, 'behave like a background' does not mean become a background > object. > Groups can be shared, placed, and removed from any card in the stack that > contains the group. > Yes - I think you're right there, and there are no built in functions to detect how many "shared background objects" there are in a stack - only how many have their "behave like a background property" turned on or off. > The groups reside in the stack > ... thus > >> - put the number of bgs of this stack = 2 >> > is the same thing as saying > - put the number of groups of this stack = 2 > (which is true in your case) > This last part I don;t get yet... seems so strange I think I must be making a mistake somewhere. These are the results I get (all result in true): - put the number of bgs of this stack = 2 - put the number of bgs of this card = 0 -- this is wrong ! - put the number of groups of this stack = 3 - put the number of groups of this cd = 3 This is for a card in the stack that has 3 groups, comprising of 2 top level groups, and one inner group, both of the top level groups are "shared background objects" as they appear on the first card of the stack and the third card. Therefore there are indeed 2 backgrounds, and 3 groups, all though why there are 0 groups on the card is any ones guess. The real thing that makes no sense is that these 2 backgrounds (note 2 not 3), are the wrong bgs, that is not the two top level bgs - but for some totally random reason the they are the two groups of the nested background. Why - I don't know - because it is nested? Because it was created first? So the real question for me right now is what does "bg 2 of stack" actually refer to? Perhaps it is "the second group in the current stack" - but what does that mean? It is not the second top level group, as this is not even showing up, and changing the layers of the groups makes no difference - so it looks like the only thing that makes sense is the order of creation for bgs - but still? So the question is that given there must be a numbered index of bgs associated with a stack: - how are bgs added and removed to this index? - what determines the order of elements in the index? From coiin at verizon.net Thu Dec 30 08:40:35 2010 From: coiin at verizon.net (Colin Holgate) Date: Thu, 30 Dec 2010 08:40:35 -0500 Subject: URL(tUrl) inconsistencies in iOS Simulator In-Reply-To: References: Message-ID: On Dec 30, 2010, at 3:58 AM, Francis Nugent Dixon wrote: > >And I don't see you giving that request in a call > to Googlemaps. So what answer do you get ? I wasn't the one with the original question. In the first post Stewart said this: "I am working on an application for tracking mileage. In my app I determine the longitude and latitude of a site and then calclulate the driving distance between them using the GoogleMaps API." That's why I was questioning whether the solution you had mentioned would give the driving distance. From janschenkel at yahoo.com Thu Dec 30 09:03:33 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 30 Dec 2010 06:03:33 -0800 (PST) Subject: PDF ? In-Reply-To: <72913.36088.qm@web65411.mail.ac4.yahoo.com> Message-ID: <937985.86874.qm@web65406.mail.ac4.yahoo.com> --- On Tue, 12/7/10, Jan Schenkel wrote: > --- On Sun, 12/5/10, Anthony Howe wrote: > > Thanks Jan, > > > > Great to hear the detail around this one. The feature > you > > mention that you're working on is actually all that we > would > > require and sounds ideal! > > > > We simply want to 'stamp' an existing document with a > > customers unique ID and details. The area of the > document to > > be stamped will be blank space on each page....at a > defined > > location (footer or header area, for example) and > requires > > no interaction with the existing content. > > > > From there, just a re-export of the PDF would be > required. > > > > What do you think? > > > > > > > > Unfortunately, my code is not yet mature enough - for this > sort of situation, I'd use iText (open source / AGPL) if you > don't mind having a dependency on Java. Let me see if I can > put together an example and post it on my blog sometime this > week. > Hi Anthony, It took me a little longer than foreseen, but I finally got around to testing it and writing up that blog post: HTH, Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From david at vaudevillecourt.tv Thu Dec 30 09:19:59 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Thu, 30 Dec 2010 14:19:59 +0000 Subject: URL(tUrl) inconsistencies in iOS Simulator In-Reply-To: References: Message-ID: I've also used a few of these Google Maps / Yahoo geo api's - with regard to iOS was wandering if anyone has embedded a Google map and trapped the url calls for local processing in Livecode? On 30 December 2010 13:40, Colin Holgate wrote: > > On Dec 30, 2010, at 3:58 AM, Francis Nugent Dixon wrote: > > > >And I don't see you giving that request in a call > > to Googlemaps. So what answer do you get ? > > > I wasn't the one with the original question. In the first post Stewart said > this: > > "I am working on an application for tracking mileage. > In my app I determine the longitude and latitude of a site and then > calclulate the driving distance between them using the GoogleMaps API." > > That's why I was questioning whether the solution you had mentioned would > give the driving distance. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From baccheschi at tin.it Thu Dec 30 09:25:46 2010 From: baccheschi at tin.it (baccheschi at tin.it) Date: Thu, 30 Dec 2010 15:25:46 +0100 (CET) Subject: export icons.. Message-ID: <12d37ab8f6d.baccheschi@tin.it> Best wishes to all You may tell me, please, if and how is it possible to export from a stack to another the icons..?I am trying to rewrite an old stack of HyperCard and i would use its icons..Thanksmario From williamdesmet at gmail.com Thu Dec 30 09:37:40 2010 From: williamdesmet at gmail.com (William de Smet) Date: Thu, 30 Dec 2010 15:37:40 +0100 Subject: export icons.. In-Reply-To: <12d37ab8f6d.baccheschi@tin.it> References: <12d37ab8f6d.baccheschi@tin.it> Message-ID: Mario, The fastest way would be to take a screenshot of your icon and then import them as image. Then you could use them as icons again! greetings, William 2010/12/30 baccheschi at tin.it : > ?Best wishes to all You > may tell me, please, if and how is it possible to export from a stack to another the icons..?I am trying to rewrite an old stack of HyperCard and i would use its icons..Thanksmario > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From baccheschi at tin.it Thu Dec 30 10:53:46 2010 From: baccheschi at tin.it (baccheschi at tin.it) Date: Thu, 30 Dec 2010 16:53:46 +0100 (CET) Subject: R: Re: export icons.. Message-ID: <12d37fc2239.baccheschi@tin.it> ----Messaggio originale---- Da: williamdesmet at gmail.com Data: 30-dic-2010 15.37 A: "How to use LiveCode" Ogg: Re: export icons.. Mario, The fastest way would be to take a screenshot of your icon and then import them as image. Then you could use them as icons again! greetings, William 2010/12/30 baccheschi at tin.it : > Best wishes to all You > may tell me, please, if and how is it possible to export from a stack to another the icons..?I am trying to rewrite an old stack of HyperCard and i would use its icons..Thanksmario > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode many thanks William..I have a big lot of screenshots to do... a game for the year end..greetingsmario From ambassador at fourthworld.com Thu Dec 30 11:15:21 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 30 Dec 2010 08:15:21 -0800 Subject: export icons.. Message-ID: <4D1CB019.20008@fourthworld.com> baccheschi wrote: > may tell me, please, if and how is it possible to export from > a stack to another the icons..?I am trying to rewrite an old > stack of HyperCard and i would use its icons..Thanksmario HC icons are stored as resources in the legacy Mac OS resource fork. Good news: You can use LiveCode's built-in getResources function to obtain a list of resources in a file, and use the getResource function to obtain the actual image data for the icon. Bad news: I have no idea how to translate that bitmap data into a form that will work well in a LiveCode image object. Anyone here know how do to that? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From lists at mangomultimedia.com Thu Dec 30 11:24:12 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 30 Dec 2010 11:24:12 -0500 Subject: datagrid: add rows in CloseFieldEditor In-Reply-To: <1293670696908-3167836.post@n4.nabble.com> References: <1293670696908-3167836.post@n4.nabble.com> Message-ID: On Wed, Dec 29, 2010 at 7:58 PM, JosepM wrote: > > I need add X rows depending of the values entered by the user into a cell. > I check the values in "on CloseFieldEditor", but I can't add additional > rows... > These additional rows must be filled with data from the "on > CloseFieldEditor" > > Example: The user pick a code that have a extended description, I need add > the extended description in the next row automatically. > Hi Josep, Can you explain why you can't add additional rows? What have you tried and what went wrong? -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From DunbarX at aol.com Thu Dec 30 11:26:06 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 30 Dec 2010 11:26:06 EST Subject: Missing plug-in. Again Message-ID: <5f10c.42542268.3a4e0c9e@aol.com> This happened to me once before, and I cannot remember how it was fixed. In reverting to 4.5.0 from 4.5.2 I have lost a plug-in I wrote. It runs a few simple startup scripts. I placed it in the plugins folder of the 4.5.0 folder, but it will not appear in the "Development/plugins" menu in the IDE. In fact, if I relocate one of the other existing plugins (RegExBuilder) and then restart LC, that plugin still appears in the menu, even though it is missing from the folder. So a plugin that is out of the folder appears in the menu, and one that is in the folder does not. I am mismanaging something, and misunderstanding much more. Thanks... From kray at sonsothunder.com Thu Dec 30 12:41:21 2010 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 30 Dec 2010 11:41:21 -0600 Subject: extract by delimiter In-Reply-To: <3CF38090-3662-422A-9AF8-DFFB5288A988@mac.com> Message-ID: Sorry to be late to the show, but if you haven't already come up with a solution, my LiveCode-only XML Library with associated RSS plugin should make this a lot easier: XML Library: http://www.sonsothunder.com/products/xmllib/xmllib.htm RSS Plugin: http://www.sonsothunder.com/products/xmllib/xmllib_rssplugin.htm Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ On 12/29/10 8:49 PM, "Thomas McGrath III" wrote: > Well I'll say hello to PA for ya! It's been typical PA weather. And the > Governor is not done screwing us all yet. But other than that we have the > Winter Classic coming up this weekend and the Penguins are doing pretty good > and so are the Steelers but not as good as a few years ago. > > It's a small world but we knew that. > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Dec 29, 2010, at 1:55 AM, Jeffrey Massung wrote: > >> Salt Lake City, UT of all places. Been to Jersey once, never want to revisit >> that experience if I can help it. I miss PA. ;-) >> >> On Dec 28, 2010, at 8:58 PM, Thomas McGrath III wrote: >> >>> Jeff, That's awesome. I live there now. Where do you live now? (Don't tell >>> me NJ ? I grew up in Jersey 30 years ago) >>> >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> 3mcgrath at comcast.net >>> >>> On Dec 28, 2010, at 7:47 PM, Jeffrey Massung wrote: >>> >>>> >>>> On Dec 28, 2010, at 3:58 PM, Thomas McGrath III wrote: >>>> >>>>> I am stuck. I've been trying to extract text from an RSS feed and so far I >>>>> have the information I need but am stuck at extracting it into a better >>>>> format. Here is what I have so far: >>>>> >>>>> location city="Bethel Park" region="PA" country="United States" >>>> >>>> >>>> >>>> So, most others have sent you excellent suggestions. I just find it funny >>>> that the little town you mention just happened to be the place I was born. >>>> ;-) >>>> >>>> Jeff M. >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jmyepes at mac.com Thu Dec 30 12:47:44 2010 From: jmyepes at mac.com (JosepM) Date: Thu, 30 Dec 2010 09:47:44 -0800 (PST) Subject: datagrid: add rows in CloseFieldEditor In-Reply-To: References: <1293670696908-3167836.post@n4.nabble.com> Message-ID: <1293731264039-3168568.post@n4.nabble.com> Hi Trevor, I get the actual row without any value and other added row without any value. I use "dispatch "addline". Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/datagrid-add-rows-in-CloseFieldEditor-tp3167836p3168568.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Thu Dec 30 13:39:03 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 30 Dec 2010 12:39:03 -0600 Subject: Missing plug-in. Again In-Reply-To: <5f10c.42542268.3a4e0c9e@aol.com> References: <5f10c.42542268.3a4e0c9e@aol.com> Message-ID: <4D1CD1C7.2070706@hyperactivesw.com> On 12/30/10 10:26 AM, DunbarX at aol.com wrote: > This happened to me once before, and I cannot remember how it was fixed. > > In reverting to 4.5.0 from 4.5.2 I have lost a plug-in I wrote. It runs a > few simple startup scripts. > > I placed it in the plugins folder of the 4.5.0 folder, but it will not > appear in the "Development/plugins" menu in the IDE. In fact, if I relocate one > of the other existing plugins (RegExBuilder) and then restart LC, that > plugin still appears in the menu, even though it is missing from the folder. > > So a plugin that is out of the folder appears in the menu, and one that is > in the folder does not. > > I am mismanaging something, and misunderstanding much more. Plugins shouldn't go into the plugins folder inside the LC bundle, but rather into a user Plugins folder. By default that's located in Documents/LiveCode/Plugins, but you can set it to any folder by changing the path in the Files pane of Preferences. When setting the folder, don't point the path to Plugins, point it to the enclosing folder (Documents/LiveCode/). The path you set 4.5.2 should have been recognized by 4.5, since they both share the same prefs file. But try opening preferences and setting the path to the one that holds your Plugins folder and then restart 4.5. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lfredricks at proactive-intl.com Thu Dec 30 13:49:19 2010 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 30 Dec 2010 10:49:19 -0800 Subject: export icons.. In-Reply-To: <4D1CB019.20008@fourthworld.com> References: <4D1CB019.20008@fourthworld.com> Message-ID: <4B11C642A3E543149A00A2C934CC0E9E@GATEWAY> > baccheschi wrote: > > > may tell me, please, if and how is it possible to export > from > a stack to another the icons..?I am trying to rewrite > an old > stack of HyperCard and i would use its icons..Thanksmario It isn't free, but there is this: http://miryestore.com/product.php?productid=16309 Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From lists at mangomultimedia.com Thu Dec 30 13:55:46 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 30 Dec 2010 13:55:46 -0500 Subject: datagrid: add rows in CloseFieldEditor In-Reply-To: <1293731264039-3168568.post@n4.nabble.com> References: <1293670696908-3167836.post@n4.nabble.com> <1293731264039-3168568.post@n4.nabble.com> Message-ID: On Thu, Dec 30, 2010 at 12:47 PM, JosepM wrote: > > I get the actual row without any value and other added row without any > value. > > I use "dispatch "addline". > Maybe try using "send" in 0 milliseconds? -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From jacque at hyperactivesw.com Thu Dec 30 14:07:42 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 30 Dec 2010 13:07:42 -0600 Subject: export icons.. In-Reply-To: <4D1CB019.20008@fourthworld.com> References: <4D1CB019.20008@fourthworld.com> Message-ID: <4D1CD87E.5060402@hyperactivesw.com> On 12/30/10 10:15 AM, Richard Gaskin wrote: > baccheschi wrote: > > > may tell me, please, if and how is it possible to export from > > a stack to another the icons..?I am trying to rewrite an old > > stack of HyperCard and i would use its icons..Thanksmario > > HC icons are stored as resources in the legacy Mac OS resource fork. > > Good news: You can use LiveCode's built-in getResources function to > obtain a list of resources in a file, and use the getResource function > to obtain the actual image data for the icon. > > Bad news: I have no idea how to translate that bitmap data into a form > that will work well in a LiveCode image object. > > Anyone here know how do to that? I extracted the HC icons and saved them to a stack quite a while ago. I just uploaded it to RevOnline. Anyone who needs the original HC icons can search there for a stack called "HC Icons". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Thu Dec 30 14:16:03 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 30 Dec 2010 21:16:03 +0200 Subject: Messing around. Message-ID: <4D1CDA73.3060701@gmail.com> Check this out: http://andregarzia.on-rev.com/richmond/dwriterpro.html From jmyepes at mac.com Thu Dec 30 14:25:27 2010 From: jmyepes at mac.com (JosepM) Date: Thu, 30 Dec 2010 11:25:27 -0800 (PST) Subject: datagrid: add rows in CloseFieldEditor In-Reply-To: References: <1293670696908-3167836.post@n4.nabble.com> <1293731264039-3168568.post@n4.nabble.com> Message-ID: <1293737127233-3168662.post@n4.nabble.com> Nop. I'm seeing that is a problem of refresh the datagrid, so after dispatch "addLine" and add manually a row all the data appear. ResetList doesn't work but with RefreshList now seems that work. Why ResetList don't work? To reference to next row from the actual is better use SetDataOfIndex the dgindex of me+1, "COL1", "Text of the Col" or can be a problem with datagrid index? Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/datagrid-add-rows-in-CloseFieldEditor-tp3167836p3168662.html Sent from the Revolution - User mailing list archive at Nabble.com. From lists at mangomultimedia.com Thu Dec 30 14:38:42 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 30 Dec 2010 14:38:42 -0500 Subject: datagrid: add rows in CloseFieldEditor In-Reply-To: <1293737127233-3168662.post@n4.nabble.com> References: <1293670696908-3167836.post@n4.nabble.com> <1293731264039-3168568.post@n4.nabble.com> <1293737127233-3168662.post@n4.nabble.com> Message-ID: On Thu, Dec 30, 2010 at 2:25 PM, JosepM wrote: > > Nop. I'm seeing that is a problem of refresh the datagrid, so after > dispatch > "addLine" and add manually a row all the data appear. > > ResetList doesn't work but with RefreshList now seems that work. Why > ResetList don't work? > ResetList is going to wipe out all of the controls in the data grid. The engine does not like you to delete objects that are the target of the current event. I imagine that is why it doesn't work. I don't think RefreshList deletes controls. > To reference to next row from the actual is better use > > SetDataOfIndex the dgindex of me+1, "COL1", "Text of the Col" > > or can be a problem with datagrid index? > Hmm, I think this might cause problems. The data grid won't throw an error if you try to assign data to an index that you haven't added but I also don't think it will update the total height of the data in the grid which AddData will do. This may cause problems when scrolling through your data later on. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From yvescoppe at skynet.be Thu Dec 30 14:52:19 2010 From: yvescoppe at skynet.be (Yves COPPE) Date: Thu, 30 Dec 2010 20:52:19 +0100 Subject: messages question Message-ID: <326177CB-747A-4865-AE6C-1791AEA3BDF5@skynet.be> Hello list, this is a piece of a very large and complex main stack with many substacks I have a script with a strange behavior on preopenStack set the loc of this stack to the screenloc end preopenStack the stack is not at the screenloc now I write this : on preopenStack lock messages set the loc of this stack to the screenloc end preopenStack the stack is at the screenloc now if I write this : on preopenStack lock messages set the loc of this stack to the screenloc unlock messages end preopenStack the stack is not at the screenloc So there is probably somewhere a message that disturbs the messages after the preOpenStack handler Where can I find this When I set a breakpoint to trace the script I don't find this message Thank you. Greetings. Yves COPPE yvescoppe at skynet.be From m.schonewille at economy-x-talk.com Thu Dec 30 15:03:18 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 30 Dec 2010 21:03:18 +0100 Subject: messages question In-Reply-To: <326177CB-747A-4865-AE6C-1791AEA3BDF5@skynet.be> References: <326177CB-747A-4865-AE6C-1791AEA3BDF5@skynet.be> Message-ID: <6232E4AC-AD77-4B42-8001-10D0AC68A063@economy-x-talk.com> On preOpenstack Hide this stack Send "initialiseStack" to me in 0 millisecs End preOpenstack On initialiseStack Set the loc of this stack to the screenLoc Show this stack End initialiseStack -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com Op 30 dec. 2010 om 20:52 heeft Yves COPPE het volgende geschreven: > Hello list, > > this is a piece of a very large and complex main stack with many substacks > I have a script with a strange behavior > > on preopenStack > set the loc of this stack to the screenloc > end preopenStack > > the stack is not at the screenloc > > now I write this : > > on preopenStack > lock messages > set the loc of this stack to the screenloc > end preopenStack > > the stack is at the screenloc > > now if I write this : > > on preopenStack > lock messages > set the loc of this stack to the screenloc > unlock messages > end preopenStack > > the stack is not at the screenloc > > > So there is probably somewhere a message that disturbs the messages after the preOpenStack handler > Where can I find this > When I set a breakpoint to trace the script I don't find this message > > > Thank you. > > Greetings. > > Yves COPPE > yvescoppe at skynet.be > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From olivier.auverlot at free.fr Thu Dec 30 15:06:05 2010 From: olivier.auverlot at free.fr (Olivier Auverlot) Date: Thu, 30 Dec 2010 21:06:05 +0100 Subject: Midi programming Message-ID: <01B415D6-3951-4F5F-B380-342DA9E34352@free.fr> Hi, How to communicate with MIDI musical instruments ? I need to send and receive MIDI messages. Thank you for your advice or ideas :) Best regards Olivier www.auverlot.fr From yvescoppe at skynet.be Thu Dec 30 15:48:32 2010 From: yvescoppe at skynet.be (Yves COPPE) Date: Thu, 30 Dec 2010 21:48:32 +0100 Subject: messages question In-Reply-To: <6232E4AC-AD77-4B42-8001-10D0AC68A063@economy-x-talk.com> References: <326177CB-747A-4865-AE6C-1791AEA3BDF5@skynet.be> <6232E4AC-AD77-4B42-8001-10D0AC68A063@economy-x-talk.com> Message-ID: Le 30 d?c. 2010 ? 21:03, Mark Schonewille a ?crit : > On preOpenstack > Hide this stack > Send "initialiseStack" to me in 0 millisecs > End preOpenstack > > On initialiseStack > Set the loc of this stack to the screenLoc > Show this stack > End initialiseStack > > -- > Kind regards, re, good script, works perfectly for the screenloc position but the script in the main stack that starts this openStack in the subsack, stops at the opening of the substack (modal substack) and doesn't run further when I close the substack Greetings. Yves COPPE yvescoppe at skynet.be From m.schonewille at economy-x-talk.com Thu Dec 30 15:56:55 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 30 Dec 2010 21:56:55 +0100 Subject: messages question In-Reply-To: References: <326177CB-747A-4865-AE6C-1791AEA3BDF5@skynet.be> <6232E4AC-AD77-4B42-8001-10D0AC68A063@economy-x-talk.com> Message-ID: Yves, Do you mean openStack or preOpenStack? Put the scripts into the (modal) substack. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 30 dec 2010, at 21:48, Yves COPPE wrote: > good script, works perfectly for the screenloc position but > the script in the main stack that starts this openStack in the subsack, stops at the opening of the substack (modal substack) and doesn't run further when I close the substack > > > > Greetings. > > Yves COPPE > yvescoppe at skynet.be From index at kenjikojima.com Thu Dec 30 16:04:22 2010 From: index at kenjikojima.com (Kenji Kojima) Date: Thu, 30 Dec 2010 16:04:22 -0500 Subject: Midi programming In-Reply-To: <01B415D6-3951-4F5F-B380-342DA9E34352@free.fr> References: <01B415D6-3951-4F5F-B380-342DA9E34352@free.fr> Message-ID: Hi, Download makeSMF library by UDI http://homepage.mac.com/udi/stack/makeSMF133.hqx -- Kenji Kojima / ???? http://kenjikojima.com/newsmusic/ On Dec 30, 2010, at 03:06 PM, Olivier Auverlot wrote: > Hi, > > How to communicate with MIDI musical instruments ? > > I need to send and receive MIDI messages. > > Thank you for your advice or ideas :) > > Best regards > > Olivier > www.auverlot.fr > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From yvescoppe at skynet.be Thu Dec 30 16:06:11 2010 From: yvescoppe at skynet.be (Yves COPPE) Date: Thu, 30 Dec 2010 22:06:11 +0100 Subject: messages question In-Reply-To: References: <326177CB-747A-4865-AE6C-1791AEA3BDF5@skynet.be> <6232E4AC-AD77-4B42-8001-10D0AC68A063@economy-x-talk.com> Message-ID: Le 30 d?c. 2010 ? 21:56, Mark Schonewille a ?crit : > Yves, > > Do you mean openStack or preOpenStack? > > Put the scripts into the (modal) substack. > re, in the preopenstack script of the substack (modal stack) Greetings. Yves COPPE yvescoppe at skynet.be From pete at mollysrevenge.com Thu Dec 30 16:08:56 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 30 Dec 2010 13:08:56 -0800 Subject: Someone Stole my Apply Button Message-ID: <2D103C33-87ED-456D-80D5-BA5ACE16613F@mollysrevenge.com> The Apply button in the script edit window has disappeared (LC 4.5.1). I'll swear I'm up to date with all my license fees, honest. Please can I have my Apply button back? I promise not to make so many script errors in future! Pete Haworth From pete at mollysrevenge.com Thu Dec 30 16:14:08 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 30 Dec 2010 13:14:08 -0800 Subject: export icons.. In-Reply-To: <4D1CD87E.5060402@hyperactivesw.com> References: <4D1CB019.20008@fourthworld.com> <4D1CD87E.5060402@hyperactivesw.com> Message-ID: not in response to this issue but I get the feeling that not many people use the Image Library feature of LC. I've imported several sets of icons that are generically useful to me across applications and it seems to work great. I did have an issue that the StackRunner program didn't display images from my stack's Image Library but I'm wondering if there are any other drawbacks to using it. Pete Haworth On Dec 30, 2010, at 11:07 AM, J. Landman Gay wrote: > On 12/30/10 10:15 AM, Richard Gaskin wrote: >> baccheschi wrote: >> >> > may tell me, please, if and how is it possible to export from >> > a stack to another the icons..?I am trying to rewrite an old >> > stack of HyperCard and i would use its icons..Thanksmario >> >> HC icons are stored as resources in the legacy Mac OS resource fork. >> >> Good news: You can use LiveCode's built-in getResources function to >> obtain a list of resources in a file, and use the getResource >> function >> to obtain the actual image data for the icon. >> >> Bad news: I have no idea how to translate that bitmap data into a >> form >> that will work well in a LiveCode image object. >> >> Anyone here know how do to that? > > I extracted the HC icons and saved them to a stack quite a while > ago. I just uploaded it to RevOnline. Anyone who needs the original > HC icons can search there for a stack called "HC Icons". > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From coiin at verizon.net Thu Dec 30 16:14:56 2010 From: coiin at verizon.net (Colin Holgate) Date: Thu, 30 Dec 2010 16:14:56 -0500 Subject: Someone Stole my Apply Button In-Reply-To: <2D103C33-87ED-456D-80D5-BA5ACE16613F@mollysrevenge.com> References: <2D103C33-87ED-456D-80D5-BA5ACE16613F@mollysrevenge.com> Message-ID: <45E3EA84-5D0C-4965-8027-E11256000270@verizon.net> On Dec 30, 2010, at 4:08 PM, Peter Haworth wrote: > The Apply button in the script edit window has disappeared (LC 4.5.1). I'll swear I'm up to date with all my license fees, honest. Please can I have my Apply button back? I promise not to make so many script errors in future! Is there a gap in the upper left of the script window, where the Apply button would normally be? From m.schonewille at economy-x-talk.com Thu Dec 30 16:16:25 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 30 Dec 2010 22:16:25 +0100 Subject: messages question In-Reply-To: References: <326177CB-747A-4865-AE6C-1791AEA3BDF5@skynet.be> <6232E4AC-AD77-4B42-8001-10D0AC68A063@economy-x-talk.com> Message-ID: <16A96B7C-DD6B-4EAD-966A-7284249A6D4C@economy-x-talk.com> Yves, I'm not sure what is going on. Your modal substack should be able to send messages to itself. What's the problem? Have you got any additional info? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 30 dec 2010, at 22:06, Yves COPPE wrote: > > > re, > > in the preopenstack script of the substack (modal stack) > > > Greetings. > > Yves COPPE > yvescoppe at skynet.be From jmyepes at mac.com Thu Dec 30 16:23:36 2010 From: jmyepes at mac.com (JosepM) Date: Thu, 30 Dec 2010 13:23:36 -0800 (PST) Subject: datagrid: add rows in CloseFieldEditor In-Reply-To: References: <1293670696908-3167836.post@n4.nabble.com> <1293731264039-3168568.post@n4.nabble.com> <1293737127233-3168662.post@n4.nabble.com> Message-ID: <1293744216824-3168784.post@n4.nabble.com> > To reference to next row from the actual is better use > > SetDataOfIndex the dgindex of me+1, "COL1", "Text of the Col" > > or can be a problem with datagrid index? > References: <2D103C33-87ED-456D-80D5-BA5ACE16613F@mollysrevenge.com> Message-ID: <48E2119B-3F12-4336-92B9-7F81FDE36C60@economy-x-talk.com> Hi Peter, There should be a circle with a triangle in it in the upper-right of the script editor window. If you click in it, you can show and hide the part of the window that contains the Compile button. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 30 dec 2010, at 22:08, Peter Haworth wrote: > The Apply button in the script edit window has disappeared (LC 4.5.1). I'll swear I'm up to date with all my license fees, honest. Please can I have my Apply button back? I promise not to make so many script errors in future! > > Pete Haworth From jacque at hyperactivesw.com Thu Dec 30 16:24:41 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 30 Dec 2010 15:24:41 -0600 Subject: Some things about backgrounds i never knew In-Reply-To: References: Message-ID: <4D1CF899.9030800@hyperactivesw.com> On 12/30/10 5:13 AM, David Bovill wrote: > What i did not get is that what is happening > here is such a hack, that is there are two important concepts / behaviors of > backgrounds: > > 1. It is shared across many cards and changing a property of one changes > the property of all ie they are the same object and have the smae id) > 2. The message path is different > > These seem however not to be linked, or related directly to the various > built in functions ie backgroundbehavior / backgroundnames / backgroundids > - so in the examples mentioned in previous posts you can have a background > shared across serveral cards that has it' background behavior turned off and > therefore does not show up in the backgroundnames / backgroundids. This is > problematic in the handlers I am writing now - as I want to know whether to > export the background or not, so I can;t rely on any of the built in > functions. You can place any group on a card, regardless of its backgroundBehavior. All of the background* functions return only those groups with backgroundBehavior set, whether or not the group is placed on the current card. It is unusual to assign a group backgroundBehavior and then turn it off again, but when you do that I believe the group's position in the message hierarchy will change and it will behave as a card group again. Because the group is placed on several cards, changes to it anywhere will reflect across all cards that contain the group. BackgroundBehavior doesn't affect whether changes populate across cards; if the ID matches, it's the same group. You don't need to worry about backgroundBehavior when checking groups for export. Just get "the number of groups" or "the groupnames of this card" and export them all. Those that are shared across other cards will still be in the list regardless of their backgroundBehavior setting. If instead you want to avoid exporting any background groups, then as you repeat through the list, check the group's backgroundBehavior and skip those where it's true. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From yvescoppe at skynet.be Thu Dec 30 16:26:30 2010 From: yvescoppe at skynet.be (Yves COPPE) Date: Thu, 30 Dec 2010 22:26:30 +0100 Subject: messages question In-Reply-To: <16A96B7C-DD6B-4EAD-966A-7284249A6D4C@economy-x-talk.com> References: <326177CB-747A-4865-AE6C-1791AEA3BDF5@skynet.be> <6232E4AC-AD77-4B42-8001-10D0AC68A063@economy-x-talk.com> <16A96B7C-DD6B-4EAD-966A-7284249A6D4C@economy-x-talk.com> Message-ID: <293A1B4B-7C34-4E46-AD69-B3BF118E37F3@skynet.be> Le 30 d?c. 2010 ? 22:16, Mark Schonewille a ?crit : > Yves, > > I'm not sure what is going on. Your modal substack should be able to send messages to itself. What's the problem? Have you got any additional info? > i have tried this : in the script of the mainstack : hide stack "dialogues" go to cd "Imprimer" of stack "dialogues" set the loc of stack "dialogues" to the screenLoc modal stack "dialogues" show stack "dialogues" the substack "dialogues" doesn't appear at the screenloc strange ! Greetings. Yves COPPE yvescoppe at skynet.be From infinite00 at embarqmail.com Thu Dec 30 16:27:35 2010 From: infinite00 at embarqmail.com (Bruce Pokras) Date: Thu, 30 Dec 2010 16:27:35 -0500 Subject: Join many PDF into one In-Reply-To: <1293459350773-3165030.post@n4.nabble.com> References: <1293455047868-3164964.post@n4.nabble.com> <1293459350773-3165030.post@n4.nabble.com> Message-ID: <2D276175-996B-46E6-9780-501DB7730244@embarqmail.com> The shell command using Python still works fine in Snow Leopard. The error for "CGPDFDocumentGetMediaBox" does not cause a problem. On Dec 27, 2010, at 9:15 AM, Martin Koob wrote: > > I found a page that explains how Automator actually joins PDFs and it > explains how to use the same method. > > http://hints.macworld.com/article.php?story=20060327192826493 > > It used a python command. > #! /usr/bin/python > # > # join > # Joing pages from a a collection of PDF files into a single PDF file. > # > # join [--output ] [--append] [--shuffle] [--preview] [--verbose]" > # > # Parameter: > # > # --shuffle > # Take a page from each PDF input file in turn before taking another from > each file. > # If this option is not specified then all of the pages from a PDF file are > appended > # to the output PDF file before the next input PDF file is processed. > # > # --verbose > # Write information about the doings of this tool to stderr. > # > > The author used the following as a prototype for the command. > > python '/System/Library/Automator/Combine PDF > Pages.action/Contents/Resources/join.py' -o '/path/to/output.pdf' > '/path/to/input1.pdf' '/path/to/input2.pdf' > > I tried this out by putting 2 PDFs (pg1.pdf & pg2.pdf in a directory) then > in terminal changed directory to that directory. And did the following > command in the terminal. > > Martin-Koobs-MacBook-Pro:PDF joins MartinLdrive$ python > '/System/Library/Automator/Combine PDF > Pages.action/Contents/Resources/join.py' -o 'combined.pdf' 'pg1.pdf' > 'pg2.pdf' > > This successfully created a PDF combined.pdf in the working directory but > generated an error as you can see from the terminal output below. > > Mon Dec 27 08:34:54 Martin-Koobs-MacBook-Pro.local Python[310] : The > function `CGPDFDocumentGetMediaBox' is obsolete and will be removed in an > upcoming update. Unfortunately, this application, or a library it uses, is > using this obsolete function, and is thereby contributing to an overall > degradation of system performance. Please use `CGPDFPageGetBoxRect' instead. > Martin-Koobs-MacBook-Pro:PDF joins MartinLdrive$ > > This was done in Mac OS X 10.5.8 I don't know if they changed the python > command in 10.6 so if they did this may not work. > > Any way I think you could use that as a shell command in LiveCode. I > haven't tried it though. You would have to construct the command using > variables to insert your file paths then do it as a shell command. > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Join-many-PDF-into-one-tp3164964p3165030.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From yvescoppe at skynet.be Thu Dec 30 16:30:30 2010 From: yvescoppe at skynet.be (Yves COPPE) Date: Thu, 30 Dec 2010 22:30:30 +0100 Subject: messages question In-Reply-To: <16A96B7C-DD6B-4EAD-966A-7284249A6D4C@economy-x-talk.com> References: <326177CB-747A-4865-AE6C-1791AEA3BDF5@skynet.be> <6232E4AC-AD77-4B42-8001-10D0AC68A063@economy-x-talk.com> <16A96B7C-DD6B-4EAD-966A-7284249A6D4C@economy-x-talk.com> Message-ID: Le 30 d?c. 2010 ? 22:16, Mark Schonewille a ?crit : > Yves, > > I'm not sure what is going on. Your modal substack should be able to send messages to itself. What's the problem? Have you got any additional info? > i have tried this : in the script of the mainstack : hide stack "dialogues" go to cd "Imprimer" of stack "dialogues" set the loc of stack "dialogues" to the screenLoc modal stack "dialogues" show stack "dialogues" the substack "dialogues" doesn't appear at the screenloc If I change the script in the script of the mainstack : hide stack "dialogues" go to cd "Imprimer" of stack "dialogues" set the loc of stack "dialogues" to the screenLoc show stack "dialogues" (i remove --modal stack "dialogues") the substack "dialogues" does appear at the screenloc strange ! Amicalement. Yves COPPE yvescoppe at skynet.be From m.schonewille at economy-x-talk.com Thu Dec 30 16:41:25 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 30 Dec 2010 22:41:25 +0100 Subject: messages question In-Reply-To: References: <326177CB-747A-4865-AE6C-1791AEA3BDF5@skynet.be> <6232E4AC-AD77-4B42-8001-10D0AC68A063@economy-x-talk.com> <16A96B7C-DD6B-4EAD-966A-7284249A6D4C@economy-x-talk.com> Message-ID: Hi Yves, Do it in the script of the substack, not in the script of the mainstack. Use my script. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 30 dec 2010, at 22:30, Yves COPPE wrote: > > Le 30 d?c. 2010 ? 22:16, Mark Schonewille a ?crit : > > i have tried this : > > in the script of the mainstack : > > hide stack "dialogues" > go to cd "Imprimer" of stack "dialogues" > set the loc of stack "dialogues" to the screenLoc > modal stack "dialogues" > show stack "dialogues" > > the substack "dialogues" doesn't appear at the screenloc > > > If I change the script > > in the script of the mainstack : > > hide stack "dialogues" > go to cd "Imprimer" of stack "dialogues" > set the loc of stack "dialogues" to the screenLoc > show stack "dialogues" > > (i remove --modal stack "dialogues") > > the substack "dialogues" does appear at the screenloc > > > strange ! > > > > Amicalement. > > Yves COPPE > yvescoppe at skynet.be From pete at mollysrevenge.com Thu Dec 30 16:46:05 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 30 Dec 2010 13:46:05 -0800 Subject: Someone Stole my Apply Button In-Reply-To: <48E2119B-3F12-4336-92B9-7F81FDE36C60@economy-x-talk.com> References: <2D103C33-87ED-456D-80D5-BA5ACE16613F@mollysrevenge.com> <48E2119B-3F12-4336-92B9-7F81FDE36C60@economy-x-talk.com> Message-ID: <59D4DF54-7633-44BD-8DDE-DBA3CB0B762F@mollysrevenge.com> Thanks, got it, not sure how the the circle/triangle thing got clikced but that's it. Pete Haworth On Dec 30, 2010, at 1:24 PM, Mark Schonewille wrote: > Hi Peter, > > There should be a circle with a triangle in it in the upper-right of > the script editor window. If you click in it, you can show and hide > the part of the window that contains the Compile button. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce > > On 30 dec 2010, at 22:08, Peter Haworth wrote: > >> The Apply button in the script edit window has disappeared (LC >> 4.5.1). I'll swear I'm up to date with all my license fees, >> honest. Please can I have my Apply button back? I promise not to >> make so many script errors in future! >> >> Pete Haworth > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From yvescoppe at skynet.be Thu Dec 30 16:50:13 2010 From: yvescoppe at skynet.be (Yves COPPE) Date: Thu, 30 Dec 2010 22:50:13 +0100 Subject: messages question In-Reply-To: References: <326177CB-747A-4865-AE6C-1791AEA3BDF5@skynet.be> <6232E4AC-AD77-4B42-8001-10D0AC68A063@economy-x-talk.com> <16A96B7C-DD6B-4EAD-966A-7284249A6D4C@economy-x-talk.com> Message-ID: <63C674EE-3EF0-433C-93B3-74024946849D@skynet.be> Le 30 d?c. 2010 ? 22:41, Mark Schonewille a ?crit : > Hi Yves, > > Do it in the script of the substack, not in the script of the mainstack. Use my script. > your script was in the substack and works great but the script of the mainstack that launch the substack stops and doesn't run further when I close the substack (dialog) Greetings. Yves COPPE yvescoppe at skynet.be From m.schonewille at economy-x-talk.com Thu Dec 30 17:00:24 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 30 Dec 2010 23:00:24 +0100 Subject: messages question In-Reply-To: <63C674EE-3EF0-433C-93B3-74024946849D@skynet.be> References: <326177CB-747A-4865-AE6C-1791AEA3BDF5@skynet.be> <6232E4AC-AD77-4B42-8001-10D0AC68A063@economy-x-talk.com> <16A96B7C-DD6B-4EAD-966A-7284249A6D4C@economy-x-talk.com> <63C674EE-3EF0-433C-93B3-74024946849D@skynet.be> Message-ID: Yves, What do you have in the script of your mainstack *now*? What is the name of the mainstack and what is the name of the substack? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 30 dec 2010, at 22:50, Yves COPPE wrote: > > your script was in the substack and works great > but the script of the mainstack that launch the substack stops and doesn't run further when I close the substack (dialog) > > Greetings. > > Yves COPPE > yvescoppe at skynet.be From yvescoppe at skynet.be Thu Dec 30 17:11:52 2010 From: yvescoppe at skynet.be (Yves COPPE) Date: Thu, 30 Dec 2010 23:11:52 +0100 Subject: messages question In-Reply-To: References: <326177CB-747A-4865-AE6C-1791AEA3BDF5@skynet.be> <6232E4AC-AD77-4B42-8001-10D0AC68A063@economy-x-talk.com> <16A96B7C-DD6B-4EAD-966A-7284249A6D4C@economy-x-talk.com> <63C674EE-3EF0-433C-93B3-74024946849D@skynet.be> Message-ID: <3AD9178A-9952-4981-9CDC-62739CA32A29@skynet.be> Le 30 d?c. 2010 ? 23:00, Mark Schonewille a ?crit : > Yves, > > What do you have in the script of your mainstack *now*? What is the name of the mainstack and what is the name of the substack? > > -- > Best regards, > re Mark, the main stack : "accueil' the substack "dialogues" the main stack : on preopenstack start using stack "mes scripts" set the rect of this stack to "74,96,701,542" end preopenstack on preOpenCard if the mode of this stack "accueil" = "5" then if not the visible of stack "accueil" then lock messages set the visible of stack "accueil" to true unlock messages end if end if if the mode of stack "accueil" = "6" then if not the visible of stack "accueil" then lock messages set the visible of stack "accueil" to true unlock messages end if end if end preOpenCard Greetings. Yves COPPE yvescoppe at skynet.be From DunbarX at aol.com Thu Dec 30 17:25:24 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 30 Dec 2010 17:25:24 EST Subject: Missing plug-in. Again Message-ID: <70271.9e62ad5.3a4e60d4@aol.com> Jacques. I knew it would be you. And this all sounds familiar. And last time it all worked. Richard Gaskin was helpful as well. But this time no. I created a folder called "User PlugIns Folder" and placed it in the "4.5.0-dp-2" folder, which was created by the installer. The plugin stack is located inside that folder. Setting the file path (from the "Files and Memory" pane) to any level in and around that folder, from the folder itself all the way to the desktop almost, does nothing. I moved the folder to the Documents folder. Nothing. The plugin stack itself merely starts using a library stack. I want to be able to get this going even when I start a new session by opening any old stack. Ordinary stuff. My installer did not create a folder "Documents/LiveCode/Plugins", if that matters. I can certain navigate, via that preferences dialog, to the folder in question. Or anywhere around it. Sound like my message box bugaboo. Craig In a message dated 12/30/10 1:41:26 PM, jacque at hyperactivesw.com writes: > > Plugins shouldn't go into the plugins folder inside the LC bundle, but > rather into a user Plugins folder. By default that's located in > Documents/LiveCode/Plugins, but you can set it to any folder by changing > the path in the Files pane of Preferences. When setting the folder, > don't point the path to Plugins, point it to the enclosing folder > (Documents/LiveCode/). > > The path you set 4.5.2 should have been recognized by 4.5, since they > both share the same prefs file. But try opening preferences and setting > the path to the one that holds your Plugins folder and then restart 4.5. > > -- > From m.schonewille at economy-x-talk.com Thu Dec 30 17:25:47 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 30 Dec 2010 23:25:47 +0100 Subject: messages question In-Reply-To: <3AD9178A-9952-4981-9CDC-62739CA32A29@skynet.be> References: <326177CB-747A-4865-AE6C-1791AEA3BDF5@skynet.be> <6232E4AC-AD77-4B42-8001-10D0AC68A063@economy-x-talk.com> <16A96B7C-DD6B-4EAD-966A-7284249A6D4C@economy-x-talk.com> <63C674EE-3EF0-433C-93B3-74024946849D@skynet.be> <3AD9178A-9952-4981-9CDC-62739CA32A29@skynet.be> Message-ID: <560E0C43-5412-4F09-BAD1-988DD6CD30DE@economy-x-talk.com> Yves, It wasn't clear to me that you don't open Dialogues immediately when Accueil opens. I had the impression Dialogues has to open automatically when Accueil opens. You can do exactly the same trick in Accueil as in Dialogues. on preOpenStack hide this stack send "initialiseStack" to me in 0 millisecs end preOpenStack on initialiseStack if the mode of this stack is "5" or the mode of this stack is "6" then show this stack else -- I don't know what you want to do here? end if end inisitaliseStack Keep these handlers in the card script. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 30 dec 2010, at 23:11, Yves COPPE wrote: > > re Mark, > > the main stack : "accueil' > the substack "dialogues" > > the main stack : > > on preopenstack > start using stack "mes scripts" > set the rect of this stack to "74,96,701,542" > end preopenstack > > > on preOpenCard > if the mode of this stack "accueil" = "5" then > if not the visible of stack "accueil" then > lock messages > set the visible of stack "accueil" to true > unlock messages > end if > end if > if the mode of stack "accueil" = "6" then > if not the visible of stack "accueil" then > lock messages > set the visible of stack "accueil" to true > unlock messages > end if > end if > end preOpenCard > > > > Greetings. > > Yves COPPE > yvescoppe at skynet.be From david at vaudevillecourt.tv Thu Dec 30 17:44:07 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Thu, 30 Dec 2010 22:44:07 +0000 Subject: Some things about backgrounds i never knew In-Reply-To: <4D1CF899.9030800@hyperactivesw.com> References: <4D1CF899.9030800@hyperactivesw.com> Message-ID: On 30 December 2010 21:24, J. Landman Gay wrote: > > You can place any group on a card, regardless of its backgroundBehavior. > All of the background* functions return only those groups with > backgroundBehavior set, whether or not the group is placed on the current > card. It is unusual to assign a group backgroundBehavior and then turn it > off again, but when you do that I believe the group's position in the > message hierarchy will change and it will behave as a card group again. > Because the group is placed on several cards, changes to it anywhere will > reflect across all cards that contain the group. BackgroundBehavior doesn't > affect whether changes populate across cards; if the ID matches, it's the > same group. > Yes - that seems to be exactly right. You don't need to worry about backgroundBehavior when checking groups for > export. Just get "the number of groups" or "the groupnames of this card" and > export them all. Those that are shared across other cards will still be in > the list regardless of their backgroundBehavior setting. > > If instead you want to avoid exporting any background groups, then as you > repeat through the list, check the group's backgroundBehavior and skip those > where it's true. > Yes - those use cases are fine. I want to make sure I am not exporting identical information about objects twice, so I want to know which groups in a stack are backgrounds in the shared id sense - there is no function for this, so I've had to take a different approach and simply loop through every card checking the ids. I still really want to know what "background 2 of this stack" refers to - any idea about that? From jacque at hyperactivesw.com Thu Dec 30 18:14:38 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 30 Dec 2010 17:14:38 -0600 Subject: Missing plug-in. Again In-Reply-To: <70271.9e62ad5.3a4e60d4@aol.com> References: <70271.9e62ad5.3a4e60d4@aol.com> Message-ID: <4D1D125E.3080007@hyperactivesw.com> On 12/30/10 4:25 PM, DunbarX at aol.com wrote: > My installer did not create a folder "Documents/LiveCode/Plugins", if that > matters. I can certain navigate, via that preferences dialog, to the folder > in question. Or anywhere around it. I know, they'd avoid some confusion if they created those folders for you. Anyway, the enclosing folder can be named anything and placed anywhere (but best to avoid the app folder, make it a user location.) But inside that you must have a folder named exactly "Plugins". And your plugins go there. If you still have a My Studio (or My Enterprise) folder inside Documents, put your plugin inside the Plugins folder in there and point to My Studio (or whatever.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Dec 30 18:22:46 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 30 Dec 2010 17:22:46 -0600 Subject: Some things about backgrounds i never knew In-Reply-To: References: <4D1CF899.9030800@hyperactivesw.com> Message-ID: <4D1D1446.800@hyperactivesw.com> On 12/30/10 4:44 PM, David Bovill wrote: > Yes - those use cases are fine. I want to make sure I am not exporting > identical information about objects twice, so I want to know which groups in > a stack are backgrounds in the shared id sense - there is no function for > this, so I've had to take a different approach and simply loop through every > card checking the ids. Try: if the number of cds of grp "whatever" > 1 then... More than one card, and it's shared. > > I still really want to know what "background 2 of this stack" refers to - > any idea about that? It should be the second group in the stack that has backgroundBehavior set, but a quick experiment seems to indicate that a background is any group with more than one card. But I'm not positive, you'd need to double-check that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Thu Dec 30 18:24:54 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 30 Dec 2010 15:24:54 -0800 Subject: Missing plug-in. Again In-Reply-To: <70271.9e62ad5.3a4e60d4@aol.com> References: <70271.9e62ad5.3a4e60d4@aol.com> Message-ID: <221108569328.20101230152454@ahsoftware.net> DunbarX- Thursday, December 30, 2010, 2:25:24 PM, you wrote: > placed it in the "4.5.0-dp-2" folder, which was created by the installer. Don't do that. > My installer did not create a folder > "Documents/LiveCode/Plugins", if that > matters. I can certain navigate, via that preferences dialog, to the folder > in question. Or anywhere around it. Do that (sort of) - navigate to the "Documents/LiveCode" folder, not the Plugins folder itself. And put your plugins there. That should take care of things. The installer never creates that folder for you, although quite a bit relies on its existence. There's a long-standing bug in the QC about it, and word from the mothership every once in a while of "we're thinking about it". -- -Mark Wieder mwieder at ahsoftware.net From jhurley0305 at sbcglobal.net Thu Dec 30 18:38:44 2010 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Thu, 30 Dec 2010 15:38:44 -0800 Subject: Missing plug-in. Again In-Reply-To: References: Message-ID: <9CD314AE-74B2-4551-AEB3-40974A8F5112@sbcglobal.net> > > Message: 33 > Date: Thu, 30 Dec 2010 17:14:38 -0600 > From: "J. Landman Gay" > To: How to use LiveCode > Subject: Re: Missing plug-in. Again > Message-ID: <4D1D125E.3080007 at hyperactivesw.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 12/30/10 4:25 PM, DunbarX at aol.com wrote: > >> My installer did not create a folder "Documents/LiveCode/Plugins", >> if that >> matters. I can certain navigate, via that preferences dialog, to >> the folder >> in question. Or anywhere around it. > > I know, they'd avoid some confusion if they created those folders for > you. Anyway, the enclosing folder can be named anything and placed > anywhere (but best to avoid the app folder, make it a user location.) > But inside that you must have a folder named exactly "Plugins". And > your > plugins go there. > > If you still have a My Studio (or My Enterprise) folder inside > Documents, put your plugin inside the Plugins folder in there and > point > to My Studio (or whatever.) > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > -- I'm pretty sure this is a no-no, but it has worked well for me. I right-click on the Live Code application in the Application folder and open the Package Contents/Tools/Plugins. I do this for 4.5.1 and 4.5.2 and then just Option-Drag the plugin of interest from Plugin folder to the other. Works like a charm. Don't tell anybody I'm doing this. I'm sure it's naughty. Jim From mwieder at ahsoftware.net Thu Dec 30 18:50:17 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 30 Dec 2010 15:50:17 -0800 Subject: Missing plug-in. Again In-Reply-To: <9CD314AE-74B2-4551-AEB3-40974A8F5112@sbcglobal.net> References: <9CD314AE-74B2-4551-AEB3-40974A8F5112@sbcglobal.net> Message-ID: <821110092953.20101230155017@ahsoftware.net> Jim- Thursday, December 30, 2010, 3:38:44 PM, you wrote: > Don't tell anybody I'm doing this. I'm sure it's naughty. Not really, you're just making extra work for yourself. You'll have to do this for 4.5.3, 4.6... Much easier to create a folder somewhere else and just set your preferences to point to it. Make a "Plugins" folder in it and move your plugins there. Then you don't have to do anything special for different RR/LC versions. -- -Mark Wieder mwieder at ahsoftware.net From DunbarX at aol.com Thu Dec 30 18:58:35 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 30 Dec 2010 18:58:35 EST Subject: Missing plug-in. Again Message-ID: <73b59.661a902c.3a4e76ab@aol.com> Everyone is being very helpful. 1- I made a folder named "Plugins". Put it into the "documents" folder. 2- I placed my plugin stack inside. (the stack works if I open a new session with it; it does its thing) 3- I set the path in the preferences. Once to to the "plugins" folder itself, and then to the folder ("documents") enclosing it. It's the right folder; I can see the utility stack inside when I navigate. Nada. And it used to work. Rats. Craig In a message dated 12/30/10 6:19:18 PM, jacque at hyperactivesw.com writes: > > plugins go there. > > From david at vaudevillecourt.tv Thu Dec 30 19:00:34 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 31 Dec 2010 00:00:34 +0000 Subject: Some things about backgrounds i never knew In-Reply-To: <4D1D1446.800@hyperactivesw.com> References: <4D1CF899.9030800@hyperactivesw.com> <4D1D1446.800@hyperactivesw.com> Message-ID: On 30 December 2010 23:22, J. Landman Gay wrote: > On 12/30/10 4:44 PM, David Bovill wrote: > > Yes - those use cases are fine. I want to make sure I am not exporting >> identical information about objects twice, so I want to know which groups >> in >> a stack are backgrounds in the shared id sense - there is no function for >> this, so I've had to take a different approach and simply loop through >> every >> card checking the ids. >> > > Try: > > if the number of cds of grp "whatever" > 1 then... > > More than one card, and it's shared. Ah - that's anew one. Thanks! > I still really want to know what "background 2 of this stack" refers to - > any idea about that? > It should be the second group in the stack that has backgroundBehavior set, > but a quick experiment seems to indicate that a background is any group with > more than one card. But I'm not positive, you'd need to double-check that. > OK - will dig into it. It's not to do with backgroundBehavior - you get positive results with all the groups having this turned off... From jacque at hyperactivesw.com Thu Dec 30 22:18:59 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 30 Dec 2010 21:18:59 -0600 Subject: Missing plug-in. Again In-Reply-To: <73b59.661a902c.3a4e76ab@aol.com> References: <73b59.661a902c.3a4e76ab@aol.com> Message-ID: <4D1D4BA3.5030806@hyperactivesw.com> On 12/30/10 5:58 PM, DunbarX at aol.com wrote: > Everyone is being very helpful. > > 1- I made a folder named "Plugins". Put it into the "documents" folder. No, make a folder called "LiveCode" or "My LC Stuff" or "Craig's stuff" and put *that* into Documents. The LiveCode folder will also contain two other folders eventually (Externals and Resources) which you'll probably need later at some point. You could create those inside of "LiveCode" now too if you want to be prepared. Now point preferences to "LiveCode" (or "Craig's stuff" or whatever you named it.) > 2- I placed my plugin stack inside. (the stack works if I open a new > session with it; it does its thing) Right, but Plugins has to be inside a containing folder. You only need to set this up once, then all future releases will find it. The advantage of naming it "LiveCode" instead of "Craig's stuff" is that "LiveCode" is searched for in Documents by default and you don't need to set prefs at all if you do that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From John at allijn.com Fri Dec 31 02:39:14 2010 From: John at allijn.com (John Allijn) Date: Fri, 31 Dec 2010 08:39:14 +0100 Subject: Beginners questions Message-ID: Hi, I'm new to livecode, but have some experience in supercard (and even hypercard). First of all: I am very impressed that it is now possible to create iOS apps with livecode! However, I have a few questions about building for iOS. 1) I want to create an iPad app. So I created a stack in the right proportions, set the right iOS attributes etc. When I run the app in the simulater however, all the controls like buttons, except the picker-wheel, look like windows 3.11 buttons. Is there a way to use the default iOS controls? If not: is there an easy way to import all the iOS controls into a stack? 2) I have read about accessing local datafiles (and even sql databases) on the iPhone/iPad. Is it also possible to access a file or a database on the web? I want to setup a central database (like a wiki) and have the iPad app read and write to it. I do not expect many users, so I don't care much if it is a file or a DB on the web. both will do fine. thanks, John Allijn From jmyepes at mac.com Fri Dec 31 05:17:58 2010 From: jmyepes at mac.com (JosepM) Date: Fri, 31 Dec 2010 02:17:58 -0800 (PST) Subject: Join many PDF into one In-Reply-To: <2D276175-996B-46E6-9780-501DB7730244@embarqmail.com> References: <1293455047868-3164964.post@n4.nabble.com> <1293459350773-3165030.post@n4.nabble.com> <2D276175-996B-46E6-9780-501DB7730244@embarqmail.com> Message-ID: <1293790678362-3169265.post@n4.nabble.com> But they advise that in future releases maybe will not available... Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Join-many-PDF-into-one-tp3164964p3169265.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Fri Dec 31 05:30:27 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 31 Dec 2010 11:30:27 +0100 Subject: Beginners questions In-Reply-To: References: Message-ID: <676684B0-DB88-47A5-9BF4-7E903FE779A5@economy-x-talk.com> Hi John, There is no easy way to import all iOS controls. You can fake them using pictures. LiveCode for iOS can connect to sockets, so it should be able to contact a web server and read data from an on-line database. I don't know whether libURL is included already (just check the release notes), but if it is then it should be easy. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 31 dec 2010, at 08:39, John Allijn wrote: > Hi, > > I'm new to livecode, but have some experience in supercard (and even hypercard). > First of all: I am very impressed that it is now possible to create iOS apps with livecode! > > However, I have a few questions about building for iOS. > > 1) I want to create an iPad app. So I created a stack in the right proportions, set the right iOS attributes etc. > When I run the app in the simulater however, all the controls like buttons, except the picker-wheel, look like windows 3.11 buttons. Is there a way to use the default iOS controls? If not: is there an easy way to import all the iOS controls into a stack? > > 2) I have read about accessing local datafiles (and even sql databases) on the iPhone/iPad. Is it also possible to access a file or a database on the web? I want to setup a central database (like a wiki) and have the iPad app read and write to it. I do not expect many users, so I don't care much if it is a file or a DB on the web. both will do fine. > > thanks, > John Allijn From rolf.kocherhans at id.uzh.ch Fri Dec 31 06:48:32 2010 From: rolf.kocherhans at id.uzh.ch (Rolf Kocherhans) Date: Fri, 31 Dec 2010 12:48:32 +0100 Subject: [OT] Apple publishes six free e-books for developers In-Reply-To: References: Message-ID: Tom, no need for PhoneView after downloading on the iPad and a sync with iTunes you find all Books in: iTunes/iTunes Music/Books/Apple Developer Publications Cheers Rolf Am 30.12.2010 um 19:00 schrieb use-livecode-request at lists.runrev.com: > From: Thomas McGrath III > > Or if you already downloaded them onto your iPad you can use PhoneView to extract them and then view the epub in Adobe Digital Editions full screen on your desktop. I use phoneview to extract all of 'my' files off the iPhone and iPad. From john at allijn.com Fri Dec 31 06:58:21 2010 From: john at allijn.com (John Allijn) Date: Fri, 31 Dec 2010 12:58:21 +0100 Subject: Beginners questions In-Reply-To: <676684B0-DB88-47A5-9BF4-7E903FE779A5@economy-x-talk.com> References: <676684B0-DB88-47A5-9BF4-7E903FE779A5@economy-x-talk.com> Message-ID: Thanks Mark! I'll look into the libURL. Best regards, john. Sent from my iPad On Dec 31, 2010, at 11:30, Mark Schonewille wrote: > Hi John, > > There is no easy way to import all iOS controls. You can fake them using pictures. > > LiveCode for iOS can connect to sockets, so it should be able to contact a web server and read data from an on-line database. I don't know whether libURL is included already (just check the release notes), but if it is then it should be easy. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce > > On 31 dec 2010, at 08:39, John Allijn wrote: > >> Hi, >> >> I'm new to livecode, but have some experience in supercard (and even hypercard). >> First of all: I am very impressed that it is now possible to create iOS apps with livecode! >> >> However, I have a few questions about building for iOS. >> >> 1) I want to create an iPad app. So I created a stack in the right proportions, set the right iOS attributes etc. >> When I run the app in the simulater however, all the controls like buttons, except the picker-wheel, look like windows 3.11 buttons. Is there a way to use the default iOS controls? If not: is there an easy way to import all the iOS controls into a stack? >> >> 2) I have read about accessing local datafiles (and even sql databases) on the iPhone/iPad. Is it also possible to access a file or a database on the web? I want to setup a central database (like a wiki) and have the iPad app read and write to it. I do not expect many users, so I don't care much if it is a file or a DB on the web. both will do fine. >> >> thanks, >> John Allijn > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From olivier.auverlot at free.fr Fri Dec 31 08:04:36 2010 From: olivier.auverlot at free.fr (Olivier Auverlot) Date: Fri, 31 Dec 2010 14:04:36 +0100 Subject: Midi programming In-Reply-To: References: <01B415D6-3951-4F5F-B380-342DA9E34352@free.fr> Message-ID: Thanks for this link. it seems cool for play midifile files but how to record ? Olivier www.auverlot.fr Le 30 d?c. 2010 ? 22:04, Kenji Kojima a ?crit : > Hi, > > Download makeSMF library by UDI > http://homepage.mac.com/udi/stack/makeSMF133.hqx > > -- > Kenji Kojima / ???? > http://kenjikojima.com/newsmusic/ > > > > > On Dec 30, 2010, at 03:06 PM, Olivier Auverlot wrote: > >> Hi, >> >> How to communicate with MIDI musical instruments ? >> >> I need to send and receive MIDI messages. >> >> Thank you for your advice or ideas :) >> >> Best regards >> >> Olivier >> www.auverlot.fr >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From yvescoppe at skynet.be Fri Dec 31 08:09:04 2010 From: yvescoppe at skynet.be (Yves COPPE) Date: Fri, 31 Dec 2010 14:09:04 +0100 Subject: messages question In-Reply-To: <560E0C43-5412-4F09-BAD1-988DD6CD30DE@economy-x-talk.com> References: <326177CB-747A-4865-AE6C-1791AEA3BDF5@skynet.be> <6232E4AC-AD77-4B42-8001-10D0AC68A063@economy-x-talk.com> <16A96B7C-DD6B-4EAD-966A-7284249A6D4C@economy-x-talk.com> <63C674EE-3EF0-433C-93B3-74024946849D@skynet.be> <3AD9178A-9952-4981-9CDC-62739CA32A29@skynet.be> <560E0C43-5412-4F09-BAD1-988DD6CD30DE@economy-x-talk.com> Message-ID: Le 30 d?c. 2010 ? 23:25, Mark Schonewille a ?crit : > Yves, > > It wasn't clear to me that you don't open Dialogues immediately when Accueil opens. I had the impression Dialogues has to open automatically when Accueil opens. > > You can do exactly the same trick in Accueil as in Dialogues. > > on preOpenStack > hide this stack > send "initialiseStack" to me in 0 millisecs > end preOpenStack > > on initialiseStack > if the mode of this stack is "5" or the mode of this stack is "6" then > show this stack > else > -- I don't know what you want to do here? > end if > end inisitaliseStack > > Keep these handlers in the card script. > Hi I've done as you say and it's good : the two handlers placed in the two stacks but in the card script and it's good ! when I place the "set the loc of this stack to the screenloc" in the handler, it isn't good but if I use the send "initialiseStack" to me in 0 millisecs and place the "set the loc of this stack to the screenloc" out of the handler but in the new handler "on initialiseStack" this runs perfectly .... Thanks !!!! and happy new year 2011 Greetings. Yves COPPE yvescoppe at skynet.be From baccheschi at tin.it Fri Dec 31 09:02:02 2010 From: baccheschi at tin.it (baccheschi at tin.it) Date: Fri, 31 Dec 2010 15:02:02 +0100 (CET) Subject: R: Re: export icons.. Message-ID: <12d3cbc314b.baccheschi@tin.it> ----Messaggio originale---- Da: jacque at hyperactivesw.com Data: 30-dic-2010 20.07 A: "How to use LiveCode" Ogg: Re: export icons.. On 12/30/10 10:15 AM, Richard Gaskin wrote: > baccheschi wrote: > > > may tell me, please, if and how is it possible to export from > > a stack to another the icons..?I am trying to rewrite an old > > stack of HyperCard and i would use its icons..Thanksmario > > HC icons are stored as resources in the legacy Mac OS resource fork. > > Good news: You can use LiveCode's built-in getResources function to > obtain a list of resources in a file, and use the getResource function > to obtain the actual image data for the icon. > > Bad news: I have no idea how to translate that bitmap data into a form > that will work well in a LiveCode image object. > > Anyone here know how do to that? I extracted the HC icons and saved them to a stack quite a while ago. I just uploaded it to RevOnline. Anyone who needs the original HC icons can search there for a stack called "HC Icons". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode Many thanks for "HC icons".. I need to learn how use the getResources function...because the HypCardstack i would use has many icons different from HC greetings mario From davidocoker at gmail.com Fri Dec 31 10:13:15 2010 From: davidocoker at gmail.com (David C.) Date: Fri, 31 Dec 2010 09:13:15 -0600 Subject: Rev CGI problems Message-ID: Hello folks, I just installed the 4.00 Linux CGI engine to my server using Jim Bufalin's really cool "Install Rev CGI 1.1 stack", and it appears that everything was uploaded correctly, with correct file permissions (755) having been set. None of the test scripts that I've tried work, yet I do not get an error message either... ...nothing a blank page is returned. The script I've been using for test purposes came from Jacqueline's tutorial page: #!revolution -ui on startup put "Content-Type: text/plain" & cr & cr put "Hello World!" end startup Anyone out there have any clues of how I might resolve this? Best regards, David C. From DunbarX at aol.com Fri Dec 31 10:26:37 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 31 Dec 2010 10:26:37 EST Subject: Missing plug-in. Again Message-ID: <891b6.2b8c41b.3a4f502d@aol.com> Jacques. Thanks. Works. This has to be done just right. It really seems like it should be done by the installer script, or at least a recipe published. I will keep that recipe written down this time. Craig From wdurden at gmail.com Fri Dec 31 10:42:43 2010 From: wdurden at gmail.com (wayne durden) Date: Fri, 31 Dec 2010 10:42:43 -0500 Subject: Rev CGI problems In-Reply-To: References: Message-ID: Hello David, I went through this very big headache as well. The answer is that you need the 3.5 CGI engine. CGI capability was removed thereafter. It isn't clear in the purchasing process and the older materials online lead one to believe capabilities are there that have been removed. The company graciously allowed a post of links to the older engines via Jacqueline, but you may need to email Heather on the list to make sure this is still proper. Good luck, it works very well as a CGI engine once you get the right version. Wayne On Fri, Dec 31, 2010 at 10:13 AM, David C. wrote: > Hello folks, > I just installed the 4.00 Linux CGI engine to my server using Jim > Bufalin's really cool "Install Rev CGI 1.1 stack", and it appears that > everything was uploaded correctly, with correct file permissions (755) > having been set. > > None of the test scripts that I've tried work, yet I do not get an > error message either... > ...nothing a blank page is returned. > > The script I've been using for test purposes came from Jacqueline's > tutorial page: > > #!revolution -ui > on startup > put "Content-Type: text/plain" & cr & cr > put "Hello World!" > end startup > > > > Anyone out there have any clues of how I might resolve this? > > Best regards, > David C. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lists at mangomultimedia.com Fri Dec 31 10:46:32 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 31 Dec 2010 10:46:32 -0500 Subject: datagrid: add rows in CloseFieldEditor In-Reply-To: <1293744216824-3168784.post@n4.nabble.com> References: <1293670696908-3167836.post@n4.nabble.com> <1293731264039-3168568.post@n4.nabble.com> <1293737127233-3168662.post@n4.nabble.com> <1293744216824-3168784.post@n4.nabble.com> Message-ID: On Thu, Dec 30, 2010 at 4:23 PM, JosepM wrote: > > > To reference to next row from the actual is better use > > > > SetDataOfIndex the dgindex of me+1, "COL1", "Text of the Col" > > > > or can be a problem with datagrid index? > > error > > Whenever I refer to the other line is why I have the certainty that there > is, so the first row generates, if necessary, additional lines. So, in > theory should not cause any error. > > I have been trying to create several rows which this create more rows to > force the displacement of the datagrid height and, at first glance seems to > work and move correctly. > > The creation of these lines is always in last position and never between. > > Why you say that don't update de total height of data? > The data grid has to keep track of the total height of the data in a data grid. For a data grid table or a data grid form with a fixed row height this is just the row height * the number of records in the table. For data grid form with variable row heights the total height is cached. This cache is updated when you add/remove rows. If you use SetDataOfIndex to add a row to a data grid form with variable row heights then the cached height would not be correct. I just looked at the code again and there are other operations that occur when adding a row to a data grid such as storing of the sequence for the index. So I would recommend that you always use AddData to add rows to the data grid. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From davidocoker at gmail.com Fri Dec 31 11:03:48 2010 From: davidocoker at gmail.com (David C.) Date: Fri, 31 Dec 2010 10:03:48 -0600 Subject: Rev CGI problems In-Reply-To: References: Message-ID: > I went through this very big headache as well. ?The answer is that you need > the 3.5 CGI engine. ?CGI capability was removed thereafter. ?It isn't clear > in the purchasing process and the older materials online lead one to believe > capabilities are there that have been removed. ?The company graciously > allowed a post of links to the older engines via Jacqueline, but you may > need to email Heather on the list to make sure this is still proper. Thank you Wayne! ...seems like I remember reading about that here on the list, so I guess I'll contact Heather. :) Oh... and Happy New Year to everyone! Best regards, David C. From richmondmathewson at gmail.com Fri Dec 31 11:15:53 2010 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 31 Dec 2010 18:15:53 +0200 Subject: Unicode and N with a tilde Message-ID: <4D1E01B9.4050900@gmail.com> Oh Gosh, I cannot write the Spanish for 'tomorrow' in Livecode . . . doing the following: set the useUnicode to true set the useUnicode of fld "XYZ" to numToChar(241) should [ a meaty modal verb if ever there was one ] produce an 'n' with a tilde over it; but it doesn't . . . . . .just a daft square . . . :( From davidocoker at gmail.com Fri Dec 31 11:17:09 2010 From: davidocoker at gmail.com (David C.) Date: Fri, 31 Dec 2010 10:17:09 -0600 Subject: Rev CGI problems In-Reply-To: References: Message-ID: I've emailed Heather but it appears from the automated response that RunRev will have limited support through the end of the holiday season. Any other ideas that don't include waiting and/or wasting the entire weekend from any of you creative folks out there? Best regards, David C. From infinite00 at embarqmail.com Fri Dec 31 12:25:15 2010 From: infinite00 at embarqmail.com (Bruce Pokras) Date: Fri, 31 Dec 2010 12:25:15 -0500 Subject: Join many PDF into one In-Reply-To: <1293790678362-3169265.post@n4.nabble.com> References: <1293455047868-3164964.post@n4.nabble.com> <1293459350773-3165030.post@n4.nabble.com> <2D276175-996B-46E6-9780-501DB7730244@embarqmail.com> <1293790678362-3169265.post@n4.nabble.com> Message-ID: <10076A40-07E8-4C04-90CF-EAE1B6FD81F6@embarqmail.com> I have been seeing that message for four years now. When you think about it, there is no add-on to computers that is guaranteed to work in the next OS release. 'Tis better to release and fix than to never have released at all! Happy New Year! Bruce On Dec 31, 2010, at 5:17 AM, JosepM wrote: > > But they advise that in future releases maybe will not available... > > Salut, > Josep > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Join-many-PDF-into-one-tp3164964p3169265.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From warren at warrensweb.us Fri Dec 31 13:29:18 2010 From: warren at warrensweb.us (Warren Samples) Date: Fri, 31 Dec 2010 12:29:18 -0600 Subject: Unicode and N with a tilde In-Reply-To: <4D1E01B9.4050900@gmail.com> References: <4D1E01B9.4050900@gmail.com> Message-ID: <1293820158.2131.59.camel@mint-i7> On Fri, 2010-12-31 at 18:15 +0200, Richmond wrote: > Oh Gosh, I cannot write the Spanish for 'tomorrow' in Livecode . . . > > doing the following: > > set the useUnicode to true > set the useUnicode of fld "XYZ" to numToChar(241) > > should [ a meaty modal verb if ever there was one ] produce an 'n' with > a tilde > over it; but it doesn't . . . > > . . .just a daft square . . . :( > _______________________________________________ I don't have any trouble here using the special characters required for Spanish, including "?", as regular text in Livecode. Does your context require unicode for some other reason? Warren From richmondmathewson at gmail.com Fri Dec 31 13:45:30 2010 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 31 Dec 2010 20:45:30 +0200 Subject: Unicode and N with a tilde In-Reply-To: <1293820158.2131.59.camel@mint-i7> References: <4D1E01B9.4050900@gmail.com> <1293820158.2131.59.camel@mint-i7> Message-ID: <4D1E24CA.5030907@gmail.com> On 12/31/2010 08:29 PM, Warren Samples wrote: > On Fri, 2010-12-31 at 18:15 +0200, Richmond wrote: >> Oh Gosh, I cannot write the Spanish for 'tomorrow' in Livecode . . . >> >> doing the following: >> >> set the useUnicode to true >> set the useUnicode of fld "XYZ" to numToChar(241) >> >> should [ a meaty modal verb if ever there was one ] produce an 'n' with >> a tilde >> over it; but it doesn't . . . >> >> . . .just a daft square . . . :( >> _______________________________________________ > > > > I don't have any trouble here using the special characters required for > Spanish, including "?", as regular text in Livecode. Does your context > require unicode for some other reason? http://andregarzia.on-rev.com/richmond/dwriterpro.html > Warren > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rev at nonsanity.com Fri Dec 31 14:41:12 2010 From: rev at nonsanity.com (Nonsanity) Date: Fri, 31 Dec 2010 14:41:12 -0500 Subject: Gradient along a graphic line Message-ID: Anyone know a way to set the points along a graphic line to different colors, or to apply a gradient along the length of a line, regardless of its path? I want to have one end of a looping line one color, and the other end another, with a smooth blend between them. Only way I can think of doing it is breaking the one grc down into a bajillion others (one for each point pair in "the points of grc x") and set a linear gradient for each at the right segment of the overall gradient and at the right angle. A heck of a lot of work. A gradient stroke option of "Path" would be sweet, but is the a current solution? ~ Chris Innanen ~ Nonsanity From warren at warrensweb.us Fri Dec 31 14:58:28 2010 From: warren at warrensweb.us (Warren Samples) Date: Fri, 31 Dec 2010 13:58:28 -0600 Subject: Unicode and N with a tilde In-Reply-To: <4D1E24CA.5030907@gmail.com> References: <4D1E01B9.4050900@gmail.com> <1293820158.2131.59.camel@mint-i7> <4D1E24CA.5030907@gmail.com> Message-ID: <1293825508.2131.69.camel@mint-i7> On Fri, 2010-12-31 at 20:45 +0200, Richmond wrote: > On 12/31/2010 08:29 PM, Warren Samples wrote: > > On Fri, 2010-12-31 at 18:15 +0200, Richmond wrote: > >> Oh Gosh, I cannot write the Spanish for 'tomorrow' in Livecode . . . > >> > >> doing the following: > >> > >> set the useUnicode to true > >> set the useUnicode of fld "XYZ" to numToChar(241) > >> > >> should [ a meaty modal verb if ever there was one ] produce an 'n' with > >> a tilde > >> over it; but it doesn't . . . > >> > >> . . .just a daft square . . . :( > >> _______________________________________________ > > > > > > > > I don't have any trouble here using the special characters required for > > Spanish, including "?", as regular text in Livecode. Does your context > > require unicode for some other reason? > > http://andregarzia.on-rev.com/richmond/dwriterpro.html > > > Warren > > Richmond, set the useunicode to true set the unicodetext of fld "XYZ" to numtochar(241) Correctly places the ? in the field for me, as well, here in Linux Mint. (the snippet you posted has an error in it?) Warren From pete at mollysrevenge.com Fri Dec 31 15:06:44 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 31 Dec 2010 12:06:44 -0800 Subject: ResizeControl Message-ID: <51B3A9C6-7648-405B-8A2C-7713BEE4E8E7@mollysrevenge.com> The dictionary claims that the resizeControl message is sent right after a control has been resized. That appears to be true for all controls except groups. For groups, the resize control message seems to be sent continuously while the group is being resized, not after the resizing is complete. Is there some way to prevent that behavior or another message for groups that is sent after they have been resized? Pete Haworth From mwieder at ahsoftware.net Fri Dec 31 15:12:23 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 31 Dec 2010 12:12:23 -0800 Subject: ResizeControl In-Reply-To: <51B3A9C6-7648-405B-8A2C-7713BEE4E8E7@mollysrevenge.com> References: <51B3A9C6-7648-405B-8A2C-7713BEE4E8E7@mollysrevenge.com> Message-ID: <15332169734.20101231121223@ahsoftware.net> Pete- Just a guess, but I think you're running into the fact that group will adjust to the position of its controls. So if you're moving a control around the group *is* getting resized along with it. You might try setting the lockmessages to true while you're moving a control and then back to false when you're done. See if that helps. -- -Mark Wieder mwieder at ahsoftware.net From DunbarX at aol.com Fri Dec 31 15:18:30 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 31 Dec 2010 15:18:30 EST Subject: ResizeControl Message-ID: <953ae.19b6ba01.3a4f9496@aol.com> I don't get this behavior. If I place a resizeControl handler in a card script that beeps, and then resize simple objects or groups, I get beeps only after I am done in all cases. Craig Newman From pete at mollysrevenge.com Fri Dec 31 15:43:11 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 31 Dec 2010 12:43:11 -0800 Subject: ResizeControl In-Reply-To: <15332169734.20101231121223@ahsoftware.net> References: <51B3A9C6-7648-405B-8A2C-7713BEE4E8E7@mollysrevenge.com> <15332169734.20101231121223@ahsoftware.net> Message-ID: Thanks Mark. I'm actually trying to achieve the opposite of that - I want to resize the group and have the controls within it resize appropriately. But all seems to be working OK, the code I've written correctly resizes the the controls when I resize the group so no worries. I was just surprised when I found that groups behave differently than other controls in this as far as resizeControl is concerned. Maybe I should put a note in the dictionary entry. Craig - I haven't tried putting the resizeControl at the card level, it's in the script of the group itself. Like you, I had a beep in it just to check things out and found that it beeps continuously as I resized the group. Pete Haworth On Dec 31, 2010, at 12:12 PM, Mark Wieder wrote: > Pete- > > Just a guess, but I think you're running into the fact that group will > adjust to the position of its controls. So if you're moving a control > around the group *is* getting resized along with it. You might try > setting the lockmessages to true while you're moving a control and > then back to false when you're done. See if that helps. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From devin_asay at byu.edu Fri Dec 31 15:59:27 2010 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 31 Dec 2010 13:59:27 -0700 Subject: Gradient along a graphic line In-Reply-To: References: Message-ID: On Dec 31, 2010, at 12:41 PM, Nonsanity wrote: > Anyone know a way to set the points along a graphic line to different > colors, or to apply a gradient along the length of a line, regardless of its > path? > > I want to have one end of a looping line one color, and the other end > another, with a smooth blend between them. > > Only way I can think of doing it is breaking the one grc down into a > bajillion others (one for each point pair in "the points of grc x") and set > a linear gradient for each at the right segment of the overall gradient and > at the right angle. A heck of a lot of work. > > A gradient stroke option of "Path" would be sweet, but is the a current > solution? Chris, Doesn't it work if you set a linear stroke gradient for the line graphic? Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From DunbarX at aol.com Fri Dec 31 16:09:15 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 31 Dec 2010 16:09:15 EST Subject: ResizeControl Message-ID: <97071.3423e1de.3a4fa07b@aol.com> Pete. Right you are. The message is sent continuously, like "mouseMove" when the message is trapped in the group script. As advertised in the card script. The message watcher confirms this; continuous messages while changing, and, as icing on the cake, one more when you are done. Why the messages is not passed along to the card, or why they are sent continuously, is a mystery. To me. Craig Newman From pete at mollysrevenge.com Fri Dec 31 16:23:00 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 31 Dec 2010 13:23:00 -0800 Subject: ResizeControl In-Reply-To: <97071.3423e1de.3a4fa07b@aol.com> References: <97071.3423e1de.3a4fa07b@aol.com> Message-ID: <38CF65BC-5DEF-4BC5-B1A9-E321FABFA53D@mollysrevenge.com> And to me. Someone probably knows the reason. As mentioned, it didn't cause a problem for me, just didn't expect it since it's not mentioned in the dictionary. Pete Haworth On Dec 31, 2010, at 1:09 PM, DunbarX at aol.com wrote: > Pete. > > Right you are. The message is sent continuously, like "mouseMove" > when the > message is trapped in the group script. As advertised in the card > script. > The message watcher confirms this; continuous messages while > changing, and, as > icing on the cake, one more when you are done. > > Why the messages is not passed along to the card, or why they are sent > continuously, is a mystery. > > To me. > > Craig Newman > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From anthonyhowe at me.com Fri Dec 31 16:17:13 2010 From: anthonyhowe at me.com (Anthony Howe) Date: Sat, 01 Jan 2011 08:17:13 +1100 Subject: DataGrid dictionary? In-Reply-To: References: <1293670696908-3167836.post@n4.nabble.com> <1293731264039-3168568.post@n4.nabble.com> <1293737127233-3168662.post@n4.nabble.com> <1293744216824-3168784.post@n4.nabble.com> Message-ID: <709D6780-A275-41CC-9F26-7056261D2E9A@me.com> Hiya folks. Is there a reference somewhere for all the commands/ functions of the datagrid? I've done the tutorials etc but just trying to implement stuf now and needed to look a couple of things up... I notice that they don't seem to be listed in the livecode dictionary? Another thought....anyone got an iOS app on the way with the LC dictionary in it? You'd be popular with me if you did! On 01/01/2011, at 2:46 AM, Trevor DeVore wrote: > On Thu, Dec 30, 2010 at 4:23 PM, JosepM wrote: > >> >>> To reference to next row from the actual is better use >>> >>> SetDataOfIndex the dgindex of me+1, "COL1", "Text of the Col" >>> >>> or can be a problem with datagrid index? >> >> > error >> > > > > >> Whenever I refer to the other line is why I have the certainty that there >> is, so the first row generates, if necessary, additional lines. So, in >> theory should not cause any error. >> >> I have been trying to create several rows which this create more rows to >> force the displacement of the datagrid height and, at first glance seems to >> work and move correctly. >> >> The creation of these lines is always in last position and never between. >> >> Why you say that don't update de total height of data? >> > > The data grid has to keep track of the total height of the data in a data > grid. For a data grid table or a data grid form with a fixed row height this > is just the row height * the number of records in the table. For data grid > form with variable row heights the total height is cached. This cache is > updated when you add/remove rows. If you use SetDataOfIndex to add a row to > a data grid form with variable row heights then the cached height would not > be correct. > > I just looked at the code again and there are other operations that occur > when adding a row to a data grid such as storing of the sequence for the > index. So I would recommend that you always use AddData to add rows to the > data grid. > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Releasable Revolution Resources for Developers: > http://revolution.bluemangolearning.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Fri Dec 31 16:32:23 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 31 Dec 2010 13:32:23 -0800 Subject: Gradient along a graphic line In-Reply-To: References: Message-ID: <525FB360-7A10-4445-8933-F177C2CAB8EA@tactilemedia.com> There's a strokeGradient that applies gradients to lines of objects, just like the fillGradient. When you say "looping line" do you mean something besides an oval? You can apply different gradient colors by setting color stops within the gradient -- you can't use the points of the line directly, but if the line is an oval shape or thereabouts, you can use a radial strokeGradient and set color stops that roughly correspond to the point locations of the line. If the line is straight, you could calculate each point as percentage of overall distance and set the gradient's color stops appropriately. If the line appears at an angle, you may want to match the angle of the gradient to the line's angle. Regards, Scott Rossi Creative Director Tactile Media, UX Design On Dec 31, 2010, at 11:41 AM, Nonsanity wrote: > Anyone know a way to set the points along a graphic line to different > colors, or to apply a gradient along the length of a line, regardless of its > path? > > I want to have one end of a looping line one color, and the other end > another, with a smooth blend between them. > > Only way I can think of doing it is breaking the one grc down into a > bajillion others (one for each point pair in "the points of grc x") and set > a linear gradient for each at the right segment of the overall gradient and > at the right angle. A heck of a lot of work. > > A gradient stroke option of "Path" would be sweet, but is the a current > solution? > > ~ Chris Innanen > ~ Nonsanity > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Fri Dec 31 16:41:48 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 31 Dec 2010 13:41:48 -0800 Subject: ResizeControl Message-ID: <4D1E4E1C.2040108@fourthworld.com> DunbarX wrote: > Why the messages is not passed along to the card, or why they are sent > continuously, is a mystery. For most of LC/Rev/MC's life, the resizeControl message was consistently sent only after the user stopped performing a resize action with the pointer tool. But in v3.5 RunRev introduced behaviors and some new enhancements to group objects to allow folks to make custom controls like the DataGrid. In addition to being sent continuously as the control is resized (to allow your custom control to adjust its contents), that message is also sent to the control whenever it's resized by any means, such as a script adjusting its rect, rather than strictly when the user is interacting with it using the pointer tool. Useful as these enhancements are, it seems they're described only in the engine change log and the Dictionary entry for the resizeControl message hasn't been updated. Anyone here got time to either add a user comment to that entry and/or file a documentation bug report at the RQCC? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From pete at mollysrevenge.com Fri Dec 31 16:53:09 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 31 Dec 2010 13:53:09 -0800 Subject: ResizeControl In-Reply-To: <4D1E4E1C.2040108@fourthworld.com> References: <4D1E4E1C.2040108@fourthworld.com> Message-ID: <56D6A748-673C-4D22-8801-582A5E3B892F@mollysrevenge.com> Thanks Richard. I just submitted a note to the resizeControl dictionary entry. However, I didn't know until I read your email that the resizeControl message is sent even when the resize happens by script - that's the opposite of what the dictionary says. I don't mind submitting another dictionary note for that but want to check that it only applies to group resizing not resizing of any controls? Pete Haworth On Dec 31, 2010, at 1:41 PM, Richard Gaskin wrote: > DunbarX wrote: > >> Why the messages is not passed along to the card, or why they are >> sent >> continuously, is a mystery. > > For most of LC/Rev/MC's life, the resizeControl message was > consistently sent only after the user stopped performing a resize > action with the pointer tool. > > But in v3.5 RunRev introduced behaviors and some new enhancements to > group objects to allow folks to make custom controls like the > DataGrid. > > In addition to being sent continuously as the control is resized (to > allow your custom control to adjust its contents), that message is > also sent to the control whenever it's resized by any means, such as > a script adjusting its rect, rather than strictly when the user is > interacting with it using the pointer tool. > > Useful as these enhancements are, it seems they're described only in > the engine change log and the Dictionary entry for the resizeControl > message hasn't been updated. > > Anyone here got time to either add a user comment to that entry and/ > or file a documentation bug report at the RQCC? > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Fri Dec 31 17:19:13 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 31 Dec 2010 14:19:13 -0800 Subject: ResizeControl Message-ID: <4D1E56E1.5040202@fourthworld.com> Peter Haworth wrote: > Thanks Richard. I just submitted a note to the resizeControl > dictionary entry. Thanks for adding that. > However, I didn't know until I read your email that > the resizeControl message is sent even when the resize happens by > script - that's the opposite of what the dictionary says. I don't > mind submitting another dictionary note for that but want to check > that it only applies to group resizing not resizing of any controls? AFAIK that's the case. That was added to allow groups to be self-contained when used to implement custom controls. Imagine what a mess the DataGrid would be if you used in a stack in which your resizeStack handler changes the DG's rect. By allowing a group to be able to handle a resize no matter how that resize happens, it can take care of its contents automatically. Another enhancement added during the same period is that groups now have their own selectGroupedControls property. It defaults to true to allow the global property of the same name to govern whether you can interact with the group's contents with the pointer too. But when set to false the group's contents don't respond to the pointer tool at all, allowing it to behave more like a native control. These enhancements, coupled with behaviors to drive them from a single script, open up all sorts of opportunities for crafting reusable custom widgets. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From pete at mollysrevenge.com Fri Dec 31 17:29:24 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 31 Dec 2010 14:29:24 -0800 Subject: ResizeControl In-Reply-To: <4D1E56E1.5040202@fourthworld.com> References: <4D1E56E1.5040202@fourthworld.com> Message-ID: <1FC23567-CFD7-4E5C-8831-4413A40A90C3@mollysrevenge.com> Thanks Richard, I'll submit an additional note. I agree that these are useful changes, in fact the reason I got into the resizing issue is because of custom control I designed as a group for my own app. It would just be so much better if changes like this were documented in the dictionary. I had noticed the selectGroupedControls property in the inspector window but thanks for mentioning that too. Pete Haworth On Dec 31, 2010, at 2:19 PM, Richard Gaskin wrote: > Peter Haworth wrote: > >> Thanks Richard. I just submitted a note to the resizeControl >> dictionary entry. > > Thanks for adding that. > >> However, I didn't know until I read your email that >> the resizeControl message is sent even when the resize happens by >> script - that's the opposite of what the dictionary says. I don't >> mind submitting another dictionary note for that but want to check >> that it only applies to group resizing not resizing of any controls? > > AFAIK that's the case. That was added to allow groups to be self- > contained when used to implement custom controls. > > Imagine what a mess the DataGrid would be if you used in a stack in > which your resizeStack handler changes the DG's rect. > > By allowing a group to be able to handle a resize no matter how that > resize happens, it can take care of its contents automatically. > > Another enhancement added during the same period is that groups now > have their own selectGroupedControls property. It defaults to true > to allow the global property of the same name to govern whether you > can interact with the group's contents with the pointer too. But > when set to false the group's contents don't respond to the pointer > tool at all, allowing it to behave more like a native control. > > These enhancements, coupled with behaviors to drive them from a > single script, open up all sorts of opportunities for crafting > reusable custom widgets. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rev at nonsanity.com Fri Dec 31 17:34:12 2010 From: rev at nonsanity.com (Nonsanity) Date: Fri, 31 Dec 2010 17:34:12 -0500 Subject: Gradient along a graphic line In-Reply-To: <525FB360-7A10-4445-8933-F177C2CAB8EA@tactilemedia.com> References: <525FB360-7A10-4445-8933-F177C2CAB8EA@tactilemedia.com> Message-ID: The line is like a hand-drawn line. It can be any shape, including looping and crossing itself. I'd like to be able to have it fade between colors along its length. For now I've broken it into several pieces and colored them separately. It's not as perfect a solution as I'd like, but it'll do for now. It would be nice to be able to "set the vertexcolors of grc 1" with a list of RGB colors, just as you set the points of a grc to a list of x,y coords. For the future perhaps... ~ Chris Innanen ~ Nonsanity On Fri, Dec 31, 2010 at 4:32 PM, Scott Rossi wrote: > There's a strokeGradient that applies gradients to lines of objects, just > like the fillGradient. When you say "looping line" do you mean something > besides an oval? You can apply different gradient colors by setting color > stops within the gradient -- you can't use the points of the line directly, > but if the line is an oval shape or thereabouts, you can use a radial > strokeGradient and set color stops that roughly correspond to the point > locations of the line. > > If the line is straight, you could calculate each point as percentage of > overall distance and set the gradient's color stops appropriately. If the > line appears at an angle, you may want to match the angle of the gradient to > the line's angle. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > On Dec 31, 2010, at 11:41 AM, Nonsanity wrote: > > > Anyone know a way to set the points along a graphic line to different > > colors, or to apply a gradient along the length of a line, regardless of > its > > path? > > > > I want to have one end of a looping line one color, and the other end > > another, with a smooth blend between them. > > > > Only way I can think of doing it is breaking the one grc down into a > > bajillion others (one for each point pair in "the points of grc x") and > set > > a linear gradient for each at the right segment of the overall gradient > and > > at the right angle. A heck of a lot of work. > > > > A gradient stroke option of "Path" would be sweet, but is the a current > > solution? > > > > ~ Chris Innanen > > ~ Nonsanity > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode >